/* ======================================================
   UV FORTE シールドセラム LP — style.css
   Mobile-First | Base: 375px | Desktop ready: 1280px
   Animations: Ken Burns / Zoom-in / L-R Pan / Video BG
   ====================================================== */

/* ===================== DESIGN TOKENS ===================== */
:root {
  /* Brand Colors */
  --c-main:     #1B6CA8;
  --c-main-d:   #145487;
  --c-accent:   #C9A84C;
  --c-accent-l: #E8CB7A;
  --c-text:     #1A2B3C;
  --c-bg:       #F0F7FF;
  --c-white:    #FFFFFF;
  --c-dark:     #1A2B3C;

  /* Typography */
  --f-serif: 'Cormorant Garamond', 'YuMincho', 'Yu Mincho', '游明朝', serif;
  --f-sans:  'Noto Sans JP', sans-serif;

  /* Font Sizes — Mobile Base */
  --fs-display: clamp(3rem,   14vw,  5.5rem);
  --fs-h1:      clamp(1.8rem,  8vw,  3.2rem);
  --fs-h2:      clamp(1.25rem, 5vw,  2rem);
  --fs-body:    15px;
  --fs-sm:      13px;
  --fs-xs:      11px;

  /* Spacing — Mobile Base (8px grid) */
  --sp-1: 0.5rem;
  --sp-2: 1rem;
  --sp-3: 1.5rem;
  --sp-4: 2rem;
  --sp-5: 3rem;
  --sp-6: 4.5rem;
  --sp-7: 6.5rem;

  /* Layout */
  --max-w:     1200px;
  --radius:    10px;
  --radius-lg: 18px;

  /* Shadows */
  --shadow-card: 0 2px 20px rgba(27,108,168,0.09);
  --shadow-cta:  0 4px 22px rgba(201,168,76,0.42);

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

  /* ── サブページ用エイリアス変数（旧変数名との互換） ── */
  --navy:       #1A2B3C;
  --blue:       #1B6CA8;
  --blue-dk:    #0d3d66;
  --gold:       #C9A84C;
  --gray:       #6b7280;
  --gray-dk:    #4b5563;
  --cta:        #e07030;
  --ff-nserif:  'Noto Serif JP', serif;
  --ff-nsans:   'Noto Sans JP', sans-serif;
  --ff-price:   'Barlow', 'Noto Serif JP', serif;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  color: var(--c-text);
  background: var(--c-white);
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ===================== LAYOUT ===================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.container--narrow {
  max-width: 720px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section        { padding-block: var(--sp-6); }
.section--blue  { background: var(--c-main); color: var(--c-white); }
.section--bg    { background: var(--c-bg); }
.section--dark  { background: var(--c-dark); color: var(--c-white); }

.eyebrow {
  display: block;
  font-family: var(--f-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.6rem;
}
.section--blue .eyebrow,
.section--dark .eyebrow { color: var(--c-accent-l); }

.sec-title {
  font-family: var(--f-serif);
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin-bottom: var(--sp-4);
}
.section--blue .sec-title,
.section--dark .sec-title { color: var(--c-white); }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--f-sans);
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
  letter-spacing: 0.04em;
  white-space: nowrap;
  position: relative;
}

/* ── Primary Gold CTA (3-D press effect) ── */
.btn--gold {
  background: linear-gradient(to bottom, #ddb84a 0%, #b8912a 100%);
  color: #fff;
  padding: 0.95rem 1.75rem;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.30);
  box-shadow:
    inset 0  2px 1px rgba(255,255,255,0.38),   /* top shine */
    inset 0 -1px 2px rgba(0,0,0,0.18),          /* bottom inner */
    0 6px 0 #7a5810,                             /* 3-D wall */
    0 9px 18px rgba(0,0,0,0.32),                /* depth shadow */
    0 2px 28px rgba(201,168,76,0.45);            /* gold glow */
  transform: translateY(0);
}
.btn--gold:hover {
  background: linear-gradient(to bottom, #e8c44e 0%, #c49a2e 100%);
  transform: translateY(-3px);
  box-shadow:
    inset 0  2px 1px rgba(255,255,255,0.40),
    inset 0 -1px 2px rgba(0,0,0,0.18),
    0 9px 0 #7a5810,
    0 14px 24px rgba(0,0,0,0.36),
    0 4px 36px rgba(201,168,76,0.60);
}
.btn--gold:active {
  transform: translateY(5px);                    /* sink into the wall */
  box-shadow:
    inset 0  1px 1px rgba(255,255,255,0.28),
    inset 0  3px 6px rgba(0,0,0,0.22),           /* pressed-in shadow */
    0 1px 0 #7a5810,
    0 2px 8px rgba(0,0,0,0.22);
}
.btn--gold-lg { width: 100%; padding: 1.1rem 1.75rem; font-size: 1rem; }
.btn--full { width: 100%; display: flex; }

/* ── Outline Gold ── */
.btn--outline-gold {
  background: linear-gradient(to bottom, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.04) 100%);
  border: 2px solid var(--c-accent);
  color: var(--c-accent);
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 4px 0 #7a5810,
    0 6px 14px rgba(0,0,0,0.20);
}
.btn--outline-gold:hover {
  background: linear-gradient(to bottom, #ddb84a 0%, #b8912a 100%);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.30),
    0 6px 0 #7a5810,
    0 10px 18px rgba(0,0,0,0.28);
}
.btn--outline-gold:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.18),
    0 1px 0 #7a5810;
}

/* ── Outline White ── */
.btn--outline-white {
  background: linear-gradient(to bottom, rgba(255,255,255,0.14) 0%, rgba(255,255,255,0.06) 100%);
  border: 2px solid rgba(255,255,255,0.55);
  color: var(--c-white);
  padding: 0.85rem 1.6rem;
  font-size: 0.9rem;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.28),
    0 4px 0 rgba(0,0,0,0.35),
    0 6px 14px rgba(0,0,0,0.22);
}
.btn--outline-white:hover {
  background: linear-gradient(to bottom, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.10) 100%);
  border-color: rgba(255,255,255,0.80);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 6px 0 rgba(0,0,0,0.35),
    0 10px 18px rgba(0,0,0,0.28);
}
.btn--outline-white:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.20),
    0 1px 0 rgba(0,0,0,0.30);
}

