/* =========================================================
   もりや暮らし案内 — 共通スタイル（スマホ優先）
   白とライトグレーを基調に、余白を広くとったミニマルなデザイン。
   アクセントは守谷の緑 1 色だけ。
   ========================================================= */
:root {
  /* アクセント */
  --green: #2f6b4f;
  --green-dark: #1f4a36;
  --green-light: #eaf2ed;
  /* 補助色（アイコンの背景など、ごく控えめに使う） */
  --river: #3a7ca5;
  --river-light: #edf3f7;
  --sun: #e8a33d;
  --sun-light: #fbf4e8;
  /* 文字・線・面 */
  --ink: #232323;
  --ink-sub: #6c6c6c;
  --line: #dddddd;
  --line-strong: #505050;
  --bg: #ffffff;
  --surface: #f6f6f6;
  --surface-2: #eeeeee;
  --white: #ffffff;

  --radius: 10px;
  --radius-sm: 5px;
  --max: 1200px;
  --header-h: 64px;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Geist", "Noto Sans JP", "Hiragino Sans", sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font-ja);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-size: 15px;
  letter-spacing: .04em;
  font-feature-settings: "palt" 0;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 16px; } }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 4px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--green); text-decoration-color: currentColor; }

h1, h2, h3 { line-height: 1.5; margin: 0 0 0.6em; font-weight: 700; letter-spacing: .05em; }
h2 { font-size: clamp(1.3rem, 3.2vw, 1.75rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1.2em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 40px; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { left: 8px; top: 8px; color: #fff; }

/* ---------- ヘッダー / ナビ ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; letter-spacing: .06em; color: var(--ink); text-decoration: none;
}
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 0.85rem; letter-spacing: 0;
}

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 44px; height: 44px; padding: 12px 10px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.global-nav {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--white); border-bottom: 1px solid var(--line);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  display: none;
}
.global-nav.is-open { display: block; }
.global-nav ul { list-style: none; margin: 0; padding: 8px 20px 24px; }
.global-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.global-nav a::after { content: "→"; font-family: var(--font-en); color: var(--ink-sub); font-size: .9rem; }
.global-nav a[aria-current="page"] { color: var(--green); }
/* サブメニュー「在住の方向け」（ごみの日・天気）。スマホでは開閉式 */
.nav-sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 16px 4px; border: 0; border-bottom: 1px solid var(--line); background: none;
  font: inherit; font-weight: 500; color: var(--ink); text-align: left; cursor: pointer;
}
.nav-sub-toggle::after {
  content: ""; width: 7px; height: 7px; margin-right: 4px;
  border-right: 1.5px solid var(--ink-sub); border-bottom: 1.5px solid var(--ink-sub);
  transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease);
}
.nav-sub.is-open > .nav-sub-toggle::after { transform: translateY(2px) rotate(-135deg); }
.nav-sub.is-current > .nav-sub-toggle { color: var(--green); }
.global-nav .nav-sub-list { display: none; padding: 0 0 0 16px; }
.nav-sub.is-open > .nav-sub-list { display: block; }
.global-nav .nav-sub-list a { font-size: 0.94rem; }
/* 一番右の「Web制作のご依頼」はボタン風にして、暮らしの情報と分ける */
.global-nav .nav-cta a { color: var(--green); font-weight: 700; }

/* 項目が多いので、1行に収まる幅（1200px以上）だけ横並びにする */
@media (min-width: 1200px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: none; }
  .logo { flex-shrink: 0; }
  .global-nav {
    position: static; display: block; background: none; border: 0; max-height: none; overflow: visible;
  }
  .global-nav ul { display: flex; gap: 2px; padding: 0; }
  .global-nav a {
    position: relative; border: 0; padding: 8px 8px; font-size: 0.82rem; white-space: nowrap;
  }
  .global-nav a::after {
    content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 1px;
    background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .global-nav a:hover { color: var(--green); }
  .global-nav a:hover::after, .global-nav a[aria-current="page"]::after { transform: scaleX(1); }
  /* 横並びではドロップダウンにする（マウスを乗せる・フォーカス・クリックで開く） */
  .nav-sub { position: relative; }
  .nav-sub-toggle {
    width: auto; gap: 6px; border: 0; padding: 8px 8px; font-size: 0.82rem; white-space: nowrap;
  }
  .nav-sub-toggle::after { width: 5px; height: 5px; margin: 0; }
  .nav-sub-toggle:hover { color: var(--green); }
  .global-nav .nav-sub-list {
    position: absolute; top: 100%; left: 0; z-index: 10; min-width: 150px;
    flex-direction: column; gap: 0; padding: 6px 0;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  }
  .nav-sub:hover > .nav-sub-list, .nav-sub:focus-within > .nav-sub-list, .nav-sub.is-open > .nav-sub-list { display: flex; }
  .global-nav .nav-sub-list a { display: block; padding: 10px 16px; font-size: 0.85rem; }
  .global-nav .nav-sub-list a::after { display: none; }
  .global-nav .nav-cta { margin-left: 8px; }
  .global-nav .nav-cta a { border: 1px solid var(--green); border-radius: 999px; padding: 6px 14px; }
  .global-nav .nav-cta a::after { display: none; }
  .global-nav .nav-cta-more { display: none; }
  .global-nav .nav-cta a:hover { background: var(--green); color: #fff; }
}

/* ---------- ヒーロー ---------- */
.hero { padding: 56px 0 64px; overflow: hidden; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.82rem; font-weight: 500; color: var(--green); margin-bottom: 20px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(1.9rem, 5.4vw, 3.3rem); line-height: 1.45; letter-spacing: .06em; margin-bottom: .7em; }
.hero-lead { font-size: 1rem; color: var(--ink-sub); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-visual { margin-top: 48px; }
.hero-art {
  width: 100%; height: auto; display: block; border-radius: 24px;
  box-shadow: 0 30px 60px -36px rgba(31, 74, 54, .45);
}
@media (min-width: 900px) {
  .hero { padding: 104px 0 112px; }
  .hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
  .hero-visual { margin-top: 0; }
}

.page-hero { background: var(--surface); padding: 40px 0 44px; }
.page-hero .question {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; color: var(--green); font-size: 0.85rem; margin-bottom: 10px;
}
.page-hero .question::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.page-hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.6rem); letter-spacing: .06em; margin-bottom: 0.5em; }
.page-hero p { color: var(--ink-sub); margin: 0; }
@media (min-width: 900px) { .page-hero { padding: 72px 0 76px; } }

.breadcrumb { font-size: 0.78rem; color: var(--ink-sub); margin-bottom: 20px !important; }
.breadcrumb a { color: var(--ink-sub); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 28px; border-radius: 100px;
  font-weight: 500; font-size: .95rem; text-decoration: none; border: 1px solid transparent;
  transition: background .25s var(--ease), color .25s, border-color .25s;
}
.btn::after { content: "→"; font-family: var(--font-en); transition: transform .25s var(--ease); }
.btn:hover::after { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--green); color: #fff; }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: var(--white); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* ---------- セクション ---------- */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 104px 0; } }
.section-alt { background: var(--surface); }
.section-title { margin-bottom: 40px; }
.section-title small {
  display: block; font-family: var(--font-en); color: var(--green); font-weight: 500;
  font-size: 0.8rem; letter-spacing: .14em; margin-bottom: 6px;
}
.section-title h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); margin: 0; }

