:root {
  --ink: #132b3a;
  --muted: #526672;
  --paper: #fffdf8;
  --cream: #fff5df;
  --teal: #0f5f58;
  --teal-dark: #103f3a;
  --teal-soft: #e2f4ef;
  --sky: #dff3fb;
  --coral: #e96d52;
  --coral-dark: #9c321f;
  --yellow: #f5bd3b;
  --blue: #286ea6;
  --line: #d7e1e1;
  --danger: #9c321f;
  --danger-bg: #fff0e9;
  --shadow-sm: 0 8px 24px rgba(15, 63, 58, .09);
  --shadow: 0 18px 48px rgba(15, 63, 58, .14);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "BIZ UDPGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.78;
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a { color: #145b91; text-underline-offset: .2em; }
a:hover { color: #0a426d; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid #0f76bd; outline-offset: 3px; }
h1, h2, h3 { margin: 0 0 .62em; line-height: 1.32; letter-spacing: .01em; }
h1 { font-size: clamp(2rem, 9vw, 4.2rem); }
h2 { font-size: clamp(1.55rem, 6vw, 2.65rem); }
h3 { font-size: clamp(1.18rem, 4vw, 1.55rem); }
p, ul, ol, dl { margin-top: 0; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(820px, calc(100% - 32px)); margin-inline: auto; }
.section { padding: 72px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-lead { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.section-link { min-height: 48px; display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; font-weight: 900; }
.subsection-title { margin-top: 48px; }
.center { margin-top: 32px; text-align: center; }
.eyebrow { margin-bottom: 10px; color: var(--teal); font-size: .76rem; font-weight: 900; letter-spacing: .16em; }
.eyebrow.light { color: #bceee3; }
.lead { max-width: 720px; font-size: 1.08rem; }
.large-copy { font-size: 1.25rem; font-weight: 900; }
.icon { width: 1em; height: 1em; }
[hidden] { display: none !important; }

.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; transform: translateY(-160%); color: var(--ink); background: #fff; border: 3px solid var(--ink); border-radius: 10px; }
.skip-link:focus { transform: none; }
.unofficial { min-height: 46px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; padding: 8px 16px; color: #fff; background: var(--teal-dark); text-align: center; font-size: .78rem; line-height: 1.55; }
.site-header { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(19, 43, 58, .12); background: rgba(255, 253, 248, .96); backdrop-filter: blur(12px); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { min-width: 0; min-height: 52px; display: inline-flex; align-items: center; gap: 9px; color: var(--ink); font-size: clamp(.84rem, 3.6vw, 1rem); font-weight: 900; line-height: 1.3; text-decoration: none; }
.brand small { display: block; color: var(--muted); font-size: .66rem; font-weight: 700; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--coral), #f4a539); border-radius: 14px 14px 14px 5px; box-shadow: 0 7px 18px rgba(233, 109, 82, .25); font-size: 1.22rem; }
.menu-button { min-width: 72px; min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; color: #fff; background: var(--teal); border: 0; border-radius: 13px; font-size: .84rem; font-weight: 900; cursor: pointer; }
.menu-button > span:first-child { font-size: 1.1rem; }
#site-nav { position: absolute; top: 100%; right: 16px; left: 16px; display: none; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 18px 18px; box-shadow: var(--shadow); }
#site-nav.open { display: grid; }
#site-nav a { min-height: 54px; display: flex; align-items: center; padding: 8px 14px; color: var(--ink); font-weight: 900; text-decoration: none; border-radius: 11px; }
#site-nav a:hover { background: var(--teal-soft); }

.hero { position: relative; padding: 48px 0 38px; overflow: hidden; background: radial-gradient(circle at 4% 16%, rgba(245, 189, 59, .26), transparent 24%), linear-gradient(155deg, #fff8e9 0%, #f2fbf8 58%, #dff3fb 100%); }
.hero::before, .hero::after { position: absolute; content: ""; border-radius: 50%; pointer-events: none; }
.hero::before { width: 160px; height: 160px; right: -70px; top: -50px; background: rgba(233, 109, 82, .14); }
.hero::after { width: 90px; height: 90px; left: -40px; bottom: 4px; background: rgba(15, 95, 88, .12); }
.hero-grid { position: relative; display: grid; gap: 30px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 760px; margin-bottom: 22px; }
.hero h1 em { display: block; color: var(--teal); font-style: normal; }
.hero .lead { margin-bottom: 0; }
.button-row { display: grid; gap: 10px; margin-top: 26px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border: 2px solid transparent; border-radius: 999px; font-weight: 900; line-height: 1.42; text-align: center; text-decoration: none; cursor: pointer; }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--teal), #0a4540); box-shadow: 0 10px 24px rgba(15, 95, 88, .22); }
.button.primary:hover { color: #fff; background: var(--teal-dark); }
.button.light { color: var(--ink); background: rgba(255, 255, 255, .9); border-color: #cddbdc; }
.button.outline { color: var(--teal); background: #fff; border-color: var(--teal); }
.button.warm { color: #2c2205; background: var(--yellow); box-shadow: 0 10px 24px rgba(245, 189, 59, .2); }
.button.wide { width: 100%; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.hero-trust span { min-height: 42px; display: inline-flex; align-items: center; gap: 5px; padding: 7px 11px; color: var(--muted); background: rgba(255, 255, 255, .72); border: 1px solid rgba(15, 95, 88, .15); border-radius: 999px; font-size: .74rem; }
.hero-trust b { color: var(--teal-dark); }
.hero-visual { position: relative; width: 100%; }
.hero-visual picture { display: block; overflow: hidden; border: 6px solid rgba(255, 255, 255, .82); border-radius: 28px 28px 28px 8px; box-shadow: var(--shadow); }
.hero-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-badge { position: absolute; right: -6px; bottom: -18px; min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 10px 14px; color: #fff; background: var(--teal-dark); border: 4px solid #fff; border-radius: 18px 18px 6px 18px; box-shadow: var(--shadow-sm); font-size: .76rem; line-height: 1.45; }
.hero-badge > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; color: var(--teal-dark); background: #bfeadf; border-radius: 50%; font-weight: 900; }

.quick-actions { position: relative; z-index: 3; background: var(--teal-dark); }
.quick-actions .wrap { display: grid; }
.quick-actions a { min-height: 74px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; padding: 10px 4px; color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .16); text-decoration: none; }
.quick-actions small, .quick-actions strong { display: block; }
.quick-actions small { color: #bceee3; font-size: .68rem; }
.quick-actions strong { font-size: .98rem; }
.quick-icon { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255, 255, 255, .11); border-radius: 12px; font-weight: 900; }

.warning-section { padding-block: 42px; background: #fff8f1; }
.warning-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 24px 18px; background: #fff; border: 1px solid #f0b7a9; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.warning-icon, .danger-icon { width: 46px; height: 46px; display: grid; place-items: center; color: #fff; background: var(--coral); border-radius: 50%; font-size: 1.5rem; font-weight: 900; }
.warning-card h2, .danger-box h2 { color: var(--danger); }
.compact-list { display: grid; gap: 8px; margin-top: 18px; }
.compact-list a { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 13px; color: var(--ink); background: var(--danger-bg); border-radius: 12px; font-size: .86rem; font-weight: 800; text-decoration: none; }

.popular-section { background: #fff; }
.categories-section { background: linear-gradient(180deg, #eef9f6, #f7fbff); }
.category-grid, .program-grid { display: grid; gap: 16px; }
.cat-housing { --accent: #d66246; --accent-soft: #fff0e9; }
.cat-energy { --accent: #a26800; --accent-soft: #fff3cb; }
.cat-senior { --accent: #8b4f88; --accent-soft: #f8ebf7; }
.cat-child { --accent: #c14d72; --accent-soft: #ffeaf1; }
.cat-medical { --accent: #277764; --accent-soft: #e4f4ee; }
.cat-business { --accent: #285f9a; --accent-soft: #e8f1fb; }
.cat-migration { --accent: #2c6b46; --accent-soft: #e7f4eb; }
.cat-disability { --accent: #4b5ea9; --accent-soft: #eceefe; }
.cat-community { --accent: #8a6419; --accent-soft: #f8f0db; }
.cat-other { --accent: #56626d; --accent-soft: #edf1f3; }
.category-card { position: relative; min-height: 162px; display: grid; grid-template-columns: 58px 1fr auto; align-items: start; gap: 14px; padding: 20px 16px; overflow: hidden; color: var(--ink); background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 24%, #d7e1e1); border-radius: var(--radius); box-shadow: 0 7px 20px rgba(19, 43, 58, .06); text-decoration: none; }
.category-card::after { position: absolute; content: ""; width: 90px; height: 90px; right: -44px; bottom: -44px; background: var(--accent-soft); border-radius: 50%; }
.category-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.category-icon { width: 56px; height: 56px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 18px 18px 18px 6px; }
.category-icon .icon { width: 29px; height: 29px; }
.category-copy { min-width: 0; }
.category-copy small, .category-copy strong, .category-copy > span { display: block; }
.category-copy small { margin-bottom: 2px; color: var(--accent); font-size: .68rem; font-weight: 900; }
.category-copy strong { font-size: 1.08rem; }
.category-copy > span { margin-top: 6px; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.category-count { position: relative; z-index: 1; color: var(--accent); font-size: .7rem; font-weight: 900; white-space: nowrap; }
.category-count b { font-size: 1.28rem; }
.category-arrow { position: absolute; z-index: 1; right: 18px; bottom: 11px; color: var(--accent); font-size: 1.2rem; font-weight: 900; }

.program-card { --accent: var(--teal); --accent-soft: var(--teal-soft); position: relative; min-width: 0; display: flex; flex-direction: column; padding: 20px; overflow: hidden; background: #fff; border: 1px solid #dbe4e5; border-radius: var(--radius); box-shadow: 0 7px 22px rgba(19, 43, 58, .07); }
.program-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.program-card__accent { position: absolute; inset: 0 0 auto; height: 5px; background: var(--accent); }
.program-card__head { display: flex; align-items: center; gap: 8px; margin: 4px 0 12px; color: var(--accent); }
.program-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; color: var(--accent); background: var(--accent-soft); border-radius: 12px 12px 12px 4px; }
.program-icon .icon { width: 21px; height: 21px; }
.program-category { font-size: .72rem; font-weight: 900; }
.program-card h3 { margin-top: 10px; font-size: 1.18rem; }
.program-card h3 a { color: var(--ink); }
.program-card > p { color: var(--muted); font-size: .9rem; }
.card-top { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 2px; }
.status, .budget { min-height: 34px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 900; }
.status.open { color: #fff; background: #176a57; }
.status.soon { color: #3b2c00; background: #ffd767; }
.status.closed { color: #fff; background: #66717a; }
.status.check { color: #173f67; background: #e1f0fb; border: 1px solid #9bc4e1; }
.budget { color: var(--danger); background: var(--danger-bg); border: 1px solid #efad9c; }
.mini-facts { margin: 5px 0 17px; }
.mini-facts div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; padding: 9px 0; border-top: 1px solid var(--line); }
.mini-facts dt { color: var(--muted); font-size: .7rem; font-weight: 900; }
.mini-facts dd { margin: 0; font-size: .82rem; font-weight: 800; overflow-wrap: anywhere; }
.card-link { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; color: var(--accent); font-weight: 900; text-decoration: none; }
.program-grid.compact .program-card { padding: 18px; }

.guide-section { padding-block: 42px; background: var(--teal-dark); }
.guide-panel { color: #fff; }
.guide-panel > p { color: #d9f1ec; }
.find-steps { display: grid; gap: 12px; padding: 0; margin: 26px 0; list-style: none; }
.find-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 12px; padding: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; }
.find-steps li > span { width: 42px; height: 42px; display: grid; place-items: center; color: var(--teal-dark); background: #bceee3; border-radius: 50%; font-weight: 900; }
.find-steps strong { display: block; font-size: 1.02rem; }
.find-steps p { margin: 3px 0 0; color: #d9f1ec; font-size: .82rem; }

.audience-section { background: #fff; }
.audience-links { display: grid; gap: 10px; }
.audience-links a { min-height: 58px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px; padding: 10px 14px; color: var(--ink); background: #f7fbfa; border: 1px solid #cfe2de; border-radius: 15px; font-weight: 900; text-decoration: none; }
.audience-links a > span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); border-radius: 50%; }
.deadline-section { background: #fff8f1; }
.empty-message { padding: 26px; background: #fff; border: 1px dashed #d2c2ac; border-radius: var(--radius); text-align: center; }
.open-section { padding-block: 42px; background: var(--teal-dark); }
.open-panel { display: grid; gap: 20px; color: #fff; }
.open-panel p { color: #d9f1ec; }
.open-panel strong { color: var(--yellow); font-size: 1.35em; }
.update-section { background: #eef9f6; }
.update-grid { display: grid; gap: 20px; }
.update-list { padding: 0; margin: 0; list-style: none; }
.update-list li { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid #cfe2de; }
.update-list time { color: var(--teal); font-size: .78rem; font-weight: 900; }

.faq details, .detail-main details { margin-bottom: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
details summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 17px; font-weight: 900; cursor: pointer; }
details summary > span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 30px; color: var(--teal); background: var(--teal-soft); border-radius: 50%; }
details[open] summary > span { transform: rotate(45deg); }
details p { padding: 0 17px 18px; }

.page-hero { position: relative; padding: 42px 0 50px; overflow: hidden; background: linear-gradient(145deg, var(--cream), var(--sky)); }
.page-hero::after { position: absolute; content: ""; width: 180px; height: 180px; right: -80px; bottom: -100px; background: rgba(15, 95, 88, .1); border-radius: 50%; }
.page-hero h1 { max-width: 980px; font-size: clamp(1.85rem, 7vw, 3.5rem); overflow-wrap: anywhere; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; }
.page-icon { width: 72px; height: 72px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 24px 24px 24px 7px; box-shadow: var(--shadow-sm); font-size: 2.2rem; font-weight: 900; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin-bottom: 22px; list-style: none; color: var(--muted); font-size: .76rem; }
.breadcrumbs li:not(:last-child)::after { content: " /"; margin-left: 5px; }
.search-panel, .category-tools { margin-bottom: 30px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.search-panel > label, .filter-grid label, .category-tools label { display: block; font-weight: 900; }
.search-input-wrap { position: relative; }
.search-input-wrap > span { position: absolute; z-index: 1; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
input[type="search"], select { width: 100%; min-height: 56px; margin: 5px 0 18px; padding: 9px 13px; color: var(--ink); background: #fff; border: 2px solid #8b9aa2; border-radius: 12px; }
.search-input-wrap input { padding-left: 44px; }
.filter-grid, .category-tools > div { display: grid; gap: 12px; }
.result-count { margin: 0; color: var(--teal); font-weight: 900; }

.diagnosis fieldset { margin: 0 0 26px; padding: 20px; background: #fff; border: 2px solid #cfe2de; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.diagnosis legend { padding: 0 8px; font-size: 1.12rem; font-weight: 900; }
.diagnosis legend span { width: 34px; height: 34px; display: inline-grid; place-items: center; margin-right: 8px; color: #fff; background: var(--teal); border-radius: 50%; }
.diagnosis label { min-height: 56px; display: flex; align-items: center; gap: 12px; margin: 9px 0; padding: 10px 13px; background: #f7fbfa; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.diagnosis label:has(input:checked) { color: var(--teal-dark); background: var(--teal-soft); border-color: var(--teal); font-weight: 900; }
.diagnosis input[type="radio"] { width: 24px; height: 24px; flex: 0 0 24px; accent-color: var(--teal); }
.diagnosis-result { margin-top: 42px; padding-top: 32px; border-top: 5px solid var(--teal); }

.category-hero { --accent: var(--teal); --accent-soft: var(--teal-soft); background: linear-gradient(145deg, var(--accent-soft), #fff); }
.category-hero-grid { display: grid; grid-template-columns: 76px 1fr; align-items: start; gap: 18px; }
.category-hero-icon { width: 72px; height: 72px; display: grid; place-items: center; color: #fff; background: var(--accent); border-radius: 23px 23px 23px 7px; box-shadow: var(--shadow-sm); }
.category-hero-icon .icon { width: 38px; height: 38px; }
.category-audience { display: inline-flex; flex-wrap: wrap; gap: 5px 8px; margin-top: 8px; padding: 8px 12px; background: #fff; border-radius: 12px; font-size: .78rem; }
.category-audience span { color: var(--muted); }
.category-audience strong { color: var(--accent); }
.related-categories { margin-top: 56px; padding: 26px; background: #f4f8f7; border-radius: var(--radius); }
.related-categories > div { display: grid; gap: 9px; }
.related-categories a { --accent: var(--teal); min-height: 54px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 9px 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 13px; font-weight: 900; text-decoration: none; }
.related-categories a > span { color: var(--accent); }
.related-categories .icon { width: 25px; height: 25px; }

.program-hero { --accent: var(--teal); --accent-soft: var(--teal-soft); padding-bottom: 36px; background: linear-gradient(145deg, var(--accent-soft), #fff 64%); }
.program-hero-grid { display: grid; gap: 24px; }
.program-kicker { display: flex; align-items: center; gap: 9px; margin-bottom: 13px; color: var(--accent); font-size: .78rem; font-weight: 900; }
.program-hero .program-icon { width: 44px; height: 44px; flex-basis: 44px; }
.program-hero .lead { max-width: 800px; }
.verified-chip { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 11px; color: var(--teal-dark); background: #fff; border: 1px solid #cfe2de; border-radius: 999px; font-size: .75rem; font-weight: 900; }
.program-hero-action { padding: 20px; background: #fff; border: 1px solid color-mix(in srgb, var(--accent) 25%, #d7e1e1); border-radius: var(--radius); box-shadow: var(--shadow); }
.program-hero-action > strong { display: block; color: var(--accent); }
.program-hero-action > p { color: var(--muted); font-size: .84rem; }
.phone-cta { min-height: 58px; display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 9px 13px; color: var(--ink); background: #f6faf9; border: 1px solid #cfe2de; border-radius: 14px; text-decoration: none; }
.phone-cta > span:first-child { width: 36px; height: 36px; display: grid; place-items: center; flex: 0 0 36px; color: #fff; background: var(--teal); border-radius: 50%; }
.phone-cta small, .phone-cta strong { display: block; }
.phone-cta small { color: var(--muted); font-size: .65rem; }
.facts-band { padding: 20px 0; color: #fff; background: var(--teal-dark); }
.facts-grid { display: grid; gap: 10px; }
.facts-grid div { padding: 15px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .09); border-radius: 14px; }
.facts-grid span, .facts-grid strong { display: block; }
.facts-grid span { color: #bceee3; font-size: .7rem; font-weight: 800; }
.facts-grid strong { line-height: 1.5; }
.facts-grid .attention { background: #6f3228; }
.facts-grid .attention span { color: #ffd6cc; }
.detail-layout { display: grid; gap: 30px; }
.detail-main > section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.detail-main li { margin-bottom: 8px; }
.detail-main h3 { margin-top: 28px; }
.section-number { display: inline-grid; place-items: center; min-width: 34px; height: 34px; margin-right: 8px; color: #fff; background: var(--teal); border-radius: 10px 10px 10px 3px; font-size: .72rem; vertical-align: middle; }
.summary-box, .danger-box { border: 0 !important; border-radius: var(--radius); }
.summary-box { padding: 24px !important; background: linear-gradient(145deg, var(--teal-soft), #f7fcfa); }
.summary-audience { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.summary-audience span { padding: 6px 11px; color: var(--teal-dark); background: #fff; border-radius: 999px; font-size: .76rem; font-weight: 900; }
.danger-box { display: grid; grid-template-columns: 48px 1fr; gap: 15px; padding: 24px 18px !important; background: var(--danger-bg); border: 1px solid #efad9c !important; }
.amount-highlight { padding: 18px; color: var(--teal-dark); background: var(--teal-soft); border-left: 6px solid var(--teal); border-radius: 0 14px 14px 0; font-size: 1.25rem; font-weight: 900; }
.steps { padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 44px 1fr; align-items: start; gap: 12px; margin-bottom: 15px; }
.steps li > span { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--teal); border-radius: 50%; font-weight: 900; }
.steps p { padding: 9px 12px; margin: 0; background: #f5f9f8; border-radius: 12px; }
.source-panel { height: fit-content; padding: 22px; background: #fff; border: 2px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.source-panel dl div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.source-panel dt { color: var(--muted); font-size: .72rem; font-weight: 900; }
.source-panel dd { margin: 0; font-size: .88rem; font-weight: 800; overflow-wrap: anywhere; }
.source-panel .button { margin-top: 12px; }
.related-business { display: grid; grid-template-columns: 54px 1fr; gap: 14px; margin-top: 28px; padding: 22px !important; background: #f0f5fa; border: 1px solid #b8cee0 !important; border-radius: var(--radius); }
.related-business__mark { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: #1f5480; border-radius: 17px 17px 17px 5px; font-size: 1.35rem; font-weight: 900; }
.related-business h2 { font-size: 1.2rem; }
.related-business .sub-link { min-height: 48px; display: flex; align-items: center; margin-top: 6px; font-weight: 800; }
.related-programs { background: #eef9f6; }

.source-list { padding-left: 0; list-style: none; counter-reset: source; }
.source-list li { position: relative; padding: 18px 18px 18px 58px; margin-bottom: 12px; background: #fff; border: 1px solid var(--line); border-radius: 15px; overflow-wrap: anywhere; counter-increment: source; }
.source-list li::before { position: absolute; left: 16px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; content: counter(source); color: #fff; background: var(--teal); border-radius: 9px; font-size: .72rem; font-weight: 900; }
.source-list a { font-weight: 900; }
.source-list span { display: block; margin-top: 5px; color: var(--muted); font-size: .76rem; }
.prose > h2 { margin-top: 42px; }
.prose li { margin-bottom: 10px; }
.notice-box { padding: 24px; background: var(--danger-bg); border: 1px solid #efad9c; border-radius: var(--radius); }
.notice-box h2 { color: var(--danger); }
.error-hero { min-height: 52vh; display: grid; align-items: center; text-align: center; }

.site-footer { padding: 58px 0 100px; color: #fff; background: #0d2d35; }
.footer-services { padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer-services > p:not(.eyebrow) { color: #c7dcdf; }
.service-grid { display: grid; gap: 12px; margin-top: 22px; }
.service-card { min-height: 176px; display: grid; grid-template-columns: 52px 1fr; align-items: start; gap: 14px; padding: 20px; color: #fff; border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius); text-decoration: none; }
.service-card.arec { background: linear-gradient(145deg, #174e6d, #123c57); }
.service-card.crea { background: linear-gradient(145deg, #496851, #2e5242); }
.service-mark { width: 50px; height: 50px; display: grid; place-items: center; background: rgba(255, 255, 255, .13); border-radius: 16px 16px 16px 5px; font-weight: 900; }
.service-card small, .service-card strong, .service-card span > span, .service-card b { display: block; }
.service-card small { color: #cce6e7; font-size: .66rem; }
.service-card strong { margin: 2px 0 7px; font-size: 1.1rem; }
.service-card span > span { color: #d9e8ea; font-size: .78rem; line-height: 1.55; }
.service-card b { margin-top: 10px; color: #fff; font-size: .8rem; }
.footer-grid { display: grid; gap: 28px; }
.site-footer h2 { font-size: 1.08rem; }
.site-footer p, .site-footer li { color: #c7dcdf; font-size: .82rem; }
.site-footer a, .site-footer .text-button { color: #fff; }
.site-footer li { margin-bottom: 6px; }
.text-button { min-height: 48px; padding: 4px 0; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.legal { padding-top: 24px; margin-top: 26px; border-top: 1px solid rgba(255, 255, 255, .16); }
.legal p { font-size: .72rem; }
.sticky-find { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(13, 45, 53, .96); backdrop-filter: blur(10px); }
.sticky-find a { min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 7px; color: #2e2505; background: var(--yellow); border-radius: 999px; font-weight: 900; text-decoration: none; }

@media (max-width: 419px) {
  .brand small { display: none; }
  .brand-mark { width: 38px; height: 38px; flex-basis: 38px; }
  .menu-button { min-width: 52px; flex-direction: column; gap: 0; padding-inline: 7px; font-size: .61rem; }
  .menu-button > span:first-child { line-height: 1; }
  .page-icon { width: 58px; height: 58px; font-size: 1.6rem; }
  .category-hero-grid { grid-template-columns: 58px 1fr; }
  .category-hero-icon { width: 56px; height: 56px; }
  .category-hero-icon .icon { width: 30px; height: 30px; }
  .mini-facts div { grid-template-columns: 72px 1fr; }
}

@media (min-width: 360px) and (max-width: 559px) {
  .hero .button-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero .button { padding-inline: 10px; font-size: .84rem; }
  .hero-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-trust span { display: block; padding-inline: 7px; text-align: center; line-height: 1.35; }
  .hero-trust b { display: block; }
}

@media (min-width: 560px) {
  .button-row { grid-template-columns: repeat(2, minmax(0, max-content)); }
  .audience-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 720px) {
  .wrap, .narrow { width: min(var(--content, 1180px), calc(100% - 64px)); }
  .narrow { --content: 820px; }
  .section { padding: 92px 0; }
  .hero { padding: 70px 0 58px; }
  .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); align-items: center; }
  .hero-visual { order: 2; }
  .quick-actions .wrap { grid-template-columns: repeat(3, 1fr); }
  .quick-actions a { padding-inline: 18px; border-right: 1px solid rgba(255, 255, 255, .16); border-bottom: 0; }
  .category-grid, .program-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-panel { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 42px; }
  .guide-panel > .button { grid-column: 1; width: fit-content; }
  .find-steps { grid-column: 2; grid-row: 1 / span 2; }
  .open-panel { grid-template-columns: 1fr auto; align-items: center; }
  .update-grid { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .update-grid > .section-link { grid-column: 2; }
  .filter-grid, .category-tools > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-tools { display: flex; align-items: end; justify-content: space-between; gap: 22px; }
  .category-tools > div { flex: 1; }
  .category-tools .result-count { padding-bottom: 18px; white-space: nowrap; }
  .program-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: end; }
  .facts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .menu-button { display: none; }
  #site-nav, #site-nav.open { position: static; display: flex; padding: 0; background: transparent; border: 0; box-shadow: none; }
  #site-nav a { padding-inline: 11px; font-size: .82rem; }
  .hero h1 { font-size: clamp(3rem, 5vw, 4.35rem); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .program-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .program-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .detail-layout { grid-template-columns: minmax(0, 1fr) 350px; align-items: start; }
  .source-panel { position: sticky; top: 96px; }
  .related-categories > div { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sticky-find { display: none; }
  .site-footer { padding-bottom: 58px; }
}

@media (prefers-reduced-motion: no-preference) {
  .category-card, .program-card, .button { transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
}

@media (forced-colors: active) {
  .button, .status, .budget, .program-card, .category-card, .service-card { border: 2px solid currentColor; }
}

@media print {
  @page { size: A4; margin: 14mm; }
  body { color: #000; background: #fff; font-size: 11pt; line-height: 1.55; }
  .unofficial, .site-header, .quick-actions, .sticky-find, .site-footer, .button-row, .hero-visual, .program-hero-action, [data-print] { display: none !important; }
  .page-hero, .facts-band, .section, .hero { padding: 10mm 0; color: #000; background: #fff !important; }
  .wrap, .narrow { width: 100%; }
  .detail-layout { display: block; }
  .source-panel, .program-card, .summary-box, .danger-box { break-inside: avoid; box-shadow: none; }
  .source-panel { margin-top: 8mm; border-color: #000; }
  a { color: #000; text-decoration: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; overflow-wrap: anywhere; }
}
