/* ========================================
   KARADA RELATE LP — モバイルファースト
   既定＝狭い画面（〜767px）。768px 以上でレイアウト・タイポを上乗せ。
   White base + gold/yellow accents, elegant typography
   Target: 40+ Women / Chronic Pain / Self-pay
   ======================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ── サーフェス（セクションは base / muted を交互） ── */
  --color-surface-base: #ffffff;
  --color-surface-muted: #f8f8f6;
  --color-surface-warm: #faf9f7;
  --bg: var(--color-surface-base);
  --bg-gray: var(--color-surface-muted);
  --bg-warm: var(--color-surface-warm);

  /* ── ブランド（レモン〜キャナリー・黄土寄りを避ける） ── */
  --brand: #FFEB7A;
  --brand-dark: #FFE234;
  --brand-muted: #FFD93D;
  --brand-light: #FFFCE8;
  --brand-glow: rgba(255, 235, 100, .45);
  --brand-rgb: 255, 235, 120;
  --on-brand: #2E2A1F;
  --brand-ink: #9A8800;
  --brand-border: #E8D545;

  /* ── CTA グラデ（単色より奥行き） ── */
  --cta-gradient-from: #fff4b0;
  --cta-gradient-to: #d4b01a;
  --gradient-cta: linear-gradient(135deg, var(--cta-gradient-from), var(--cta-gradient-to));
  --gradient-cta-hover: linear-gradient(315deg, var(--cta-gradient-from), var(--cta-gradient-to));
  --cta: #FFE566;
  --cta-dark: #c9a010;
  --cta-shadow: rgba(180, 145, 30, 0.32);

  /* ── テキスト ── */
  --dark: #2C2924;
  --dark-bg: #3D3A35;
  --text: #3F3C37;
  --text-light: #6E6A62;

  /* ── 区切り・シャドウ ── */
  --border: #E8E5DE;
  --shadow-sm: 0 1px 3px rgba(44,41,36,.05);
  --shadow-md: 0 4px 20px rgba(44,41,36,.07);
  --shadow-lg: 0 12px 40px rgba(44,41,36,.08);

  /* ── LINE ブランド（公式グリーン） ── */
  --line-green: #06C755;
  --line-green-dark: #05b34a;
  /* 主要CTAボタン共通（角丸・浮きシャドウ） */
  --btn-radius-pill: 9999px;
  --btn-shadow-elev: 0 4px 16px rgba(0, 0, 0, 0.12);
  --btn-shadow-elev-tight: 0 2px 6px rgba(0, 0, 0, 0.06);
  --btn-shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.14), 0 4px 10px rgba(0, 0, 0, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  /* 見出し（h1 / h2）は明朝の Noto Serif JP を優先 */
  --font-heading: 'Noto Serif JP', 'Yu Mincho', 'Hiragino Mincho ProN', serif;
  --font-display: 'Shippori Mincho', 'Noto Serif JP', serif;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  /* スクロール表示（参考: 企業LP系の fade-up） */
  --reveal-duration: 1s;
  --reveal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-y: 56px;
  /* セクション縦余白・見出し下・カード内（統一） */
  --section-py: 56px;
  --section-py-lg: 80px;
  --section-title-gap: 24px;
  --section-title-gap-lg: 40px;
  --card-pad: 20px;
  --card-pad-lg: 32px;

  /* ── エレガントな背景質感（細いクロスライン + 淡い光）※控えめだと画面で判別しづらいため濃度を確保 */
  --bg-elegant-glow-ne: radial-gradient(ellipse at 93% -4%, rgba(255, 235, 122, 0.20), transparent 46%);
  --bg-elegant-glow-sw: radial-gradient(ellipse at 9% 102%, rgba(232, 228, 218, 0.52), transparent 52%);
  --bg-elegant-lattice:
    repeating-linear-gradient(
      158deg,
      rgba(63, 60, 55, 0.055) 0,
      rgba(63, 60, 55, 0.055) 1px,
      transparent 1px,
      transparent 48px),
    repeating-linear-gradient(
      112deg,
      rgba(63, 60, 55, 0.042) 0,
      rgba(63, 60, 55, 0.042) 1px,
      transparent 1px,
      transparent 48px);
  --bg-elegant-lattice-on-brand:
    repeating-linear-gradient(
      154deg,
      rgba(154, 136, 0, 0.075) 0,
      rgba(154, 136, 0, 0.075) 1px,
      transparent 1px,
      transparent 48px),
    repeating-linear-gradient(
      118deg,
      rgba(154, 136, 0, 0.058) 0,
      rgba(154, 136, 0, 0.058) 1px,
      transparent 1px,
      transparent 48px);
  --surface-base-textured:
    var(--bg-elegant-glow-ne),
    var(--bg-elegant-glow-sw),
    var(--bg-elegant-lattice),
    var(--color-surface-base);
  --surface-muted-textured:
    var(--bg-elegant-glow-ne),
    radial-gradient(ellipse at 15% 100%, rgba(224, 220, 210, 0.38), transparent 52%),
    var(--bg-elegant-lattice),
    var(--color-surface-muted);
  --surface-warm-textured:
    var(--bg-elegant-glow-ne),
    var(--bg-elegant-glow-sw),
    var(--bg-elegant-lattice),
    var(--bg-warm);
  --surface-brand-light-textured:
    radial-gradient(ellipse at 92% -6%, rgba(255, 244, 206, 0.52), transparent 46%),
    var(--bg-elegant-lattice-on-brand),
    var(--brand-light);
}

/* Elegant stroke icons (replace emoji) */
.lp-icon {
  display: block;
  flex-shrink: 0;
  color: var(--brand-ink);
}
.lp-icon--sm { width: 18px; height: 18px; }
.lp-icon--md { width: 22px; height: 22px; }
.lp-icon--lg { width: 28px; height: 28px; }
.problems__card-icon .lp-icon,
.flow__step-icon .lp-icon,
.menu__card-icon .lp-icon { margin: 0 auto; }
.problems__card-icon,
.flow__step-icon,
.menu__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.flow__step-icon { margin-bottom: 0; }
@media (min-width: 768px) {
  .flow__step-icon { margin-bottom: 6px; }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--surface-base-textured);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 64px;
}

h1,
h2 {
  font-family: var(--font-heading);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.sp-only { display: inline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  body { padding-bottom: 0; line-height: 1.9; }
  .container { padding: 0 28px; }
  .sp-only { display: none; }
}

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  margin-bottom: var(--section-title-gap);
}