.content { max-width: 800px; margin: 0 auto; }
.content h2 {
  margin-top: 2.6em; padding-bottom: .6em; border-bottom: 1px solid var(--line);
}
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 2em; }

/* ---------- カード ---------- */
.cards { display: grid; gap: 16px; margin: 24px 0; }
@media (min-width: 640px) { .cards-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards { gap: 24px; } .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border-radius: var(--radius); padding: 28px 24px;
}
.section-alt .card { background: var(--white); }
.card-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 16px;
  background: var(--white);
}
.section-alt .card-icon { background: var(--surface); }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--ink-sub); font-size: .94rem; }
.card p:last-child { margin-bottom: 0; }
.card > a:last-child { font-size: .9rem; color: var(--green); text-decoration: none; }

.link-card {
  position: relative; display: block; text-decoration: none; color: var(--ink);
  padding-bottom: 84px;
  transition: background .25s var(--ease);
}
.link-card:hover { color: var(--ink); background: var(--surface-2); }
.section-alt .link-card:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.link-card .q { font-size: 0.82rem; color: var(--green); font-weight: 500; margin-bottom: 8px; }
.link-card h3 { font-size: 1.25rem; }
/* 右下の丸い矢印ボタン */
.link-card .more {
  position: absolute; right: 24px; bottom: 24px;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-size: 0; color: var(--ink);
  transition: background .25s var(--ease), border-color .25s, color .25s;
}
.link-card .more::before { content: "→"; font-family: var(--font-en); font-size: 1rem; }
.link-card:hover .more { background: var(--green); border-color: var(--green); color: #fff; }

/* ---------- 数字ハイライト ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin: 32px 0; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { padding: 24px 8px; border-bottom: 1px solid var(--line); }
.stat-num { font-family: var(--font-en); font-size: 2.4rem; font-weight: 600; color: var(--green); line-height: 1.2; letter-spacing: 0; }
.stat-num small { font-family: var(--font-ja); font-size: 0.9rem; margin-left: 2px; color: var(--ink); }
.stat-label { font-size: 0.8rem; color: var(--ink-sub); margin-top: 6px; }

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; margin: 20px 0 8px; border-top: 1px solid var(--line-strong); }
table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.92rem; min-width: 480px; }
th, td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { background: var(--surface); color: var(--ink); font-weight: 600; white-space: nowrap; }
td.num { font-weight: 700; white-space: nowrap; color: var(--green); }

/* ---------- 補足・出典 ---------- */
.source {
  font-size: 0.78rem; color: var(--ink-sub);
  border-top: 1px solid var(--line); padding-top: 10px; margin-top: 12px;
}
.source a { color: var(--ink-sub); }
.source .checked {
  display: inline-block; border: 1px solid var(--line); padding: 0 8px; border-radius: 100px; margin-right: 6px;
}

.note {
  background: var(--surface); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; font-size: .94rem;
}
.note-weak { background: var(--sun-light); }
.note strong { display: block; margin-bottom: 4px; }

/* 運営者が後で書き込む欄（公開前に置き換える） */
.todo {
  border: 1px dashed var(--sun); background: #fffbf3;
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0;
  color: #7a5310; font-size: 0.9rem;
}
.todo::before {
  content: "✎ 運営者記入欄"; display: block; font-weight: 700; margin-bottom: 4px; color: #a26a10;
}
.todo p:last-child, .todo ul:last-child { margin-bottom: 0; }

.photo-slot {
  aspect-ratio: 16 / 10; border-radius: var(--radius);
  background: var(--surface);
  display: grid; place-items: center; color: var(--ink-sub); font-size: 0.85rem; text-align: center; padding: 12px;
  margin: 24px 0;
}

/* ---------- リスト ---------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; border-top: 1px solid var(--line); }
.check-list li { position: relative; padding: 14px 0 14px 32px; border-bottom: 1px solid var(--line); }
.check-list li::before {
  content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 7px; margin-top: -6px;
  border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg);
}

/* ---------- 地図 ---------- */
.map {
  position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius);
  overflow: hidden; background: var(--surface); margin: 16px 0;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) { .map { aspect-ratio: 16 / 9; } }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 22px 56px 22px 0; font-weight: 600; position: relative; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q."; font-family: var(--font-en); color: var(--green); font-weight: 600; margin-right: 12px; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%;
  display: grid; place-items: center; font-size: 1.1rem; line-height: 1; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 24px 32px; color: var(--ink-sub); }