/* Pulse animation for primary CTA */
@keyframes ctaPulse {
  0%,100% {
    box-shadow:
      inset 0  2px 1px rgba(255,255,255,0.38),
      inset 0 -1px 2px rgba(0,0,0,0.18),
      0 6px 0 #7a5810,
      0 9px 18px rgba(0,0,0,0.32),
      0 2px 28px rgba(201,168,76,0.45);
  }
  50% {
    box-shadow:
      inset 0  2px 1px rgba(255,255,255,0.38),
      inset 0 -1px 2px rgba(0,0,0,0.18),
      0 6px 0 #7a5810,
      0 10px 22px rgba(0,0,0,0.36),
      0 4px 44px rgba(201,168,76,0.72);
  }
}
.btn--pulse { animation: ctaPulse 2.4s ease-in-out infinite; }

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

/* --- Scroll-triggered reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-expo), transform 1.1s var(--ease-expo);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.18s; }
.reveal-d2 { transition-delay: 0.36s; }
.reveal-d3 { transition-delay: 0.54s; }
.reveal-d4 { transition-delay: 0.72s; }

/* --- Image wrapper: zoom-in on scroll --- */
.img-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  will-change: transform;
}
.img-wrap .img-inner {
  width: 100%;
  height: 100%;
  transform: scale(1.08);
  transition: transform 2.0s var(--ease-img);
  will-change: transform;
}
.img-wrap.is-visible .img-inner { transform: scale(1.0); }

/* --- Pan from right (slides left into position) --- */
.img-wrap[data-pan="left"] .img-inner {
  transform: scale(1.07) translateX(5%);
}
.img-wrap[data-pan="left"].is-visible .img-inner {
  transform: scale(1.0) translateX(0);
}

/* --- Pan from left (slides right into position) --- */
.img-wrap[data-pan="right"] .img-inner {
  transform: scale(1.07) translateX(-5%);
}
.img-wrap[data-pan="right"].is-visible .img-inner {
  transform: scale(1.0) translateX(0);
}

/* --- Ken Burns: continuous ambient zoom+pan for media backgrounds --- */
@keyframes kenBurns {
  0%   { transform: scale(1.00) translate(0%,   0%); }
  33%  { transform: scale(1.06) translate(-1.5%, 1%); }
  66%  { transform: scale(1.04) translate(1.5%, -1%); }
  100% { transform: scale(1.00) translate(0%,   0%); }
}
.ken-burns { animation: kenBurns 22s ease-in-out infinite; will-change: transform; }

/* --- Zoom-out reveal: image zooms out from 110% to 100% --- */
@keyframes zoomOut {
  from { transform: scale(1.10); opacity: 0; }
  to   { transform: scale(1.0);  opacity: 1; }
}
.anim-zoom-out { animation: zoomOut 1.2s var(--ease-img) both; }

/* --- prefers-reduced-motion: disable all motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .img-wrap .img-inner,
  .img-wrap[data-pan] .img-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
  }
  .ken-burns { animation: none !important; }
  .btn--pulse { animation: none !important; }
}

/* ===================== HEADER ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(27,108,168,0.10);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 2px 24px rgba(27,108,168,0.13); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding-inline: 1.25rem;
  max-width: var(--max-w);
  margin-inline: auto;
}
.header__logo {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: var(--c-main);
  letter-spacing: 0.06em;
}
.header__logo span { color: var(--c-accent); }
.header__cta { font-size: 0.78rem; padding: 0.5rem 1rem; }

/* ===================== S01 HERO ===================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: 56px;
  overflow: hidden;
}

/* Media layer: video takes priority, image is fallback */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  filter: saturate(1.25) brightness(1.05);
}
.hero__bg-img {
  position: absolute;
  inset: 0;
  background-image: url('./images/hero-bg-mobile.webp');
  background-size: cover;
  background-position: center top;
  z-index: 0;
  /* Fallback: Ken Burns runs when video is absent */
}
/* Overlay for text legibility — 彩度を活かすため薄めに設定 */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    170deg,
    rgba(26,43,60,0.20) 0%,
    rgba(27,108,168,0.08) 40%,
    rgba(26,43,60,0.62) 100%
  );
  z-index: 1;
}

.hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-3) 1.25rem var(--sp-5);
  gap: 0;
}

.hero__eyebrow { color: var(--c-accent-l); margin-bottom: 0.6rem; }

.hero__catch {
  font-family: var(--f-serif);
  font-size: var(--fs-display);
  font-weight: 700;
  font-style: italic;
  color: var(--c-white);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-2);
  animation: heroUp 1s 0.10s both;
}

.hero__sub-catch {
  font-family: var(--f-serif);
  font-size: clamp(0.9rem, 3.5vw, 1.25rem);
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
  margin-bottom: var(--sp-3);
  animation: heroUp 1s 0.30s both;
}
.hero__sub-catch strong { color: var(--c-accent-l); }

/* Product image — zoom-out on load */
.hero__product-wrap {
  order: -1; /* モバイルでテキスト上に表示 */
  margin-bottom: var(--sp-2);
  animation: heroZoomOut 1.4s 0.45s var(--ease-img) both;
}
@keyframes heroZoomOut {
  from { transform: scale(1.12); opacity: 0; }
  to   { transform: scale(1.0);  opacity: 1; }
}
.hero__product {
  width: min(200px, 48vw); /* モバイル: 小さくして全体を収める */
  margin-inline: auto;
}
.hero__product-img {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
}
.hero__product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.40));
}

.hero__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  animation: heroUp 1s 0.65s both;
}
.hero__cta-main { width: 100%; max-width: 360px; }
.hero__cta-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.hero__cta-sub:hover { color: var(--c-accent-l); }

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem var(--sp-2);
  margin-top: var(--sp-3);
  animation: heroUp 1s 0.82s both;
}
.hero__trust-item {
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.hero__trust-item::before { content: '✓'; color: var(--c-accent-l); font-weight: 700; }

@keyframes heroUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}

/* ===================== S02 課題共感 ===================== */
.pain__lead {
  font-family: var(--f-serif);
  font-size: clamp(1.2rem, 5vw, 1.65rem);
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  margin-bottom: var(--sp-5);
}

