/* トップ（/）だけの見た目。site.css の上に足す物だけ。
   2026-10-28 垢抜け版 v2（デザインの決まり v2・宮本さん「まだこそだてまっぷより垢抜けん・実写でスタイリッシュに・100万案件で」）。前の版の注記は消し、決めた事だけ残した：
   ・地は白。色の帯（淡黄・桃・緑・橙）と波の縁はやめた。薄いグレー（--surface-2）は「産休・育休マップ」の章だけ。
   ・章の見出しは雲の形のまま、小さく淡く（高さ48px・淡い地 --cl-*・墨の字18px・絵24px・左揃え）。下の添え書きは14px・灰。
   ・一覧（新着・ガイド・人気の記事・住まい）は site.css の「写真の行」1つ。題は墨1色、色は分類の札だけ。
   ・案内板「ここで、わかること」は、10-28 に名前だけの2列の行へ（写真のタイルの形も用意。下の注記）。
   ・特集のスライドは字の無い写真（16:9）＋下に題18px・説明14px。点で横に送る形は残し、今の点は横長。
   ・字間は0・字の大きさは 14/16/18/20/24/28/32 だけ・余白 4/8/12/16/24/32/48/64・角丸 4/8/12・影は使わない（浮く物だけ site.css）。
   宮本さんの決まりで残す物：地域から入るトップ・案内板・特集のスライド・時期（産休・育休マップ）・#の言葉の札（地域は黄色）・計算ツールの箱の絵と色の言葉・「時期とテーマで記事を探す」の絵。 */

/* ---------- 枠：章は白地、中身は672pxまで（PC は下の @media で本文の列＋右の列） ---------- */
.home main { max-width: none; padding: 0; }
.home main > * { padding-left: var(--gx); padding-right: var(--gx); }
.home main > * > * { max-width: 672px; margin-left: auto; margin-right: auto; }
.home main > .sec { padding-top: 48px; padding-bottom: 0; }
.home main > .sec:last-of-type { padding-bottom: 64px; }
.band { background: none; }
/* 薄いグレーの章（産休・育休マップ）だけ。上下の章との間は地の色の差で分かる */
.home main > .b-pink { margin-top: 48px; padding-bottom: 48px; background: var(--surface-2); }

