/* ================================================================
   Celluré（セリュレ）LP — 感情共感型 / ブランドナラティブ構成
   style.css  |  Mobile-First 375px  |  PC: @media(min-width:1280px)
   アニメーション: Ken Burns / Scroll Zoom / L-R Pan / Reveal
   ================================================================ */

/* =================== DESIGN TOKENS =================== */
:root {
  --sea:    #1B6CA8;
  --sea-dk: #145487;
  --mist:   #EEF6FD;
  --snow:   #FAFCFF;
  --gold:   #C9A84C;
  --gold-l: #E0C26A;
  --ink:    #1A1A2E;
  --ink-50: rgba(26,26,46,0.65); /* WCAG AA 4.5:1確保のためalpha0.5→0.65に調整（白/淡色背景上で約5.1〜5.3:1） */
  --ink-20: rgba(26,26,46,0.2);
  --white:  #FFFFFF;

  --f-min:  'Shippori Mincho', 'YuMincho', '游明朝', serif;
  --f-sans: 'Noto Sans JP', sans-serif;

  /* Spacing */
  --sp-xs: 0.5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 7rem;
  --max-w: 1200px;
  --max-w-narrow: 680px;

  /* Easing */
  --ease-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-img:  cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =================== RESET =================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  color: var(--ink);
  background: var(--snow);
  overflow-x: hidden;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  font-optical-sizing: auto;
}
img, video { max-width: 100%; display: block; }
h1, h2, h3 { text-wrap: balance; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* =================== ACCESSIBILITY =================== */

/* スキップリンク */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 0 0 6px 6px;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 0; }

