@charset "utf-8";

/* =====================================================================
   令和8年熊本地震特設サイト（食団連）

   デザイン方針（フラット・非AI）
   - 角丸なし、影なし、グラデーションなし、アニメーションなし
   - 見出し脇のアクセント線、タイトル下線、色帯、サイドバー、
     カード片側の極太ストライプ、ピル（丸型バッジ）、装飾矢印は使わない
   - 情報の区切りは 1px のヘアラインと余白だけで行う
   - 強調は「文字の大きさ・太さ・ベタ塗り」で行い、飾りに頼らない
   - 緑はベタ塗りの面・タグ・リンクにだけ使い、面を広く敷かない

   余白・文字サイズ・行間は下のトークンだけを使う。
   直接 px を書くと不揃いになるので、必要なら token を増やす。
   ===================================================================== */

:root {
  /* 色 */
  --bg:          #ffffff;
  --text:        #000000;
  --ink:         #1a1a1a;   /* 本文（真っ黒よりわずかに柔らかく） */
  --muted:       #555956;
  --line:        #d5dad6;
  --line-dark:   #000000;

  --green:       #086737;
  --green-dark:  #064f2a;
  --green-tint:  #eef4f0;
  --green-line:  #c9d9ce;

  --red:         #c20d23;
  --red-tint:    #fbeced;

  --surface:     #f4f6f4;

  /* 余白 */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;

  /* 文字サイズ */
  --f-cap:  12px;   /* ラベル・注記 */
  --f-sm:   13px;   /* 補足 */
  --f-ui:   14px;   /* UI・カード本文 */
  --f-body: 16px;   /* 本文 */
  --f-h4:   17px;
  --f-h3:   19px;

  /* 行間 */
  --lh-tight: 1.45;   /* 見出し */
  --lh-snug:  1.7;    /* 小さい文字・カード */
  --lh-base:  1.85;   /* 本文 */

  /* 本文は枠の幅いっぱいまで流す。読み幅の上限は --maxw（ラッパー）で決める */
  --maxw: 1040px;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
          "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

/* ---------------------------------------------------------------
   基本
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* 追尾ヘッダーの高さぶん、アンカー移動先に余白を取る */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 82px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--f-body);
  line-height: var(--lh-base);
  line-break: strict;          /* 日本語の禁則処理 */
  word-break: auto-phrase;     /* 語の途中ではなく文節で折り返す */
  overflow-wrap: break-word;
}

/* 見出しは文節で折り返す（対応ブラウザのみ）。詰め組みは見出しだけに使う */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: var(--lh-tight);
  font-feature-settings: "palt";
  word-break: auto-phrase;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* 行長は段落ではなく「文章を入れる箱」に持たせる。
   段落だけを狭めると、箱の右側が大きく余って不自然に見える。 */

ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
ul:last-child, ol:last-child { margin-bottom: 0; }
li { margin-bottom: var(--s1); }
li:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; vertical-align: middle; }

a { color: var(--green-dark); text-underline-offset: 3px; }
a:hover { color: var(--green); }

:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: var(--s3) 20px;
  z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------
   下書き帯（公開前のみ）
   --------------------------------------------------------------- */
.draftbar {
  background: var(--red);
  color: #fff;
  font-size: var(--f-sm);
  font-weight: 700;
  line-height: var(--lh-snug);
  text-align: center;
  padding: var(--s2) 20px;
}

/* ---------------------------------------------------------------
   ヘッダー
   --------------------------------------------------------------- */
/* スクロールしても追尾させる。#action などのアンカー先が
   ヘッダーの下に隠れないよう、html 側で scroll-padding-top を確保する。 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
  padding-block: var(--s2);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-width: 0;
  text-decoration: none;
  color: var(--text);
}
.brand img { height: 32px; width: auto; flex: none; }
.brand-text {
  border-left: 1px solid var(--line);
  padding-left: var(--s3);
  line-height: var(--lh-tight);
}
.brand-name { display: block; font-size: 15px; font-weight: 700; color: var(--text); }
.brand-owner { display: block; font-size: 11px; font-weight: 400; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 20px; }
.nav a {
  font-size: var(--f-ui);
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}
.nav a:hover { color: var(--green); text-decoration: underline; }
.nav a[aria-current="page"] { color: var(--green); }

/* ハンバーガーボタン。開いている間は ✕ に変わる */
.nav-toggle {
  display: none;
  flex: none;
  width: 44px;
  height: 40px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line-dark);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 0 20px var(--s3);
    z-index: 50;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
  /* サイト名は身元表示なので狭幅でも隠さず、1行に収める */
  .brand { gap: 9px; }
  .brand img { height: 26px; }
  .brand-text { padding-left: 9px; }
  .brand-name { font-size: var(--f-sm); white-space: nowrap; }
  .brand-owner { display: none; }
}
@media (max-width: 400px) {
  .brand { gap: 7px; }
  .brand img { height: 23px; }
  .brand-text { padding-left: 7px; }
  .brand-name { font-size: 11.5px; }
}
@media (max-width: 360px) {
  .brand img { height: 20px; }
  .brand-name { font-size: 10px; }
}
@media (max-width: 340px) {
  .wrap { padding-inline: 14px; }
  .brand-name { font-size: 9.5px; }
}

