@charset "UTF-8";
/* hinan.css — 災害時ペット避難情報（/hinan/）共通スタイル
   もこもこコーラルのトークンをそのまま使う（新しい配色を発明しない）。
   公開ページ・掲載申請フォーム・事業者更新ページの3画面で共有する。 */

:root{
  --bg:#FFF5EB; --card:#FFFFFF; --ink:#2B2F33; --sub:#7A6857; --line:#F4E7DB;
  --accent:#FF6B6B; --accent-ink:#E5533F; --accent-btn:#D23F2E; --accent-soft:#FFE3E0;
  --teal:#6DC1B8; --teal-ink:#2E9B90; --teal-soft:#E0F3F0;
  /* --teal-ink は面や太い罫の色。白地に載る小さな文字では 3.38:1 しかなく AA に届かない。
     --accent-btn と同じ考え方で、文字とチップ用に色相・彩度は据え置きのまま濃さだけ上げた版を持つ。
     白 5.27:1 ／ クリーム 4.89:1 ／ --teal-soft 4.58:1 ／ 上に白文字 5.27:1（すべて AA 合格）。 */
  --teal-text:#23786F;
  --warn:#C9871F; --warn-ink:#8A5A0C; --warn-soft:#FDEFD8;
  --danger:#E5533F; --danger-soft:#FFE3E0;
  --on-accent:#FFFFFF;
  --r:20px;
  --tap:44px;              /* 指で押す要素の最小の高さ */
  /* 受話器アイコン。currentColor で塗るため mask で使う（画像リクエストを増やさない）。 */
  --ico-tel:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.2.4 2.4.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.4 0 .8-.2 1l-2.3 2.2Z'/%3E%3C/svg%3E");
  /* 地図ピン。住所リンクの先頭に置く。 */
  --ico-map:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a7 7 0 0 0-7 7c0 5 7 13 7 13s7-8 7-13a7 7 0 0 0-7-7Zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5Z'/%3E%3C/svg%3E");
}
*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:"Zen Maru Gothic",system-ui,-apple-system,"Hiragino Sans","Noto Sans JP",sans-serif;
  font-weight:500; line-height:1.85; font-size:16px;
}
/* 固定バーの高さぶん。安全域が広い端末（ホームインジケータのある iPhone）では
   そのぶんも足さないと、最後のカードがバーに隠れて読めなくなる。 */
body.has-sticky{padding-bottom:calc(88px + env(safe-area-inset-bottom));}
/* viewport-fit=cover を指定しているので、横向き時にノッチ側へ本文が潜らないよう
   左右の余白を安全域ぶんまで広げる（縦向きでは max() が 16px を選ぶので見た目は変わらない）。 */
.wrap{
  max-width:720px; margin:0 auto;
  padding-left:max(16px, env(safe-area-inset-left));
  padding-right:max(16px, env(safe-area-inset-right));
}
a{color:var(--teal-text);}

/* ---------- フォーム部品の見た目を全端末でそろえる ----------
   iOS Safari は input[type=search] / select / button などを「ネイティブ部品」として描き、
   こちらの height・padding・border-radius を無視する。iPhone で絞り込み欄だけが
   丸い検索窓になって崩れていたのはこれが原因。appearance を切って自前の見た目に統一する。
   （select は矢印もネイティブ描画なので、切った以上は自前で背景に置く） */
/* チェックボックスとラジオは除外する。これらに appearance:none を当てると
   チェック印ごと消えて、同意欄が「押しても何も起きない四角」になる。 */
/* border-radius はここで触らない。`input:not([type=..]):not([type=..])` は
   詳細度 (0,2,1) で `input[type=text]` (0,1,1) に勝ってしまい、角丸を打ち消してしまう。
   角丸は各部品側で明示しているので、ここは appearance だけにとどめる。 */
input:not([type=checkbox]):not([type=radio]), select, textarea, button{
  -webkit-appearance:none; appearance:none;
  font-family:inherit;
}
/* iOS の検索欄に付く虫めがね・×ボタンを消す（自前の「すべて」ボタンがあるため） */
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-results-button{-webkit-appearance:none; display:none;}

