@charset "UTF-8";

/* LP共通（型A：悩み型）
   スマホ基準。切り替えは768pxの1本。Webフォントは読み込まない。
   色は Instagram naoki_40mens の配色：生成り 70%／濃紺 25%／オレンジ 5%。
   オレンジは「押す場所」と「金額」と「決め所の1点」だけに使う。黄色は使わない。
   文字の強弱・カード・アイコンで見せる。文字はすべてHTML。 */

:root {
  --base: #faf6f0;
  --paper: #ffffff;
  --navy: #1b2a4a;
  --navy-2: #2a3b62;
  --navy-soft: #5c6a86;
  --ink: #232a36;
  --ink-soft: #5a6270;
  --line: #e7e0d4;
  --accent: #f5821e;
  --accent-dark: #d96a0a;
  --accent-soft: #fff3e6;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 6px 22px rgba(27, 42, 74, 0.09);
  --wrap: 680px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--base);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.02em;
  padding-bottom: 96px; /* 画面下の固定ボタンのぶん */
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

p { margin: 0 0 18px; }
strong { font-weight: 700; color: var(--navy); }
small { font-size: 12px; color: var(--ink-soft); font-weight: 400; }
a { color: var(--navy); }
svg { display: block; }

h1, h2, h3 { color: var(--navy); line-height: 1.5; letter-spacing: 0.03em; word-break: auto-phrase; text-wrap: balance; }
h1 { font-size: clamp(19px, calc((100vw - 40px) / 15.6), 26px); margin: 0 0 18px; }
h2 { font-size: 23px; margin: 0; font-weight: 800; }
h3 { font-size: 16px; margin: 0 0 8px; }
.center { text-align: center; }
.small { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

/* ---------- ファーストビュー ---------- */

.hero { background: var(--navy); color: #fff; padding: 22px 0 34px; }
.hero strong { color: #fff; }
.brand { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; margin-bottom: 22px; }
.brand__logo { display: block; height: 26px; width: auto; flex: none; }
.route { font-size: 13px; line-height: 1.7; padding: 10px 12px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: var(--radius-s); }
.lead { font-size: 15px; line-height: 1.85; margin-bottom: 14px; }
.notice { font-size: 12px; line-height: 1.8; margin: 0; opacity: 0.82; }

/* 写真の上に、ラベル・大きな見出し・帯を重ねる。帯の濃さは --bar-alpha で変えられる */
.hero--kv { padding-top: 0; }
.kv { position: relative; overflow: hidden; background: #f3efe3; }
.kv > img { display: block; width: 100%; height: auto; }
.kv::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 16%; background: linear-gradient(to bottom, rgba(27, 42, 74, 0) 0%, rgba(27, 42, 74, 0.8) 70%, var(--navy) 100%); }
.kv .brand { position: absolute; left: 16px; top: 2.2%; margin: 0; color: var(--navy); font-size: 12px; z-index: 2; }
.kv__label { position: absolute; left: 16px; top: 10.5%; z-index: 2; margin: 0; background: var(--navy); color: #fff; font-size: 3.2vw; font-weight: 700; letter-spacing: 0.04em; line-height: 1; padding: 1.7vw 3vw; border-radius: 999px; }
.kv h1 { position: static; margin: 0; }
.kv__big { position: absolute; left: 16px; top: 17.5%; z-index: 2; display: block; color: var(--navy); font-size: 11.6vw; line-height: 1.14; letter-spacing: 0.01em; font-weight: 900; }
.kv__sub { position: absolute; left: 16px; bottom: 4.5%; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 1.2vw; }
.bar { display: inline-block; background: rgba(27, 42, 74, var(--bar-alpha, 1)); color: #fff; font-size: 4.5vw; font-weight: 700; line-height: 1; letter-spacing: 0.01em; padding: 1.9vw 2.4vw 2vw; white-space: nowrap; }
.bar .mk { background: none; padding: 0 0 0.9vw; border-bottom: 0.7vw solid var(--accent); }
.mk { font-style: normal; background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%); padding: 0 2px; }
.hero--kv .wrap { padding-top: 16px; }
.hero--kv .cta { margin-top: 0; }

/* 見出しへの答え */
.answer { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 16px 16px 14px; margin: 0 0 18px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.answer__copy { font-size: 18px; font-weight: 800; line-height: 1.65; color: var(--navy); margin-bottom: 14px; word-break: auto-phrase; }
.hero .answer__copy strong { color: var(--accent-dark); }
.week { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.week li { display: grid; gap: 3px; text-align: center; }
.week small { display: block; font-size: 10px; line-height: 1; color: var(--ink-soft); }
.week span { display: grid; place-items: center; height: 34px; border-radius: 8px; background: var(--base); border: 1px solid var(--line); font-size: 9px; font-weight: 700; color: var(--ink-soft); letter-spacing: -0.04em; white-space: nowrap; }
.week li.is-on span { background: var(--accent); border-color: var(--accent); color: #fff; }
.week li.is-on small { color: var(--accent-dark); font-weight: 700; }
.reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.reasons li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.7; }
.reasons li svg { flex: none; width: 22px; height: 22px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--accent); color: #fff; }
.reasons strong { color: var(--navy); }
.kv--dark .brand, .kv--dark .kv__big { color: #fff; }
.kv--dark .kv__label { background: #fff; color: var(--navy); }
.kv--dark .bar { background: rgba(255, 255, 255, var(--bar-alpha, 0.95)); color: var(--navy); }
.answer__cap { font-size: 13px; line-height: 1.6; margin: 0; color: var(--ink-soft); }

/* 3つの安心：アイコンと大きな数字 */
.badges { list-style: none; margin: 26px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.badges li { background: var(--paper); color: var(--navy); border-radius: var(--radius); padding: 12px 4px 11px; text-align: center; display: grid; justify-items: center; gap: 2px; }
.badges__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--base); display: grid; place-items: center; margin-bottom: 3px; }
.badges__icon svg { width: 19px; height: 19px; }
.badges__icon--img { width: 40px; height: 40px; overflow: hidden; margin-bottom: 4px; }
.badges__icon--img img { display: block; width: 100%; height: 100%; }
.badges__small { font-size: 11px; font-weight: 700; line-height: 1.3; color: var(--navy-soft); }
.badges__big { font-size: 26px; font-weight: 900; line-height: 1.1; letter-spacing: 0; white-space: nowrap; }
.badges__big small { font-size: 12px; font-weight: 800; color: var(--navy); margin-left: 1px; }

/* ---------- ボタン ---------- */

.cta { margin: 28px 0 0; text-align: center; position: relative; }
/* ボタンが見えたときの一度だけの動き：指が右下から入ってボタンを押し、ボタンが沈んで戻る */
.cta__hand { position: absolute; right: 9%; top: 24px; width: 34px; height: 38px; opacity: 0; pointer-events: none; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.25)); }
.cta__hand svg { display: block; width: 100%; height: 100%; }
.cta.is-seen .cta__hand { animation: cta-hand 1.5s ease-out 0.3s 1 both; }
.cta.is-seen .cta__button { animation: cta-press 1.5s ease-out 0.3s 1 both; }
@keyframes cta-hand {
  0% { opacity: 0; transform: translate(34px, 46px) rotate(-8deg); }
  30% { opacity: 1; transform: translate(0, 0) rotate(0); }
  42% { transform: translate(0, 4px); }
  54% { transform: translate(0, 0); }
  80% { opacity: 1; transform: translate(0, 0); }
  100% { opacity: 0; transform: translate(10px, 18px); }
}
@keyframes cta-press {
  0%, 36% { transform: none; }
  44% { transform: translateY(4px); box-shadow: 0 0 0 var(--accent-dark), 0 4px 10px rgba(217, 106, 10, 0.3); }
  56% { transform: none; }
  68% { transform: scale(1.03); }
  80%, 100% { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cta.is-seen .cta__hand, .cta.is-seen .cta__button { animation: none; } }
.cta__button {
  display: block; position: relative;
  background: linear-gradient(180deg, #ff9a3d 0%, var(--accent) 100%);
  color: #fff; font-weight: 800; font-size: 17px; line-height: 1.4; letter-spacing: 0.01em; text-decoration: none; text-wrap: balance;
  padding: 17px 40px 17px 18px; border-radius: 999px;
  box-shadow: 0 4px 0 var(--accent-dark), 0 10px 22px rgba(217, 106, 10, 0.3);
}
.cta__button::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; margin-top: -5px; border-top: 3px solid #fff; border-right: 3px solid #fff; transform: rotate(45deg); }
.cta__button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-dark); }
.cta__note { font-size: 13px; font-weight: 700; margin: 12px 0 0; line-height: 1.7; }
.cta__more { font-size: 13px; margin: 8px 0 0; }
.cta__more a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta__more a::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); vertical-align: 2px; }
.section--close .cta__more a { color: #fff; }
.options--hero { margin: 30px 0 6px; color: var(--ink); }
.options--hero .cta__note { color: var(--ink); }
.options--hero .option--primary { border-color: #fff; }
.options--hero .option--primary .option__tag { border-color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  padding: 10px 16px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -6px 20px rgba(27, 42, 74, 0.12);
  border-radius: 18px 18px 0 0;
  transform: translateY(110%); transition: transform 0.25s;
}
.sticky.is-on { transform: none; }
.sticky .cta__button { max-width: var(--wrap); margin: 0 auto; padding: 13px 40px 13px 18px; font-size: 16px; text-align: center; }
.sticky__note { margin: 6px 0 0; text-align: center; font-size: 11px; font-weight: 700; color: var(--navy-soft); line-height: 1.4; }

/* ---------- セクション ---------- */

.section { padding: 52px 0; background: var(--paper); }
.section--tint { background: var(--base); }

.head { text-align: center; margin: 0 0 26px; }
.head__en { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: 0.22em; color: var(--accent-dark); line-height: 1; }
.head__en::before, .head__en::after { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }

.photo { margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; background: #f2ede1; box-shadow: var(--shadow); }
.photo img { display: block; width: 100%; height: auto; }
.photo--overlay { position: relative; }
/* 図の上に置く短い文字（位置は % で指定。中央ぞろえ） */
.photo__label { position: absolute; transform: translateX(-50%); margin: 0; text-align: center; color: var(--navy); font-size: calc(3.9vw * var(--ov, 1)); font-weight: 800; line-height: 1.35; white-space: nowrap; }
.photo__label--small { font-size: calc(2.9vw * var(--ov, 1)); font-weight: 600; color: var(--ink-soft); }
.photo__label--accent { color: var(--accent-dark); }
.photo__overlay--white { color: #fff !important; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.photo__overlay { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); margin: 0; text-align: left; color: var(--navy); font-size: calc(4.9vw * var(--ov, 1)); font-weight: 800; line-height: 1.5; letter-spacing: 0.01em; white-space: nowrap; }

/* できること4つ */
.four { list-style: none; margin: 24px 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.four li {
  border-radius: var(--radius-s); background: var(--base); color: var(--navy-soft);
  text-align: center; font-weight: 800; font-size: 14px; line-height: 1.3;
  padding: 12px 2px 10px; display: grid; justify-items: center; align-content: start; gap: 6px; min-height: 86px;
}
.four li svg { width: 26px; height: 26px; }
.four__img { display: block; width: 44px; height: 44px; border-radius: 50%; }
.four li.is-on { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(27, 42, 74, 0.28); transform: translateY(-4px); }
.four li small { color: inherit; opacity: 0.85; font-size: 10px; font-weight: 700; margin-top: -4px; }

/* 補足の箱とチェックリスト */
.note { border-radius: var(--radius); background: var(--base); padding: 18px 18px 6px; margin: 24px 0; }
.section--tint .note { background: var(--paper); box-shadow: var(--shadow); }
.note h3 { margin-bottom: 12px; }
.note p { font-size: 15px; line-height: 1.85; margin-bottom: 12px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.75; margin-bottom: 12px; }
.checks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--navy); color: #fff; margin-top: 2px; stroke-width: 2.6; }

/* ---------- 選択肢 ---------- */

.options { list-style: none; margin: 26px 0 18px; padding: 0; display: grid; gap: 18px; }
.option { position: relative; background: var(--paper); border-radius: var(--radius); padding: 30px 18px 18px; box-shadow: var(--shadow); }
.option p { font-size: 15px; line-height: 1.8; margin-bottom: 10px; }
.option--primary { border: 2px solid var(--navy); padding-bottom: 22px; }
.option__tag {
  position: absolute; left: 14px; top: -13px; margin: 0 !important;
  background: var(--paper); border: 1.5px solid var(--navy-soft); color: var(--navy);
  font-size: 13px !important; font-weight: 800; line-height: 1 !important; padding: 6px 14px; border-radius: 999px;
}
.option--primary .option__tag { background: var(--navy); border-color: var(--navy); color: #fff; }
.option__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.option__head h3 { margin: 0; font-size: 19px; font-weight: 800; }
.option__icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--base); color: var(--navy); display: grid; place-items: center; }
.option__icon svg { width: 26px; height: 26px; }
.option--primary .option__icon { background: var(--navy); color: #fff; }
/* 商品画像のスライド：横にスクロールして1枚ずつ止まる。点と矢印でも送れる */
.slides { position: relative; margin: 0 0 16px; }
.slides__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-s); background: #fff; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.slides__track::-webkit-scrollbar { display: none; }
.slides__track:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.slides__track figure { flex: 0 0 100%; margin: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.slides__track img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
.slides__btn { position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -26px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.92); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); cursor: pointer; padding: 0; }
.slides__btn::before { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; margin: -5px 0 0 -3px; border-top: 2.5px solid var(--navy); border-right: 2.5px solid var(--navy); transform: rotate(45deg); }
.slides__btn--prev { left: 8px; }
.slides__btn--prev::before { margin-left: -6px; transform: rotate(-135deg); }
.slides__btn--next { right: 8px; }
.slides__dots { list-style: none; margin: 10px 0 0; padding: 0; display: flex; justify-content: center; gap: 8px; }
.slides__dots li { width: 8px; height: 8px; border-radius: 50%; background: var(--line); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.slides__dots li.is-on { background: var(--navy); transform: scale(1.25); }
.option__price { font-weight: 800; color: var(--navy); background: var(--base); border-radius: var(--radius-s); padding: 10px 12px; margin-top: 14px !important; }
.option__link { margin: 4px 0 0 !important; font-weight: 700; }
.option .cta { margin-top: 18px; }
.option .cta__button { font-size: 15px; padding: 16px 36px 16px 14px; }
.option .cta__button::after { right: 14px; }
.nb { white-space: nowrap; }
.price { color: var(--accent-dark); font-size: 1.35em; font-weight: 900; letter-spacing: 0; }

/* ---------- 金額 ---------- */

.total { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px 16px 18px; text-align: center; margin: 22px 0 14px; box-shadow: 0 10px 26px rgba(27, 42, 74, 0.25); }
.total__label { font-size: 13px; font-weight: 700; line-height: 1.6; margin: 0 0 4px; opacity: 0.9; }
.total__price { font-size: 46px; font-weight: 900; line-height: 1.15; letter-spacing: 0; margin: 0 0 12px; color: #fff; }
.total__price small { font-size: 13px; color: #fff; font-weight: 700; opacity: 0.9; }
.total__chips { list-style: none; margin: 0 0 12px; padding: 0; display: flex; justify-content: center; gap: 8px; }
.total__chips li { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; padding: 7px 12px; }
.total__chips b { font-size: 15px; font-weight: 900; margin-left: 6px; }
.total__note { font-size: 13px; font-weight: 700; margin: 0; line-height: 1.6; }

.prices { width: 100%; border-collapse: collapse; margin: 0 0 26px; font-size: 14px; }
.prices th, .prices td { border-bottom: 1px solid var(--line); padding: 13px 4px; vertical-align: middle; text-align: left; line-height: 1.55; }
.prices th { font-weight: 700; color: var(--navy); }
.prices th small { display: block; margin-top: 2px; }
.prices td { text-align: right; white-space: nowrap; font-weight: 900; font-size: 18px; color: var(--navy); letter-spacing: 0; }
.after { font-size: 15px; line-height: 1.85; background: var(--base); border-left: 4px solid var(--navy); border-radius: 0 var(--radius-s) var(--radius-s) 0; padding: 12px 14px; margin-bottom: 12px; }

/* ---------- 流れ ---------- */

.steps { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 22px; }
.steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; background: var(--paper); border-radius: var(--radius); padding: 14px 14px 14px 12px; box-shadow: var(--shadow); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -17px; margin-left: -8px; border: 8px solid transparent; border-top: 10px solid var(--navy-soft); border-bottom: 0; opacity: 0.55; }
.steps__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; }
.steps__icon svg { width: 25px; height: 25px; }
.steps__no { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: 0.14em; color: var(--accent-dark); line-height: 1.4; }
.steps b { display: block; color: var(--navy); font-size: 16px; font-weight: 800; line-height: 1.5; margin-bottom: 2px; }
.steps div > span { display: block; font-size: 14px; line-height: 1.75; }

/* ---------- 副作用 ---------- */

.risk { border-radius: var(--radius); background: var(--base); padding: 16px 18px 4px; margin: 0 0 12px; }
.risk p { font-size: 15px; line-height: 1.85; }
.risk--serious { background: var(--accent-soft); border: 1.5px solid #f3c79c; }
.risk--serious h3 { color: #a14a00; }

/* ---------- 折りたたみ ---------- */

details summary { cursor: pointer; list-style: none; position: relative; font-weight: 700; color: var(--navy); line-height: 1.7; }
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(45deg); transition: transform 0.15s;
}
details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }

.more { border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--paper); margin: 22px 0 16px; }
.more summary { padding: 15px 40px 15px 16px; font-size: 15px; }
.more[open] summary { border-bottom: 1px solid var(--line); }
.more__body { padding: 16px; font-size: 14px; line-height: 1.85; }
.more__body p { margin-bottom: 14px; }
/* 治療内容・費用・副作用の全文（開いて読む）。見出しは本文と同じ大きさ */
.discs { margin: 18px 0 0; }
.disc summary { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.disc summary::before { content: "＋"; display: inline-block; width: 1.3em; color: var(--accent); font-weight: 800; }
.disc[open] summary::before { content: "－"; }
.disc .more__body { font-size: 14px; }
.disc .more__body h4 { font-size: 15px; color: var(--navy); margin: 6px 0 14px; }
.disc .more__body h5 { font-size: 14px; color: var(--navy); margin: 18px 0 8px; }
.more-link { margin: 4px 0 20px; font-size: 15px; line-height: 1.8; }
.more-link a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.risk__drug { font-size: 17px; color: var(--navy); margin: 28px 0 12px; padding-left: 12px; border-left: 4px solid var(--accent); }
/* WHY の前書きの統計 */
.stat { border-radius: var(--radius); background: var(--base); padding: 16px 18px 10px; margin: 0 0 22px; text-align: center; }
.stat__text { font-size: 17px; font-weight: 800; color: var(--navy); line-height: 1.7; margin-bottom: 6px; }
.stat .small { margin: 0; }
/* 薬の枠の中の詳しい話 */
.option__detail { margin: 16px 0 6px; padding: 14px 14px 2px; border-radius: var(--radius-s); background: var(--base); }
.option--detail { padding-top: 18px; }
.option--detail .option__detail { margin: 0; }
.option__detail h4 { font-size: 16px; color: var(--navy); margin-bottom: 10px; }
.option__detail .photo { margin: 12px 0 14px; box-shadow: none; }
.option__detail .small { margin-bottom: 12px; }
/* 問い合わせ先：本文と同じ大きさ */
.foot__contact { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.85; color: var(--ink); }
.foot__contact h2 { font-size: 15px; color: var(--navy); margin: 0 0 6px; }
.foot__contact p { margin-bottom: 4px; }
.foot__sources { margin-top: 20px; font-size: 13px; }
.foot__sources h2 { font-size: 14px; margin: 0 0 8px; }
.foot__sources ul { list-style: none; padding: 0; }
.foot__sources li { margin-bottom: 10px; line-height: 1.7; }
.foot__sources a { color: var(--ink-soft); word-break: break-all; }
/* 引用（添付文書の文言など） */
.quote { border-left: 4px solid var(--accent); background: var(--base); padding: 12px 14px; border-radius: 0 var(--radius-s) var(--radius-s) 0; font-weight: 700; color: var(--navy); margin: 0 0 16px; }
/* 薬の比較表 */
.compare { margin: 6px 0 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-s); background: var(--paper); box-shadow: var(--shadow); }
.compare table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 13px; line-height: 1.5; }
.compare th, .compare td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }
.compare thead th:first-child { background: var(--navy); }
.compare tbody th { background: var(--base); color: var(--navy); font-weight: 800; white-space: nowrap; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
/* 試験で分かっていること（薬の枠の中） */
.trial { margin: 14px 0 6px; padding: 14px 14px 4px; border-radius: var(--radius-s); background: var(--base); }
.trial h4 { font-size: 15px; color: var(--navy); margin-bottom: 10px; }
.trial p { font-size: 14px; line-height: 1.8; margin-bottom: 8px; }
.trial .small { font-size: 12px; }
/* 絵の仮枠 */
.photo--placeholder { border: 2px dashed var(--line); background: var(--base); box-shadow: none; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary { display: flex; gap: 12px; align-items: flex-start; padding: 15px 40px 15px 14px; font-size: 15px; }
.faq__q img { display: block; width: 100%; height: 100%; border-radius: 50%; }
.faq__q { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 13px; font-weight: 900; line-height: 26px; text-align: center; letter-spacing: 0; }
.faq details p { font-size: 15px; margin: 0; padding: 0 16px 18px 52px; }

/* ---------- 最後の呼びかけ ---------- */

.section--close { background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%); color: #fff; text-align: center; padding: 56px 0 60px; }
.section--close h2 { color: #fff; font-size: 24px; margin-bottom: 14px; }
.section--close p { font-size: 15px; }
.assure { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.assure li { display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; font-size: 14px; font-weight: 800; line-height: 1; padding: 11px 14px; }
.assure svg { width: 18px; height: 18px; color: var(--accent); stroke-width: 3; }
.section--close .cta__note { color: #fff; }

/* ---------- フッター ---------- */

.foot { background: var(--paper); padding: 36px 0 28px; font-size: 13px; line-height: 1.85; color: var(--ink-soft); }
.foot h2 { font-size: 14px; margin: 22px 0 8px; }
.foot h2:first-child { margin-top: 0; }
.foot p { margin-bottom: 8px; }
.foot ul { margin: 0 0 8px; padding-left: 1.2em; }
.foot li { margin-bottom: 6px; }
.foot__links { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot__copy { margin-top: 14px; font-size: 12px; }

@media (min-width: 768px) {
  body { font-size: 17px; padding-bottom: 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 28px; }
  .hero { padding: 36px 0 48px; }
  .section { padding: 72px 0; }
  /* PC：ボタンは全部 600px（薬の枠の中のボタンと同じ幅） */
  .cta__button { display: block; max-width: 600px; margin-left: auto; margin-right: auto; }
  /* PC：左に画像、右に説明。ボタンは両方の列にまたがる */
  .option.has-gallery { display: grid; grid-template-columns: 290px 1fr; gap: 0 24px; align-items: start; padding-top: 32px; }
  .option.has-gallery .slides { margin: 0; grid-column: 1; grid-row: 1 / span 4; }
  .option.has-gallery .option__body { display: contents; }
  .option.has-gallery .option__body > * { grid-column: 2; }
  .option.has-gallery .cta { grid-column: 1 / -1; margin-top: 22px; }
  .option.has-gallery .option__detail { grid-column: 1 / -1; }
  .option--detail .option__detail { padding: 18px 18px 6px; }
  .option.has-gallery .cta__button { font-size: 17px; padding: 17px 40px 17px 18px; }
  .sticky { display: none; }
  .kv { max-width: var(--wrap); margin: 0 auto; }
  .brand__logo { height: 34px; }
  .kv .brand { font-size: 15px; left: 28px; }
  .kv__label { left: 28px; font-size: 20px; padding: 10px 18px; }
  .kv__big { left: 28px; font-size: 78px; }
  .kv__sub { left: 28px; gap: 8px; }
  .bar { font-size: 30px; padding: 13px 16px; }
  .bar .mk { padding-bottom: 6px; border-bottom-width: 5px; }
  .answer { padding: 22px 24px 20px; }
  .answer__copy { font-size: 22px; }
  .week span { height: 44px; font-size: 13px; }
  .week small { font-size: 12px; }
  .badges__big { font-size: 34px; }
  .four li { font-size: 17px; min-height: 104px; }
  .four__img { width: 56px; height: 56px; }
  .photo__overlay { font-size: calc(30px * var(--ov, 1)); }
  .photo__label { font-size: calc(24px * var(--ov, 1)); }
  .photo__label--small { font-size: calc(17px * var(--ov, 1)); }
  .cta__hand { right: calc(50% - 270px); }
  .total__price { font-size: 60px; }
  .assure { grid-template-columns: repeat(3, 1fr); }
}
/* ファーストビューで薬の枠を先に出したとき（hero.top_card_first）、注意書きのあとのボタンに間をあける */
.hero--kv .notice + .cta { margin-top: 28px; }

/* LINE公式アカウントへのリンク（spec.line）。右下に固定。画面下の固定ボタンが出ているときは、その上へ逃がす */
.line-float { position: fixed; right: 12px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 21; display: block; width: 84px; height: 84px; border-radius: 18px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); transition: bottom 0.25s, transform 0.15s; }
.line-float img { display: block; width: 100%; height: 100%; }
.line-float:active { transform: scale(0.96); }
.line-float { transition: bottom 0.25s, transform 0.25s, opacity 0.25s; }
.line-float.is-tucked { transform: translateX(72%); opacity: 0.8; }
.sticky.is-on ~ .line-float { bottom: calc(112px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) { .line-float { right: 24px; bottom: 24px; width: 104px; height: 104px; } .sticky.is-on ~ .line-float { bottom: 120px; } }

/* ---------- バーガーメニュー（spec.menu があるLPだけ） ---------- */
/* 右上に固定の三本線。色は見出しの文字色（テーマで変わる）。PCでは本文の幅に合わせて内側に寄せる */
.menu-btn { position: fixed; top: 10px; right: 12px; z-index: 30; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: rgba(255, 255, 255, 0.85); box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12); cursor: pointer; }
.menu-btn span { position: absolute; left: 12px; width: 20px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform 0.2s, opacity 0.2s; }
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 28px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-back { position: fixed; inset: 0; z-index: 28; background: rgba(0, 0, 0, 0.35); }
.menu-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 29; width: min(80vw, 340px); overflow-y: auto; background: var(--paper); color: var(--ink); box-shadow: -8px 0 30px rgba(0, 0, 0, 0.18); padding: 56px 18px 22px; animation: menu-in 0.25s ease-out; }
@keyframes menu-in { from { transform: translateX(30px); opacity: 0; } to { transform: none; opacity: 1; } }
.menu-list { list-style: none; margin: 0 0 14px; padding: 0; }
.menu-list li { border-bottom: 1px solid var(--line); }
.menu-list a { display: block; padding: 11px 4px; font-size: 16px; font-weight: 700; color: var(--navy); text-decoration: none; }
.menu-card { display: flex; gap: 10px; align-items: flex-start; background: var(--base); border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; margin: 0 0 8px; }
.menu-card__img { flex: none; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #fff; }
.menu-card__body { min-width: 0; }
.menu-card__name { margin: 0 0 4px; font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.4; }
.menu-card__line { margin: 0; font-size: 12px; line-height: 1.6; color: var(--ink); }
.menu-card__line .price { font-size: 1.15em; }
.menu-card__note { margin: 0 0 10px; font-size: 12px; line-height: 1.6; color: var(--ink-soft); }
.menu-more { display: block; margin: 0 0 12px; font-size: 13px; font-weight: 700; color: var(--link); text-align: center; }
.menu-cta { display: block; margin: 0; font-size: 14px; padding: 15px 34px 15px 12px; }
.menu-cta::after { right: 14px; }
.menu-note { font-size: 12px; font-weight: 700; text-align: center; color: var(--ink-soft); margin: 8px 0 10px; line-height: 1.6; }
.menu-line { display: block; text-align: center; padding: 12px; border-radius: 999px; background: #06c755; color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
.menu-foot { display: block; margin-top: 16px; font-size: 12px; color: var(--ink-soft); text-align: center; }
/* 開いている間は、後ろをスクロールさせず、画面下の固定ボタンとLINEの絵を隠す */
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open .sticky, html.menu-open .line-float { visibility: hidden; }
/* メニューから飛んだとき、見出しが画面の上端に貼り付かないように */
.section, .section--close { scroll-margin-top: 16px; }
@media (min-width: 768px) {
  .menu-btn { right: max(12px, calc(50% - 340px + 12px)); top: 14px; }
  /* PCではボタンの下に出る吹き出し（本文の幅に寄せる） */
  .menu-panel { top: 70px; bottom: auto; right: max(12px, calc(50% - 340px + 12px)); width: 340px; max-height: calc(100vh - 90px); border-radius: 16px; padding: 22px 22px 24px; box-shadow: 0 12px 36px rgba(0, 0, 0, 0.2); }
  @keyframes menu-in { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { .menu-panel { animation: none; } }