/* ---------------------------------------------------------------
   ヒーロー / ページ見出し
   --------------------------------------------------------------- */
.hero { padding: var(--s7) 0 var(--s6); border-bottom: 1px solid var(--line); }
.hero .eyebrow {
  display: block;
  font-size: var(--f-sm);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: .04em;
  color: var(--green);
  margin-bottom: var(--s3);
}
.hero h1 {
  font-size: clamp(27px, 5vw, 40px);
  letter-spacing: -.01em;
  margin-bottom: var(--s5);
}
.hero .lead { font-size: var(--f-body); }
.hero .updated {
  margin-top: var(--s4);
  font-size: var(--f-sm);
  line-height: var(--lh-snug);
  color: var(--muted);
}

.page-head { padding: var(--s7) 0 var(--s5); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(23px, 4.2vw, 32px); margin-bottom: var(--s3); }
.page-head p { color: var(--muted); font-size: 15px; }
.page-head .updated {
  margin-top: var(--s3);
  font-size: var(--f-sm);
  line-height: var(--lh-snug);
  color: var(--muted);
}

/* 最新のお知らせ（ファーストビュー） */
.latest {
  margin-top: var(--s5);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--s3) var(--s4);
}
.latest__head {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-bottom: var(--s1);
}
.latest__head time {
  font-size: var(--f-sm);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.latest__all { margin-left: auto; font-size: var(--f-sm); font-weight: 700; white-space: nowrap; }
.latest__title { font-size: var(--f-body); font-weight: 700; line-height: var(--lh-snug); margin: 0; }
.latest__link { display: inline-block; margin-top: var(--s1); font-size: var(--f-ui); font-weight: 700; }
@media (max-width: 560px) { .latest__all { margin-left: 0; } }

/* ---------------------------------------------------------------
   セクション共通
   --------------------------------------------------------------- */
section { padding: var(--s7) 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { margin-bottom: var(--s5); }
.section-head h2 { font-size: clamp(20px, 3.2vw, 26px); }
.section-head p { margin-top: var(--s2); color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------
   タグ（角丸なしのベタ塗り）
   --------------------------------------------------------------- */
.badge {
  display: inline-block;
  font-size: var(--f-cap);
  font-weight: 700;
  line-height: var(--lh-snug);
  padding: 1px var(--s2);
  white-space: nowrap;
}
.badge-open   { background: var(--green); color: #fff; }
.badge-prep   { background: var(--surface); color: var(--muted); }
.badge-closed { background: var(--surface); color: var(--muted); }
.badge-alert  { background: var(--red); color: #fff; }
.badge-line   { background: var(--green-tint); color: var(--green-dark); }

/* ---------------------------------------------------------------
   第一報（最優先アクション）
   --------------------------------------------------------------- */
.primary-card {
  border: 2px solid var(--green);
  background: var(--green-tint);
  padding: var(--s5);
}
.primary-card__tags {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s3);
  font-size: var(--f-sm);
  font-weight: 700;
  line-height: var(--lh-snug);
  color: var(--green-dark);
}
.primary-card h3 { font-size: clamp(19px, 3.2vw, 25px); margin-bottom: var(--s2); }
.primary-card__time {
  font-size: var(--f-ui);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--muted);
  margin-bottom: var(--s3);
}
.primary-card__time strong {
  font-size: clamp(24px, 4.4vw, 30px);
  color: var(--green-dark);
  letter-spacing: -.01em;
  vertical-align: -.06em;
  margin-left: var(--s1);
}
.primary-card ul { margin-top: var(--s3); }
.primary-card__meta {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--green-line);
  font-size: var(--f-ui);
  line-height: var(--lh-snug);
  color: var(--muted);
}
.primary-card__meta .deadline { color: var(--red); font-weight: 700; }

/* ---------------------------------------------------------------
   ボタン
   --------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: var(--lh-tight);
  text-decoration: none;
  text-align: center;
  padding: 15px 30px;
  border: 2px solid var(--green);
  margin-top: var(--s5);
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }

.btn-ghost {
  background: #fff;
  color: var(--green-dark);
  border-color: var(--green);
  font-size: 15px;
  padding: var(--s3) var(--s5);
}
.btn-ghost:hover { background: var(--green); color: #fff; border-color: var(--green); }

.btn-sm { font-size: var(--f-ui); padding: 10px 20px; margin-top: 0; }

.btn[aria-disabled="true"] {
  background: var(--surface);
  border-color: var(--line);
  color: var(--muted);
  pointer-events: none;
}

@media (max-width: 480px) {
  .primary-card .btn { display: block; width: 100%; padding-inline: var(--s4); }
}
@media (max-width: 360px) {
  .primary-card { padding: 20px var(--s4); }
  .primary-card .btn { font-size: 15px; padding-inline: var(--s3); }
}

/* ---------------------------------------------------------------
   冒頭の立場選択
   --------------------------------------------------------------- */
.choose { padding: var(--s6) 0; }
.choose-title { font-size: var(--f-h4); margin-bottom: var(--s4); }

.choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--green);
  border: 2px solid var(--green);
}
@media (max-width: 720px) { .choose-grid { grid-template-columns: 1fr; } }

