/* ============================================================
   実家の片付け帖 — style.css
   親の病気や看取りのさなかに読まれることを前提に、
   「静かで、読みやすく、急かさない」紙のノートのような見た目にしています。
   ・文字は大きめ（本文17px）、行間は広め
   ・色は生成りの紙・墨・くすんだ緑。強い色は使わない
   ・見出しは明朝、本文はゴシック
   ============================================================ */

:root {
  --bg: #f6f3ec;
  --paper: #fffdf8;
  --paper-2: #f1ece2;
  --ink: #2d2b27;
  --ink-2: #4a463f;
  --muted: #736d62;
  --line: #e2dbcc;
  --line-2: #ece6da;
  --primary: #3f5b58;
  --primary-hover: #34504d;
  --primary-ink: #ffffff;
  --primary-soft: #e6edea;
  --link: #3a6460;
  --accent: #a2673f;
  --accent-soft: #f3e8dc;
  --sage: #5f7552;
  --sage-soft: #e9eee2;
  --rose: #94513f;
  --rose-soft: #f5e6e0;
  --gold-soft: #f5eedb;
  --glow: #f1dfc2;
  --shadow: 0 1px 2px rgba(70, 55, 30, .05), 0 6px 20px rgba(70, 55, 30, .05);
  --radius: 12px;
  --wrap: 1060px;
  --read: 720px;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1d1b;
    --paper: #242623;
    --paper-2: #2b2d29;
    --ink: #ebe6db;
    --ink-2: #d4cec1;
    --muted: #a59f92;
    --line: #3a3c37;
    --line-2: #30322e;
    --primary: #8fb5ae;
    --primary-hover: #a3c4be;
    --primary-ink: #142120;
    --primary-soft: #27332f;
    --link: #9fc6bf;
    --accent: #d6a07a;
    --accent-soft: #3a2f26;
    --sage: #aac298;
    --sage-soft: #29321f;
    --rose: #e3a593;
    --rose-soft: #3b2b26;
    --gold-soft: #353020;
    --glow: #a07a4e;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .22);
  }
}
:root[data-theme="dark"] {
  --bg: #1c1d1b; --paper: #242623; --paper-2: #2b2d29; --ink: #ebe6db; --ink-2: #d4cec1;
  --muted: #a59f92; --line: #3a3c37; --line-2: #30322e; --primary: #8fb5ae; --primary-hover: #a3c4be;
  --primary-ink: #142120; --primary-soft: #27332f; --link: #9fc6bf; --accent: #d6a07a;
  --accent-soft: #3a2f26; --sage: #aac298; --sage-soft: #29321f; --rose: #e3a593;
  --rose-soft: #3b2b26; --gold-soft: #353020; --glow: #a07a4e;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .22);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.85;
  letter-spacing: .02em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
img, svg { max-width: 100%; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.5; letter-spacing: .04em; color: var(--ink); }
h1, h2, h3, h4, .step h5, .faq summary, .contents .t { word-break: auto-phrase; text-wrap: pretty; }
strong, b { font-weight: 700; }
small { font-size: .86em; }
.nb { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.read { max-width: var(--read); margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .wrap, .read { padding: 0 16px; } }

/* ---------- PR表記 ---------- */
.pr-bar {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  padding: 6px 16px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-2);
  line-height: 1.6;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo span { font-family: var(--serif); font-weight: 700; font-size: 19px; letter-spacing: .08em; line-height: 1.25; }
.logo small { display: block; font-family: var(--sans); font-weight: 400; font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.header-cta .btn { min-height: 40px; padding: 7px 16px; font-size: 14px; }
.nav {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none;
  max-width: var(--wrap); margin: 0 auto; padding: 0 14px 6px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none; font-size: 14px; color: var(--ink-2); text-decoration: none;
  padding: 6px 10px; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { color: var(--primary); font-weight: 700; box-shadow: inset 0 -2px 0 var(--primary); border-radius: 0; }
@media (max-width: 560px) { .header-cta { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 10px 22px; border-radius: 10px;
  font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.4;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper); border-color: var(--muted); }
.btn-block { display: flex; width: 100%; }
.btn[aria-disabled="true"] { background: var(--paper-2); color: var(--muted); border-color: var(--line); cursor: default; font-weight: 500; }
.arrow { font-family: var(--sans); font-weight: 400; }

/* ---------- section ---------- */
.section { padding: 64px 0; }
.section + .section { border-top: 1px solid var(--line-2); }
.section.tint { background: var(--paper); }
.section-head { max-width: 680px; margin: 0 0 28px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--accent); margin: 0 0 6px; }
.section-head h2 { font-size: clamp(23px, 3.4vw, 30px); margin: 0 0 10px; }
.section-head p { margin: 0; color: var(--ink-2); }
@media (max-width: 640px) { .section { padding: 48px 0; } }

/* ---------- hero ---------- */
.hero { padding: 56px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.45fr .75fr; gap: 36px; align-items: center; }
.eyebrow { font-size: 14px; color: var(--muted); letter-spacing: .1em; margin: 0 0 14px; }
.hero h1 { font-size: clamp(26px, 3.8vw, 40px); line-height: 1.6; margin: 0 0 20px; letter-spacing: .06em; }
.lead { font-size: 17.5px; color: var(--ink-2); margin: 0 0 28px; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.hero-ill { width: 100%; max-width: 360px; justify-self: center; }
.hero-ill .ln { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-ill .ln-soft { fill: none; stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.hero-ill .warm { fill: var(--glow); }
.hero-ill .leaf { fill: var(--sage-soft); stroke: var(--sage); stroke-width: 2; }
.hero-ill .sun { fill: var(--gold-soft); }
@media (max-width: 820px) {
  .hero { padding: 36px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-ill { max-width: 230px; }
}

/* ---------- 状況から選ぶ ---------- */
.doors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.door {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 18px 18px; color: var(--ink); text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.door:hover { border-color: var(--primary); transform: translateY(-2px); }
.door svg { width: 34px; height: 34px; margin-bottom: 4px; }
.door svg .ln { fill: none; stroke: var(--primary); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.door h3 { font-size: 18px; margin: 0; }
.door p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.75; flex: 1; }
.door .go { font-size: 14px; color: var(--link); margin-top: 6px; }
@media (max-width: 900px) { .doors { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .doors { grid-template-columns: 1fr; } .door { padding: 16px; } }

/* ---------- 急がなくていいこと／先に済ませたいこと ---------- */
.pace { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pace-col { border-radius: var(--radius); padding: 22px 22px 18px; border: 1px solid var(--line); background: var(--paper); }
.pace-col h3 { font-size: 19px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.pace-col h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.pace-col.now h3::before { background: var(--rose); }
.pace-col.later h3::before { background: var(--sage); }
.pace-col > p { font-size: 14.5px; color: var(--muted); margin: 0 0 10px; }
.pace-col ul { margin: 0; padding: 0; list-style: none; }
.pace-col li { padding: 9px 0 9px 0; border-top: 1px dashed var(--line); font-size: 15.5px; line-height: 1.7; }
.pace-col li small { display: block; color: var(--muted); }
.pace-foot { margin: 18px 0 0; font-size: 15.5px; color: var(--ink-2); }
@media (max-width: 720px) { .pace { grid-template-columns: 1fr; } }

/* ---------- 整理ノート（診断） ---------- */
.note-box {
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow); max-width: 820px;
}
.shindan { min-height: 360px; }
.shindan-top { padding: 20px 24px 0; }
.progress { height: 4px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--primary); border-radius: 4px; transition: width .3s ease; }
.progress-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 8px; }
.q { padding: 14px 24px 24px; }
.q h3 { font-size: clamp(19px, 2.6vw, 22px); margin: 6px 0 4px; }
.q .hint { font-size: 14.5px; color: var(--muted); margin: 0 0 16px; min-height: 1em; }
.opts { display: grid; gap: 10px; }
.opts.cols2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 520px) { .opts.cols2 { grid-template-columns: 1fr; } }
.opt {
  display: flex; align-items: center; gap: 12px; text-align: left;
  width: 100%; min-height: 56px; padding: 12px 16px;
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 16px; line-height: 1.6; cursor: pointer;
  transition: border-color .12s ease, background-color .12s ease;
}
.opt:hover { border-color: var(--primary); }
.opt[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); }
.opt .dot, .opt .box {
  flex: none; width: 20px; height: 20px; border: 1.5px solid var(--muted);
  display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: transparent;
}
.opt .dot { border-radius: 50%; }
.opt .box { border-radius: 5px; }
.opt[aria-pressed="true"] .dot { border-color: var(--primary); box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 10px var(--primary); }
.opt[aria-pressed="true"] .box { border-color: var(--primary); background: var(--primary); color: var(--primary-ink); }
.q-nav { display: flex; gap: 10px; justify-content: space-between; margin-top: 18px; flex-wrap: wrap; }
.q-nav .btn { min-height: 44px; }
.q-nav .spacer { flex: 1; }
.resume { margin: 0; padding: 0 24px 20px; font-size: 14.5px; }

/* 結果 */
.result { padding: 26px 24px 24px; }
.result-head { margin-bottom: 18px; }
.result-type { font-size: 13px; letter-spacing: .14em; color: var(--accent); font-weight: 700; }
.result-head h3 { font-size: clamp(20px, 2.8vw, 24px); margin: 4px 0 12px; }
.result-msg {
  margin: 0; padding: 16px 18px; background: var(--bg); border-radius: 10px;
  border-left: 3px solid var(--sage); color: var(--ink-2); font-size: 16px; line-height: 1.95;
}
.cost-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 18px 0 8px; background: var(--paper); }
.cost-card .label { font-size: 14px; color: var(--muted); }
.cost-card .value { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--ink); letter-spacing: .04em; margin: 2px 0 6px; }
.cost-card ul { margin: 0; padding-left: 1.2em; font-size: 14.5px; color: var(--ink-2); }
.cost-card .src, .result .src { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.phase { margin: 26px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.phase h4 { font-size: 18px; margin: 0 0 2px; display: flex; align-items: center; gap: 8px; }
.phase h4::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sage); flex: none; }
.phase.now h4::before { background: var(--rose); }
.phase p { margin: 0; font-size: 14.5px; color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 16px 0 16px 46px; border-bottom: 1px dashed var(--line); }
.step:last-child { border-bottom: 0; }
.step .num {
  position: absolute; left: 0; top: 16px; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700; font-size: 15px;
  background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
.step h5 { font-family: var(--serif); font-size: 17.5px; line-height: 1.6; margin: 3px 0 6px; letter-spacing: .03em; }
.step p { margin: 6px 0 0; font-size: 15.5px; line-height: 1.9; color: var(--ink-2); }
.step .more { display: inline-block; margin-top: 8px; font-size: 14.5px; }
.tag { display: inline-block; font-size: 12.5px; line-height: 1.5; padding: 3px 9px; border-radius: 999px; margin: 0 6px 4px 0; }
.tag-deadline { background: var(--rose-soft); color: var(--rose); }
.tag-warn { background: var(--rose-soft); color: var(--rose); font-weight: 700; }
.tag-calm { background: var(--sage-soft); color: var(--sage); }
.tag-cost { background: var(--paper-2); color: var(--ink-2); }
.result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.result-actions .btn { min-height: 44px; font-size: 15px; }
.kimochi-card {
  margin: 20px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--sage-soft);
  font-size: 15.5px; color: var(--ink-2); line-height: 1.9;
}
.kimochi-card b { color: var(--ink); }

/* ---------- 数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.stat .num { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--primary); line-height: 1.2; letter-spacing: .02em; }
.stat .num small { font-size: 18px; }
.stat p { margin: 8px 0 0; font-size: 15.5px; color: var(--ink-2); line-height: 1.75; }
.stat .src { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- 目次（ガイド一覧） ---------- */
.contents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.contents li { border-top: 1px solid var(--line); }
.contents a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 10px; padding: 16px 4px; color: var(--ink); text-decoration: none; }
.contents a:hover .t { color: var(--link); text-decoration: underline; }
.contents .no { grid-row: span 2; font-family: var(--serif); font-size: 20px; color: var(--accent); line-height: 1.5; }
.contents .t { font-family: var(--serif); font-weight: 700; font-size: 17.5px; line-height: 1.55; }
.contents .s { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
@media (max-width: 720px) { .contents { grid-template-columns: 1fr; } }

/* ---------- 依頼先の種類 ---------- */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 24px; }
.method { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.method h3 { font-size: 17px; margin: 0 0 6px; }
.method p { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.75; }
.method .fit { margin-top: 8px; font-size: 14px; color: var(--muted); }
@media (max-width: 760px) { .methods { grid-template-columns: 1fr; } }
.sub-h { font-size: 19px; margin: 36px 0 6px; }
.sub-p { margin: 0 0 16px; color: var(--ink-2); font-size: 16px; }

/* ---------- 広告カード ---------- */
.offers.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.offers.compact { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 12px 0 4px; }
.offer {
  display: flex; flex-direction: column; position: relative;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.offer .offer-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.offer .type { font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.offer .pr { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; line-height: 1.7; flex: none; }
.offer .offer-name { font-size: 17.5px; font-weight: 700; line-height: 1.5; margin: 0 0 6px; color: var(--ink); }
.offer .catch { font-size: 15px; color: var(--ink-2); margin: 0 0 8px; line-height: 1.75; }
.offer ul { margin: 0 0 10px; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.offer li { position: relative; padding-left: 16px; line-height: 1.7; margin: 2px 0; }
.offer li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); }
.offer .fit { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.7; }
.offer .fit span { color: var(--ink-2); font-weight: 700; margin-right: 4px; }
.offer .btn { margin-top: auto; min-height: 46px; font-size: 15px; }
.offers.compact .offer { padding: 14px 16px 16px; }
.offers.compact .offer .offer-name { font-size: 16px; }
.offers.compact .offer .catch { font-size: 14.5px; }
.offers.compact .offer ul { display: none; }

/* ---------- 費用の早見表（トップ） ---------- */
.cost-mini td:not(:first-child), .cost-mini th:not(:first-child) { text-align: right; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--serif); font-weight: 700; font-size: 17px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 4px; top: 18px; color: var(--muted); font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px; color: var(--ink-2); font-size: 16px; }
.faq .a p { margin: 0 0 10px; }

/* ---------- このサイトについて ---------- */
.about { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.about div { border-top: 2px solid var(--line); padding-top: 12px; }
.about h3 { font-size: 16.5px; margin: 0 0 6px; }
.about p { font-size: 15px; color: var(--ink-2); margin: 0; line-height: 1.8; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }

/* ---------- 記事ページ ---------- */
.crumbs { font-size: 13.5px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--muted); }
.article-head { padding: 18px 0 8px; }
.article-head h1 { font-size: clamp(25px, 3.8vw, 33px); line-height: 1.55; margin: 0 0 12px; }
.h1-sub { display: block; font-size: .6em; font-weight: 500; color: var(--muted); margin-top: 10px; line-height: 1.7; letter-spacing: .03em; }
.article-meta { font-size: 13.5px; color: var(--muted); margin: 0; }
.lede {
  font-size: 17.5px; line-height: 2.05; color: var(--ink-2);
  margin: 22px 0 26px; padding: 4px 0 4px 18px; border-left: 2px solid var(--accent-soft);
}
.lede p { margin: 0 0 12px; }
.lede p:last-child { margin: 0; }
.summary { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 18px; }
.summary .ttl, .toc .ttl { font-family: var(--serif); font-weight: 700; font-size: 15.5px; margin: 0 0 6px; color: var(--ink); }
.summary ul { margin: 0; padding-left: 1.2em; font-size: 15.5px; }
.summary li { margin: 4px 0; line-height: 1.8; }
.toc { padding: 14px 22px; margin: 0 0 12px; border-left: 2px solid var(--line); }
.toc ol { margin: 0; padding-left: 1.4em; font-size: 15px; }
.toc li { margin: 3px 0; line-height: 1.7; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--link); text-decoration: underline; }

.article { padding-bottom: 24px; }
.article h2 {
  font-size: clamp(21px, 2.9vw, 25px); margin: 56px 0 16px; padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.article h3 { font-size: 19px; margin: 34px 0 10px; }
.article p { margin: 0 0 18px; line-height: 2; }
.article ul, .article ol { padding-left: 1.4em; margin: 0 0 18px; }
.article li { margin: 6px 0; line-height: 1.9; }
.article ol.flow { list-style: none; padding: 0; counter-reset: f; }
.article ol.flow > li { counter-increment: f; position: relative; padding: 0 0 14px 44px; margin: 0; }
.article ol.flow > li::before {
  content: counter(f); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--paper); font-family: var(--serif); font-weight: 700;
  font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2);
}
.article ol.flow > li::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 4px; width: 1px; background: var(--line); }
.article ol.flow > li:last-child::after { display: none; }
.article ol.flow b { display: block; }

.callout { border-radius: var(--radius); padding: 16px 20px; margin: 24px 0; font-size: 16px; }
.callout .ttl { font-family: var(--serif); font-weight: 700; margin: 0 0 4px; font-size: 16.5px; }
.callout p { margin: 0 0 8px; line-height: 1.9; }
.callout p:last-child { margin: 0; }
.callout.point { background: var(--sage-soft); }
.callout.warn { background: var(--rose-soft); }
.callout.warn .ttl { color: var(--rose); }
.callout.note { background: var(--gold-soft); }
.callout.quiet { background: var(--paper); border: 1px solid var(--line); }

.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.75; }
th, td { padding: 11px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
thead th { background: var(--paper-2); font-weight: 700; font-size: 14.5px; white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) { tbody th { white-space: normal; min-width: 6em; } }
.table-note { font-size: 13.5px; color: var(--muted); margin: -8px 0 20px; line-height: 1.75; }

.checklist { list-style: none; padding: 0; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.checklist li { margin: 0; border-bottom: 1px solid var(--line-2); }
.checklist li:last-child { border-bottom: 0; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; cursor: pointer; line-height: 1.7; }
.checklist input { flex: none; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--primary); }
.checklist b { display: block; font-size: 16px; }
.checklist small { display: block; color: var(--muted); font-size: 14px; }
.checklist input:checked + span b { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line); }
.check-progress { font-size: 14px; color: var(--muted); margin: 0 0 24px; }