.section-header__label {
  font-family: var(--font-heading);
  font-size: .56rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--brand-ink);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.section-header__desc {
  margin-top: 16px;
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.section-header--light .section-header__label { color: rgba(255,255,255,.7); }
.section-header--light .section-header__title { color: #fff; }

@media (min-width: 768px) {
  .section-header { margin-bottom: var(--section-title-gap-lg); }
  .section-header__title { font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1.4; }
  .section-header__desc { font-size: .88rem; line-height: 2; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: var(--btn-radius-pill);
  cursor: pointer;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s ease,
    filter 0.28s ease,
    border-color 0.2s ease,
    background 0.3s ease,
    color 0.2s ease;
  text-align: center;
  -webkit-tap-highlight-color: transparent;
  min-height: 48px;
}

.btn--lg { padding: 14px 24px; font-size: .88rem; width: 100%; }
.btn--xl { padding: 16px 28px; font-size: .92rem; width: 100%; }

.btn--cta {
  background: var(--gradient-cta);
  color: var(--on-brand);
  border: 1px solid rgba(46, 42, 31, .08);
  box-shadow:
    var(--btn-shadow-elev),
    var(--btn-shadow-elev-tight),
    0 4px 18px var(--cta-shadow);
}
.btn--cta:hover {
  background: var(--gradient-cta-hover);
  filter: brightness(1.05);
  color: var(--on-brand);
  transform: translateY(-2px);
  box-shadow:
    var(--btn-shadow-hover),
    0 8px 26px rgba(180, 145, 40, 0.42);
}

.btn--outline {
  background: rgba(255,255,255,.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
  box-shadow: var(--btn-shadow-elev);
}
.btn--outline:hover {
  background: rgba(255,255,255,.25);
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.btn--white {
  background: var(--color-surface-base);
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: var(--btn-shadow-elev), var(--btn-shadow-elev-tight);
}
.btn--white:hover {
  border-color: rgba(var(--brand-rgb), .65);
  transform: translateY(-2px);
  box-shadow: var(--btn-shadow-hover);
}

.btn--line {
  background: var(--line-green);
  color: #fff;
  box-shadow:
    var(--btn-shadow-elev),
    var(--btn-shadow-elev-tight),
    0 4px 16px rgba(6, 199, 85, 0.28);
}
.btn--line:hover {
  background: var(--line-green-dark);
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    var(--btn-shadow-hover),
    0 6px 22px rgba(6, 199, 85, 0.35);
}
.btn--line svg,
.btn--line .btn__icon-svg--line {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
}

.btn--phone {
  background: var(--dark-bg);
  color: #fff;
  box-shadow: var(--btn-shadow-elev), var(--btn-shadow-elev-tight), 0 4px 14px rgba(59, 53, 48, 0.25);
}
.btn--phone:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: var(--btn-shadow-hover), 0 6px 20px rgba(59, 53, 48, 0.32);
}

.btn--pulse { animation: pulse 2.5s infinite; }

@keyframes pulse {
  0%, 100% {
    box-shadow:
      var(--btn-shadow-elev),
      0 4px 16px var(--cta-shadow);
  }
  50% {
    box-shadow:
      var(--btn-shadow-hover),
      0 6px 26px rgba(200, 165, 45, 0.45);
  }
}

.btn__icon { display: flex; align-items: center; justify-content: center; font-size: 1.2em; }

@media (min-width: 768px) {
  .btn--lg { padding: 16px 32px; font-size: 1rem; width: auto; white-space: nowrap; }
  .btn--xl { padding: 20px 40px; font-size: 1.1rem; width: auto; white-space: nowrap; }
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header--scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  height: 56px;
}

.header__logo a {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
}
.header__logo span { font-weight: 500; font-size: .8em; color: var(--text-light); }

.header__nav { display: none; }
.header__cta-btn { display: none; }

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.header__nav.active {
  display: block;
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 16px;
}
.header__nav.active ul { display: flex; flex-direction: column; gap: 0; }
.header__nav.active a {
  font-size: .95rem;
  display: block;
  padding: 14px 12px;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--text);
}

@media (min-width: 900px) {
  .header__inner { padding: 0 24px; height: 64px; }
  .header__logo a { font-size: 1.15rem; }
  .header__nav { display: block; }
  .header__nav ul { display: flex; gap: 28px; }
  .header__nav a {
    font-size: .85rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
    padding: 0;
    border: none;
  }
  .header__nav a:hover { color: var(--brand-ink); }
  .header__cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: var(--gradient-cta);
    color: var(--on-brand);
    font-size: .85rem;
    font-weight: 600;
    border-radius: var(--btn-radius-pill);
    transition:
      filter 0.28s ease,
      box-shadow 0.25s ease,
      transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
      background 0.35s ease;
    border: 1px solid rgba(46, 42, 31, .08);
    box-shadow:
      var(--btn-shadow-elev),
      var(--btn-shadow-elev-tight),
      0 3px 14px var(--cta-shadow);
  }
  .header__cta-btn:hover {
    background: var(--gradient-cta-hover);
    filter: brightness(1.05);
    transform: translateY(-2px);
    box-shadow:
      var(--btn-shadow-hover),
      0 6px 22px rgba(180, 145, 40, 0.4);
  }
  .header__hamburger { display: none; }
  .header__nav.active { position: static; background: none; border: none; box-shadow: none; padding: 0; }
}

/* ---------- HERO（既定＝モバイル） ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 0 40px;
  padding-bottom: max(56px, calc(44px + env(safe-area-inset-bottom, 0px)));
  min-height: min(72vh, 620px);
  background: var(--surface-warm-textured);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* 背景スライド用ラッパー（スマホは本文の下の帯のみ／PCは inner 全面に広げる） */
.hero__slideshow-wrap {
  position: relative;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* トップ背景スライド（script.js が .hero__slide--active を切替／写真は img、未読込時はトーングラデ） */
.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.05) 48%,
    transparent 100%
  );
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.15s ease-in-out;
  background-size: cover;
  background-position: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero__slide--active {
  opacity: 1;
  z-index: 1;
}

/* ストック写真はクロスフェードを長めに */
.hero__slide--stock {
  transition: opacity 2.45s ease-in-out;
}

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 顔・施術部位が上寄りなのでモバイルでは上を残す */
  object-position: center 35%;
  display: block;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  filter: brightness(1.08) saturate(0.92);
}

.hero__slide--active img {
  -webkit-animation: hero-slide-ken-mobile 6.5s ease-out forwards;
  animation: hero-slide-ken-mobile 6.5s ease-out forwards;
}

@-webkit-keyframes hero-slide-ken {
  from { -webkit-transform: scale(1.08) translateZ(0); transform: scale(1.08) translateZ(0); }
  to { -webkit-transform: scale(1) translateZ(0); transform: scale(1) translateZ(0); }
}
@keyframes hero-slide-ken {
  from { -webkit-transform: scale(1.08) translateZ(0); transform: scale(1.08) translateZ(0); }
  to { -webkit-transform: scale(1) translateZ(0); transform: scale(1) translateZ(0); }
}

/* スマホ: ズームは弱め */
@-webkit-keyframes hero-slide-ken-mobile {
  from { -webkit-transform: scale(1.03) translateZ(0); transform: scale(1.03) translateZ(0); }
  to { -webkit-transform: scale(1) translateZ(0); transform: scale(1) translateZ(0); }
}
@keyframes hero-slide-ken-mobile {
  from { -webkit-transform: scale(1.03) translateZ(0); transform: scale(1.03) translateZ(0); }
  to { -webkit-transform: scale(1) translateZ(0); transform: scale(1) translateZ(0); }
}

/* オフライン・画像エラー時のフォールバック */
.hero__slide--tone1 { background-image: linear-gradient(145deg, #faf8f4 0%, #f2efe8 50%, #ebe6dc 100%); }
.hero__slide--tone2 { background-image: linear-gradient(155deg, #f7f5f0 0%, #efeae2 50%, #e5dfd4 100%); }
.hero__slide--tone3 { background-image: linear-gradient(135deg, #faf9f6 0%, #f0ece4 50%, #e8e2d8 100%); }
.hero__slide--tone4 { background-image: linear-gradient(165deg, #f8f6f1 0%, #efe9e0 50%, #e4ddd2 100%); }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(var(--brand-rgb), .22) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(var(--brand-rgb), .14) 0%, transparent 55%);
  z-index: 2;
  pointer-events: none;
}

/* スライド上の白み */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 254, 252, 0.58) 0%,
    rgba(255, 253, 250, 0.22) 42%,
    rgba(255, 250, 244, 0.06) 78%,
    transparent 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  padding: 0 18px;
}

.hero__text--lead,
.hero__text--tail {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero__text--lead {
  order: 1;
  z-index: 5;
  isolation: isolate;
}
.hero__slideshow-wrap {
  order: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 28px;
  flex: 0 0 auto;
  /* 4:3 のブランド実写を活かすため、縦余白を確保 */
  min-height: min(40vh, 300px);
  max-height: min(48vh, 360px);
  aspect-ratio: 4 / 3;
}
.hero__text--tail {
  order: 3;
}
.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--brand-light);
  border: 1px solid rgba(var(--brand-rgb), .45);
  border-radius: var(--btn-radius-pill);
  font-size: .7rem;
  font-weight: 500;
  color: var(--brand-ink);
  letter-spacing: .06em;
  margin-bottom: 16px;
}


.hero__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.38;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.hero__title-word {
  display: inline-block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.hero__title-line--accent {
  display: block;
  margin-top: 0.06em;
  font-style: normal;
  font-weight: inherit;
  color: var(--brand-ink);
}
@keyframes hero-title-word-in {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 0.2em, 0);
    transform: translate3d(0, 0.2em, 0);
  }
  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
.js-ready .hero__title .hero__title-word {
  opacity: 0;
}
.js-ready .hero--catch-play .hero__title-line:first-of-type .hero__title-word:nth-child(1) {
  animation: hero-title-word-in 0.44s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.04s;
}
.js-ready .hero--catch-play .hero__title-line:first-of-type .hero__title-word:nth-child(2) {
  animation: hero-title-word-in 0.44s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.14s;
}
.js-ready .hero--catch-play .hero__title-line--accent .hero__title-word:nth-child(1) {
  animation: hero-title-word-in 0.46s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.28s;
}
.js-ready .hero--catch-play .hero__title-line--accent .hero__title-word:nth-child(2) {
  animation: hero-title-word-in 0.46s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.4s;
}

/* ヒーロー下部：スクロール促進シェブロン */
.hero__scroll-cue {
  position: absolute;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--brand-ink);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.hero__scroll-cue:hover {
  opacity: 1;
  color: var(--brand);
}
.hero__scroll-cue__chev {
  display: block;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  -webkit-animation: hero-scroll-cue-bounce 2.2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  animation: hero-scroll-cue-bounce 2.2s cubic-bezier(0.42, 0, 0.58, 1) infinite;
}
@-webkit-keyframes hero-scroll-cue-bounce {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  38% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }
  72% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}
@keyframes hero-scroll-cue-bounce {
  0%,
  100% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  38% {
    -webkit-transform: translate3d(0, 5px, 0);
    transform: translate3d(0, 5px, 0);
  }
  72% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

/* メインコンセプト（フロント商品LP型の一文約束） */
.hero__main-concept {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.85;
  max-width: 520px;
  margin: 0 auto 8px;
  text-align: center;
  letter-spacing: 0.02em;
}
.hero__main-concept strong {
  color: var(--dark);
  font-weight: 700;
}


/* 縦に狭いスマホ：初回表示で画面外に落ちにくいよう上段を軽く圧縮 */
@media (max-height: 720px) and (max-width: 767.98px) {
  .hero__badge {
    margin-bottom: 10px;
    padding: 5px 12px;
    font-size: 0.66rem;
  }
  .hero__title {
    font-size: 1.45rem;
    margin-bottom: 8px;
    line-height: 1.35;
  }
  .hero__main-concept {
    font-size: 0.8rem;
    margin-bottom: 10px;
    line-height: 1.7;
  }
}

@media (min-width: 768px) {
  .hero__main-concept {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    margin-bottom: 18px;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
}

.hero__offer-box {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 20px;
  background: var(--color-surface-base);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero__offer-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}
.hero__offer-plan {
  font-size: .78rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.3;
}
.hero__offer-label {
  padding: 2px 10px;
  background: var(--gradient-cta);
  color: var(--on-brand);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  border-radius: var(--btn-radius-pill);
}
.hero__offer-price {
  font-size: .9rem;
  color: var(--dark);
}
.hero__offer-price s { opacity: .5; font-size: .85em; }
.hero__offer-price strong { font-size: 1.3em; color: var(--brand-ink); }
.hero__offer-price small {
  font-size: .88em;
  font-weight: 500;
  color: var(--text);
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__note {
  margin-top: 12px;
  font-size: .72rem;
  color: var(--text-light);
}

.hero__chat-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 10px;
  padding: 13px 18px;
  font-size: .86rem;
  font-weight: 600;
  color: #1a2633;
  background: var(--brand);
  border: 1.5px solid var(--brand);
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: .02em;
  min-height: 48px;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.hero__chat-hint:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(255, 235, 100, .45);
}

@media (min-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 100px 0 80px;
    padding-bottom: max(80px, env(safe-area-inset-bottom, 0px));
  }
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 48px;
    min-height: calc(100vh - 180px);
    min-height: calc(100svh - 180px);
    justify-content: space-between;
  }
  .hero__text--lead,
  .hero__text--tail,
  .hero__slideshow-wrap {
    order: 0;
  }
  .hero__text--lead,
  .hero__text--tail {
    max-width: 560px;
    text-align: left;
  }
  .hero__slide--active img {
    -webkit-animation-name: hero-slide-ken;
    animation-name: hero-slide-ken;
  }
  /* スライドを section 全面に広げる */
  .hero__slideshow-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: none;
    z-index: 0;
    margin: 0;
    min-height: 100vh;
    max-height: none;
    aspect-ratio: auto;
  }
  /* 左側テキストエリアを読みやすくする斜めグラデ */
  .hero__overlay {
    background: linear-gradient(
      105deg,
      rgba(255, 254, 252, 0.95) 0%,
      rgba(255, 254, 252, 0.82) 22%,
      rgba(255, 252, 248, 0.48) 42%,
      rgba(255, 250, 244, 0.12) 58%,
      transparent 72%
    );
  }
  .hero__slideshow::after {
    background: linear-gradient(
      115deg,
      rgba(255, 255, 255, 0.38) 0%,
      rgba(255, 255, 255, 0.08) 32%,
      transparent 50%
    );
  }
  .hero__slide img { filter: brightness(1.04) saturate(1); }
  .hero__badge { font-size: .8rem; padding: 8px 24px; }
  .hero__title { font-size: clamp(2rem, 4vw, 3.2rem); }
  .hero__main-concept {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    margin-bottom: 18px;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }
  .hero__cta-group { flex-direction: row; gap: 12px; }
  .hero__chat-hint { width: auto; }
  .hero__offer-box { justify-content: flex-start; }
}

/* ---------- SOCIAL PROOF ---------- */
.social-proof {
  padding: var(--section-py) 0;
  background: var(--color-surface-muted);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}

.social-proof__items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.social-proof__item { text-align: center; }

.social-proof__number {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-ink);
  line-height: 1;
}

.social-proof__number-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--brand-ink);
  line-height: 1;
}