/* フォーカスリング */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =================== REDUCED MOTION (統合) =================== */
@media (prefers-reduced-motion: reduce) {
  /* スクロールリビール */
  .reveal, .reveal-fade, .reveal-l, .reveal-r, .reveal-pop,
  .iz .iz-inner, .iz[data-pan] .iz-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  /* ストーリータイムライン */
  .story__mile {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* 環境アニメーション */
  .kb, .btn-pulse, .star-shimmer, .voice__ring,
  .aurora-overlay, .glow-gold, .marquee-track,
  .btn-shine::after, .float-anim, .formula__star::before,
  .closing__glow, .num-gradient, .particle,
  .skin-vis__drop, .skin-vis__p, .skin-vis__l--cl-in,
  .formula__item:nth-child(1) .formula__item-icon,
  .formula__item:nth-child(2) .formula__item-icon,
  .formula__item:nth-child(3) .formula__item-icon,
  .formula__item:nth-child(4) .formula__item-icon,
  .formula__item:nth-child(5) .formula__item-icon,
  .formula__item:nth-child(6) .formula__item-icon {
    animation: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
  .voice__line, .section-deco { transition: none !important; }
  /* hero見出し */
  .opening__headline .line span {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  /* FAQアコーディオン */
  .faq__a { transition: none !important; }
  .faq__item.open .faq__a { max-height: 400px !important; }
  /* ボタン */
  .btn-primary, .btn-ghost { transition: box-shadow 0.15s !important; }
  .btn-primary:hover, .btn-primary:active,
  .btn-ghost:hover, .btn-ghost:active { transform: none !important; }
}

/* =================== LAYOUT PRIMITIVES =================== */
.c {                          /* container */
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.c-narrow {                   /* narrow container */
  width: 100%;
  max-width: var(--max-w-narrow);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Chapter label — Shippori thin, left-rail */
.ch-num {
  display: block;
  font-family: var(--f-min);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.38em;
  color: var(--sea);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}
.ch-num::before { content: '— '; opacity: 0.5; }

/* Gold thin rule — used sparingly at emotional turning points */
.gold-rule {
  border: none;
  border-top: 1px solid rgba(201,168,76,0.35);
  margin: 0;
}

/* =================== CTA BUTTONS =================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(180deg, #d4ae55 0%, #b8902a 100%);
  color: var(--white);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: 5px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 3px 0 rgba(75,42,0,0.38),
    0 6px 22px rgba(201,168,76,0.4);
  transition: transform 0.15s var(--ease-expo), box-shadow 0.15s var(--ease-expo);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #dbb55a 0%, #c29830 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 3px 0 rgba(75,42,0,0.38),
    0 12px 32px rgba(201,168,76,0.56);
}
.btn-primary:active {
  background: linear-gradient(180deg, #b8902a 0%, #9e7a1c 100%);
  transform: translateY(3px);
  box-shadow:
    inset 0 1px 0 rgba(0,0,0,0.08),
    0 0px 0 rgba(75,42,0,0),
    0 2px 8px rgba(201,168,76,0.22);
  transition-duration: 0.06s;
}
.btn-primary-lg { width: 100%; max-width: 360px; padding: 1.1rem 2rem; font-size: 0.95rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid var(--ink-50);
  color: var(--ink);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover { border-color: var(--sea); color: var(--sea); background: var(--mist); }
.btn-ghost:active { transform: scale(0.97); transition-duration: 0.08s; }

.btn-ghost-w {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.8rem;
  border: 1.5px solid rgba(255,255,255,0.72);
  color: var(--white);
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  background: rgba(10,10,28,0.32);
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost-w:hover { border-color: var(--white); background: rgba(10,10,28,0.5); }

@keyframes softPulse {
  0%,100% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.22),
      0 3px 0 rgba(75,42,0,0.38),
      0 6px 22px rgba(201,168,76,0.4);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.28),
      0 3px 0 rgba(75,42,0,0.38),
      0 16px 40px rgba(201,168,76,0.72);
  }
}
.btn-pulse { animation: softPulse 2.6s ease-in-out infinite; }

/* =================== ANIMATION SYSTEM =================== */

/* Fade-up reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.18s; }
.d3 { transition-delay: 0.30s; }
.d4 { transition-delay: 0.44s; }
.d5 { transition-delay: 0.58s; }

/* Fade-in only (no movement) */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s var(--ease-expo);
}
.reveal-fade.in { opacity: 1; }

/* Image wrapper: zoom-in on scroll */
.iz { overflow: hidden; will-change: transform; }
.iz .iz-inner {
  width: 100%; height: 100%;
  transform: scale(1.08);
  transition: transform 1.4s var(--ease-img);
  will-change: transform;
  object-fit: cover;
  background-size: cover;
  background-position: center;
}
.iz.in .iz-inner { transform: scale(1.0); }

/* Pan right→left */
.iz[data-pan="l"] .iz-inner  { transform: scale(1.07) translateX(5%); }
.iz[data-pan="l"].in .iz-inner { transform: scale(1.0) translateX(0); }

/* Pan left→right */
.iz[data-pan="r"] .iz-inner  { transform: scale(1.07) translateX(-5%); }
.iz[data-pan="r"].in .iz-inner { transform: scale(1.0) translateX(0); }

/* Ken Burns: continuous ambient for media backgrounds */
@keyframes kb {
  0%   { transform: scale(1.00) translate(0%,   0%); }
  33%  { transform: scale(1.05) translate(-1.5%, 0.8%); }
  66%  { transform: scale(1.03) translate(1.5%, -0.8%); }
  100% { transform: scale(1.00) translate(0%,   0%); }
}
.kb { animation: kb 24s ease-in-out infinite; will-change: transform; }

/* Entrance animations for S01 opening text */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* (reduced-motion は ACCESSIBILITY セクションに統合済み) */

/* =================== PC SIDE DECO (hidden on mobile) =================== */
.pc-side { display: none; }

/* =================== HEADER =================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(250,252,255,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,26,46,0.07);
  transition: box-shadow 0.3s;
}
.site-header.sc { box-shadow: 0 2px 20px rgba(26,26,46,0.08); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; padding-inline: 1.5rem;
  max-width: var(--max-w); margin-inline: auto;
}
.site-header__logo {
  font-family: var(--f-min);
  font-size: 1.2rem; font-weight: 800;
  color: var(--ink); letter-spacing: 0.06em;
}
.site-header__logo span { color: var(--gold); }

/* =================== S01 OPENING — 文字だけのファーストシーン =================== */
.opening {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 54px;
  position: relative;
  overflow: hidden;
}
.opening__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.opening__video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
}
.opening__photo {
  position: absolute; inset: 0; z-index: 0; /* 動画フォールバック */
  background-image: url('images/hero_bg.webp');
  background-size: cover; background-position: center top;
}
.opening__veil {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,46,0.45) 0%,
    rgba(26,26,46,0.42) 35%,
    rgba(26,26,46,0.55) 65%,
    rgba(26,26,46,0.85) 100%
  );
}
.opening__text {
  position: relative; z-index: 2;
  padding: var(--sp-md) 1.5rem var(--sp-xl);
}
.opening__eyebrow {
  display: block;
  font-family: var(--f-sans);
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.32em; color: rgba(255,255,255,0.55);
  text-transform: uppercase; margin-bottom: var(--sp-md);
  animation: fadeSlideUp 1s 0.2s both;
}
.opening__headline {
  font-family: var(--f-min);
  font-size: clamp(2.6rem, 12vw, 4.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-md);
  animation: fadeSlideUp 1s 0.5s both;
  text-shadow:
    1px 1px 0 rgba(0,0,0,0.3),
    2px 2px 0 rgba(0,0,0,0.2),
    3px 3px 0 rgba(0,0,0,0.12),
    0 8px 28px rgba(0,0,0,0.45);
}
.opening__headline em { font-style: normal; color: var(--gold-l); }
.opening__sub {
  font-family: var(--f-sans); font-size: 0.85rem;
  color: rgba(255,255,255,0.95); line-height: 1.85;
  margin-bottom: var(--sp-lg);
  animation: fadeSlideUp 1s 0.75s both;
  text-shadow: 0 1px 6px rgba(0,0,0,0.72), 0 2px 18px rgba(0,0,0,0.45);
}
.opening__cta {
  animation: fadeSlideUp 1s 0.95s both;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.opening__hint {
  display: inline-block;
  align-self: center;
  font-size: 0.63rem; color: rgba(255,255,255,0.92);
  margin-top: var(--sp-sm);
  background: rgba(10,10,28,0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 0.28rem 0.85rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
/* trust badges — horizontal scroll */
.opening__trust {
  position: relative; z-index: 2;
  display: flex; gap: 0.5rem;
  overflow-x: auto; padding: var(--sp-sm) 1.5rem;
  scrollbar-width: none;
  animation: fadeSlideUp 1s 1.1s both;
}
.opening__trust::-webkit-scrollbar { display: none; }
.trust-chip {
  flex-shrink: 0;
  font-size: 0.58rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.5);
  color: rgba(255,255,255,0.92);
  background: rgba(10,10,28,0.38);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.25rem 0.7rem; border-radius: 100px;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* =================== S02 THE FEELING — 感情シーン =================== */
.feeling {
  position: relative;
  background: var(--ink);
}
.feeling__photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.feeling__photo .iz { height: 100%; }
.feeling__photo .iz-inner {
  height: 100%;
  background-image: url('images/feeling.webp');
  background-position: center top;
  min-height: 320px;
}
.feeling__caption {
  padding: var(--sp-lg) 1.5rem var(--sp-xl);
}
.feeling__quote {
  font-family: var(--f-min);
  font-size: clamp(1.3rem, 6vw, 2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.55;
  letter-spacing: 0.04em;
  margin-bottom: var(--sp-md);
}
.feeling__attr {
  font-size: 0.72rem; color: rgba(255,255,255,0.55);
  font-family: var(--f-sans); letter-spacing: 0.12em;
}

/* =================== S03 THE WALL — 外側ケアの限界 =================== */
.wall {
  padding: clamp(5rem, 10vw, 6.5rem) 0 clamp(3.5rem, 6vw, 5rem);
  background: var(--snow);
}
.wall__prose {
  font-size: 0.9375rem;
  line-height: 2.1;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
  overflow-wrap: break-word;
}
.wall__prose p + p { margin-top: 1.4em; }
.wall__pull {
  font-family: var(--f-min);
  font-size: clamp(1.35rem, 5.5vw, 2.1rem);
  font-weight: 800;
  color: var(--sea);
  line-height: 1.45;
  text-wrap: balance;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(27,108,168,0.22);
  margin: var(--sp-lg) 0;
}
.wall__diagram {
  background: var(--mist);
  border-radius: 12px;
  padding: var(--sp-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.wall__diagram-item {
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}
.wall__diagram-item--out { background: var(--white); border: 1px solid var(--ink-20); }
.wall__diagram-item--in  { background: var(--sea); color: var(--white); }
.wall__diagram-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em;
  opacity: 0.6; margin-bottom: 0.5rem; display: block;
}
.wall__diagram-item--in .wall__diagram-label { color: var(--gold-l); opacity: 1; }
.wall__diagram-icon { margin-bottom: 0.75rem; }

/* ── 皮膚断面ビジュアライザー ── */
.skin-vis {
  width: 100%; position: relative; overflow: hidden;
}
.skin-vis--out { height: 88px; padding-top: 20px; }
.skin-vis--in  { height: 88px; position: relative; }

.skin-vis__layers {
  display: flex; flex-direction: column;
  height: 100%; gap: 3px;
}
.skin-vis__l {
  flex: 1; border-radius: 3px;
  display: flex; align-items: center; justify-content: flex-start;
  padding: 0 6px;
  font-size: 0.5rem; font-weight: 700; letter-spacing: 0.06em;
}

/* 外側ケアレイヤー: 表皮のみ届く */
.skin-vis__l--ep  { background: rgba(78,168,214,0.28); border: 1px solid rgba(78,168,214,0.55); color: #2e7faa; }
.skin-vis__l--de  { background: rgba(78,168,214,0.06); border: 1px solid rgba(78,168,214,0.12); color: rgba(30,60,90,0.3); }
.skin-vis__l--cl  { background: rgba(78,168,214,0.03); border: 1px solid rgba(78,168,214,0.07); color: rgba(30,60,90,0.2); }

/* 内側ケアレイヤー: 全層に届く */
.skin-vis__l--ep-in { background: rgba(201,168,76,0.18); border: 1px solid rgba(201,168,76,0.4); color: rgba(160,120,30,0.9); }
.skin-vis__l--de-in { background: rgba(201,168,76,0.28); border: 1px solid rgba(201,168,76,0.5); color: rgba(160,120,30,0.95); }
.skin-vis__l--cl-in {
  background: rgba(201,168,76,0.38); border: 1px solid rgba(201,168,76,0.65); color: var(--gold);
  animation: cellLayerPulse 2.4s ease-in-out infinite;
}

/* 水滴アニメーション (外側ケア) */
.skin-vis__drops {
  position: absolute; top: 0; left: 0; right: 0; height: 20px;
  display: flex; justify-content: space-around; padding: 0 14px;
  pointer-events: none;
}
.skin-vis__drop {
  width: 7px; height: 10px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: linear-gradient(180deg, #7ecef0 0%, #3a9dd4 100%);
  opacity: 0;
  animation: svDropFall 2.8s ease-in infinite;
}
.sv-d2 { animation-delay: 0.95s; }
.sv-d3 { animation-delay: 1.9s; }

@keyframes svDropFall {
  0%   { transform: translateY(-18px) scaleY(1.1); opacity: 0; }
  12%  { opacity: 1; }
  52%  { transform: translateY(10px) scaleY(1); opacity: 1; }
  65%  { transform: translateY(14px) scaleY(0.35) scaleX(1.7); opacity: 0.55; }
  78%  { transform: translateY(14px) scaleY(0) scaleX(2.2); opacity: 0; }
  100% { transform: translateY(-18px) scaleY(1.1); opacity: 0; }
}

/* ゴールドパーティクル上昇 (内側ケア) */
.skin-vis__particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.skin-vis__p {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 5px rgba(201,168,76,0.7);
  position: absolute; opacity: 0;
  animation: svParticleRise 3s ease-in-out infinite;
}
.sv-p1 { left: 18%; bottom: 6px; animation-delay: 0s; }
.sv-p2 { left: 38%; bottom: 9px; animation-delay: 0.6s; }
.sv-p3 { left: 58%; bottom: 4px; animation-delay: 1.2s; }
.sv-p4 { left: 74%; bottom: 7px; animation-delay: 1.8s; }
.sv-p5 { left: 30%; bottom: 5px; animation-delay: 2.4s; }

@keyframes svParticleRise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 0.95; }
  75%  { opacity: 0.6; }
  100% { transform: translateY(-84px) scale(0.5); opacity: 0; }
}

@keyframes cellLayerPulse {
  0%, 100% { background: rgba(201,168,76,0.38); }
  50%       { background: rgba(201,168,76,0.55); box-shadow: 0 0 8px rgba(201,168,76,0.35); }
}

.wall__diagram-text {
  font-family: var(--f-min); font-weight: 800;
  font-size: 0.82rem; line-height: 1.5;
}

/* =================== S04 BRAND STORY — 55年 + 開発ストーリー =================== */
.story {
  padding: clamp(4rem, 7vw, 5.5rem) 0 clamp(6.5rem, 12vw, 8.5rem);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.story__lead {
  font-family: var(--f-min);
  font-size: clamp(1.6rem, 7vw, 2.6rem);
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
  margin-bottom: var(--sp-lg);
  letter-spacing: 0.03em;
}
.story__lead em { font-style: normal; color: var(--gold-l); }
.story__prose {
  font-size: 0.9375rem; line-height: 2.1;
  color: rgba(255,255,255,0.82);
  margin-bottom: var(--sp-lg);
  overflow-wrap: break-word;
}
.story__prose p + p { margin-top: 1.2em; }

/* Horizontal timeline — スクロール */
.story__timeline {
  display: flex;
  overflow-x: auto;
  gap: 0;
  margin: var(--sp-lg) -1.5rem 0;
  padding: 0 1.5rem var(--sp-sm);
  scrollbar-width: none;
}
.story__timeline::-webkit-scrollbar { display: none; }
.story__mile {
  flex-shrink: 0;
  width: 200px;
  padding-right: 2rem;
  position: relative;
}
.story__mile::after {
  content: '';
  position: absolute;
  top: 0.45rem; left: 3.5rem; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.18);
}
.story__mile:last-child::after { display: none; }
.story__mile-year {
  font-family: var(--f-min); font-size: 1.4rem; font-weight: 800;
  color: var(--gold); display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.story__mile-year::before {
  content: '●'; font-size: 0.7rem; color: var(--gold); flex-shrink: 0;
}
.story__mile-text { font-size: 0.72rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* Product reveal inside story */
.story__product {
  margin: var(--sp-xl) auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-md);
  text-align: center;
  max-width: 420px;
}
.story__product-img {
  width: min(300px, 78vw);
  flex-shrink: 0;
  position: relative;
}
/* スポットライトグロー */
.story__product-img::before {
  content: '';
  position: absolute;
  inset: -35% -45%;
  background: radial-gradient(ellipse 60% 55% at 50% 50%,
    rgba(201,168,76,0.35) 0%,
    rgba(27,108,168,0.20) 45%,
    transparent 70%);
  border-radius: 50%;
  animation: productGlow 4s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes productGlow {
  0%,100% { opacity: 0.65; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.14); }
}
.story__product-img .iz {
  aspect-ratio: 3/4;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 12px 48px rgba(0,0,0,0.6),
    0 0 0 1px rgba(201,168,76,0.22);
}
.story__product-img .iz-inner {
  background-image: url('images/product.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,0.05);
  min-height: 375px;
}
.story__product-text {
  text-align: center;
}
.story__product-text h3 {
  font-family: var(--f-min);
  font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--white);
}
.story__product-text p { font-size: 0.8rem; color: rgba(255,255,255,0.65); line-height: 1.85; }

/* =================== S05 THE FORMULA — 成分 =================== */
.formula { background: var(--snow); padding: clamp(5rem, 9vw, 6.5rem) 0 clamp(4rem, 7vw, 5rem); }

/* Star ingredient — fullscreen feel */
.formula__star {
  background: var(--sea);
  padding: var(--sp-lg) 1.5rem;
  margin-bottom: var(--sp-lg);
}
.formula__star-eyebrow {
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.25em;
  color: var(--gold-l); margin-bottom: 0.75rem; display: block;
  text-transform: uppercase;
}
.formula__star-name {
  font-family: var(--f-min);
  font-size: clamp(1.8rem, 8vw, 3rem);
  font-weight: 800; color: var(--white);
  line-height: 1.1; margin-bottom: var(--sp-sm);
  letter-spacing: 0.02em;
}
.formula__star-patent {
  display: inline-block;
  background: var(--gold); color: var(--white);
  font-size: 0.6rem; font-weight: 700;
  padding: 0.18rem 0.65rem; border-radius: 3px;
  letter-spacing: 0.08em; margin-bottom: var(--sp-sm);
}
.formula__star-desc {
  font-size: 0.85rem; color: rgba(255,255,255,0.8); line-height: 1.88;
}

/* 6 ingredients grid */
.formula__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--ink-20);
  border: 1px solid var(--ink-20);
}
.formula__item {
  background: var(--snow);
  padding: 1.5rem 1rem;
  overflow: hidden;
}
.formula__item-icon {
  font-size: 1.5rem; margin-bottom: 0.4rem;
  display: block; line-height: 1;
}

/* 成分アイコン: filter変化のみ（移動なし・枠内収まり） */
.formula__item:nth-child(1) .formula__item-icon { animation: fiSparkle 2.4s ease-in-out infinite; }
.formula__item:nth-child(2) .formula__item-icon { animation: fiHydrate 2.8s ease-in-out infinite; }
.formula__item:nth-child(3) .formula__item-icon { animation: fiWave    3.0s ease-in-out infinite; }
.formula__item:nth-child(4) .formula__item-icon { animation: fiBloom   2.6s ease-in-out infinite; }
.formula__item:nth-child(5) .formula__item-icon { animation: fiCharge  1.9s ease-in-out infinite; }
.formula__item:nth-child(6) .formula__item-icon { animation: fiVitamin 2.4s ease-in-out infinite; }

/* ✨ NMN — 光の明滅 */
@keyframes fiSparkle {
  0%, 100% { filter: brightness(0.8) opacity(0.75); }
  50%       { filter: brightness(1.6) opacity(1) drop-shadow(0 0 3px rgba(255,225,80,0.85)); }
}
/* 💧 コラーゲンペプチド — 水のグロー */
@keyframes fiHydrate {
  0%, 100% { filter: brightness(0.85) saturate(0.8); opacity: 0.78; }
  50%       { filter: brightness(1.25) saturate(1.4) drop-shadow(0 0 4px rgba(78,168,214,0.7)); opacity: 1; }
}
/* 🌊 ヒアルロン酸Na — 波の彩度変化 */
@keyframes fiWave {
  0%, 100% { filter: brightness(0.85) saturate(0.7); opacity: 0.78; }
  40%       { filter: brightness(1.2) saturate(1.5) drop-shadow(0 0 4px rgba(90,180,230,0.65)); opacity: 1; }
  70%       { filter: brightness(1.0) saturate(1.1); opacity: 0.9; }
}
/* 🌸 プラセンタ — 彩度の開花 */
@keyframes fiBloom {
  0%, 100% { filter: saturate(0.6) brightness(0.82); opacity: 0.75; }
  50%       { filter: saturate(2.0) brightness(1.15) drop-shadow(0 0 4px rgba(240,130,180,0.65)); opacity: 1; }
}
/* ⚡ CoQ10 — 電撃フラッシュ（コントラスト急変） */
@keyframes fiCharge {
  0%, 70%, 100% { filter: brightness(0.75) saturate(0.85); opacity: 0.72; }
  78%           { filter: brightness(2.0) saturate(1.6) drop-shadow(0 0 5px rgba(255,215,50,0.9)); opacity: 1; }
  85%           { filter: brightness(0.85) saturate(0.9); opacity: 0.78; }
  92%           { filter: brightness(1.45) saturate(1.3) drop-shadow(0 0 3px rgba(255,215,50,0.6)); opacity: 1; }
}
/* 🍊 ビタミンC + アスタキサンチン — 暖色グロー */
@keyframes fiVitamin {
  0%, 100% { filter: saturate(0.75) brightness(0.88); opacity: 0.76; }
  50%       { filter: saturate(1.8) brightness(1.2) drop-shadow(0 0 5px rgba(255,135,45,0.72)); opacity: 1; }
}
.formula__item-name {
  font-family: var(--f-min); font-size: 0.85rem;
  font-weight: 800; color: var(--sea); margin-bottom: 0.3rem;
}
.formula__item-role { font-size: 0.7rem; color: var(--ink-50); line-height: 1.6; }

.formula__note {
  padding: var(--sp-sm) 1.5rem 0;
  font-size: 0.72rem; color: var(--ink-50); line-height: 1.8;
}

/* =================== S06 NUMBERS — 編集型エビデンス =================== */
.numbers {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  background: var(--white); /* formulaのsnowと差別化 */
}

/* 主役の1数字 + 脇役2数字 の編集的ヒエラルキー */
.numbers__editorial { margin-bottom: var(--sp-md); }

.numbers__hero-stat {
  text-align: center;
  padding: 0 1.5rem clamp(2rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--ink-20);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.numbers__big-hero {
  font-family: var(--f-min);
  font-size: clamp(5.5rem, 22vw, 8rem);
  font-weight: 800;
  color: var(--sea);
  line-height: 1;
  display: block;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.numbers__big-hero .numbers__big-unit {
  font-size: 2.8rem;
  color: var(--ink);
  letter-spacing: 0;
}

.numbers__hero-label {
  font-family: var(--f-min);
  font-size: clamp(1rem, 4.5vw, 1.35rem);
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.6rem;
  line-height: 1.5;
}

.numbers__hero-sub {
  font-size: 0.65rem;
  color: var(--ink-50);
  margin-top: 0.35rem;
  letter-spacing: 0.02em;
}

/* 脇役2数字 */
.numbers__support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  padding: 0 1.5rem;
}

.numbers__support-item {
  padding: 1.25rem 1rem;
  background: var(--snow);
  border-radius: 6px;
  border: 1px solid var(--ink-20);
}

.numbers__support-n {
  font-family: var(--f-min);
  font-size: clamp(2rem, 9vw, 3.2rem);
  font-weight: 800;
  color: var(--sea);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.numbers__support-unit {
  font-size: 1.1rem;
  color: var(--ink);
}

.numbers__support-label {
  display: block;
  font-size: 0.68rem;
  color: var(--ink-50);
  line-height: 1.5;
  margin-top: 0.45rem;
  border-top: 1px solid var(--ink-20);
  padding-top: 0.4rem;
}

.numbers__support-label strong { color: var(--ink); font-weight: 700; }

/* メディア・バッジ行 */
.numbers__media {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: var(--sp-md);
  padding: var(--sp-sm) 1.5rem 0;
  border-top: 1px solid var(--ink-20);
}

.numbers__media-chip {
  font-size: 0.65rem; font-weight: 700;
  border: 1px solid var(--ink-20);
  padding: 0.3rem 0.75rem; border-radius: 3px;
  color: var(--ink-50);
  line-height: 1.4; text-align: center;
  transition: color 0.18s, border-color 0.18s;
}

.numbers__media-chip:hover {
  color: var(--sea);
  border-color: rgba(27,108,168,0.45);
}

/* =================== S07 DOCTOR — 全幅引用 =================== */
.voice {
  background: var(--ink);
  padding: clamp(7rem, 13vw, 9.5rem) 0;
}
.voice__quote-mark {
  font-family: var(--f-min);
  font-size: 5rem; line-height: 0.5;
  color: rgba(201,168,76,0.25);
  font-weight: 800; display: block;
  margin-bottom: -0.5rem; padding-left: 1.5rem;
}
.voice__quote {
  font-family: var(--f-min);
  font-size: clamp(1.15rem, 5.5vw, 1.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.72;
  letter-spacing: 0.03em;
  padding: 0 1.5rem;
  margin-bottom: var(--sp-lg);
  text-wrap: pretty;
}
.voice__person {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  margin-bottom: var(--sp-lg);
}
.voice__photo {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  font-size: 1.5rem;
  overflow: hidden; flex-shrink: 0;
  position: relative;
}
.voice__photo img { width: 100%; height: 100%; object-fit: cover; }
.voice__name {
  font-size: 0.78rem; font-weight: 700; color: var(--white);
  line-height: 1.5;
}
.voice__title {
  font-size: 0.65rem; color: rgba(255,255,255,0.4); margin-top: 0.1rem;
}
.voice__degree {
  font-size: 0.62rem; color: rgba(255,255,255,0.42);
  font-family: var(--f-sans); font-weight: 400;
}
.voice__note {
  padding: 0 1.5rem;
  font-size: 0.72rem; color: rgba(255,255,255,0.48); line-height: 1.75;
  /* 0.25は~2.8:1でWCAG失敗 → 0.48で~5:1に改善 */
}

/* =================== S08 THEIR STORIES — ジャーナル型証言 =================== */
.stories { padding: clamp(5.5rem, 10vw, 7rem) 0; background: var(--snow); }

.journal {
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--ink-20);
}
.journal:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.journal__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: var(--sp-md);
}
.journal__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--mist);
  display: grid; place-items: center;
  font-size: 1.3rem; flex-shrink: 0;
  overflow: hidden;
}
.journal__avatar img { width: 100%; height: 100%; object-fit: cover; }
.journal__meta-name { font-size: 0.82rem; font-weight: 700; }
.journal__meta-attr { font-size: 0.65rem; color: var(--ink-50); margin-top: 0.1rem; }
.journal__stars     { color: var(--gold); font-size: 0.75rem; letter-spacing: 0.12em; margin-top: 0.15rem; }

.journal__photo .iz {
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: var(--sp-md);
}
.journal__photo .iz-inner {
  min-height: 160px;
  background-size: cover;
  background-position: center;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: rgba(0,0,0,0.2);
}
.journal__1 .iz-inner { background-image: url('images/review1.webp'), linear-gradient(135deg, #e8f4fc, #cce4f6); }
.journal__2 .iz-inner { background-image: url('images/review2.webp'), linear-gradient(135deg, #d0e8f5, #b8d9f0); }
.journal__3 .iz-inner { background-image: url('images/review3.webp'), linear-gradient(135deg, #c5ddf0, #a8cceb); }

.journal__pull {
  font-family: var(--f-min);
  font-size: clamp(1.05rem, 4.5vw, 1.4rem);
  font-weight: 800;
  color: var(--sea);
  line-height: 1.5;
  margin-bottom: var(--sp-md);
}
.journal__pull::before {
  content: '\201C';
  color: var(--gold);
  font-size: 2em;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 0.05em;
}
.journal__text {
  font-size: 0.9375rem; line-height: 2.1; color: rgba(26,26,46,0.75);
  overflow-wrap: break-word;
}
.journal__text p + p { margin-top: 1em; }

/* Before/After strip */
.ba-strip {
  display: grid;
  grid-template-columns: 1fr 0.32fr 1fr;
  align-items: center;
  gap: 0;
  background: var(--mist);
  border-radius: 10px;
  overflow: hidden;
  margin-top: var(--sp-md);
}
.ba-cell { text-align: center; }
.ba-cell .iz { aspect-ratio: 3/4; }
.ba-cell .iz-inner {
  background-size: cover; background-position: center top;
  min-height: 100px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; color: rgba(0,0,0,0.2);
}
.ba-cell--before .iz-inner { background-image: url('images/ba_before.webp'), linear-gradient(135deg, #ccc, #ddd); }
.ba-cell--after  .iz-inner { background-image: url('images/ba_after.webp'),  linear-gradient(135deg, #1B6CA8, #4a9ecf); }
.ba-sep {
  text-align: center;
  padding: 0.5rem 0.25rem;
}
.ba-sep__label {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  background: var(--sea);
  color: var(--white);
  border-radius: 100px;
  padding: 0.5rem 0.6rem;
  font-family: var(--f-min);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.ba-label { display: block; font-size: 0.58rem; font-weight: 700; padding: 0.4rem; }
.ba-label--before { color: var(--ink-50); }
.ba-label--after  { color: var(--sea); }
.ba-note { font-size: 0.72rem; color: var(--ink-50); text-align: center; padding: 0.4rem; grid-column: 1/-1; }

/* =================== S09 14 DAYS — タイムライン =================== */
.journey {
  padding: clamp(4rem, 7vw, 5.5rem) 0;
  background: var(--mist);
  overflow: hidden;
}
.journey__title {
  font-family: var(--f-min);
  font-size: clamp(1.4rem, 6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.35; margin-bottom: var(--sp-sm);
}
.journey__sub {
  font-size: 0.82rem; color: var(--ink-50);
  margin-bottom: var(--sp-lg); line-height: 1.8;
}

.journey__track {
  display: flex;
  overflow-x: auto;
  gap: 0;
  margin: 0 -1.5rem;
  padding: 0 1.5rem var(--sp-sm);
  scrollbar-width: none;
}
.journey__track::-webkit-scrollbar { display: none; }
.journey__step {
  flex-shrink: 0;
  width: 168px;
  padding-right: 1.5rem;
  position: relative;
}
.journey__step::after {
  content: '';
  position: absolute;
  top: 1.1rem; left: 2.4rem; right: 0;
  height: 1px; background: rgba(27,108,168,0.2);
}
.journey__step:last-child::after { display: none; }
.journey__day {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-min); font-size: 1.1rem; font-weight: 800;
  color: var(--sea); margin-bottom: 0.7rem;
}
.journey__day::before {
  content: ''; width: 10px; height: 10px;
  border-radius: 50%; background: var(--sea); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(27,108,168,0.15);
}
.journey__step-text { font-size: 0.72rem; color: var(--ink); line-height: 1.65; }
.journey__step.highlight .journey__day { color: var(--gold); }
.journey__step.highlight .journey__day::before { background: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.2); }
.journey__note {
  margin-top: var(--sp-md);
  font-size: 0.72rem; color: var(--ink-50); line-height: 1.8;
}

/* =================== S10 INVEST — 価格 =================== */
.invest { padding: clamp(6rem, 11vw, 8rem) 0; background: var(--snow); }
.invest__intro {
  font-size: 0.9rem; color: var(--ink-50); line-height: 2;
  margin-bottom: var(--sp-lg);
}
/* Countdown */
.cd {
  display: flex; align-items: center; gap: 0.3rem;
  margin-bottom: var(--sp-md);
}
.cd__block {
  background: var(--mist);
  border: 1px solid rgba(27,108,168,0.15);
  border-radius: 6px;
  padding: 0.55rem 0.65rem;
  min-width: 50px; text-align: center;
}
.cd__n { font-family: var(--f-min); font-size: 1.7rem; font-weight: 800; color: var(--sea); line-height: 1; display: block; }
.cd__l { font-size: 0.52rem; color: var(--ink-50); display: block; margin-top: 0.1rem; }
.cd__sep { font-family: var(--f-min); font-size: 1.5rem; font-weight: 800; color: var(--sea); line-height: 0.9; margin-top: -0.15rem; }
.cd__deadline { font-size: 0.65rem; color: var(--ink-50); margin-top: 0.3rem; }

/* Plan cards */
.plan-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: var(--sp-md); }
.plan {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ink-20);
}
.plan--sub { border-color: var(--gold); border-width: 2px; }
.plan__head {
  padding: 1rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.plan--sub .plan__head { background: var(--sea); color: var(--white); }
.plan--single .plan__head { background: var(--mist); }
.plan__label { font-size: 0.82rem; font-weight: 700; }
.plan__tag { font-size: 0.58rem; font-weight: 700; background: var(--gold); color: var(--white); padding: 0.18rem 0.5rem; border-radius: 100px; }
.plan__body { background: var(--white); padding: 1.25rem; }
.plan__original { font-size: 0.75rem; color: var(--ink-50); text-decoration: line-through; margin-bottom: 0.15rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.2rem; margin-bottom: 0.15rem; }
.plan__yen { font-family: var(--f-min); font-size: 2.4rem; font-weight: 800; color: var(--sea); line-height: 1; }
.plan__unit { font-size: 0.85rem; color: var(--sea); }
.plan__tax  { font-size: 0.62rem; color: var(--ink-50); }
.plan__perday { font-size: 0.65rem; color: var(--sea); font-weight: 700; margin-bottom: 0.75rem; }
.plan__perks  { margin: 0.75rem 0; display: flex; flex-direction: column; gap: 0.22rem; }
.plan__perk   { font-size: 0.75rem; display: flex; gap: 0.35rem; align-items: baseline; color: var(--ink); }
.plan__perk::before { content: '+'; color: var(--gold); font-weight: 700; flex-shrink: 0; }

.guarantee-row {
  display: flex; flex-wrap: wrap; gap: 0.3rem var(--sp-sm);
  margin-top: var(--sp-md);
}
.g-chip {
  font-size: 0.7rem; display: flex; align-items: center; gap: 0.25rem; color: var(--ink-50);
}
.g-chip::before { content: '✓'; color: var(--sea); font-weight: 700; }

/* =================== S11 OFFER =================== */
.offer {
  padding: clamp(4rem, 7vw, 5rem) 0;
  background: var(--mist);
}
.offer__cards {
  display: grid; grid-template-columns: 1fr;
  gap: 0.75rem; margin-bottom: var(--sp-md);
}
.offer__card {
  background: var(--white);
  border: 1px solid rgba(27,108,168,0.12);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.offer__num {
  font-family: var(--f-min); font-size: 1.1rem; font-weight: 800;
  color: var(--gold); line-height: 1.4; flex-shrink: 0; min-width: 1.1rem;
}
.offer__title { font-size: 0.82rem; font-weight: 700; margin-bottom: 0.15rem; }
.offer__desc  { font-size: 0.68rem; color: var(--ink-50); line-height: 1.6; }

.offer__bar-wrap { text-align: center; margin-bottom: var(--sp-md); }
.offer__bar-label { font-size: 0.68rem; color: var(--ink-50); margin-bottom: 0.4rem; }
.offer__bar { height: 5px; background: var(--ink-20); border-radius: 3px; overflow: hidden; max-width: 240px; margin-inline: auto; }
.offer__bar-fill { height: 100%; width: 58%; background: linear-gradient(90deg, var(--gold), var(--gold-l)); border-radius: 3px; }

/* =================== S12 FAQ =================== */
.faq { padding: clamp(5rem, 9vw, 6.5rem) 0; background: var(--snow); }
.faq__list { display: flex; flex-direction: column; gap: 2px; }
.faq__item { background: var(--white); border-bottom: 1px solid var(--ink-20); }
.faq__q {
  width: 100%; display: flex; align-items: flex-start; gap: 0.65rem;
  padding: 1.1rem 1.25rem;
  font-size: 0.84rem; font-weight: 700; color: var(--ink);
  text-align: left; transition: color 0.2s;
}
.faq__q:hover { color: var(--sea); }
.faq__q-q { font-family: var(--f-min); font-size: 1rem; font-weight: 800; color: var(--sea); flex-shrink: 0; }
.faq__q-t { flex: 1; line-height: 1.5; }
.faq__q-i { flex-shrink: 0; font-size: 1.1rem; color: var(--gold); transition: transform 0.28s; margin-top: 0.05rem; line-height: 1; }
.faq__item.open .faq__q-i { transform: rotate(45deg); color: var(--sea); }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.36s var(--ease-expo);
}
.faq__a-i { padding: 0.8rem 1.25rem 1.1rem calc(1.25rem + 1rem + 0.65rem); font-size: 0.82rem; color: var(--ink-50); line-height: 1.92; }
.faq__item.open .faq__a { max-height: 400px; }

/* =================== MID CTA — 中間コンバージョン =================== */
.mid-cta {
  background: linear-gradient(135deg, var(--sea) 0%, #0d4f7e 100%);
  padding: clamp(3rem, 5.5vw, 4.5rem) var(--sp-md);
  text-align: center;
}
.mid-cta__inner { max-width: 560px; margin: 0 auto; }
.mid-cta__eyebrow {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 0.8rem;
}
.mid-cta__copy {
  font-family: var(--f-min); font-size: clamp(1.15rem, 5vw, 1.5rem);
  color: #fff; line-height: 1.65; margin-bottom: var(--sp-md);
}
.mid-cta__copy strong { color: var(--gold); }
.mid-cta__btn { width: min(100%, 380px); justify-content: center; }
.mid-cta__note {
  font-size: 0.65rem; color: rgba(255,255,255,0.55);
  margin-top: 0.9rem; letter-spacing: 0.04em;
}

/* =================== PRE-CLOSING CTA — クロージング直前 =================== */
.pre-cta {
  background: var(--ink);
  padding: clamp(5rem, 9vw, 6.5rem) var(--sp-md);
  text-align: center;
  position: relative; overflow: hidden;
}
.pre-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%,
    rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.pre-cta__inner { max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.pre-cta__label {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201,168,76,0.5);
  border-radius: 100px; padding: 0.28rem 1rem; margin-bottom: 1.2rem;
}
.pre-cta__heading {
  font-family: var(--f-min); font-size: clamp(1.5rem, 6.5vw, 2.2rem);
  font-weight: 800; color: #fff; line-height: 1.45; margin-bottom: 0.9rem;
}
.pre-cta__sub {
  font-size: 0.82rem; color: rgba(255,255,255,0.6);
  line-height: 1.7; margin-bottom: var(--sp-lg);
}
.pre-cta__btns { display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.pre-cta__guarantee {
  font-size: 0.62rem; color: rgba(255,255,255,0.45); letter-spacing: 0.04em;
}
.pre-cta__guarantee span { color: var(--gold); }

/* =================== S13 CLOSING — 最終CTA =================== */
.closing {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 10vw, 7rem) 0;
  min-height: 70vh;
}
.closing__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.closing__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.closing__photo {
  position: absolute; inset: 0; z-index: 0; /* 動画フォールバック */
  background-image: url('images/closing_bg.webp');
  background-size: cover; background-position: center top;
}
.closing__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,46,0.65) 0%, rgba(26,26,46,0.88) 100%);
}
.closing__body {
  position: relative; z-index: 2;
  padding-inline: 1.5rem; text-align: center;
}
.closing__hl {
  font-family: var(--f-min);
  font-size: clamp(1.8rem, 8vw, 3.2rem);
  font-weight: 800; color: var(--white);
  line-height: 1.3; letter-spacing: 0.04em;
  margin-bottom: var(--sp-sm);
  text-shadow: 0 1px 6px rgba(0,0,0,0.65), 0 4px 22px rgba(0,0,0,0.4);
}
.closing__sub {
  font-size: 0.85rem; color: rgba(255,255,255,0.94); line-height: 1.9;
  margin-bottom: var(--sp-lg);
  text-shadow: 0 1px 5px rgba(0,0,0,0.68);
}
.closing__btns { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; margin-bottom: var(--sp-md); }
.closing__assurance {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.closing__chip { font-size: 0.65rem; color: rgba(255,255,255,0.88); display: flex; align-items: center; gap: 0.2rem; text-shadow: 0 1px 4px rgba(0,0,0,0.55); }
.closing__chip::before { content: '✓'; color: var(--gold-l); font-weight: 700; }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem; }
.pay { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.28); border-radius: 3px; padding: 0.18rem 0.45rem; font-size: 0.6rem; color: rgba(255,255,255,0.82); font-weight: 700; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }

/* =================== FOOTER =================== */
.footer {
  background: var(--ink); color: rgba(255,255,255,0.55); /* WCAG AA 4.5:1確保のためalpha0.38→0.55に調整 */
  padding: var(--sp-lg) 0; font-size: 0.65rem; text-align: center; line-height: 2;
}
.footer__logo {
  font-family: var(--f-min); font-size: 1.1rem; font-weight: 800;
  color: rgba(255,255,255,0.55); margin-bottom: 1rem;
}
.footer__logo span { color: var(--gold); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.2rem var(--sp-sm); margin-bottom: 1.25rem; }
.footer__nav a { color: var(--gold-l); }
.footer__nav a:hover { text-decoration: underline; }
.footer__legal { max-width: 600px; margin-inline: auto; margin-bottom: 0.75rem; color: rgba(255,255,255,0.62); line-height: 1.9; }

/* =========================================================
   FLASH ANIMATIONS — 派手な演出
   ========================================================= */

/* ── Aurora: ヒーロー背景グラデーション ── */
.aurora-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(135deg,
    rgba(27,108,168,0.45) 0%,
    rgba(201,168,76,0.18) 28%,
    rgba(27,108,168,0.32) 52%,
    rgba(201,168,76,0.22) 76%,
    rgba(27,108,168,0.40) 100%
  );
  background-size: 400% 400%;
  animation: aurora 9s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes aurora {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ── ヒーロー見出しの金色グロー ── */
.glow-gold {
  display: inline;
  animation: neonGold 3.2s ease-in-out infinite;
}
@keyframes neonGold {
  0%,100% {
    text-shadow:
      1px 1px 0 rgba(90,55,0,0.45),
      2px 2px 0 rgba(70,42,0,0.32),
      3px 3px 0 rgba(50,30,0,0.18),
      0 0 8px rgba(201,168,76,0.5),
      0 0 18px rgba(201,168,76,0.25);
  }
  50% {
    text-shadow:
      1px 1px 0 rgba(90,55,0,0.45),
      2px 2px 0 rgba(70,42,0,0.32),
      3px 3px 0 rgba(50,30,0,0.18),
      0 0 18px rgba(201,168,76,0.95),
      0 0 36px rgba(201,168,76,0.55),
      0 0 60px rgba(201,168,76,0.28);
  }
}

/* ── マーキーバンド ── */
.marquee-band {
  overflow: hidden;
  padding: 0.65rem 0;
  position: relative; z-index: 10;
}
.marquee-band--sea  { background: var(--sea); }
.marquee-band--gold { background: var(--gold); }
.marquee-band--ink  { background: var(--ink); }
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 22s linear infinite;
}
.marquee-band:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  white-space: nowrap;
  font-family: var(--f-min);
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.88);
  padding: 0 1.6rem;
}
.marquee-band--gold .marquee-item { color: var(--ink); }
.marquee-sep { color: rgba(255,255,255,0.3); padding: 0 0.3rem; font-weight: 400; }
.marquee-band--gold .marquee-sep  { color: rgba(26,26,46,0.35); }

/* ── CTAボタン: シャインスイープ ── */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after {
  content: '';
  position: absolute; top: 0; left: -90%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: skewX(-18deg);
  animation: shineSweep 2.8s ease-in-out infinite;
}
@keyframes shineSweep {
  0%,65%  { left: -90%; opacity: 1; }
  100%    { left: 150%; opacity: 0; }
}

/* ── 商品ボトル: 浮遊 ── */
.float-anim {
  animation: floatUD 4s ease-in-out infinite;
}
@keyframes floatUD {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-11px); }
}

/* ── Numbers: 大数字カラー（ゴールド＋シー、交互に割当） ── */
.num-gradient .num-line,
.num-gradient .num-line > span {
  display: inline;
  color: var(--gold);
}
.num-gradient .numbers__big-unit {
  color: var(--gold);
}

/* ── Numbers: スタットカード フラッシュ演出 ── */
.numbers__stat.in {
  animation: statFlash 0.5s ease-out;
}
@keyframes statFlash {
  0%   { filter: brightness(1); }
  25%  { filter: brightness(1.5) drop-shadow(0 0 12px rgba(201,168,76,0.6)); }
  100% { filter: brightness(1); }
}

/* ── クロージング: ラジアルグロー ── */
.closing__glow {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 75%, rgba(201,168,76,0.22) 0%, transparent 65%);
  animation: closingGlow 4.5s ease-in-out infinite;
}
@keyframes closingGlow {
  0%,100% { opacity: 0.55; transform: scale(1); }
  50%     { opacity: 1;    transform: scale(1.1); }
}

/* ── ドクターセクション: 金ライン描画 ── */
.voice__line {
  display: block;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0));
  width: 0;
  margin: 1.6rem 1.5rem 1.6rem;
  transition: width 1.4s 0.3s ease;
}
.voice.anim-in .voice__line { width: calc(100% - 3rem); }

/* ── セクション区切り: スライドイン装飾ライン ── */
.section-deco {
  display: block; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, rgba(201,168,76,0.4) 70%, transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.1s ease;
  margin: 0 1.5rem;
}
.section-deco.in { transform: scaleX(1); }

/* ── スクロールトリガー: 右スライドイン ── */
.reveal-r {
  opacity: 0; transform: translateX(45px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}
.reveal-r.in { opacity: 1; transform: none; }

/* ── スクロールトリガー: 左スライドイン ── */
.reveal-l {
  opacity: 0; transform: translateX(-45px);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}
.reveal-l.in { opacity: 1; transform: none; }

/* ── スクロールトリガー: スケールポップ ── */
.reveal-pop {
  opacity: 0; transform: scale(0.86);
  transition: opacity 0.7s var(--ease-expo), transform 0.7s var(--ease-expo);
}
.reveal-pop.in { opacity: 1; transform: scale(1); }

/* ── フォーミュラ星成分: スイープ光沢 ── */
.formula__star {
  position: relative; overflow: hidden;
}
.formula__star::before {
  content: '';
  position: absolute; top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.12), transparent);
  animation: starSweep 5s ease-in-out infinite;
}
@keyframes starSweep {
  0%   { left: -120%; }
  100% { left: 220%; }
}

/* (reduced-motion は ACCESSIBILITY セクションに統合済み) */

/* =========================================================
   PC / TABLET DISPLAY — @media (min-width: 769px)
   モバイルLP(375px)を zoom 2.88 で 1080×1920 フォンフレームに表示
   背景: pc_bg.png + CSSmeshグラデーション（フォールバック）
   ========================================================= */
@media (min-width: 769px) {

  /* ── PC背景: ダークネイビー（body スクロール無効） ── */
  body {
    overflow: hidden;
    height: 100svh;
    background-color: #06091A;
    background-image:
      url('images/pc_bg.webp'),
      radial-gradient(ellipse 45% 80% at 8%  45%, rgba(27,108,168,0.55) 0%, transparent 70%),
      radial-gradient(ellipse 38% 70% at 92% 55%, rgba(201,168,76,0.38) 0%, transparent 70%),
      radial-gradient(ellipse 60% 40% at 50%  0%,  rgba(27,108,168,0.28) 0%, transparent 80%),
      radial-gradient(ellipse 50% 45% at 50% 100%, rgba(201,168,76,0.18) 0%, transparent 70%),
      linear-gradient(160deg, #0A0F20 0%, #111827 45%, #0C1422 100%);
    background-size: cover, auto;
    background-position: center center, center;
    background-attachment: fixed;
    background-repeat: no-repeat;
  }

  /* ── フォンフレーム: 1080px × min(1920px,100svh) 中央固定 ── */
  #phone-frame {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1080px;
    height: min(1920px, 100svh);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,168,76,0.35) transparent;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.07),
      0 12px 80px rgba(0,0,0,0.72),
      0 2px 24px rgba(0,0,0,0.42);
  }
  #phone-frame::-webkit-scrollbar { width: 4px; }
  #phone-frame::-webkit-scrollbar-track { background: transparent; }
  #phone-frame::-webkit-scrollbar-thumb {
    background: rgba(201,168,76,0.38); border-radius: 2px;
  }

  /* ── スクロールプログレスバー: sticky top ── */
  #scroll-bar {
    position: sticky;
    top: 0;
    left: 0;
    width: 0%;        /* JS が上書き */
    transform: none;
    z-index: 300;
    pointer-events: none;
  }

  /* ── ヘッダー: sticky top ── */
  .site-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transform: none;
    z-index: 200;
  }

  /* ── LP本体: zoom 2.88 で 375px → 1080px スケールアップ ── */
  #lp-wrap {
    zoom: 2.88;        /* 375 × 2.88 = 1080px */
    width: 375px;
    max-width: 375px;
    margin: 0;
    overflow: visible;
    box-shadow: none;
    background: var(--snow);
    position: relative;
  }

  /* ── ヒーロー高さ: 667px × 2.88 ≈ 1920px ── */
  .opening { min-height: 667px; }

  /* ── PC サイドパネル: フォンフレーム内では非表示 ── */
  .pc-side { display: none; }

  /* ── Sticky CTA: phone-frame の transform で自動的にフレーム内固定 ── */
  /* position:fixed → phone-frame の transform により、そのボーダーボックス基準で配置 */
  #sticky-cta {
    display: flex;
    position: fixed;
    bottom: -80px;
    left: 0;
    right: 0;
    width: 100%;   /* phone-frame幅 = 1080px に自動フィット */
    transform: none;
    transition: bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  #sticky-cta.show { bottom: 0; }
}

