/* ============================================================
   子育てでもらえるお金ナビ
   姉妹サイト「1000日で3人産んだ私」と同じ、淡い水彩のトーン。
   モチーフ：丸（＝コイン）。はちみつ色のコインに、コーラルと空色の丸が寄りそう
   ============================================================ */

:root {
  --cream: #fbf7f0;
  --paper: #fffdf9;
  --sand: #f3ebdf;
  --line: #e8dccb;
  --ink: #4a3f35;
  --mute: #776858; /* 読みやすさの基準（コントラスト4.5:1）を、どの背景色でも満たす濃さ。2026-10-28 #8a7a6a から */
  --sky: #7fa7c9;
  --sky-soft: #e3edf6;
  --coral: #e39e86;
  --coral-soft: #f9e6de;
  --leaf: #9cb88f;
  --leaf-soft: #e7efe2;
  --honey: #e2b04f;
  --honey-soft: #fbf0d6;

  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --inout: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-x: clip;
}
::selection { background: var(--coral-soft); }
a { color: inherit; text-decoration-color: var(--coral); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--coral); }
img { max-width: 100%; }
strong { font-weight: 700; }

/* 紙の質感（ごく薄く） */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* ---------- ヘッダー ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 240, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(232, 220, 203, 0.7); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 10px; padding-bottom: 10px; max-width: 1000px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.3; }
.logo:hover { color: var(--ink); }
.logo-text { font-size: 15px; }
.logo-text small { display: block; font-size: 10px; color: var(--mute); font-weight: 500; letter-spacing: 0.08em; }

/* ロゴ：コインと2つの丸。ホバーで順に跳ねる */
.mark { position: relative; display: block; width: 40px; height: 34px; flex: none; }
.mark i { position: absolute; display: block; border-radius: 50%; }
.mark .c1 { left: 0; top: 6px; width: 26px; height: 26px; background: var(--honey); box-shadow: inset 0 0 0 3px #edc778; }
.mark .c1::after { content: ""; position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--paper); font-style: normal; }
.mark .c2 { left: 22px; top: 0; width: 14px; height: 14px; background: var(--coral); }
.mark .c3 { left: 27px; top: 19px; width: 10px; height: 10px; background: var(--sky); }
.logo:hover .mark .c1 { animation: hop 0.8s var(--out); }
.logo:hover .mark .c2 { animation: hop 0.8s 0.1s var(--out); }
.logo:hover .mark .c3 { animation: hop 0.8s 0.2s var(--out); }

.nav-cta { flex: none; font-size: 13px; font-weight: 700; text-decoration: none; padding: 7px 14px; border-radius: 999px; border: 2px solid rgba(74, 63, 53, 0.8); background: var(--paper); }
.nav-cta:hover { background: var(--ink); color: var(--paper); }

/* ---------- 見出し・本文 ---------- */
main { padding: 0 0 40px; overflow-x: clip; }
.hero { position: relative; padding: 48px 0 24px; }
.kicker { display: inline-block; background: var(--sand); color: var(--mute); font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); line-height: 1.3; font-weight: 700; margin: 14px 0 20px; letter-spacing: 0.02em; }
h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.35rem, 4vw, 1.75rem); line-height: 1.4; margin: 64px 0 16px; }
h2::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--dot, var(--coral)); }
h3 { font-size: 18px; margin: 32px 0 8px; line-height: 1.5; }
p { margin: 0 0 18px; }
.lead { font-size: 17px; }
.mute, .note { color: var(--mute); }
.note { font-size: 13px; line-height: 1.8; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 6px; }

/* 手書きの下線 */
.scribble { position: relative; display: inline-block; white-space: nowrap; }
.scribble svg { position: absolute; left: 0; bottom: -0.35em; width: 100%; height: 0.55em; overflow: visible; }
.scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--inout) 0.4s; }
[data-shown] .scribble path, .scribble[data-shown] path { stroke-dashoffset: 0; }

/* マーカー */
.marker { background: linear-gradient(transparent 62%, var(--honey-soft) 62%); padding: 0 2px; }

/* 背景でゆっくり浮かぶ丸 */
.floaties { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.floaties span { position: absolute; border-radius: 50%; animation: float var(--t, 6s) ease-in-out var(--dl, 0s) infinite; }
.blob { position: absolute; right: -180px; top: -140px; width: 460px; height: 460px; border-radius: 50%; background: rgba(243, 235, 223, 0.75); z-index: -2; }

/* ---------- カード ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 22px; margin: 22px 0; }
.card.pop { border: 2px solid rgba(74, 63, 53, 0.8); box-shadow: 6px 6px 0 var(--ink); }
.card.honey { background: var(--honey-soft); border-color: transparent; }
.card.coral { background: var(--coral-soft); border-color: transparent; }
.card > :last-child { margin-bottom: 0; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-block; font: inherit; font-weight: 700; font-size: 15px; text-align: center; text-decoration: none; cursor: pointer;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 14px 28px;
  box-shadow: 4px 4px 0 var(--coral);
  transition: transform 0.45s var(--spring), box-shadow 0.3s, background-color 0.2s;
}
.btn:hover { color: var(--paper); transform: translateY(-2px); box-shadow: 6px 6px 0 var(--coral); }
.btn:active { transform: scale(1.04, 0.92); transition-duration: 0.08s; }
.btn.block { display: block; width: 100%; }
.btn.ghost { background: var(--paper); color: var(--ink); border: 2px solid rgba(74, 63, 53, 0.8); box-shadow: none; }
.btn.ghost:hover { background: var(--sand); color: var(--ink); }
.btn:disabled { background: var(--mute); box-shadow: 4px 4px 0 var(--line); cursor: default; transform: none; }
.btn .arrow { display: inline-block; margin-left: 6px; transition: transform 0.3s var(--spring); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 表 ---------- */
.table-scroll { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line); }
tr:last-child > * { border-bottom: 0; }
thead th { background: var(--sand); font-size: 13px; color: var(--mute); white-space: nowrap; border-bottom: 0; }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 700; }
tr.total th, tr.total td { background: var(--honey-soft); }

.tag { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1.6; padding: 0 9px; border-radius: 999px; background: var(--sky-soft); color: #4f7ca3; margin: 0 4px; vertical-align: 2px; white-space: nowrap; }
.tag.new { background: var(--coral-soft); color: #c0694c; }
.tag.leaf { background: var(--leaf-soft); color: #6a8c5c; }

/* ---------- 落とし穴 ---------- */
ol.pitfalls { list-style: none; padding: 0; counter-reset: p; }
ol.pitfalls > li {
  counter-increment: p; position: relative; margin-bottom: 14px; padding: 18px 18px 18px 64px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 24px;
  transition: transform 0.5s var(--spring);
}
ol.pitfalls > li:nth-child(odd):hover { transform: rotate(-0.8deg) translateY(-2px); }
ol.pitfalls > li:nth-child(even):hover { transform: rotate(0.8deg) translateY(-2px); }
ol.pitfalls > li::before {
  content: counter(p); position: absolute; left: 16px; top: 18px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--coral); color: var(--paper); font-weight: 700; display: grid; place-items: center; font-size: 15px;
}
ol.pitfalls strong { display: block; margin-bottom: 4px; }

.sources { font-size: 13px; color: var(--mute); }
.sources li { word-break: break-all; }

/* ---------- 診断フォーム ---------- */
.field { margin-bottom: 26px; }
.field > label, .field > .label { display: block; font-weight: 700; margin-bottom: 8px; }
.field .hint { font-size: 13px; color: var(--mute); margin: 6px 0 0; }
select {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
  padding: 9px 30px 9px 14px; border: 2px solid var(--line); border-radius: 14px; min-width: 0; max-width: 100%;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M1 1l4 4 4-4' fill='none' stroke='%238a7a6a' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 12px center;
}
select:focus-visible, .choices label:focus-within { outline: 3px solid var(--sky-soft); outline-offset: 1px; border-color: var(--sky); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label {
  position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500;
  padding: 8px 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--paper);
  transition: transform 0.4s var(--spring), background-color 0.2s, border-color 0.2s;
}
.choices input { position: absolute; opacity: 0; pointer-events: none; }
.choices label::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); transition: background-color 0.2s, border-color 0.2s; }
.choices label:has(input:checked) { background: var(--honey-soft); border-color: var(--honey); transform: scale(1.03); }
.choices label:has(input:checked)::before { background: var(--honey); border-color: var(--honey); }
.child-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.child-row .who { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sky-soft); color: #4f7ca3; font-size: 12px; font-weight: 700; flex: none; }
.child-row:nth-child(3n+2) .who { background: var(--coral-soft); color: #c0694c; }
.child-row:nth-child(3n) .who { background: var(--leaf-soft); color: #6a8c5c; }
.link-btn { background: none; border: 0; color: var(--mute); font: inherit; font-size: 13px; cursor: pointer; padding: 4px 2px; text-decoration: underline; text-decoration-color: var(--line); }
.link-btn:hover { color: var(--coral); }
.add-btn { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink); background: var(--paper); border: 2px dashed var(--line); border-radius: 999px; padding: 6px 16px; cursor: pointer; transition: border-color 0.2s, transform 0.4s var(--spring); }
.add-btn:hover { border-color: var(--coral); transform: translateY(-1px); }
.error { color: #c0694c; font-size: 14px; font-weight: 700; }

/* ---------- 診断結果 ---------- */
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 8px; }
.stat { position: relative; overflow: hidden; background: var(--paper); border: 2px solid rgba(74, 63, 53, 0.8); border-radius: 26px; padding: 18px 20px; box-shadow: 5px 5px 0 var(--honey); }
.stat.sky { box-shadow: 5px 5px 0 var(--sky); }
.stat .label { font-size: 13px; color: var(--mute); line-height: 1.6; }
.big { font-size: clamp(2rem, 8vw, 2.7rem); font-weight: 700; line-height: 1.2; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.big small { font-size: 0.45em; margin-left: 2px; }
.stat .coin { position: absolute; right: -14px; bottom: -14px; width: 64px; height: 64px; border-radius: 50%; background: var(--honey-soft); }
.stat.sky .coin { background: var(--sky-soft); }

.result-list { list-style: none; padding: 0; margin: 0; }
.result-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; margin: 0; border-bottom: 1px dashed var(--line); }
.result-list li:last-child { border-bottom: 0; }
.result-list .amt { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.result-list .sub { display: block; font-size: 13px; color: var(--mute); line-height: 1.7; }
.result-list li.claim { display: block; }
.claim a { font-weight: 700; }
.claim .when { display: block; font-weight: 700; color: #c0694c; font-size: 14px; margin-top: 2px; }
.urgent-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); margin-right: 6px; vertical-align: 1px; animation: pulse 1.6s ease-in-out infinite; }

/* ---------- フッター ---------- */
.site-footer { margin-top: 80px; background: rgba(243, 235, 223, 0.6); border-top: 1px solid var(--line); padding: 48px 0 56px; font-size: 13px; color: var(--mute); }
.site-footer .bye { display: flex; align-items: flex-end; gap: 8px; margin-bottom: 14px; }
.site-footer .bye i { display: block; border-radius: 50%; }
.site-footer .bye i:nth-child(1) { width: 36px; height: 36px; background: var(--honey); }
.site-footer .bye i:nth-child(2) { width: 24px; height: 24px; background: var(--coral); }
.site-footer .bye i:nth-child(3) { width: 16px; height: 16px; background: var(--sky); }
.site-footer .bye[data-shown] i { animation: hop 0.9s var(--out) both; }
.site-footer .bye[data-shown] i:nth-child(2) { animation-delay: 0.12s; }
.site-footer .bye[data-shown] i:nth-child(3) { animation-delay: 0.24s; }
.site-footer .catch { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }

/* ---------- スクロールで現れる ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--out) var(--d, 0s), transform 0.9s var(--out) var(--d, 0s); }
.reveal[data-shown] { opacity: 1; transform: none; }
.pop-in { opacity: 0; transform: scale(0.6); transition: opacity 0.35s var(--out) var(--d, 0s), transform 0.75s var(--spring) var(--d, 0s); }
.pop-in[data-shown] { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes hop {
  0%, 100% { transform: translateY(0) scale(1, 1); }
  30% { transform: translateY(0) scale(1.18, 0.82); }
  55% { transform: translateY(-22px) scale(0.92, 1.1); }
  80% { transform: translateY(0) scale(1.12, 0.88); }
}
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.6; } }

@media (max-width: 520px) {
  .logo-text { font-size: 14px; }
  .stat-row { grid-template-columns: 1fr; }
  .card { padding: 18px; border-radius: 24px; }
  th, td { padding: 9px 10px; }
}

/* 動きを減らす設定の人には、動かさない */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; transition-delay: 0s !important; }
  .reveal, .pop-in { opacity: 1; transform: none; }
  .scribble path { stroke-dashoffset: 0; }
}