.social-proof__unit { font-size: .85rem; font-weight: 600; color: var(--brand-ink); }
.social-proof__icon { display: flex; justify-content: center; margin-bottom: 2px; }
.social-proof__icon .lp-icon { margin: 0 auto; color: var(--brand-ink); }
.social-proof__label { display: block; font-size: .68rem; color: var(--text-light); margin-top: 2px; }
.social-proof__divider { display: none; }


/* ---------- CONCEPT（メイン・サブコンセプト） ---------- */
.concept {
  padding: var(--section-py) 0;
  background: var(--surface-brand-light-textured);
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 80px;
}
.concept__header {
  text-align: center;
  margin-bottom: var(--section-title-gap);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.concept__eyebrow {
  font-family: var(--font-heading);
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--brand-ink);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.concept__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.45;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.concept__lead {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.85;
  text-align: left;
}
.concept__lead strong {
  color: var(--dark);
  font-weight: 700;
}
.concept__pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.concept__pillar {
  background: var(--color-surface-base);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.concept__pillar:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-ink);
}
.concept__pillar-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-ink);
  margin-bottom: 8px;
}
.concept__pillar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: 0.03em;
}
.concept__pillar-text {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.82;
  margin: 0;
}
.concept__pillar-text strong {
  color: var(--text);
  font-weight: 600;
}
.concept__pillar-note {
  display: block;
  margin-top: 0.5em;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
}
@media (min-width: 768px) {
  .concept {
    padding: var(--section-py-lg) 0;
  }
  .concept__header {
    margin-bottom: var(--section-title-gap-lg);
  }
  .concept__title {
    font-size: clamp(1.22rem, 2.2vw, 1.55rem);
  }
  .concept__lead {
    font-size: 0.88rem;
    text-align: center;
  }
  .concept__pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
  }
  .concept__pillar {
    padding: var(--card-pad-lg);
    border-radius: var(--radius-lg);
  }
}

@media (min-width: 768px) {
  .social-proof { padding: var(--section-py-lg) 0; }
  .social-proof__items { display: flex; align-items: center; justify-content: center; gap: 40px; }
  .social-proof__item { min-width: 120px; }
  .social-proof__number { font-size: 2rem; }
  .social-proof__divider { display: block; width: 1px; height: 40px; background: var(--border); }
}

/* ---------- PROBLEMS ---------- */
.problems { padding: var(--section-py) 0; background: var(--surface-base-textured); }

.problems__grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problems__card {
  background: var(--bg-gray);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  transition: var(--transition);
}

.problems__card h3 {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.problems__card p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.76;
}

@media (min-width: 768px) {
  .problems { padding: var(--section-py-lg) 0; }
  .problems__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .problems__card { padding: var(--card-pad-lg); }
  .problems__card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand); }
}

@media (min-width: 1024px) {
  .problems__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- BRIDGE (Problems → Features) ---------- */
.bridge {
  position: relative;
  padding: 56px 0;
  background:
    radial-gradient(ellipse at 20% 25%, rgba(255, 235, 122, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 75%, rgba(154, 136, 0, 0.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--dark) 0%, var(--dark-bg) 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.bridge::before,
.bridge::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 28px;
  transform: translateX(-50%);
  pointer-events: none;
}
.bridge::before {
  top: 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 235, 122, 0.55));
}
.bridge::after {
  bottom: 0;
  background: linear-gradient(to top, transparent, rgba(255, 235, 122, 0.55));
}

.bridge__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.bridge__question {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.45rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.bridge__insight {
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}
.bridge__insight em {
  font-style: normal;
  color: var(--brand);
  font-weight: 600;
}

.bridge__answer {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: #fff;
}
.bridge__answer strong {
  color: var(--brand);
  font-weight: 700;
}

.bridge__keyword {
  font-style: normal;
  font-weight: 700;
  color: var(--brand);
  padding: 0 6px;
  background-image: linear-gradient(
    transparent 62%,
    rgba(255, 235, 122, 0.22) 62%,
    rgba(255, 235, 122, 0.22) 92%,
    transparent 92%
  );
}

@media (min-width: 768px) {
  .bridge { padding: 84px 0; }
  .bridge__inner { gap: 22px; max-width: 860px; }
}

/* ---------- FEATURES ---------- */
.features {
  padding: var(--section-py) 0;
  background: var(--surface-muted-textured);
}

.features__list { display: flex; flex-direction: column; gap: 28px; }

.features__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--color-surface-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
}

.features__item--reverse { direction: ltr; }

.features__item-number {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--brand-ink);
  opacity: .28;
  line-height: 1;
}

.features__item-content h3 {
  font-family: var(--font-display);
  font-size: .98rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.features__item-content p {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.76;
}

.features__item-03-ribbon {
  margin: 14px 0 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(95deg, rgba(255, 252, 232, 0.5) 0%, rgba(255, 255, 255, 0) 72%);
  border-radius: 0 4px 4px 0;
}
.features__item-03-ribbon p {
  margin: 0 0 0.9em;
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--text);
}
.features__item-03-ribbon p:last-child { margin-bottom: 0; }
.features__item-03-lead {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.86rem !important;
  margin-bottom: 0.95em !important;
}

.features__item-image {
  width: 100%;
  height: 160px;
  order: -1;
  overflow: hidden;
  background: transparent;
}

.features__item-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.features__item-image--staff-duo { height: 200px; }

/* 実写用：枠いっぱいに表示する（モバイルファースト） */
.features__item-image--photo {
  height: 240px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.features__item-image--photo img {
  object-fit: cover;
  /* 人物の顔・上半身を優先して見せる */
  object-position: center 30%;
}

.features__item-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg-gray);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: .78rem;
}

.features__stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 18px 14px;
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-md);
  width: 100%;
  align-self: stretch;
  box-shadow: 0 4px 14px rgba(var(--brand-rgb), .18);
}
.features__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  text-align: center;
}
.features__stat + .features__stat {
  border-top: 1px solid rgba(var(--brand-rgb), .55);
}
.features__stat-value {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
}
.features__stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 3.4rem);
  font-weight: 700;
  color: var(--brand-ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.features__stat-num--text {
  font-size: clamp(1.7rem, 7vw, 2.2rem);
  letter-spacing: .02em;
}
.features__stat-unit {
  font-size: .95rem;
  font-weight: 600;
  color: var(--brand-ink);
  margin-left: 4px;
}
.features__stat-label {
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--text-light);
  font-weight: 500;
}

