/* えらべるナビ 記事LP：紺×えんじ×生成り、明朝の見出し（design/fv_chosen_v4.png ほか準拠） */
:root {
  --navy: #0f2545;
  --navy-2: #1d3a66;
  --enji: #852830;
  --paper: #faf6ef;
  --white: #ffffff;
  --green: #2e8633;
  --green-dark: #23692a;
  --ink: #1b2230;
  --muted: #646b78;
  --rule: #d8d2c6;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #e8e4dc; color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; letter-spacing: .03em; font-feature-settings: "palt" 1; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .catch { text-wrap: balance; word-break: auto-phrase; }
a:focus-visible, button:focus-visible { outline: 3px solid #e7b34a; outline-offset: 2px; }

.page { max-width: 600px; margin: 0 auto; background: var(--paper); padding-bottom: 84px; box-shadow: 0 0 30px rgba(15,37,69,.08); }
.in { padding: 0 20px; }

/* ヘッダーとPR */
.head { display: flex; align-items: center; justify-content: space-between; background: var(--white); padding: 10px 20px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--navy); text-decoration: none; letter-spacing: .06em; }
.pr { font-family: var(--serif); font-weight: 700; color: var(--enji); font-size: 15px; }
.pr-note { background: var(--white); border-top: 1px solid var(--rule); color: var(--muted); font-size: 11px; line-height: 1.6; padding: 6px 20px 8px; margin: 0; }

/* FV（画像） */
.fv { display: block; background: var(--white); }
.fv img { width: 100%; }
.fv-cta { background: var(--white); padding: 4px 20px 18px; }
.fv-notes { margin: 10px 0 0; font-size: 10.5px; line-height: 1.6; color: var(--muted); }

/* CTA（平たい緑） */
.cta {
  display: flex; align-items: center; justify-content: center; gap: 14px; position: relative;
  min-height: 60px; padding: 12px 52px; border-radius: 4px; background: var(--green); color: #fff;
  text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 20px; letter-spacing: .1em; line-height: 1.4; text-align: center;
}
.cta::after { content: "→"; position: absolute; right: 20px; font-family: var(--sans); font-weight: 400; font-size: 22px; }
.cta:hover { background: var(--green-dark); }
.cta small { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: .04em; font-weight: 400; opacity: .9; }
.cta-sub { text-align: center; font-size: 11px; color: var(--muted); margin: 8px 0 0; }

/* 見出し（明朝＋英字ラベル＋えんじの罫線） */
.sec { padding: 48px 0 8px; }
.eyebrow { display: block; font-family: var(--serif); font-weight: 700; color: var(--enji); font-size: 15px; letter-spacing: .06em; margin: 0 0 2px; }
.h2 { font-family: var(--serif); font-weight: 700; font-size: 27px; line-height: 1.45; color: var(--navy); margin: 0 0 24px; padding-bottom: 14px; border-bottom: 2px solid var(--enji); letter-spacing: .04em; }
.h2.center { text-align: center; }
p { margin: 0 0 16px; }
.mk { background: linear-gradient(transparent 64%, rgba(133,40,48,.16) 64%); font-weight: 700; }
.note { font-size: 12px; color: var(--muted); line-height: 1.7; }

/* 悩み */
.worries { list-style: none; margin: 0 0 18px; padding: 0; }
.worries li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--rule); font-size: 17px; line-height: 1.6; }
.worries li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; background: var(--enji); }
.lead-out { font-family: var(--serif); font-weight: 700; font-size: 19px; color: var(--navy); text-align: center; line-height: 1.7; margin: 24px 0 0; }

