:root {
  --brown-900: #154370;
  --brown-800: #2763da;
  --brown-700: #9fe5b9;
  --brown-600: #8fe1c3;
  --brown-500: #4dbeb3;
  --brown-300: #a1e3d0;
  --cream-100: #f4ffff;
  --cream-200: #e5f3f8;
  --cream-300: #d0dcef;
  --white: #ffffff;
  --text: #28384a;
  --muted: #585f7b;
  --shadow: 0 18px 40px rgba(61, 39, 27, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  background: var(--cream-100);
  color: var(--text);
  line-height: 1.75;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.center {
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-500);
  font-weight: 700;
}

.section-label.light {
  color: #f5d7bb;
}

.section-heading h2,
.text-panel h2,
.story-copy h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--brown-900);
}

.section-heading p,
.text-panel p,
.story-copy p {
  color: var(--muted);
  font-size: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 250, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(176, 122, 84, 0.16);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--brown-900);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--brown-800);
  transition: var(--transition);
}

.site-nav a:hover {
  color: var(--brown-500);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 26px;
  height: 2px;
  background: var(--brown-900);
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) { top: 14px; }
.menu-toggle span:nth-child(2) { top: 22px; }
.menu-toggle span:nth-child(3) { top: 30px; }

.menu-toggle.active span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.5), transparent 35%),
    linear-gradient(135deg, #f6eadc 0%, #b4c0ea 50%, #5f71c0 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.12), rgba(61,39,27,0.1));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 60px 0;
}

.hero-badge {
  display: inline-block;
  margin-bottom: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--brown-800);
  font-size: 0.9rem;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.08;
  color: var(--brown-900);
  margin-bottom: 22px;
}

.hero-text {
  max-width: 540px;
  color: var(--brown-800);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--brown-900);
  color: var(--white);
  font-weight: 700;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.btn:hover {
  transform: translateY(-2px);
  opacity: 0.94;
}

.btn-outline {
  background: transparent;
  color: var(--brown-900);
  border: 1px solid rgba(61, 39, 27, 0.25);
  box-shadow: none;
}

.product-mockup {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 28px;
  min-height: 480px;
}

.cup {
  width: 190px;
  height: 340px;
  border-radius: 28px 28px 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow);
  color: var(--brown-900);
  position: relative;
}

.cup::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 20px;
  right: 20px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.8);
}

.cup-left {
  background: linear-gradient(180deg, #d7e2f8 0%, #8986dd 45%, #4975b7 100%);
  transform: rotate(-7deg);
}

.cup-right {
  background: linear-gradient(180deg, #d7e2f8 0%, #a7aed9 45%, #5f589b 100%);
  transform: rotate(6deg);
}

.section-cream {
  background: linear-gradient(to bottom, #fffaf4, #f9f0e5);
}

.secret-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.secret-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(176, 122, 84, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brown-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}

.secret-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--brown-900);
}

.secret-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.two-column,
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.image-placeholder {
  min-height: 440px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(61, 39, 27, 0.7);
  box-shadow: var(--shadow);
}

.image-placeholder.large {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0)),
    linear-gradient(135deg, #b9bee7, #5451b6);
}

.image-placeholder.dark {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0)),
    linear-gradient(135deg, #3f467a, #201e40);
  color: rgba(255,255,255,0.8);
}

.text-panel p + p,
.story-copy p + p {
  margin-top: 16px;
}

.section-light {
  background: linear-gradient(to bottom, #fff, #f7efe4);
}

.product-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(176, 122, 84, 0.1);
}

.product-image {
  min-height: 320px;
  background: linear-gradient(135deg, #b6c0ef, #4b56b9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(61,39,27,0.8);
  font-weight: 800;
  letter-spacing: 0.12em;
}

.product-image.alt {
  background: linear-gradient(135deg, #e7eaf5, #8177b6);
}

.product-body {
  padding: 26px;
}

.product-body h3 {
  font-size: 1.35rem;
  line-height: 1.45;
  margin-bottom: 18px;
  color: var(--brown-900);
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(176, 122, 84, 0.12);
  color: var(--muted);
}

.spec-list li span:first-child {
  font-weight: 700;
  color: var(--brown-800);
}

.detail-btn {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--brown-900);
  color: var(--white);
  font-weight: 700;
  transition: var(--transition);
}

.detail-btn:hover {
  background: var(--brown-700);
}

.history-slider {
  margin-top: 42px;
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 20px;
  align-items: center;
}

.history-track-wrap {
  overflow: hidden;
}

.history-track {
  display: flex;
  gap: 18px;
  transition: transform 0.4s ease;
}

.history-item {
  min-width: calc(33.333% - 12px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(176, 122, 84, 0.1);
}

.history-thumb {
  min-height: 180px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e7eaf5, #8177b6);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(61,39,27,0.8);
}

.history-item p {
  color: var(--brown-800);
  font-weight: 700;
}

.slider-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brown-900);
  color: var(--white);
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.slider-btn:hover {
  background: var(--brown-700);
}

.section-dark {
  background: linear-gradient(135deg, #32306c, #1e1b3d);
}

.section-dark .story-copy h2,
.section-dark .story-copy p {
  color: var(--white);
}

.footer-cta {
  padding: 90px 0;
  background: linear-gradient(to bottom, #f6ede3, #fffaf4);
}

.footer-cta-inner {
  text-align: center;
  background: var(--white);
  padding: 48px 24px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.footer-cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 14px;
  color: var(--brown-900);
}

.footer-cta-inner p {
  margin-bottom: 24px;
  color: var(--muted);
}

.site-footer {
  background: var(--brown-900);
  color: rgba(255,255,255,0.86);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-logo {
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-copy {
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

.modal.active {
  display: block;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 13, 9, 0.58);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(560px, calc(100% - 32px));
  margin: 10vh auto 0;
  background: var(--white);
  border-radius: 24px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}

.modal-content h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--brown-900);
}

.modal-content p {
  color: var(--muted);
  margin-bottom: 16px;
}

.modal-list {
  padding-left: 20px;
  color: var(--brown-800);
}

.modal-list li + li {
  margin-top: 8px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--cream-200);
  font-size: 1.4rem;
  line-height: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-inner,
  .two-column,
  .story-layout {
    grid-template-columns: 1fr;
  }

  .secret-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-item {
    min-width: calc(50% - 9px);
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: rgba(255, 250, 244, 0.98);
    border-bottom: 1px solid rgba(176, 122, 84, 0.12);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 80px 0;
  }

  .product-grid,
  .secret-grid {
    grid-template-columns: 1fr;
  }

  .product-mockup {
    min-height: 360px;
    gap: 14px;
  }

  .cup {
    width: 140px;
    height: 260px;
    font-size: 0.8rem;
  }

  .history-slider {
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }

  .history-item {
    min-width: 100%;
  }

  .history-thumb {
    min-height: 150px;
  }

  .section-heading h2,
  .text-panel h2,
  .story-copy h2 {
    font-size: 1.9rem;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 40px;
  }

  .hero h1 {
    font-size: 2.6rem;
  }
}