/* =========================================================
   DESKTOP BREAKPOINT — @media (min-width: 1280px)
   PC展開版: フォンフレームを解除 → 通常ページスクロール + 2カラムレイアウト
   ========================================================= */
@media (min-width: 1280px) {

  /* ── フォンフレームをリセット → 通常ページレイアウトに戻す ── */
  body {
    overflow: auto;
    height: auto;
    min-height: 100vh;
  }

  #phone-frame {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    overflow: visible;
    box-shadow: none;
    background: transparent;
    scrollbar-width: auto;
  }

  #lp-wrap {
    zoom: 1;
    width: auto;
    max-width: 1080px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.07),
      0 8px 80px rgba(0,0,0,0.60),
      0 2px 24px rgba(0,0,0,0.45);
  }

  .opening { min-height: 100svh; }

  .site-header {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    width: 1080px;
    transform: translateX(-50%);
  }

  #scroll-bar {
    position: fixed;
    top: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 0%;   /* JS が上書き */
  }

  #sticky-cta {
    display: block;
    position: fixed;
    bottom: -80px;
    left: 50%;
    right: auto;
    width: 1080px;
    transform: translateX(-50%);
  }
  #sticky-cta.show { bottom: 0; transform: translateX(-50%); }

  /* ── スペーシング拡張 ── */
  :root {
    --sp-lg: 5.5rem;
    --sp-xl: 9rem;
  }

  /* ヘッダー幅を 1080px に固定（上書き） */
  .site-header { width: 1080px; }
  .site-header__inner { padding-inline: 2.5rem; }
  #scroll-bar  { width: 1080px; }

  /* ─────────────────────────────────────────
     サイド境界線
  ───────────────────────────────────────── */
  body::before,
  body::after {
    content: '';
    position: fixed;
    top: 0; bottom: 0;
    width: calc((100vw - 1080px) / 2 - 1px);
    pointer-events: none;
    z-index: 0;
  }
  body::before { left: 0;  border-right: 1px solid rgba(201,168,76,0.12); }
  body::after  { right: 0; border-left:  1px solid rgba(201,168,76,0.12); }

  /* ─────────────────────────────────────────
     PC サイドパネル
  ───────────────────────────────────────── */
  .pc-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: fixed;
    top: 0; bottom: 0;
    width: calc((100vw - 1080px) / 2);
    z-index: 1;
    pointer-events: none;
    /* サイドが 80px 未満なら非表示 */
    overflow: hidden;
    min-width: 0;
  }
  @media (max-width: 1260px) {
    .pc-side { display: none; }
  }
  .pc-side--left  { left: 0; }
  .pc-side--right { right: 0; }

  .pc-side__logo {
    font-family: var(--f-min);
    font-size: clamp(0.9rem, 1.2vw, 1.3rem);
    font-weight: 800;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.08em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
  }
  .pc-side__logo em { font-style: normal; color: var(--gold); }

  .pc-side__copy {
    font-family: var(--f-min);
    font-size: clamp(0.65rem, 0.9vw, 0.85rem);
    font-weight: 800;
    color: rgba(255,255,255,0.28);
    line-height: 2.0;
    letter-spacing: 0.15em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
  }

  .pc-side__tag {
    font-family: var(--f-sans);
    font-size: 0.52rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(201,168,76,0.45);
    writing-mode: vertical-rl;
    text-transform: uppercase;
  }

  .pc-side__pill {
    font-family: var(--f-sans);
    font-size: 0.55rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
    border: 1px solid rgba(201,168,76,0.18);
    border-radius: 100px;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
  }

  /* ─────────────────────────────────────────
     セクション別レイアウト拡張
  ───────────────────────────────────────── */

  /* S01 Opening */
  .opening { align-items: center; }
  .opening__text { max-width: 640px; }

  /* S02 Feeling — 左写真・右テキスト横分割 */
  .feeling { display: grid; grid-template-columns: 1fr 1fr; }
  .feeling__photo { aspect-ratio: auto; min-height: 520px; }
  .feeling__caption { display: flex; flex-direction: column; justify-content: center; padding: var(--sp-xl) 4rem; }

  /* S03 Wall — 2カラム */
  .wall__split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .wall__diagram { margin-top: 3rem; }

  /* S04 Story */
  .story__product { max-width: 500px; }
  .story__product-img { width: 340px; }

  /* S05 Formula — 3カラムグリッド */
  .formula__grid { grid-template-columns: repeat(3, 1fr); }

  /* S06 Numbers — 4カラム横並び */
  .numbers__row { grid-template-columns: repeat(4, 1fr); }

  /* S08 Stories — 2カラム */
  .stories__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-xl) 4rem; }
  .stories__grid .journal { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

  /* S10 Invest — 2カラム pricing */
  .plan-grid { grid-template-columns: 1fr 1fr; }

  /* S11 Offer — 3カラム */
  .offer__cards { grid-template-columns: repeat(3, 1fr); }

  /* S13 Closing — ボタン横並び */
  .closing__btns { flex-direction: row; justify-content: center; }
  .closing { min-height: 80svh; }
}