.pain__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.pain__card {
  background: var(--c-white);
  border: 1px solid rgba(27,108,168,0.13);
  border-radius: var(--radius);
  padding: var(--sp-3);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--sp-2);
  align-items: start;
  box-shadow: var(--shadow-card);
}
.pain__icon {
  width: 44px; height: 44px;
  background: var(--c-bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.pain__icon svg { width: 22px; height: 22px; stroke: var(--c-main); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pain__card h3 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.3rem; }
.pain__card p  { font-size: var(--fs-sm); color: #4a5568; line-height: 1.75; }

/* Scene cards: pan animation */
.pain__scenes {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}
.pain__scene {
  background: var(--c-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.pain__scene .img-wrap { border-radius: 0; aspect-ratio: 3/4; }
.pain__scene .img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: top center;
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  font-size: var(--fs-xs);
  color: rgba(255,255,255,0.3);
}
.pain__scene:nth-child(1) .img-inner { background-image: url('./images/scene-nurse.webp'); }
.pain__scene:nth-child(2) .img-inner { background-image: url('./images/scene-ol.webp'); }
.pain__scene:nth-child(3) .img-inner { background-image: url('./images/scene-sport.webp'); }

.pain__scene-body {
  padding: var(--sp-2) var(--sp-3);
  border-left: 3px solid var(--c-main);
}
.pain__scene-label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; color: var(--c-main); margin-bottom: 0.3rem; }
.pain__scene p     { font-size: var(--fs-sm); line-height: 1.8; }

.pain__bridge {
  text-align: center;
  font-family: var(--f-serif);
  font-size: clamp(1.05rem, 4.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.55;
  padding: var(--sp-4) var(--sp-2);
  border-top: 2px solid rgba(201,168,76,0.3);
  border-bottom: 2px solid rgba(201,168,76,0.3);
}
.pain__bridge em { font-style: normal; color: var(--c-accent); }

/* ===================== S03 逆転テクノロジー ===================== */
.tech__header { text-align: center; margin-bottom: var(--sp-4); }
.tech__badge {
  display: inline-block;
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 0.25rem 0.9rem;
  border-radius: 100px;
  margin-bottom: var(--sp-2);
}

.tech__compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.tech__box { border-radius: var(--radius); padding: var(--sp-3); }
.tech__box--general {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
}
.tech__box--forte {
  background: rgba(201,168,76,0.13);
  border: 1.5px solid rgba(201,168,76,0.52);
}
/* ================================================
   MOLECULE ANIMATION (S03 Technology section)
   3-phase: wait → sweat → scatter / strengthen
   All animations: 4s cycle
   ================================================ */

/* Box flash overlay (position context for ::before) */
.tech__box { position: relative; }

.tech__box:not(.tech__box--forte)::before {
  content: '';
  position: absolute; inset: 0; border-radius: var(--radius);
  background: rgba(220,50,50,0);
  animation: boxFlashDanger 4s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
@keyframes boxFlashDanger {
  0%,38%  { background: rgba(220,50,50,0); }
  50%     { background: rgba(220,50,50,.22); }
  68%,100%{ background: rgba(220,50,50,0); }
}
.tech__box--forte::before {
  content: '';
  position: absolute; inset: 0; border-radius: var(--radius);
  background: rgba(201,168,76,0);
  animation: boxFlashPower 4s ease-in-out infinite;
  pointer-events: none; z-index: 0;
}
@keyframes boxFlashPower {
  0%,38%  { background: rgba(201,168,76,0); }
  56%     { background: rgba(201,168,76,.20); }
  74%,100%{ background: rgba(201,168,76,0); }
}

.molecule-stage {
  position: relative; height: 185px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-2); overflow: visible;
}

/* ---- UV Shield core ---- */
.uv-shield {
  position: absolute; width: 70px; height: 70px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; z-index: 5;
}
.uv-label { font-family: var(--f-sans); font-size: .68rem; font-weight: 800; letter-spacing: .10em; }
.uv-label--forte { color: var(--c-accent); }

.uv-shield--weak {
  background: rgba(100,160,230,.32);
  box-shadow: 0 0 0 3px rgba(140,200,255,.72), 0 0 14px rgba(100,160,255,.35);
  animation: shieldBreak 4s ease-in-out infinite;
  color: #fff;
}
@keyframes shieldBreak {
  0%,24%   { transform:scale(1);    opacity:1; background:rgba(100,160,230,.32); box-shadow:0 0 0 3px rgba(140,200,255,.72), 0 0 14px rgba(100,160,255,.35); filter:none; }
  36%      { transform:scale(1.18); opacity:1; background:rgba(240,70,70,.45);   box-shadow:0 0 0 3px rgba(255,120,120,.92), 0 0 28px rgba(255,60,60,.65); }
  48%      { transform:scale(0.06); opacity:0; filter:blur(12px); }
  72%,88%  { transform:scale(0);    opacity:0; }
  96%,100% { transform:scale(1);    opacity:1; background:rgba(100,160,230,.32); box-shadow:0 0 0 3px rgba(140,200,255,.72), 0 0 14px rgba(100,160,255,.35); filter:none; }
}

.uv-shield--forte {
  background: rgba(201,168,76,.22);
  box-shadow: 0 0 0 3px rgba(201,168,76,.82), 0 0 16px rgba(201,168,76,.48);
  animation: shieldStrengthen 4s ease-in-out infinite;
}
@keyframes shieldStrengthen {
  0%,24%  { transform:scale(1);    box-shadow:0 0 0 3px   rgba(201,168,76,.82), 0 0 16px rgba(201,168,76,.48); }
  38%     { transform:scale(1.12); box-shadow:0 0 0 3.5px rgba(201,168,76,.90), 0 0 26px rgba(201,168,76,.68); }
  57%     { transform:scale(1.62); box-shadow:0 0 0 5.5px rgba(201,168,76,1.0), 0 0 65px rgba(201,168,76,1.0), 0 0 110px rgba(255,248,160,.60); }
  72%     { transform:scale(1.32); box-shadow:0 0 0 4px   rgba(201,168,76,.90), 0 0 32px rgba(201,168,76,.72); }
  90%,100%{ transform:scale(1);    box-shadow:0 0 0 3px   rgba(201,168,76,.82), 0 0 16px rgba(201,168,76,.48); }
}

/* ---- Fragments (general UV — scatter on break) ---- */
.frag {
  position: absolute; left:50%; top:50%;
  width:11px; height:11px; border-radius:50%;
  transform-origin: 0 0; z-index:4;
  animation: fragScatter 4s ease-in-out infinite;
  animation-delay: var(--d);
}
@keyframes fragScatter {
  0%,23%   { transform:rotate(var(--a)) translateX(36px) scale(1);                   background:rgba(130,195,255,.78); opacity:.82; }
  35%      { transform:rotate(var(--a)) translateX(36px) scale(1.7);                 background:rgba(255,170,80,.98);  opacity:1;   }
  58%      { transform:rotate(var(--a)) translateX(98px) scale(0.18) rotate(320deg); background:rgba(255,80,80,.35);   opacity:.05; }
  76%,90%  { transform:rotate(var(--a)) translateX(98px) scale(0);                   opacity:0; }
  98%,100% { transform:rotate(var(--a)) translateX(36px) scale(1);                   background:rgba(130,195,255,.78); opacity:.82; }
}

/* ---- UV rays (pierce through after shield break) ---- */
.uv-ray {
  position: absolute; left:calc(50% - 2.5px); top:50%;
  width:5px; height:0;
  background: linear-gradient(to bottom, rgba(255,240,60,1.0) 0%, rgba(255,200,40,.6) 50%, transparent 100%);
  border-radius:3px; transform-origin:top center; transform:rotate(var(--r)); z-index:2;
  animation: rayPierce 4s ease-in-out infinite;
}
@keyframes rayPierce {
  0%,46%  { height:0;    opacity:0; }
  55%     { height:72px; opacity:1; }
  70%     { height:80px; opacity:.6; }
  84%,100%{ height:0;    opacity:0; }
}

/* ---- Power rings (UV FORTE — strengthen) ---- */
.power-ring {
  position: absolute; border-radius:50%; border:3px solid var(--c-accent); opacity:0;
  animation: powerRing 4s ease-in-out infinite;
}
.pr-1 { animation-delay: 0s; }
.pr-2 { animation-delay: .55s; }
.pr-3 { animation-delay: 1.1s; }
@keyframes powerRing {
  0%,50%   { width:54px;  height:54px;  opacity:0;   border-color:var(--c-accent); border-width:3px; }
  62%      { width:108px; height:108px; opacity:.95; border-color:#fff8c0;          border-width:3.5px; }
  78%      { width:144px; height:144px; opacity:.25; border-width:2px; }
  90%,100% { width:168px; height:168px; opacity:0; }
}

/* ---- Orbiting molecules (UV FORTE) ---- */
.mol { position:absolute; left:50%; top:50%; width:13px; height:13px; border-radius:50%; }
.mol--bond {
  background: var(--c-accent); box-shadow: 0 0 6px rgba(201,168,76,.65);
  animation: bondConverge 4s ease-in-out infinite;
  animation-delay: var(--d); transform-origin: 0 0;
}
@keyframes bondConverge {
  0%,24%  { transform:rotate(var(--angle)) translateX(46px) scale(1);    opacity:.55; filter:none; }
  38%     { transform:rotate(var(--angle)) translateX(46px) scale(1.30); opacity:.85; filter:drop-shadow(0 0 5px rgba(201,168,76,.9)); }
  57%     { transform:rotate(var(--angle)) translateX(7px)  scale(2.3);  opacity:1;   filter:drop-shadow(0 0 16px #fff8c0); }
  72%     { transform:rotate(var(--angle)) translateX(10px) scale(1.8);  opacity:.92; filter:drop-shadow(0 0 10px rgba(201,168,76,.9)); }
  90%,100%{ transform:rotate(var(--angle)) translateX(46px) scale(1);    opacity:.55; filter:none; }
}

/* ---- Sweat drops ---- */
.sweat-emoji { font-size: 1.8rem; position: relative; z-index: 2; pointer-events: none; }
.sweat-anim  { animation: sweatSingle 4s ease-in-out infinite; }
@keyframes sweatSingle {
  0%,22%  { transform:translateY(-26px); opacity:0; }
  35%     { transform:translateY(2px);   opacity:1; }
  52%     { transform:translateY(6px);   opacity:.8; }
  68%,100%{ transform:translateY(28px);  opacity:0; }
}
.sa-1 { animation: sweatLeft  4s ease-in-out infinite; }
.sa-2 { animation: sweatRight 4s ease-in-out infinite; }
@keyframes sweatLeft {
  0%,22%  { transform:translate(-22px,-28px); opacity:0; }
  35%     { transform:translate(-22px,  2px); opacity:1; }
  52%     { transform:translate(-22px,  7px); opacity:.75; }
  68%,100%{ transform:translate(-22px, 30px); opacity:0; }
}
@keyframes sweatRight {
  0%,26%  { transform:translate(22px,-28px); opacity:0; }
  39%     { transform:translate(22px,  2px); opacity:1; }
  56%     { transform:translate(22px,  7px); opacity:.75; }
  72%,100%{ transform:translate(22px, 30px); opacity:0; }
}

/* ---- Status labels ---- */
.status-label {
  position:absolute; bottom:0px;
  font-family:var(--f-sans); font-size:.78rem; font-weight:800;
  letter-spacing:.06em; border-radius:100px; padding:.32rem .95rem;
  animation:statusShow 4s ease-in-out infinite; white-space:nowrap; z-index:10;
}
.status-bad  { color:rgba(255,110,110,1); border:2px solid rgba(255,110,110,.50); background:rgba(220,40,40,.18); text-shadow:0 0 10px rgba(255,80,80,.6); }
.status-good { color:#fff8c0; border:2px solid rgba(201,168,76,.55); background:rgba(201,168,76,.18); text-shadow:0 0 10px rgba(255,240,100,.7); }
@keyframes statusShow {
  0%,52%   { opacity:0; transform:translateY(10px) scale(.75); }
  64%      { opacity:1; transform:translateY(0) scale(1.12); }
  69%      { opacity:1; transform:translateY(0) scale(1.00); }
  82%      { opacity:1; transform:translateY(0) scale(1.00); }
  96%,100% { opacity:0; transform:translateY(10px) scale(.75); }
}
.tech__box-tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.15em; opacity: 0.6; margin-bottom: 0.4rem; }
.tech__box--forte .tech__box-tag { color: var(--c-accent); opacity: 1; }
.tech__box h3  { font-family: var(--f-serif); font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: var(--sp-2); }
.tech__point   { display: flex; gap: 0.5rem; align-items: baseline; font-size: var(--fs-sm); line-height: 1.65; margin-bottom: 0.3rem; }
.tech__mark--x { color: #ef4444; font-weight: 700; flex-shrink: 0; }
.tech__mark--o { color: var(--c-accent); font-weight: 700; flex-shrink: 0; }

.tech__desc { font-size: var(--fs-sm); line-height: 1.95; text-align: center; opacity: 0.88; max-width: 560px; margin: 0 auto var(--sp-4); }
.tech__patent { text-align: center; font-size: var(--fs-xs); opacity: 0.87; margin-bottom: var(--sp-3); }
.tech__cta { text-align: center; }

/* ===================== S04 3特長グリッド ===================== */
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.feature__card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow-card);
  text-align: center;
}
.feature__icon {
  width: 58px; height: 58px;
  background: var(--c-bg);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto var(--sp-2);
}
.feature__icon svg { width: 28px; height: 28px; stroke: var(--c-main); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature__card h3 { font-family: var(--f-serif); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.feature__card p  { font-size: var(--fs-sm); color: #4a5568; line-height: 1.78; }

/* Zigzag sections */
.zigzag { display: flex; flex-direction: column; gap: var(--sp-6); }
.zigzag__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  align-items: center;
}
.zigzag__item .img-wrap { aspect-ratio: 4/3; }
.zigzag__item .img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  min-height: 200px;
}
.zigzag__item .img-inner video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Items 1–3: video背景 / Item 4: 静止画 */
.zigzag__item:nth-child(1) .img-inner { background: #0d1f30; }
.zigzag__item:nth-child(2) .img-inner { background: #0d1f30; }
.zigzag__item:nth-child(3) .img-inner { background: #0d1f30; }
.zigzag__item:nth-child(4) .img-inner { background-image: url('./images/scene-makeup-2.webp'); }

.zigzag__text .eyebrow { margin-bottom: 0.3rem; }
.zigzag__text h3 {
  font-family: var(--f-serif);
  font-size: clamp(1.1rem, 4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: var(--sp-2);
}
.zigzag__text p { font-size: var(--fs-sm); line-height: 1.88; color: #4a5568; }

/* ===================== S05 比較表 ===================== */
.compare__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.compare__table th,
.compare__table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(27,108,168,0.09);
  text-align: center;
  line-height: 1.5;
}
.compare__table th       { background: var(--c-main); color: var(--c-white); font-weight: 700; font-size: 0.78rem; }
.compare__table th:first-child, .compare__table td:first-child { text-align: left; }
.compare__table td:first-child { font-weight: 600; }
.compare__table tr:nth-child(even) td { background: rgba(240,247,255,0.5); }
.compare__forte-head { background: var(--c-accent) !important; }
.compare__forte-cell { background: rgba(201,168,76,0.07); font-weight: 700; color: var(--c-main); }
.mark--o { color: var(--c-accent); font-weight: 700; }
.mark--d { color: #6b7280; }
.mark--x { color: #ef4444; }
.compare__foot {
  text-align: center;
  margin-top: var(--sp-4);
  font-family: var(--f-serif);
  font-size: clamp(1rem, 4vw, 1.4rem);
  font-weight: 700;
  line-height: 1.55;
}
.compare__foot em { font-style: normal; color: var(--c-main); }

/* ===================== S06 実績数字 ===================== */
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}
.stat { text-align: center; }
.stat__num {
  font-family: var(--f-serif);
  font-size: clamp(3.5rem, 16vw, 6rem);
  font-weight: 700;
  font-style: italic;
  color: var(--c-accent);
  line-height: 0.9;
  display: block;
}
.stat__unit  { font-size: 1.4rem; font-weight: 400; }
.stat__label { font-size: 0.82rem; opacity: 0.8; margin-top: 0.4rem; line-height: 1.5; }
.stat__note  { font-size: var(--fs-xs); opacity: 0.38; margin-top: 0.18rem; }

/* Awards horizontal scroll */
.awards {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: var(--sp-1);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: var(--sp-5);
}
.awards::-webkit-scrollbar { display: none; }
.award {
  flex-shrink: 0;
  border: 1px solid rgba(201,168,76,0.38);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 135px;
}
.award__name { font-size: var(--fs-xs); font-weight: 700; color: var(--c-white); line-height: 1.5; }
.award__sub  { font-size: 0.62rem; opacity: 0.42; margin-top: 0.2rem; }

/* ===================== S07 専門家 ===================== */
.doctor__card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(27,108,168,0.11);
  margin-bottom: var(--sp-4);
}
.doctor__head {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-bottom: 1px solid rgba(27,108,168,0.07);
}
.doctor__photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--c-bg);
  flex-shrink: 0;
  overflow: hidden;
}
.doctor__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor__label { font-size: var(--fs-xs); letter-spacing: 0.12em; color: var(--c-main); font-weight: 700; }
.doctor__name  { font-family: var(--f-serif); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.doctor__affil { font-size: var(--fs-xs); color: #6b7280; margin-top: 0.1rem; }
.doctor__photo-note { font-size: var(--fs-xs); color: #8a97a8; margin-top: 0.35rem; }
.doctor__quote-wrap {
  padding: var(--sp-3);
  background: var(--c-main);
}
.doctor__quote-mark {
  font-family: var(--f-serif);
  font-size: 4rem;
  line-height: 0.6;
  color: rgba(201,168,76,0.38);
  font-style: italic;
  display: block;
  margin-bottom: -0.5rem;
}
.doctor__quote-text { font-size: var(--fs-sm); color: rgba(255,255,255,0.9); line-height: 1.92; }

.doctor__reasons-lead { text-align: center; font-size: var(--fs-sm); margin-bottom: var(--sp-3); font-weight: 700; color: var(--c-text); }
.doctor__reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
}
.doctor__reason {
  display: flex;
  gap: var(--sp-2);
  padding: var(--sp-2);
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}
.doctor__reason-num {
  width: 32px; height: 32px;
  background: var(--c-main);
  color: var(--c-white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: var(--fs-xs);
  font-weight: 700;
  flex-shrink: 0;
}
.doctor__reason h4 { font-size: 0.88rem; font-weight: 700; margin-bottom: 0.2rem; }
.doctor__reason p  { font-size: var(--fs-sm); color: #4a5568; line-height: 1.65; }

/* ===================== S08 口コミ ===================== */
.reviews { display: flex; flex-direction: column; gap: var(--sp-2); }
.review {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: var(--sp-3);
  box-shadow: var(--shadow-card);
}
.review__stars  { color: var(--c-accent); font-size: 0.88rem; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.review__text   { font-size: var(--fs-sm); line-height: 1.85; margin-bottom: var(--sp-2); }
.review__meta   { display: flex; align-items: center; gap: 0.75rem; }
.review__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--c-bg); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.review__name   { font-size: 0.8rem; font-weight: 700; }
.review__badge  { display: inline-block; background: var(--c-main); color: var(--c-white); font-size: 0.6rem; font-weight: 700; padding: 0.13rem 0.5rem; border-radius: 3px; margin-top: 0.12rem; }

.influencer {
  background: var(--c-white);
  border: 1.5px solid rgba(27,108,168,0.13);
  border-radius: var(--radius);
  padding: var(--sp-3);
  margin-top: var(--sp-3);
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: var(--sp-2);
}
.influencer__icon { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); display: grid; place-items: center; color: white; font-size: 1.4rem; }
.influencer__handle { font-size: 0.82rem; font-weight: 700; color: var(--c-main); }
.influencer__sub    { font-size: var(--fs-xs); color: #6b7280; }
.influencer__text   { font-size: var(--fs-sm); line-height: 1.78; margin-top: 0.4rem; }
.influencer__pr     { font-size: 0.62rem; color: #9ca3af; margin-top: 0.3rem; }

/* ===================== S09 使い方 ===================== */
.steps { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
.step  { display: flex; flex-direction: column; gap: var(--sp-2); }
.step__header { display: flex; align-items: baseline; gap: 0.5rem; }
.step__num {
  font-family: var(--f-serif);
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  color: var(--c-accent);
  line-height: 0.9;
}
.step__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.15em; color: var(--c-main); }
.step h3 { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.3rem; }
.step p  { font-size: var(--fs-sm); color: #4a5568; line-height: 1.75; }
.step .img-wrap { aspect-ratio: 4/3; }
.step .img-inner {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xs);
  color: rgba(0,0,0,0.2);
  min-height: 140px;
  /* スクロール連動ズームを無効にして独自アニメーションへ */
  transform: scale(1.0);
  transition: none;
  will-change: transform;
}
.step:nth-child(1) .img-inner { background-image: url('./images/howto-1.webp'); }
.step:nth-child(2) .img-inner { background-image: url('./images/howto-2.webp'); }
.step:nth-child(3) .img-inner { background-image: url('./images/howto-3.webp'); }

/* data-pan の translateX をステップ画像では無効化 */
.step .img-wrap[data-pan="left"] .img-inner,
.step .img-wrap[data-pan="right"] .img-inner,
.step .img-wrap[data-pan="left"].is-visible .img-inner,
.step .img-wrap[data-pan="right"].is-visible .img-inner {
  transform: scale(1.0) translateX(0);
  transition: none;
}

/* ── ゆっくりズームループ (スクロールで表示されたら開始) ── */
@keyframes stepSlowZoom {
  0%, 100% { transform: scale(1.00); }
  50%       { transform: scale(1.10); }
}
.step .img-wrap.is-visible .img-inner {
  animation: stepSlowZoom 9s ease-in-out infinite;
}
/* 3枚の位相をずらして同時ズームを防ぐ */
.step:nth-child(1) .img-wrap.is-visible .img-inner { animation-delay:  0s; }
.step:nth-child(2) .img-wrap.is-visible .img-inner { animation-delay: -3s; }
.step:nth-child(3) .img-wrap.is-visible .img-inner { animation-delay: -6s; }

.step-notes {
  margin-top: var(--sp-4);
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: var(--sp-2) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.step-note { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); }
.step-note::before { content: '✔'; color: var(--c-main); font-weight: 700; font-size: 0.72rem; }

/* ===================== S10 価格 ===================== */
.pricing__grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-3); margin-bottom: var(--sp-4); }
.plan { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 28px rgba(27,108,168,0.12); }
.plan--sub    { border: 2px solid var(--c-accent); }
.plan--single { border: 1px solid rgba(27,108,168,0.18); }
.plan__head { padding: 1.2rem var(--sp-3); display: flex; align-items: center; justify-content: space-between; }
.plan--sub .plan__head    { background: var(--c-main); color: var(--c-white); }
.plan--single .plan__head { background: var(--c-white); }
.plan__title { font-size: 0.9rem; font-weight: 700; }
.plan__badge { font-size: 0.62rem; font-weight: 700; background: var(--c-accent); color: var(--c-white); padding: 0.2rem 0.55rem; border-radius: 100px; }
.plan__body { background: var(--c-white); padding: var(--sp-3); }
.plan__price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 0.3rem; }
.plan__price-num { font-family: var(--f-serif); font-size: 2.8rem; font-weight: 700; color: var(--c-main); line-height: 1; }
.plan__price-unit { font-size: 0.9rem; color: var(--c-main); }
.plan__price-tax  { font-size: var(--fs-xs); color: #6b7280; }
.plan__sub-note { font-size: var(--fs-sm); color: #4a5568; margin-bottom: var(--sp-2); }
.plan__sub-note--single { margin-bottom: var(--sp-4); }
.plan__original { font-size: var(--fs-sm); color: #6b7280; text-decoration: line-through; margin-bottom: var(--sp-1); }
.plan__perks { display: flex; flex-direction: column; gap: 0.28rem; margin: var(--sp-2) 0; }
.plan__perk  { font-size: var(--fs-sm); display: flex; gap: 0.4rem; }
.plan__perk::before { content: '+'; color: var(--c-accent); font-weight: 700; flex-shrink: 0; }
.plan__btn { margin-top: var(--sp-2); width: 100%; }
.pricing__safety { display: flex; flex-direction: column; gap: 0.3rem; }
.pricing__safety-item { display: flex; align-items: center; gap: 0.4rem; font-size: var(--fs-sm); color: #4a5568; }
.pricing__safety-item::before { content: '✓'; color: var(--c-main); font-weight: 700; }

/* ===================== S11 FAQ ===================== */
.faq__list { display: flex; flex-direction: column; gap: 0.55rem; }
.faq__item  { background: var(--c-white); border: 1px solid rgba(27,108,168,0.11); border-radius: var(--radius); overflow: hidden; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  text-align: left;
  background: var(--c-bg);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-text);
  transition: background 0.2s;
}
.faq__q:hover { background: #d9ecf8; }
.faq__q-letter { font-family: var(--f-serif); font-size: 1.1rem; font-weight: 700; font-style: italic; color: var(--c-main); flex-shrink: 0; line-height: 1.3; }
.faq__q-text   { flex: 1; }
.faq__q-icon   { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--c-accent); color: var(--c-white); display: grid; place-items: center; font-size: 1.05rem; transition: transform 0.3s, background 0.2s; }
.faq__item.is-open .faq__q-icon { transform: rotate(45deg); background: var(--c-main); }
.faq__a        { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq__a-inner  { padding: 0.85rem 1.25rem 1rem; padding-left: calc(1.25rem + 1.1rem + 0.75rem); font-size: var(--fs-sm); color: #4a5568; line-height: 1.88; }
.faq__item.is-open .faq__a { max-height: 400px; }

/* ===================== S12 保証 ===================== */
.guarantee { display: flex; flex-direction: column; align-items: center; gap: var(--sp-3); text-align: center; }
.guarantee__badge {
  width: 148px; height: 148px;
  border-radius: 50%;
  border: 3px solid var(--c-accent);
  background: rgba(201,168,76,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.guarantee__num { font-family: var(--f-serif); font-size: 2.8rem; font-weight: 700; font-style: italic; color: var(--c-accent); line-height: 1; }
.guarantee__sub { font-size: 0.68rem; color: rgba(255,255,255,0.72); letter-spacing: 0.1em; }
.guarantee__title { font-family: var(--f-serif); font-size: clamp(1.3rem, 5vw, 1.85rem); font-weight: 700; color: var(--c-white); line-height: 1.4; }
.guarantee__desc  { font-size: var(--fs-sm); opacity: 0.87; line-height: 1.88; max-width: 500px; }
.guarantee__flow  { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; max-width: 400px; }
.guarantee__step  { display: flex; align-items: center; gap: 0.75rem; background: rgba(255,255,255,0.08); border-radius: var(--radius); padding: 0.65rem 1rem; }
.guarantee__step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--c-accent); color: var(--c-white); display: grid; place-items: center; font-size: 0.68rem; font-weight: 700; flex-shrink: 0; }
.guarantee__step-txt { font-size: var(--fs-sm); opacity: 0.82; }
.guarantee__legal { font-size: var(--fs-xs); opacity: 0.87; line-height: 1.8; max-width: 520px; }

/* ===================== S13 限定オファー ===================== */
.offer { position: relative; overflow: hidden; }
.offer__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.offer__bg-img {
  position: absolute; inset: 0;
  background-image: url('./images/hero-bg-mobile.webp');
  background-size: cover;
  background-position: center;
}
.offer__overlay { position: absolute; inset: 0; background: rgba(26,43,60,0.84); z-index: 1; }
.offer__body { position: relative; z-index: 2; text-align: center; padding-block: var(--sp-7); }
.offer__title { font-family: var(--f-serif); font-size: clamp(1.5rem, 6vw, 2.3rem); font-weight: 700; font-style: italic; color: var(--c-white); line-height: 1.25; margin-bottom: var(--sp-1); }
.offer__deadline { font-size: 0.78rem; color: rgba(255,255,255,0.48); margin-bottom: var(--sp-3); }

.countdown { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-bottom: var(--sp-3); }
.countdown__block { background: rgba(201,168,76,0.1); border: 1.5px solid rgba(201,168,76,0.4); border-radius: 8px; padding: 0.7rem 0.85rem; min-width: 60px; text-align: center; }
.countdown__num { font-family: var(--f-serif); font-size: 2rem; font-weight: 700; font-style: italic; color: var(--c-accent); line-height: 1; display: block; }
.countdown__lbl { font-size: 0.55rem; color: rgba(255,255,255,0.38); display: block; margin-top: 0.2rem; }
.countdown__sep { font-family: var(--f-serif); font-size: 1.7rem; font-weight: 700; color: rgba(201,168,76,0.55); line-height: 0.9; margin-top: -0.25rem; }

.offer__limit { font-size: var(--fs-sm); color: rgba(255,255,255,0.68); margin-bottom: var(--sp-1); }
.offer__bar { width: 200px; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; margin: 0.5rem auto var(--sp-4); }
.offer__bar-fill { height: 100%; width: 40%; background: linear-gradient(90deg, var(--c-accent), var(--c-accent-l)); border-radius: 3px; }

.offer__perks { display: grid; grid-template-columns: 1fr; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.offer__perk { border: 1.5px solid rgba(201,168,76,0.38); border-radius: var(--radius); padding: var(--sp-2); text-align: center; }
.offer__perk-num   { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 700; font-style: italic; color: var(--c-accent); display: block; line-height: 1; margin-bottom: 0.3rem; }
.offer__perk-title { font-size: 0.82rem; font-weight: 700; color: var(--c-white); }
.offer__perk-desc  { font-size: var(--fs-xs); color: rgba(255,255,255,0.48); margin-top: 0.15rem; }
.offer__cta { max-width: 360px; margin-inline: auto; }

/* ===================== S14 最終CTA ===================== */
.final-cta { position: relative; overflow: hidden; }
.final-cta__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.final-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta__bg-img {
  position: absolute; inset: 0;
  background-image: url('./images/hero-bg-mobile.webp');
  background-size: cover;
  background-position: center;
}
.final-cta__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,108,168,0.55) 0%, rgba(26,43,60,0.75) 100%); z-index: 1; }
.final-cta__body { position: relative; z-index: 2; text-align: center; padding-block: var(--sp-7); }

.final-cta__awards { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-bottom: var(--sp-4); }
.final-cta__award { background: rgba(255,255,255,0.1); border: 1px solid rgba(201,168,76,0.3); border-radius: 100px; padding: 0.2rem 0.65rem; font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.72); }
.final-cta__headline { font-family: var(--f-serif); font-size: clamp(1.75rem, 7vw, 2.8rem); font-weight: 700; font-style: italic; color: var(--c-white); line-height: 1.2; margin-bottom: var(--sp-4); }

.final-cta__btns { display: flex; flex-direction: column; align-items: center; gap: var(--sp-2); margin-bottom: var(--sp-3); }
.final-cta__btn-main { width: 100%; max-width: 380px; }
.final-cta__btn-sub  { width: 100%; max-width: 380px; }
.final-cta__sample { margin-bottom: var(--sp-2); }
.final-cta__link { font-size: var(--fs-sm); color: rgba(255,255,255,0.52); text-decoration: underline; text-underline-offset: 3px; }
.final-cta__link:hover { color: var(--c-accent-l); }

.final-cta__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem var(--sp-2); margin-bottom: var(--sp-3); }
.final-cta__trust-item { font-size: var(--fs-xs); color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 0.25rem; }
.final-cta__trust-item::before { content: '✓'; color: var(--c-accent-l); font-weight: 700; }
.payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; }
.payment  { background: rgba(255,255,255,0.1); border-radius: 4px; padding: 0.22rem 0.5rem; font-size: var(--fs-xs); color: rgba(255,255,255,0.42); font-weight: 700; }

/* ===================== FOOTER ===================== */
.footer { background: var(--c-dark); color: rgba(255,255,255,0.5); padding-block: var(--sp-5); font-size: var(--fs-xs); line-height: 2; text-align: center; }
.footer__logo { font-family: var(--f-serif); font-size: 1.1rem; font-style: italic; color: rgba(255,255,255,0.65); margin-bottom: var(--sp-2); }
.footer__logo span { color: var(--c-accent); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem var(--sp-2); margin-bottom: var(--sp-2); }
.footer__links a { color: var(--c-accent); }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { color: rgba(255,255,255,0.87); line-height: 1.9; margin-bottom: var(--sp-1); }
.footer__updated { color: rgba(255,255,255,0.87); margin-bottom: var(--sp-1); }
.footer__copy  { color: rgba(255,255,255,0.87); }

/* =====================================================
   DESKTOP BREAKPOINT — min-width: 1280px
   このブロックに1280px以上のスタイルを追加していく
   現在：グリッドカラム数変更・スペーシング調整
   ===================================================== */
@media (min-width: 1280px) {

  :root {
    --sp-6: 6rem;
    --sp-7: 8.5rem;
  }

  /* Header */
  .header__inner { padding-inline: 2.5rem; }

  /* 大画面向けの高解像度背景（モバイルは軽量版 hero-bg-mobile.webp を使用） */
  .hero__bg-img,
  .offer__bg-img,
  .final-cta__bg-img { background-image: url('./images/hero-bg.webp'); }

  /* Hero — left text / right product */
  .hero__body {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 5rem;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: 2.5rem;
  }
  .hero__cta-wrap { align-items: flex-start; }
  .hero__trust    { justify-content: flex-start; }
  .hero__product  { width: 460px; }
  .hero__product-wrap { flex-shrink: 0; order: 2; margin-bottom: 0; } /* PCは右カラム */
  .hero__text-wrap { order: 1; flex: 1; }

  /* S02 */
  .pain__cards  { grid-template-columns: repeat(3, 1fr); }
  .pain__scenes { flex-direction: row; }
  .pain__scene  { flex: 1; }
  .pain__scene .img-wrap { aspect-ratio: 2/3; }

  /* S03 */
  .tech__compare { grid-template-columns: 1fr 1fr; gap: var(--sp-3); }

  /* S04 */
  .features__grid { grid-template-columns: repeat(3, 1fr); }
  .zigzag__item   { grid-template-columns: 1fr 1fr; gap: 5rem; }
  /* Alternate image side */
  .zigzag__item:nth-child(even) .img-wrap     { order: 2; }
  .zigzag__item:nth-child(even) .zigzag__text { order: 1; }

  /* S05 */
  .compare__wrap { overflow: visible; }

  /* S06 */
  .stats__grid { grid-template-columns: repeat(3, 1fr); }

  /* S07 */
  .doctor__reasons { grid-template-columns: repeat(3, 1fr); }

  /* S08 */
  .reviews { flex-direction: row; }
  .reviews .review { flex: 1; }

  /* S09 */
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }

  /* S10 */
  .pricing__grid { grid-template-columns: 1fr 1fr; }

  /* S13 */
  .offer__perks { grid-template-columns: repeat(3, 1fr); }

  /* S14 */
  .final-cta__btns { flex-direction: row; justify-content: center; }
  .final-cta__btn-main, .final-cta__btn-sub { width: auto; }
}


/* =============================================================
   SUBPAGES — 共通レイアウト
   （tokushoho / privacy-policy / returns / contact / order 等）
   ============================================================= */

/* ── ヘッダー ── */
.sp-header {
  background: var(--navy);
  padding: .9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-header-logo {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: #fff;
  text-decoration: none;
  letter-spacing: .08em;
}

/* ── メインコンテンツ ── */
.sp-body {
  background: #fff;
  min-height: 70vh;
  padding: 3rem 1.5rem 5rem;
}
.sp-inner {
  max-width: 760px;
  margin: 0 auto;
}

/* ── フッター ── */
.sp-footer {
  background: var(--navy);
  color: rgba(255,255,255,.55);
  font-size: .8rem;
  text-align: center;
  padding: 1.5rem 1rem;
}

/* ── 見出し ── */
.sp-inner h1 {
  font-family: var(--f-serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}
.sp-inner h2 {
  font-family: var(--f-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 2rem 0 .6rem;
}
.sp-inner p,
.sp-inner li {
  font-size: .9375rem;
  line-height: 1.9;
  color: var(--gray-dk);
}
.sp-inner ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.sp-inner li { margin-bottom: .3rem; }

/* ── テーブル ── */
.sp-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: .9375rem;
}
.sp-table th,
.sp-table td {
  padding: .75rem 1rem;
  border: 1px solid rgba(27,108,168,.15);
  vertical-align: top;
  line-height: 1.8;
  color: var(--gray-dk);
}
.sp-table th {
  background: #f0f7ff;
  font-weight: 600;
  color: var(--navy);
  width: 34%;
  white-space: nowrap;
}
@media (max-width: 600px) {
  .sp-table th { width: 38%; white-space: normal; font-size: .85rem; }
  .sp-table td { font-size: .85rem; }
}
.sp-updated { font-size: .8rem; color: var(--gray); margin-top: 2rem; }
.sp-link { color: var(--blue); text-decoration: underline; }
.sp-optional-label { font-size: .75rem; color: var(--gray); font-weight: 400; }
.sp-checkbox-row { display: flex; align-items: flex-start; gap: .5rem; cursor: pointer; font-size: .875rem; color: var(--gray-dk); }
.sp-checkbox-input { margin-top: .2rem; flex-shrink: 0; }
.sp-form-note { font-size: .8rem; color: var(--gray); margin-top: .75rem; text-align: center; }
.btn-gold-full { width: 100%; justify-content: center; }
.sp-form-input--sm { max-width: 200px; }
.sp-footnote { font-size: .8rem; color: var(--gray); line-height: 1.8; }

/* ── スパム対策用ハニーポット（人には見えず、Botのみが入力してしまう） ── */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── セクション見出しラッパー（中央寄せ） ── */
.section-head    { text-align: center; margin-bottom: var(--sp-5); }
.section-head--sm { text-align: center; margin-bottom: var(--sp-4); }

/* ── 視覚的には非表示だがスクリーンリーダーには読み上げられる見出し ── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── フォーム共通 ── */
.sp-form-grid { display: grid; gap: 1.2rem; margin-bottom: 2rem; }
.sp-form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .35rem;
}
.sp-form-label .req { color: #c8004a; font-size: .75rem; margin-left: .3rem; }
.sp-form-input,
.sp-form-select,
.sp-form-textarea {
  width: 100%;
  padding: .65rem .9rem;
  border: 1px solid rgba(27,108,168,.25);
  border-radius: 6px;
  font-family: var(--f-sans);
  font-size: .9375rem;
  color: var(--navy);
  background: #fff;
  transition: border-color .2s;
}
.sp-form-input:focus,
.sp-form-select:focus,
.sp-form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,108,168,.12);
}
.sp-form-textarea { resize: vertical; min-height: 120px; }
.sp-notice {
  background: #f0f7ff;
  border: 1px solid rgba(27,108,168,.20);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  font-size: .875rem;
  color: var(--gray-dk);
  line-height: 1.8;
}

/* ── サブページ用ヘッダー小CTAボタン ── */
.btn-gold-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: linear-gradient(to bottom, #ddb84a 0%, #b8912a 100%);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: .4rem 1.2rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.40),
    0 4px 0 #7a5810,
    0 6px 12px rgba(0,0,0,.25);
  transition: transform .12s, box-shadow .12s;
}
.btn-gold-sm:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 2px rgba(255,255,255,.40),
    0 6px 0 #7a5810,
    0 9px 16px rgba(0,0,0,.30);
}
.btn-gold-sm:active {
  transform: translateY(3px);
  box-shadow:
    inset 0 2px 3px rgba(0,0,0,.18),
    0 1px 0 #7a5810;
}