/* 子どもの行のラベル（1人目・2人目…）は丸いピル型 */
.child-row .who { width: auto; min-width: 52px; height: 30px; padding: 0 10px; border-radius: 999px; }
.child-row .who.due { background: var(--honey-soft); color: #a77a22; }

@media (max-width: 420px) {
  .logo-text { font-size: 13.5px; white-space: nowrap; }
  .logo-text small { display: none; }
  .mark { transform: scale(0.85); transform-origin: left center; margin-right: -4px; }
  .nav-cta { padding: 6px 12px; font-size: 12px; }
}
.cell-sub { display: block; font-size: 12px; color: var(--mute); white-space: nowrap; }
@media (max-width: 420px) {
  table { font-size: 14px; }
  th, td { padding: 8px 8px; }
}
@media (max-width: 420px) {
  td.num { white-space: normal; }
  td .tag { white-space: normal; }
}
@media (max-width: 420px) {
  h1 { font-size: 1.5rem; }
}

/* ---------- ヘッダーのリンク ---------- */
.nav { display: flex; align-items: center; gap: 12px; flex: none; }
.nav-link { font-size: 13px; font-weight: 700; text-decoration: none; padding: 7px 4px; }
@media (max-width: 540px) { .nav-link { display: none; } }

/* ---------- 合計と月々の数字（記事の先頭・診断結果） ---------- */
.stat .sub { position: relative; font-size: 13px; color: var(--mute); line-height: 1.6; margin-top: 4px; }
.stat .big small:first-child { margin: 0 6px 0 0; }
.stat.coral { box-shadow: 5px 5px 0 var(--coral); }
.stat.coral .coin { background: var(--coral-soft); }
.stat.leaf { box-shadow: 5px 5px 0 var(--leaf); }
.stat.leaf .coin { background: var(--leaf-soft); }

/* ---------- 月々のグラフ・レーダーチャート ---------- */
.chart-wrap, .radar-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 16px 14px 8px; margin: 14px 0 18px; }
.chart { display: block; width: 100%; height: auto; }
.radar { display: block; width: 100%; max-width: 480px; height: auto; margin: 0 auto; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--mute); margin: 8px 4px 6px; }
.radar-wrap .legend { justify-content: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; flex: none; }
details.note { margin: 0 0 18px; }
details.note summary { cursor: pointer; font-weight: 700; }
details.note ul { margin: 8px 0 0; }

/* ---------- 月々の表・カテゴリ別の表・比較の表 ---------- */
table th[scope=row] { background: none; font-weight: 700; white-space: nowrap; }
table.timeline .cell-sub, table.cats .cell-sub, table.cmp .cell-sub { white-space: normal; font-size: 13px; line-height: 1.7; }
table.timeline th[scope=row] { width: 30%; white-space: normal; }
.cell-sub.relief { position: relative; margin-top: 6px; padding-left: 16px; color: #4f7ca3; }
.cell-sub.relief::before, .relief-key::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--sky); opacity: 0.7; }
.relief-key { position: relative; padding-left: 15px; white-space: nowrap; }
.relief-key::before { top: 0.3em; }
table.cats th[scope=row] { width: 30%; white-space: normal; }
table.cats .common { margin-top: 10px; padding-top: 8px; border-top: 1px dotted var(--line); color: var(--mute); font-size: 13px; }
.who-label { display: block; font-size: 11px; font-weight: 700; color: var(--mute); letter-spacing: 0.06em; margin-bottom: 3px; }
table.cats td, table.cmp td { font-size: 14px; line-height: 1.7; }
.it { margin-bottom: 6px; }
.it:last-child { margin-bottom: 0; }
.st { display: inline-block; font-size: 11px; font-weight: 700; line-height: 1.7; padding: 0 9px; border-radius: 999px; margin: 0 6px 4px 0; white-space: nowrap; vertical-align: 2px; }
.st.yes, .st.free { background: var(--leaf-soft); color: #6a8c5c; }
.st.part { background: var(--honey-soft); color: #a77a22; }
.st.tbd { background: var(--coral-soft); color: #c0694c; }
.st.none, .st.no { background: var(--sand); color: var(--mute); }
td > .tag:first-child, td > .st:first-child { margin-left: 0; }
table.cmp th[scope=row] { font-size: 13px; white-space: normal; min-width: 108px; }
table.cmp thead th { white-space: normal; font-size: 14px; color: var(--ink); }
table.cmp td { min-width: 150px; }
table.cmp td.num { white-space: normal; }
td.best { background: var(--honey-soft); }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }

/* ---------- 比較ページの入力欄 ---------- */
.slot { flex-wrap: nowrap; }
.slot .who { color: var(--paper) !important; min-width: 34px; padding: 0 8px; }
.slot select { flex: 1 1 0; min-width: 0; text-overflow: ellipsis; }
.slot .link-btn { flex: none; }
.points { list-style: none; padding: 0; }
.points li { position: relative; padding: 10px 0 10px 26px; margin: 0; border-bottom: 1px dashed var(--line); }
.points li:last-child { border-bottom: 0; }
.points li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }

/* ---------- 診断結果：振り込みのカレンダー ---------- */
table.cal td:first-child { white-space: nowrap; font-weight: 700; }
table.cal td.num { white-space: nowrap; }
table.cal tr.zero td { color: var(--mute); font-weight: 500; }
table.cal tr.now td { background: var(--honey-soft); }
.steps { list-style: none; }
ul.steps.card, ul.points.card { padding: 6px 20px; }
.steps li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; margin: 0; border-bottom: 1px dashed var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps .amt { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.nw { white-space: nowrap; font-size: 14px; }

/* ---------- メニュー（2026-10-13：ランキング・制度の解説を追加） ---------- */
@media (max-width: 820px) { .nav-link { display: none; } }
.subnav { display: none; background: var(--paper); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 8px; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; white-space: nowrap; }
.subnav a { flex: none; font-size: 13px; font-weight: 700; text-decoration: none; padding: 4px 12px; border-radius: 999px; background: var(--sand); }
@media (max-width: 820px) { .subnav { display: block; } }

/* ---------- パンくず ---------- */
.crumbs { font-size: 12px; color: var(--mute); }
.crumbs .wrap { padding-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 0; max-width: 760px; }
.crumbs a { text-decoration: none; }
.crumbs a::after { content: "›"; margin: 0 8px; color: var(--line); }
.crumbs + main .hero, .crumbs + main > .wrap > .hero { padding-top: 26px; }

/* ---------- 検索窓 ---------- */
.search-card label { display: block; margin-bottom: 8px; }
.search-card input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); padding: 12px 16px; border: 2px solid rgba(74, 63, 53, 0.8); border-radius: 999px; }
.search-card input:focus-visible { outline: 3px solid var(--honey-soft); outline-offset: 1px; }
.q-list { list-style: none; padding: 0; margin: 8px 0 0; }
.q-list li { margin: 0; border-bottom: 1px dashed var(--line); }
.q-list li:last-child { border-bottom: 0; }
.q-list a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 6px; text-decoration: none; font-weight: 700; }
.q-list .sub { font-size: 13px; font-weight: 500; color: var(--mute); }
.q-list .none { padding: 10px 6px; font-size: 14px; color: var(--mute); }

/* ---------- 記事の先頭：ポイント・目次・やること ---------- */
h2, h3 { scroll-margin-top: 84px; }
.keypoints { border: 2px solid rgba(74, 63, 53, 0.8); }
.keypoints h2 { font-size: 18px; margin: 0 0 4px; }
.toc { background: var(--sand); border-radius: 22px; padding: 16px 20px; margin: 22px 0; font-size: 14px; }
.toc ol { margin: 6px 0 0; padding-left: 1.4em; columns: 2; column-gap: 24px; }
.toc li { margin-bottom: 4px; break-inside: avoid; }
@media (max-width: 520px) { .toc ol { columns: 1; } }
ol.todo { list-style: none; padding: 0; counter-reset: t; }
ol.todo > li { counter-increment: t; position: relative; margin-bottom: 12px; padding: 16px 18px 14px 60px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
ol.todo > li::before { content: counter(t); position: absolute; left: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--honey); color: var(--paper); font-weight: 700; display: grid; place-items: center; font-size: 15px; }
ol.todo ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 15px; }
@media (max-width: 520px) { ol.todo > li { padding: 14px 14px 12px 52px; } ol.todo > li::before { left: 12px; top: 14px; } }

/* ---------- ランキングの表 ---------- */
table.rank td:first-child.num { width: 3.2em; color: var(--mute); }
table.rank td { font-size: 14px; }
table.rank td:nth-child(2) { white-space: nowrap; font-weight: 700; }
table.rank { min-width: 560px; }

/* ---------- 挿絵（漫画の絵）・共有のリンク（2026-10-14） ---------- */
.hero-art { margin: 6px 0 26px; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 28px; border: 2px solid rgba(74, 63, 53, 0.8); box-shadow: 6px 6px 0 var(--honey); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--mute); margin: 14px 0 0; }
.share a { font-weight: 700; text-decoration: none; padding: 5px 14px; border-radius: 999px; border: 2px solid rgba(74, 63, 53, 0.8); background: var(--paper); color: var(--ink); }
.share a:hover { background: var(--ink); color: var(--paper); }