@media (min-width: 768px) {
  .features { padding: var(--section-py-lg) 0; }
  .features__list { gap: 56px; }
  .features__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
    padding: var(--card-pad-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  .features__item:hover { transform: translateY(-4px); }
  .features__item--reverse { direction: rtl; }
  .features__item--reverse > * { direction: ltr; }
  .features__item-number { font-size: 3rem; }
  .features__item-content h3 { font-size: 1.2rem; }
  .features__item-image { width: 200px; height: 150px; order: 0; }
  .features__item-image--staff-duo {
    width: min(300px, 34vw);
    height: 230px;
  }
  .features__item-image--photo {
    width: min(320px, 36vw);
    height: 240px;
  }
  .features__stats {
    width: 250px;
    padding: 22px 18px;
  }
  .features__stat { padding: 16px 8px; }
  .features__stat-num { font-size: 4rem; }
  .features__stat-num--text { font-size: 2.5rem; }
  .features__stat-unit { font-size: 1.1rem; }
  .features__stat-label { font-size: .76rem; }
}

/* ---------- PAIN GOAL（10回・痛みレベル目標） ---------- */
.pain-goal {
  padding: var(--section-py) 0;
  background: var(--surface-base-textured);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pain-goal__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: var(--card-pad-lg);
  background: linear-gradient(165deg, #fff 0%, var(--brand-light) 48%, #fff 100%);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.pain-goal__inner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -18%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--brand-rgb), 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.pain-goal__tagline {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3.2vw, 1.6rem);
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-bottom: 16px;
}
.pain-goal__tagline-em {
  font-style: normal;
  color: var(--brand-ink);
  display: inline-block;
  background-image: linear-gradient(
    transparent 58%,
    rgba(255, 235, 122, 0.5) 58%,
    rgba(255, 235, 122, 0.5) 88%,
    transparent 88%
  );
}

.pain-goal__lede {
  position: relative;
  z-index: 1;
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.9;
  margin: 0 0 28px;
  text-align: center;
}
.pain-goal__lede strong {
  color: var(--dark);
  font-weight: 600;
}

.pain-goal__figure {
  position: relative;
  z-index: 1;
  margin: 0 0 28px;
  padding: 0;
  border: none;
}

.pain-goal__a11y-desc {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pain-goal__viz-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 10px;
}

.pain-goal__scale {
  --scale-h: 32px;
}

.pain-goal__scale-goalzone {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 6px;
  min-height: 1.1em;
}
.pain-goal__scale-goalzone-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #2d6a4f;
  background: rgba(64, 145, 108, 0.14);
  padding: 4px 10px;
  border-radius: var(--btn-radius-pill);
  border: 1px solid rgba(64, 145, 108, 0.3);
  margin-left: 0;
  width: fit-content;
  max-width: 48%;
}
@media (min-width: 480px) {
  .pain-goal__scale-goalzone-label { max-width: none; }
}

.pain-goal__scale-track {
  position: relative;
  height: var(--scale-h);
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(74, 157, 106, 0.38) 0%,
    rgba(74, 157, 106, 0.2) 28%,
    rgba(200, 195, 185, 0.5) 32%,
    rgba(232, 200, 160, 0.6) 68%,
    rgba(200, 110, 95, 0.5) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
  padding-bottom: 12px;
}

.pain-goal__scale-mark--from {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 70%;
  width: 10%;
  min-width: 6px;
  background: rgba(180, 65, 50, 0.38);
  border-radius: 4px;
  border: 1px solid rgba(140, 50, 40, 0.4);
  box-sizing: border-box;
}

.pain-goal__scale-mark--goal {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 30%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--brand-ink);
  border-radius: 1px;
  z-index: 1;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.pain-goal__scale-mark--goal::after {
  content: '3';
  position: absolute;
  bottom: -1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--brand-ink);
  white-space: nowrap;
}
.pain-goal__scale-mark--from::after {
  content: '7-8';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.55rem;
  font-weight: 700;
  color: rgba(90, 30, 24, 0.9);
  white-space: nowrap;
  line-height: 1;
  pointer-events: none;
}
@media (min-width: 381px) {
  .pain-goal__scale-mark--from::after {
    content: '7〜8';
    font-size: 0.6rem;
  }
}

.pain-goal__scale-nums {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-light);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  padding: 0 1px;
}
.pain-goal__scale-nums span {
  flex: 0 0 auto;
  width: 9.09%;
  text-align: center;
}

.pain-goal__scale-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.64rem;
  color: var(--text-light);
  margin: 0;
}

.pain-goal__compare {
  position: relative;
  z-index: 1;
}

.pain-goal__compare-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
  padding: 8px 0 0;
}

.pain-goal__compare-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  max-width: 140px;
}

.pain-goal__bar-wrap {
  width: 100%;
  max-width: 100px;
  height: 160px;
  margin: 0 auto 8px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  background: linear-gradient(to top, var(--border) 0, rgba(255, 255, 255, 0) 1px) repeat;
  background-size: 100% 16px;
  background-position: bottom;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-bottom: 2px solid var(--text-light);
  border-radius: 8px 8px 0 0;
  position: relative;
}

.pain-goal__bar {
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  min-height: 6px;
  box-shadow: 0 2px 8px rgba(44, 41, 36, 0.1);
  transition: height 0.5s var(--reveal-ease);
}
.pain-goal__bar--before {
  height: 75%;
  background: linear-gradient(180deg, #e0a8a0 0%, #c45c52 100%);
}
.pain-goal__bar--after {
  height: 30%;
  background: linear-gradient(180deg, #8cc9a0 0%, #4a9d6a 100%);
  box-shadow: 0 2px 10px rgba(74, 157, 106, 0.25);
}

.pain-goal__compare-eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}
.pain-goal__compare-eyebrow--after {
  color: #2d6a4f;
}

.pain-goal__compare-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--dark);
  margin: 0 0 4px;
  line-height: 1.35;
}

.pain-goal__compare-level {
  font-size: 0.84rem;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
}
.pain-goal__compare-level strong {
  font-size: 1.05em;
  color: #b85048;
  font-weight: 700;
}
.pain-goal__compare-level--target strong {
  color: #2d6a4f;
  font-size: 1.12em;
}

.pain-goal__compare-arrow {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding-bottom: 64px;
  color: var(--brand-ink);
  align-self: center;
}
.pain-goal__arrow-svg {
  width: 28px;
  height: 28px;
  display: block;
  opacity: 0.85;
}
.pain-goal__compare-visit {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  white-space: nowrap;
  background: var(--color-surface-base);
  border: 1px solid var(--brand-border);
  border-radius: var(--btn-radius-pill);
  padding: 3px 10px;
  box-shadow: var(--shadow-sm);
}

.pain-goal__compare-y-note {
  max-width: 400px;
  margin: 12px auto 0;
  text-align: center;
  font-size: 0.64rem;
  color: var(--text-light);
  line-height: 1.5;
}

@media (min-width: 768px) {
  .pain-goal { padding: var(--section-py-lg) 0; }
  .pain-goal__inner { padding: 40px 44px; }
  .pain-goal__compare-bars { gap: 20px; max-width: 440px; }
  .pain-goal__bar-wrap { height: 180px; }
  .pain-goal__lede { font-size: 0.88rem; }
  .pain-goal__arrow-svg { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .pain-goal__bar { transition: none; }
}

/* ---------- OFFER ---------- */
.offer {
  position: relative;
  padding: var(--section-py) 0;
  background:
    radial-gradient(ellipse at 12% 18%, rgba(255, 235, 122, 0.28) 0%, transparent 48%),
    radial-gradient(ellipse at 88% 82%, rgba(255, 235, 122, 0.22) 0%, transparent 52%),
    var(--bg-elegant-lattice-on-brand),
    linear-gradient(180deg, var(--brand-light) 0%, var(--bg-warm) 100%);
  overflow: hidden;
}
.offer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 55%, rgba(154, 136, 0, 0.06) 100%);
  pointer-events: none;
}

.offer__inner {
  position: relative;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  border: 3px solid var(--brand-ink);
  box-shadow:
    0 18px 50px rgba(var(--brand-rgb), 0.36),
    0 4px 16px rgba(0, 0, 0, 0.06);
  z-index: 1;
  overflow: hidden;
}

/* 緊急性ストリップ（カード上端に edge-to-edge で配置） */
.offer__urgency {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: calc(var(--card-pad) * -1) calc(var(--card-pad) * -1) 18px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #b8312f 0%, #c93a3a 50%, #d8504f 100%);
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}
.offer__urgency-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.offer__urgency-text { white-space: nowrap; }
.offer__urgency-item strong {
  font-weight: 800;
  color: #FFE234;
  font-size: 1.05em;
}
.offer__urgency-icon {
  font-size: 0.95em;
  line-height: 1;
  color: #FFE234;
}
.offer__urgency-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.4);
}
.offer__urgency-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFE234;
  box-shadow: 0 0 0 0 rgba(255, 226, 52, 0.7);
  animation: offerUrgencyPulse 1.6s ease-in-out infinite;
}
@keyframes offerUrgencyPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 226, 52, 0.7); }
  50% { box-shadow: 0 0 0 7px rgba(255, 226, 52, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .offer__urgency-dot { animation: none; }
}

.offer__badge {
  display: inline-block;
  padding: 4px 16px;
  background: var(--gradient-cta);
  color: var(--on-brand);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .08em;
  border-radius: var(--btn-radius-pill);
  margin-bottom: 12px;
}

.offer__plan-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.4;
}
.offer__plan-name small {
  font-size: .72em;
  font-weight: 500;
  color: var(--text-light);
}