.choose-card {
  display: block;
  background: #fff;
  padding: var(--s5);
  text-decoration: none;
  color: var(--text);
}
.choose-card:hover { background: var(--green-tint); color: var(--text); }
.choose-card__tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: var(--f-cap);
  font-weight: 700;
  line-height: var(--lh-snug);
  padding: 1px var(--s2);
  margin-bottom: var(--s2);
}
.choose-card__title {
  display: block;
  font-size: clamp(19px, 3.4vw, 24px);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--green-dark);
  margin-bottom: var(--s2);
}
.choose-card__note {
  display: block;
  font-size: var(--f-ui);
  line-height: var(--lh-snug);
  color: var(--muted);
}

/* ---------------------------------------------------------------
   立場別のまとまり
   --------------------------------------------------------------- */
.audience { padding: var(--s7) 0; }
.audience-head { margin-bottom: var(--s6); }
.audience-tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: var(--f-cap);
  font-weight: 700;
  line-height: var(--lh-snug);
  padding: 1px var(--s2);
  margin-bottom: var(--s2);
}
.audience-head h2 { font-size: clamp(22px, 3.6vw, 29px); }
.audience-head p { margin-top: var(--s2); color: var(--muted); font-size: 15px; }

.block { margin-bottom: var(--s6); }
.block:last-child { margin-bottom: 0; }
.block-title {
  font-size: var(--f-h3);
  padding-bottom: var(--s2);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s4);
}
.block-lead { font-size: 15px; color: var(--muted); margin-bottom: var(--s4); }
.block-sub { font-size: var(--f-h4); margin: var(--s5) 0 var(--s3); }
.block .note { margin-top: var(--s5); }

/* ---------------------------------------------------------------
   カードの並び（立場別の入口・支援の方法）
   --------------------------------------------------------------- */
/* 端数の行も横幅いっぱいに広がるようにする。
   隙間を罫線として見せているため、行が埋まらないとグレーが残ってしまう。 */
.paths {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.paths > * { flex: 1 1 30%; min-width: 250px; }

.path {
  background: #fff;
  padding: var(--s5) 22px;
  display: flex;
  flex-direction: column;
}
.path h3 { font-size: var(--f-h4); margin-bottom: var(--s2); }
.path p, .path ul, .path ol { font-size: 15px; }
.path ol { padding-left: 1.4em; }
.path ol li { margin-bottom: var(--s2); }
.path .path-foot { margin-top: auto; padding-top: var(--s4); }

/* ---------------------------------------------------------------
   災害情報の確認先
   件数が多いので、1件あたりの高さを抑えて多列で並べる。
   隙間を罫線代わりに使うと余った枡がグレーで残るため、
   ここは各カードに枠線を持たせる。
   --------------------------------------------------------------- */
.lgroup { margin-bottom: var(--s5); }
.lgroup:last-child { margin-bottom: 0; }

.lgroup__head {
  display: flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--f-body);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--text);
}
.lgroup__no {
  flex: none;
  width: 20px;
  height: 20px;
  background: var(--green);
  color: #fff;
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}
.lgroup__desc {
  margin: 6px 0 0;
  font-size: var(--f-cap);
  line-height: var(--lh-snug);
  color: var(--muted);
  max-width: none;
}