.timeline { list-style: none; margin: 20px 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; margin: 0; padding: 0 0 20px 22px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 2px solid var(--primary); }
.timeline .when { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.timeline b { display: block; font-size: 16.5px; line-height: 1.6; }
.timeline small { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

.sim { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 20px 0; }
.sim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .sim-row { grid-template-columns: 1fr; } }
.sim label { font-size: 14.5px; color: var(--ink-2); display: block; }
.sim select {
  display: block; width: 100%; margin-top: 4px; min-height: 46px; padding: 8px 12px;
  font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px;
}
.sim-checks { margin: 14px 0 0; display: grid; gap: 6px; }
.sim-checks label { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; cursor: pointer; }
.sim-checks input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); flex: none; }
.sim-out { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.sim-out .label { font-size: 14px; color: var(--muted); display: block; }
.sim-out .value { font-family: var(--serif); font-size: 30px; font-weight: 700; display: block; margin: 0 0 6px; }
.sim-out .tips { margin: 0; padding-left: 1.2em; font-size: 14.5px; color: var(--ink-2); }

.cta-box {
  margin: 48px 0 8px; padding: 24px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line); text-align: left;
}
.cta-box h3 { font-size: 19px; margin: 0 0 6px; }
.cta-box p { margin: 0 0 16px; color: var(--ink-2); font-size: 15.5px; line-height: 1.9; }

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 12px; }
.related a { display: block; padding: 14px 2px; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.6; }
.related a span { display: block; font-family: var(--sans); font-weight: 400; font-size: 14px; color: var(--muted); }
.related a:hover { color: var(--link); }
@media (max-width: 560px) { .related { grid-template-columns: 1fr; } }
.related-sec { padding: 8px 0 56px; }
.related-sec h2 { font-size: 19px; margin: 24px 0 4px; }

.contact-list { list-style: none; padding: 0; margin: 18px 0; }
.contact-list li { border: 1px solid var(--line); background: var(--paper); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 10px; }
.contact-list b { display: block; font-size: 16.5px; }
.contact-list .tel { display: block; font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: .06em; margin: 2px 0; }
.contact-list .tel a { color: var(--ink); text-decoration: none; }
.contact-list small { display: block; color: var(--ink-2); font-size: 14.5px; line-height: 1.8; }

/* ---------- footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 14.5px; color: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 24px; }
.site-footer h4 { font-size: 15px; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 4px 0; line-height: 1.7; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-note { margin: 28px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.85; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- print ---------- */
@media print {
  .pr-bar, .site-header, .site-footer, .hero-actions, .result-actions, .q-nav, .offers, .cta-box, .related-sec, .nav { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .note-box, .result, .step { box-shadow: none; border-color: #ccc; }
  a { color: #000; }
}
