:root{
  --ground:#f7faf8;--surface:#fff;--surface-2:#f0f6f3;--ink:#18332f;--ink-2:#526963;
  --ink-3:#7d918b;--rule:#dce8e3;--accent:#e8664a;--accent-dark:#c94d35;
  --accent-soft:#fff0eb;--teal:#13776e;--teal-dark:#0c5b54;--yes:#14766c;
  --display:"Hiragino Sans","Yu Gothic","Noto Sans JP",system-ui,sans-serif;
  --body:"Hiragino Sans","Yu Gothic","Noto Sans JP",system-ui,-apple-system,"Segoe UI",sans-serif;
  --mono:ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;
  --shadow:0 18px 55px rgba(24,51,47,.10);--shadow-sm:0 8px 24px rgba(24,51,47,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font-family:var(--body);line-height:1.75;font-size:16px;-webkit-font-smoothing:antialiased}
.wrap{width:min(calc(100% - 2rem),1120px);margin-inline:auto}
a{color:var(--teal)}
a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(232,102,74,.35);outline-offset:3px}

header{background:rgba(255,255,255,.92);border-bottom:1px solid rgba(220,232,227,.85);position:sticky;top:0;z-index:20;backdrop-filter:blur(12px)}
header .wrap{min-height:70px;display:flex;justify-content:space-between;align-items:center;gap:1.5rem}
.brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--ink);font-weight:800;text-decoration:none;letter-spacing:-.02em}
.brand em{color:var(--teal);font-style:normal}
.brand-mark{width:32px;height:32px;border-radius:10px;background:var(--teal);color:#fff;display:grid;place-items:center;font:800 1.35rem/1 var(--body);box-shadow:0 5px 15px rgba(19,119,110,.22)}
.meta{display:flex;align-items:center;gap:1.4rem;font-size:.82rem;font-weight:700}
.meta a{color:var(--ink-2);text-decoration:none}
.meta a:hover{color:var(--teal)}
.lang{padding:.45rem .8rem;border-radius:999px;background:var(--surface-2)}

h1,h2,h3{letter-spacing:-.035em}
h1{font-weight:800;font-size:clamp(2rem,4.6vw,3.6rem);line-height:1.22;margin:2.3rem 0 1rem;text-wrap:balance}
h2{font-weight:800;font-size:clamp(1.35rem,2.5vw,2rem);line-height:1.35;margin:2.8rem 0 .8rem}
.crumb{font-size:.78rem;color:var(--ink-3);margin-top:1.6rem}
.crumb a{color:var(--ink-3)}
.count{font-family:var(--mono);font-size:.78rem;color:var(--ink-3);margin:1.4rem 0 .7rem}
.eyebrow{margin:0 0 .7rem!important;color:var(--teal)!important;font:800 .72rem/1.4 var(--body)!important;letter-spacing:.16em;text-transform:uppercase}
.icon{width:24px;height:24px;display:block}
.title-row{display:flex;align-items:center;gap:1rem;margin-top:2.3rem}
.title-row h1{margin:0}
.title-icon{width:52px;height:52px;flex:0 0 auto;display:grid;place-items:center;border-radius:16px;background:#dff1eb;color:var(--teal)}
.title-icon .icon{width:27px;height:27px}

/* Home hero */
.hero{min-height:570px;display:grid;grid-template-columns:minmax(0,.92fr) minmax(470px,1.08fr);align-items:center;gap:1.5rem;position:relative;padding:3.5rem 0 6rem}
.hero-copy{position:relative;z-index:2;padding-left:clamp(0px,2vw,24px)}
.hero h1{font-size:clamp(2.5rem,4.8vw,4.15rem);margin:.4rem 0 1.3rem;line-height:1.14}
.hero h1 em{font-style:normal;color:var(--teal)}
.hero-lead{max-width:38rem;color:var(--ink-2);font-size:clamp(.98rem,1.5vw,1.12rem);line-height:1.9;margin:0}
.trust{display:flex;align-items:center;gap:.55rem;margin:1.5rem 0 0;color:var(--ink-2);font-size:.78rem;font-weight:700}
.trust span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#dff1eb;color:var(--teal);font-size:.72rem}
.hero-art{align-self:stretch;display:flex;align-items:center;min-width:0;margin-right:calc((100vw - min(calc(100vw - 2rem),1120px))/2 * -1);overflow:hidden}
.hero-art img{width:100%;height:auto;max-height:570px;object-fit:cover;object-position:center;border-radius:50px 0 0 50px;box-shadow:var(--shadow)}

/* Home finder */
.finder{position:relative;z-index:4;margin:-4rem 0 0;background:#fff;border:1px solid rgba(220,232,227,.9);border-radius:24px;padding:1.4rem 1.5rem 1.5rem;box-shadow:var(--shadow)}
.finder-head{display:flex;align-items:center;gap:.8rem;margin-bottom:1rem}
.finder-head h2{font-size:1.15rem;margin:0}
.finder-head p{font-size:.74rem;color:var(--ink-3);margin:0}
.finder-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:var(--accent-soft);color:var(--accent);font-size:1.5rem;font-weight:800}
#home-finder{display:grid;grid-template-columns:1.2fr 1fr 1fr auto;gap:.75rem;align-items:end}
#home-finder label>span{display:block;margin:0 0 .35rem;font-size:.72rem;color:var(--ink-2);font-weight:800}
#home-finder select{width:100%;height:52px;padding:0 2.2rem 0 .9rem;border:1px solid var(--rule);border-radius:12px;background:var(--surface);color:var(--ink);font:700 .9rem var(--body)}
#home-finder label.needs-value select{border-color:var(--accent);background:var(--accent-soft)}
#home-finder button{height:52px;padding:0 1.35rem;border:0;border-radius:12px;background:var(--accent);color:#fff;font:800 .9rem var(--body);white-space:nowrap;cursor:pointer;box-shadow:0 8px 18px rgba(232,102,74,.24);transition:.2s}
#home-finder button:hover{background:var(--accent-dark);transform:translateY(-1px)}
#home-finder button span{font-size:1.1rem;margin-left:.4rem}

.home-section{padding:6rem 0 1rem}
.section-heading{display:grid;grid-template-columns:1fr minmax(280px,.72fr);gap:3rem;align-items:end;margin-bottom:2rem}
.section-heading.compact{align-items:center}
.section-heading h2{margin:0;font-size:clamp(1.6rem,3vw,2.4rem)}
.section-heading>p{color:var(--ink-2);font-size:.9rem;margin:0;line-height:1.8}
.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.stat-grid article{background:#fff;border:1px solid var(--rule);border-radius:18px;padding:1.35rem 1.25rem;box-shadow:var(--shadow-sm);position:relative;overflow:hidden}
.stat-grid article:before{content:"";position:absolute;right:-20px;top:-20px;width:70px;height:70px;border-radius:50%;background:var(--surface-2)}
.stat-grid article>span{display:block;font-size:.78rem;font-weight:800;color:var(--ink-2);margin-bottom:.65rem}
.stat-grid strong{font:800 clamp(1.7rem,3vw,2.35rem)/1 var(--body);letter-spacing:-.05em;color:var(--teal)}
.stat-grid small{font-size:.7rem;color:var(--ink-3);margin-left:.3rem}
.source-note{text-align:right;color:var(--ink-3);font-size:.7rem;margin:.8rem .2rem 0}

/* Generic grids */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.7rem;margin:1.1rem 0}
.grid a{background:var(--surface);border:1px solid var(--rule);border-radius:12px;padding:.75rem .9rem;text-decoration:none;color:var(--ink);display:flex;justify-content:space-between;gap:.6rem;font-size:.87rem;align-items:baseline;transition:.18s}
.grid a:hover{border-color:#b8d5cc;background:var(--surface-2);transform:translateY(-1px)}
.grid a span{font-family:var(--mono);font-size:.72rem;color:var(--ink-3);font-variant-numeric:tabular-nums}
.grid a.category-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:.8rem;padding:1rem}
.category-icon{width:42px;height:42px!important;display:grid!important;place-items:center;border-radius:12px;background:var(--surface-2);color:var(--teal)}
.category-icon .icon{width:22px;height:22px}.grid .category-card>b{font-size:.9rem}
.pref-grid{grid-template-columns:repeat(6,1fr);gap:.65rem}
.pref-grid a{min-width:0;padding:.8rem .85rem}
.pref-grid a b{font-size:.83rem}
.pref-grid a span{font-size:.68rem}.pref-grid a small{font-family:var(--body);margin-left:.1rem}

.home-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;background:none;border:0;overflow:visible}
.home-posts a{min-height:210px;border:1px solid var(--rule);border-radius:18px;padding:1.3rem;display:flex;flex-direction:column;position:relative;box-shadow:var(--shadow-sm)}
.home-posts a:hover{border-color:#b8d5cc;transform:translateY(-3px)}
.home-posts .post-no{font:800 .72rem var(--mono);color:var(--accent);margin:0 0 1.4rem}
.home-posts a b{font-size:1.05rem;line-height:1.55}
.home-posts a>span:not(.post-no){margin-top:.55rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.home-posts a i{font-style:normal;color:var(--teal);font-size:1.2rem;margin-top:auto;align-self:flex-end}
.more-link{display:table;margin:1.5rem 0 0 auto;font-size:.85rem;font-weight:800;text-decoration:none}.more-link span{margin-left:.35rem}
.newyear-panel{margin:5rem 0 1rem;background:#fff;border:1px solid var(--rule);border-radius:18px;overflow:hidden}
.newyear-panel>summary{list-style:none;cursor:pointer;padding:1.2rem 1.4rem;display:flex;justify-content:space-between;align-items:center;font-weight:800}
.newyear-panel>summary::-webkit-details-marker{display:none}.newyear-panel>summary:after{content:"＋";color:var(--teal);font-size:1.2rem}.newyear-panel[open]>summary:after{content:"−"}
.newyear-panel>summary small{margin-left:auto;margin-right:1.5rem;font-weight:500;color:var(--ink-3)}
.newyear-panel .tw{padding:0 1.2rem 1rem}

/* Answers, lists and results */
.answer{background:#fff;border:1px solid var(--rule);border-left:4px solid var(--accent);padding:1.05rem 1.2rem;margin:1.15rem 0 .5rem;border-radius:4px 14px 14px 4px;box-shadow:var(--shadow-sm)}
.answer .lab{font-size:.65rem;letter-spacing:.15em;color:var(--accent);text-transform:uppercase;display:block;margin-bottom:.3rem;font-weight:800}
.answer .q{margin:0 0 .6rem;font-size:1rem;font-weight:700;line-height:1.55;color:var(--ink)}
.answer .a{margin:0}
.fac,.row{background:var(--surface);border:1px solid var(--rule);border-radius:14px;padding:1rem 1.1rem;box-shadow:0 4px 16px rgba(24,51,47,.04)}
.fac h3{margin:0;font-size:1rem;font-weight:700;line-height:1.5}.fac .alt{margin:.05rem 0 0;font-size:.71rem;color:var(--ink-3)}
.fac .addr{margin:.3rem 0 .5rem;font-size:.81rem;color:var(--ink-2)}.fac .kind{font-size:.68rem;color:var(--ink-3);margin-left:.4rem}.fac .depts{margin:.5rem 0 .55rem;font-size:.75rem;color:var(--ink-3)}
.hours{display:flex;flex-wrap:wrap;gap:.3rem}.hours span{font-family:var(--mono);font-size:.73rem;padding:.16em .55em;border-radius:6px;background:var(--surface-2);border:1px solid var(--rule);white-space:nowrap;font-variant-numeric:tabular-nums}.hours span.hit{background:var(--accent-soft);border-color:var(--accent);color:var(--accent-dark);font-weight:700}
details{margin:.5rem 0 0}summary{font-size:.76rem;color:var(--ink-3);cursor:pointer}.hours.all{margin-top:.4rem}
.ny{display:flex;gap:.3rem;flex-wrap:wrap;margin-top:.45rem}.ny span{font-family:var(--mono);font-size:.7rem;padding:.1em .45em;border-radius:5px;border:1px solid var(--rule);white-space:nowrap}.ny span.o{color:var(--yes);border-color:var(--yes);font-weight:700}.ny span.x,.ny span.u{color:var(--ink-3)}.ny span.u{opacity:.5}
.acts{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.7rem}.acts a{font-size:.77rem;font-weight:700;text-decoration:none;border:1px solid var(--teal);color:var(--teal);padding:.25em .8em;border-radius:7px}.acts a.ghost{border-color:var(--rule);color:var(--ink-2)}.acts a:hover{background:var(--surface-2)}

table{width:100%;border-collapse:collapse;font-size:.86rem;margin:.9rem 0}th,td{text-align:left;padding:.55rem .65rem;border-bottom:1px solid var(--rule)}thead th{font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);font-weight:700}td.n,th.n{text-align:right;font-family:var(--mono);font-variant-numeric:tabular-nums}.tw{overflow-x:auto}

/* Filters */
.filters{position:sticky;top:84px;z-index:8;border:1px solid var(--rule);border-radius:16px;background:rgba(255,255,255,.96);padding:1rem 1.1rem;margin:1.4rem 0;display:flex;flex-wrap:wrap;gap:.7rem 1.4rem;align-items:flex-end;box-shadow:var(--shadow-sm);backdrop-filter:blur(10px)}
.filters fieldset{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.filters legend{font-size:.67rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-3);padding:0;margin:0 0 .35rem;float:left;width:100%}
.chk{display:inline-flex;align-items:center;cursor:pointer}.chk input{position:absolute;opacity:0;width:0;height:0}.chk span{border:1px solid var(--rule);border-radius:999px;padding:.25em .8em;font-size:.8rem;background:var(--ground);white-space:nowrap}.chk span i{font-style:normal;font-family:var(--mono);font-size:.69rem;color:var(--ink-3);margin-left:.25em}.chk input:checked+span{background:var(--teal);border-color:var(--teal);color:#fff}.chk input:checked+span i{color:#fff;opacity:.8}
.filters select{font:700 .82rem var(--body);padding:.38em .65em;background:var(--ground);color:var(--ink);border:1px solid var(--rule);border-radius:8px;max-width:min(100%,20rem)}
.fstat{margin:0 0 .2rem auto;font-size:.78rem;color:var(--ink-3);font-variant-numeric:tabular-nums}.fstat #shown{color:var(--teal);font-weight:800}.fstat button{font:700 .72rem var(--body);background:none;border:1px solid var(--rule);color:var(--ink-2);border-radius:6px;padding:.25em .6em;cursor:pointer}
.fnote{margin:-1rem 0 1.2rem;font-size:.74rem;color:var(--ink-3);line-height:1.5}
.nomatch{background:var(--accent-soft);color:var(--accent-dark);padding:1rem;border-radius:12px}
.chips{display:flex;flex-wrap:wrap;gap:.45rem;margin:1.3rem 0}.chips a{font-size:.83rem;font-weight:700;padding:.3em .85em;border:1px solid var(--rule);border-radius:999px;text-decoration:none;background:var(--surface);color:var(--ink)}.chips a.on{background:var(--teal);color:#fff;border-color:var(--teal)}.chips a i{font-style:normal;font-family:var(--mono);font-size:.7rem;color:var(--ink-3)}.chips a.on i{color:#fff;opacity:.8}
/* 市区町村チップは自治体数だけ並ぶ（東京都で51件）。高さを抑えてスクロールさせる */
.chips.munis{max-height:11.5rem;overflow-y:auto;padding:.15rem;margin-bottom:1.8rem}
.chips.munis a{font-weight:600}
.cond-head{font-size:.8rem;font-weight:800;color:var(--ink-3);margin:1.4rem 0 -.7rem}
.cond-head+.chips{margin-top:1rem}
/* 市区町村ページ・都道府県ページへ戻す導線 */
.more{margin:-1rem 0 1.8rem;font-size:.85rem;font-weight:700}
.more a{text-decoration:none}
/* 記事のよくある質問。JSON-LD の FAQPage と同じ内容をここに出す */
.faq{margin-top:2.4rem;border-top:1px solid var(--rule);padding-top:1.4rem}
/* 固定ページの dl は「用語 / 説明」の2カラムだが、Q&A は本文なので1カラムに戻す */
.faq dl{display:block;margin:0;font-size:1rem}
.faq dt{font-weight:800;font-size:.96rem;color:var(--ink);white-space:normal;
        margin-top:1.4rem;padding-top:0}
.faq dd{margin:.4rem 0 0;color:var(--ink-2);line-height:1.85}

.rows{list-style:none;margin:0 0 1.8rem;padding:0;display:grid;gap:.65rem}.row[hidden],.muni[hidden]{display:none}.rh{display:flex;align-items:baseline;gap:.5rem;flex-wrap:wrap}.row .nm{font-size:.98rem;font-weight:800;line-height:1.5}.row .kind{font-size:.67rem;color:var(--ink-3)}.row .alt{font-size:.71rem;color:var(--ink-3)}.row .addr{font-size:.8rem;color:var(--ink-2);margin-top:.4rem}.row .depts{font-size:.74rem;color:var(--ink-3);margin-top:.25rem}.row .ny{display:none}body.ny-on .row .ny{display:flex}.muni h2{display:flex;align-items:baseline;gap:.5rem;scroll-margin-top:9rem}.muni h2 .n{font-family:var(--mono);font-size:.75rem;color:var(--ink-3);font-weight:400}

/* Guides index */
.guides-hero{min-height:470px;display:grid;grid-template-columns:.86fr 1.14fr;align-items:center;gap:1.5rem;padding:3rem 0 3.5rem}
.guides-hero-copy{position:relative;z-index:2;padding-left:clamp(0px,2vw,24px)}
.guides-hero h1{font-size:clamp(2.5rem,4.8vw,4rem);line-height:1.16;margin:.45rem 0 1.2rem}
.guides-hero h1 em{font-style:normal;color:var(--teal)}
.guides-hero-copy>p:not(.eyebrow){max-width:33rem;color:var(--ink-2);font-size:1rem;line-height:1.9;margin:0}
.guide-count{display:inline-flex;margin-top:1.4rem;padding:.38rem .8rem;border-radius:999px;background:#dff1eb;color:var(--teal);font-size:.75rem;font-weight:800}
.guides-hero-art{align-self:stretch;min-width:0;display:flex;align-items:center;margin-right:calc((100vw - min(calc(100vw - 2rem),1120px))/2 * -1);overflow:hidden}
.guides-hero-art img{width:100%;max-height:470px;height:auto;object-fit:cover;object-position:center;border-radius:42px 0 0 42px;box-shadow:var(--shadow)}
.topic-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.55rem;background:#fff;border:1px solid var(--rule);border-radius:18px;padding:.85rem;box-shadow:var(--shadow-sm)}
.topic-nav a{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .8rem;border-radius:999px;color:var(--ink-2);font-size:.78rem;font-weight:800;text-decoration:none;transition:.18s}
.topic-nav a:hover{background:var(--surface-2);color:var(--teal)}
.topic-mini-icon{width:17px;height:17px;display:block;flex:0 0 auto}
.guide-topics{padding-top:1rem}.guide-topic{padding:4.5rem 0 0;scroll-margin-top:5rem}
.topic-heading{display:flex;align-items:center;gap:.9rem;margin-bottom:1.2rem}
.topic-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:17px;background:var(--accent-soft);color:var(--accent)}
.topic-icon .icon{width:27px;height:27px}.topic-heading div p{font:800 .65rem var(--mono);letter-spacing:.12em;color:var(--accent);margin:0}.topic-heading h2{font-size:1.65rem;margin:.05rem 0 0}.topic-heading>small{margin-left:auto;color:var(--ink-3);font-size:.72rem;font-weight:700}
.guide-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem;margin:0}
.guide-cards a{min-height:190px;padding:1.25rem 1.3rem;display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto 1fr;column-gap:.8rem;position:relative;border-radius:16px;box-shadow:0 5px 18px rgba(24,51,47,.04)}
.guide-cards a:hover{transform:translateY(-2px);box-shadow:var(--shadow-sm)}
.guide-cards .card-icon{grid-column:1;grid-row:1;width:32px;height:32px;display:grid;place-items:center;border-radius:9px;background:var(--surface-2);color:var(--teal);margin:0}.guide-cards .card-icon .icon{width:17px;height:17px}
.guide-cards a>small{grid-column:2;grid-row:1;align-self:center;font:700 .65rem var(--mono);color:var(--ink-3)}
.guide-cards a>b{grid-column:1/4;grid-row:2;font-size:1rem;margin:.8rem 0 0;line-height:1.55}
.guide-cards a>span:not(.card-icon){grid-column:1/4;grid-row:3;margin-top:.45rem;line-height:1.7}
.guide-cards a>i{position:absolute;right:1.2rem;top:1.15rem;color:var(--teal);font-style:normal;font-size:1.15rem}

/* Articles and fixed pages */
.post{max-width:44rem}.post h1{font-size:clamp(2rem,4vw,3rem)}.post h2{font-size:1.35rem;margin-top:2.7rem}.post p{margin:0 0 1.15rem}.post ul{margin:0 0 1.2rem;padding-left:1.2rem}.post li{margin-bottom:.45rem}.post li::marker{color:var(--accent)}.callout{background:var(--accent-soft);border-left:4px solid var(--accent);padding:1rem 1.2rem;border-radius:4px 12px 12px 4px}.cap{font-size:.76rem;color:var(--ink-3);margin-top:-.4rem}
.article-post{max-width:100%}
.article-hero{display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:2.5rem;align-items:center;padding:2.6rem 0 3rem;border-bottom:1px solid var(--rule);margin-bottom:2.5rem}
.article-hero-copy{max-width:48rem}.article-hero h1{font-size:clamp(2.2rem,4.3vw,3.5rem);line-height:1.24;margin:.8rem 0 1rem}
.topic-label{display:inline-flex;align-items:center;gap:.4rem;padding:.38rem .75rem;background:#dff1eb;color:var(--teal);border-radius:999px;font-size:.72rem;font-weight:800}
.article-deck{font-size:1.02rem!important;line-height:1.85!important;color:var(--ink-2);max-width:43rem;margin:0!important}
.article-byline{margin:1rem 0 0!important;color:var(--ink-3);font-size:.7rem!important;font-weight:700;letter-spacing:.02em}
.article-visual{aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(145deg,#dff1eb,#fff0eb);color:var(--teal);position:relative;box-shadow:var(--shadow-sm)}
.article-visual:before,.article-visual:after{content:"";position:absolute;border-radius:50%;background:#fff;opacity:.75}.article-visual:before{width:20px;height:20px;right:22px;top:34px}.article-visual:after{width:11px;height:11px;left:30px;bottom:40px}
.article-visual span{width:76px;height:76px;display:grid;place-items:center;border-radius:24px;background:#fff;box-shadow:0 10px 24px rgba(24,51,47,.1)}
.article-icon{width:42px;height:42px}.article-visual small{margin-top:.7rem;color:var(--ink-2);font-size:.68rem;font-weight:800}
.article-body{max-width:44rem}.article-body>p:first-of-type{font-size:1.05rem;line-height:1.9}.article-body h2{display:flex;align-items:center;gap:.65rem;scroll-margin-top:6rem}.section-icon{width:25px;height:25px;flex:0 0 auto;color:var(--accent);padding:4px;border-radius:7px;background:var(--accent-soft)}
.article-outline{display:grid;grid-template-columns:1fr 180px;gap:1rem;margin:0 0 2.4rem;padding:1.15rem;background:#fff;border:1px solid var(--rule);border-radius:16px;box-shadow:var(--shadow-sm)}
.article-outline>div:first-child{grid-column:1;display:flex;align-items:center;gap:.65rem}.outline-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:var(--surface-2);color:var(--teal)}.outline-icon .icon{width:20px;height:20px}.article-outline h2{font-size:1rem;margin:0}.article-outline ul{grid-column:1;margin:.25rem 0 0;padding-left:1.2rem;font-size:.82rem}.article-outline li{margin:.3rem 0}.article-outline li::marker{color:var(--accent)}.article-outline a{color:var(--ink-2);text-decoration:none}.article-outline a:hover{color:var(--teal);text-decoration:underline}
.article-fact{grid-column:2;grid-row:1/3;border-radius:12px;background:linear-gradient(145deg,#e6f5f0,#f7fbf9);padding:1rem;display:flex;flex-direction:column;justify-content:center}.article-fact>span{color:var(--teal);font-size:.7rem;font-weight:800}.article-fact strong{font-size:1.8rem;line-height:1.2;color:var(--ink);letter-spacing:-.05em;margin:.35rem 0}.article-fact small{font-size:.64rem;color:var(--ink-3)}
.data-flow{width:min(1040px,calc(100vw - 2rem));margin:2.2rem 0 2.8rem;padding:1.2rem;background:#fff;border:1px solid var(--rule);border-radius:18px;box-shadow:var(--shadow-sm)}
.flow-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--rule);border:1px solid var(--rule);border-radius:13px;overflow:hidden}.flow-step{position:relative;background:#fff;padding:1.15rem;min-height:160px}.flow-step:not(:last-child):after{content:"→";position:absolute;right:-13px;top:50%;z-index:2;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--teal);color:#fff;font-size:.75rem;transform:translateY(-50%)}.flow-step>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:var(--surface-2);color:var(--teal)}.flow-step .icon{width:20px;height:20px}.flow-step small{display:block;margin-top:.75rem;font:700 .6rem var(--mono);letter-spacing:.08em;color:var(--accent)}.flow-step b{display:block;margin-top:.15rem;font-size:.87rem}.flow-step p{margin:.35rem 0 0!important;font-size:.7rem;color:var(--ink-3);line-height:1.55}.data-flow figcaption{margin:.8rem .15rem 0;color:var(--ink-3);font-size:.68rem}
.source-links{display:grid;gap:.6rem;margin:1rem 0 2rem}.source-links a{display:grid;grid-template-columns:auto 1fr auto;grid-template-rows:auto auto;column-gap:.75rem;padding:.9rem 1rem;border:1px solid var(--rule);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none}.source-links a:hover{border-color:#b8d5cc;background:var(--surface-2)}.source-links a>span{grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#dff1eb;color:var(--teal)}.source-links .icon{width:18px;height:18px}.source-links b{font-size:.82rem}.source-links small{grid-column:2;color:var(--ink-3);font-size:.68rem}.source-links i{grid-column:3;grid-row:1/3;align-self:center;color:var(--teal);font-style:normal}
.source-trust{display:grid;grid-template-columns:auto 1fr;gap:.9rem;margin:3rem 0 0;padding:1.1rem 1.2rem;border-radius:14px;background:#eff6f3;border:1px solid #d8e9e3}.source-trust>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#fff;color:var(--teal)}.source-trust .icon{width:20px;height:20px}.source-trust h2{font-size:.9rem;margin:0 0 .25rem}.source-trust p{font-size:.73rem;line-height:1.7;color:var(--ink-2);margin:0 0 .35rem}.source-trust a{font-size:.7rem;font-weight:800;text-decoration:none}.source-trust i{font-style:normal}
.post:not(.article-post)>h1:after{content:"";display:block;width:52px;height:5px;border-radius:999px;background:var(--accent);margin-top:1rem}
.posts{display:grid;gap:.65rem;margin:1.2rem 0}.posts a{background:var(--surface);border:1px solid var(--rule);border-radius:12px;padding:1rem 1.1rem;text-decoration:none;color:var(--ink);display:block;transition:.18s}.posts a:hover{background:var(--surface-2);border-color:#b8d5cc}.posts a b{display:block;font-size:.96rem;line-height:1.5}.posts a span{display:block;font-size:.79rem;color:var(--ink-2);margin-top:.25rem}
.cta,.related{margin-top:3rem;border-top:1px solid var(--rule);padding-top:1.2rem}.cta .grid,.related .grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.lead{color:var(--ink-2);font-size:.92rem;margin:.2rem 0 1rem}.grid.nums{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
dl{margin:1rem 0;display:grid;grid-template-columns:auto 1fr;gap:.35rem 1.2rem;font-size:.9rem}dt{font-size:.75rem;color:var(--ink-3);font-weight:700;padding-top:.25em;white-space:nowrap}dd{margin:0}

footer{border-top:1px solid var(--rule);margin-top:5rem;padding-top:1.5rem}.fnav{font-size:.8rem;padding-top:.5rem;display:flex;flex-wrap:wrap;gap:.8rem}.fnav{color:transparent}.fnav a{color:var(--ink-2);text-decoration:none}.fnav a:hover{color:var(--teal);text-decoration:underline}footer p{font-size:.72rem;color:var(--ink-3);padding:.7rem 0 0;margin:0;max-width:58rem}footer .copy{font-family:var(--mono);font-size:.68rem;padding-bottom:2.5rem}

@media (max-width:900px){
  .hero{grid-template-columns:1fr;min-height:0;padding:3.2rem 0 5.2rem}.hero-copy{padding-left:0;max-width:42rem}.hero-art{position:absolute;right:-1rem;top:1rem;width:52%;height:100%;opacity:.22;margin:0}.hero-art img{height:100%;max-height:none;border-radius:40px 0 0 40px;object-fit:cover}.hero h1{max-width:38rem}.hero-lead{max-width:33rem}
  #home-finder{grid-template-columns:1fr 1fr}.finder button{grid-column:2}.stat-grid{grid-template-columns:repeat(2,1fr)}.pref-grid{grid-template-columns:repeat(4,1fr)}.home-posts{grid-template-columns:1fr}.home-posts a{min-height:0}.section-heading{grid-template-columns:1fr;gap:.7rem;align-items:start}
  .guides-hero{grid-template-columns:1fr;min-height:0;position:relative;overflow:hidden}.guides-hero-copy{max-width:38rem}.guides-hero-art{position:absolute;right:-1rem;top:1rem;width:58%;height:100%;margin:0;opacity:.2}.guides-hero-art img{height:100%;max-height:none;border-radius:40px 0 0 40px;object-fit:cover}.guide-cards{grid-template-columns:1fr}.article-hero{grid-template-columns:1fr 170px;gap:1.5rem}.article-visual{width:170px}
  .flow-steps{grid-template-columns:repeat(2,1fr)}.flow-step:nth-child(2):after{display:none}
}
@media (max-width:620px){
  .wrap{width:min(calc(100% - 1.25rem),1120px)}header .wrap{min-height:60px}.brand{font-size:.86rem}.brand-mark{width:29px;height:29px}.meta{gap:.7rem}.meta>a:first-child{display:none}.lang{padding:.35rem .65rem}
  .hero{padding:2.5rem 0 4.8rem}.hero h1{font-size:2.45rem}.hero-art{right:0;width:80%;opacity:.16}.hero-lead{font-size:.92rem}.trust{font-size:.7rem}
  .finder{border-radius:18px;padding:1rem;margin-top:-3.3rem}.finder-head p{display:none}#home-finder{grid-template-columns:1fr;gap:.6rem}#home-finder button{grid-column:auto;width:100%}
  .home-section{padding-top:4.5rem}.stat-grid{gap:.65rem}.stat-grid article{padding:1rem .85rem}.stat-grid strong{font-size:1.55rem}.pref-grid{grid-template-columns:repeat(2,1fr)}.newyear-panel>summary{align-items:flex-start;flex-direction:column}.newyear-panel>summary small{margin:.2rem 0 0}.newyear-panel>summary:after{position:absolute;right:1.1rem}
  h1{font-size:2rem}.filters{top:68px;padding:.8rem}.fstat{width:100%;margin-left:0}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid a{padding:.7rem;font-size:.79rem}dl{grid-template-columns:1fr;gap:.1rem}dd{margin-bottom:.7rem}
  .title-row{align-items:flex-start;gap:.75rem}.title-icon{width:42px;height:42px;border-radius:13px;margin-top:.1rem}.title-icon .icon{width:22px;height:22px}.title-row h1{font-size:1.85rem}
  .guides-hero{padding:2.5rem 0 3rem}.guides-hero h1{font-size:2.4rem}.guides-hero-art{right:0;width:86%;opacity:.14}.topic-nav{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:.65rem}.topic-nav a{white-space:nowrap}.guide-topic{padding-top:3.5rem}.topic-heading h2{font-size:1.4rem}.topic-icon{width:46px;height:46px}.guide-cards a{min-height:0}.article-hero{grid-template-columns:1fr;padding:1.8rem 0 2rem}.article-hero h1{font-size:2.15rem}.article-visual{display:none}.article-deck{font-size:.92rem!important}.article-body>p:first-child{font-size:1rem}.grid a.category-card{grid-template-columns:auto 1fr;padding:.65rem}.category-card>span:last-child{grid-column:2}.category-icon{width:36px;height:36px!important}
  .article-outline{grid-template-columns:1fr;padding:.9rem}.article-outline>div:first-child,.article-outline ul,.article-fact{grid-column:1}.article-fact{grid-row:auto;display:grid;grid-template-columns:1fr auto;align-items:end}.article-fact strong{grid-column:2;grid-row:1/3}.article-fact small{grid-column:1}.data-flow{width:100%;padding:.7rem}.flow-steps{grid-template-columns:1fr}.flow-step{min-height:0;padding:.9rem}.flow-step:not(:last-child):after{content:"↓";right:50%;top:auto;bottom:-13px;transform:translateX(50%)}.flow-step:nth-child(2):after{display:grid}.source-trust{grid-template-columns:1fr}.source-trust>span{display:none}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.pagelinks{margin-top:2.4rem;padding-top:1rem;border-top:1px solid var(--rule);font-size:.85rem}
.pagelinks a{margin-right:.2rem}
.legal-dates{font-family:var(--mono);font-size:.74rem;color:var(--ink-3);margin-top:1rem}

/* ---------- 広告枠 ---------- */
/* min-height でおおよその高さを予約し、読み込み時のガタつき(CLS)を抑える。
   スロット未設定のときはこの要素自体が出力されないので、空白は生じない。 */
.adslot{margin:2.2rem 0;min-height:140px;text-align:center}
/* 広告が配信されなかったときは、ラベルごと畳む。
   AdSense は配信できなかった ins に data-ad-status="unfilled" を付ける。
   これが無いと、在庫が無い時間帯に「広告」の文字と 140px の空白だけが残る。 */
.adslot:has(ins[data-ad-status="unfilled"]){display:none}
.adslot .adlabel{display:block;font-family:var(--mono);font-size:.62rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink-3);margin-bottom:.35rem}
/* 施設一覧の中には広告を置かない。置いてしまったときに気づけるよう、
   ここで潰しておく（preflight でも検出する）。 */
.rows .adslot,.filters .adslot,.acts .adslot{display:none}

/* ---------- 共有ボタン ---------- */
.share{margin-top:2.6rem;padding-top:1.4rem;border-top:1px solid var(--rule)}
.share h2{font-size:.95rem;margin:0 0 .7rem}
.share-links{display:flex;flex-wrap:wrap;gap:.5rem}
.share-links a,.share-links button{display:inline-flex;align-items:center;gap:.4rem;
  font:inherit;font-size:.82rem;line-height:1;padding:.5em .9em;border-radius:99px;
  border:1px solid var(--rule);background:var(--surface);color:var(--ink);
  text-decoration:none;cursor:pointer}
.share-links a:hover,.share-links button:hover{border-color:var(--accent);color:var(--accent)}
.share-links a:focus-visible,.share-links button:focus-visible{
  outline:2px solid var(--accent);outline-offset:2px}
.share-icon{width:16px;height:16px;flex:none}
.share-copy.done{border-color:var(--yes);color:var(--yes)}
@media (max-width:480px){.share-links a span,.share-links button span{display:none}
  .share-links a,.share-links button{padding:.6em}}
