/* =========================================================
   cococha TOP PAGE (home) — design: design/top_new.png
   style.min.css の後に読み込む。トップページ専用。
   ========================================================= */

.hm-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hm-sec { margin-bottom: 26px; }
.hm-arw { font-family: system-ui, sans-serif; }

/* ---------- Hero ---------- */
.hm-hero {
  position: relative;
  overflow: hidden;
  background: #0e4f9e url("img/home/hero.jpg") center 58% / cover no-repeat;
}
.hm-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(5,48,110,.93) 0%,
    rgba(8,68,148,.82) 32%,
    rgba(12,92,178,.38) 56%,
    rgba(12,92,178,0) 76%);
}
.hm-hero-in {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 34px 20px 28px;
  color: #fff;
}
.hm-hero-badge {
  display: inline-block;
  background: #fff; color: #14396e;
  font-weight: 700; font-size: .8rem;
  padding: 7px 18px; border-radius: 999px;
  box-shadow: 0 3px 12px rgba(3,25,60,.22);
}
.hm-hero-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900;
  font-size: clamp(1.85rem, 4.6vw, 3.1rem);
  line-height: 1.16; letter-spacing: -.02em;
  margin: 14px 0 6px;
  text-shadow: 0 2px 16px rgba(3,25,60,.5);
}
.hm-hero-sub {
  font-size: clamp(.9rem, 1.7vw, 1.1rem);
  font-weight: 700;
  text-shadow: 0 1px 12px rgba(3,25,60,.6);
}
.hm-hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px;
  background: linear-gradient(180deg, #2f83ef, #0f5fd0);
  color: #fff; font-weight: 800; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(3,40,90,.38);
  transition: .2s;
}
.hm-hero-cta:hover { opacity: 1; color: #fff; transform: translateY(-1px); box-shadow: 0 9px 24px rgba(3,40,90,.45); }
.hm-hero-cta svg { width: 19px; height: 19px; fill: #fff; }
.hm-hero-update {
  display: flex; align-items: center; gap: 8px;
  margin-top: 16px;
  font-size: .82rem; font-weight: 700;
  text-shadow: 0 1px 10px rgba(3,25,60,.7);
}
.hm-hero-update svg { width: 17px; height: 17px; fill: #fff; opacity: .9; flex: none; }
.hm-hero-note {
  position: absolute; right: 40px; top: 26%;
  z-index: 1;
  font-family: 'Yomogi', 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.12rem; line-height: 2;
  color: #fff; text-align: right;
  transform: rotate(-6deg);
  text-shadow: 0 2px 12px rgba(3,25,60,.55);
}
.hm-hero-note::after {
  content: ""; display: block; height: 2px;
  background: #fff; opacity: .85; border-radius: 2px; margin-top: 8px;
}
@media (max-width: 1080px) { .hm-hero-note { display: none; } }
@media (max-width: 640px)  { .hm-hero-in { padding: 26px 18px 22px; } }

/* ---------- 特集バナー（台風ガイド／今日のまとめ） ---------- */
.hm-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.hm-cta {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 16px 11px 11px; border-radius: 14px;
  color: #fff; text-decoration: none;
  font-weight: 700; font-size: .88rem; line-height: 1.45;
  box-shadow: 0 4px 14px rgba(10,50,110,.18);
  transition: .2s;
}
.hm-cta:hover { opacity: 1; color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(10,50,110,.26); }
.hm-cta img { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.hm-cta > span { flex: 1; min-width: 0; }
.hm-cta > .hm-cta-arw { flex: none; font-size: 1.1rem; font-weight: 900; opacity: .9; }
.hm-cta.is-typhoon { background: linear-gradient(100deg, #0f5fd0 0%, #0d8fbf 55%, #10a7c0 100%); }
.hm-cta.is-matome  { background: linear-gradient(100deg, #0a9c95 0%, #0da882 55%, #12b478 100%); }
@media (max-width: 940px) { .hm-ctas { grid-template-columns: 1fr; } }

/* ---------- データ注記（app.js の DataNotice が挿入）の上下余白 ---------- */
.site-main { padding-top: 18px; }
.site-main .data-notice { margin: 0 0 22px; }

/* ---------- Section head ---------- */
.hm-head { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; flex-wrap: wrap; }
.hm-head-ico { width: 30px; height: 30px; flex: none; display: block; object-fit: contain; }
.hm-head h2 {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 900; font-size: 1.1rem; color: #0b3a7d; line-height: 1.3;
}
[data-theme="dark"] .hm-head h2 { color: var(--text); }
.hm-head .hm-note { font-size: .76rem; color: var(--text-muted); font-weight: 500; }
.hm-more {
  margin-left: auto; white-space: nowrap;
  font-size: .77rem; font-weight: 700; color: var(--accent); text-decoration: none;
}
.hm-more:hover { text-decoration: underline; opacity: 1; }
.hm-head .loading-indicator { font-size: .74rem; color: var(--text-muted); }
.hm-head .loading-indicator .spinner { width: 15px; height: 15px; border-width: 2px; }

/* ---------- 現在の危険状況（stats） ---------- */
.hm-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-stat {
  display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); background: var(--surface);
  text-decoration: none; transition: .2s;
  box-shadow: 0 2px 10px rgba(20,60,120,.07);
}
.hm-stat:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20,60,120,.17); }
.hm-stat-h {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; min-height: 56px; color: #fff; font-weight: 800; line-height: 1.3;
}
.hm-stat-h svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.hm-stat-h b { font-size: .92rem; display: block; }
.hm-stat-h small { font-size: .78rem; font-weight: 700; opacity: .95; display: block; }
.hm-stat-b { display: flex; align-items: center; gap: 9px; padding: 12px 14px; }
.hm-stat-b > svg { width: 26px; height: 20px; flex: none; }
.hm-stat-n { font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: 2.05rem; line-height: 1; }
.hm-stat-u { font-size: .78rem; font-weight: 800; color: var(--text-muted); }
.hm-stat-b .hm-arw { margin-left: auto; font-size: 1.1rem; color: var(--text-light); }

.hm-stat-b > svg { color: currentColor; }
.hm-stat.is-danger  .hm-stat-b > svg { color: #f08ba4; }
.hm-stat.is-warn    .hm-stat-b > svg { color: #f7a85c; }
.hm-stat.is-caution .hm-stat-b > svg { color: #f0cd57; }

.hm-stat.is-danger  { border-color: #f3b7c4; }
.hm-stat.is-danger  .hm-stat-h { background: #e8365d; }
.hm-stat.is-danger  .hm-stat-b { background: #fdeef2; }
.hm-stat.is-danger  .hm-stat-n, .hm-stat.is-danger .hm-stat-u { color: #e8365d; }
.hm-stat.is-warn    { border-color: #f8cb9d; }
.hm-stat.is-warn    .hm-stat-h { background: #f5821f; }
.hm-stat.is-warn    .hm-stat-b { background: #fef6ec; }
.hm-stat.is-warn    .hm-stat-n, .hm-stat.is-warn .hm-stat-u { color: #ef7a12; }
.hm-stat.is-caution { border-color: #f6dd8e; }
.hm-stat.is-caution .hm-stat-h { background: #f5c518; color: #4a3800; }
.hm-stat.is-caution .hm-stat-b { background: #fefaea; }
.hm-stat.is-caution .hm-stat-n { color: #14396e; }
.hm-stat.is-caution .hm-stat-u { color: #7a6a2a; }
.hm-stat.is-pref    { border-color: #b9dbfa; }
.hm-stat.is-pref    .hm-stat-h { background: #cfe6fb; color: #14396e; }
.hm-stat.is-pref    .hm-stat-b { background: #f2f9ff; }
.hm-stat.is-pref    .hm-stat-n { color: #14396e; }
.hm-stat.is-pref    .hm-stat-u { color: #4a6ea0; }
@media (max-width: 900px) { .hm-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .hm-stats { grid-template-columns: 1fr; } }

/* ---------- 2カラム行 ---------- */
.hm-row2 { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 940px) { .hm-row2 { grid-template-columns: minmax(0, 1fr); } }
.hm-card {
  min-width: 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
  box-shadow: 0 2px 10px rgba(20,60,120,.06);
}
.hm-card .hm-head { margin-bottom: 8px; }
.hm-subtitle { font-size: .84rem; font-weight: 800; color: #0b3a7d; margin: 6px 0 2px; }
[data-theme="dark"] .hm-subtitle { color: var(--text); }

/* 危険度ランキング／最新更新河川（app.js が描画するマークアップを整形） */
.hm-rank .ranking-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 2px; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: .15s;
}
.hm-rank .ranking-item:last-child { border-bottom: none; }
.hm-rank .ranking-item:hover { opacity: 1; color: var(--accent); }
.hm-rank .ranking-num { width: 16px; flex: none; text-align: center; font-weight: 900; font-size: .9rem; color: var(--text-muted); font-family: 'Zen Kaku Gothic New', sans-serif; }
.hm-rank .ranking-num.rank1 { color: #e8365d; }
.hm-rank .ranking-num.rank2 { color: #f5821f; }
.hm-rank .ranking-num.rank3 { color: #e0a800; }
.hm-rank .ranking-info { flex: 1; min-width: 0; }

/* 危険度ランキングの行（デザイン画像準拠：順位／レベル丸／河川名（県）／Lvピル／情報名／時刻） */
.hm-rank #dangerRankingList .ranking-item { gap: 9px; }
.hm-rank #dangerRankingList .ranking-num,
.hm-rank #dangerRankingList .ranking-num.rank1,
.hm-rank #dangerRankingList .ranking-num.rank2,
.hm-rank #dangerRankingList .ranking-num.rank3 { color: var(--text); }
.hm-rank .ranking-lv {
  flex: none; width: 30px; height: 21px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Zen Kaku Gothic New', sans-serif; font-weight: 900; font-size: .78rem; color: #fff;
}
.hm-rank .ranking-river {
  flex: 1; min-width: 0; font-size: .86rem; font-weight: 700; color: #0b3a7d;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hm-rank .ranking-pref { font-weight: 500; color: var(--text-muted); }
.hm-rank .ranking-label { flex: none; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.hm-rank .ranking-time { flex: none; width: 40px; text-align: right; font-size: .74rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hm-rank .ranking-lv.lv5, .hm-rank .ranking-label.lv5 { background: #7c2d12; }
.hm-rank .ranking-lv.lv4, .hm-rank .ranking-label.lv4 { background: #e8365d; }
.hm-rank .ranking-lv.lv3, .hm-rank .ranking-label.lv3 { background: #f5821f; }
.hm-rank .ranking-lv.lv2, .hm-rank .ranking-label.lv2 { background: #f5c518; color: #4a3800; }
.hm-rank .ranking-label { background: none !important; }
.hm-rank .ranking-label.lv5 { color: #7c2d12; }
.hm-rank .ranking-label.lv4 { color: #e8365d; }
.hm-rank .ranking-label.lv3 { color: #f5821f; }
.hm-rank .ranking-label.lv2 { color: #a07f0a; }
.hm-rank #dangerRankingList .ranking-badge { min-width: 42px; text-align: center; padding: 4px 8px; }
[data-theme="dark"] .hm-rank .ranking-river { color: var(--text); }
@media (max-width: 1180px) and (min-width: 941px) { .hm-rank .ranking-label { display: none; } }
@media (max-width: 560px) { .hm-rank .ranking-label { display: none; } }
.hm-rank .ranking-name { font-weight: 700; font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-rank .ranking-sub { font-size: .7rem; color: var(--text-muted); }
.hm-rank .ranking-badge { flex: none; font-size: .68rem; font-weight: 800; padding: 4px 9px; border-radius: 6px; }
.hm-rank .ranking-badge.lv5 { background: #7c2d12; color: #fff; }
.hm-rank .ranking-badge.lv4 { background: #e8365d; color: #fff; }
.hm-rank .ranking-badge.lv3 { background: #f5821f; color: #fff; }
.hm-rank .ranking-badge.lv2 { background: #f5c518; color: #4a3800; }
.hm-latest { margin: 12px -18px 0; padding: 13px 18px 0; border-top: 1px solid var(--border); }
.hm-latest .hm-head { margin-bottom: 4px; }

/* 最新更新河川（デザイン画像準拠：河川名（県） 時刻 › を横並び） */
.hm-rank #latestUpdatedList { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 10px; padding: 3px 0 2px; }
.hm-rank .latest-item { display: inline-flex; align-items: baseline; gap: 8px; text-decoration: none; color: #0b3a7d; font-size: .82rem; font-weight: 700; }
.hm-rank .latest-item:hover { opacity: 1; color: var(--accent); }
.hm-rank .latest-pref { font-weight: 500; color: var(--text-muted); }
.hm-rank .latest-time { font-size: .76rem; font-weight: 500; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hm-rank .latest-sep { color: #a9c6e8; font-size: .95rem; line-height: 1; }
.hm-rank .latest-empty { font-size: .8rem; color: var(--text-muted); padding: 6px 0; }
[data-theme="dark"] .hm-rank .latest-item { color: var(--text); }

/* 最新防災ニュース */
.hm-news {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 11px 2px; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text); transition: .15s;
}
.hm-news:last-child { border-bottom: none; }
.hm-news:hover { opacity: 1; }
.hm-news:hover .hm-news-t { color: var(--accent); }
.hm-news time { flex: none; width: 86px; padding-top: 2px; font-size: .72rem; font-weight: 700; color: #5079a8; }
.hm-news-t { flex: 1; font-size: .84rem; font-weight: 600; line-height: 1.55; color: #26527f; }
[data-theme="dark"] .hm-news time { color: var(--text-muted); }
[data-theme="dark"] .hm-news-t { color: var(--text); }
.hm-news .hm-arw { color: var(--text-light); font-size: 1rem; }
.hm-news-empty { font-size: .82rem; color: var(--text-muted); text-align: center; padding: 18px 0; }

/* ---------- 全国洪水マップ ---------- */
.hm-mapcard {
  position: relative; overflow: hidden;
  border: 1px solid #cfe4fb; border-radius: 14px;
  background:
    radial-gradient(170px 82px at 18% 24%, rgba(255,255,255,.92), rgba(255,255,255,0) 72%),
    radial-gradient(210px 92px at 58% 12%, rgba(255,255,255,.82), rgba(255,255,255,0) 72%),
    radial-gradient(190px 84px at 36% 90%, rgba(255,255,255,.72), rgba(255,255,255,0) 72%),
    radial-gradient(160px 74px at 90% 66%, rgba(255,255,255,.7), rgba(255,255,255,0) 72%),
    linear-gradient(165deg, #f3fbff 0%, #dcf0ff 45%, #c6e3fd 100%);
  padding: 20px 20px; min-height: 262px;
  display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center;
}
.hm-mapcard .hm-head h2 { color: #0b3a7d; font-size: 1.45rem; }
.hm-mapcard .hm-head-ico { width: 36px; height: 36px; }
.hm-map-desc { font-size: .86rem; font-weight: 600; color: #244f86; line-height: 1.8; margin-bottom: 16px; }
.hm-map-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(180deg, #2f83ef, #0f5fd0);
  color: #fff; font-weight: 800; font-size: .85rem;
  padding: 10px 18px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 5px 14px rgba(10,60,140,.28); transition: .2s;
}
.hm-map-cta:hover { opacity: 1; color: #fff; transform: translateY(-1px); }
.hm-map-cta svg { width: 17px; height: 17px; fill: #fff; }
.hm-mapvis { position: relative; width: 286px; flex: none; display: flex; align-items: center; }
.hm-mapvis img { width: 182px; height: auto; margin: -14px 0; border-radius: 0; box-shadow: none; }
.hm-legend { position: absolute; right: -12px; top: 50%; transform: translateY(-50%); z-index: 1; background: rgba(255,255,255,.93); border-radius: 12px; padding: 11px 13px; box-shadow: 0 3px 12px rgba(20,70,140,.13); }
.hm-legend li { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; color: #14396e; padding: 3.5px 0; list-style: none; white-space: nowrap; }
.hm-legend i { width: 11px; height: 11px; border-radius: 50%; flex: none; }
@media (max-width: 1140px) { .hm-mapvis { width: 258px; } .hm-mapvis img { width: 158px; margin: -8px 0; } }
@media (max-width: 780px) {
  .hm-mapcard { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 20px; }
  .hm-mapvis { width: 100%; flex-direction: column; justify-content: center; gap: 12px; }
  .hm-mapvis img { width: 168px; margin: 0 auto; }
  .hm-legend { position: static; transform: none; align-self: center; max-width: 100%;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; padding: 10px 14px; }
}

/* ---------- 地域から確認 ---------- */
.hm-regions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hm-region {
  display: flex; align-items: center; gap: 9px;
  padding: 11px 12px; border: 1px solid var(--border); border-radius: 11px;
  background: var(--surface); cursor: pointer; font: inherit; text-align: left; transition: .18s;
}
.hm-region:hover { border-color: var(--accent); box-shadow: 0 4px 12px rgba(20,60,120,.1); }
.hm-region.active { border-color: var(--accent); background: #eaf3ff; }
.hm-region-ico { width: 26px; height: 26px; flex: none; object-fit: contain; display: block; }
.hm-region b { font-size: .84rem; font-weight: 800; color: var(--text); }
.hm-region .hm-arw { margin-left: auto; color: var(--text-light); font-size: .95rem; }
@media (max-width: 520px) { .hm-regions { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 都道府県別 ---------- */
.hm-prefgrid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
@media (max-width: 1080px) { .hm-prefgrid { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 760px)  { .hm-prefgrid { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 460px)  { .hm-prefgrid { grid-template-columns: repeat(4, 1fr); } }
.hm-prefgrid .pref-card {
  position: relative; display: block; text-align: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  padding: 8px 4px 7px; text-decoration: none; transition: .18s;
}
.hm-prefgrid .pref-card:hover { border-color: var(--accent); background: #f2f8ff; transform: none; box-shadow: 0 3px 10px rgba(20,60,120,.1); }
.hm-prefgrid .pref-card.has-warning { border-left: 1px solid #f5a623; border-color: #f5a623; background: #fff9f0; }
.hm-prefgrid .pref-card.has-danger  { border-left: 1px solid #e8365d; border-color: #e8365d; background: #fff2f5; }
.hm-prefgrid .pref-name { font-size: .8rem; font-weight: 700; color: var(--text); }
.hm-prefgrid .pref-status { font-size: .6rem; color: var(--text-light); margin-top: 1px; }
.hm-prefgrid .pref-dot { position: absolute; top: 5px; right: 5px; margin: 0; width: 6px; height: 6px; border-radius: 50%; background: transparent; }
.hm-prefgrid .pref-dot.warning { background: #f5821f; }
.hm-prefgrid .pref-dot.danger  { background: #e8365d; }

/* ---------- 警戒レベルの目安 ---------- */
.hm-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hm-lv { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.hm-lv-h { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #fff; }
.hm-lv-ic { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 2px 8px rgba(0,0,0,.2); font-style: normal; font-size: 21px; line-height: 1; }
.hm-lv-h b { font-family: 'Zen Kaku Gothic New', sans-serif; font-size: 1.32rem; font-weight: 900; line-height: 1.1; display: block; }
.hm-lv-h span { font-size: .9rem; font-weight: 800; }
.hm-lv-b { flex: 1; padding: 12px 14px; font-size: .78rem; line-height: 1.75; color: var(--text-muted); }
.hm-lv.lv5 .hm-lv-h { background: #2c2c33; } .hm-lv.lv5 .hm-lv-b { background: #f5f5f7; } .hm-lv.lv5 { border-color: #d5d5da; }
.hm-lv.lv4 .hm-lv-h { background: #e8365d; } .hm-lv.lv4 .hm-lv-b { background: #fdeef2; } .hm-lv.lv4 { border-color: #f3b7c4; }
.hm-lv.lv3 .hm-lv-h { background: #f5821f; } .hm-lv.lv3 .hm-lv-b { background: #fef5eb; } .hm-lv.lv3 { border-color: #f8cb9d; }
.hm-lv.lv2 .hm-lv-h { background: #f5c518; color: #4a3800; } .hm-lv.lv2 .hm-lv-b { background: #fefaea; } .hm-lv.lv2 { border-color: #f6dd8e; }
@media (max-width: 900px) { .hm-levels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .hm-levels { grid-template-columns: 1fr; } }

/* ---------- よくある質問 ---------- */
/* カード背景はデザイン画像どおり白→淡いブルーの縦グラデーション */
.faq-section .hm-card {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 48%, #e4f4fe 100%);
  border-color: #d9ecfa;
}
[data-theme="dark"] .faq-section .hm-card { background: var(--surface); border-color: var(--border); }
.hm-faqgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: start; }
.hm-faqgrid .faq-item { border: 1px solid var(--border); border-bottom: 1px solid var(--border); border-radius: 10px; background: var(--surface); overflow: hidden; }
.hm-faqgrid .faq-q { width: 100%; display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: .81rem; font-weight: 700; }
.hm-faqgrid .faq-q::before { content: none; }
.hm-faqgrid .faq-q::after { content: "⌄"; margin-left: auto; font-size: 1rem; color: var(--text-light); transform: none; }
.hm-faqgrid .faq-q[aria-expanded="true"]::after { content: "⌃"; transform: none; }
.hm-faqgrid .faq-a { padding: 0 14px 13px; font-size: .78rem; line-height: 1.8; }
.hm-faqgrid .faq-a::before { content: none; }
@media (max-width: 940px) { .hm-faqgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hm-faqgrid { grid-template-columns: 1fr; } }

/* ---------- 下部リンクカード ---------- */
.hm-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hm-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 11px;
  background: var(--surface); text-decoration: none; color: var(--text);
  font-weight: 700; font-size: .81rem; line-height: 1.45; transition: .18s;
}
.hm-link:hover { opacity: 1; border-color: var(--accent); color: var(--accent); box-shadow: 0 4px 12px rgba(20,60,120,.1); }
.hm-link > span:first-of-type { flex: 1; min-width: 0; }
.hm-link .hm-arw { color: var(--text-light); font-size: 1rem; flex: none; }
.hm-link-ico { width: 26px; height: 26px; flex: none; object-fit: contain; display: block; }
.hm-link-thumb { width: 44px; height: 44px; flex: none; border-radius: 9px; object-fit: cover; display: block; }
.hm-link.is-photo { padding: 8px 12px 8px 8px; }
@media (max-width: 940px) { .hm-links { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .hm-links { grid-template-columns: 1fr; } }

/* ---------- 広告が配信されなかったときは枠ごと畳む（空白対策） ---------- */
ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

/* ---------- app.js が差し込む気象警報セクションの見出しを新デザインに合わせる ---------- */
.site-main .warnings-section .section-title {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 1.1rem; font-weight: 900; margin-bottom: 13px; padding: 0;
}
.site-main .warnings-section .section-title::after { display: none; }
.site-main .warnings-section { margin-bottom: 26px; }
