:root{
  --bg:#ffffff;
  --panel:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
  --accent:#2563eb;
  --radius:14px;
  --maxw:980px;
  --shadow:0 10px 24px rgba(17,24,39,.08);
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    Meiryo,
    sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{
  color:var(--accent);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.wrap{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 16px;
}

header{
  background:#111;
  color:#fff;
  border-bottom:1px solid #000;
}

.topbar{
  padding:20px 0 18px;
  display:flex;
  gap:12px;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
}

h1{
  margin:0;
  font-size:20px;
  letter-spacing:.02em;
  color:#fff;
}

.sub{
  margin:6px 0 0;
  color:#d1d5db;
  font-size:13px;
  line-height:1.7;
}

.badge{
  display:inline-block;
  font-size:12px;
  color:#111;
  background:#f3f4f6;
  border:1px solid rgba(255,255,255,.12);
  padding:6px 10px;
  border-radius:999px;
}

main{
  padding:22px 0 54px;
}

.section{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
  margin-bottom:16px;
}

.section h2{
  margin:0 0 10px;
  font-size:16px;
}

.p{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.9;
}

.menu{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.btn{
  display:block;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--text);
  font-weight:600;
}

.btn:hover{
  text-decoration:none;
  border-color:rgba(37,99,235,.45);
  background:#f8fbff;
  box-shadow:0 10px 22px rgba(37,99,235,.10);
}

.btn.blue{
  background:rgba(37,99,235,.08)!important;
  border-color:rgba(37,99,235,.28)!important;
}

.btn.orange{
  background:rgba(249,115,22,.08)!important;
  border-color:rgba(249,115,22,.28)!important;
}

.btn.gray{
  background:rgba(107,114,128,.08);
  border-color:rgba(107,114,128,.28);
}

footer{
  border-top:1px solid var(--line);
  background:#fff;
  padding:18px 0;
  color:var(--muted);
  font-size:12px;
}

.video-wrap{
  width:100%;
  aspect-ratio:16/9;
  background:#000;
  border-radius:12px;
  overflow:hidden;
  border:1px solid var(--line);
}

video{
  width:100%;
  height:100%;
  object-fit:contain;
}

.table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}

.table th,
.table td{
  border-bottom:1px solid var(--line);
  padding:10px 8px;
}

.table th{
  color:var(--muted);
  font-weight:700;
  width:170px;
}



/* =============================
   災害カード
   ============================= */

.disaster-cards{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.disaster-card{
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow);
}

.disaster-head{
  padding:14px;
  border-bottom:1px solid rgba(0,0,0,.05);
}

.disaster-title{
  margin:0;
  font-size:16px;
}


/* 津波 */

.disaster-card.tsunami{
  background:rgba(37,99,235,.05);
  border-color:rgba(37,99,235,.22);
}

.disaster-card.tsunami .disaster-title{
  color:#1e40af;
}


/* 噴火 */

.disaster-card.volcano{
  background:rgba(249,115,22,.05);
  border-color:rgba(249,115,22,.22);
}

.disaster-card.volcano .disaster-title{
  color:#9a3412;
}


/* =============================
   都市カードグリッド
   ============================= */

.city-grid{
  padding:14px;
  display:grid;
  gap:14px;

  grid-template-columns:
    repeat(auto-fit,minmax(260px,1fr));
}


/* =============================
   都市カード
   ============================= */

.city-card{
  display:block;
  border-radius:12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  overflow:hidden;
  color:var(--text);
  text-decoration:none;
  box-shadow:0 8px 20px rgba(17,24,39,.06);
  transition:.15s;
}

.city-card:hover{
  text-decoration:none;
  transform:translateY(-2px);
  box-shadow:0 14px 26px rgba(17,24,39,.10);
}

.city-title{
  padding:10px 12px;
  font-weight:700;
  font-size:14px;
  line-height:1.5;
  background:transparent;
}


/* ミニ地図 */

.mini-map{
  width:100%;
  height:160px;
  border:0;
  display:block;
}


/* 下の説明 */

.city-foot{
display:none;
}


/* カードの色 */

.city-card.tsunami{
  border-color:rgba(37,99,235,.18);
}

.city-card.volcano{
  border-color:rgba(249,115,22,.18);
}