.offer__plan-price {
  display: block;
  margin-top: 12px;
  line-height: 1.15;
}
.offer__plan-price small {
  font-size: .75rem;
  color: var(--text);
  font-weight: 500;
  margin-left: 6px;
  vertical-align: 0.15em;
}

/* 通常価格（取り消し線） */
.offer__price-strike {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.04em;
}
.offer__price-strike s {
  text-decoration: line-through;
  text-decoration-color: rgba(201, 58, 58, 0.7);
  text-decoration-thickness: 1.5px;
  margin-left: 4px;
}

.offer__price-now {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
}

/* OFFバッジ */
.offer__price-discount {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, #b8312f 0%, #c93a3a 100%);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: var(--btn-radius-pill);
  vertical-align: 0.55em;
  box-shadow: 0 3px 10px rgba(201, 58, 58, 0.3);
}

.offer__title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--section-title-gap);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.offer__price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--brand-ink);
}

.offer__desc {
  font-size: .84rem;
  color: var(--text-light);
  line-height: 1.76;
  margin-bottom: 24px;
  text-align: center;
}

.offer__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.offer__notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .75rem;
  color: var(--text-light);
}
.offer__notes li { text-align: center; position: relative; padding-left: 0; }
.offer__notes li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-ink);
  margin-right: 8px;
  vertical-align: middle;
  opacity: .75;
}

@media (min-width: 768px) {
  .offer { padding: var(--section-py-lg) 0; }
  .offer__inner { padding: var(--card-pad-lg); }
  .offer__title { font-size: 1.5rem; margin-bottom: var(--section-title-gap-lg); }
  .offer__price-amount { font-size: 3.5rem; }
  .offer__ctas { flex-direction: row; justify-content: center; gap: 12px; }
  .offer__urgency {
    margin: calc(var(--card-pad-lg) * -1) calc(var(--card-pad-lg) * -1) 24px;
    padding: 14px 22px;
    font-size: .92rem;
    gap: 8px 18px;
  }
  .offer__price-strike { font-size: 1rem; margin-bottom: 6px; }
  .offer__price-discount { font-size: .8rem; padding: 4px 12px; vertical-align: 0.7em; }
}

/* ---------- FLOW ---------- */
.flow { padding: var(--section-py) 0; background: var(--surface-muted-textured); }

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.flow__step {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  padding: var(--card-pad);
  background: var(--color-surface-base);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.flow__step-num {
  grid-row: 1 / 3;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-ink);
  opacity: .45;
  line-height: 1;
  align-self: center;
}

.flow__step-icon {
  grid-row: 1 / 3;
  font-size: 1.4rem;
  align-self: center;
}

.flow__step h3 {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.flow__step p {
  font-size: .78rem;
  color: var(--text-light);
  line-height: 1.74;
}

@media (min-width: 768px) {
  .flow { padding: var(--section-py-lg) 0; }
  .flow__steps {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 100%;
  }
  .flow__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    flex: 1;
    min-width: 180px;
    max-width: 200px;
    padding: var(--card-pad-lg) 16px;
  }
  .flow__step-icon .lp-icon { width: 32px; height: 32px; }
}

/* ---------- AI HEARING ---------- */
.ai-hearing { padding: var(--section-py) 0; background: var(--surface-base-textured); }

.ai-hearing__lead-copy {
  line-height: 1.78;
  font-size: .84rem;
}

.ai-hearing__desc-highlight {
  display: inline-block;
  margin-top: 0.15em;
  font-weight: 600;
  color: var(--brand-ink);
}

.ai-hearing__policy-note {
  font-size: .82rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-top: 8px;
}

.ai-hearing__chat-container {
  max-width: 700px;
  margin: 16px auto 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.ai-hearing__chat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg);
  border-bottom: 2px solid var(--brand);
  color: var(--dark);
  font-size: .78rem;
  font-weight: 500;
}

.ai-hearing__chat-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-green);
  flex-shrink: 0;
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}

.ai-hearing__chat-embed {
  background: #fff;
  display: flex;
  flex-direction: column;
  height: min(520px, 72vh);
  min-height: 360px;
  min-width: 0;
  overflow: hidden;
}

.lp-chat__messages {
  flex: 1 1 0;
  min-height: 0;
  min-width: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--bg-gray);
}

.lp-chat__messages::-webkit-scrollbar { width: 4px; }
.lp-chat__messages::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.lp-chat__msg {
  display: flex;
  gap: 8px;
  max-width: 85%;
  animation: lpChatFadeIn .3s ease;
}

@keyframes lpChatFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.lp-chat__msg--bot { align-self: flex-start; }
.lp-chat__msg--user { align-self: flex-end; flex-direction: row-reverse; }

.lp-chat__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-ink);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-chat__avatar--brand {
  background: transparent;
  padding: 0;
  overflow: visible;
}

.lp-chat__avatar--brand .lp-chat__avatar-svg {
  width: 32px;
  height: 32px;
  display: block;
}

.lp-chat__bubble {
  padding: 10px 14px;
  border-radius: 16px;
  word-break: break-word;
  white-space: pre-wrap;
  font-size: .88rem;
  line-height: 1.65;
}

.lp-chat__msg--bot .lp-chat__bubble {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-top-left-radius: 4px;
}

.lp-chat__msg--user .lp-chat__bubble {
  background: linear-gradient(165deg, #fff9d4 0%, #ffef8a 38%, #ffe566 100%);
  color: var(--on-brand);
  font-weight: 600;
  border: 1px solid var(--brand-border);
  border-top-right-radius: 4px;
  box-shadow: 0 1px 3px rgba(154, 136, 0, 0.12);
}

.lp-chat__line-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: var(--btn-radius-pill);
  background: var(--line-green);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  width: 100%;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.25s ease;
  text-decoration: none;
  box-shadow:
    var(--btn-shadow-elev),
    var(--btn-shadow-elev-tight),
    0 3px 14px rgba(6, 199, 85, 0.28);
}
.lp-chat__line-btn:hover {
  background: var(--line-green-dark);
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    var(--btn-shadow-hover),
    0 6px 20px rgba(6, 199, 85, 0.35);
}
.lp-chat__line-btn svg,
.lp-chat__line-btn .lp-line-btn__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: block;
}

.lp-chat__typing { display: flex; gap: 4px; padding: 12px 16px; align-items: center; }
.lp-chat__typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  animation: lpTypingBounce 1.4s infinite ease-in-out;
}
.lp-chat__typing-dot:nth-child(2) { animation-delay: .2s; }
.lp-chat__typing-dot:nth-child(3) { animation-delay: .4s; }

@keyframes lpTypingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

.lp-chat__quick-replies {
  flex-shrink: 0;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
  max-height: min(240px, 42vh);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.lp-chat__quick-replies:empty { display: none; padding: 0; border: none; max-height: none; overflow: visible; }

.lp-chat__quick-btn {
  padding: 7px 8px;
  border: 1.5px solid var(--brand);
  border-radius: 16px;
  background: #fff;
  color: var(--dark);
  font-size: .72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
  font-family: var(--font-sans);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}
.lp-chat__quick-btn:hover { background: var(--brand-light); border-color: var(--brand-ink); }
.lp-chat__quick-btn:active { background: var(--cta-dark); color: var(--on-brand); }

@media (min-width: 480px) {
  .lp-chat__quick-replies {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lp-chat__toolbar {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
  padding: 8px 16px;
  background: var(--bg-gray);
  border-top: 1px solid var(--border);
}

.lp-chat__tool-btn {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-light);
  font-size: .75rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.lp-chat__tool-btn:hover:not(:disabled) {
  border-color: var(--brand-ink);
  color: var(--brand-ink);
  background: var(--brand-light);
}

.lp-chat__tool-btn:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.lp-chat__input-area {
  flex-shrink: 0;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: flex-end;
  background: #fff;
  min-width: 0;
}

.lp-chat__input {
  flex: 1;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: .9rem;
  font-family: var(--font-sans);
  line-height: 1.5;
  color: var(--dark);
  resize: none;
  outline: none;
  transition: border-color .2s;
  max-height: 80px;
  overflow-y: auto;
}
.lp-chat__input::placeholder {
  color: #5c574d;
  opacity: 1;
}
.lp-chat__input:focus { border-color: var(--brand); }

.lp-chat__send-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--brand-ink);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, opacity .2s;
  flex-shrink: 0;
}
.lp-chat__send-btn:disabled { opacity: .4; cursor: not-allowed; }
.lp-chat__send-btn:not(:disabled):hover { background: #7A6A00; }

.ai-hearing__cta { text-align: center; margin-top: 24px; }
.ai-hearing__cta p { font-size: .85rem; color: var(--text-light); margin-bottom: 10px; }

@media (min-width: 768px) {
  .ai-hearing { padding: var(--section-py-lg) 0; }
  .ai-hearing__lead-copy { font-size: .88rem; line-height: 1.95; }
  .ai-hearing__chat-container { border-radius: var(--radius-lg); margin-top: 0; }
}

/* ---------- MENU ---------- */
.menu { padding: var(--section-py) 0; background: var(--surface-muted-textured); }

.menu__tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  background: var(--color-surface-base);
  border: 1px solid var(--border);
  border-radius: var(--btn-radius-pill);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.menu__tab {
  flex: 1;
  padding: 10px 12px;
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
  border-radius: var(--btn-radius-pill);
  cursor: pointer;
  transition: var(--transition);
  min-height: 44px;
}

.menu__tab--active {
  background: var(--gradient-cta);
  color: var(--on-brand);
  box-shadow:
    var(--btn-shadow-elev),
    var(--btn-shadow-elev-tight),
    0 2px 10px var(--cta-shadow);
  border: 1px solid rgba(46, 42, 31, .06);
  transition:
    filter 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease;
}
.menu__tab--active:hover {
  background: var(--gradient-cta-hover);
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    var(--btn-shadow-hover),
    0 4px 16px rgba(180, 145, 40, 0.35);
}

.menu__content--hidden { display: none; }

.menu__offer-banner {
  padding: 12px 16px;
  background: var(--brand-light);
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: .85rem;
  color: var(--dark);
  margin-bottom: 20px;
  line-height: 1.6;
}
.menu__offer-badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--brand);
  color: var(--dark);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  border-radius: var(--btn-radius-pill);
  margin-right: 6px;
}