/* ---------- フォーム ---------- */
.form { display: grid; gap: 20px; }
.form label { font-weight: 600; display: block; margin-bottom: 6px; }
.form .req { color: #b4442b; font-size: 0.78rem; margin-left: 6px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 2px solid rgba(47,107,79,.25); border-color: var(--green);
}
.form textarea { min-height: 160px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- 関連ページ / 公式リンク ---------- */
.related { padding: 64px 0; background: var(--surface); }
@media (min-width: 900px) { .related { padding: 88px 0; } }
.related h2 { font-size: 1.2rem; margin-bottom: 20px; }
.related-list { display: grid; gap: 0 32px; border-top: 1px solid var(--line-strong); }
@media (min-width: 640px) { .related-list { grid-template-columns: repeat(2, 1fr); } }
.related-list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-weight: 500;
}
.related-list a::after { content: "→"; font-family: var(--font-en); transition: transform .25s var(--ease); }
.related-list a:hover { color: var(--green); }
.related-list a:hover::after { transform: translateX(4px); }
.official {
  margin-top: 32px; background: var(--white); border-radius: var(--radius); padding: 20px 24px; font-size: 0.9rem;
}
.official ul { margin: 6px 0 0; padding-left: 1.2em; }

/* ---------- フッター ---------- */
.site-footer { background: var(--white); color: var(--ink-sub); padding: 56px 0 32px; font-size: 0.85rem; border-top: 1px solid var(--line); }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--green); }
.footer-nav ul { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.disclaimer {
  background: var(--surface); border-radius: var(--radius); padding: 16px 20px; font-size: 0.78rem; line-height: 1.8;
}
.copyright { margin: 28px 0 0; font-family: var(--font-en); font-size: 0.75rem; color: var(--ink-sub); }

/* ---------- その他 ---------- */
.timeline { list-style: none; padding: 0; margin: 0 0 1.2em; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--green);
}
.timeline time { font-family: var(--font-en); font-weight: 600; color: var(--green); margin-right: 10px; }

