/* ヒトツヤネ：紺のインク＋生成りの紙。二世帯＝橙、賃貸併用＝青緑の2色でテーマを見分ける */
:root {
  --ink: #1E3A5F; --ink-deep: #14284A;
  --paper: #FAF7F0; --paper-2: #F2EDE1; --card: #FFFFFF; --line: #E2DACA;
  --text: #26334A; --muted: #5F6B82;
  --nisetai: #D9652B; --nisetai-deep: #A9470F; --nisetai-soft: #FBE9DB;
  --heiyou: #1F7A75; --heiyou-deep: #17605C; --heiyou-soft: #DCEEEB;
  --theme: var(--ink); --theme-deep: var(--ink-deep); --theme-soft: #E6ECF3;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  --w: 1120px; --r: 14px;
}
.t-nisetai { --theme: var(--nisetai); --theme-deep: var(--nisetai-deep); --theme-soft: var(--nisetai-soft); }
.t-heiyou { --theme: var(--heiyou); --theme-deep: var(--heiyou-deep); --theme-soft: var(--heiyou-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.9; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img, svg { max-width: 100%; }
.wrap { width: min(var(--w), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--nisetai); outline-offset: 2px; border-radius: 4px; }
.envbar { background: #8C2F1B; color: #fff; text-align: center; font-size: 12px; padding: 3px 8px; letter-spacing: .08em; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 240, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.lg-a { fill: var(--nisetai); } .lg-b { fill: var(--heiyou); }
.logo-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-text b { font-family: var(--serif); font-size: 21px; letter-spacing: .14em; }
.logo-text small { font-size: 10.5px; color: var(--muted); letter-spacing: .04em; }
.gnav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; font-weight: 600; }
.gnav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--ink); white-space: nowrap; }
.gnav a:hover { background: var(--paper-2); }
.gnav a.is-current { box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.gnav .nav-nisetai.is-current { box-shadow: inset 0 -3px 0 var(--nisetai); }
.gnav .nav-heiyou.is-current { box-shadow: inset 0 -3px 0 var(--heiyou); }
.gnav .nav-cta { background: var(--ink); color: #fff; padding: 8px 18px; margin-left: 6px; }
.gnav .nav-cta:hover { background: var(--ink-deep); }

/* ボタン・共通 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; line-height: 1.4; transition: transform .15s, box-shadow .15s; }
.btn::after { content: "→"; font-weight: 400; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 40, 74, .16); }
.btn-nisetai { background: var(--nisetai-deep); color: #fff; }
.btn-heiyou { background: var(--heiyou-deep); color: #fff; }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-line { background: #fff; color: var(--ink); flex-shrink: 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--theme-deep); }
.text-link { font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.text-link::after { content: " →"; }
.sec { padding: 76px 0; }
.sec-tint { background: var(--paper-2); }
.sec-title { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px); line-height: 1.5; color: var(--ink); letter-spacing: .04em; margin-bottom: 14px; }
.sec-lead { color: var(--muted); margin-bottom: 28px; }
.sec-title + .doors, .sec-title + .cards { margin-top: 28px; }

/* ヒーロー */
.hero { padding: 56px 0 64px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 6.4vw, 72px); line-height: 1.3; letter-spacing: .06em; color: var(--ink); margin: 14px 0 22px; }
.hero-lead { max-width: 34em; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.house { display: block; width: 100%; height: auto; }
.h-left { fill: var(--nisetai-soft); } .h-right { fill: var(--heiyou-soft); }
.h-split { stroke: var(--ink); stroke-width: 2; stroke-dasharray: 5 7; fill: none; opacity: .45; }
.h-win { fill: #fff; stroke: var(--ink); stroke-width: 2.5; }
.h-door-a { fill: var(--nisetai); } .h-door-b { fill: var(--heiyou); } .h-knob { fill: #fff; }
.h-roof { fill: none; stroke: var(--ink); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }
.h-ground { stroke: var(--ink); stroke-width: 4; stroke-linecap: round; }
.h-label { font-family: var(--serif); font-size: 19px; font-weight: 700; text-anchor: middle; letter-spacing: .1em; }
.h-label-a { fill: var(--nisetai-deep); } .h-label-b { fill: var(--heiyou-deep); }

/* 2つの入口 */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.door { background: var(--card); border: 1px solid var(--line); border-top: 8px solid var(--c); border-radius: var(--r); padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 12px; }
.door-nisetai { --c: var(--nisetai); --cd: var(--nisetai-deep); --cs: var(--nisetai-soft); }
.door-heiyou { --c: var(--heiyou); --cd: var(--heiyou-deep); --cs: var(--heiyou-soft); }
.door-catch { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--cd); }
.door h3 { font-family: var(--serif); font-size: 28px; line-height: 1.4; letter-spacing: .06em; }
.door h3 a { text-decoration: none; color: var(--ink); }
.door-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.door-links a { display: block; text-decoration: none; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--cs); color: var(--cd); }
.door-links a:hover { background: var(--cd); color: #fff; }
.door-more { margin-top: auto; padding-top: 10px; font-weight: 700; color: var(--cd); text-underline-offset: 4px; }
.door-more::after { content: " →"; }

/* 段階から探す */
.stages { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.stage-head, .stage { display: grid; grid-template-columns: 200px 1fr 1fr; }
.stage-head { font-size: 13px; font-weight: 700; letter-spacing: .08em; background: var(--ink); color: #fff; }
.stage-head span { padding: 10px 20px; }
.stage { border-top: 1px solid var(--line); }
.stage-name { display: grid; grid-template-columns: 34px 1fr; align-items: center; column-gap: 12px; padding: 16px 20px; }
.stage-name b { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; }
.stage-name span { font-family: var(--serif); font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.stage-name small { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.stage-cell { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 20px; border-left: 1px solid var(--line); }
.stage-cell a, .stage-cell .soon { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 6px 14px; border-radius: 999px; }
.stage-cell.col-nisetai a { background: var(--nisetai-soft); color: var(--nisetai-deep); }
.stage-cell.col-heiyou a { background: var(--heiyou-soft); color: var(--heiyou-deep); }
.stage-cell.col-nisetai a:hover { background: var(--nisetai-deep); color: #fff; }
.stage-cell.col-heiyou a:hover { background: var(--heiyou-deep); color: #fff; }

/* 転用 */
.bridge { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.bridge h2 { font-family: var(--serif); font-size: clamp(24px, 3.2vw, 32px); line-height: 1.5; color: var(--ink); margin: 8px 0 14px; letter-spacing: .04em; }
.bridge .btn { margin-top: 24px; }
.bridge-steps { display: grid; gap: 30px; }
.bridge-steps li { position: relative; display: flex; flex-direction: column; padding: 16px 22px; border-radius: var(--r); line-height: 1.5; }
.bridge-steps li + li::before { content: "↓"; position: absolute; top: -29px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 18px; }
.bridge-steps b { font-family: var(--serif); font-size: 19px; }
.bridge-steps span { font-size: 13px; }
.bs-nisetai { background: var(--nisetai-soft); color: var(--nisetai-deep); }
.bs-mid { background: var(--card); border: 2px dashed var(--line); color: var(--muted); }
.bs-heiyou { background: var(--heiyou-soft); color: var(--heiyou-deep); }

/* 記事カード */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { --c: var(--ink); --cd: var(--ink); display: flex; flex-direction: column; gap: 10px; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--c); border-radius: 10px; padding: 18px 20px 16px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.card-nisetai { --c: var(--nisetai); --cd: var(--nisetai-deep); }
.card-heiyou { --c: var(--heiyou); --cd: var(--heiyou-deep); }
.card-tenyo { border-image: linear-gradient(var(--nisetai), var(--heiyou)) 1; border-radius: 0; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 40, 74, .12); }
.card-cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--cd); }
.card-title { font-family: var(--serif); font-size: 17.5px; font-weight: 700; line-height: 1.6; color: var(--ink); }
.card-more { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--cd); }
a.card .card-more::after { content: " →"; }
.card.is-soon { background: transparent; border-style: dashed; border-left-style: solid; }
.card.is-soon .card-title { color: var(--muted); font-weight: 400; }
.card.is-soon .card-more { color: var(--muted); font-weight: 400; }

/* 運営者 */
.owner { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.owner p { margin-bottom: 16px; }
.policy { display: grid; gap: 12px; }
.policy li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; font-size: 14.5px; line-height: 1.7; }
.policy b { display: block; font-family: var(--serif); font-size: 17px; color: var(--ink); }

/* 相談 */
.cta { background: var(--ink); color: #fff; padding: 52px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { font-family: var(--serif); font-size: clamp(21px, 2.6vw, 27px); line-height: 1.5; letter-spacing: .04em; margin-bottom: 8px; }
.cta p { opacity: .88; font-size: 15px; max-width: 40em; }

/* フッター */
.site-footer { background: var(--ink-deep); color: #D5DCE8; font-size: 14px; padding: 48px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { font-family: var(--serif); font-size: 22px; letter-spacing: .14em; color: #fff; margin-bottom: 8px; }
.footer-about p:last-child { font-size: 13px; line-height: 1.8; }
.footer-head { font-weight: 700; color: #fff; margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer li { line-height: 2.1; }
.copyright { margin-top: 32px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 12px; }

/* パンくず */
.crumbs { padding-top: 16px; font-size: 12.5px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 2px 0; }
.crumbs li + li::before { content: "＞"; margin: 0 6px; font-size: 10px; }
.crumbs a { text-underline-offset: 3px; }

/* まとめページ */
.hub-head { padding: 28px 0 40px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--paper), var(--theme-soft)); }
.hub-head h1 { font-family: var(--serif); font-size: clamp(30px, 5vw, 46px); line-height: 1.4; letter-spacing: .06em; color: var(--ink); margin: 6px 0 12px; }
.hub-lead { max-width: 44em; }
.hub-body { padding: 36px 0 76px; }
.hub-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.hub-jump a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 7px 16px 7px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink); }
.hub-jump b { width: 24px; height: 24px; border-radius: 50%; background: var(--theme-deep); color: #fff; display: grid; place-items: center; font-size: 12.5px; }
.hub-jump a:hover { border-color: var(--theme-deep); }
.hub-sec { padding: 32px 0 8px; }
.hub-sec-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; margin-bottom: 16px; padding-left: 14px; border-left: 6px solid var(--theme); }
.hub-sec-head h2 { font-family: var(--serif); font-size: 24px; line-height: 1.5; letter-spacing: .04em; }
.hub-sec-head h2 a { text-decoration: none; color: var(--ink); }
.hub-sec-head p { color: var(--muted); font-size: 14.5px; }
.hub-others { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.hub-others p { width: 100%; font-weight: 700; color: var(--ink); }
.hub-others a { text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 6px 16px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-deep); }
.empty { color: var(--muted); }
.page-body { padding: 40px 0 76px; max-width: 760px; }

/* 記事 */
.article-head { padding: 22px 0 30px; max-width: 860px; margin-left: max(20px, calc((100% - var(--w)) / 2)); }
.article-cat { display: flex; gap: 8px; font-size: 13px; font-weight: 700; }
.article-cat a { text-decoration: none; padding: 3px 14px; border-radius: 999px; background: var(--theme-soft); color: var(--theme-deep); }
.article-cat a:first-child { background: var(--theme-deep); color: #fff; }
.article-head h1 { font-family: var(--serif); font-size: clamp(27px, 4.2vw, 40px); line-height: 1.5; letter-spacing: .04em; color: var(--ink); margin: 16px 0 12px; }
.article-meta { font-size: 13px; color: var(--muted); }
.article-lead { margin-top: 18px; font-size: 17px; line-height: 2; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; padding-bottom: 80px; }
.article-main { min-width: 0; max-width: 760px; }
.article-side { position: sticky; top: 92px; display: grid; gap: 20px; max-height: calc(100vh - 110px); overflow: auto; }
.summary { background: var(--theme-soft); border-radius: var(--r); padding: 22px 26px; margin-bottom: 28px; }
.summary h2 { font-size: 15px; letter-spacing: .1em; color: var(--theme-deep); margin-bottom: 8px; }
.summary li { position: relative; padding-left: 22px; line-height: 1.8; }
.summary li + li { margin-top: 6px; }
.summary li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 10px; height: 10px; border-radius: 3px; background: var(--theme); }
.toc { font-size: 14px; }
.toc-title { font-weight: 700; color: var(--ink); font-size: 13px; letter-spacing: .1em; margin-bottom: 8px; }
.toc ol { counter-reset: toc; border-left: 2px solid var(--line); }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; line-height: 1.6; color: var(--muted); }
.toc a:hover { color: var(--ink); border-left-color: var(--theme); }
.toc-mobile { display: none; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 18px; margin-bottom: 24px; }
.toc-mobile summary { font-weight: 700; color: var(--ink); cursor: pointer; }
.toc-mobile ol { margin-top: 8px; }
.side-list { font-size: 14px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-list li { line-height: 1.6; padding: 6px 0; }
.side-list a { text-underline-offset: 3px; }
.side-list .is-soon { color: var(--muted); }
.side-list small, .soon small { display: inline-block; margin-left: 6px; font-size: 11px; padding: 0 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; font-weight: 400; line-height: 1.7; }
.soon { color: inherit; }

.prose { font-size: 16.5px; line-height: 2.05; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-family: var(--serif); font-size: clamp(22px, 3vw, 27px); line-height: 1.55; letter-spacing: .04em; color: var(--ink); margin-top: 2.6em; padding-top: 20px; border-top: 3px solid var(--ink); position: relative; }
.prose h2::before { content: ""; position: absolute; top: -3px; left: 0; width: 72px; height: 3px; background: var(--theme); }
.prose h3 { font-size: 19px; line-height: 1.6; color: var(--ink); margin-top: 2em; padding-left: 12px; border-left: 5px solid var(--theme); }
.prose a { color: var(--theme-deep); font-weight: 600; text-underline-offset: 4px; }
.prose strong { background: linear-gradient(transparent 62%, var(--theme-soft) 62%); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--theme-deep); font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--card); }
.prose table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14.5px; line-height: 1.7; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--ink); color: #fff; font-weight: 700; white-space: nowrap; }
.prose tbody td:first-child { font-weight: 700; color: var(--ink); background: var(--paper); white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }
.taiken, .todo { border-radius: var(--r); padding: 20px 24px; font-size: 15.5px; line-height: 1.9; }
.taiken { background: var(--card); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--theme-soft); }
.todo { background: repeating-linear-gradient(-45deg, #FFF8E1, #FFF8E1 12px, #FFF2C9 12px, #FFF2C9 24px); border: 2px dashed #B98A00; }
.box-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; padding: 1px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.todo .box-label { background: #8A6500; }
.box-title { font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 8px !important; }
.taiken > * + *, .todo > * + * { margin-top: .6em; }

.faq, .related { margin-top: 56px; }
.faq h2, .related h2 { font-family: var(--serif); font-size: 24px; color: var(--ink); letter-spacing: .04em; margin-bottom: 16px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 15px 0 15px 34px; position: relative; line-height: 1.7; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 0; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--theme-deep); color: #fff; display: grid; place-items: center; font-size: 13px; }
.faq details p { padding: 0 0 18px 34px; }
.author { display: flex; gap: 18px; margin-top: 56px; padding: 22px 24px; background: var(--paper-2); border-radius: var(--r); font-size: 14.5px; line-height: 1.8; color: var(--ink); }
.author svg { flex-shrink: 0; margin-top: 4px; }
.author p { color: var(--text); }
.author-name { font-weight: 700; color: var(--ink) !important; }

@media (max-width: 960px) {
  .article-grid { grid-template-columns: 1fr; }
  .article-side { display: none; }
  .toc-mobile { display: block; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .logo-text small { display: none; }
  .header-in { flex-wrap: wrap; padding: 8px 0 0; gap: 0; min-height: 0; }
  .gnav { width: calc(100% + 40px); margin: 6px -20px 0; padding: 0 12px; overflow-x: auto; scrollbar-width: none; font-size: 14px; }
  .gnav::-webkit-scrollbar { display: none; }
  .gnav a { padding: 9px 10px; }
  .gnav .nav-cta { position: absolute; top: 9px; right: 20px; padding: 5px 16px; }
  .site-header { position: relative; }
  html { scroll-padding-top: 16px; }
  .sec { padding: 52px 0; }
  .hero { padding: 32px 0 44px; }
  .hero-in, .doors, .bridge, .owner { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; width: 100%; }
  .hero-btns .btn { flex: 1 1 100%; }
  .door { padding: 24px 22px 22px; }
  .stage-head { display: none; }
  .stage { grid-template-columns: 1fr; padding: 6px 0 12px; }
  .stage-name { padding: 12px 16px 6px; }
  .stage-cell { border-left: 0; padding: 4px 16px; }
  .stage-cell::before { font-size: 11.5px; font-weight: 700; width: 5.5em; color: var(--muted); }
  .stage-cell.col-nisetai::before { content: "二世帯"; }
  .stage-cell.col-heiyou::before { content: "賃貸併用"; }
  .cards, .cards-2 { grid-template-columns: 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
  .cta .btn { width: 100%; }
  .prose { font-size: 16px; line-height: 1.95; }
  .summary { padding: 18px 20px; }
  .taiken, .todo { padding: 16px 18px; }
  .author { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* ===== 2026-11-30 決定：ゴシック体・白シンプル（デザイン案A）。上の指定をここで上書きしている ===== */
:root {
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", Meiryo, sans-serif;
  --serif: var(--sans);
  --hw: 700; --rb: 8px; --hdr: rgba(255, 255, 255, .96); --mark: transparent;
}
body { font-weight: 400; line-height: 1.85; }
h1, h2, h3, .logo-text b, .card-title, .door h3, .stage-name span, .bridge-steps b, .policy b, .box-title, .footer-logo { letter-spacing: .01em !important; font-weight: var(--hw); }
.logo-text b { letter-spacing: .06em !important; font-size: 20px; }
.eyebrow, .door-catch, .card-cat, .toc-title, .summary h2, .box-label { letter-spacing: .03em; }
.site-header { background: var(--hdr); backdrop-filter: none; }
.btn { border-radius: var(--rb); min-height: 50px; }
.btn::after, .text-link::after, .door-more::after, a.card .card-more::after { content: none; }
.btn:hover { transform: none; box-shadow: none; opacity: .88; }
a.card:hover { transform: none; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.35; }
.hero-lead { font-size: 16.5px; }
.sec-title, .bridge h2 { font-size: clamp(22px, 2.8vw, 28px); line-height: 1.5; }
.door h3 { font-size: 24px; }
.card-title { font-size: 16.5px; line-height: 1.6; }
.hub-head h1 { font-size: clamp(27px, 4vw, 38px); }
.article-head h1 { font-size: clamp(25px, 3.6vw, 34px); line-height: 1.5; }
.article-lead { font-size: 17px; line-height: 1.95; }
.article-main { max-width: 720px; }
.prose { font-size: 17px; line-height: 2; }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-size: clamp(21px, 2.8vw, 25px); line-height: 1.5; margin-top: 2.8em; }
.prose strong { background: linear-gradient(transparent 68%, var(--mark) 68%); color: var(--ink); }
.prose table { font-size: 15px; }
.summary li, .faq details p { font-size: 16px; }
.taiken { box-shadow: none; }
@media (max-width: 760px) {
  .prose { font-size: 16.5px; line-height: 1.95; }
}

:root {
  --paper: #FFFFFF; --paper-2: #F5F6F7; --card: #FFFFFF; --line: #E1E4E8;
  --ink: #1B1F24; --ink-deep: #1B1F24; --text: #2A2F36; --muted: #646B75;
  --nisetai: #E0591C; --nisetai-deep: #B8420C; --nisetai-soft: #FDEFE7;
  --heiyou: #0E8079; --heiyou-deep: #0A6660; --heiyou-soft: #E3F3F1;
  --r: 8px; --rb: 6px; --mark: #FFF1A8;
}
.hero { border-bottom: 1px solid var(--line); padding: 44px 0 52px; }
.door, .card { border-radius: 8px; }
.door { border-top-width: 4px; }
.card { border-left-width: 4px; }
.prose h2 { border-top: 0; padding: 12px 16px; background: var(--paper-2); border-left: 5px solid var(--theme); }
.prose h2::before { content: none; }
.gnav .nav-cta, .cta { background: #1B1F24; }
.stage-head, .prose thead th { background: #2A2F36; }

/* 図解（基本は線画） */
.fig { margin: 1.6em 0 0; padding: 20px 16px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.fig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.fig-item { text-align: center; }
.fig-item svg { display: block; width: 100%; max-width: 230px; height: auto; margin: 0 auto 6px; }
.fig-name { font-weight: 700; color: var(--ink); font-size: 16px; line-height: 1.5; }
.fig-note { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 2px !important; }
.fig figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-top: 14px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.6; }
.lgd { display: inline-block; width: 14px; height: 14px; margin: 0 2px 0 10px; border-radius: 3px; vertical-align: -2px; border: 1.5px solid var(--ink); }
.lgd-a, .fg-a { fill: var(--nisetai-soft); background: var(--nisetai-soft); }
.lgd-b, .fg-b { fill: var(--heiyou-soft); background: var(--heiyou-soft); }
.lgd-s, .fg-s { fill: #ECEEF1; background: #ECEEF1; }
.lgd-d, .fg-door { fill: var(--ink); background: var(--ink); }
.fg-a, .fg-b, .fg-s { stroke: var(--ink); stroke-width: 2; }
.fg-roof { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.fg-ground { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.fg-wall { stroke: var(--ink); stroke-width: 4; }
.fg-t { font-family: var(--sans); font-size: 14px; font-weight: 700; fill: var(--ink); text-anchor: middle; }
@media (max-width: 760px) {
  .fig { padding: 16px 14px 12px; }
  .fig-grid { grid-template-columns: 1fr; gap: 14px; }
  .fig-item { display: grid; grid-template-columns: 130px 1fr; column-gap: 14px; align-items: center; text-align: left; }
  .fig-item svg { grid-row: span 2; margin: 0; }
  .fig-name { align-self: end; }
  .fig-note { align-self: start; }
}

/* ===== 2026-12-01 決定：色＝やわらか（こげ茶・コーラル・若葉色）／文字＝大きめ／図解＝色面 ===== */
.gnav .nav-cta, .cta, .stage-head, .prose thead th { background: var(--ink); }
:root {
  --ink: #3A3330; --ink-deep: #2C2623; --text: #403A37; --muted: #7A706A; --paper-2: #F8F4ED; --line: #E9E2D5;
  --nisetai: #E8704F; --nisetai-deep: #B9482A; --nisetai-soft: #FDEDE7;
  --heiyou: #2E9A7B; --heiyou-deep: #1F7A60; --heiyou-soft: #E2F4EE; --mark: #FFE9B8;
}
body { font-size: 17px; }
.prose { font-size: 18.5px; line-height: 2.1; }
.article-lead { font-size: 18.5px; }
.summary li, .faq details p, .faq summary { font-size: 17.5px; }
.prose table { font-size: 16px; }
.card-title { font-size: 18px; }
.fig-name { font-size: 17.5px; } .fig-note { font-size: 15px; }
.toc { font-size: 15px; }
.fg-a, .lgd-a, .h-left { fill: var(--nisetai); background: var(--nisetai); }
.fg-b, .lgd-b, .h-right { fill: var(--heiyou); background: var(--heiyou); }
.fg-s, .lgd-s { fill: #B9C0CA; background: #B9C0CA; }
.fg-a, .fg-b, .fg-s { stroke: #fff; stroke-width: 3; }
.lgd { border: 0; }
.fg-t { fill: #fff; }
.fg-door, .lgd-d { fill: var(--ink); }
.fg-wall { stroke: #fff; }
.fig { border: 0; background: var(--paper-2); }
.h-win { stroke: none; }
.h-door-a, .h-door-b { fill: var(--ink); }
.h-split { stroke: #fff; opacity: 1; stroke-dasharray: none; stroke-width: 4; }
@media (max-width: 760px) {
  .prose { font-size: 18px; line-height: 2.05; }
  .fig-item { grid-template-columns: 150px 1fr; }
}
.fg-t { font-size: 17px; }
.fg-s, .lgd-s { fill: #8E96A3; background: #8E96A3; }

/* ===== 2026-12-01 決定：記事ページ＝タイトルに色の帯／見出しは左帯と地色／要点は番号つき／体験は吹き出し ===== */
.article-head { padding: 26px 0 30px; margin-bottom: 30px; clip-path: inset(0 -100vmax); }
.article-head { background: var(--theme-soft); box-shadow: 0 0 0 100vmax var(--theme-soft); }
.article-cat a:not(:first-child) { background: #fff; }
.summary { background: var(--paper-2); border-top: 4px solid var(--theme); border-radius: 0 0 var(--r) var(--r); }
.summary ul { counter-reset: sm; }
.summary li { counter-increment: sm; padding-left: 38px; }
.summary li + li { margin-top: 12px; }
.summary li::before { content: counter(sm); left: 0; top: .2em; width: 26px; height: 26px; border-radius: 50%; background: var(--theme-deep); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.taiken, .todo { position: relative; margin-left: 62px; border: 0; border-radius: 4px 18px 18px 18px; background: var(--paper-2); }
.taiken::before, .todo::before { content: "運営者"; position: absolute; left: -62px; top: 0; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 700; display: grid; place-items: center; }
.box-label { background: var(--theme-deep); }

/* ===== 記事の部品：比較の図・数字カード・グラフ・出典・よくある質問 ===== */
.fig-item svg { max-width: 260px; }
.cmp { padding: 16px; }
.cmp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cmp-card { background: #fff; border-radius: 10px; padding: 16px 16px 12px; }
.cmp-name { font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.5; padding-bottom: 8px; border-bottom: 3px solid var(--theme); }
.cmp-sep { font-size: 15px; line-height: 1.6; margin-top: 10px !important; min-height: 4.8em; }
.cmp-sep span { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cmp dl { margin: 8px 0 0; }
.cmp dl > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.cmp dt { font-size: 13.5px; font-weight: 700; color: var(--muted); line-height: 1.4; }
.cmp dd { margin: 0; display: contents; }
.cmp dd b { grid-column: 1 / -1; font-size: 16px; color: var(--ink); line-height: 1.5; }
.meter { display: inline-flex; gap: 4px; }
.meter i { width: 22px; height: 10px; border-radius: 5px; background: var(--line); }
.meter i.on { background: var(--theme); }
.cmp figcaption { justify-content: flex-start; text-align: left; border-top: 0; padding-top: 0; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--theme-soft); border-radius: var(--r); padding: 16px 18px; text-align: center; }
.stat-label { font-size: 14px; font-weight: 700; color: var(--theme-deep); line-height: 1.4; }
.stat-value { font-size: 46px; font-weight: 700; color: var(--ink); line-height: 1.2; margin-top: 2px !important; font-feature-settings: "tnum"; }
.stat-value small { font-size: 20px; margin-left: 2px; }
.stat-note { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-top: 4px !important; }

.chart { margin: 1.6em 0 0; padding: 20px 20px 16px; background: var(--paper-2); border-radius: var(--r); }
.chart figcaption { font-weight: 700; font-size: 16.5px; color: var(--ink); line-height: 1.5; margin-bottom: 14px; }
.bars { list-style: none !important; padding: 0 !important; margin: 0; }
.bars li { display: grid; grid-template-columns: 4.4em 1fr 4em; align-items: center; gap: 10px; margin: 0 !important; padding: 5px 0; font-size: 15px; line-height: 1.4; }
.bar-label { color: var(--muted); font-weight: 500; }
.bar-track { height: 22px; background: #fff; border-radius: 4px; overflow: hidden; }
.bar { display: block; height: 100%; background: var(--ink); opacity: .45; border-radius: 4px; }
.bars li.is-last .bar { background: var(--theme); opacity: 1; }
.bar-value { font-weight: 700; color: var(--ink); text-align: right; font-feature-settings: "tnum"; }
.bars li.is-last .bar-label, .bars li.is-last .bar-value { color: var(--theme-deep); font-weight: 700; }
.fig-note2, .fig-src { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 10px !important; }
.fig-src { margin-top: 4px !important; }
.fig-src a { margin-left: 4px; }
.ref a { font-size: 12px; font-weight: 700; text-decoration: none; padding: 0 3px; }

.sources { margin-top: 56px; }
.sources h2 { font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.sources ol { border-top: 1px solid var(--line); }
.sources li { position: relative; padding: 12px 0 12px 44px; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.7; scroll-margin-top: 100px; overflow-wrap: anywhere; }
.sources li:target { background: var(--theme-soft); }
.src-no { position: absolute; left: 4px; top: 12px; font-weight: 700; color: var(--theme-deep); }
.sources a { color: var(--theme-deep); text-underline-offset: 3px; }
.sources small { display: block; color: var(--muted); font-size: 12.5px; }

.faq h2 { font-size: 22px; }
.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q, .faq-a { position: relative; padding-left: 44px; }
.faq-q { font-size: 18px; font-weight: 700; color: var(--ink); line-height: 1.6; }
.faq-a { margin-top: 10px; font-size: 17.5px; line-height: 1.95; }
.faq-q::before, .faq-a::before { position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 700; line-height: 1; }
.faq-q::before { content: "Q"; background: var(--theme-deep); color: #fff; }
.faq-a::before { content: "A"; background: #fff; color: var(--theme-deep); box-shadow: inset 0 0 0 2px var(--theme); top: 2px; }
@media (max-width: 760px) {
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-sep { min-height: 0; }
  .cmp dl > div { grid-template-columns: 5em 1fr auto; }
  .cmp dt { font-size: 13px; }
  .cmp dd b { font-size: 15.5px; white-space: nowrap; }
  .meter i { width: 18px; }
  .cmp dd b { grid-column: auto; order: 2; }
  .cmp dd .meter { order: 3; }
  .stat-value { font-size: 38px; }
  .stat { padding: 14px 10px; }
  .chart { padding: 16px 14px 14px; }
  .bars li { grid-template-columns: 3.9em 1fr 3.6em; gap: 8px; }
  .fig-grid { gap: 18px; }
  .fig-item { display: block; text-align: center; }
  .fig-item svg { width: 78%; max-width: 280px; margin: 0 auto 4px; }
  .faq-q, .faq-a { padding-left: 40px; }
}

/* ===== トップ：定義つきの入口・違いの表・記事の見出し ===== */
.hero-lead b { color: var(--ink); background: linear-gradient(transparent 68%, var(--mark) 68%); }
.door-def { font-size: 16.5px; line-height: 1.9; color: var(--ink); }
.door-points { display: grid; gap: 6px; margin: 2px 0 4px; }
.door-points li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.7; }
.door-points li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.versus { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vs-head, .vs-row { display: grid; grid-template-columns: 220px 1fr 1fr; }
.vs-head span { padding: 12px 20px; font-weight: 700; color: #fff; background: var(--ink); }
.vs-head .vs-n { background: var(--nisetai-deep); } .vs-head .vs-h { background: var(--heiyou-deep); }
.vs-row { border-top: 1px solid var(--line); }
.vs-row span { padding: 14px 20px; line-height: 1.7; }
.vs-item { font-weight: 700; color: var(--ink); background: var(--paper-2); font-size: 15.5px; }
.vs-row .vs-n, .vs-row .vs-h { border-left: 1px solid var(--line); }
.list-head { margin: 34px 0 14px; padding-left: 12px; border-left: 6px solid var(--ink); font-size: 20px; line-height: 1.5; }
.list-head a { text-decoration: none; color: var(--ink); }
.list-nisetai { border-color: var(--nisetai); } .list-heiyou { border-color: var(--heiyou); }
.sec-title + .list-head { margin-top: 20px; }
.narrow { max-width: 800px; }
.faq-home { margin-top: 20px; }
.faq-home .faq-item:first-child { border-top: 0; padding-top: 4px; }
.hub-def { max-width: 44em; font-size: 18px; line-height: 1.9; color: var(--ink); font-weight: 500; margin-bottom: 8px; }
@media (max-width: 760px) {
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; }
  .vs-row span { padding: 10px 16px; }
  .vs-item { padding: 8px 16px !important; }
  .vs-row .vs-n, .vs-row .vs-h { border-left: 0; padding-left: 96px; position: relative; }
  .vs-row .vs-n::before, .vs-row .vs-h::before { position: absolute; left: 16px; top: 12px; font-size: 12px; font-weight: 700; }
  .vs-row .vs-n::before { content: "二世帯"; color: var(--nisetai-deep); }
  .vs-row .vs-h::before { content: "賃貸併用"; color: var(--heiyou-deep); }
  .vs-row .vs-h { border-top: 1px dashed var(--line); }
}
@media (max-width: 760px) {
  .cmp dd b:only-child { white-space: normal; grid-column: 2 / -1; }
}
.cmp-card { min-width: 0; }
@media (max-width: 760px) {
  .cmp dd b { white-space: normal; min-width: 0; }
  .cmp dl > div { grid-template-columns: 5em minmax(0, 1fr) auto; }
}
.kari-badge { display: inline-block; margin: 0 0 0 8px !important; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: #FFF2C9; color: #8A6500; border: 1px dashed #B98A00; vertical-align: 1px; }
.taiken.is-kari .box-label { display: inline-block; }

/* ===== 記事の部品その2：結論・早見表・手順・チェックリスト・ポイント／注意・用語・計算ツール ===== */
.answer { margin-top: 18px; padding: 16px 20px; background: #fff; border-radius: var(--r); border-left: 6px solid var(--theme); }
.answer-label { display: inline-block; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--theme-deep); padding: 1px 12px; border-radius: 999px; margin-bottom: 6px; }
.answer p:last-child { font-size: 18px; line-height: 1.9; color: var(--ink); font-weight: 500; }
.facts { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; }
.facts-title { background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; padding: 8px 18px; }
.facts dl { margin: 0; }
.facts dl > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 12px 18px; border-top: 1px solid var(--line); }
.facts dl > div:first-child { border-top: 0; }
.facts dt { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.facts dd { margin: 0; font-size: 19px; font-weight: 700; color: var(--ink); line-height: 1.5; text-align: right; }
.blk-title { font-weight: 700; font-size: 18px; color: var(--ink); line-height: 1.5; margin-bottom: 10px; }
.steps-box, .check-box { background: var(--paper-2); border-radius: var(--r); padding: 20px 22px; }
.steps { list-style: none !important; padding: 0 !important; margin: 0; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding: 0 0 18px 50px; margin: 0 !important; line-height: 1.75; }
.steps li:last-child { padding-bottom: 0; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--theme-deep); color: #fff; font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.steps li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--line); }
.steps li:last-child::after { content: none; }
.steps b { display: block; font-size: 17.5px; color: var(--ink); background: none !important; }
.steps span { display: block; font-size: 16.5px; }
.checklist { list-style: none !important; padding: 0 !important; margin: 0; }
.checklist li { margin: 0 !important; border-top: 1px solid var(--line); }
.checklist li:first-child { border-top: 0; }
.checklist label { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 12px 0; cursor: pointer; line-height: 1.7; }
.checklist input { width: 22px; height: 22px; margin: 4px 0 0; accent-color: var(--theme-deep); }
.checklist b { display: block; font-size: 17px; color: var(--ink); background: none !important; }
.checklist small { display: block; font-size: 15px; color: var(--muted); line-height: 1.7; }
.checklist input:checked + span b { text-decoration: line-through; color: var(--muted); }
.note { border-radius: var(--r); padding: 18px 22px; font-size: 17px; line-height: 1.9; }
.note > * + * { margin-top: .5em; }
.note-point { background: var(--theme-soft); }
.note-warn { background: #FFF6DC; border: 2px solid #E0B43A; }
.note-label { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 1px 12px; border-radius: 999px; background: var(--theme-deep); color: #fff; }
.note-warn .note-label { background: #8A6500; }
.glossary { margin-top: 56px; }
.glossary h2 { font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.glossary dl { margin: 0; border-top: 1px solid var(--line); }
.glossary dl > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.5; }
.glossary dd { margin: 4px 0 0; font-size: 16.5px; line-height: 1.85; }
.tool { border: 2px solid var(--theme); border-radius: var(--r); padding: 20px 22px; background: #fff; }
.tool-title { font-weight: 700; font-size: 19px; color: var(--ink); }
.tool-lead, .tool-note { font-size: 14.5px; line-height: 1.7; color: var(--muted); margin-top: 6px !important; }
.tool-in { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 14px; }
.tool-in label { display: grid; gap: 4px; font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.5; }
.tool-in label span { display: flex; align-items: center; gap: 6px; font-weight: 400; }
.tool-in input { width: 100%; min-width: 0; font: inherit; font-size: 18px; padding: 8px 10px; border: 2px solid var(--line); border-radius: 8px; text-align: right; }
.tool-in input:focus { border-color: var(--theme-deep); outline: none; }
.tool-out { margin: 18px 0 0; border-top: 2px solid var(--ink); }
.tool-out > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.tool-out dd { margin: 0; font-weight: 700; color: var(--ink); font-feature-settings: "tnum"; white-space: nowrap; }
.tool-total { background: var(--paper-2); padding: 12px 12px !important; flex-wrap: wrap; }
.tool-total dd { font-size: 19px; white-space: normal; text-align: right; }
.tool-total .is-plus { color: var(--heiyou-deep); } .tool-total .is-minus { color: #B3261E; }
@media (max-width: 760px) {
  .answer p:last-child { font-size: 17px; }
  .facts dl > div { grid-template-columns: 1fr; }
  .facts dd { text-align: left; }
  .steps-box, .check-box, .note, .tool { padding: 16px 16px; }
  .steps li { padding-left: 46px; }
}

/* ===== トップ：読む順番・数字・言葉 ===== */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--c, var(--ink)); border-radius: 8px; padding: 20px 22px; }
.path-nisetai { --c: var(--nisetai); } .path-heiyou { --c: var(--heiyou); }
.path h3 { font-size: 18px; line-height: 1.5; color: var(--ink); margin-bottom: 10px; }
.path ol { counter-reset: pt; display: grid; gap: 10px; }
.path li { counter-increment: pt; position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.6; }
.path li::before { content: counter(pt); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%; background: var(--c, var(--ink)); color: #fff; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.path a { color: var(--ink); text-underline-offset: 4px; font-weight: 500; }
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.num { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; }
.num-v { font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1.2; font-feature-settings: "tnum"; }
.num-v small { font-size: 18px; margin: 0 2px; }
.num-l { margin-top: 8px; font-size: 15.5px; line-height: 1.75; }
.num-s { margin-top: 10px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.num-s a { color: var(--ink); text-underline-offset: 3px; }
.sec-title-2 { margin-top: 56px; }
.terms { margin: 16px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.terms > div { padding: 14px 0; border-top: 1px solid var(--line); }
.terms dt { font-weight: 700; color: var(--ink); font-size: 17px; line-height: 1.5; }
.terms dd { margin: 4px 0 0; font-size: 15.5px; line-height: 1.8; }
@media (max-width: 760px) {
  .paths, .nums, .terms { grid-template-columns: 1fr; }
  .num-v { font-size: 34px; }
}

/* ===== 物件（試作） ===== */
.bk-nums { margin-bottom: 28px; }
.bk-filter { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 18px; padding: 16px 18px; background: var(--paper-2); border-radius: var(--r); margin-bottom: 18px; }
.bk-filter label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.bk-filter select { font: inherit; font-size: 16px; font-weight: 400; padding: 8px 10px; border: 2px solid var(--line); border-radius: 8px; background: #fff; min-width: 9em; }
.bk-filter .bk-chk { display: flex; align-items: center; gap: 8px; font-size: 15px; padding-bottom: 8px; }
.bk-chk input { width: 20px; height: 20px; accent-color: var(--ink); }
.bk-count { margin-left: auto; font-size: 15px; padding-bottom: 6px; }
.bk-count b { font-size: 24px; color: var(--ink); margin-right: 2px; }
.bk-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bk-card { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; text-decoration: none; color: var(--text); }
.bk-card:hover { border-color: var(--ink); }
.bk-card[hidden] { display: none; }
.bk-ward { font-weight: 700; color: var(--ink); font-size: 16.5px; line-height: 1.5; }
.bk-price { font-size: 26px; font-weight: 700; color: var(--nisetai-deep); line-height: 1.3; font-feature-settings: "tnum"; }
.bk-spec { font-size: 14.5px; line-height: 1.6; }
.bk-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bk-tags i { font-style: normal; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; background: var(--heiyou-soft); color: var(--heiyou-deep); }
.bk-tags i.is-warn { background: #FFF2C9; color: #8A6500; }
.bk-about { margin-top: 36px; }
.btn-ext { background: var(--ink); color: #fff !important; text-decoration: none; width: 100%; }
.more { margin-top: 22px; text-align: center; }
@media (max-width: 960px) { .bk-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .bk-list { grid-template-columns: 1fr; }
  .bk-filter label { flex: 1 1 40%; }
  .bk-filter select { min-width: 0; width: 100%; }
  .bk-count { margin-left: 0; }
}