.menu__cards { display: flex; flex-direction: column; gap: 24px; }

.menu__card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  transition: var(--transition);
  position: relative;
}

/* 鍼メニュー以外はブランドの黄色枠で統一 */
.menu .menu__cards > .menu__card:not(.menu__card--hari) {
  border: 2px solid var(--brand-border);
}
.menu .menu__cards > .menu__card.menu__card--hari {
  border: 1px solid var(--border);
}

.menu__card--premium {
  background: var(--bg);
}

.menu__card-badge {
  position: absolute;
  top: -10px;
  left: 16px;
  padding: 2px 12px;
  background: var(--gradient-cta);
  color: var(--on-brand);
  font-size: .68rem;
  font-weight: 600;
  border-radius: var(--btn-radius-pill);
}

.menu__card-badge--premium { background: var(--gradient-cta); }

/* "初めての方に最も選ばれています" — 看板コース専用バッジ */
.menu__card-badge--featured {
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--brand-ink) 0%, #c9a010 100%);
  color: #fff;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(154, 136, 0, 0.35);
}
/* 保険タブのバッジ（保険適用・自賠責）を同じ視認サイズに */
.menu__card-badge--tab-emphasis {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 5px 14px;
  -webkit-font-smoothing: antialiased;
}
.menu__card-badge--jibai {
  background: #0f3554;
  color: #fff;
}

/* 交通事故カード：説明文・注記に「自賠責保険」が含まれるため本文も読みやすく */
.menu__card:has(.menu__card-badge--jibai) .menu__card-desc {
  color: var(--text);
}
.menu__card:has(.menu__card-badge--jibai) .menu__card-price-note {
  color: var(--text);
  font-size: .8rem;
  font-weight: 600;
}

.menu__card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}
.menu__card-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 2px;
}

.menu__card-desc {
  font-size: .82rem;
  color: var(--text-light);
  margin-bottom: 10px;
  line-height: 1.9;
}

.menu__card-recommend {
  margin: 6px 0 12px;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
  border-left: 3px solid var(--brand-ink);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .82rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--dark);
}
.menu__card-recommend strong {
  color: var(--brand-ink);
  font-weight: 700;
  margin-right: 4px;
}

/* 看板コース：他カードより視覚的に浮き立たせる（既存 .menu__card のボーダーを上書き） */
.menu .menu__cards > .menu__card.menu__card--featured {
  border: 3px solid var(--brand-ink);
  box-shadow:
    0 14px 40px rgba(var(--brand-rgb), 0.42),
    0 4px 16px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  position: relative;
  z-index: 1;
}
.menu__card--featured h3 { font-size: 1.1rem; }
.menu__card--featured .menu__card-price-big { font-size: 1.4rem; }

.menu__card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 12px;
}
.menu__card-tags span {
  padding: 2px 10px;
  background: var(--brand-light);
  color: var(--brand-ink);
  font-size: .68rem;
  font-weight: 500;
  border-radius: var(--btn-radius-pill);
}

.menu__card-price table { width: 100%; font-size: .78rem; color: var(--text); }
.menu__card-price td { padding: 3px 0; }
.menu__card-price td:first-child { font-weight: 600; width: 72px; color: var(--text-light); }

.menu__card-price-highlight { text-align: center; }

.menu__card-price-big {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}
.menu__card-price-big + .menu__card-price-big {
  margin-top: 6px;
  font-size: 1.15rem;
}
.menu__card-price-big small { font-size: .72em; font-weight: 500; color: var(--text); }

.menu__card-price-note {
  display: block;
  font-size: .72rem;
  color: var(--text-light);
  margin-top: 4px;
}

@media (min-width: 768px) {
  .menu { padding: var(--section-py-lg) 0; }
  .menu__tabs { max-width: 400px; margin-left: auto; margin-right: auto; margin-bottom: var(--section-title-gap-lg); }
  .menu__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
  .menu__card { padding: var(--card-pad-lg); }
  .menu__card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
  .menu__card-price-big { font-size: 1.4rem; }
  .menu__card--featured { padding: calc(var(--card-pad-lg) + 6px); }
  .menu__card--featured h3 { font-size: 1.3rem; }
  .menu__card--featured .menu__card-price-big { font-size: 1.6rem; }
  .menu__card--featured .menu__card-price-big + .menu__card-price-big { font-size: 1.35rem; }
}

/* ---------- MID CTA ---------- */
.mid-cta {
  padding: var(--section-py) 0;
  background: var(--color-surface-base);
}

.mid-cta__inner { text-align: center; max-width: 600px; margin: 0 auto; }

.mid-cta__inner h2,
.mid-cta__title {
  font-size: clamp(1rem, 2.4vw + 0.65rem, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--section-title-gap);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.mid-cta__inner p { font-size: .84rem; color: var(--text-light); margin-bottom: 20px; line-height: 1.78; }

.mid-cta__buttons { display: flex; flex-direction: column; gap: 10px; }

@media (min-width: 768px) {
  .mid-cta { padding: var(--section-py-lg) 0; }
  .mid-cta__inner h2,
  .mid-cta__title {
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    letter-spacing: 0.05em;
    line-height: 1.4;
    margin-bottom: var(--section-title-gap-lg);
  }
  .mid-cta__buttons { flex-direction: row; justify-content: center; gap: 12px; }
}

/* ---------- STAFF ---------- */
.staff { padding: var(--section-py) 0; background: var(--surface-muted-textured); }

.staff__grid { display: flex; flex-direction: column; gap: 24px; }

.staff__card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.staff__card-image {
  height: 340px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.staff__card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.staff__card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-ink);
  font-size: .82rem;
  font-weight: 500;
}

.staff__card-body { padding: var(--card-pad); }

.staff__card-role {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: .06em;
  margin-bottom: 6px;
  padding: 5px 12px;
  background: var(--brand-light);
  border: 1px solid rgba(var(--brand-rgb), .4);
  border-radius: 6px;
  line-height: 1.3;
}

.staff__card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 2px;
}

/* 国家資格バッジ：navy + gold で「権威」を演出 */
.staff__card-qualification {
  --qual-navy-1: #1e3a5f;
  --qual-navy-2: #2a4a73;
  --qual-gold: #d4af37;
  --qual-gold-soft: #e8c66c;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  margin: 0 0 12px;
  background: linear-gradient(135deg, var(--qual-navy-1) 0%, var(--qual-navy-2) 100%);
  border: 1.5px solid var(--qual-gold);
  border-radius: var(--btn-radius-pill);
  color: #fff;
  font-size: .72rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
  box-shadow:
    0 2px 8px rgba(30, 58, 95, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.staff__card-qualification-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
  color: var(--qual-gold);
  flex-shrink: 0;
}
.staff__card-qualification-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.35));
}

.staff__card-qualification-label {
  font-family: var(--font-sans);
  font-size: .62rem;
  font-weight: 700;
  color: var(--qual-gold-soft);
  letter-spacing: 0.12em;
  text-transform: none;
  white-space: nowrap;
}

.staff__card-qualification-divider {
  width: 1px;
  height: 12px;
  background: rgba(212, 175, 55, 0.45);
  flex-shrink: 0;
}