/* ---------- 公園さがし（/koen/） ---------- */
.field > strong { display: block; margin-bottom: 8px; }
.field select + select { margin-top: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.park-list { list-style: none; padding: 0; margin: 14px 0; }
.park { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 14px 16px; margin: 0 0 10px; }
.park-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 8px; }
.park-head strong { font-size: 16px; }
.park-town { font-size: 12px; color: var(--mute); }
.park-map { margin-left: auto; font-size: 13px; }
/* 公園：「行った」の印と「きょうは、ここどう？」（koen-went.js。2026-11-16） */
.went { margin-left: auto; flex: none; font: inherit; font-size: 12px; font-weight: 700; line-height: 1.4; color: var(--mute); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.park-map + .went { margin-left: 0; }
.went:hover { border-color: var(--leaf); }
.went[aria-pressed="true"] { background: var(--leaf-soft); border-color: var(--leaf); color: #4d6b41; }
.went:focus-visible { outline: 3px solid var(--leaf-soft); }
.park-list .park.is-went { background: color-mix(in srgb, var(--leaf-soft) 45%, var(--paper)); }
.hide-went .park-list .park.is-went { display: none; }
.pk-add .went { margin-left: 0; }
.went-box { margin: 14px 0 18px; }
.went-box[hidden] { display: none; }
.went-lead { margin: 0 0 12px; }
.went-result { margin: 4px 0 10px; }
.went-today { margin: 0 0 8px; font-weight: 700; }
.went-card { margin: 0 0 10px; border-color: var(--leaf); }
.went-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0; }
.went-count { margin: 10px 0 0; font-size: 14px; }
.went-hide { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; font-size: 13px; cursor: pointer; }
.event-line { margin: 0 0 18px; }
.park-teaser .event-line { margin: 12px 0 0; }
/* 自治体の方へ：お届けするもの・料金の表 */
.jc-t th { width: 30%; text-align: left; white-space: normal; vertical-align: top; }
.jc-t td { line-height: 1.8; }
.age-marks { display: flex; flex-wrap: wrap; gap: 6px; }
.am { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--sand); color: var(--mute); }
.am b { font-size: 14px; }
.am.l1 { background: var(--sky-soft); color: #4f7ca3; }
.am.l2 { background: var(--leaf-soft); color: #5d7f50; }
.am.unknown { font-weight: 400; }
.park-items { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 8px; }
.park-items i { font-style: normal; font-size: 12px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
ul.park-items.lg { list-style: none; padding: 0; gap: 8px; }
ul.park-items.lg li { margin: 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-weight: 500; }
ul.park-items.lg small { display: block; font-size: 11px; color: var(--mute); }
.park-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.park-stats div { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 12px; text-align: center; }
.park-stats b { display: block; font-size: 22px; font-variant-numeric: tabular-nums; }
.park-stats span { font-size: 12px; color: var(--mute); line-height: 1.5; display: block; }
@media (max-width: 560px) { .park-stats { grid-template-columns: repeat(2, 1fr); } }
.area-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 14px 0; }
.area { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; transition: border-color 0.2s, transform 0.4s var(--spring); }
.area:hover { border-color: var(--leaf); transform: translateY(-2px); }
.area span { display: block; font-size: 11px; color: var(--mute); }
.park-names { line-height: 2.2; font-size: 14px; }
.park-names > * { margin-right: 12px; white-space: nowrap; }
.age-table { list-style: none; padding: 0; margin: 0; }
.age-table li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.age-table li:last-child { border-bottom: 0; }
.age-table .sub { display: block; font-size: 13px; color: var(--mute); }
.am-big { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sand); font-size: 20px; font-weight: 700; color: var(--mute); }
.age-table .l1 .am-big { background: var(--sky-soft); color: #4f7ca3; }
.age-table .l2 .am-big { background: var(--leaf-soft); color: #5d7f50; }

/* ---------- 街のタブ・わが家 ---------- */
.city-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 18px; }
.city-tabs a, .city-tabs span { display: inline-block; font-size: 14px; font-weight: 700; padding: 8px 16px; border-radius: 999px; text-decoration: none; border: 2px solid var(--line); background: var(--paper); color: var(--ink); }
.city-tabs a:hover { border-color: var(--leaf); }
.city-tabs .on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.city-tabs .off { color: var(--mute); border-style: dashed; }
.city-tabs .off small { font-size: 10px; margin-left: 4px; }
.wagaya-set { margin-left: auto; font: inherit; font-size: 13px; font-weight: 700; color: #5d7f50; background: var(--leaf-soft); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.wagaya-set:disabled { cursor: default; opacity: 0.8; }
@media (max-width: 520px) { .wagaya-set { margin-left: 0; } }
.wagaya-bar { background: var(--leaf-soft); font-size: 13px; }
.wagaya-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding-top: 8px; padding-bottom: 8px; }
.wagaya-bar a { font-weight: 700; }
.wagaya-bar-links { display: inline-flex; flex-wrap: wrap; gap: 4px 14px; }
#w-kids .child-row select, #setup select { margin: 4px 4px 4px 0; }

/* ---------- 保育園・幼稚園さがし（/en/） ---------- */
.en-list { list-style: none; padding: 0; margin: 10px 0 18px; }
.en-row { display: flex; gap: 10px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; margin: 0 0 8px; }
.en-row > div { flex: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.en-pick { flex: none; position: relative; width: 26px; height: 26px; margin-top: 2px; cursor: pointer; }
.en-pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.en-pick span { display: block; width: 26px; height: 26px; border: 2px solid var(--line); border-radius: 8px; background: var(--paper); transition: background-color 0.2s, border-color 0.2s; }
.en-pick input:checked + span { background: var(--sky); border-color: var(--sky); }
.en-pick input:checked + span::after { content: "✓"; display: grid; place-items: center; height: 100%; color: #fff; font-weight: 700; }
.en-pick input:focus-visible + span { outline: 3px solid var(--sky-soft); }
.en-compare-bar[hidden] { display: none !important; } /* display: flex が hidden に勝って、0か所でも出ていた（2026-12-02） */
.en-compare-bar { position: sticky; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--paper); border: 2px solid rgba(74, 63, 53, 0.8); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 4px 4px 0 var(--sky); z-index: 5; }
.en-compare-bar .btn { padding: 10px 22px; }
.en-pref summary { cursor: pointer; padding: 8px 0; }
table.en-cmp th, table.en-cmp td { vertical-align: top; min-width: 150px; font-size: 14px; }
table.en-cmp tbody th, table.en-cmp tr > th:first-child { min-width: 110px; }
table.en-cmp textarea { width: 100%; font: inherit; font-size: 13px; border: 1px dashed var(--line); border-radius: 10px; padding: 6px 8px; background: var(--cream); resize: vertical; }
table.en-cmp textarea:focus { outline: 2px solid var(--sky-soft); border-color: var(--sky); }
.en-long { display: block; font-size: 12px; line-height: 1.7; color: var(--mute); max-height: 10.5em; overflow: auto; }
.en-row[hidden], .en-list[hidden] { display: none; }

/* ---------- 運営者情報など ---------- */
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot-links a { color: var(--mute); }
.legal h1 { margin-top: 32px; }
.legal h2 { font-size: 1.2rem; margin: 36px 0 10px; }

/* ---------- 縦に長くしない工夫・わが家を前に ---------- */
h2 { margin-top: 44px; }
.card { margin: 16px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.chips a, .chips summary { display: inline-block; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; cursor: pointer; list-style: none; }
.chips a:hover, .chips summary:hover { border-color: var(--sky); }
.chips summary::-webkit-details-marker { display: none; }
.chips details { display: contents; }
.chips details[open] > summary { background: var(--sky-soft); border-color: var(--sky); }
.chips details[open] > .chips-open { flex-basis: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; font-size: 13px; line-height: 2.1; }
.chips-open a { margin-right: 10px; white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; }
.tiles a { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; transition: border-color 0.2s, transform 0.4s var(--spring); }
.tiles a:hover { border-color: var(--coral); transform: translateY(-2px); }
.tiles strong { display: block; font-size: 15px; }
.tiles span { display: block; font-size: 12px; color: var(--mute); line-height: 1.5; }
@media (max-width: 560px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
details.fold { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; margin: 12px 0; }
details.fold > summary { cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::after { content: "＋"; color: var(--mute); }
details.fold[open] > summary::after { content: "－"; }
details.fold > .fold-body { padding: 0 18px 14px; }
details.fold > .fold-body > h2:first-child { margin-top: 0; }
.wagaya-hero h2::before { display: none; }
.benefits { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.benefits li { margin: 0; padding: 10px 12px 10px 40px; position: relative; background: var(--cream); border-radius: 16px; }
.benefits i { position: absolute; left: 12px; top: 13px; width: 18px; height: 18px; border-radius: 50%; }
.benefits .b1 { background: var(--coral); } .benefits .b2 { background: var(--honey); } .benefits .b3 { background: var(--leaf); } .benefits .b4 { background: var(--sky); }
.benefits strong { display: block; font-size: 15px; }
.benefits span { display: block; font-size: 12px; color: var(--mute); line-height: 1.6; }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.sample { background: var(--honey-soft); border-radius: 16px; padding: 10px 14px; margin: 0 0 14px; }
.sample ul { list-style: none; padding: 0; margin: 0; font-size: 13px; }
.sample li { margin: 2px 0; }
.sample b { display: inline-block; min-width: 3em; margin-right: 6px; font-size: 11px; color: #c0694c; }
.hero-art { max-width: 640px; margin-left: auto; margin-right: auto; }
.wagaya-nudge { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 8px 8px 8px 18px; box-shadow: 0 6px 20px rgba(74, 63, 53, 0.25); font-size: 13px; }
.wagaya-nudge a { margin-left: auto; white-space: nowrap; background: var(--honey); color: var(--ink); font-weight: 700; text-decoration: none; border-radius: 999px; padding: 8px 14px; }
.wagaya-nudge button { background: none; border: 0; color: var(--paper); font-size: 18px; cursor: pointer; padding: 0 6px; }
body:has(.en-compare-bar:not([hidden])) .wagaya-nudge { display: none; }

/* ---------- わが家カレンダー ---------- */
.cal-months { list-style: none; padding: 0; margin: 0 0 8px; }
.cal-months > li { margin: 0 0 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.cal-items { list-style: none; padding: 0; margin: 6px 0 0; font-size: 14px; }
.cal-items li { margin: 4px 0; }
.cal-items .sub { display: block; font-size: 12px; color: var(--mute); margin-left: 4px; }

/* ---------- 小児科・休日夜間の医療機関さがし（/iryo/） ---------- */
.iryo-list { list-style: none; padding: 0; margin: 10px 0 18px; }
.iryo-row { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 10px 14px; margin: 0 0 8px; }
.iryo-row > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; }
.iryo-hours { flex-basis: 100%; font-size: 13px; line-height: 1.7; color: var(--ink); }
.iryo-hp { margin-left: 8px; }
.iryo-consult ul { padding-left: 1.2em; font-size: 14px; }
.iryo-consult li { margin: 4px 0; }
.iryo-call { margin: 10px 0; }
.iryo-row[hidden], .iryo-group[hidden], .iryo-dept[hidden] { display: none; }

/* ---------- よその家の決め方：一覧とトップに並べるカード（ページ本体は kimekata.css） ---------- */
.c-honey { --c: var(--honey); --cs: var(--honey-soft); }
.c-sky { --c: var(--sky); --cs: var(--sky-soft); }
.c-coral { --c: var(--coral); --cs: var(--coral-soft); }
.c-leaf { --c: var(--leaf); --cs: var(--leaf-soft); }
.km-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--mute); }
.km-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); animation: km-dot 2.4s ease-in-out infinite; }
@keyframes km-dot { 50% { box-shadow: 0 0 0 9px rgba(249, 230, 222, 0); } }
.km-btn { display: inline-flex; align-items: center; gap: 14px; padding: 16px 18px 16px 30px; font-weight: 700; font-size: 16px; line-height: 1.4; text-decoration: none; color: var(--paper); background: var(--ink); border-radius: 999px; box-shadow: 5px 5px 0 var(--coral); transition: transform 0.5s var(--spring), box-shadow 0.3s, background-color 0.2s; }
.km-btn:hover { color: var(--paper); box-shadow: 7px 7px 0 var(--coral); }
.km-btn span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink); background: var(--honey); transition: transform 0.4s var(--spring); }
.km-btn:hover span { transform: translateX(4px) rotate(-10deg); }
.km-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 18px; margin: 26px 0; }
.km-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 290px; padding: 22px 22px 20px; overflow: hidden; color: var(--ink); text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 30px; transition: transform 0.55s var(--spring), box-shadow 0.4s; }
.km-card:hover { color: var(--ink); transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 26px 44px -26px rgba(74, 63, 53, 0.45); }
.km-card[hidden] { display: none; }
.km-card-art { display: flex; align-items: center; gap: 8px; height: 80px; margin-bottom: 8px; }
.km-card-art i { width: 30px; height: 30px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, color-mix(in srgb, var(--c) 34%, #fff), var(--c) 72%); opacity: 0.5; transition: transform 0.6s var(--spring), opacity 0.3s; transition-delay: calc(var(--k) * 40ms); }
.km-card-art i.is-chosen { width: 66px; height: 66px; opacity: 1; }
.km-card:hover .km-card-art i { transform: translateY(-10px) scale(0.75); opacity: 0.3; }
.km-card:hover .km-card-art i.is-chosen { transform: scale(1.14); opacity: 1; }
.km-card-theme { font-size: 12px; font-weight: 700; color: var(--mute); }
.km-card-q { font-weight: 700; font-size: 21px; line-height: 1.4; }
.km-card-a { font-weight: 700; font-size: 15px; }
.km-card-a::first-letter { color: var(--c); }
.km-card-why { font-size: 13px; line-height: 1.6; color: var(--mute); }
.km-card-who { margin-top: auto; padding-top: 10px; font-size: 12px; color: var(--mute); border-top: 1px dashed var(--line); }
.km-card-badge { position: absolute; top: 18px; right: 18px; padding: 2px 10px; font-size: 11px; font-weight: 700; background: var(--sand); border-radius: 999px; }
.km-top { position: relative; margin: 34px 0; padding: 28px 22px 26px; overflow: hidden; background: var(--paper); border: 2px solid rgba(74, 63, 53, 0.8); border-radius: 32px; box-shadow: 6px 6px 0 var(--ink); }
.km-top-head h2 { margin: 0 0 8px; font-size: clamp(26px, 6vw, 36px); line-height: 1.25; }
.km-top-head p { margin: 0; font-size: 14px; color: var(--mute); }
.km-top-head .km-kicker { margin-bottom: 10px; }
.km-top-orbs { position: absolute; top: -26px; right: -26px; width: 150px; height: 150px; pointer-events: none; }
.km-top-orbs i { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: km-orb 9s ease-in-out infinite alternate; }
.km-top-orbs i:nth-child(1) { right: 22px; top: 34px; width: 74px; height: 74px; background: var(--honey); }
.km-top-orbs i:nth-child(2) { right: 74px; top: 74px; width: 44px; height: 44px; background: var(--sky); animation-delay: -3s; }
.km-top-orbs i:nth-child(3) { right: 12px; top: 98px; width: 32px; height: 32px; background: var(--coral); animation-delay: -6s; }
@keyframes km-orb { to { translate: -10px 8px; } }
.km-top .km-cards { margin: 20px 0; }
.km-top-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.km-link { font-weight: 700; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { .km-dot, .km-top-orbs i { animation: none; } }
/* 決め方のページの見出しは、共通の見出し（左の丸・横並び）を使わない */
:where(.km-page, .km-top) h2 { display: block; margin: 0; }
:where(.km-page, .km-top) h2::before { content: none; }
body:has(.km-page) .wagaya-nudge { display: none; }
.km-card:focus-visible, .km-btn:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }

/* ---------- メニュー：わが街・よその家（開くメニュー） ---------- */
.nav-menu { position: relative; }
.nav-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-menu > summary::-webkit-details-marker { display: none; }
.nav-menu > summary::after { content: ''; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--spring); }
.nav-menu[open] > summary::after { transform: translateY(1px) rotate(225deg); }
.nav-pop { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 50; display: grid; gap: 2px; min-width: 250px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 18px 40px -20px rgba(74, 63, 53, 0.45); translate: -50% 0; animation: nav-pop 0.35s var(--out); }
.nav-pop a { display: block; padding: 9px 14px; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; border-radius: 14px; }
.nav-pop a:hover { color: var(--ink); background: var(--sand); }
.nav-pop small { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }
@keyframes nav-pop { from { opacity: 0; translate: -50% -6px; } }
@media (max-width: 820px) { .nav-menu { display: none; } }
.subnav-sep { flex: none; width: 1px; margin: 4px 2px; background: var(--line); }

/* ---------- よその家は、どうしてる？（お金・園・小児科・公園・制度のページから） ---------- */
.yoso { margin: 30px 0; padding: 20px 20px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; }
.yoso-h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-weight: 700; font-size: 17px; }
.yoso-dots { display: inline-flex; gap: 4px; }
.yoso-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); animation: yoso-dot 1.4s ease-in-out infinite; }
.yoso-dots i:nth-child(2) { background: var(--sky); animation-delay: 0.15s; }
.yoso-dots i:nth-child(3) { background: var(--coral); animation-delay: 0.3s; }
@keyframes yoso-dot { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
.yoso-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.yoso-item { position: relative; display: flex; flex-direction: column; gap: 3px; min-height: 112px; padding: 14px 16px 14px; overflow: hidden; color: var(--ink); text-decoration: none; background: var(--cream); border-radius: 20px; transition: transform 0.45s var(--spring), background-color 0.2s; }
.yoso-item:hover { color: var(--ink); background: var(--honey-soft); transform: translateY(-3px); }
.yoso-item.is-km { background: var(--coral-soft); }
.yoso-item.is-km:hover { background: #f6dacf; }
.yoso-tag { align-self: flex-start; padding: 1px 9px; font-size: 11px; font-weight: 700; color: var(--mute); background: var(--paper); border-radius: 999px; }
.yoso-item strong { font-size: 15px; line-height: 1.5; padding-right: 54px; }
.yoso-item.is-km strong { padding-right: 0; }
.yoso-sub { margin-top: auto; font-size: 12px; line-height: 1.5; color: var(--mute); }
.yoso-art { position: absolute; top: 12px; right: 12px; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 2px; width: 48px; }
.yoso-art i { width: calc(var(--r) * 20px); height: calc(var(--r) * 20px); border-radius: 50%; background: var(--c); opacity: 0.85; }
.yoso-voices { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.yoso-voices li { padding: 12px 16px; background: var(--cream); border-radius: 6px 18px 18px 18px; }
.yoso-voices p { margin: 0 0 4px; font-weight: 700; line-height: 1.8; }
.yoso-voices span { font-size: 12px; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .yoso-dots i { animation: none; } }
.subnav .wrap { scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.yoso-item strong, .km-card-q { word-break: auto-phrase; }

/* ---------- 園・公園の「ひとこと紹介」と、サイト内検索 ---------- */
.place-note { margin: 6px 0 0; font-size: 13px; line-height: 1.75; }
.place-note::before { content: "ひとこと紹介"; display: inline-block; margin-right: 6px; padding: 0 8px; font-size: 10px; font-weight: 700; color: var(--mute); background: var(--sand); border-radius: 999px; vertical-align: 1px; }
.place-note-box { margin: 18px 0; padding: 16px 20px; background: var(--honey-soft); border-radius: 22px; }
.place-note-box p { margin: 0; line-height: 1.85; }
.place-note-box .place-note-label { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--mute); }
.place-note-box .place-note-src { margin: 8px 0 0; font-size: 11px; color: var(--mute); }
.en-row:target, .park:target, .iryo-row:target, .park-names :target { scroll-margin-top: 120px; animation: place-flash 2.6s ease-out; }
@keyframes place-flash { 0%, 45% { outline: 3px solid var(--honey); outline-offset: 3px; background-color: var(--honey-soft); } 100% { outline: 3px solid transparent; outline-offset: 3px; } }
.q-list .q-tag { display: inline-block; margin-right: 8px; padding: 0 8px; font-size: 11px; font-weight: 700; color: var(--ink); background: var(--sand); border-radius: 999px; vertical-align: 1px; }
.q-list .q-tag.t-e { background: var(--sky-soft); }
.q-list .q-tag.t-k { background: var(--leaf-soft); }
.q-list .q-tag.t-i { background: var(--coral-soft); }

/* ---------- この街をひとことで・違いをひとことで ---------- */
.city-note { margin: 18px 0 22px; padding: 18px 22px; background: var(--paper); border: 2px solid rgba(74, 63, 53, 0.8); border-radius: 24px; box-shadow: 5px 5px 0 var(--honey); }
.city-note p { margin: 0; line-height: 1.95; }
.city-note .city-note-label { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--mute); }
.city-note .city-note-label::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--honey); vertical-align: 0; }
.city-note .city-note-src { margin: 10px 0 0; font-size: 11px; line-height: 1.7; color: var(--mute); }