.lcard-label {
  margin: var(--s3) 0 6px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--muted);
  max-width: none;
}

/* 最大3列。端数の行も含めて必ず横幅いっぱいに広がるよう、
   グリッドではなく伸縮する並びにする。
   （グリッドだと 4枚のとき 3+1 で右側が空いてしまう） */
.lcard-set {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.lcard-set > * {
  flex: 1 1 30%;      /* 30% を基準に伸びるので、1行に最大3枚 */
  min-width: 240px;   /* これを下回ると自動で段数が減る */
}

.lcard {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  padding: var(--s2) var(--s3);
  text-decoration: none;
  color: var(--text);
}
a.lcard:hover { border-color: var(--green); background: var(--green-tint); }

.lcard__name { display: block; font-size: var(--f-sm); font-weight: 700; line-height: 1.5; }
.lcard__note {
  display: block;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}
.lcard__line { display: block; font-size: var(--f-cap); line-height: 1.7; color: var(--ink); }

/* ---------------------------------------------------------------
   これからの進め方
   --------------------------------------------------------------- */
.roadmap { border-top: 1px solid var(--line); }

.roadmap-row {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 0 var(--s5);
  padding: var(--s5) 0;
  border-bottom: 1px solid var(--line);
}
/* 末尾の罫線は下に内容がなく、線だけが浮いて見えるので消す */
.roadmap-row:last-child { border-bottom: none; padding-bottom: 0; }
.roadmap-side { padding-top: 2px; }
.roadmap-side .step {
  display: block;
  font-size: var(--f-sm);
  font-weight: 700;
  line-height: var(--lh-snug);
  letter-spacing: .04em;
  color: var(--muted);
  margin-bottom: var(--s1);
}
.roadmap-row.is-now .roadmap-side .step,
.roadmap-row.is-done .roadmap-side .step { color: var(--green); }

.roadmap-main h3 { font-size: var(--f-h4); margin-bottom: var(--s1); }
.roadmap-main .period { font-size: var(--f-sm); line-height: var(--lh-snug); color: var(--muted); margin-bottom: var(--s2); }
.roadmap-main p { font-size: 15px; }

@media (max-width: 640px) {
  .roadmap-row { grid-template-columns: 1fr; gap: var(--s2); }
  .roadmap-side { display: flex; align-items: center; gap: var(--s2); padding-top: 0; }
  .roadmap-side .step { margin-bottom: 0; }
}

/* ---------------------------------------------------------------
   被災報告マップ
   --------------------------------------------------------------- */
.map-summary { margin-bottom: var(--s4); font-size: 15px; }
.map-summary strong { font-size: var(--f-h3); }

.map-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .map-layout { grid-template-columns: 1fr; } }