.staff__card-qualification-name {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* リード文中のミニバッジ（カード内バッジと意匠を呼応） */
.staff__lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 8px;
  margin-right: 2px;
  background: linear-gradient(135deg, #1e3a5f 0%, #2a4a73 100%);
  border: 1.5px solid #d4af37;
  border-radius: var(--btn-radius-pill);
  color: #fff;
  font-size: .82em;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  vertical-align: 0.06em;
  box-shadow: 0 2px 6px rgba(30, 58, 95, 0.18);
}
.staff__lead-badge-icon {
  display: inline-flex;
  width: 14px;
  height: 14px;
  color: #d4af37;
  flex-shrink: 0;
}
.staff__lead-badge-icon svg { width: 100%; height: 100%; }

.staff__card-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 14px;
}
.staff__card-credential {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 8px;
  background: linear-gradient(135deg, var(--brand-light) 0%, #fff 100%);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  text-align: center;
}
.staff__card-credential-value {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
}
.staff__card-credential-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--brand-ink);
  line-height: 1;
  letter-spacing: -.02em;
}
.staff__card-credential-unit {
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-ink);
  margin-left: 3px;
}
.staff__card-credential-label {
  font-size: .68rem;
  letter-spacing: .08em;
  color: var(--text-light);
  font-weight: 500;
}

.staff__card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.staff__card-tags span {
  padding: 3px 10px;
  background: var(--brand-light);
  color: var(--brand-ink);
  font-size: .7rem;
  font-weight: 500;
  border-radius: var(--btn-radius-pill);
}

.staff__card-message {
  font-size: .85rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 8px;
  padding: 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--brand);
}
.staff__card-message + .staff__card-message {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-top: 1px solid var(--border);
}

.staff__card-career h4 { font-size: .75rem; font-weight: 600; color: var(--text-light); margin-bottom: 6px; }

.staff__card-career ul { display: flex; flex-direction: column; gap: 3px; }

.staff__card-career li {
  font-size: .75rem;
  color: var(--text-light);
  padding-left: 14px;
  position: relative;
}
.staff__card-career li::before { content: '•'; position: absolute; left: 0; color: var(--brand); }

@media (min-width: 768px) {
  .staff { padding: var(--section-py-lg) 0; }
  .staff__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .staff__card-image { height: 400px; }
  .staff__card-body { padding: var(--card-pad-lg); }
  .staff__card-credential { padding: 14px 10px; }
  .staff__card-credential-num { font-size: 2.4rem; }
  .staff__card-credential-unit { font-size: .95rem; }
  .staff__card-credential-label { font-size: .74rem; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { padding: var(--section-py) 0; background: var(--surface-base-textured); }

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.testimonials__card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface-base);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.testimonials__card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.testimonials__card-google {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials__card-google-svg {
  width: 22px;
  height: 22px;
  display: block;
}

.testimonials__card-stars {
  font-family: var(--font-display);
  color: var(--brand-ink);
  font-size: .78rem;
  letter-spacing: .28em;
  opacity: .92;
  line-height: 1;
}

.testimonials__card-quote {
  position: relative;
  flex: 1;
  min-height: 0;
}

.testimonials__card-quote::before {
  content: '"';
  font-family: var(--font-display), 'Georgia', 'Times New Roman', serif;
  font-size: clamp(3.25rem, 11vw, 5rem);
  line-height: 0.9;
  color: var(--brand-ink);
  opacity: .07;
  position: absolute;
  left: -0.04em;
  top: -0.12em;
  pointer-events: none;
  z-index: 0;
}

.testimonials__card-text {
  position: relative;
  z-index: 1;
  font-size: .82rem;
  color: var(--text);
  line-height: 1.82;
  margin: 0;
}

.testimonials__card-author {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.testimonials__card-author strong { display: block; font-size: .8rem; color: var(--dark); }
.testimonials__card-author span { display: block; font-size: .7rem; color: var(--text-light); margin-top: 2px; }

.testimonials__note { text-align: center; margin-top: 28px; font-size: .75rem; color: var(--text-light); }

@media (min-width: 768px) {
  .testimonials { padding: var(--section-py-lg) 0; }
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
  .testimonials__card {
    padding: var(--card-pad-lg);
  }
  .testimonials__card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
  }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--section-py) 0; background: var(--surface-muted-textured); }

.faq__list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* grid-template-rows で回答エリアを滑らかに開閉（0fr → 1fr） */
.faq__item {
  display: grid;
  grid-template-rows: auto 0fr;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition:
    grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.faq__item[open] {
  grid-template-rows: auto 1fr;
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.faq__question {
  display: block;
  margin: 0;
  padding: var(--card-pad) 44px var(--card-pad) calc(var(--card-pad) - 3px);
  border-left: 3px solid transparent;
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  position: relative;
  list-style: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.35s ease;
}

.faq__item[open] .faq__question {
  border-left-color: var(--brand-ink);
}

.faq__question::-webkit-details-marker { display: none; }
.faq__question::marker { display: none; content: ''; }

.faq__question:focus { outline: none; }
.faq__question:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(var(--brand-rgb), 0.55);
}

/* ∨ シェブロン（閉:下向き → 開:180°回転で上向き） */
.faq__question::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 2px solid var(--brand-ink);
  border-bottom: 2px solid var(--brand-ink);
  transform: rotate(45deg);
  transform-origin: 62% 62%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.faq__item[open] .faq__question::after {
  transform: rotate(225deg);
}

.faq__answer {
  overflow: hidden;
  min-height: 0;
}

.faq__answer-inner {
  padding: 0 var(--card-pad) var(--card-pad);
  padding-top: 4px;
}

.faq__answer-inner p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 2;
}

@media (min-width: 768px) {
  .faq { padding: var(--section-py-lg) 0; }
  .faq__question {
    padding: var(--card-pad-lg) 52px var(--card-pad-lg) calc(var(--card-pad-lg) - 3px);
    font-size: .95rem;
  }
  .faq__answer-inner {
    padding: 0 var(--card-pad-lg) var(--card-pad-lg);
    padding-top: 4px;
  }
}

/* ---------- ACCESS ---------- */
.access { padding: var(--section-py) 0; background: var(--surface-base-textured); }

.access__grid { display: flex; flex-direction: column; gap: 24px; }

.access__info-card {
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}

.access__info-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.access__table { width: 100%; font-size: .85rem; }

.access__table th {
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
  padding: 6px 12px 6px 0;
  vertical-align: top;
  width: 72px;
}

.access__table td { padding: 6px 0; color: var(--text); }
.access__table a { color: var(--brand-ink); font-weight: 600; }

.access__schedule {
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  padding: var(--card-pad);
  border: 1px solid var(--border);
}

.access__schedule h4 {
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.access__schedule-table { width: 100%; text-align: center; font-size: .8rem; margin-bottom: 10px; }
.access__schedule-table th { padding: 6px 2px; font-weight: 600; color: var(--text-light); }
.access__schedule-table td { padding: 6px 2px; color: var(--text); }
.access__schedule-label { font-weight: 600; color: var(--brand-ink) !important; }
.access__schedule-note { font-size: .75rem; color: var(--text-light); margin-top: 4px; }

.access__map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.access__map-iframe iframe { display: block; }

.access__map-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  margin-top: 8px;
  background: var(--gradient-cta);
  color: var(--on-brand);
  font-size: .88rem;
  font-weight: 600;
  border-radius: var(--btn-radius-pill);
  text-decoration: none;
  transition:
    filter 0.28s ease,
    box-shadow 0.25s ease,
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.35s ease;
  border: 1px solid rgba(46, 42, 31, .08);
  box-shadow:
    var(--btn-shadow-elev),
    var(--btn-shadow-elev-tight),
    0 3px 14px var(--cta-shadow);
}
.access__map-btn .lp-icon { color: var(--on-brand); }
.access__map-btn:hover {
  background: var(--gradient-cta-hover);
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    var(--btn-shadow-hover),
    0 6px 22px rgba(180, 145, 40, 0.38);
}

@media (min-width: 768px) {
  .access { padding: var(--section-py-lg) 0; }
  .access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
  .access__info-card { padding: var(--card-pad-lg); }
  .access__schedule { padding: var(--card-pad-lg); }
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  padding: var(--section-py) 0;
  background: var(--surface-muted-textured);
  position: relative;
}
.final-cta::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--brand);
  margin: 0 auto 20px;
}

.final-cta__inner { text-align: center; }