/* ---------- お役立ち記事（/guide/<slug>/） ---------- */
.art-sum { margin: 22px 0; }
.art-sum-h, .machi-h, .check-h { margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.art-sum ul { margin: 0; padding-left: 1.3em; }
.art-sum li { margin-bottom: 4px; }
.art h2 .h2-sub { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--mute); }
.art .point { margin: 14px 0; padding: 14px 18px; border-left: 5px solid var(--honey); background: var(--paper); border-radius: 0 16px 16px 0; }
.art .point strong:first-child { display: block; margin-bottom: 2px; }
.art .flow { list-style: none; margin: 16px 0; padding: 0; counter-reset: st; }
.art .flow > li { position: relative; margin: 0 0 14px; padding: 12px 16px 12px 58px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; counter-increment: st; }
.art .flow > li::before { content: counter(st); position: absolute; left: 14px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--honey-soft); font-weight: 700; text-align: center; line-height: 30px; }
.art .flow .when { display: block; font-size: 13px; font-weight: 700; color: var(--coral); }
.machi { margin: 26px 0; border: 2px solid rgba(74, 63, 53, 0.8); box-shadow: 5px 5px 0 var(--sky); }
.machi-h::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 8px; border-radius: 50%; background: var(--sky); }
.machi-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.machi-pick select { flex: 1 1 180px; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); color: var(--ink); }
.machi-out .city-note { margin: 16px 0 12px; box-shadow: none; border-width: 1px; }
.machi-btns { display: grid; gap: 8px; }
.machi-btns .btn { margin: 0; }
.check-box { margin: 26px 0; }
.check-g { margin: 12px 0 4px; font-size: 13px; font-weight: 700; color: var(--mute); }
.check { list-style: none; margin: 0; padding: 0; }
.check li { border-bottom: 1px dashed var(--line); }
.check label { display: flex; gap: 10px; align-items: flex-start; padding: 8px 2px; cursor: pointer; line-height: 1.7; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 3px; accent-color: var(--leaf); }
.check input:checked + span { color: var(--mute); text-decoration: line-through; text-decoration-color: var(--leaf); }
.check-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin: 12px 0 0; }
.art-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 12px 0 24px; }
.art-card { display: block; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; transition: border-color 0.2s, transform 0.4s var(--spring); }
.art-card:hover { border-color: var(--sky); transform: translateY(-2px); }
.art-card strong { display: block; font-size: 16px; line-height: 1.6; }
.art-card span { display: block; margin-top: 4px; font-size: 13px; color: var(--mute); line-height: 1.7; }
.art-ours p { margin: 0 0 8px; }
.yoso-reads { margin: 10px 0 0; font-size: 13px; line-height: 2; }
.yoso-reads a { margin-right: 10px; white-space: nowrap; }
@media print {
  .site-header, .subnav, .crumbs, .site-footer, .machi, .wagaya-bar, .wagaya-nudge, .yoso, .art-cards, .check-foot button { display: none !important; }
  .reveal, .pop-in { opacity: 1 !important; transform: none !important; }
}
.art .flow > li ul { margin: 6px 0 0; padding-left: 1.2em; font-size: 15px; }
.art .flow > li ul li { margin-bottom: 4px; }