.map-figure { background: #fff; padding: var(--s4); }
.map-svg { display: block; width: 100%; height: auto; }

/* 報告0件の市町村も県の形が分かるよう、境界はグレーの実線で引く */
.map-area { stroke: #9aa39c; stroke-width: .9; cursor: pointer; }
.map-area:hover { stroke: var(--text); stroke-width: 2; }
.map-area:focus-visible { outline: none; stroke: var(--text); stroke-width: 2.6; }
.map-area.is-selected { stroke: var(--text); stroke-width: 2.6; }
.map-area:hover, .map-area:focus-visible, .map-area.is-selected { paint-order: stroke; }

.map-legend {
  list-style: none;
  margin: var(--s3) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s4);
  font-size: var(--f-cap);
  color: var(--muted);
}
.map-legend li { display: flex; align-items: center; gap: 6px; margin: 0; }
.map-legend__chip { width: 16px; height: 12px; border: 1px solid var(--line); flex: none; }

/* 熊本県外からの報告。地図に配置できないので地図の下にまとめる */
.map-outside { margin-top: var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.map-outside__label {
  display: flex;
  align-items: baseline;
  gap: var(--s2);
  flex-wrap: wrap;
  margin: 0 0 var(--s2);
  font-size: var(--f-cap);
  font-weight: 700;
  line-height: 1.5;
  color: var(--muted);
  max-width: none;
}
.map-outside__total { font-weight: 400; }
.map-outside__set { display: flex; flex-wrap: wrap; gap: 6px; }
.map-outside__item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px var(--s2);
  font: inherit;
  font-size: var(--f-cap);
  line-height: 1.5;
  color: var(--text);
  cursor: pointer;
}
.map-outside__item:hover { border-color: var(--green); background: var(--green-tint); }
.map-outside__item.is-selected { border-color: var(--text); border-width: 2px; padding: 4px 7px; }
.map-outside__name { font-weight: 700; }
.map-outside__n { color: var(--muted); font-variant-numeric: tabular-nums; }

.map-detail { background: #fff; padding: var(--s5) var(--s4); }
.map-detail__name { font-size: var(--f-h4); }
.map-detail__count { font-size: var(--f-ui); color: var(--muted); margin-bottom: var(--s4); }
.map-detail__count strong { font-size: 22px; color: var(--text); }
.map-detail__sub { font-size: var(--f-sm); color: var(--muted); margin: var(--s4) 0 var(--s2); }
.map-detail__empty,
.map-detail__masked { font-size: var(--f-ui); line-height: var(--lh-snug); color: var(--muted); }

.map-bars { list-style: none; margin: 0; padding: 0; font-size: var(--f-sm); }
.map-bars li {
  display: grid;
  grid-template-columns: 1fr 92px 44px;
  align-items: center;
  gap: var(--s2);
  margin-bottom: 5px;
  max-width: none;
}
.map-bars__label { line-height: var(--lh-tight); }
.map-bars__track { background: var(--surface); height: 10px; }
.map-bars__fill { display: block; height: 100%; background: var(--green); }
.map-bars.is-need .map-bars__fill,
.map-bars.is-damage .map-bars__fill { background: #4e9670; }
.map-bars.is-injury .map-bars__fill { background: #4e9670; }
/* 人的被害「あり」だけ赤で示す */
.map-bars li.is-alert .map-bars__fill { background: var(--red); }
.map-bars li.is-alert .map-bars__label { font-weight: 700; }
.map-bars__n { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }

.map-table { margin-top: var(--s4); border-top: 1px solid var(--line); }
.map-table summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s3) 0;
  font-size: var(--f-ui);
  font-weight: 700;
  color: var(--green-dark);
}
.map-table summary::-webkit-details-marker { display: none; }
.map-table table { width: 100%; border-collapse: collapse; font-size: var(--f-ui); margin-bottom: var(--s4); }
.map-table th, .map-table td { border-bottom: 1px solid var(--line); padding: 7px var(--s2); text-align: left; }
.map-table tbody tr:last-child th, .map-table tbody tr:last-child td { border-bottom: none; }
.map-table thead th { color: var(--muted); font-size: var(--f-sm); }
.map-table tbody th { font-weight: 400; }
.map-table td { text-align: right; font-variant-numeric: tabular-nums; width: 8em; }

.map-note { margin-top: var(--s4); font-size: var(--f-sm); line-height: var(--lh-snug); color: var(--muted); }

/* 現場から寄せられた声。最大3列で横幅いっぱいに並べる */
.map-comments { margin-top: var(--s6); border-top: 1px solid var(--line); padding-top: var(--s5); }
.map-comments__title { font-size: var(--f-h3); margin-bottom: var(--s2); }
.map-comments__lead { font-size: var(--f-sm); line-height: var(--lh-snug); color: var(--muted); margin-bottom: var(--s4); }
.map-comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.map-comments__list > li {
  flex: 1 1 30%;
  min-width: 260px;
  margin: 0;
  background: var(--bg);
  padding: var(--s4);
}
.map-comments__area {
  display: block;
  font-size: var(--f-cap);
  font-weight: 700;
  color: var(--muted);
  margin-bottom: var(--s2);
}
.map-comments__text { font-size: 15px; line-height: var(--lh-base); margin: 0; }

/* ---------------------------------------------------------------
   お知らせ
   --------------------------------------------------------------- */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { margin: 0; border-bottom: 1px solid var(--line); padding: var(--s5) 0; max-width: none; }
.news-list li:last-child { border-bottom: none; padding-bottom: 0; }
.news-meta { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s1); flex-wrap: wrap; }
.news-meta time { font-size: var(--f-sm); color: var(--muted); font-variant-numeric: tabular-nums; }
.news-list h3 { font-size: var(--f-h4); margin-bottom: var(--s1); }
.news-list p { font-size: 15px; }
.news-list .news-link { font-size: 15px; font-weight: 700; margin-top: var(--s2); }

.news-empty, .support-empty {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: var(--s5) 22px;
  color: var(--muted);
  font-size: 15px;
}

/* ---------------------------------------------------------------
   支援活動
   --------------------------------------------------------------- */
.support-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.support-grid > * { flex: 1 1 30%; min-width: 280px; }

.support-card { background: #fff; padding: 22px; display: flex; flex-direction: column; }
.support-card .support-org { font-size: var(--f-sm); color: var(--muted); font-weight: 700; }
.support-card h3 { font-size: var(--f-h4); margin: var(--s1) 0 var(--s3); }
.support-card dl {
  margin: 0 0 var(--s3);
  font-size: var(--f-ui);
  display: grid;
  grid-template-columns: 4.5em 1fr;
  gap: 2px var(--s3);
}
.support-card dt { color: var(--muted); font-weight: 700; margin: 0; }
.support-card dd { margin: 0; }
.support-card p { font-size: 15px; }
.support-card .support-foot { margin-top: auto; padding-top: var(--s3); }

/* ---------------------------------------------------------------
   支援活動の掲載基準
   --------------------------------------------------------------- */
.policy-lead { font-size: 15px; margin-bottom: var(--s4); }

.policy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .policy-grid { grid-template-columns: 1fr; } }

.policy-col { background: #fff; padding: 20px; }
.policy-col h4 {
  font-size: 15px;
  padding-bottom: var(--s2);
  margin-bottom: var(--s3);
  border-bottom: 2px solid var(--line);
}
.policy-col.is-ok h4 { color: var(--green-dark); border-bottom-color: var(--green); }
.policy-col.is-ng h4 { color: var(--red); border-bottom-color: var(--red); }
.policy-col ul { margin: 0; padding-left: 1.2em; font-size: 15px; }
.policy-col li { margin-bottom: var(--s2); }
.policy-col li:last-child { margin-bottom: 0; }

.policy-note { margin-top: var(--s4); font-size: var(--f-ui); line-height: var(--lh-snug); color: var(--muted); }

/* ---------------------------------------------------------------
   よくある質問
   --------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: var(--s4) 36px var(--s4) 0;
  font-weight: 700;
  font-size: var(--f-body);
  line-height: var(--lh-snug);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  position: absolute;
  right: var(--s1);
  top: var(--s4);
  color: var(--green);
  font-weight: 700;
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-a { padding: 0 0 var(--s5); font-size: 15px; }

/* ---------------------------------------------------------------
   補足・注意・問い合わせ
   --------------------------------------------------------------- */
/* 枠は列幅いっぱいに広げ、中の文字が枠を満たすようにする。
   枠を狭めたり文字だけ狭めたりすると、右側が余って不揃いに見える。 */
.note {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 20px 22px;
  font-size: 15px;
}
.note h3 { font-size: var(--f-body); margin-bottom: var(--s2); }
.note-alert { background: var(--red-tint); border-color: var(--red); }
.note-alert h3 { color: var(--red); }

.contact-box { border: 1px solid var(--line); padding: var(--s5) 22px; }
.contact-box h3 { font-size: var(--f-h4); margin-bottom: var(--s2); }

/* ---------------------------------------------------------------
   フッター
   --------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: var(--s6) 0 var(--s7); font-size: var(--f-ui); }
.footer-inner { display: flex; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.site-footer img { height: 28px; margin-bottom: var(--s3); }
.site-footer .footer-site { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.site-footer .org-name { color: var(--muted); font-size: var(--f-sm); }
.site-footer .footer-nav { display: flex; flex-direction: column; gap: var(--s1); }
.site-footer .copyright { margin-top: var(--s5); color: var(--muted); font-size: var(--f-cap); }

/* ---------------------------------------------------------------
   印刷
   --------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .draftbar, .btn { display: none !important; }
  body { font-size: var(--f-cap); }
  section { padding: var(--s3) 0; break-inside: avoid; }
  .faq details { display: block; }
  .faq .faq-a { display: block !important; }
  .primary-card { background: #fff; }
}
