:root {
  --bg: #f7f2e9;
  --paper: #fffdf8;
  --ink: #2f2a24;
  --muted: #756f67;
  --line: #e6ddd0;
  --soft: #f1e6d8;

  --peach: #e9a895;
  --peach-dark: #c97968;

  --green: #8baa7d;
  --green-dark: #63845a;

  --pink: #e7a0b4;
  --pink-dark: #c76f8a;

  --shadow: 0 20px 60px rgba(74, 58, 42, 0.12);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    "Noto Sans JP",
    sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 221, 196, 0.55), transparent 34%),
    radial-gradient(circle at top right, rgba(218, 234, 255, 0.4), transparent 30%),
    var(--bg);
  color: var(--ink);
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(247, 242, 233, 0.82);
  border-bottom: 1px solid rgba(230, 221, 208, 0.8);
}

.header-inner {
  width: min(1120px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo-mark {
  color: var(--peach-dark);
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--ink);
}

.cart-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(74, 58, 42, 0.08);
}

/* Hero */

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 52px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.hero-lead {
  margin: 28px 0 0;
  max-width: 620px;
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button {
  background: var(--ink);
  color: white;
  box-shadow: 0 14px 36px rgba(47, 42, 36, 0.2);
}

.secondary-button {
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.hero-visual {
  background:
    linear-gradient(135deg, rgba(255, 239, 221, 0.8), rgba(226, 239, 230, 0.8)),
    var(--paper);
  border: 1px solid rgba(230, 221, 208, 0.9);
  border-radius: 42px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.character-stage {
  min-height: 300px;
  padding: 28px 22px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(180deg, #fffaf0 0%, #f6efe3 52%, #dfeeda 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  overflow: hidden;
}

.hero-character {
  width: 31%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.character-name {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-character img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 18px rgba(74, 58, 42, 0.14));
}

/* Sections */

.story-section,
.characters-section,
.products-section,
.guide-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.section-lead {
  max-width: 760px;
  color: var(--muted);
}

.story-card {
  padding: 32px;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 46px rgba(74, 58, 42, 0.08);
}

.story-card p {
  margin: 0;
  color: var(--muted);
}

.story-card p + p {
  margin-top: 18px;
}

/* Characters */

.character-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.character-card {
  padding: 26px;
  text-align: center;
  background: rgba(255, 253, 248, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(74, 58, 42, 0.08);
}

.character-card img {
  width: 100%;
  height: 220px;
  margin-bottom: 18px;
  padding: 10px;
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #fffaf3 0%, #f6eee2 100%);
  border-radius: 20px;
}

.character-card h3 {
  margin: 0;
  font-size: 22px;
}

.character-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Products */

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f5d4c9;
  color: #8f4e40;
  font-size: 12px;
  font-weight: 800;
}

.product-badge.green {
  background: #dcebd6;
  color: #536f4c;
}

.product-badge.pink {
  background: #f3d2dc;
  color: #924a62;
}

.product-image {
  height: 270px;
  padding: 30px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.9), transparent 38%),
    linear-gradient(145deg, #fff7ef, #ecf1e3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(74, 58, 42, 0.14));
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.35;
}

.product-body p {
  min-height: 78px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
}

.price {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.buy-button {
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--peach);
  color: white;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.buy-button.green {
  background: var(--green);
}

.buy-button.pink {
  background: var(--pink);
}

.buy-button:hover {
  transform: translateY(-2px);
  filter: brightness(0.96);
}

/* Guide */

.guide-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 42px rgba(74, 58, 42, 0.08);
}

.guide-item {
  padding: 28px;
  text-align: center;
}

.guide-item + .guide-item {
  border-left: 1px solid var(--line);
}

.guide-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--soft);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.guide-item h3 {
  margin: 0;
  font-size: 18px;
}

.guide-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* Footer */

.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 30px auto 0;
  padding: 42px 0 58px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.footer-logo {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 13px;
}

.footer-links a {
  color: var(--muted);
}

/* Mobile */

@media (max-width: 860px) {
  .header-inner {
    height: 68px;
  }

  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 48px 0 32px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-visual {
    padding: 18px;
    border-radius: 32px;
  }

  .character-stage {
    min-height: 240px;
    padding: 20px 12px;
    gap: 8px;
  }

  .character-name {
    margin-bottom: 8px;
    padding: 3px 9px;
    font-size: 11px;
  }

  .hero-character img {
    height: 140px;
  }

  .character-grid,
  .product-grid,
  .guide-card {
    grid-template-columns: 1fr;
  }

  .guide-item + .guide-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .product-image {
    height: 250px;
  }

  .product-body p {
    min-height: auto;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .buy-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .header-inner,
  .hero,
  .story-section,
  .characters-section,
  .products-section,
  .guide-section,
  .site-footer {
    width: min(100% - 24px, 1120px);
  }

  .logo {
    font-size: 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .character-stage {
    min-height: 220px;
  }

  .hero-character img {
    height: 124px;
  }

  .character-card img {
    height: 200px;
  }
}