.final-cta__title {
  font-size: clamp(1.05rem, 4.2vw, 1.85rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: var(--section-title-gap);
  letter-spacing: 0.05em;
  text-wrap: balance;
}

.final-cta__subtitle {
  font-size: clamp(0.82rem, 2.4vw + 0.55rem, 0.92rem);
  color: var(--text);
  margin-bottom: 36px;
  line-height: 1.85;
  max-width: min(100%, 34rem);
  padding: 0 6px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.final-cta__subtitle-lead {
  display: block;
  text-align: center;
}
.final-cta__subtitle-offer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.final-cta__web-badge {
  display: inline-block;
  padding: 5px 16px;
  background: var(--gradient-cta);
  color: var(--on-brand);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  border-radius: var(--btn-radius-pill);
}
.final-cta__subtitle-action {
  display: block;
  text-align: center;
  font-size: clamp(0.8rem, 2.2vw + 0.52rem, 0.95rem);
  line-height: 1.55;
  letter-spacing: -0.025em;
}
.final-cta__subtitle-action small {
  font-size: .82em;
  color: var(--text);
  font-weight: 500;
}
.final-cta__price {
  color: var(--brand-ink);
  font-weight: 700;
}

.final-cta__options { display: flex; flex-direction: column; gap: 24px; }

.final-cta__option { text-align: center; }

.final-cta__option-label {
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.final-cta__option p {
  margin-top: 8px;
  font-size: .75rem;
  color: var(--text-light);
  line-height: 1.5;
}

.final-cta__option-divider { display: none; }

@media (min-width: 768px) {
  .final-cta { padding: var(--section-py-lg) 0; }
  .final-cta__title {
    font-size: clamp(1.45rem, 3.2vw, 2.5rem);
    letter-spacing: 0.05em;
    margin-bottom: var(--section-title-gap-lg);
  }
  .final-cta__subtitle { margin-bottom: 56px; font-size: 0.92rem; }
  .final-cta__subtitle-action { font-size: 0.95rem; letter-spacing: 0; }
  .final-cta__options { flex-direction: row; align-items: flex-start; justify-content: center; gap: 32px; }
  .final-cta__option { min-width: 200px; }
  .final-cta__option-divider { display: flex; align-items: center; padding-top: 36px; }
  .final-cta__option-divider span { font-size: .85rem; color: var(--text-light); font-weight: 500; }
}

/* ---------- FOOTER ---------- */
.footer {
  padding: 48px 0 24px;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(44, 41, 36, 0.05) 0%, transparent 32%),
    linear-gradient(180deg, #e8e5de 0%, #ded9d0 48%, #d3cdc2 100%);
  border-top: 1px solid rgba(44, 41, 36, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 -1px 0 rgba(255, 235, 120, 0.18);
}

.footer__inner {
  text-align: left;
  max-width: 1100px;
  margin: 0 auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 40px;
  margin-bottom: 32px;
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr) minmax(0, 1.1fr);
    gap: 32px 36px;
    margin-bottom: 40px;
    align-items: start;
  }
}

.footer__col--brand { max-width: 360px; }

.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer__logo:hover { color: var(--brand-ink); opacity: 1; }
.footer__logo span { font-weight: 500; font-size: 0.85em; color: var(--text-light); }

.footer__tagline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.04em;
  line-height: 1.5;
  margin: 0 0 6px;
}

.footer__subcopy {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 14px;
}
.footer__subcopy-br { display: none; }
@media (min-width: 400px) {
  .footer__subcopy-br { display: inline; }
}

.footer__address {
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0 0 16px;
}

.footer__heading {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin: 0 0 12px;
  font-family: var(--font-sans);
  opacity: 0.9;
}

.footer__hours-summ {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 0 10px;
}

.footer__hours-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.footer__hours-table {
  width: 100%;
  min-width: 220px;
  font-size: 0.7rem;
  border-collapse: collapse;
  color: var(--text);
  background: var(--color-surface-base);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(44, 41, 36, 0.04);
}
.footer__hours-table th,
.footer__hours-table td {
  padding: 5px 4px;
  text-align: center;
  border: 1px solid var(--border);
  font-weight: 500;
}
.footer__hours-table thead th {
  background: var(--brand-light);
  color: var(--text-light);
  font-weight: 500;
  font-size: 0.65rem;
  padding: 5px 3px;
}
.footer__hours-lbl { text-align: left; color: var(--text-light); font-size: 0.65rem; }
.footer__hours-wday { width: 0; padding: 0; border: none; }

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 500px) and (max-width: 899px) {
  .footer__nav { grid-template-columns: repeat(3, 1fr); }
}
.footer__nav a {
  font-size: 0.78rem;
  color: var(--text-light);
  display: inline-block;
  padding: 2px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.footer__nav a:hover {
  color: var(--brand-ink);
  transform: translateX(1px);
}

.footer__sns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.footer__sns-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--color-surface-base);
  border: 1px solid var(--border);
  border-radius: 9999px;
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: 0 1px 2px rgba(44, 41, 36, 0.04);
}
.footer__sns-link:hover {
  background: var(--brand-light);
  border-color: var(--brand-border);
  color: var(--brand-ink);
}
.footer__sns-link--line {
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 199, 85, 0.2) 0%, rgba(6, 199, 85, 0.1) 100%);
  border-color: rgba(6, 199, 85, 0.3);
  box-shadow: 0 1px 2px rgba(6, 199, 85, 0.08);
}
.footer__sns-link--line:hover {
  color: #fff;
  background: #06C755;
  border-color: #05b34a;
}
.footer__sns-icon { display: flex; align-items: center; justify-content: center; }
.footer__sns-svg { width: 20px; height: 20px; display: block; }
.footer__sns-svg--line { width: 20px; height: 20px; }
.footer__sns-txt { font-size: 0.72rem; }

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  text-align: center;
}
@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
}
.footer__legal {
  font-size: 0.75rem;
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.footer__legal:hover { color: var(--dark); opacity: 0.9; }
.footer a:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 2px;
}

.footer__copyright {
  font-size: 0.62rem;
  color: var(--text-light);
  margin: 0;
  letter-spacing: 0.02em;
  opacity: 0.9;
}

/* ---------- FLOATING CTA (Mobile) ---------- */
.floating-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  background: var(--surface-base-textured);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 16px rgba(0,0,0,.1);
  padding: 6px 8px;
  gap: 6px;
}

.floating-cta a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 4px;
  border-radius: var(--btn-radius-pill);
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  min-height: 48px;
  transition:
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.25s ease,
    filter 0.28s ease,
    background 0.3s ease;
}

.floating-cta__phone {
  background: var(--gradient-cta);
  color: var(--on-brand) !important;
  border: 1px solid rgba(46, 42, 31, .08);
  box-shadow:
    var(--btn-shadow-elev),
    var(--btn-shadow-elev-tight),
    0 3px 12px var(--cta-shadow);
}
.floating-cta__phone:hover {
  background: var(--gradient-cta-hover);
  filter: brightness(1.05);
  transform: translateY(-2px);
  box-shadow:
    var(--btn-shadow-hover),
    0 6px 20px rgba(180, 145, 40, 0.38);
}
.floating-cta__line {
  background: var(--line-green);
  color: #fff !important;
  box-shadow:
    var(--btn-shadow-elev),
    var(--btn-shadow-elev-tight),
    0 3px 12px rgba(6, 199, 85, 0.28);
}
.floating-cta__line:hover {
  background: var(--line-green-dark);
  filter: brightness(1.03);
  transform: translateY(-2px);
  box-shadow:
    var(--btn-shadow-hover),
    0 6px 18px rgba(6, 199, 85, 0.35);
}
.floating-cta__line .btn__icon-svg--line--floating {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}
.floating-cta__chat {
  background: var(--dark);
  color: #fff !important;
  box-shadow: var(--btn-shadow-elev), var(--btn-shadow-elev-tight);
}
.floating-cta__chat:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: var(--btn-shadow-hover);
}
.floating-cta a .lp-icon { color: inherit; }

@media (min-width: 768px) {
  .floating-cta { display: none; }
}

/* ---------- ANIMATIONS ---------- */
/* script.js が <html> に .js-ready を付与。未対応時はそのまま表示 */
/* 企業LPで多い「下からゆっくりフェードイン」に近い挙動 */
.js-ready .fade-in,
.js-ready .reveal-up {
  opacity: 0;
  -webkit-transform: translate3d(0, var(--reveal-y), 0);
  transform: translate3d(0, var(--reveal-y), 0);
  transition:
    opacity var(--reveal-duration) var(--reveal-ease),
    -webkit-transform var(--reveal-duration) var(--reveal-ease),
    transform var(--reveal-duration) var(--reveal-ease),
    filter var(--reveal-duration) var(--reveal-ease);
  will-change: opacity, transform;
}
.js-ready .fade-in.visible,
.js-ready .reveal-up.visible,
.fade-in.visible,
.reveal-up.visible {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  will-change: auto;
}

@media (min-width: 768px) {
  .js-ready .fade-in,
  .js-ready .reveal-up {
    filter: blur(6px);
  }
  /* 見出しタイプ演出と二重にならないよう、リード文ブロックだけブラーなし */
  .js-ready .hero__text--lead.reveal-up {
    filter: none;
  }
}

/* ヒーロー：テキスト→写真の順に少しずれて表示 */
.js-ready .hero__text--lead.reveal-up,
.js-ready .hero__text--tail.reveal-up { transition-delay: 0.05s; }
.js-ready .hero__media.reveal-up { transition-delay: 0.22s; }

/* お悩みカード：順にずらして表示 */
.js-ready .problems__grid .fade-in:nth-child(1) { transition-delay: 0s; }
.js-ready .problems__grid .fade-in:nth-child(2) { transition-delay: 0.12s; }
.js-ready .problems__grid .fade-in:nth-child(3) { transition-delay: 0.24s; }
.js-ready .problems__grid .fade-in:nth-child(4) { transition-delay: 0.36s; }
.js-ready .problems__grid .fade-in:nth-child(n + 5) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none !important;
    opacity: 0 !important;
    animation: none !important;
  }
  .hero__slide:first-child {
    opacity: 1 !important;
  }
  .hero__slide img,
  .hero__slide--active img {
    -webkit-animation: none !important;
    animation: none !important;
    -webkit-transform: none !important;
    transform: none !important;
    filter: none !important;
  }

  .js-ready .hero__title .hero__title-word {
    opacity: 1 !important;
    -webkit-animation: none !important;
    animation: none !important;
    -webkit-transform: none !important;
    transform: none !important;
  }

  .hero__scroll-cue__chev {
    -webkit-animation: none !important;
    animation: none !important;
  }

  .js-ready .fade-in,
  .js-ready .reveal-up {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
    filter: none !important;
    transition: none;
    will-change: auto;
  }

  .faq__item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .faq__question::after {
    transition: none;
  }
}