.pros-cons { display: grid; gap: 16px; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros-cons > div { border-radius: var(--radius); padding: 24px; }
.pros { background: var(--green-light); }
.cons { background: var(--sun-light); }
.pros-cons h3 { margin-top: 0 !important; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- ごみ収集カレンダー（gomi.html） ---------- */
.gomi-chip {
  display: inline-block; padding: 0 8px; margin: 2px 4px 2px 0; border-radius: 4px;
  font-size: .78rem; line-height: 1.8; font-weight: 500; white-space: nowrap;
  background: var(--surface-2); color: var(--ink); border-left: 3px solid var(--line-strong);
}
.gomi-k { background: #fdeee6; border-color: #d2643a; }
.gomi-p { background: var(--river-light); border-color: var(--river); }
.gomi-m { background: var(--surface-2); border-color: #7a7a7a; }
.gomi-s { background: #f3ece4; border-color: #8a6440; }
.gomi-y { background: #eef0fb; border-color: #5b63b7; }
.gomi-c { background: #f5eef8; border-color: #8c5aa8; }
.gomi-g { background: var(--sun-light); border-color: var(--sun); }
.gomi-b { background: var(--green-light); border-color: var(--green); }
.gomi-none { font-size: .8rem; color: var(--ink-sub); }

.gomi-today { display: grid; gap: 12px; margin: 20px 0 8px; }
@media (min-width: 640px) { .gomi-today { grid-template-columns: 1fr 1fr; } }
.gomi-day-card { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; }
.gomi-day-card:first-child { background: var(--green-light); }
.gomi-day-label { font-weight: 700; margin: 0 0 8px; }
.gomi-day-label span { font-weight: 400; color: var(--ink-sub); font-size: .85rem; margin-left: 10px; }
.gomi-day-card .gomi-chip { font-size: .9rem; padding: 2px 10px; }

.gomi-nav { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 12px; }
.gomi-month { margin: 0; font-weight: 700; font-size: 1.1rem; }
.gomi-nav-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--white); color: var(--ink); font-family: var(--font-en); font-size: 1rem; cursor: pointer;
}
.gomi-nav-btn:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.gomi-nav-btn:disabled { opacity: .3; cursor: default; }

/* スマホ：1日1行のリスト */
.gomi-cal { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line-strong); }
.gomi-head, .gomi-pad { display: none; }
.gomi-cell {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 4px;
  padding: 10px 4px; border-bottom: 1px solid var(--line);
}
.gomi-cell.is-empty { color: var(--ink-sub); }
.gomi-cell.is-today { background: var(--green-light); box-shadow: inset 3px 0 0 var(--green); }
.gomi-date { width: 4.6em; flex-shrink: 0; font-family: var(--font-en); font-weight: 600; }
.gomi-date small { font-family: var(--font-ja); font-weight: 400; font-size: .78rem; }
.gomi-cell.is-sun .gomi-date { color: #b4442b; }
.gomi-cell.is-sat .gomi-date { color: var(--river); }

/* 640px以上：月のカレンダー */
@media (min-width: 640px) {
  .gomi-cal { display: grid; grid-template-columns: repeat(7, 1fr); border-left: 1px solid var(--line); }
  .gomi-head, .gomi-pad { display: block; }
  .gomi-head {
    text-align: center; font-size: .8rem; font-weight: 600; padding: 6px 0;
    background: var(--surface); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  }
  .gomi-head.is-sun { color: #b4442b; }
  .gomi-head.is-sat { color: var(--river); }
  .gomi-pad, .gomi-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 92px; }
  .gomi-cell { display: block; padding: 6px; }
  .gomi-cell.is-today { box-shadow: inset 0 0 0 2px var(--green); }
  .gomi-date { display: block; width: auto; margin-bottom: 2px; }
  .gomi-date small { display: none; }
  .gomi-cell .gomi-chip { display: block; margin: 0 0 3px; font-size: .7rem; padding: 0 5px; white-space: normal; line-height: 1.6; }
  .gomi-cell .gomi-none { display: none; }
}

/* ---------- 天気予報（weather.html） ---------- */
.wx-loading { color: var(--ink-sub); }
.wx-now { background: var(--river-light); border-radius: var(--radius); padding: 20px; margin-bottom: 8px; }
.wx-now-main { display: flex; align-items: center; gap: 16px; }
.wx-now-icon { font-size: 3rem; line-height: 1; }
.wx-now-label { margin: 0; font-size: .85rem; color: var(--ink-sub); }
.wx-now-temp { margin: 0; font-family: var(--font-en); font-size: 2.4rem; font-weight: 600; line-height: 1.2; }
.wx-now-temp small { font-size: 1.1rem; font-weight: 500; }
.wx-now-temp span { font-family: var(--font-ja); font-size: 1rem; font-weight: 500; margin-left: 6px; }
.wx-now-stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 16px 0 0;
}
@media (min-width: 640px) { .wx-now-stats { grid-template-columns: repeat(4, 1fr); } }
.wx-now-stats div { min-width: 0; }
.wx-now-stats dt { font-size: .78rem; color: var(--ink-sub); }
.wx-now-stats dd { margin: 0; font-family: var(--font-en); font-weight: 600; }
.wx-max { color: #b4442b; }
.wx-min { color: var(--river); }

.wx-day-summary { background: var(--surface); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0 12px; }
.wx-day-summary .wx-now-stats { margin-top: 8px; }
@media (min-width: 640px) { .wx-day-summary .wx-now-stats { grid-template-columns: repeat(3, 1fr); } }
.wx-day-head { margin: 0; font-weight: 700; font-size: 1.05rem; }
.wx-day-head span { font-size: 1.6rem; margin-right: 8px; vertical-align: -3px; }

/* 1時間ごと：横スクロール */
.wx-hourly-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 8px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.wx-hourly-wrap:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.wx-hourly { list-style: none; margin: 0; padding: 0; display: flex; }
.wx-hour {
  flex: 0 0 64px; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 0; border-right: 1px solid var(--line); text-align: center;
}
.wx-hour.is-now { background: var(--green-light); }
.wx-h-time { font-size: .8rem; font-weight: 600; }
.wx-h-icon { font-size: 1.5rem; line-height: 1.2; }
.wx-h-temp { font-family: var(--font-en); font-weight: 600; }
.wx-h-pop { font-size: .78rem; color: var(--river); font-family: var(--font-en); }
.wx-h-sub { font-size: .72rem; color: var(--ink-sub); white-space: nowrap; }

/* 週間予報 */
.wx-hint { font-size: .85rem; color: var(--ink-sub); margin: 0 0 8px; }
.wx-week { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line-strong); }
.wx-week li { border-bottom: 1px solid var(--line); }
.wx-day {
  width: 100%; display: grid; align-items: center; gap: 4px 10px;
  grid-template-columns: 4.2em 2em 1fr auto;
  grid-template-areas: "date icon text pop" "date icon temp temp";
  padding: 10px 6px; background: none; border: 0; text-align: left; cursor: pointer;
  font: inherit; color: inherit;
}
.wx-day:hover { background: var(--surface); }
.wx-day.is-selected { background: var(--green-light); box-shadow: inset 3px 0 0 var(--green); }
.wx-d-date { grid-area: date; font-family: var(--font-en); font-size: .85rem; line-height: 1.3; }
.wx-d-date b { display: block; font-family: var(--font-ja); font-size: .95rem; }
.wx-day.is-sun .wx-d-date b { color: #b4442b; }
.wx-day.is-sat .wx-d-date b { color: var(--river); }
.wx-d-icon { grid-area: icon; font-size: 1.6rem; text-align: center; }
.wx-d-text { grid-area: text; font-size: .9rem; }
.wx-d-pop { grid-area: pop; font-size: .82rem; color: var(--river); font-family: var(--font-en); }
.wx-d-temp { grid-area: temp; display: flex; align-items: center; gap: 8px; font-family: var(--font-en); font-weight: 600; font-size: .9rem; }
.wx-bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--surface-2); }
.wx-bar span { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: linear-gradient(90deg, var(--river), #d2643a); min-width: 6px; }
@media (min-width: 640px) {
  .wx-day { grid-template-columns: 6em 2.4em 9em 4.5em 1fr; grid-template-areas: "date icon text pop temp"; padding: 12px 10px; }
}
