:root {
  --bg: #f5f3ec;
  --card: #fbf9f5;
  --ink: #28263c;
  --muted: #6f6b86;
  --line: #e4dfd2;
  --main: #28263c;
  --main-ink: #d9a94c;
  --main-soft: #efe9da;
  --gold: #a67c24;
  --gold-deep: #8a671c;
  --gold-soft: rgba(166, 124, 36, .12);
  --accent: #a67c24;
  --accent-soft: #f6eedb;
  --shadow: 0 10px 30px rgba(40, 38, 60, .08), 0 2px 8px rgba(40, 38, 60, .05), inset 0 0 0 1px rgba(166, 124, 36, .22);
  --serif: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --warn: #a3332b;
  --warn-soft: #fbeceb;
  --ok: #2d7a3e;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, sans-serif;
  font-size: 17px; line-height: 1.8;
}
a { color: var(--gold-deep); }
img { max-width: 100%; }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
h1 { font-size: 1.6rem; line-height: 1.4; margin: .4em 0 .3em; }
h2 { font-size: 1.25rem; line-height: 1.45; margin: 1.8em 0 .6em; padding-left: .6em; border-left: 5px solid var(--main); }
h3 { font-size: 1.08rem; margin: 1.3em 0 .4em; }
p { margin: .6em 0; }
.lead { font-size: 1.05rem; color: var(--muted); }
small, .small { font-size: .88rem; color: var(--muted); }