/* ---------- 章の見出し：左揃えの雲（site.css の .cloud）＋下に灰色の添え書き ---------- */
.sh { display: block; text-align: left; }
.hsec { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.4; letter-spacing: 0; word-break: keep-all; overflow-wrap: anywhere; }
.sh .hsec.cloud { margin: 0; min-height: 48px; padding: 6px 20px 6px 12px; font-size: 18px; line-height: 28px; white-space: nowrap; }
.sh .hsec.cloud .hsec-w { color: inherit; }
.sh-s { margin-top: 8px; font-size: 14px; font-weight: 400; line-height: 1.6; letter-spacing: 0; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; }
.sec > .sh + * { margin-top: 16px; }
.sec > .sh + .sec-lead { margin-top: 16px; }
.sec-lead { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.sec > .sec-lead + * { margin-top: 16px; }
/* 小さい章見出し（最近確かめ直した情報・書いた人）：記事の「次に読む」と同じ、左揃えの20px・下に1pxの線と緑の短い線 */
.sh.sh-sm { position: relative; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.sh.sh-sm::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 32px; height: 2px; background: var(--accent); }
.sh-sm .hsec { font-size: 20px; }
.home main > .sec-sm { padding-top: 32px; padding-bottom: 32px; }
.sec > .sh-sm + * { margin-top: 16px; }

/* ---------- 1画面目：白地。見出し24px→説明16px→横長の写真（16:9・角丸8px） ---------- */
.top-band { padding-top: 24px; padding-bottom: 0; }
.hero { display: grid; grid-template-columns: 1fr; grid-template-areas: "h1" "sub" "img"; }
.hero h1 { grid-area: h1; font-family: var(--font-display); font-size: 24px; line-height: 1.4; letter-spacing: 0; }
.hero h1 .hl { color: var(--accent); }
.hero p.sub { grid-area: sub; margin-top: 12px; color: var(--ink-2); line-height: 1.75; }
.hero img { grid-area: img; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 16px; border-radius: 8px; background: var(--surface-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero img { filter: brightness(.88); } }
:root[data-theme="dark"] .hero img { filter: brightness(.88); }

/* ---------- 特集のスライド：字の無い写真（16:9）＋下に題と説明。次の1枚が右に36pxのぞく。点で送る ---------- */
.home main > .feat { padding-top: 32px; padding-left: 0; padding-right: 0; }
.feat-s { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gx); padding: 0 var(--gx); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.feat-s::-webkit-scrollbar { display: none; }
.feat-i { flex: 0 0 calc(100% - 32px); scroll-snap-align: start; display: block; min-width: 0; border-radius: 8px; color: var(--ink); text-decoration: none; }
.feat-i img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.feat-t { display: block; margin-top: 12px; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feat-x { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--ink-2); word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
@media (hover: hover) { .feat-i:hover .feat-t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; } }
.feat-i:active img { filter: brightness(.92); }
.feat-i:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.feat-d { display: flex; justify-content: center; margin-top: 12px; }
.feat-d button { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.feat-d button::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: var(--line-strong); transition: width .15s ease-out, background-color .15s ease-out; }
.feat-d button[aria-current="true"]::before { width: 20px; background: var(--ink); }
.feat-d button:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { .feat-d button::before { transition: none; } }

/* ---------- 案内板「ここで、わかること」 ----------
   2026-10-28 AD 指摘：24個に絵が15種類（公園と子育てひろばが同じすべり台の絵）・立体の絵が 375px で約800px。2つの形を用意し、どちらにするかは宮本さんが決める（build-pages.js の IDX_STYLE）。
   text（今）＝名前だけの2列の行：16px/700 墨・行の高さ44px（押せる範囲 Apple 44pt）・下に1pxの線・右に灰の山形。行全体が押せる。PC は列の幅で3〜4列。
   photo＝1つずつ違う字の無い写真（4:3・角丸8px）＋下に名前14px/700 の4列（760px〜6列・1280px〜8列） */
.home main > .idx { padding-top: 48px; padding-bottom: 0; }
.idx-g { margin-top: 24px; font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--ink-2); }
.idx-tx + .idx-g { margin-top: 16px; }
.sec > .sh + .idx-g { margin-top: 24px; }
.idx-l { list-style: none; padding: 0; margin-top: 4px; display: grid; }
.idx-l a { color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease-out; }
@media (hover: hover) { .idx-l a:hover { background: var(--accent-soft); } }
.idx-l a:active { background: var(--accent-press); transition: none; }
.idx-l a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 8px; }
.idx-tx { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 12px; }
.idx-tx > li { border-bottom: 1px solid var(--line); }
.idx-tx a { display: flex; align-items: center; justify-content: space-between; gap: 4px; min-height: 44px; margin: 0 -4px; padding: 8px 4px; border-radius: 8px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.idx-tx a::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 2px; border-top: 2px solid var(--ink-2); border-right: 2px solid var(--ink-2); transform: rotate(45deg); }
.idx-tx a > span { min-width: 0; word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.idx-ph { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 8px; margin-top: 8px; }
.idx-ph a { display: flex; flex-direction: column; gap: 8px; height: 100%; margin: -4px; padding: 4px; border-radius: 8px; font-size: 14px; font-weight: 700; line-height: 1.4; }
.idx-ph img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.idx-ph a > span { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
@media (min-width: 760px) { .idx-tx { grid-template-columns: repeat(4, minmax(0, 1fr)); } .idx-ph { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1024px) and (max-width: 1279px) { .idx-tx { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .idx-ph { grid-template-columns: repeat(8, minmax(0, 1fr)); } }

/* ---------- 産休・育休マップ（時期のタブ。CSSだけで切り替え） ----------
   タブ＝2列・高さ48px・1pxの枠・角丸8px・白地・墨の字。頭の絵は時期の色の絵。選んだタブ＝その時期の淡い地＋1pxの時期の色の枠（字は墨のまま） */
.tabs { margin-top: 16px; }
.tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.tab-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; counter-reset: tab; }
.tab-row label { counter-increment: tab; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-weight: 700; text-align: center; line-height: 1.4; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease-out; }
.tab-row label::before { content: counter(tab); flex: none; font-family: var(--font-display); font-weight: 700; color: var(--pc); font-variant-numeric: tabular-nums; }
.tab-row label .tab-img { flex: none; display: block; width: 32px; height: 32px; }
.tab-row label:has(.tab-img)::before { content: none; }
.tab-row label[for=t1], .p1 { --pc: var(--c-pink); --pt: var(--t-pink); }
.tab-row label[for=t2], .p2 { --pc: var(--c-orange); --pt: var(--t-orange); }
.tab-row label[for=t3], .p3 { --pc: var(--c-green); --pt: var(--t-green); }
.tab-row label[for=t4], .p4 { --pc: var(--c-sky); --pt: var(--t-sky); }
#t1:checked ~ .tab-row label[for=t1], #t2:checked ~ .tab-row label[for=t2], #t3:checked ~ .tab-row label[for=t3], #t4:checked ~ .tab-row label[for=t4] { background: var(--pt); border-color: var(--pc); }
@media (hover: hover) { .tab-row label:hover { background: var(--surface-2); } #t1:checked ~ .tab-row label[for=t1]:hover, #t2:checked ~ .tab-row label[for=t2]:hover, #t3:checked ~ .tab-row label[for=t3]:hover, #t4:checked ~ .tab-row label[for=t4]:hover { background: var(--pt); } }
.tab-row label:active { background: var(--accent-press); transition: none; }
.tabs > input:focus-visible ~ .tab-row { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 8px; }
.panel { display: none; margin-top: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
#t1:checked ~ .p1, #t2:checked ~ .p2, #t3:checked ~ .p3, #t4:checked ~ .p4 { display: block; }
.panel h3 { margin-top: 24px; font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.4; letter-spacing: 0; color: var(--ink); }
.panel .panel-w + h3 { margin-top: 16px; }
/* 時期の札：分類の札（A）と同じ形。時期の色 */
.panel-w { display: inline-flex; align-items: center; max-width: 100%; min-height: 24px; padding: 2px 8px; border-radius: 4px; background: var(--pt); color: var(--pc); font-size: 14px; font-weight: 700; line-height: 1.4; }
.panel ul { list-style: none; padding: 0; margin-top: 4px; }
.panel li { padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.75; }
.panel li:first-child { border-top: 0; }
.panel li b { font-weight: 700; }
/* 期限の札：A の形（淡い山吹の地・濃い字。枠なし） */
.panel .due { display: inline-flex; align-items: center; min-height: 24px; margin-left: 4px; padding: 2px 8px; border-radius: 4px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; font-weight: 700; line-height: 1.4; }
.panel .links { margin-top: 8px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.panel .links li { padding: 0; }
.panel .links a { padding-left: 0; padding-right: 4px; }
.tabs > .more-btn { margin-top: 24px; }

/* ---------- ことばで探す（#の札）：見た目36px・押せる範囲44px・角丸8px・14px/700・組の淡い地。地域は黄色（10-27 の決まり） ---------- */
.ask-chips .tag-k { margin-top: 16px; }
.ask-chips .tag-k:first-child { margin-top: 0; }
.ask-chips .tags { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips + .find-bn2 { margin-top: 24px; }
/* 組の名前（地域／お金・休み方／住まい）：札の形にせず、14px/700 墨・頭に16pxの印（組の色） */
.tag-k .card-k { height: auto; padding: 0; gap: 8px; background: none; color: var(--ink); }
.tag-k .card-k::before { width: 16px; height: 16px; margin-top: 0; background: var(--kc); -webkit-mask-size: 16px 16px; mask-size: 16px 16px; }
/* #の札：見た目36px（上下4pxずつ見えない押せる所を足して44px）・左右12px・角丸8px・14px/700 墨・頭の # は組の色 */
.tag { --tgc: var(--c-green); position: relative; display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border-radius: 8px; background: var(--tgt, var(--surface-2)); color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; word-break: keep-all; overflow-wrap: anywhere; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease-out; }
.tag::before { content: "#"; margin-right: 2px; font-weight: 400; color: var(--tgc); }
.tag::after { content: ""; position: absolute; inset: -4px 0; }
.tg-okane { --tgt: var(--t-green); --tgc: var(--c-green); } .tg-yasumi { --tgt: var(--t-sky); --tgc: var(--c-sky); } .tg-tetsuzuki { --tgt: var(--t-pink); --tgc: var(--c-pink); } .tg-sumai { --tgt: var(--t-orange); --tgc: var(--c-orange); } .tg-chiiki { --tgt: var(--t-yellow); --tgc: var(--c-yellow); }
@media (hover: hover) { .tag:hover { background: var(--accent-soft); } }
.tag:active { background: var(--accent-press); transition: none; }
.tag:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- 育休マネー、まるっと計算：計算ツールの箱（絵と色の言葉は宮本さんが選んだ物）。1pxの枠・角丸12px・影なし ---------- */
.hsec-w { color: var(--accent); }
.tool-card { display: block; margin-top: 16px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; }
.tc-img { display: block; width: 100%; height: auto; }
.tc-b { display: block; padding: 16px 16px 24px; }
.tc-t { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.4; }
.tc-s { display: block; margin-top: 4px; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.tc-l { margin: 12px 0 16px; padding-left: 24px; font-size: 16px; line-height: 1.75; }
.tool-card .cta { display: flex; }
@media (hover: hover) { .tool-card:hover .cta { background: var(--accent-hover); } }
.tool-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (min-width: 760px) { .tool-card { display: flex; align-items: center; } .tc-img { width: 46%; flex: none; } .tc-b { padding: 24px; } }
.tool-card + .sec-lead { margin-top: 32px; }

/* 人気の記事（読む順）：写真の行（site.css）＋旗の番号（墨）。旗と分類の札は1段目に並べる */
.rk-h { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }

/* ---------- 最近確かめ直した情報：字だけの行（外の箱なし・1pxの線・右に山形） ---------- */
.recent { list-style: none; padding: 0; margin: 0; }
.recent li + li { border-top: 1px solid var(--line); }
.recent a { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0 calc(-1 * var(--gx)); padding: 12px calc(var(--gx) + 24px) 12px var(--gx); color: var(--ink); font-weight: 700; text-decoration: none; line-height: 1.5; -webkit-tap-highlight-color: transparent; transition: background-color .15s ease-out; }
.recent a::after { content: ""; position: absolute; right: calc(var(--gx) + 4px); top: 50%; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid var(--ink-2); border-right: 2px solid var(--ink-2); transform: rotate(45deg); }
.recent time { font-size: 14px; font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }
@media (hover: hover) { .recent a:hover { background: var(--accent-soft); } }
.recent a:active { background: var(--accent-press); transition: none; }
.recent a:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; border-radius: 8px; }

/* 行の終わりに1〜2字だけ残さない：書き出しの時に p・li・dt の文節の間へ <wbr> を入れてある（BudouX） */
.home main p, .home main li, .home main dt, .home main label, .home main legend, .recent a > span { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
:where(.panel li, .recent a > span) { text-wrap: pretty; }
:where(.hero p.sub, .sec-lead) { text-wrap: balance; }

/* ---------- かんたん計算（今は出していない。原稿に id="calc-f" の欄を戻した時だけ使う） ---------- */
.calc { margin-top: 24px; padding: 24px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.calc-t { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.4; }
.calc-s { margin-top: 4px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.calc form { margin-top: 16px; display: grid; gap: 16px; }
.calc label, .calc legend { display: block; font-size: 16px; font-weight: 700; line-height: 1.5; padding: 0; }
.calc input[type=date], .calc input[type=text] { display: block; width: 100%; margin-top: 4px; min-height: 48px; padding: 8px 12px; border: 1px solid var(--field); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc input::placeholder { color: var(--ink-2); opacity: 1; font-weight: 400; }
.calc input:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.calc .yen { position: relative; align-self: start; }
.calc .yen input { padding-right: 48px; }
.calc .yen > span { position: absolute; right: 12px; bottom: 12px; font-size: 14px; line-height: 1.75; color: var(--ink-2); pointer-events: none; }
.calc fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.calc-err { margin-top: 12px; padding: 8px 12px; border-radius: 8px; background: var(--warn-bg); color: var(--warn-ink); font-size: 14px; line-height: 1.6; }
.calc-err[hidden] { display: none; }
.seg { margin-top: 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 8px; white-space: nowrap; border: 1px solid var(--field); border-radius: 8px; background: var(--surface); font-size: 16px; font-weight: 500; line-height: 1.5; text-align: center; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.seg input:checked + span { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 700; }
.seg input:checked + span::before { content: ""; flex: none; width: 10px; height: 5px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); }
.seg input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.calc button.cta { width: 100%; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.calc .note-s { font-size: 14px; color: var(--ink-2); line-height: 1.6; text-align: center; }
.res { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.res[hidden] { display: none; }
.res .stage-now { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 8px; border-radius: 4px; background: var(--accent-soft); color: var(--accent); font-size: 14px; font-weight: 700; line-height: 1.4; }
.res .big-l { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.res .big { font-size: 32px; font-weight: 700; line-height: 1.3; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.res .big small { font-size: 20px; font-weight: 700; margin-left: 4px; color: var(--ink); }
.res dl { margin-top: 16px; display: grid; border-radius: 12px; overflow: hidden; background: var(--surface-2); }
.res dl > div { padding: 12px 16px; }
.res dl > div + div { border-top: 1px solid var(--surface); }
.res dt { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.res dd { margin: 4px 0 0; font-size: 18px; font-weight: 700; line-height: 1.5; font-variant-numeric: tabular-nums; }
.res dd .d { display: block; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.res .more { margin-top: 16px; }

/* ---------- 細い画面（320px） ---------- */
@media (max-width: 359px) {
  .tab-row label { padding: 4px 8px; gap: 4px; }
  .seg { grid-template-columns: 3fr 2fr; }
  .seg label { padding: 8px 4px; }
  .idx-tx { column-gap: 12px; }
}
/* ---------- 640px〜 ---------- */
@media (min-width: 640px) {
  .hero { grid-template-columns: 1fr 336px; grid-template-areas: "h1 h1" "sub img"; column-gap: 24px; align-items: start; }
  .hero img { width: 336px; margin-top: 0; align-self: center; }
  .hero h1 { font-size: 28px; }
  .hero h1 br.sp { display: none; }
  .feat-i { flex-basis: 64%; }
  .tab-row { grid-template-columns: repeat(4, 1fr); }
  .calc { padding: 24px; }
  .calc form { grid-template-columns: 1fr 1fr; grid-template-areas: "due shu" "mama papa" "btn btn" "note note"; column-gap: 16px; }
  .calc .f-due { grid-area: due; } .calc .f-shu { grid-area: shu; } .calc .f-mama { grid-area: mama; } .calc .f-papa { grid-area: papa; }
  .calc button.cta { grid-area: btn; justify-self: center; max-width: 360px; }
  .calc form > .note-s { grid-area: note; }
  .res dl { grid-template-columns: 1fr 1fr; }
  .res dl > div + div { border-top: 0; border-left: 1px solid var(--surface); }
}

/* ---------- PC（1024px〜）：1画面目は横いっぱい（左に見出し・右に写真）、その下は「本文の列＋右の列」（site.css の --pc-*）。右の列と同じ中身の章（.pc-hide）は隠す ---------- */
.pc-side { display: none; }
@media (min-width: 1024px) {
  .home main { display: grid; grid-template-columns: minmax(var(--pc-pad), 1fr) minmax(0, calc(var(--pc-max) - 2 * var(--pc-pad) - var(--pc-side) - var(--pc-gap))) var(--pc-gap) var(--pc-side) minmax(var(--pc-pad), 1fr); padding-bottom: 48px; }
  .home main > * { padding-left: 0; padding-right: 0; }
  .home main > * > * { max-width: none; }
  .home main > .top-band { grid-column: 1 / -1; padding: 48px var(--pc-pad) 0; }
  .home main > .top-band > * { max-width: calc(var(--pc-max) - 2 * var(--pc-pad)); }
  .home main > .sec, .home main > .feat { grid-column: 2; min-width: 0; }
  .home main > .sec { padding-top: 48px; padding-bottom: 16px; }
  .home main > .pc-hide { display: none; }
  /* 産休・育休マップの薄いグレーは、列の中の角丸12pxの面に（画面の端まで伸ばさない） */
  .home main > .b-pink { margin-top: 48px; padding: 32px; border-radius: 12px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 528px); grid-template-areas: "h1 img" "sub img"; column-gap: 48px; }
  .hero h1 { align-self: end; font-size: 32px; }
  .hero p.sub { align-self: start; margin-top: 16px; font-size: 18px; }
  .hero img { width: 100%; margin-top: 0; align-self: center; }
  .feat-s { padding: 0; gap: 16px; scroll-padding: 0; }
  .feat-i { flex-basis: calc(50% - 8px); }
  .calc { margin-top: 48px; padding: 32px; }
  .res:not([hidden]) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); grid-template-areas: "stage dl" "lbl dl" "big dl" "more more" "note note"; column-gap: 32px; align-items: start; }
  .res > p:first-child { grid-area: stage; } .res .big-l { grid-area: lbl; } .res .big { grid-area: big; }
  .res dl { grid-area: dl; margin-top: 0; align-self: center; }
  .res .more { grid-area: more; margin-top: 24px; } .res > .note-s { grid-area: note; margin-top: 8px; }
  .panel { padding: 24px; }
  /* 右の列：今月のカレンダー・ことばで探す・最近確かめ直した情報・書いた人・計算ツールの箱（最後の箱は画面の上に残す） */
  .pc-side { display: flex; flex-direction: column; gap: 48px; grid-column: 4; grid-row: 2 / span 9; align-self: stretch; padding: 48px 0 16px; }
  .pc-side .side-tool { position: sticky; top: 16px; }
  .pc-side .tag-k { margin-top: 16px; }
  .pc-side .tags { list-style: none; padding: 0; margin-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; }
  .pc-side .recent { margin-top: 8px; }
  .pc-side .recent a { margin: 0 -8px; padding: 12px 32px 12px 8px; border-radius: 8px; }
  .pc-side .recent a::after { right: 12px; }
  .pc-side .author { margin-top: 16px; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); column-gap: 32px; }
  .hero h1 { font-size: 28px; }
}
