/* 補助金の窓口一覧（色合いは hoikulife.com に合わせる：白地・濃い紺の見出し帯・青のリンク） */
:root{--ink:#333;--soft:#666;--navy:#04384c;--link:#1176d4;--accent:#f59b5f;--line:#dcdcdc;--bg2:#f5f7f8;--warm:#fff6ec}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:"Zen Kaku Gothic New","Hiragino Sans","Yu Gothic UI",Meiryo,sans-serif;font-weight:500;color:var(--ink);background:#fff;font-size:17px;line-height:1.85}
a{color:var(--link)}
img{max-width:100%;height:auto}
.wrap{max-width:860px;margin:0 auto;padding:0 18px}
.hd{border-bottom:1px solid var(--line);background:#fff}
.hd-in{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:60px}
.logo{display:flex;align-items:center;gap:10px;color:var(--ink);text-decoration:none;font-weight:900;font-size:16px;line-height:1.3}
.logo img{width:30px;height:30px;border-radius:8px}
.hd-link{font-weight:700;font-size:14px;text-decoration:none;white-space:nowrap}
br.sp{display:none}
@media (max-width:519px){br.sp{display:inline}.hd-link{font-size:13px}}
.bc ol{list-style:none;margin:10px auto 0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:13px;color:var(--soft)}
.bc li+li::before{content:"›";margin-right:8px;color:#aaa}
.bc a{color:var(--soft)}
main{padding-bottom:40px}
h1{font-size:26px;line-height:1.45;margin:18px 0 12px;font-weight:900}
.h1-sub{display:block;font-size:16px;color:var(--soft);font-weight:700;margin-top:4px}
h2{background:var(--navy);color:#fff;font-size:19px;line-height:1.5;padding:12px 16px;border-radius:4px;margin:34px 0 14px;font-weight:900}
.lead{font-size:17px}
.box-ask{background:var(--warm);border:2px solid var(--accent);border-radius:10px;padding:14px 18px;margin:18px 0}
.box-ask p{margin:0}
.box-h{font-weight:900;color:#b85b1c;margin-bottom:4px!important}
.points ul,.howto ol{padding-left:1.3em;margin:0}
.points li,.howto li{margin:8px 0}
.howto b{display:block}
/* 種類のカード */
.types{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media (min-width:720px){.types{grid-template-columns:1fr 1fr 1fr}}
.types a{display:flex;flex-direction:column;height:100%;padding:12px 14px;border:1px solid var(--line);border-left:5px solid var(--navy);border-radius:8px;text-decoration:none;color:var(--ink);background:#fff}
.types a:hover{background:var(--bg2)}
.types b{font-size:17px;color:var(--navy)}
.types span{font-size:13px;color:var(--soft);line-height:1.5}
/* 都道府県のドロップダウン・検索 */
.pick-pref,.search,.filter{background:var(--bg2);border-radius:10px;padding:14px 16px;margin:10px 0}
.pick-pref label,.search label,.filter label{display:block;font-weight:900;margin-bottom:6px}
.pp-row{display:flex;gap:8px;flex-wrap:wrap}
select,input[type=search]{flex:1;min-width:0;font:inherit;font-size:18px;padding:12px;border:2px solid #9aa9b0;border-radius:8px;background:#fff;color:var(--ink)}
select:focus,input:focus{outline:3px solid #9fd0ff;border-color:var(--link)}
.pick-pref button{font:inherit;font-size:18px;font-weight:900;padding:12px 22px;border:0;border-radius:8px;background:var(--navy);color:#fff;cursor:pointer}
.pick-pref button:hover{filter:brightness(1.15)}
.search-note{font-size:13px;color:var(--soft);margin:6px 0 0}
.results{list-style:none;padding:0;margin:10px 0 0}
.results li{background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 12px;margin-top:8px}
.results .r-name{font-weight:900}
.results .r-pref{font-size:13px;color:var(--soft);margin-left:6px}
.results .r-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:4px}
/* 窓口のカード */
.offices{list-style:none;padding:0;margin:0;display:grid;gap:12px}
@media (min-width:720px){.offices.munis{grid-template-columns:1fr 1fr}}
.office{border:1px solid var(--line);border-radius:10px;padding:14px 16px;background:#fff}
.office h3{margin:0 0 6px;font-size:19px;color:var(--navy);font-weight:900;line-height:1.4}
.office .kana{display:block;font-size:12px;color:var(--soft);font-weight:500}
.tag{display:inline-block;font-size:12px;background:var(--navy);color:#fff;border-radius:4px;padding:1px 8px;margin-right:8px;vertical-align:3px}
.office dl{margin:0;display:grid;grid-template-columns:6.2em 1fr;gap:4px 8px;font-size:15px}
.office dt{color:var(--soft);font-weight:700}
.office dd{margin:0;min-width:0;overflow-wrap:anywhere}
.tel{font-weight:900;font-size:18px}
.tel-note{font-size:12px;color:var(--soft);margin-left:4px}
.office[hidden]{display:none}
.back{margin-top:28px}
.ft{background:var(--bg2);border-top:1px solid var(--line);font-size:13px;color:var(--soft);padding:18px 0 28px;margin-top:20px}
.ft-name{font-weight:900}
.ft-name a{color:var(--ink);text-decoration:none}
/* 種類のページの実例 */
.ex-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}
@media (min-width:720px){.ex-list{grid-template-columns:1fr 1fr}}
.ex{border:2px solid var(--navy);border-radius:10px;padding:14px 16px;background:#fff}
.ex p{margin:0}
.ex-where{font-size:14px;font-weight:900;color:#fff;background:var(--navy);display:inline-block;border-radius:4px;padding:1px 10px}
.ex-name{font-weight:900;font-size:17px;margin-top:8px!important;line-height:1.5}
.ex-amount{font-weight:900;font-size:19px;color:#c0392b;margin-top:6px!important;line-height:1.5}
.ex-target{font-size:14px;color:var(--soft);margin-top:6px!important;line-height:1.6}
.ex-src{font-size:13px;color:var(--soft);margin-top:6px!important}
.ex-note{font-size:14px;color:var(--soft);margin-top:10px}