/* ヘッダー・フッター */
.site-head { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.head-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.logo { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.05rem; display: flex; align-items: center; gap: 6px; }
.logo-mark { color: var(--main); font-size: 1.3rem; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: 44px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.1); width: 260px; }
.menu ul { list-style: none; margin: 0; padding: 6px; }
.menu li a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 8px; }
.menu li a:hover, .menu li a[aria-current] { background: var(--main-soft); }
.crumbs { font-size: .85rem; color: var(--muted); margin-top: 14px; }
.crumbs a { color: var(--muted); }
.site-foot { margin-top: 60px; padding: 28px 0 40px; background: #eceae3; font-size: .9rem; color: var(--muted); }
.foot-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.copy { margin-top: 14px; }

/* トップ */
.hero { padding: 28px 0 8px; }
.hero h1 { font-size: 1.75rem; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 20px 0; }
.tool-card { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.tool-card:hover { border-color: var(--main); transform: translateY(-2px); }
.tool-card .ico { font-size: 1.6rem; }
.tool-card h2 { border: 0; padding: 0; margin: 6px 0 4px; font-size: 1.1rem; }
.tool-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.tool-card .q { display: inline-block; margin-top: 8px; font-size: .82rem; background: var(--main-soft); color: var(--main); padding: 2px 10px; border-radius: 999px; }

/* カード・フォーム */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 16px 0; }
.card.soft { background: var(--main-soft); border-color: transparent; }
.card.accent { background: var(--accent-soft); border-color: #efd3bd; }
.card.warn { background: var(--warn-soft); border-color: #efc9c5; }
.q-block { margin: 0 0 18px; }
.q-block > .q-title { font-weight: 700; display: block; margin-bottom: 6px; }
.q-block .hint { font-size: .86rem; color: var(--muted); margin: -2px 0 6px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: .95rem; line-height: 1.4; }
.choices input { accent-color: var(--main); margin: 0; }
.choices label:has(input:checked) { border-color: var(--main); background: var(--main-soft); font-weight: 700; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], input[type=url], select, textarea {
  font: inherit; font-size: 16px; width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,111,94,.25); border-color: var(--main); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row.plan-row { grid-template-columns: 1.2fr .8fr 1.4fr; margin-bottom: 8px; gap: 8px; }
@media (max-width: 560px) { .row, .row.plan-row { grid-template-columns: 1fr; } .row.plan-row { padding-bottom: 8px; border-bottom: 1px dashed var(--line); } }
.unit { display: flex; align-items: center; gap: 8px; }
.unit input { max-width: 220px; }
.btn { display: inline-block; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 0; background: var(--main); color: var(--main-ink); cursor: pointer; text-decoration: none; text-align: center; }
.btn:hover { filter: brightness(1.08); }
.btn.sub { background: var(--card); color: var(--main); border: 1.5px solid var(--main); }
.btn.accent { background: var(--accent); }
.btn.block { display: block; width: 100%; }
.btn[disabled] { opacity: .5; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* 結果 */
.result { scroll-margin-top: 70px; }
.big-num { font-size: 2rem; font-weight: 700; color: var(--main); line-height: 1.3; }
.big-num small { font-size: .95rem; color: var(--muted); font-weight: 400; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 12px 0; }
.stat { background: var(--main-soft); border-radius: 10px; padding: 12px 14px; }
.stat .k { font-size: .85rem; color: var(--muted); }
.stat .v { font-size: 1.35rem; font-weight: 700; }
table.tbl { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--card); }
.tbl th, .tbl td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.tbl th { background: #f1f0eb; font-weight: 700; }
.tbl-wrap { overflow-x: auto; }

/* チェックリスト */
.todo-group h3 { display: flex; align-items: center; gap: 8px; }
.todo-group h3 .tag { font-size: .78rem; padding: 2px 10px; border-radius: 999px; background: var(--main); color: #fff; font-weight: 700; }
.todo-group.late h3 .tag { background: var(--warn); }
.todo { list-style: none; padding: 0; margin: 0; }
.todo li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin: 8px 0; display: grid; grid-template-columns: 28px 1fr; gap: 6px 10px; }
.todo li input { width: 22px; height: 22px; margin-top: 4px; accent-color: var(--main); }
.todo li.done { opacity: .55; }
.todo li.done .t { text-decoration: line-through; }
.todo .t { font-weight: 700; }
.todo .meta { grid-column: 2; font-size: .9rem; color: var(--muted); }
.todo .meta b { color: var(--ink); }
.todo .due { display: inline-block; font-size: .8rem; font-weight: 700; padding: 0 8px; border-radius: 6px; background: var(--main-soft); color: var(--main); margin-left: 4px; }
.todo .due.late { background: var(--warn-soft); color: var(--warn); }
.progress { height: 10px; background: var(--line); border-radius: 999px; overflow: hidden; }
.progress > div { height: 100%; background: var(--main); width: 0; transition: width .2s; }

/* 一覧（制度など） */
.wizard fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.wizard .step-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; padding: 0; }
.step-dots { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .82rem; color: var(--muted); }
.step-dots li { flex: 1; text-align: center; padding-top: 8px; border-top: 4px solid var(--line); }
.step-dots li.on { border-top-color: var(--main); color: var(--main); font-weight: 700; }
.wizard-btns { display: flex; gap: 10px; justify-content: space-between; margin-top: 16px; }
.wizard-btns .btn:not(.sub) { flex: 1; }
.verdict { border-width: 2px; }
.verdict.warn { border-color: var(--accent); background: var(--accent-soft); }
.verdict.ok { border-color: var(--ok); background: var(--main-soft); }
.verdict .v-title { font-size: 1.25rem; font-weight: 700; margin: 0 0 6px; }
.money { margin: 0; padding-left: 1.2em; }
.money li { margin: 6px 0; }
.money li.hl { background: #fff6d6; border-radius: 6px; padding: 4px 6px; }
.items { list-style: none; padding: 0; margin: 0; }
.items > li { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; margin: 10px 0; }
.items .name { font-weight: 700; font-size: 1.02rem; }
.items .badge { display: inline-block; font-size: .78rem; padding: 1px 9px; border-radius: 999px; margin-left: 6px; background: var(--main-soft); color: var(--main); vertical-align: 2px; }
.items .badge.maybe { background: #f1f0eb; color: var(--muted); }
.items .badge.urgent { background: var(--warn-soft); color: var(--warn); }
.items .where { font-size: .9rem; color: var(--muted); }

/* 提携先 */
.partner { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin: 12px 0; }
.partner h3 { margin: 0 0 4px; }
.plans { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.plans span { background: var(--accent-soft); border-radius: 8px; padding: 4px 10px; font-size: .9rem; }
.plans b { color: var(--accent); }

/* フォーム送信 */
.form-msg { margin-top: 10px; font-weight: 700; }
.form-msg.err { color: var(--warn); }
.form-msg.ok { color: var(--ok); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--warn); font-size: .8rem; margin-left: 4px; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; margin: 8px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.others { margin-top: 40px; }
.tool-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tool-links a { display: inline-block; padding: 6px 14px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .92rem; }
.hidden { display: none !important; }
.note { font-size: .88rem; color: var(--muted); }
hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

.doc { font-size: 1rem; line-height: 1.8; }
.doc h2.doc-title { text-align: center; font-size: 1.25rem; border: 0; padding: 0; margin: 18px 0; }
.doc h3 { font-size: 1.02rem; border-left: 4px solid var(--main); padding-left: 8px; margin: 18px 0 6px; }
.doc .doc-date, .doc .doc-from { text-align: right; margin: 0; }
.doc .doc-to { margin: 4px 0 0; }
.doc .doc-list { padding-left: 1.4em; margin: 0; }
.doc .doc-list li { margin: 4px 0; }
.doc .doc-note { font-size: .92rem; color: var(--muted); }
.doc .doc-reply { border: 1px dashed var(--ink); border-radius: 8px; padding: 6px 14px 12px; margin-top: 18px; }
.doc .doc-reply p { margin: 6px 0; }
.doc .ck { font-size: 1.15em; }
.doc .fill { display: flex; gap: 8px; align-items: flex-end; margin: 10px 0; }
.doc .fill span:first-child { white-space: nowrap; }
.doc .fill .blank { flex: 1; border-bottom: 1px solid var(--ink); min-height: 1.4em; }
.doc .doc-src { font-size: .8rem; color: var(--muted); margin-top: 16px; }
/* 見出しのラベル・札・数字タイル・状況ボタン（2026-11-14 見直し） */
.eyebrow { font-size: .78rem; letter-spacing: .18em; color: var(--main); font-weight: 700; margin: 2.2em 0 .2em; }
.eyebrow + h2 { margin-top: 0; border: 0; padding: 0; font-size: 1.4rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; padding: 0; list-style: none; }
.chips li { border: 1.5px solid var(--main); color: var(--main); background: var(--card); padding: 3px 12px; border-radius: 6px; font-size: .86rem; font-weight: 700; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; text-align: center; }
.tile .n { font-size: 1.8rem; font-weight: 800; color: var(--main); line-height: 1.2; word-break: keep-all; }
.tile .n small { font-size: .85rem; font-weight: 700; }
.tile .l { font-weight: 700; margin-top: 4px; font-size: .95rem; }
.tile .s { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.tile.warn .n { color: var(--accent); }
.situ-group { margin: 18px 0 6px; font-weight: 700; color: var(--muted); font-size: .9rem; }
.situ { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin: 8px 0; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.situ:hover { border-color: var(--main); transform: translateX(2px); }
.situ .ico { font-size: 1.7rem; width: 2rem; text-align: center; flex: none; }
.situ .t { font-weight: 700; font-size: 1.05rem; display: block; }
.situ .d { font-size: .86rem; color: var(--muted); display: block; }
.situ::after { content: "→"; margin-left: auto; color: var(--main); font-weight: 800; font-size: 1.2rem; flex: none; }
.hero h1 { font-size: 1.9rem; line-height: 1.35; }
.btn { padding: 14px 24px; font-size: 1.02rem; }
/* ===== 見た目の土台（2026-11-14：クリーム地・明朝の見出し・金の差し色） ===== */
h1, h2, h3, .logo, .eyebrow + h2, .v-title, .tile .n, .big-num, .situ .t, .tool-card h2, .doc-title { font-family: var(--serif); }
h1 { font-weight: 800; font-size: 1.9rem; line-height: 1.32; letter-spacing: .01em; }
h2 { font-weight: 800; border-left: 0; padding-left: 0; font-size: 1.35rem; }
h2::before { content: ""; display: block; width: 28px; height: 3px; background: var(--gold); margin-bottom: 10px; border-radius: 2px; }
.eyebrow + h2::before, .tool-card h2::before, .card h2::before, .faq h2::before, .others h2::before { display: none; }
h3 { font-weight: 800; }
.lead { color: var(--muted); font-size: 1rem; }
.site-head { background: rgba(245, 243, 236, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { font-weight: 800; letter-spacing: .04em; }
.logo-mark { color: var(--gold); }
.menu summary { border-color: var(--ink); color: var(--ink); font-weight: 700; }
.site-foot { background: #ebe7da; }
.eyebrow { color: var(--gold-deep); letter-spacing: .2em; }
.hero .kicker { color: var(--muted); font-size: .86rem; letter-spacing: .04em; margin: 0 0 6px; }
.hero h1 { font-size: 2.3rem; line-height: 1.28; margin: .2em 0 .5em; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; } }
.card { border: 0; box-shadow: var(--shadow); background: var(--card); }
.card.soft { background: var(--main-soft); box-shadow: none; }
.card.accent { background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(166, 124, 36, .35); }
.card.warn { box-shadow: inset 0 0 0 1px #e8c4bf; }
.btn { background: linear-gradient(180deg, #34314d, #1f1d2e); color: var(--main-ink); font-family: var(--serif); font-weight: 800; letter-spacing: .08em; border-radius: 8px; box-shadow: 0 4px 14px rgba(40, 38, 60, .18); }
.btn.sub { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); box-shadow: none; }
.btn.accent { background: linear-gradient(180deg, #c9973f, #a67c24); color: #fff; }
.chips li { background: var(--gold-soft); color: var(--gold-deep); border: 0; border-radius: 999px; padding: 3px 14px; }
.choices label { background: var(--card); border-color: var(--line); }
.choices label:has(input:checked) { border-color: var(--ink); background: var(--main-soft); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.situ { border: 0; box-shadow: var(--shadow); }
.situ::after { color: var(--gold); }
.tile { border: 0; box-shadow: var(--shadow); }
.tile .n { color: var(--ink); }
.tile .n small { color: var(--gold-deep); }
.tile.warn .n { color: #a3332b; }
.big-num { color: var(--ink); font-weight: 800; }
.verdict.warn { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--gold); }
.verdict.ok { background: var(--card); box-shadow: inset 0 0 0 2px var(--ink); }
.step-dots li.on { border-top-color: var(--gold); color: var(--ink); }
.todo-group h3 .tag { background: var(--ink); color: var(--main-ink); }
.progress > div { background: var(--gold); }
.items > li, .partner, .faq details { border: 0; box-shadow: var(--shadow); }
.tool-card { border: 0; box-shadow: var(--shadow); }
/* 質問を順番に：見出しの重なりをなくし、「次へ」を画面の下に固定 */
.wizard .step-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wizard-btns { position: sticky; bottom: 0; z-index: 5; background: linear-gradient(rgba(251, 249, 245, 0), var(--card) 35%); padding: 18px 0 12px; margin-bottom: -6px; }
.hero-cta { margin: 18px 0 8px; }
.hero-cta .btn { display: block; width: 100%; }
/* 使い方のデモ */
.demo { display: grid; gap: 18px; align-items: center; margin: 10px 0 8px; }
@media (min-width: 640px) { .demo { grid-template-columns: 300px 1fr; } .demo-play { grid-column: 2; justify-self: start; } }
.demo-phone { width: 280px; height: 520px; margin: 0 auto; border-radius: 38px; padding: 12px; background: linear-gradient(160deg, #34314d, #1f1d2e); box-shadow: 0 24px 50px rgba(40, 38, 60, .28); }
.demo-screen { position: relative; height: 100%; border-radius: 28px; background: var(--bg); overflow: hidden; }
.demo-scene { position: absolute; inset: 0; padding: 26px 16px 16px; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.demo-scene.on { opacity: 1; transform: none; }
.d-eb { font-size: .62rem; letter-spacing: .2em; color: var(--gold-deep); font-weight: 700; margin: 0; }
.d-h { font-family: var(--serif); font-weight: 800; font-size: 1.05rem; margin: 4px 0 12px; line-height: 1.4; }
.d-row, .d-pill, .demo-check { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); padding: 10px 12px; margin: 8px 0; font-size: .82rem; font-weight: 700; transition: background .25s, box-shadow .25s, transform .25s; }
.d-pill { border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); }
.d-row.picked, .d-pill.picked { background: var(--main-soft); box-shadow: inset 0 0 0 2px var(--ink); transform: scale(.98); }
.d-btn { margin-top: 18px; text-align: center; padding: 11px; border-radius: 8px; background: linear-gradient(180deg, #34314d, #1f1d2e); color: var(--main-ink); font-family: var(--serif); font-weight: 800; font-size: .9rem; transition: transform .2s; }
.d-btn.picked { transform: scale(.96); }
.d-dots { display: flex; gap: 6px; margin-bottom: 8px; } .d-dots i { flex: 1; height: 3px; border-radius: 2px; background: var(--line); } .d-dots i.on { background: var(--gold); }
.d-verdict { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--gold); border-radius: 12px; padding: 12px; font-size: .8rem; line-height: 1.6; }
.d-verdict b { display: block; font-family: var(--serif); font-size: .95rem; margin-bottom: 4px; }
.d-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.d-tiles > div { background: var(--card); box-shadow: var(--shadow); border-radius: 12px; text-align: center; padding: 10px 4px; }
.d-tiles p { margin: 0; font-size: .7rem; font-weight: 700; }
.d-tiles .d-n { font-family: var(--serif); font-weight: 800; font-size: 1.35rem; color: var(--ink); line-height: 1.3; }
.d-tiles .d-n small { font-size: .7rem; color: var(--gold-deep); }
.d-note { font-size: .74rem; color: var(--muted); text-align: center; margin-top: 14px; }
.demo-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 6px; } .demo-bar i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .5s ease; }
.demo-check { padding-left: 34px; position: relative; } .demo-check::before { content: ""; position: absolute; left: 10px; top: 50%; width: 15px; height: 15px; margin-top: -8px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--muted); background: var(--card); transition: background .25s; }
.demo-check.done { color: var(--muted); text-decoration: line-through; } .demo-check.done::before { background: var(--gold); box-shadow: none; }
.demo-check.done::after { content: "✓"; position: absolute; left: 12px; top: 50%; margin-top: -11px; color: #fff; font-size: .8rem; font-weight: 800; }
.demo-tap { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: rgba(166, 124, 36, .35); box-shadow: 0 0 0 2px rgba(166, 124, 36, .6); transform: translate(140px, 360px); transition: transform .6s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }
.demo-tap.press { animation: tapPress .45s ease; }
@keyframes tapPress { 0% { scale: 1; } 40% { scale: .7; } 100% { scale: 1; } }
.demo-cap { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.demo-cap li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-weight: 700; padding: 8px 12px; border-radius: 10px; transition: background .3s, color .3s; }
.demo-cap li b { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); font-family: var(--serif); }
.demo-cap li.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.demo-cap li.on b { background: var(--ink); color: var(--main-ink); box-shadow: none; }
.demo-play { justify-self: center; }
/* 動き */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.situ, .tile, .btn, .tool-card { transition: transform .2s ease, box-shadow .2s ease, opacity .6s ease; }
.situ:hover, .tool-card:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(40, 38, 60, .12), inset 0 0 0 1px rgba(166, 124, 36, .4); }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.99); }
.situ::after { transition: transform .2s ease; }
.situ:hover::after { transform: translateX(4px); }
.hero h1 { animation: heroIn .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero .lead, .hero .kicker { animation: heroIn .9s .15s cubic-bezier(.2, .7, .2, 1) both; }
.hero-cta { animation: heroIn .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes heroIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.wizard fieldset:not(.hidden) { animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }
/* メニュー：分けて並べる（スマホでは全面に開く） */
.menu summary { display: inline-flex; align-items: center; gap: 8px; }
.burger, .burger::before, .burger::after { display: block; width: 14px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s, background .25s; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -5px; } .burger::after { top: 5px; }
.menu[open] .burger { background: transparent; }
.menu[open] .burger::before { transform: translateY(5px) rotate(45deg); }
.menu[open] .burger::after { transform: translateY(-5px) rotate(-45deg); }
.menu nav.mega { position: fixed; left: 0; right: 0; top: 57px; bottom: auto; height: calc(100vh - 57px); height: calc(100dvh - 57px); width: auto; overflow-y: auto; background: var(--bg); border: 0; border-radius: 0; box-shadow: none; padding: 8px 16px 40px; animation: megaIn .3s ease both; }
@keyframes megaIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (min-width: 760px) { .menu nav.mega { position: absolute; left: auto; right: 0; top: 48px; bottom: auto; height: auto; width: 680px; max-height: 80vh; border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 16px 20px; } }
.mega-g { margin-bottom: 8px; }
.mega-t { font-size: .78rem; letter-spacing: .14em; color: var(--gold-deep); font-weight: 700; margin: 14px 0 4px; }
.mega ul { padding: 0; }
.mega li a { display: flex; gap: 12px; align-items: center; padding: 10px 10px; }
.mega .mi { font-size: 1.35rem; width: 1.8rem; text-align: center; flex: none; }
.mega li a b { display: block; font-size: .98rem; }
.mega li a small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.others .situ-group { margin-top: 14px; }
/* ===================================================================
   見た目の最終版（2026-11-14）：Tabikoto風。白とうすいピーチ、太いゴシック、オレンジのボタン
   上の古い指定をここでまとめて上書きしている
   =================================================================== */
:root {
  --bg: #fffbf8; --card: #ffffff; --ink: #262b45; --muted: #5a5f74; --line: #ece5de;
  --main: #ef8354; --main-ink: #262b45; --main-soft: #fdeee6;
  --gold: #ef8354; --gold-deep: #c4572a; --gold-soft: rgba(239, 131, 84, .12);
  --accent: #ef8354; --accent-soft: #fff1e8; --ok: #2f8a5b;
  --radius: 20px;
  --shadow: 0 8px 24px rgba(0, 1, 22, .06);
  --serif: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
}
body { font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif; font-weight: 500; font-size: 17px; line-height: 1.85; color: var(--ink); background: var(--bg); overflow-x: hidden; }
h1, h2, h3, .logo, .v-title, .tile .n, .big-num, .situ .t, .btn { font-weight: 900; }
h1 { font-size: 2rem; line-height: 1.35; letter-spacing: .01em; }
h2 { font-size: 1.45rem; line-height: 1.45; }
h2::before { display: none; }
.hl { color: var(--main); font-style: normal; }
.lead, .band-lead { color: var(--ink); font-weight: 700; font-size: 1rem; }
small, .small { color: var(--muted); font-size: .9rem; }
a { color: var(--gold-deep); }
.eyebrow { display: inline-block; color: var(--ink); letter-spacing: .04em; font-size: .9rem; font-weight: 700; padding-left: 10px; border-left: 4px solid var(--main); margin-top: 2.6em; }
.eyebrow + h2 { font-size: 1.5rem; margin-top: .3em; }
/* ヘッダー */
.site-head { background: rgba(255, 255, 255, .92); border-bottom: 0; box-shadow: 0 1px 0 var(--line); }
.logo { color: var(--ink); letter-spacing: .02em; }
.logo-mark { color: var(--main); }
.head-links { display: flex; align-items: center; gap: 8px; }
.head-links > a { display: none; text-decoration: none; color: var(--ink); font-weight: 900; font-size: .9rem; padding: 8px 14px; border-radius: 999px; }
@media (min-width: 760px) { .head-links > a { display: inline-block; } }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-weight: 900; font-size: .9rem; color: var(--ink); background: var(--main); border: 0; border-radius: 999px; padding: 8px 16px; cursor: pointer; box-shadow: 0 8px 18px rgba(239, 131, 84, .3); }
.icon-btn svg, .tabbar svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
/* ボタン */
.btn { background: var(--main); color: var(--ink); border: 0; border-radius: 999px; font-family: inherit; letter-spacing: .02em; padding: 15px 28px; box-shadow: 0 12px 26px rgba(239, 131, 84, .38); }
.btn.sub { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn.accent, .btn.light { background: var(--main); color: var(--ink); }
/* カード・選択 */
.card, .situ, .tile, .items > li, .partner, .faq details, .tool-card { border: 0; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.card.soft { background: var(--main-soft); box-shadow: none; }
.card.accent { background: var(--accent-soft); box-shadow: none; }
.choices label { border: 2px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; padding: 9px 16px; }
.choices label:has(input:checked) { border-color: var(--main); background: var(--main-soft); color: var(--ink); }
.choices input { accent-color: var(--main); }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=date], input[type=search], select, textarea { border: 2px solid var(--line); border-radius: 14px; font-weight: 700; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(239, 131, 84, .45); outline-offset: 0; border-color: var(--main); }
.chips li { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--main); font-weight: 900; }
.tile .n { color: var(--ink); } .tile .n small { color: var(--main); }
.tile.warn .n { color: #d0402b; }
.big-num { color: var(--ink); }
.verdict.warn { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--main); }
.verdict.ok { background: #fff; box-shadow: inset 0 0 0 2px var(--ok); }
.step-dots li.on { border-top-color: var(--main); color: var(--ink); }
.todo-group h3 .tag { background: var(--ink); color: #fff; }
.progress > div { background: var(--main); }
.situ::after { color: var(--main); }
.situ .ico { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 14px; background: var(--main-soft); font-size: 1.35rem; }
.situ-group { color: var(--ink); font-weight: 900; font-size: .95rem; }
.wizard-btns { background: linear-gradient(rgba(255, 255, 255, 0), #fff 35%); }
.site-foot { background: #f6efe9; }
/* 全幅の帯（トップの見出し・デモ） */
.band { margin: 0 calc(50% - 50vw); padding: 44px calc(50vw - 50%) 48px; background: radial-gradient(120% 80% at 90% 0%, #ffe3d3 0%, rgba(255, 227, 211, 0) 60%), linear-gradient(180deg, #fff6f0, #fffbf8); }
.band h1, .band-title { margin-top: 0; }
.band-title { font-size: 1.6rem; }
.hero-band .kicker { display: inline-block; font-weight: 700; font-size: .9rem; padding-left: 10px; border-left: 4px solid var(--main); margin: 0 0 14px; color: var(--ink); }
.hero-band h1 { font-size: 2.35rem; line-height: 1.3; }
@media (min-width: 640px) { .hero-band h1 { font-size: 3.1rem; } }
.btns-hero { display: grid; gap: 12px; margin-top: 18px; max-width: 360px; }
.btns-hero .btn { display: block; text-align: center; }
/* 困りごと・3ステップ・比べる */
.pain { display: grid; gap: 12px; margin: 14px 0; }
.pain > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px 18px; }
.pain b { display: block; font-weight: 900; font-size: 1.05rem; }
.pain span { color: var(--muted); font-size: .92rem; }
.steps3 { display: grid; gap: 12px; margin: 14px 0; }
@media (min-width: 640px) { .steps3, .pain { grid-template-columns: repeat(3, 1fr); } }
.steps3 > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.steps3 .no { font-weight: 900; color: var(--main); font-size: 1.6rem; line-height: 1; }
.steps3 b { display: block; font-weight: 900; font-size: 1.1rem; margin: 6px 0 2px; }
.steps3 span { color: var(--muted); font-size: .92rem; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.compare > div { border-radius: var(--radius); padding: 16px; background: #f3f1ef; }
.compare > div.us { background: #fff; box-shadow: inset 0 0 0 2px var(--main), var(--shadow); }
.compare b { display: block; font-weight: 900; margin-bottom: 6px; }
.compare ul { margin: 0; padding-left: 1.1em; font-size: .9rem; }
/* 分野で絞る */
.seg { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 10px 0 4px; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; font: inherit; font-weight: 900; font-size: .9rem; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.seg button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.situ.off, .situ-group.off { display: none; }
/* さがす画面 */
.finder { position: fixed; inset: 0; z-index: 50; background: var(--bg); overflow-y: auto; padding: 14px 0 100px; animation: megaIn .25s ease both; }
.finder[hidden] { display: none; }
.finder-top { display: flex; justify-content: space-between; align-items: center; }
.finder-title { font-weight: 900; font-size: 1.4rem; margin: 0; }
.finder .icon-btn { background: #fff; box-shadow: var(--shadow); }
#finder-q { width: 100%; margin: 12px 0 2px; padding: 14px 16px; font-size: 1rem; }
body.finder-open { overflow: hidden; }
/* 下のタブ（スマホ） */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(255, 255, 255, .96); box-shadow: 0 -1px 0 var(--line), 0 -8px 24px rgba(0, 1, 22, .05); padding: 6px 0 calc(6px + env(safe-area-inset-bottom)); }
.tabbar a, .tabbar button { display: grid; justify-items: center; gap: 2px; font: inherit; font-size: .72rem; font-weight: 900; color: var(--muted); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 4px 0; }
.tabbar svg { width: 22px; height: 22px; }
.tabbar [aria-current] { color: var(--main); }
@media (max-width: 759px) { body { padding-bottom: 70px; } .wizard-btns { bottom: 64px; } }
@media (min-width: 760px) { .tabbar { display: none; } }
/* くわしく（たたんで文字を減らす） */
details.more { margin-top: 4px; }
details.more summary { cursor: pointer; color: var(--gold-deep); font-weight: 700; font-size: .88rem; list-style: none; }
details.more summary::before { content: "＋ "; }
details.more[open] summary::before { content: "－ "; }
details.more summary::-webkit-details-marker { display: none; }
@media print { .tabbar, .finder, .seg { display: none !important; } body { padding-bottom: 0; } }

/* トップの見出し：広い画面では左に文字、右に動く見本を並べる（2026-11-14） */
.hero-band > * { position: relative; z-index: 1; }
.hero-visual { position: relative; height: 330px; max-width: 420px; margin: 34px auto 0; }
.hv-card { position: absolute; left: 6%; right: 6%; top: 20px; background: #fff; border-radius: 24px; box-shadow: 0 24px 50px rgba(38, 43, 69, .14); padding: 20px 18px; }
.hv-head { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: .95rem; margin-bottom: 10px; }
.hv-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--main); box-shadow: 0 0 0 0 rgba(239, 131, 84, .6); animation: hvPulse 2s ease-out infinite; }
.hv-bar { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; margin-bottom: 8px; }
.hv-bar i { display: block; height: 100%; width: 0; background: var(--main); border-radius: inherit; animation: hvBar 8s ease infinite; }
.hv-item { position: relative; padding: 10px 12px 10px 38px; margin: 8px 0; border-radius: 12px; background: #fbf7f4; font-weight: 700; font-size: .88rem; animation: hvDone 8s ease infinite; }
.hv-item::before { content: ""; position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 5px; box-shadow: inset 0 0 0 2px #b9b2ac; background: #fff; animation: hvBox 8s ease infinite; }
.hv-item::after { content: "✓"; position: absolute; left: 14px; top: 50%; margin-top: -12px; color: #fff; font-size: .8rem; font-weight: 900; opacity: 0; animation: hvTick 8s ease infinite; }
.hv-item.i2, .hv-item.i2::before, .hv-item.i2::after { animation-delay: .8s; }
.hv-item.i3, .hv-item.i3::before, .hv-item.i3::after { animation-delay: 1.6s; }
.hv-item.i4, .hv-item.i4::before, .hv-item.i4::after { animation: none; }
.hv-float { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 16px 34px rgba(38, 43, 69, .16); padding: 10px 16px; font-weight: 900; line-height: 1.35; animation: hvBob 5s ease-in-out infinite; }
.hv-float small { display: block; font-size: .72rem; color: var(--muted); font-weight: 700; }
.hv-float b { font-size: 1.25rem; } .hv-float b span { color: var(--main); font-size: 1.6rem; }
.hv-float.f1 { right: -14px; top: -34px; }
.hv-float.f2 { left: -6px; bottom: 6px; animation-delay: -2.5s; }
.hv-float.f3 { right: 0; bottom: -14px; background: var(--ink); color: #fff; font-size: .85rem; animation-delay: -1.2s; }
@keyframes hvBar { 0%, 8% { width: 0; } 30%, 85% { width: 75%; } 100% { width: 0; } }
@keyframes hvDone { 0%, 10% { color: var(--ink); } 18%, 85% { color: var(--muted); text-decoration: line-through; } 100% { color: var(--ink); } }
@keyframes hvBox { 0%, 10% { background: #fff; box-shadow: inset 0 0 0 2px #b9b2ac; } 18%, 85% { background: var(--main); box-shadow: none; } 100% { background: #fff; } }
@keyframes hvTick { 0%, 10% { opacity: 0; transform: scale(.4); } 18%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes hvBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hvPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 131, 84, .6); } 100% { box-shadow: 0 0 0 10px rgba(239, 131, 84, 0); } }
@media (min-width: 900px) {
  .hero-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 48px; align-content: center; min-height: 560px; }
  .hero-band > :not(.hero-visual) { grid-column: 1; }
  .hero-band .hero-visual { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; width: 100%; max-width: 440px; height: 380px; justify-self: center; }
  .hero-band .kicker { justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .hv-bar i { animation: none; width: 75%; }
  .hv-item, .hv-item::before, .hv-item::after, .hv-float, .hv-dot { animation: none !important; }
}
@media print {
  .doc { border: 0; box-shadow: none; padding: 0; font-size: 10.5pt; }
  .doc-reply { break-inside: avoid; }
  .site-head, .site-foot, .others, .faq, .no-print, .crumbs { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .todo li { break-inside: avoid; }
}

/* 地域の相談先（事業者の掲載） */
.local { margin: 18px 0; }
.ad-badge { display: inline-block; font-size: .7rem; font-weight: 900; color: var(--muted); border: 1.5px solid var(--muted); border-radius: 6px; padding: 0 6px; margin-right: 8px; vertical-align: 2px; }
.partner-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tel-btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.tel-btn small { font-weight: 700; }

/* 無料登録・マイページ */
.tabbar { grid-template-columns: repeat(4, 1fr); }
.merit { display: grid; gap: 12px; margin: 14px 0; }
@media (min-width: 640px) { .merit { grid-template-columns: 1fr 1fr; } }
.merit > div { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.merit .mi { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px; background: var(--main-soft); font-size: 1.4rem; margin-bottom: 8px; }
.merit b { display: block; font-weight: 900; font-size: 1.1rem; }
.merit b small { color: var(--muted); font-weight: 700; }
.merit span:not(.mi) { color: var(--muted); font-size: .92rem; }
.login-forms { display: grid; gap: 14px; margin: 22px 0 10px; }
@media (min-width: 760px) { .login-forms { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.invite { font-size: 2rem; font-weight: 900; letter-spacing: .25em; text-align: center; background: var(--main-soft); border-radius: 14px; padding: 10px; margin: 10px 0; }
.save-nudge { display: grid; gap: 12px; align-items: center; margin: 16px 0; padding: 18px; border-radius: var(--radius); background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--main); }
.save-nudge b { display: block; font-weight: 900; font-size: 1.05rem; }
.save-nudge span { color: var(--muted); font-size: .92rem; }
.save-nudge .btn { text-align: center; }
@media (min-width: 640px) { .save-nudge { grid-template-columns: 1fr auto; } }

/* マイページの見本（入力できない） */
.demo-banner { display: grid; gap: 8px; padding: 16px 18px; border-radius: var(--radius); background: var(--ink); color: #fff; margin: 10px 0 18px; }
.demo-banner b { font-weight: 900; font-size: 1.1rem; }
.demo-banner span { font-size: .92rem; opacity: .9; }
.demo-banner .btn { justify-self: start; }
@media (min-width: 640px) { .demo-banner { grid-template-columns: 1fr auto; } .demo-banner .btn { grid-column: 2; grid-row: 1 / span 2; align-self: center; } }
.demo-view { pointer-events: none; user-select: none; position: relative; }
.demo-view input, .demo-view button { opacity: .85; }
.mail-sample pre { white-space: pre-wrap; font: inherit; font-size: .92rem; background: #faf7f4; border-radius: 12px; padding: 12px; margin: 8px 0 0; }

/* 保険も確かめる */
.hoken-check { margin: 30px 0 10px; padding: 22px 18px; border-radius: var(--radius); background: var(--main-soft); }
.hoken-check h2 { margin-top: .2em; }
.hoken-check .items > li { background: #fff; }

/* いつもの担当者に伝える文・相談の入り口 */
.tell { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin: 12px 0; }
.tell b { display: block; font-weight: 900; margin-bottom: 8px; }
.tell textarea { width: 100%; font-size: .92rem; font-weight: 500; line-height: 1.7; background: #faf7f4; resize: vertical; }
.soudan-sec { margin-top: 30px; }