/* ---------- LINEへの入口（話の流れの中に置く1行） ---------- */
.line-hint { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; justify-content: space-between; margin: 16px 0; padding: 12px 16px; background: var(--paper); border: 1px dashed var(--line); border-radius: 16px; font-size: 14px; line-height: 1.8; }
.line-hint span { flex: 1 1 220px; }
.line-hint a { flex: none; font-weight: 700; font-size: 14px; padding: 6px 16px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; transition: transform 0.4s var(--spring); }
.line-hint a:hover { transform: translateY(-1px); }
.line-hint[hidden], [data-line-hint][hidden] { display: none !important; }
/* 街のお金のページ：子育て支援の要点（問いと答え。city-notes.js の faq） */
.faq-points { margin: 18px 0 22px; }
.faq-points dl { margin: 0; }
.faq-points dt { font-weight: 700; margin: 12px 0 2px; font-size: 15px; }
.faq-points dt::before { content: "Q. "; color: var(--honey); }
.faq-points dd { margin: 0 0 4px; line-height: 1.8; }
.ib-shown .ry-line { display: inline-block; margin-top: 8px; padding: 7px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 13px; text-decoration: none; }
.line-hint span a.line-more { display: inline; padding: 0; background: none; color: var(--ink); font-weight: 500; font-size: 13px; text-decoration: underline; border-radius: 0; margin-left: 4px; white-space: nowrap; }
/* LINEでできること（/line/）：トーク画面の見本（line-pages.js） */
.lc-sec { margin: 28px 0; }
.lc-chat { background: #8cabd9; background: color-mix(in srgb, var(--sky) 70%, #ffffff); border-radius: 22px; padding: 16px 12px; display: flex; flex-direction: column; gap: 10px; }
.lc-me { margin: 0; display: flex; justify-content: flex-end; }
.lc-me span { background: #a8e27a; color: #23301a; font-weight: 700; padding: 8px 14px; border-radius: 18px 18px 4px 18px; font-size: 15px; }
.lc-card { background: #fff; border-radius: 16px; overflow: hidden; max-width: 330px; box-shadow: 0 1px 2px rgba(0,0,0,.08); flex: none; }
.lc-head { padding: 12px 14px; }
.lc-head strong { display: block; font-size: 17px; }
.lc-head small { display: block; font-size: 12px; color: var(--mute); }
.lc-body { padding: 10px 14px; font-size: 13px; line-height: 1.7; }
.lc-body ul { margin: 0; padding-left: 1.1em; }
.lc-body p { margin: 0 0 8px; }
.lc-more { list-style: none; color: var(--mute); }
.lc-mute { color: var(--mute); }
.lc-btns { padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 6px; }
.lc-btn { display: block; text-align: center; font-size: 13px; font-weight: 700; padding: 7px 10px; border-radius: 8px; background: #eeeeee; color: var(--ink); }
.lc-btn.main { background: var(--ink); color: #fff; }
.lc-quick { margin: 0; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.lc-quick span { flex: none; background: #fff; border: 1px solid #c9c9c9; border-radius: 999px; padding: 4px 12px; font-size: 12px; }
.lc-carousel { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.lc-carousel .lc-card { width: 240px; }
.lc-ages { display: flex; gap: 6px; }
.lc-ages span { flex: 1; text-align: center; background: var(--leaf-soft); border-radius: 8px; padding: 4px 0; font-size: 11px; color: var(--mute); }
.lc-ages b { display: block; font-size: 16px; color: var(--ink); }
.lc-add { margin-top: 18px; }
@media print { .line-hint { display: none !important; } }
.notrack-note { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 60; max-width: calc(100% - 32px); margin: 0; padding: 10px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 13px; line-height: 1.7; box-shadow: 0 6px 20px rgba(0,0,0,.15); }

/* ---------- 2つの街をくらべる：暮らしでくらべる ---------- */
.life-cmp th small, .life-cmp td small { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }
.life-cmp { table-layout: fixed; width: 100%; }
.life-cmp thead th:first-child, .life-cmp tbody th { width: 30%; }
.life-cmp tbody th { text-align: left; font-size: 12px; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; }
.life-cmp thead th { white-space: normal; }
.life-cmp td { vertical-align: top; font-size: 13px; line-height: 1.7; }
.life-cmp td strong { font-size: 17px; }
.life-cmp td a { font-size: 12px; }
@media (max-width: 420px) { .life-cmp th, .life-cmp td { padding-left: 6px; padding-right: 6px; } }

/* ひとこと：答えが10家庭たまるまでは、数のかわりに呼びかけ（data-few） */
.hk-who[data-few] .hk-count { display: none; }
.hk-who:not([data-few]) .hk-invite { display: none; }

/* ---------- 園さがし：幼稚園・こども園のお金（園の公表から） ---------- */
.en-fee { display: block; margin-top: 4px; font-size: 12px; color: var(--mute); line-height: 1.7; }
.fee-tbl { table-layout: fixed; width: 100%; }
.fee-tbl th:first-child { width: 34%; }
.fee-tbl th, .fee-tbl td { white-space: normal; font-size: 13px; line-height: 1.6; }
.fee-tbl td small { display: block; font-size: 11px; color: var(--mute); }
.fee-tbl td strong { font-size: 14px; }
@media (max-width: 420px) { .fee-tbl th, .fee-tbl td { padding-left: 6px; padding-right: 6px; } }

/* ---------- 園さがし：大きな市の0〜2歳の保育料（市の保育料表から。hoikuryo-city.js） ---------- */
.hy-sub { display: block; font-size: 12px; color: var(--mute); }
.hy-range { margin: 4px 0 8px; font-size: 22px; font-weight: 700; color: var(--ink); }
.hy-calc { margin: 10px 0; padding: 12px; border-radius: 14px; background: var(--honey-soft); }
.hy-in { display: block; font-size: 13px; line-height: 1.6; }
.hy-q { display: block; font-size: 15px; margin-bottom: 2px; }
.hy-in input { width: 9.5em; margin: 6px 6px 0 0; padding: 8px 10px; font-size: 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.hy-in span { font-size: 13px; }
.hy-chk { display: flex; gap: 6px; align-items: flex-start; margin-top: 8px; font-size: 12px; line-height: 1.6; color: var(--mute); }
.hy-chk input { margin-top: 3px; flex: none; }
.hy-out { margin: 8px 0 0; font-size: 14px; line-height: 1.7; }
.hy-out:empty { display: none; }
.hy-tbl summary { cursor: pointer; font-size: 14px; padding: 6px 0; }
.hy-tbl .fee-tbl th:first-child { width: 64%; }
.hy-tbl tr.is-me td { background: var(--honey-soft); }

/* ---------- 子どもの居場所（児童館・子育て支援センター・学童・病児保育。places-pages.js） ---------- */
.place-facts { margin: 0; font-size: 12px; line-height: 1.7; color: var(--mute); }
.place-facts a { color: inherit; }
.ib-filter { margin: 8px 0 4px; }
.ib-filter > strong { display: block; font-size: 13px; margin-bottom: 4px; }
.ib-filter .note { margin: 6px 0 0; }
.ib-filter .note:empty { display: none; }
.ib-row[hidden] { display: none; }
.ib-row .park-head { gap: 4px 10px; }
.ib-time { font-variant-numeric: tabular-nums; font-weight: 700; }
.ib-stat { margin: 4px 0 8px; font-size: 13px; }
.ib-stat b { font-size: 16px; }
.ib-stat small { color: var(--mute); }
.ib-cmp { min-width: 520px; }
.ib-cmp th[scope="row"] { white-space: nowrap; font-size: 12px; color: var(--mute); }
.ib-cmp td, .ib-cmp th { font-size: 13px; line-height: 1.6; vertical-align: top; }
.ib-na { color: var(--mute); }
.ib-remove { margin-top: 4px; font-size: 12px; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
body:has(.ib-compare-bar:not([hidden])) .wagaya-nudge { display: none; }
/* 公園の「くらべる」（parks-pages.js・koen-cmp.js） */
.park-head .en-pick { margin-top: 0; }
.pk-add { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0 0; font-size: 13px; line-height: 1.6; }
body:has(.pk-compare-bar:not([hidden])) .wagaya-nudge { display: none; }
/* 小児科の「くらべる」（iryo-pages.js・iryo-cmp.js） */
.ir-pick { display: inline-block; vertical-align: middle; margin: 0 8px 0 0; }
body:has(.ir-compare-bar:not([hidden])) .wagaya-nudge { display: none; }

/* ---------- よその家の朝（/yoso/asa/、ゲーム） ---------- */
.asa-stage { position: relative; height: calc(100svh - 112px); min-height: 560px; max-height: 920px; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  background: radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.85) 0 7%, transparent 7.5%), radial-gradient(circle at 26% 20%, rgba(255, 255, 255, 0.85) 0 5%, transparent 5.5%), radial-gradient(circle at 82% 14%, rgba(255, 255, 255, 0.8) 0 6%, transparent 6.5%), linear-gradient(180deg, #bfe3f6 0%, #e3f1e6 55%, #fbf0d6 100%); }
.asa-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.asa-hud { position: absolute; inset: 0; pointer-events: none; }
.asa-top { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 8px; align-items: flex-start; }
.asa-clock { pointer-events: none; background: var(--paper); border: 3px solid var(--ink); border-radius: 18px; padding: 4px 14px 6px; box-shadow: 4px 4px 0 var(--ink); text-align: center; line-height: 1.1; transition: transform 0.3s var(--spring); }
.asa-clock span { display: block; font-size: 30px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.asa-clock small { font-size: 11px; color: var(--mute); }
.asa-clock.hurry { background: var(--honey-soft); animation: asa-pulse 0.6s infinite alternate; }
.asa-clock.late { background: #ffd9d2; }
.asa-clock.late span { color: #c4453a; }
@keyframes asa-pulse { to { transform: scale(1.06) rotate(-2deg); } }
.asa-switch, .asa-quit { pointer-events: auto; font: inherit; font-weight: 700; font-size: 13px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); padding: 6px 12px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.asa-switch { background: var(--honey-soft); }
.asa-quit { margin-left: auto; }
.asa-kids { position: absolute; left: 8px; right: 8px; bottom: 10px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.asa-kid { position: relative; background: var(--paper); border: 2.5px solid var(--ink); border-radius: 14px; padding: 4px 8px 4px 6px; display: flex; align-items: center; gap: 6px; box-shadow: 3px 3px 0 var(--ink); border-left: 8px solid var(--c); }
.asa-kid b { font-size: 13px; }
.asa-kid span { display: flex; gap: 1px; }
.asa-kid i { font-style: normal; font-size: 16px; filter: grayscale(1); opacity: 0.35; }
.asa-kid i.ok { filter: none; opacity: 1; }
.asa-kid.ready { background: var(--leaf-soft); }
.asa-kid.ev { animation: asa-shake 0.4s infinite; }
.asa-kid em { position: absolute; top: -14px; right: -8px; font-style: normal; font-size: 20px; }
@keyframes asa-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }
.asa-toast { position: absolute; left: 50%; top: 84px; transform: translate(-50%, -12px) scale(0.9); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; max-width: 92%; text-align: center; transition: opacity 0.25s, transform 0.35s var(--spring); z-index: 3; }
.asa-toast.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.asa-toast.cry { background: #3f7fb3; }
.asa-toast.good { background: #5f9a52; }
.asa-hint { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); width: min(92%, 420px); background: rgba(255, 253, 249, 0.96); border: 3px solid var(--ink); border-radius: 20px; padding: 12px 16px; box-shadow: 5px 5px 0 var(--ink); pointer-events: none; z-index: 2; }
.asa-hint p { margin: 4px 0; font-size: 14px; font-weight: 700; }
.asa-hint b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 12px; margin-right: 8px; }
.asa-hint .sub { font-weight: 400; font-size: 12px; color: var(--mute); }
.asa-panel { position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(94%, 460px); max-height: calc(100% - 24px); overflow-y: auto; background: rgba(255, 253, 249, 0.97); border: 3px solid var(--ink); border-radius: 24px; padding: 18px 18px 14px; box-shadow: 6px 6px 0 var(--ink); animation: asa-pop 0.5s var(--spring); }
@keyframes asa-pop { from { transform: translate(-50%, -46%) scale(0.9); opacity: 0; } }
.asa-panel h1, .asa-panel h2 { font-size: 22px; line-height: 1.35; margin: 2px 0 8px; }
.asa-kicker { display: inline-block; margin: 0; font-size: 12px; font-weight: 700; background: var(--coral); color: #fff; border-radius: 999px; padding: 2px 10px; }
.asa-lead { font-size: 14px; margin: 0 0 12px; }
.asa-sec { margin: 12px 0; }
.asa-sec > strong, .asa-sec-h strong { display: block; font-size: 14px; margin-bottom: 6px; }
.asa-sec-h { display: flex; justify-content: space-between; align-items: baseline; }
.asa-kidrow { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.asa-kidrow .dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 2px solid var(--ink); }
.asa-kidrow select { flex: 1 1 0; min-width: 0; font: inherit; font-size: 14px; padding: 6px 8px; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); }
.asa-kidrow .x { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); font-size: 16px; cursor: pointer; }
.asa-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.asa-chip { font: inherit; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; transition: transform 0.25s var(--spring); }
.asa-chip.on { background: var(--honey-soft); border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
.asa-chip:active { transform: scale(0.94); }
.asa-shared { background: var(--leaf-soft); border-radius: 16px; padding: 10px 12px; margin: 10px 0; }
.asa-shared p { margin: 0 0 8px; font-size: 14px; }
.asa-panel .note { font-size: 12px; margin: 10px 0 0; }
.asa-result { text-align: center; }
.asa-result h2 { font-size: 26px; }
.asa-r-time { font-size: 18px; font-weight: 700; margin: 0; }
.asa-stars { font-size: 34px; letter-spacing: 6px; margin: 6px 0 2px; }
.asa-stars i { font-style: normal; color: var(--line); display: inline-block; }
.asa-stars i.on { color: var(--honey); animation: asa-star 0.6s var(--spring) both; text-shadow: 2px 2px 0 var(--ink); }
.asa-stars i.on:nth-child(2) { animation-delay: 0.15s; } .asa-stars i.on:nth-child(3) { animation-delay: 0.3s; }
@keyframes asa-star { from { transform: scale(0) rotate(-40deg); } }
.asa-r-name { font-weight: 700; margin: 0 0 10px; }
.asa-r-stats { list-style: none; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; font-size: 12px; }
.asa-r-stats li { background: var(--sand); border-radius: 12px; padding: 6px; }
.asa-r-stats b { display: block; font-size: 20px; }
.asa-r-btns { display: grid; gap: 8px; }
.asa-r-next { font-size: 13px; margin: 12px 0 0; }
.asa-about { padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 720px) { .asa-stage { height: calc(100svh - 120px); } .asa-kid i { font-size: 18px; } }
/* 設定の画面は、家の箱庭が見えるように端に寄せる（広い画面は左、スマホは下） */
#asa-setup { top: auto; bottom: 10px; transform: translateX(-50%); max-height: 64%; animation-name: asa-up; }
@keyframes asa-up { from { transform: translate(-50%, 30px); opacity: 0; } }
@media (min-width: 900px) { #asa-setup { left: 24px; top: 24px; bottom: 24px; transform: none; max-height: none; width: 400px; animation-name: asa-left; } }
@keyframes asa-left { from { transform: translateX(-30px); opacity: 0; } }
@media (max-width: 480px) { .asa-kids { flex-wrap: nowrap; gap: 4px; justify-content: flex-start; overflow-x: auto; padding: 14px 2px 4px; bottom: 6px; } .asa-kid { flex: none; padding: 3px 6px 3px 4px; gap: 3px; border-left-width: 6px; border-radius: 12px; } .asa-kid b { font-size: 12px; } .asa-kid i { font-size: 13px; } .asa-clock span { font-size: 24px; } }
@media (max-width: 720px) { .asa-stage { height: calc(100svh - 146px); min-height: 520px; } }
.asa-card { display: flex; gap: 14px; align-items: center; }
.asa-card .ico { flex: none; font-size: 40px; line-height: 1; }

/* ---------- わが家のあるある（/yoso/aruaru/） ---------- */
#ar-setup { top: auto; bottom: 10px; transform: translateX(-50%); max-height: 66%; animation-name: asa-up; }
@media (min-width: 900px) { #ar-setup { left: 24px; top: 24px; bottom: 24px; transform: none; max-height: none; width: 410px; animation-name: asa-left; } }
#ar-setup .asa-chip:disabled { opacity: 0.45; cursor: default; }
.ar-clock { position: absolute; top: 10px; left: 10px; z-index: 2; }
.ar-title { position: absolute; left: 50%; top: 18%; transform: translate(-50%, -10px) scale(0.9); opacity: 0; transition: opacity 0.4s, transform 0.5s var(--spring); background: var(--paper); border: 3px solid var(--ink); border-radius: 22px; box-shadow: 5px 5px 0 var(--ink); padding: 10px 22px 12px; text-align: center; font-size: 26px; font-weight: 700; z-index: 2; pointer-events: none; white-space: nowrap; }
.ar-title.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
.ar-title small { display: block; font-size: 13px; color: #fff; background: var(--coral); border-radius: 999px; padding: 1px 10px; width: fit-content; margin: 0 auto 4px; }
.ar-title em { display: block; font-style: normal; font-size: 13px; font-weight: 500; color: var(--mute); margin-top: 2px; }
.ar-cap { position: absolute; left: 50%; bottom: 22px; transform: translate(-50%, 16px); opacity: 0; transition: opacity 0.25s, transform 0.4s var(--spring); z-index: 2; pointer-events: none; text-align: center; width: min(94%, 640px); }
.ar-cap.show { opacity: 1; transform: translate(-50%, 0); }
.ar-cap span { display: inline-block; font-size: 14px; font-weight: 700; background: var(--ink); color: var(--paper); border-radius: 999px; padding: 3px 12px; margin-bottom: 6px; }
.ar-cap b { display: block; font-size: 26px; line-height: 1.35; color: #fff; -webkit-text-stroke: 7px var(--ink); paint-order: stroke fill; letter-spacing: 0.02em; }
.ar-cap.end b { color: var(--honey); font-size: 28px; }
.ar-list { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; gap: 6px; text-align: left; }
.ar-list li { background: var(--sand); border-radius: 12px; padding: 7px 12px; font-weight: 700; font-size: 14px; }
.ar-list li::before { content: '📣 '; }
.ar-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 480px) { .ar-cap b { font-size: 21px; -webkit-text-stroke-width: 6px; } .ar-title { font-size: 21px; top: 14%; } }
.asa-panel [hidden], .asa-stage [hidden] { display: none !important; }

/* ---------- 療育の事業所（/ryoiku/） ---------- */
.ry-hours { list-style: none; padding: 0; margin: 6px 0 2px; font-size: 13px; }
.ry-hours li { padding: 2px 0; }
.ry-hours b { display: inline-block; min-width: 7.5em; color: var(--ink); }
.ry-cities { list-style: none; padding: 0; margin: 12px 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.ry-cities a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); transition: transform 0.25s var(--spring), border-color 0.2s; }
.ry-cities a:hover { transform: translateY(-2px); border-color: var(--leaf); }
.ry-cities span { font-size: 12px; color: var(--mute); }
.ry-kinds { padding-left: 1.2em; font-size: 14px; }
.ry-kinds li { margin: 4px 0; }
/* 療育の街ページの上の「窓口の要点」と、終わりの「同じ街のほかの情報」 */
.ry-mado { margin: 0 0 18px; padding: 14px 18px; background: var(--honey-soft); border-radius: 20px; }
.ry-mado-h { margin: 0 0 6px; font-weight: 700; font-size: 15px; }
.ry-mado ul { list-style: none; padding: 0; margin: 0; }
.ry-mado li { display: flex; flex-direction: column; gap: 1px; padding: 6px 0; border-top: 1px dashed rgba(74, 63, 53, 0.25); }
.ry-mado li:first-child { border-top: 0; }
.ry-mado li span { font-size: 12px; color: var(--mute); }
.ry-mado-more { margin: 6px 0 0; font-size: 14px; }
.ry-more { list-style: none; padding: 0; margin: 10px 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ry-more a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: var(--paper); text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; transition: transform 0.25s var(--spring), border-color 0.2s; }
.ry-more a:hover { transform: translateY(-2px); border-color: var(--leaf); }
/* 療育の悩みの記事（受給者証・1歳半健診・併行通園） */
.ry-nayami { margin: 10px 0 0; padding-left: 1.2em; font-size: 14px; }
.ry-nayami li { margin: 4px 0; }
.ry-flow { padding-left: 1.4em; }
.ry-flow li { margin: 0 0 12px; }
.ry-jump select { min-width: 0; }
.ry-steps { list-style: none; padding: 0; counter-reset: none; }
.ry-steps > li { background: var(--paper); border: 2px solid var(--line); border-radius: 18px; padding: 4px 18px 10px; margin: 14px 0; }
.ry-steps h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.ry-steps h2 span { flex: none; display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--leaf); color: #fff; font-size: 15px; }

/* ---------- ページの中で1タップで答えるお題（hk-inline.js） ---------- */
.hk-inline { margin: 0 0 14px; padding: 16px 18px; background: var(--honey-soft); border-radius: 22px; }
.hk-inline-q { margin: 0 0 10px; font-weight: 700; font-size: 16px; line-height: 1.55; word-break: auto-phrase; }
.hk-inline-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.hk-inline-opts a { padding: 8px 14px; font-size: 14px; line-height: 1.4; color: var(--ink); text-decoration: none; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; transition: background 0.15s, border-color 0.15s; }
.hk-inline-opts a:hover, .hk-inline-opts a:focus-visible { color: var(--ink); background: var(--cream); border-color: var(--ink); }
.hk-inline-opts a.is-other { color: var(--mute); }
.hk-inline-opts a.is-mine { font-weight: 700; color: var(--paper); background: var(--ink); border-color: var(--ink); }
.hk-inline.is-done .hk-inline-opts { display: none; }
.hk-inline-s { margin: 12px 0 0; font-size: 13px; line-height: 1.75; }
.hk-inline-s small { display: block; font-size: 11px; color: var(--mute); }
.hk-inline-out { margin-top: 12px; font-size: 14px; line-height: 1.75; }
.hk-inline-out p { margin: 0 0 8px; }
.hk-inline-bars { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 6px; }
.hk-inline-bars li { display: grid; grid-template-columns: minmax(0, 1fr) 3.2em; gap: 8px; align-items: center; font-size: 13px; }
.hk-inline-bars span { position: relative; padding: 3px 8px; overflow: hidden; background: var(--paper); border-radius: 8px; }
.hk-inline-bars span::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--honey); opacity: 0.55; }
.hk-inline-bars span b { position: relative; font-weight: 400; }
.hk-inline-bars li.is-mine span b { font-weight: 700; }
.hk-inline-bars em { font-style: normal; font-variant-numeric: tabular-nums; text-align: right; }
/* 2026-11-21：答える前の「◯◯市・1歳の家庭として答える」、答えたあとの「そえる」・30字のひとこと・次の1問 */
.hk-inline-who { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin: 0 0 10px; font-size: 13px; font-weight: 700; }
.hk-inline-who small { flex-basis: 100%; font-size: 11px; font-weight: 400; color: var(--mute); }
.hk-inline-ask { margin: 4px 0 10px; }
.hk-inline-ask p { margin: 0 0 6px; font-weight: 700; }
.hk-inline-ask small { display: block; font-size: 11px; font-weight: 400; color: var(--mute); }
.hk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hk-chip { padding: 6px 12px; font: inherit; font-size: 13px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.hk-chip:hover, .hk-chip:focus-visible { border-color: var(--ink); }
.hk-chip.is-wide { display: block; width: 100%; margin-bottom: 4px; font-weight: 700; text-align: left; }
.koen-near-top { margin: 0 0 16px; }
.hk-chip.is-on { color: var(--paper); background: var(--ink); border-color: var(--ink); font-weight: 700; }
.hk-inline-ask p.hk-inline-ask2 { margin-top: 12px; }
.hk-inline-live { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; }
.hk-inline-parts { margin: 0 0 10px; padding-left: 1.1em; font-size: 13px; }
.hk-inline-thanks { font-size: 13px; font-weight: 700; }
.hk-inline-note { display: flex; gap: 6px; margin: 0 0 8px; }
.hk-inline-note input { flex: 1; min-width: 0; padding: 7px 12px; font: inherit; font-size: 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); }
.hk-inline-note button { padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 700; color: var(--paper); background: var(--ink); border: 0; border-radius: 999px; cursor: pointer; }
.hk-inline-more { font-size: 13px; }
.hk-inline.is-next { margin-top: 10px; background: var(--cream); }
.hk-inline-next { margin: 0 0 4px; font-size: 12px; font-weight: 700; color: var(--mute); }

/* ---------- 上の方の1問（yoso-links.js の early）。検索から来た人が最初の画面の近くで答えられるように ---------- */
.yoso-early { margin: 18px 0 24px; }
.yoso-early .yoso-h { margin-bottom: 8px; flex-wrap: wrap; font-size: 15px; }
.yoso-early .yoso-h small { flex-basis: 100%; padding-left: 34px; font-size: 12px; font-weight: 400; color: var(--mute); }
.yoso-early .hk-inline { margin: 0; }

/* ---------- 施設の方が載せた情報（keisai-pages.js） ---------- */
.kz-line { margin: 6px 0 0; padding: 6px 10px; font-size: 13px; line-height: 1.7; background: var(--sky-soft, #e8f1f8); border-radius: 10px; }
.kz-line span { display: inline-block; margin-right: 6px; font-size: 11px; font-weight: 700; color: var(--mute); }
.kz-form { display: grid; gap: 14px; }
.kz-field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.kz-label { font-weight: 700; font-size: 14px; }
.kz-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.kz-form input:not([type=radio]):not([type=checkbox]), .kz-form select, .kz-form textarea { width: 100%; min-width: 0; padding: 10px 12px; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px; }
.kz-check { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.kz-who .note { margin: 0; }

/* ---------- うちはふつう？（genzaichi-pages.js） ---------- */
.ft-q { margin: 18px 0; }
.ft-h { margin: 0 0 10px; font-size: 18px; }
.ft-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ft-opts button { padding: 8px 14px; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.ft-opts button[aria-pressed="true"] { font-weight: 700; color: var(--paper); background: var(--ink); border-color: var(--ink); }
.ft-bars { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 5px; }
.ft-bars li { display: grid; grid-template-columns: minmax(0, 1fr) 3.4em; gap: 8px; align-items: center; font-size: 13px; }
.ft-bars span { position: relative; padding: 3px 8px; overflow: hidden; background: var(--cream); border-radius: 8px; }
.ft-bars span::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); background: var(--sky); opacity: 0.35; }
.ft-bars li.is-mine span::before { background: var(--coral); opacity: 0.6; }
.ft-bars span b { position: relative; font-weight: 400; }
.ft-bars li.is-mine b { font-weight: 700; }
.ft-bars em { font-style: normal; font-variant-numeric: tabular-nums; text-align: right; }
.ft-q:not(.is-done) .ft-bars { opacity: 0.55; }
.ft-say { margin: 0 0 4px; font-size: 15px; }
.ft-who, .ft-src { margin: 0; font-size: 12px; color: var(--mute); }
.ft-more { margin: 8px 0 0; font-size: 14px; }

.ft-bars.is-site span::before { background: var(--honey); opacity: 0.5; }
.ft-site:empty { display: none; }
.ft-send { display: grid; gap: 4px; margin: 6px 0 4px; }
.ft-send small { font-size: 12px; color: var(--mute); }

.ft-ages { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-ages button { padding: 6px 14px; font: inherit; font-size: 14px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.ft-ages button[aria-pressed="true"] { font-weight: 700; color: var(--paper); background: var(--ink); border-color: var(--ink); }
/* うちはふつう？：結果をX・LINEに出す行（futsu.js） */
.ft-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 4px; font-size: 14px; }
.ft-share[hidden] { display: none; }
.ft-share span { color: var(--mute); }
.ft-share a { padding: 8px 18px; font-weight: 700; text-decoration: none; border: 1.5px solid var(--ink); border-radius: 999px; }
/* 比べられ方レポート（/jichitai/report/）：いちばん数字が大きい欄と、真ん中の街の印 */
.life-cmp td.is-top { background: color-mix(in srgb, var(--honey) 22%, transparent); font-weight: 700; }
.rp-me { display: block; font-size: 11px; font-weight: 700; color: var(--mute); }
/* 自治体向けの比較レポート（正式版の形。jichitai-report.js。印刷するとA4のPDFになる） */
.rp-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; margin: 0 0 14px; font-size: 13px; color: var(--mute); }
.rp-meta dt { font-weight: 700; }
.rp-meta dd { margin: 0; }
.rp .rp-t { font-size: 13px; }
.rp .rp-t th small, .rp .rp-t td small { display: block; font-size: 11px; font-weight: 400; color: var(--mute); }
.rp .rp-t .is-me { background: color-mix(in srgb, var(--leaf) 14%, transparent); }
/* スマホでは列をつぶさず、表を横に動かして読む（6〜7列あるため。2026-11-16） */
@media screen and (max-width: 760px) { .rp .rp-t { min-width: 720px; } .rp .rp-t thead th:first-child, .rp .rp-t tbody th { width: 116px; } }
@media print {
  .rp .rp-noprint, .rp .btn { display: none !important; }
  .rp .hero { padding: 0; margin: 0 0 8px; }
  .rp h1 { font-size: 22px; }
  .rp h2 { font-size: 15px; margin: 14px 0 6px; break-after: avoid; }
  .rp p, .rp li { font-size: 11px; }
  .rp .table-scroll { overflow: visible; border: 0; margin: 6px 0 10px; break-inside: avoid; }
  .rp .rp-t { font-size: 9.5px; width: 100%; }
  .rp .rp-t th small, .rp .rp-t td small { font-size: 8px; }
  .rp .rp-t a { color: inherit; text-decoration: none; }
}

/* 2026-11-24 発達の目安（/hattatsu/）：わが子の月齢・チェック（できる／まだ／わからない）・おもちゃと遊び・相談先 */
.hd-ages a.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hd-me { background: var(--leaf-soft); border-color: transparent; }
.hd-me-h { margin: 0 0 8px; font-weight: 700; }
.hd-me select { width: 100%; padding: 8px 10px; font: inherit; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.hd-kids { margin: 10px 0 0; font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.hd-me-out { margin: 10px 0 0; }
.hd-clear { margin-left: 6px; padding: 2px 10px; font: inherit; font-size: 12px; color: var(--mute); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.hd-how { padding-left: 1.2em; }
.hd-cp { margin: 20px 0 26px; padding: 16px 16px 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.hd-cp.is-next { border: 2px solid var(--leaf); }
.hd-cp-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 4px; font-size: 18px; }
.hd-cp-st { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--sand); color: var(--ink); }
.hd-cp-st:empty { display: none; }
.hd-cp.is-next .hd-cp-st { background: var(--leaf-soft); }
.hd-cp-note { margin: 0 0 6px; }
.hd-d { margin: 14px 0 6px; font-size: 13px; font-weight: 700; color: var(--mute); }
.hd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hd-item { padding: 10px 12px; border-radius: 14px; background: var(--cream); border: 1px solid transparent; }
.hd-item.is-y { background: var(--leaf-soft); }
.hd-item.is-n { border-color: var(--coral); }
.hd-q { margin: 0 0 4px; font-weight: 700; line-height: 1.6; }
.hd-meta { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0 0 6px; font-size: 11px; }
.hd-meta span { padding: 1px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--mute); }
.hd-meta .hd-tsuka { background: var(--sky-soft); border-color: transparent; color: var(--ink); }
.hd-memo, .hd-tsuka-me { margin: 0 0 6px; font-size: 12px; color: var(--mute); }
.hd-tsuka-me { color: var(--ink); font-weight: 700; }
.hd-btns { display: flex; gap: 6px; }
.hd-btns button { flex: 1; min-height: 36px; padding: 6px 4px; font: inherit; font-size: 13px; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.hd-btns button[data-v="y"][aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; font-weight: 700; }
.hd-btns button[data-v="n"][aria-pressed="true"] { background: var(--coral); border-color: var(--coral); color: #fff; font-weight: 700; }
.hd-btns button[data-v="u"][aria-pressed="true"] { background: var(--sand); border-color: var(--ink); font-weight: 700; }
.hd-cp-sum { margin: 12px 0 6px; font-size: 13px; }
.hd-soudan-in { margin: 8px 0 10px; padding: 12px 14px; border-radius: 16px; background: var(--coral-soft); font-size: 14px; }
.hd-soudan-in p { margin: 0 0 6px; }
.hd-soudan-in p:last-child { margin: 0; }
.hd-asobi { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; margin: 12px 0 18px; }
.hd-toy { padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; font-size: 14px; }
.hd-toy p { margin: 0; }
.hd-toy-h { font-weight: 700; font-size: 15px; }
.hd-toy-aim { margin: 2px 0 6px !important; font-size: 12px; color: var(--mute); }
/* 商品の例（楽天の広告）：遊び方の下に小さく。売り込みに見えないよう、色は控えめ・ボタンにしない（2026-11-27） */
.hd-toy { display: flex; flex-direction: column; }
.hd-pick { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 8px 10px; border: 1px dashed var(--line); border-radius: 12px; background: var(--cream); color: inherit; text-decoration: none; font-size: 12px; line-height: 1.5; }
.hd-toy:has(.hd-pick) > p:last-of-type { margin-bottom: 10px; }
.hd-pick img { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #fff; }
.hd-pick-t { flex: 1; min-width: 0; }
.hd-pick-pr { display: inline-block; margin-right: 6px; padding: 0 6px; border: 1px solid var(--mute); border-radius: 6px; font-size: 10.5px; line-height: 1.6; color: var(--mute); }
.hd-pick-ex { color: var(--mute); }
.hd-pick-name { display: block; font-weight: 700; font-size: 12.5px; overflow-wrap: anywhere; }
.hd-pick-meta { display: block; color: var(--mute); font-size: 11.5px; }
.hd-pick-go { display: block; margin-top: 2px; color: var(--mute); font-size: 11.5px; text-decoration: underline; text-decoration-color: var(--line); }
.hd-pick-go::after { content: ' →'; }
.hd-pick:hover { border-color: var(--coral); color: inherit; }
/* A8.net などのバナー広告（比較ページの「引っ越したら」のあと）。表や説明とは分けて、控えめな枠に（2026-11-27） */
.aff-box { border-style: dashed; background: var(--cream); }
.aff-box-h { margin: 0 0 4px; font-weight: 700; font-size: 14px; }
.aff-box-b { margin: 10px 0 8px; text-align: center; line-height: 0; }
.aff-box-b img { max-width: 100%; height: auto; border-radius: 8px; }
.aff-box-b img.aff-px { width: 1px; height: 1px; border: 0; }
.aff-list { list-style: none; margin: 8px 0 10px; padding: 0; }
.aff-list li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.6; }
.aff-list li:first-child { border-top: 0; padding-top: 2px; }
.aff-list li[hidden], .aff-box[hidden] { display: none; }
.aff-list li[hidden]:first-child + li { border-top: 0; } /* 先頭の行を隠したとき（東京の賃貸は東京の街だけ）、次の行の上の線を消す */
/* 年齢ごとの「おもちゃと遊び」への入口（広告の枠の外。2026-12-02） */
.age-toys { margin: 14px 0 20px; }
.age-toys-h { margin: 0; font-size: 13.5px; font-weight: 700; }
.age-toys .chips { margin: 8px 0 0; }
.aff-list .hd-pick { margin-top: 6px; background: var(--paper); }
.aff-why { display: block; color: var(--mute); font-size: 12.5px; }
.aff-link { display: block; overflow-wrap: anywhere; }
.aff-link img.aff-px { width: 1px; height: 1px; border: 0; vertical-align: bottom; }
/* 2026-12-02：広告の1行を、行ぜんたいで押せる形に（用件を太字で先に。A8の文とリンクはそのまま、押せる範囲だけ広げる） */
.aff-list li.aff-row { position: relative; padding: 12px 36px 12px 0; }
.aff-list li.aff-row:first-child { padding-top: 6px; }
.aff-row .aff-why { color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.5; }
.aff-row .aff-link { margin-top: 2px; font-size: 12.5px; color: var(--mute); }
.aff-row .aff-link a { color: inherit; }
.aff-row .aff-link a::after { content: ""; position: absolute; inset: 0; }
.aff-row .aff-note { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.5; color: var(--mute); }
.aff-row::after { content: "→"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 700; color: var(--accent); transition: transform .15s; }
.aff-row:hover::after { transform: translate(3px, -50%); }
.aff-row:hover .aff-why { text-decoration: underline; text-decoration-color: var(--accent); }
.aff-row:has(a:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.hd-pick:hover .hd-pick-go { color: var(--coral); }
.hd-safe ul { padding-left: 1.2em; }
.hd-safe li { margin-bottom: 6px; }
.hd-kurashi dt { font-weight: 700; margin-top: 10px; }
.hd-kurashi dd { margin: 2px 0 0; }
.hd-steps { padding-left: 1.4em; }
.hd-steps li { margin-bottom: 8px; }
.hd-ry-links { display: grid; gap: 8px; margin-top: 12px; }
.hd-hub .art-card strong { font-size: 17px; }
.hd-hub-sum { display: block; margin-top: 8px; font-size: 12px; color: var(--mute); line-height: 1.7; }
/* チェックのまとまりは縦に長く、画面に入った割合が15%に届かず表示されないことがあるため、ふわっと出す動きをしない */
.hd-cp.reveal { opacity: 1; transform: none; }
/* 2026-11-24 年末年始の記事：#8000の表で、休日の昼間に受け付けていない行 */
.art tr.is-mark td { background: var(--coral-soft); }
.hachisen-t td.t { font-variant-numeric: tabular-nums; }
.hachisen-t td.t > small { display: inline-block; }
.hachisen-t td small, .hachisen-t th small { font-size: 11px; color: var(--mute); font-weight: 400; white-space: normal; }
/* 2026-11-24 園さがし・小児科の都道府県のページ：市区町村ごとの表と、入口の「都道府県の一覧」リンク */
.pref-t td small { font-size: 11px; color: var(--mute); }
.pref-t tr.is-mark td { background: var(--coral-soft); }
.chips-open a.is-pref { font-weight: 700; border-color: var(--ink); }
/* わが家のいま（2026-11-28）：暮らしの状況・子どもの、いま。「まだ」を色で責めない */
.wg-status { margin: 10px 0 18px; padding: 12px 16px; }
.wg-status summary { cursor: pointer; font-size: 14px; }
.wg-st-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.wg-st-k { flex: 0 0 4.5em; font-size: 13px; color: var(--mute); }
.wg-kid { margin: 10px 0; padding: 14px 16px; }
.wg-kid-h { margin: 0 0 6px; font-weight: 700; font-size: 16px; }
.wg-line { margin: 6px 0 0; font-size: 14px; line-height: 1.7; }
.wg-sub { color: var(--mute); font-size: 12.5px; }
.wg-late { margin-top: 10px; padding: 10px 12px; border-radius: 12px; background: var(--sky-soft); font-size: 13.5px; }
.wg-late p { margin: 0 0 4px; }
.hd-wagaya { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--leaf-soft); font-size: 13.5px; }
.pair-wagaya { margin: 14px 0; font-size: 14px; line-height: 1.8; }
.pair-wagaya a { font-weight: 700; }
.wg-kyo { margin: 22px 0 10px; }
.wg-kyo-list { margin: 6px 0 8px; padding-left: 1.2em; font-size: 13.5px; line-height: 1.7; }
/* 療育のしぼり込みの「LINEに送る」（2026-11-28：数のすぐ下に、説明の1行つきで） */
.ib-shown .ry-line { display: table; margin-top: 10px; line-height: 1.5; }
.ib-shown .ry-line small { display: block; margin-top: 2px; font-weight: 400; font-size: 11.5px; opacity: .85; }

/* ---------- 療育のまとめて問い合わせ（/ryoiku/toiawase/。2026-11-29） ---------- */
.ty-picks { display: grid; gap: 10px; }
.ty-picks .kz-check span { line-height: 1.5; }
.ty-picks input:disabled + span strong { color: var(--mute); }
.ty-nofax { color: var(--coral, #c9694e); font-weight: 700; }
.ty-err { margin: 0; padding: 8px 12px; color: #8a3b25; background: var(--coral-soft, #f9e6de); border-radius: 10px; font-size: 14px; }
.ry-compare-bar .btn.ghost { margin-right: 6px; }
#ty-form[hidden], #ty-form [hidden], #ty-stop [hidden] { display: none !important; } /* .kz-form の display: grid が hidden を上書きするため */
.ty-how { color: var(--leaf-ink, #5a7a4e); font-weight: 700; }
.ty-way .btn { margin-top: 6px; }
.ty-more { margin: 10px 0 0; line-height: 2; }
.ty-memo { margin: 0; padding-left: 1.2em; font-size: 14px; }
.ty-copied { display: block; margin-top: 6px; font-size: 12.5px; color: var(--mute); }
.ty-text { white-space: pre-wrap; font: inherit; font-size: 13.5px; line-height: 1.7; background: var(--cream); padding: 12px; border-radius: 12px; margin: 0 0 10px; }
#ty-send[hidden] { display: none !important; }

/* ---------- LINEでできること（/line/。2026-11-30） ---------- */
.lp-plan { display: grid; gap: 10px; margin: 10px 0; }
.lp-month { padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; }
.lp-m { margin: 0 0 6px; font-weight: 700; color: var(--coral, #c9694e); font-size: 14px; }
.lp-month ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 4px; font-size: 14px; line-height: 1.6; }
.lp-cat { display: inline-block; margin-right: 6px; padding: 0 6px; border-radius: 6px; background: var(--cream); color: var(--mute); font-size: 11px; font-weight: 700; }
.lp-vs th, .lp-vs td { font-size: 14px; }
.lp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.lp-item { margin: 0; padding: 14px 16px; }
.lp-when { margin: 0; font-size: 12px; font-weight: 700; color: var(--mute); }
.lp-what { margin: 2px 0 4px; }
.lp-item .note { margin: 0; }
.lp-promise li { margin-bottom: 6px; }
.kyukyu-card-link small { display: block; margin-top: 6px; }

/* 丁目でくらべる（/chome/。chome-pages.js・assets/chome.js）2026-11-30 */
.cm-wards { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.cm-wards a, .cm-wards span { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--ink); text-decoration: none; }
.cm-wards .on { background: var(--leaf-soft); border-color: var(--leaf); }
.cm-sum ul { margin: 0 0 8px; padding-left: 1.2em; }
.cm-sum li { margin: 4px 0; }
.cm-app { margin: 24px 0; }
.cm-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 10px; margin: 12px 0; }
@media (max-width: 480px) { .cm-f { font-size: 12.5px; } .cm-f select { padding: 6px 8px; font-size: 13px; } .cm-map { height: 58vh; } }
.cm-f { display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 700; }
.cm-f select { font: inherit; font-weight: 500; padding: 8px 10px; border: 2px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); }
.cm-f select:focus { outline: 3px solid var(--sky-soft); border-color: var(--sky); }
.cm-more { margin: 4px 0 12px; }
.cm-more summary { cursor: pointer; font-weight: 700; color: var(--mute); }
.cm-count { font-size: 15px; margin: 12px 0 8px; }
.cm-map { height: min(62vh, 520px); border-radius: 16px; border: 2px solid var(--line); overflow: hidden; background: var(--sand); }
.cm-layers { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; font-size: 13px; margin: 8px 0 14px; color: var(--mute); }
.cm-layers label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; color: var(--ink); }
.cm-layers i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.cm-sort { margin: 6px 0; font-size: 14px; }
.cm-sort select { font: inherit; padding: 6px 8px; border: 2px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); }
.cm-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.cm-list button { width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--line); border-radius: 14px; padding: 10px 12px; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.cm-list button:hover { border-color: var(--leaf); }
.cm-list small { color: var(--mute); }
.cm-chips { display: flex; flex-wrap: wrap; gap: 4px; width: 100%; }
.cm-chips span { font-size: 12px; background: var(--sand); border-radius: 999px; padding: 2px 8px; }
.cm-more-li button { justify-content: center; font-weight: 700; }
.cm-card { font-size: 13px; line-height: 1.5; }
.cm-card strong { display: block; font-size: 15px; margin-bottom: 4px; }
.cm-card dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; margin: 0; }
.cm-card dt { color: #6b5d4f; }
.cm-card dd { margin: 0; }
.cm-all summary { cursor: pointer; font-weight: 700; }
.cm-notes li { margin: 6px 0; }
.leaflet-container { font-family: inherit; }