/* 理由 */
.reasons { border-top: 1px solid var(--rule); }
.reason { display: grid; grid-template-columns: 56px 1fr; gap: 0 16px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.reason .no { font-family: var(--serif); font-weight: 700; color: var(--enji); font-size: 58px; line-height: 1; padding-right: 14px; border-right: 1px solid var(--rule); text-align: center; }
.reason h3 { font-size: 19px; line-height: 1.5; margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.reason p { font-size: 15px; margin: 0; color: #343b48; }
.reason .photo { float: right; width: 96px; margin: 0 0 6px 12px; }

/* 比較表 */
table.vs { width: 100%; border-collapse: collapse; background: var(--white); font-size: 15px; line-height: 1.5; margin: 0 0 10px; }
.vs th, .vs td { border: 1px solid #b9b2a5; padding: 12px 8px; text-align: center; vertical-align: middle; }
.vs thead th { font-weight: 700; background: var(--paper); }
.vs thead th.hot { background: var(--navy); color: #fff; }
.vs tbody th { text-align: left; font-weight: 700; width: 34%; padding-left: 12px; }
.vs .m { display: block; font-size: 26px; line-height: 1.1; }
.vs .hot-c .m { color: var(--enji); }
.vs td:not(.hot-c) .m { color: var(--navy); }
.vs small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* おすすめカード */
.card { background: var(--white); border: 1px solid var(--rule); margin: 0 0 8px; }
.card-head { background: var(--navy); color: #fff; text-align: center; padding: 14px 12px 12px; }
.card-head h3 { font-family: var(--serif); font-weight: 700; font-size: 32px; letter-spacing: .08em; line-height: 1.3; margin: 0; }
.card-head p { margin: 2px 0 0; font-family: var(--serif); font-size: 14px; letter-spacing: .06em; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 6px 14px; border-bottom: 1px solid var(--rule); }
.stat { text-align: center; padding: 0 4px; }
.stat + .stat { border-left: 1px solid var(--rule); }
.stat small { display: block; font-family: var(--serif); font-weight: 700; font-size: 12px; line-height: 1.4; }
.stat small sup { font-weight: 400; color: var(--muted); }
.stat strong { display: block; font-family: var(--serif); font-weight: 700; color: var(--enji); font-size: clamp(22px, 6.4vw, 30px); line-height: 1.25; white-space: nowrap; }
.stat strong span { font-size: .62em; }
.feats { list-style: none; margin: 0; padding: 0 16px; }
.feats li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.feats b { display: block; font-family: var(--serif); font-size: 18px; color: var(--ink); line-height: 1.5; }
.feats span { font-size: 14px; color: #3d4452; line-height: 1.7; }
.info { width: calc(100% - 32px); margin: 16px; border-collapse: collapse; font-size: 14px; }
.info th, .info td { border: 1px solid #b9b2a5; padding: 7px 12px; text-align: left; font-weight: 400; }
.info th { width: 34%; background: var(--paper); }
.fit { margin: 0 16px 16px; padding: 12px 14px; background: var(--paper); font-size: 14px; line-height: 1.8; }
.fit b { font-family: var(--serif); color: var(--navy); }
.fit ul { margin: 4px 0 0; padding-left: 1.2em; }
.card .cta-box { padding: 0 16px 18px; }

/* 診断 */
.quiz-sec { background: var(--navy); color: #fff; padding: 40px 20px 28px; margin-top: 48px; }
.quiz-sec .h2q { font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.45; text-align: center; margin: 0 0 18px; letter-spacing: .04em; }
.quiz-sec .h2q small { display: block; font-size: 15px; color: #d9c7a4; letter-spacing: .1em; }
.quiz-progress { display: flex; gap: 8px; margin: 0 0 18px; }
.quiz-progress i { flex: 1; height: 4px; background: rgba(255,255,255,.28); }
.quiz-progress i.on { background: #fff; }
.quiz-q { font-family: var(--serif); font-weight: 700; font-size: 20px; text-align: center; margin: 0 0 14px; }
.choices { display: grid; gap: 10px; }
.choice { width: 100%; font: inherit; font-weight: 700; font-size: 16px; color: #fff; background: transparent; border: 1.5px solid #fff; border-radius: 4px; padding: 12px; cursor: pointer; line-height: 1.5; }
.choice:hover { background: rgba(255,255,255,.1); }
.quiz-result { display: none; background: var(--paper); color: var(--ink); padding: 20px 16px; }
.quiz-result.show { display: block; }
.quiz-result .lbl { display: block; text-align: center; font-family: var(--serif); color: var(--enji); font-weight: 700; font-size: 14px; letter-spacing: .1em; }
.quiz-result h3 { font-family: var(--serif); font-size: 21px; color: var(--navy); text-align: center; margin: 4px 0 12px; line-height: 1.5; }
.quiz-result p { font-size: 15px; }
.quiz-reset { display: block; margin: 12px auto 0; font: inherit; font-size: 13px; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; }
.quiz-sec .note { color: #c4cbd8; margin: 12px 0 0; }

/* 流れ */
.flow { list-style: none; margin: 0 0 8px; padding: 0; }
.flow li { display: grid; grid-template-columns: 34px 1fr; gap: 0 18px; position: relative; padding-bottom: 18px; }
.flow li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--navy); }
.flow .n { width: 34px; height: 34px; background: var(--navy); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 18px; display: grid; place-items: center; position: relative; }
.flow b { display: block; font-size: 18px; line-height: 1.5; padding: 3px 0 2px; border-bottom: 1px solid var(--rule); }
.flow p { margin: 6px 0 0; font-size: 14px; color: #3d4452; line-height: 1.7; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 30px 1fr 20px; gap: 12px; align-items: start; padding: 16px 0; font-weight: 700; font-size: 16px; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { width: 30px; height: 30px; background: var(--enji); color: #fff; font-family: var(--serif); font-weight: 700; display: grid; place-items: center; }
.faq summary::after { content: "＋"; color: var(--enji); text-align: right; }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 0 16px 42px; font-size: 15px; color: #343b48; }

/* まとめ */
.final { background: var(--navy); color: #fff; margin-top: 52px; padding: 28px 20px 24px; }
.final-body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 8px; }
.final-body img { width: 100%; max-width: 250px; }
.final .vert { writing-mode: vertical-rl; font-family: var(--serif); font-weight: 700; font-size: clamp(30px, 8.5vw, 40px); line-height: 1.5; letter-spacing: .08em; margin: 0 6px 0 0; align-self: start; }
.final p { font-size: 14px; color: #dfe4ec; margin: 16px 0 16px; }
.final .cta-sub { color: #b6bfce; }

/* 注記とフッター */
.notes { padding: 24px 20px 8px; font-size: 11px; line-height: 1.75; color: var(--muted); }
.notes p { margin: 0 0 6px; }
.foot { background: var(--navy); color: #c4cbd8; font-size: 12px; text-align: center; padding: 16px 20px 20px; border-top: 1px solid rgba(255,255,255,.18); }
.foot nav { display: flex; justify-content: center; gap: 6px 24px; flex-wrap: wrap; margin-bottom: 6px; }
.foot a { color: #fff; text-decoration: none; }
.foot p { margin: 0; }

/* 追従CTA */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(250,246,239,.97); border-top: 1px solid var(--rule); transform: translateY(110%); transition: transform .25s ease; }
.sticky.show { transform: none; }
.sticky .cta { max-width: 576px; margin: 0 auto; min-height: 52px; font-size: 17px; }
@media (prefers-reduced-motion: reduce) { .sticky { transition: none; } }