/* ---------- ヘッダー ---------- */
.masthead{
  background:var(--ink); color:#fff; padding:20px 0 22px;
  border-bottom:5px solid var(--accent);
}
.eyebrow{
  display:inline-block; background:var(--accent); color:#fff;
  font-size:12px; font-weight:700; letter-spacing:.08em;
  padding:5px 12px; border-radius:999px; margin-bottom:12px;
}
.masthead h1{font-size:23px; line-height:1.55; margin:0 0 12px; font-weight:900;}
.stamp{font-size:13px; color:#D8CFC6; line-height:1.7; border-left:1px solid var(--teal); padding-left:12px;}
.stamp b{color:#fff;}
.masthead a{color:#8FD6CD;}

/* パンくず */
.crumbs{font-size:12px; color:var(--sub); padding:12px 0 0; line-height:1.6;}
.crumbs a{color:var(--teal-text);}
.crumbs span{color:var(--sub);}

/* ---------- 最上部の警告 ---------- */
.alertbox{
  background:var(--warn-soft); border:2px solid var(--warn);
  border-radius:var(--r); padding:16px 18px; margin:20px 0;
  font-size:14.5px; line-height:1.8;
}
.alertbox h2{margin:0 0 8px; font-size:15px; font-weight:900; color:var(--warn-ink);}

/* ---------- ページ内の目次（急いでいる人を1タップで目的地へ） ---------- */
.toc{margin:20px 0 28px;}
.toc h2{
  font-size:12px; font-weight:900; letter-spacing:.06em; color:var(--sub);
  margin:0 0 8px;
}
.toc ol{
  list-style:none; margin:0; padding:0;
  display:grid; gap:8px; grid-template-columns:1fr;
}
@media(min-width:480px){.toc ol{grid-template-columns:1fr 1fr;}}
.toc a{
  display:flex; align-items:center; gap:10px; min-height:var(--tap);
  background:var(--card); border:1px solid var(--line); border-radius:14px;
  padding:8px 14px; text-decoration:none; color:var(--ink);
  font-size:14px; font-weight:700; line-height:1.4;
}
.toc a:hover{border-color:var(--teal);}
.toc a:active{transform:scale(.99);}
.toc .n{
  flex:0 0 26px; height:26px; border-radius:9px; display:grid; place-items:center;
  background:var(--accent-btn); color:#fff;
  font-family:"Baloo 2",cursive; font-weight:800; font-size:14px; line-height:1;
}

/* ---------- 緊急ボタン ---------- */
.quick{display:grid; gap:10px; margin:22px 0 28px;}
.qbtn{
  display:flex; align-items:center; gap:14px; text-decoration:none;
  background:var(--card); border:2px solid var(--line); border-radius:var(--r);
  padding:15px 16px; color:var(--ink); transition:border-color .15s, transform .1s;
}
.qbtn:active{transform:scale(.99);}
.qbtn:hover{border-color:var(--teal);}
.qbtn .num{
  flex:0 0 40px; height:40px; border-radius:14px; display:grid; place-items:center;
  background:var(--teal-soft); color:var(--teal-text);
  font-family:"Baloo 2",cursive; font-weight:800; font-size:19px; line-height:1;
}
.qbtn.is-urgent .num{background:var(--accent-btn); color:#fff;}
/* 見出しと補足は必ず改行して積む（span のままだと1行に流れて、
   電話番号が説明文に埋もれる）。 */
.qbtn .t{display:block; font-weight:700; font-size:16px; line-height:1.4;}
.qbtn .d{display:block; font-size:12.5px; color:var(--sub); line-height:1.5; margin-top:2px;}

/* ---------- セクション ---------- */
section{margin:40px 0; scroll-margin-top:12px;}
h2.sec{font-size:20px; font-weight:900; margin:0 0 6px; line-height:1.5; display:flex; align-items:center; gap:10px;}
/* 番号は目次と対応する道しるべ。--accent に白文字だと 2.78:1 で AA を落とすので、
   ページ上部のクイックボタン（.qbtn .num）と同じ塗りチップに揃える。 */
h2.sec .idx{
  flex:0 0 auto; min-width:28px; height:28px; padding:0 7px; border-radius:9px;
  display:inline-grid; place-items:center; background:var(--accent-btn); color:#fff;
  font-family:"Baloo 2",cursive; font-weight:800; font-size:14px; line-height:1;
}
.lede{font-size:14.5px; color:var(--sub); margin:0 0 18px;}

.card{background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:20px; margin-bottom:14px;}
.card h3{margin:0 0 10px; font-size:16.5px; font-weight:900;}
.card p{margin:0 0 12px; font-size:15px;}
.card p:last-child{margin-bottom:0;}
.card.quiet{font-size:12.5px; color:var(--sub);}
.card.quiet b{color:var(--ink);}

/* 同行/同伴 比較 */
.compare{display:grid; gap:12px; margin:16px 0;}
@media(min-width:560px){.compare{grid-template-columns:1fr 1fr;}}
.cmp{border-radius:16px; padding:16px; font-size:14px; line-height:1.75;}
.cmp.a{background:var(--teal-soft); border:2px solid var(--teal);}
.cmp.b{background:var(--accent-soft); border:2px solid var(--accent);}
/* 「同行避難」と「同伴避難」の違いは、このページで一番取り違えられて困る概念。
   色分けを保ったまま AA を満たすため、大文字サイズ（太字18.66px以上）まで上げている。 */
.cmp .lbl{font-weight:900; font-size:19px; margin-bottom:6px; display:block; line-height:1.4;}
.cmp.a .lbl{color:var(--teal-text);}
.cmp.b .lbl{color:var(--accent-btn);}

/* 手順 */
ol.steps{margin:0; padding:0; list-style:none; counter-reset:s;}
ol.steps li{counter-increment:s; position:relative; padding:0 0 20px 46px; border-left:2px dashed var(--line); margin-left:16px;}
ol.steps li:last-child{border-left:0; padding-bottom:0;}
ol.steps li::before{
  content:counter(s); position:absolute; left:-17px; top:0;
  width:33px; height:33px; border-radius:50%; background:var(--accent); color:#fff;
  font-family:"Baloo 2",cursive; font-weight:800; font-size:16px;
  display:grid; place-items:center; line-height:1;
}
ol.steps b{display:block; font-size:15.5px; margin-bottom:3px;}
ol.steps span{font-size:14px; color:var(--sub); line-height:1.7;}

/* ---------- 連絡先 ---------- */
/* 管轄の保健所をすばやく絞り込む。JS が動かない環境では入力欄ごと出さず、全件を表示する。 */
.filter{display:none; margin:0 0 14px;}
.js .filter{display:block;}
.filter label{display:block; font-size:13px; font-weight:700; margin:0 0 6px;}
.filter .row{display:flex; gap:8px;}
.filter input[type=search]{
  flex:1 1 auto; width:auto; min-width:0; min-height:var(--tap);
  border:2px solid var(--line); border-radius:14px;
  padding:10px 14px; font-family:inherit; font-size:16px; background:#fff; color:var(--ink);
}
.filter input:focus{outline:none; border-color:var(--teal-text);}
.filter button{
  flex:0 0 auto; min-height:var(--tap); border:2px solid var(--line); border-radius:14px;
  background:#fff; color:var(--sub); font-family:inherit; font-weight:700; font-size:13px;
  padding:0 14px; cursor:pointer;
}
.filter .count{font-size:12.5px; color:var(--sub); margin-top:6px;}
.contact[hidden]{display:none;}
.filter-empty{
  background:#fff; border:2px dashed var(--line); border-radius:16px;
  padding:18px; text-align:center; font-size:14px; color:var(--sub);
}

.contact{background:var(--card); border:1px solid var(--line); border-radius:16px; padding:14px 16px; margin-bottom:10px;}
.contact .name{font-weight:900; font-size:15.5px; line-height:1.45;}
.contact .area{font-size:12.5px; color:var(--teal-text); font-weight:700; margin-top:3px;}
.contact .addr{font-size:12.5px; color:var(--sub); margin-top:4px;}

/* 住所をタップすると端末の地図アプリが開く。電話ボタンが第一の行動なので、
   こちらは控えめな文字リンクにとどめる。指で押せるよう高さだけは確保する。 */
.maplink{
  display:inline-flex; align-items:center; gap:6px; min-height:var(--tap);
  padding:4px 0; color:var(--teal-text); text-decoration:underline;
  text-underline-offset:2px; font-weight:700; line-height:1.5;
}
.maplink::before{
  content:""; width:14px; height:14px; flex:0 0 auto; background:currentColor;
  -webkit-mask:var(--ico-map) center/contain no-repeat; mask:var(--ico-map) center/contain no-repeat;
}
.maplink:active{opacity:.7;}
.contact .maplink{font-size:12.5px;}
.fac .maplink{font-size:12.5px;}
.tel{
  display:flex; align-items:center; justify-content:center; gap:8px;
  margin-top:11px; min-height:var(--tap); padding:12px; border-radius:14px;
  background:var(--accent-btn); color:#fff; text-decoration:none;
  font-family:"Baloo 2",cursive; font-weight:800; font-size:19px; letter-spacing:.02em;
}
.tel::before{
  content:""; width:17px; height:17px; flex:0 0 auto; background:currentColor;
  -webkit-mask:var(--ico-tel) center/contain no-repeat; mask:var(--ico-tel) center/contain no-repeat;
}
.tel:active{opacity:.85;}
.contact.pri{border:2px solid var(--accent); background:#FFFBF7;}

/* ---------- 掲載していないもの ---------- */
.exclude{background:#fff; border:2px dashed var(--sub); border-radius:var(--r); padding:20px;}
.exclude h3{margin:0 0 12px; font-size:16.5px; font-weight:900;}
.exclude ul{margin:0; padding-left:20px; font-size:14.5px;}
.exclude li{margin-bottom:10px;}
.exclude li:last-child{margin-bottom:0;}

/* チェックリスト */
ul.check{list-style:none; margin:0; padding:0; font-size:15px;}
ul.check li{position:relative; padding:7px 0 7px 30px; border-bottom:1px solid var(--line);}
ul.check li:last-child{border-bottom:0;}
ul.check li::before{
  content:""; position:absolute; left:0; top:13px;
  width:17px; height:17px; border:2px solid var(--teal); border-radius:5px;
}

/* ---------- 受け入れ施設カード ---------- */
.fac{background:var(--card); border:1px solid var(--line); border-radius:var(--r); padding:16px; margin-bottom:12px;}
.fac .top{display:flex; justify-content:space-between; align-items:flex-start; gap:10px;}
.fac h3{margin:0; font-size:16px; font-weight:900; line-height:1.45;}
.fac .cat{font-size:12px; color:var(--teal-text); font-weight:700;}
.badge{flex:0 0 auto; font-size:11px; font-weight:900; padding:4px 10px; border-radius:999px; white-space:nowrap;}
.badge.ok{background:var(--teal-text); color:#fff;}
.badge.full{background:var(--warn-ink); color:#fff;}
.badge.stale{background:#EFE9E2; color:var(--ink); border:1px dashed var(--sub);}
.fac .meta{font-size:12.5px; color:var(--sub); margin-top:6px;}
.tags{display:flex; flex-wrap:wrap; gap:6px; margin-top:10px;}
.tag{font-size:11.5px; background:var(--bg); border:1px solid var(--line); border-radius:8px; padding:3px 8px;}
.fac .cond{font-size:13.5px; margin-top:10px; background:var(--bg); border-radius:12px; padding:10px 12px;}
.fac .verify{
  margin-top:10px; padding-top:10px; border-top:1px dashed var(--line);
  font-size:11.5px; color:var(--sub); display:flex; justify-content:space-between;
  align-items:center; gap:8px; flex-wrap:wrap;
}
.tel-s{
  display:inline-flex; align-items:center; gap:7px; min-height:var(--tap);
  background:var(--accent-btn); color:#fff; text-decoration:none;
  font-family:"Baloo 2",cursive; font-weight:800; font-size:15px;
  padding:7px 16px; border-radius:12px;
}
.tel-s::before{
  content:""; width:15px; height:15px; flex:0 0 auto; background:currentColor;
  -webkit-mask:var(--ico-tel) center/contain no-repeat; mask:var(--ico-tel) center/contain no-repeat;
}

/* 施設がまだ1件も無いとき（公開初日はこの状態） */
.fac-empty{
  background:#fff; border:2px dashed var(--line); border-radius:var(--r);
  padding:24px 20px; text-align:center; color:var(--sub); font-size:14px; line-height:1.8;
}
.fac-empty b{display:block; color:var(--ink); font-size:15.5px; margin-bottom:6px;}

.notice-cta{
  border:2px dashed var(--teal); background:var(--teal-soft); border-radius:var(--r);
  padding:16px; text-align:center; font-size:13.5px; margin:20px 0;
}
.notice-cta b{display:block; font-size:15px; margin-bottom:4px;}
.btn{
  display:inline-block; background:var(--accent-btn); color:#fff; border:0; cursor:pointer;
  font-family:inherit; font-weight:900; font-size:14.5px; padding:12px 22px; border-radius:14px;
  text-decoration:none; margin-top:8px;
}
.btn.sec{background:#fff; color:var(--teal-text); border:2px solid var(--teal);}
.btn:disabled{opacity:.5; cursor:not-allowed;}

/* ---------- フォーム ---------- */
label{display:block; font-weight:900; font-size:13.5px; margin:16px 0 5px;}
label .req{color:var(--accent-btn); font-size:11px; margin-left:6px;}
label .opt{color:var(--sub); font-size:11px; margin-left:6px; font-weight:700;}
/* font-size は 16px を下回らせない。iOS Safari は 16px 未満の入力欄にフォーカスすると
   ページを自動でズームしてしまい、被災地で片手操作している人がピンチで戻す羽目になる。 */
input[type=text],input[type=tel],input[type=email],input[type=url],select,textarea{
  width:100%; border:2px solid var(--line); border-radius:12px; padding:11px 12px;
  font-family:inherit; font-size:16px; background:#fff; color:var(--ink);
  min-height:var(--tap);
}
/* appearance を切ったぶん、選択欄の矢印を自前で描く */
select{
  padding-right:38px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A6857' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 12px center; background-size:18px 18px;
}
textarea{min-height:96px; line-height:1.7;}
input:focus,select:focus,textarea:focus{outline:none; border-color:var(--teal);}
.hint{font-size:11.5px; color:var(--sub); margin-top:3px; line-height:1.6;}
.chips{display:flex; flex-wrap:wrap; gap:8px; margin-top:2px;}
.chip{position:relative;}
.chip input{position:absolute; opacity:0; inset:0; cursor:pointer;}
.chip span{
  display:inline-block; border:2px solid var(--line); border-radius:999px;
  padding:7px 14px; font-size:13px; font-weight:700; background:#fff; color:var(--sub);
}
.chip input:checked + span{border-color:var(--teal-text); background:var(--teal-soft); color:var(--teal-text);}
.chip input:focus-visible + span{outline:3px solid var(--teal-text); outline-offset:2px;}
.formsec{border-top:2px solid var(--line); margin-top:22px; padding-top:6px;}
.formsec:first-child{border-top:0; margin-top:0;}
.formsec .fst{font-family:"Baloo 2",cursive; font-weight:800; color:var(--accent); font-size:13px;}
.formsec h3{margin:2px 0 2px; font-size:15.5px; font-weight:900;}
.agreebox{background:var(--warn-soft); border-radius:14px; padding:14px; font-size:12.5px; margin-top:18px; line-height:1.75;}
.agreebox label{display:flex; gap:10px; align-items:flex-start; font-size:13px; margin:10px 0 0; min-height:var(--tap); padding:4px 0;}
/* 既定の 13px は被災地で片手操作するには小さい。ラベル全体も押せるが、四角自体も大きくする。 */
.agreebox input[type=checkbox]{margin-top:3px; width:20px; height:20px; flex:0 0 auto; accent-color:var(--accent-btn);}
.submitrow{margin-top:20px; text-align:center;}
/* honeypot。人には見えず、スクリーンリーダーにも読ませない */
.hp{position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden;}

/* 申請の流れ */
.flowline{display:flex; gap:0; margin:14px 0 4px; font-size:11px; text-align:center; color:var(--sub);}
.flowline div{flex:1; position:relative; padding-top:26px;}
.flowline div::before{
  content:""; position:absolute; top:8px; left:50%; transform:translateX(-50%);
  width:12px; height:12px; border-radius:50%; background:var(--line);
}
.flowline div.hot::before{background:var(--accent);}
.flowline div::after{
  content:""; position:absolute; top:13px; left:calc(50% + 8px); right:calc(-50% + 8px);
  height:2px; background:var(--line);
}
.flowline div:last-child::after{display:none;}

/* 入力エラー・完了メッセージ */
.msg{border-radius:14px; padding:14px 16px; font-size:14px; margin:16px 0; line-height:1.8;}
.msg.err{background:var(--danger-soft); border:2px solid var(--danger); color:#8C2E20;}
.msg.ok{background:var(--teal-soft); border:2px solid var(--teal); color:var(--teal-text);}
.msg ul{margin:8px 0 0; padding-left:20px;}
.field-err{border-color:var(--danger) !important;}

/* ---------- 事業者向け 状態更新 ---------- */
.statusrow{display:flex; flex-wrap:wrap; gap:10px; margin-top:12px;}
.statusrow button{
  flex:1 1 30%; min-width:120px; font-family:inherit; font-weight:900; font-size:13.5px;
  border-radius:12px; padding:12px 10px; cursor:pointer;
  border:2px solid var(--line); background:#fff; color:var(--sub);
}
.statusrow button.on{border-color:var(--teal-text); background:var(--teal-soft); color:var(--teal-text);}

/* ---------- お散歩・熱中症の目安 ---------- */
/* 危険度で地の色を変える。色だけに意味を持たせず、必ず見出しの言葉でも同じことを言う
   （色覚特性のある方・強い日差しの下でも判断できるように）。 */
.wx{
  border-radius:var(--r); padding:18px 20px; border:2px solid var(--line);
  background:var(--card);
}
.wx.lv-danger{background:var(--danger-soft); border-color:var(--danger);}
.wx.lv-warn{background:var(--warn-soft); border-color:var(--warn);}
.wx.lv-caution{background:#FFF7EC; border-color:var(--peach,#FFB6A3);}
.wx.lv-cold{background:#E6F0FB; border-color:#4A90D9;}
.wx.lv-safe{background:var(--teal-soft); border-color:var(--teal);}
.wx .lv{
  display:inline-block; font-size:12px; font-weight:900; letter-spacing:.04em;
  padding:4px 12px; border-radius:999px; background:var(--ink); color:#fff; margin-bottom:10px;
}
.wx.lv-danger .lv{background:#A3251A;}
.wx.lv-warn .lv{background:var(--warn-ink);}
.wx.lv-safe .lv{background:var(--teal-text);}
.wx.lv-cold .lv{background:#22568C;}
.wx h3{margin:0 0 6px; font-size:19px; font-weight:900; line-height:1.45;}
.wx .note{margin:0; font-size:14.5px; line-height:1.8;}
.wx dl{
  display:grid; grid-template-columns:repeat(2,1fr); gap:1px;
  margin:16px 0 0; padding:0; background:rgba(43,47,51,.12);
  border-radius:14px; overflow:hidden;
}
@media(min-width:480px){.wx dl{grid-template-columns:repeat(4,1fr);}}
.wx dl>div{background:var(--card); padding:10px 12px; text-align:center;}
.wx dt{font-size:11.5px; font-weight:700; color:var(--sub); margin:0 0 2px;}
.wx dd{
  margin:0; font-family:"Baloo 2",cursive; font-weight:800; font-size:20px;
  line-height:1.2; color:var(--ink); font-variant-numeric:tabular-nums;
}
.wx dd small{font-family:inherit; font-size:12px; font-weight:700; color:var(--sub);}
/* 注記も本文色のまま。地の色がレベルで変わるため --sub だと危険レベルの地で 4.39:1 と
   AA を割る。強い日差しの下で読む前提なので、小ささで弱め、色では弱めない。 */
.wx .src{
  margin:14px 0 0; padding-top:12px; border-top:1px solid rgba(43,47,51,.15);
  font-size:11.5px; color:var(--ink); line-height:1.7;
}

/* ---------- フッター ---------- */
footer{margin-top:48px; padding:26px 0 34px; background:var(--ink); color:#C9C1B8; font-size:12.5px; line-height:1.9;}
footer h3{color:#fff; font-size:14px; margin:0 0 8px; font-weight:900;}
footer a{color:#8FD6CD;}
footer ul{padding-left:18px; margin:0 0 18px;}
.brandline{margin-top:20px; padding-top:16px; border-top:1px solid #43484D; font-family:"Baloo 2",cursive; font-weight:800; font-size:15px; color:#fff;}
.brandline span{display:block; font-family:"Zen Maru Gothic",sans-serif; font-weight:500; font-size:12.5px; color:#C9C1B8; margin-top:4px;}

/* ---------- 固定バー ---------- */
/* 下端に常駐する2つの行き先。どこまで読み進んでも「電話一覧へ戻る」と
   「避難所の最新情報（公式）」の2択に戻れる。電話番号そのものは置かない
   ——熊本市とそれ以外で管轄窓口が違い、片方の人を必ず間違った先へ送るため。 */
/* 下端の安全域（ホームインジケータ）ぶんを必ず空ける。viewport-fit=cover を
   指定していないと env() が 0 になり、iPhone でボタンが下端に貼り付く。 */
.sticky{
  position:fixed; left:0; right:0; bottom:0; z-index:50;
  background:rgba(43,47,51,.97);
  padding:10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}
.sticky .in{display:flex; gap:8px; max-width:688px; margin:0 auto;}
.sticky a{
  flex:1 1 0; display:flex; align-items:center; justify-content:center; gap:7px;
  min-height:var(--tap); text-align:center; text-decoration:none; font-weight:900;
  padding:10px 8px; border-radius:14px; font-size:14px; line-height:1.3;
}
@media(max-width:379px){.sticky a{font-size:13px;}}
.sticky .call{background:#fff; color:var(--accent-btn);}
.sticky .call::before{
  content:""; width:15px; height:15px; flex:0 0 auto; background:currentColor;
  -webkit-mask:var(--ico-tel) center/contain no-repeat; mask:var(--ico-tel) center/contain no-repeat;
}
.sticky .ext{background:var(--accent-btn); color:#fff;}
.sticky a:active{opacity:.85;}

@media print{
  /* .has-sticky の 88px を確実に打ち消す（body だけだと詳細度で負けて、
     固定バーは消えているのに下端の余白だけが残る）。避難所で配る紙になるので効かせる。 */
  body,body.has-sticky{background:#fff; padding-bottom:0;}
  .sticky{display:none;}
  .masthead{background:#fff; color:#000; border-bottom:2px solid #000;}
  .masthead h1{color:#000;} .stamp{color:#333;} .stamp b{color:#000;}
  footer{background:#fff; color:#000;} footer h3{color:#000;} footer a{color:#000;}
  .brandline{color:#000; border-top:1px solid #000;}
  a{text-decoration:underline;}
  .tel,.tel-s{background:#fff; color:#000; border:2px solid #000;}
  .tel::before,.tel-s::before{display:none;}
  /* 紙の上では地図は開けない。住所はただの文字として読ませる。 */
  .maplink{color:#000; text-decoration:none; min-height:0; padding:0; font-weight:500;}
  .maplink::before{display:none;}
  /* 紙では絞り込めない。目次は残す（何ページ目に何があるかの道しるべになる）。 */
  .filter{display:none;}
  .toc a{border-color:#000;}
  /* 背景色は既定で印刷されないので、枠線で情報の区切りを保つ。 */
  .wx{border:2px solid #000;}
  .wx .lv{background:#fff; color:#000; border:1px solid #000;}
  .wx dl{background:#fff; gap:0;}
  .wx dl>div{border:1px solid #000;}
}
@media (prefers-reduced-motion:reduce){*{transition:none !important;}}
:focus-visible{outline:3px solid var(--teal-text); outline-offset:2px;}
