@charset "UTF-8";
/* =====================================================================
   常水町役場 公式サイト — style.css
   見た目は 2010年代の地方自治体サイト。中身（レスポンシブ・アクセシビリティ・速度）は今の基準。
   ・色は :root の変数だけで管理する（依頼書 §7）
   ・文字サイズ切り替え（小・中・大）は html の font-size を変え、寸法は rem で追従させる
   ・画面幅の区切り: スマートフォン 〜767px / タブレット 768〜1023px / PC 1024px〜
   ===================================================================== */

:root {
  --bg: #F7F5ED;          /* やや黄みのある白（ページの地） */
  --bg-2: #EEEBE0;        /* 灰色がかった見出し・帯 */
  --panel: #FFFFFF;
  --line: #D8D3C4;        /* 細い罫線 */
  --line-2: #B9B2A0;
  --text: #333333;
  --text-2: #5A5A5A;
  --main: #397C78;        /* くすんだ青緑 */
  --main-dark: #2C615E;
  --main-pale: #E4EFEC;
  --sub: #315B73;         /* 深い青 */
  --sub-dark: #25475A;
  --accent: #8B3E3E;      /* えんじ */
  --important: #B52121;   /* 重要 */
  --important-pale: #FBEDEA;
  --caution: #D9A520;     /* 注意 */
  --caution-pale: #FBF3D9;
  --ok: #3A7A3A;
  --link: #1D5EAA;
  --link-visited: #5B3E8C;
  --link-hover: #0E3F7C;
  --shadow: 0 1px 2px rgba(0, 0, 0, .08);
  --gothic: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "YuGothic", "Meiryo", "Noto Sans JP", system-ui, sans-serif;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  color-scheme: light;
}

/* ---------- 文字サイズ（小・中・大） ---------- */
html { font-size: 100%; }
html.fs-s { font-size: 87.5%; }
html.fs-l { font-size: 118.75%; }

/* ---------- 基本 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; line-break: strict; scroll-padding-top: 12px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--gothic);
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
/* 日本語の改行：ビルド時に BudouX で文節の切れ目（<wbr>）を入れてあるので、そこでだけ折る */
.wb { word-break: keep-all; overflow-wrap: anywhere; }
h1, h2, h3, h4 { line-height: 1.4; text-wrap: balance; }
p, li, dd, td, th, figcaption { text-wrap: pretty; }
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
img { border: 0; }
a { color: var(--link); text-decoration: underline; text-underline-offset: .18em; }
a:visited { color: var(--link-visited); }
a:hover { color: var(--link-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #F2B600; outline-offset: 1px; box-shadow: 0 0 0 5px #1B1B1B; }
button { font-family: inherit; }
.nb { white-space: nowrap; }
.vh {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.container { max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.mincho { font-family: var(--mincho); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: #fff; color: var(--link); padding: 8px 16px; border: 2px solid var(--sub);
}
.skip:focus { top: 8px; }

/* ---------- 小物：タグ・NEW・PDF・外部リンク ---------- */
.tag {
  display: inline-block; min-width: 4.2em; padding: 1px 6px;
  font-size: .75rem; line-height: 1.6; font-weight: 700; text-align: center;
  color: #fff; background: var(--main); white-space: nowrap;
}
.tag.c-chosei { background: var(--sub); }
.tag.c-kurashi { background: var(--main); }
.tag.c-kanko { background: #587628; }
.tag.c-kotsu { background: #2C5E9E; }
.tag.c-kyoiku { background: #8A5A1F; }
.tag.c-bosai { background: var(--important); }
.tag.c-shoko { background: #6B4E8A; }
.tag.c-event { background: var(--accent); }
.tag.c-important { background: var(--important); }
.tag.c-caution { background: var(--caution); color: #1F1F1F; }
.new { color: var(--important); font-weight: 700; font-size: .75rem; margin-left: .4em; letter-spacing: .04em; white-space: nowrap; }
.pdf, .ext-mark {
  display: inline-block; font-size: .6875rem; font-weight: 700; line-height: 1.4;
  padding: 0 4px; margin: 0 .3em; color: #fff; background: #C62828; vertical-align: .1em; text-decoration: none;
}
.ext-mark { background: none; color: inherit; padding: 0; margin: 0 0 0 .2em; }
.ext-mark svg { width: .85em; height: .85em; vertical-align: -.05em; }
.filesize { font-size: .8125rem; color: var(--text-2); }

/* ---------- ボタン（四角い・控えめ） ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: 8px 20px;
  background: var(--main); color: #fff; border: 1px solid var(--main-dark); border-radius: 2px;
  font-weight: 700; font-size: .9375rem; text-decoration: none; line-height: 1.4; cursor: pointer;
}
.btn::after { content: ""; width: .45em; height: .45em; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); flex: none; }
.btn:visited { color: #fff; }
.btn:hover { background: var(--main-dark); color: #fff; }
.btn.sub { background: var(--sub); border-color: var(--sub-dark); }
.btn.sub:hover { background: var(--sub-dark); }
.btn.line { background: #fff; color: var(--main-dark); border-color: var(--main); }
.btn.line:visited { color: var(--main-dark); }
.btn.line:hover { background: var(--main-pale); color: var(--main-dark); }
.btn.small { min-height: 36px; padding: 4px 14px; font-size: .875rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.more { font-size: .875rem; white-space: nowrap; }
.more a { color: var(--link); }
.more a::after { content: " ›"; }

/* =====================================================================
   ヘッダー
   ===================================================================== */
.site-header { background: #fff; border-top: 5px solid var(--main); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 100px; }
.site-id { margin: 0; font-size: 1rem; font-weight: 400; min-width: 0; }
.site-id a { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.site-id a:visited { color: var(--text); }
.site-id img { width: 60px; height: 60px; flex: none; }
/* 町名はロゴと同じ扱いにして、文字サイズの切り替えでは大きさを変えない */
.site-id .name { display: block; font-size: 30px; font-weight: 700; letter-spacing: .1em; line-height: 1.15; }
.site-id .en { display: block; font-size: 11px; letter-spacing: .14em; color: var(--text-2); margin-top: 4px; }
.header-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.util { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; font-size: .8125rem; }
.util ul { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.util a { color: var(--text); text-decoration: none; }
.util a:visited { color: var(--text); }
.util a:hover { text-decoration: underline; color: var(--link-hover); }
.util li a::before { content: "›"; color: var(--main); font-weight: 700; margin-right: 4px; }
.fontsize { display: flex; align-items: center; gap: 4px; }
.fontsize .label { margin-right: 4px; }
.fontsize button {
  min-width: 32px; height: 28px; padding: 0 4px; border: 1px solid var(--line-2); border-radius: 2px;
  background: #fff; color: var(--text); font-size: .8125rem; cursor: pointer;
}
.fontsize button:hover { background: var(--main-pale); }
.fontsize button[aria-pressed="true"] { background: var(--sub); border-color: var(--sub); color: #fff; }
.search { display: flex; }
.search input {
  width: 260px; height: 36px; padding: 0 10px; font-size: .875rem; font-family: inherit;
  border: 1px solid var(--line-2); border-right: 0; border-radius: 2px 0 0 2px; background: #fff; color: var(--text);
}
.search button {
  height: 36px; padding: 0 16px; font-size: .875rem; font-weight: 700; cursor: pointer;
  background: var(--sub); color: #fff; border: 1px solid var(--sub); border-radius: 0 2px 2px 0;
}
.search button:hover { background: var(--sub-dark); }
.sp-buttons { display: none; }

/* グローバルナビ */
.gnav { background: var(--main); }
.gnav > ul { display: flex; list-style: none; margin: 0 auto; padding: 0; max-width: 1120px; }
.gnav > ul > li { flex: 1 1 0; border-left: 1px solid rgba(255, 255, 255, .28); }
.gnav > ul > li:last-child { border-right: 1px solid rgba(255, 255, 255, .28); }
.gnav a {
  display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 6px 4px;
  color: #fff; font-weight: 700; font-size: 1rem; text-decoration: none; text-align: center; line-height: 1.35;
}
.gnav a:visited { color: #fff; }
.gnav a:hover { background: var(--main-dark); color: #fff; text-decoration: underline; }
.gnav a[aria-current] { background: var(--main-dark); box-shadow: inset 0 -4px 0 #E3C267; }
.gnav .sp-only { display: none; }

/* =====================================================================
   ページ共通
   ===================================================================== */
main { display: block; padding-bottom: 40px; }
.breadcrumb { font-size: .8125rem; padding: 10px 0 4px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin: 0 .6em; color: var(--text-2); }
.breadcrumb a { color: var(--link); }

.sec { margin-top: 36px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 4px 12px; border-bottom: 2px solid var(--main); padding-bottom: 6px; margin-bottom: 16px; }
.sec-head h2 { position: relative; margin: 0; padding-left: 16px; font-size: 1.375rem; }
.sec-head h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 6px; background: var(--main); }
.sec-lead { margin: -4px 0 16px; }
.sec-head .more { margin: 0 0 2px; }
.panel { background: var(--panel); border: 1px solid var(--line); }

/* =====================================================================
   トップ：メインビジュアル（スライダー）
   ===================================================================== */
.hero { margin-top: 16px; background: #fff; border: 1px solid var(--line); }
.hero-view { position: relative; background: #cfd8d4; }
.hero-slides { position: relative; height: 430px; overflow: hidden; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption {
  position: absolute; right: 8px; bottom: 8px; padding: 2px 10px;
  background: rgba(0, 0, 0, .58); color: #fff; font-size: .75rem; line-height: 1.6;
}
.hero-copy {
  position: absolute; left: 24px; bottom: 24px; z-index: 2; max-width: 470px;
  padding: 18px 22px 20px; background: rgba(255, 255, 255, .93); border-left: 6px solid var(--main); box-shadow: var(--shadow);
}
.hero-catch { margin: 0; font-family: var(--mincho); font-weight: 700; font-size: 1.75rem; line-height: 1.35; letter-spacing: .06em; color: #1F3F3D; }
.hero-lead { margin: 8px 0 14px; font-size: .9375rem; line-height: 1.7; }
.hero-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px; border-top: 1px solid var(--line); background: var(--bg-2); }
.hero-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hero-dots button {
  width: 36px; height: 32px; border: 1px solid var(--line-2); border-radius: 2px; background: #fff;
  font-size: .8125rem; color: var(--text); cursor: pointer;
}
.hero-dots button[aria-current="true"] { background: var(--main); border-color: var(--main); color: #fff; font-weight: 700; }
.hero-ctrl { display: flex; gap: 6px; }
.hero-ctrl button {
  min-width: 64px; height: 32px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 2px;
  background: #fff; color: var(--text); font-size: .8125rem; cursor: pointer;
}
.hero-ctrl button:hover, .hero-dots button:hover { background: var(--main-pale); }
.no-js .hero-bar { display: none; }

/* 重要なお知らせ */
.emergency { display: flex; margin-top: 20px; background: #fff; border: 2px solid var(--important); }
.emergency h2 {
  display: flex; align-items: center; gap: 8px; flex: none; width: 200px; margin: 0; padding: 12px 16px;
  background: var(--important); color: #fff; font-size: 1.0625rem;
}
.emergency h2 svg { width: 22px; height: 22px; flex: none; }
.emergency ul { flex: 1; list-style: none; margin: 0; padding: 4px 16px; background: var(--important-pale); }
.emergency li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding: 8px 0; border-bottom: 1px dashed #D9B8B2; }
.emergency li:last-child { border-bottom: 0; }
.emergency .date { font-size: .875rem; color: var(--text-2); white-space: nowrap; }
.emergency a { font-weight: 700; }

/* スマホ用のよく見られるページ */
.quick { display: none; }

/* 2カラム（お知らせ｜目的から探す） */
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 32px; align-items: start; }

/* お知らせ（タブ） */
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; border-bottom: 3px solid var(--main); }
.tabs button {
  min-height: 38px; padding: 6px 14px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: 2px 2px 0 0;
  background: var(--bg-2); color: var(--text); font-size: .875rem; font-weight: 700; cursor: pointer;
}
.tabs button:hover { background: var(--main-pale); }
.tabs button[aria-selected="true"] { background: var(--main); border-color: var(--main); color: #fff; }
.js .tabpanel[hidden] { display: none; }
.news-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-top: 0; }
.news-list li { display: grid; grid-template-columns: 10.5em 5em minmax(0, 1fr); gap: 4px 12px; align-items: baseline; padding: 11px 14px; border-bottom: 1px dotted var(--line-2); }
.news-list li:last-child { border-bottom: 0; }
.news-list .date { font-size: .875rem; color: var(--text-2); white-space: nowrap; }
.news-list .tag { justify-self: start; }
.news-list .empty { display: block; color: var(--text-2); }
.news-foot { display: flex; justify-content: flex-end; gap: 16px; margin-top: 10px; }

/* 目的から探す */
.purpose { background: #fff; border: 1px solid var(--line); padding: 12px; }
.purpose ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; list-style: none; margin: 0; padding: 0; }
.purpose a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 98px; padding: 8px 4px; border: 1px solid var(--line-2); border-radius: 2px; background: var(--bg);
  color: var(--text); font-size: .8125rem; font-weight: 700; line-height: 1.35; text-align: center; text-decoration: none;
}
.purpose a:visited { color: var(--text); }
.purpose a:hover { background: var(--main-pale); border-color: var(--main); color: var(--text); }
.purpose svg { width: 34px; height: 34px; color: var(--main); flex: none; }

/* 常水町を知る */
.know { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.card:visited { color: var(--text); }
.card:hover { border-color: var(--main); color: var(--text); }
.card:hover .card-title { text-decoration: underline; color: var(--link-hover); }
.card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: var(--bg-2); }
.card-body { padding: 12px 14px 14px; }
.card-title { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 700; color: var(--link); }
.card-title::after { content: " ›"; }
.card-text { margin: 0; font-size: .875rem; line-height: 1.7; }
.card-meta { margin: 0 0 4px; font-size: .75rem; color: var(--text-2); }
.card-kana { font-size: .75rem; color: var(--text-2); font-weight: 400; margin-left: .3em; }

/* 地図から常水町を探す */
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.map-tabs { margin-bottom: 0; }
.map-view { position: relative; background: #EEE6D2; border: 1px solid var(--line-2); border-top: 0; }
.map-panel { position: relative; }
.map-panel > img { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.map-title {
  position: absolute; left: 12px; top: 12px; z-index: 3; padding: 6px 14px 8px; margin: 0;
  background: rgba(250, 246, 234, .92); border: 3px double #7A6A4F; color: #3B3223;
  font-family: var(--mincho); font-weight: 700; font-size: 1.125rem; letter-spacing: .1em; line-height: 1.3;
}
.map-title small { display: block; font-size: .6875rem; letter-spacing: .06em; font-weight: 400; }
.map-area {
  position: absolute; z-index: 2; transform: translate(-50%, -50%); white-space: nowrap;
  padding: 2px 9px; background: rgba(255, 255, 255, .94); border: 2px solid var(--sub); border-radius: 2px;
  color: var(--sub); font-weight: 700; font-size: .875rem; line-height: 1.5; text-decoration: none; box-shadow: var(--shadow);
}
.map-area:visited { color: var(--sub); }
.map-area:hover { background: var(--sub); color: #fff; }
.map-area.to-panel { border-style: dashed; }
.pin {
  position: absolute; z-index: 3; transform: translate(-50%, -50%);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--pc, var(--main));
  background: #fff; color: var(--pc, var(--main)); font-size: .8125rem; font-weight: 700; line-height: 1;
  text-decoration: none; box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.pin:visited { color: var(--pc, var(--main)); }
.pin:hover { background: var(--pc, var(--main)); color: #fff; }
.pin .pin-label {
  display: none; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%);
  padding: 3px 9px; background: #262626; color: #fff; font-size: .75rem; font-weight: 700; white-space: nowrap; pointer-events: none;
}
.pin.pin-l .pin-label { left: -4px; transform: none; }
.pin.pin-r .pin-label { left: auto; right: -4px; transform: none; }
.pin:hover .pin-label, .pin:focus-visible .pin-label { display: block; }
.pin.is-dim { display: none; }
.map-side h3 { margin: 0; padding: 8px 12px; background: var(--sub); color: #fff; font-size: 1rem; }
.map-legend { list-style: none; margin: 0 0 16px; padding: 8px 12px; background: #fff; border: 1px solid var(--line); border-top: 0; }
.map-legend li { padding: 3px 0; }
.map-legend label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .875rem; min-height: 32px; }
.map-legend input { width: 18px; height: 18px; accent-color: var(--main); }
.sym {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--pc); color: var(--pc); background: #fff;
  font-size: .6875rem; font-weight: 700; line-height: 1;
}
.map-areas { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-top: 0; }
.map-areas li { border-bottom: 1px dotted var(--line-2); }
.map-areas li:last-child { border-bottom: 0; }
.map-areas a { display: block; padding: 8px 12px; text-decoration: none; }
.map-areas a::before { content: "›"; color: var(--main); font-weight: 700; margin-right: 6px; }
.map-areas .kana { font-size: .75rem; color: var(--text-2); margin-left: .3em; }
.map-note { font-size: .8125rem; color: var(--text-2); margin: 8px 0 0; }
.map-list { margin-top: 16px; }
.map-list summary { cursor: pointer; font-weight: 700; color: var(--link); min-height: 32px; }
.map-list ul { columns: 3; column-gap: 24px; margin: 8px 0 0; padding-left: 1.2em; font-size: .9375rem; }
.js .map-panel[hidden] { display: none; }

/* 観光・おでかけ */
.kanko { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.tile { position: relative; display: block; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--text); }
.tile:visited { color: var(--text); }
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.tile span { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; font-weight: 700; font-size: 1rem; border-top: 3px solid var(--main); }
.tile span::after { content: "›"; color: var(--main); font-size: 1.25rem; line-height: 1; }
.tile:hover { border-color: var(--main); }
.tile:hover span { background: var(--main-pale); text-decoration: underline; }

/* 今月の常水町 */
.season { display: grid; grid-template-columns: 420px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); }
.season img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.season-body { padding: 22px 28px; }
.season-month { display: inline-block; margin: 0 0 8px; padding: 1px 10px; background: var(--accent); color: #fff; font-size: .8125rem; font-weight: 700; }
.season h3 { margin: 0 0 10px; font-family: var(--mincho); font-size: 1.5rem; letter-spacing: .04em; }
.season p { margin: 0 0 12px; }

/* 水路・交通情報 */
.traffic { background: #fff; border: 1px solid var(--line); padding: 14px 16px 16px; }
.traffic-time { margin: 0 0 10px; font-size: .875rem; color: var(--text-2); }
.status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; list-style: none; margin: 0; padding: 0; }
.status li { display: grid; grid-template-columns: 5.2em minmax(0, 1fr); gap: 2px 12px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); background: var(--bg); }
.status .st {
  grid-row: span 2; align-self: center; display: flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 2px 4px; font-weight: 700; font-size: .875rem; color: #fff; text-align: center; line-height: 1.3;
}
.status .st.ok { background: var(--ok); }
.status .st.caution { background: var(--caution); color: #1F1F1F; }
.status .st.closed { background: var(--important); }
.status .name { font-weight: 700; }
.status .detail { font-size: .875rem; }
.status li.is-closed { border-color: #E3B5AE; background: var(--important-pale); }
.status li.is-caution { border-color: #E9D18F; background: var(--caution-pale); }

/* 町内のお店・施設 */
.shops { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.shops .card-title { font-size: 1rem; }
/* 準備中（site.json の features.spots = "preparing"） */
.prep-badge { display: inline-block; margin: 0 0 2px; padding: 2px 10px; background: var(--text-2); color: #fff; font-size: .8125rem; font-weight: 700; }
.is-preparing .shops { filter: grayscale(1); opacity: .45; pointer-events: none; user-select: none; }
.btn.is-disabled, .btn.is-disabled:hover { background: #9A9A9A; border-color: #8A8A8A; color: #fff; cursor: not-allowed; }
.btn.is-disabled::after { display: none; }
.box.is-preparing .prep-badge { margin-bottom: 8px; }
.area-tag { display: inline-block; margin-top: 8px; padding: 0 6px; border: 1px solid var(--main); color: var(--main-dark); font-size: .75rem; }

/* 広報とこみず｜常水町を歩く */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
.koho { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 18px; background: #fff; border: 1px solid var(--line); padding: 16px; }
.koho-cover { display: block; border: 1px solid var(--line-2); box-shadow: 2px 3px 0 rgba(0, 0, 0, .12); }
.koho-cover img { display: block; width: 100%; height: auto; }
.koho h3 { margin: 0 0 2px; font-size: 1.125rem; }
.koho .issue-date { margin: 0 0 8px; font-size: .8125rem; color: var(--text-2); }
.koho .feature { margin: 0 0 6px; font-weight: 700; }
.koho ul { margin: 0 0 12px; padding-left: 1.2em; font-size: .9375rem; }
.walk-lead { margin: 0 0 12px; }
.walk { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.walk a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); color: var(--text); text-decoration: none; }
.walk a:visited { color: var(--text); }
.walk a:hover { border-color: var(--main); }
.walk a:hover .walk-title { text-decoration: underline; color: var(--link-hover); }
.walk img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.walk-body { padding: 10px 12px 12px; }
.walk-title { margin: 0 0 4px; font-weight: 700; font-size: .9375rem; color: var(--link); line-height: 1.5; }
.walk-text { margin: 0; font-size: .8125rem; line-height: 1.65; }
.walk-by { display: block; margin-top: 6px; font-size: .75rem; color: var(--text-2); }

/* お土産 */
.goods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.goods li { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.goods .fig { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: #F1EEE4; padding: 14px; overflow: hidden; }
.goods .fig img { max-height: 100%; width: auto; }
.fig.sticker img { width: 64%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 7px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.fig.poster img { height: 100%; width: auto; aspect-ratio: 3 / 4; object-fit: cover; border: 6px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.fig.map img { width: 72%; aspect-ratio: 1; object-fit: cover; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.fig.logo img { width: 62%; background: #fff; border-radius: 50%; padding: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.ticket {
  width: 86%; aspect-ratio: 2.1 / 1; padding: 8px 12px; background: #F3E6C4; border: 1px solid #B39B64; box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; font-family: var(--mincho); color: #3B2E17; line-height: 1.2;
  background-image: repeating-linear-gradient(90deg, rgba(120, 90, 40, .06) 0 2px, transparent 2px 6px);
}
.ticket .t1 { grid-column: 1 / -1; font-size: .6875rem; letter-spacing: .1em; border-bottom: 1px solid #B39B64; padding-bottom: 3px; }
.ticket .t2 { align-self: center; font-size: 1.0625rem; font-weight: 700; letter-spacing: .08em; }
.ticket .t3 { align-self: center; font-size: .6875rem; text-align: right; }
.ticket .t4 { grid-column: 1 / -1; font-size: .625rem; letter-spacing: .08em; border-top: 1px dashed #B39B64; padding-top: 3px; }
.goods-body { padding: 10px 12px 12px; }
.goods-name { margin: 0 0 4px; font-weight: 700; font-size: .9375rem; line-height: 1.5; }
.goods-text { margin: 0; font-size: .8125rem; line-height: 1.6; }
.goods-shop { margin: 8px 0 0; font-size: .75rem; color: var(--text-2); }
.goods-note { margin: 12px 0 0; font-size: .875rem; }

/* 関連リンク（バナー） */
.banners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
.banners a {
  display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 8px 12px;
  background: #fff; border: 1px solid var(--line-2); border-left: 6px solid var(--bc, var(--main));
  color: var(--text); text-decoration: none; line-height: 1.35;
}
.banners a:visited { color: var(--text); }
.banners a:hover { background: var(--main-pale); }
.banners strong { display: block; font-size: .9375rem; }
.banners small { display: block; font-size: .75rem; color: var(--text-2); }

/* =====================================================================
   フッター
   ===================================================================== */
.pagetop-row { text-align: right; margin-top: 32px; }
.pagetop-row a { font-size: .875rem; }
.site-footer { margin-top: 16px; background: var(--sub); color: #fff; }
.site-footer a { color: #fff; }
.site-footer a:visited { color: #fff; }
.foot-links { background: var(--sub-dark); }
.foot-links ul { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 auto; padding: 12px 16px; max-width: 1152px; font-size: .875rem; }
.foot-links li { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, .4); }
.foot-links li:first-child { border-left: 0; padding-left: 0; }
.foot-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 24px 16px; }
.foot-name { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 1.375rem; font-weight: 700; letter-spacing: .08em; }
.foot-name img { width: 40px; height: 40px; background: #fff; border-radius: 50%; padding: 2px; }
.foot-info { margin: 0; font-size: .875rem; line-height: 1.8; }
.foot-info dt { float: left; clear: left; width: 6.5em; font-weight: 700; }
.foot-info dd { margin: 0 0 0 6.5em; }
.foot-aside { align-self: end; font-size: .875rem; }
.foot-aside a { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .7); text-decoration: none; }
.foot-aside a:hover { background: rgba(255, 255, 255, .12); }
.foot-bottom { background: #1E3A4A; font-size: .8125rem; }
.foot-bottom .container { padding-top: 12px; padding-bottom: 14px; }
.copyright { margin: 0; letter-spacing: .06em; }
.fiction { margin: 4px 0 0; color: #D6E1E8; font-size: .75rem; }
.to-top {
  position: fixed; right: 12px; bottom: 12px; z-index: 50;
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 60px; height: 60px;
  background: rgba(49, 91, 115, .92); color: #fff; border: 1px solid #fff; font-size: .6875rem; line-height: 1.25; text-decoration: none; text-align: center;
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s;
}
.to-top::before { content: ""; width: 10px; height: 10px; border-top: 2px solid #fff; border-left: 2px solid #fff; transform: rotate(45deg); margin: 4px 0 4px; }
.to-top:visited { color: #fff; }
.to-top.is-shown { opacity: 1; visibility: visible; transition: opacity .2s; }

/* =====================================================================
   下層ページ
   ===================================================================== */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; align-items: start; margin-top: 8px; }
.page-layout.wide { grid-template-columns: minmax(0, 1fr); }
.page-title { margin: 0 0 8px; padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 8px solid var(--main); font-size: 1.75rem; }
.page-title .kana { display: block; font-size: .8125rem; font-weight: 400; color: var(--text-2); letter-spacing: .06em; margin-top: 2px; }
.page-meta { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 16px; margin: 0 0 12px; font-size: .8125rem; color: var(--text-2); }
.page-meta button {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px;
  border: 1px solid var(--line-2); border-radius: 2px; background: #fff; color: var(--text); font-size: .8125rem; cursor: pointer;
}
.page-meta button svg { width: 16px; height: 16px; }
.content { background: #fff; border: 1px solid var(--line); padding: 24px 28px 28px; }
.content > :first-child { margin-top: 0; }
.content h2 { margin: 2em 0 .8em; padding: 2px 0 6px; font-size: 1.375rem; border-bottom: 2px solid var(--main); }
.content h3 { margin: 1.7em 0 .6em; padding-left: 10px; font-size: 1.125rem; border-left: 5px solid var(--main); }
.content h4 { margin: 1.4em 0 .4em; font-size: 1rem; }
.content p { margin: 0 0 1em; }
.content ul, .content ol { margin: 0 0 1em; padding-left: 1.6em; }
.content li { margin: .2em 0; }
.content .lead { font-size: 1.0625rem; }
.content figure { margin: 1.2em 0 1.6em; }
.content figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.content figcaption { margin-top: 6px; font-size: .8125rem; color: var(--text-2); }
.content .fig-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 1.2em 0 1.6em; }
.content .fig-row figure { margin: 0; }
.content .fig-float { float: right; width: 40%; margin: 0 0 1em 1.5em; }
.clear { clear: both; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.content table { width: 100%; border-collapse: collapse; font-size: .9375rem; background: #fff; }
.content caption { text-align: left; font-weight: 700; padding: 0 0 6px; }
.content th, .content td { padding: 8px 12px; border: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.content th { background: var(--bg-2); font-weight: 700; }
.content thead th { background: var(--main-pale); }
.content table.info th { width: 28%; }
.content table.center td, .content table.center th { text-align: center; }
.note { margin: .4em 0; padding-left: 1em; text-indent: -1em; font-size: .875rem; color: var(--text-2); }
.box { margin: 1.2em 0; padding: 14px 18px; background: var(--bg); border: 1px solid var(--line-2); }
.box > :last-child { margin-bottom: 0; }
.box.notice { background: var(--caution-pale); border-color: #E2C872; }
.box.important { background: var(--important-pale); border-color: #E2AFA8; }
.box-title { margin: 0 0 6px !important; font-weight: 700; }
.steps { list-style: none; padding: 0 !important; counter-reset: step; }
.steps > li { position: relative; margin: 0 0 12px; padding: 12px 14px 12px 56px; background: var(--bg); border: 1px solid var(--line); }
.steps > li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 12px; top: 12px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--main); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.steps .time { display: block; font-size: .8125rem; color: var(--text-2); }
.steps .move { display: block; margin-top: 4px; font-size: .875rem; color: var(--main-dark); }
.faq dt { margin-top: 1em; font-weight: 700; }
.faq dt::before { content: "問："; color: var(--main-dark); }
.faq dd { margin: .3em 0 0; padding-left: 2em; }
.faq dd::before { content: "答："; margin-left: -2em; color: var(--accent); font-weight: 700; }
.attach { list-style: none; padding: 0 !important; }
.attach li { padding: 6px 0; }
.link-list { list-style: none; padding: 0 !important; margin: 0 0 1.2em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.link-list li { margin: 0; border-bottom: 1px dotted var(--line-2); }
.link-list a { display: block; padding: 9px 0 9px 1.2em; position: relative; }
.link-list a::before { content: "›"; position: absolute; left: .2em; color: var(--main); font-weight: 700; }
.link-list .desc { display: block; font-size: .8125rem; color: var(--text-2); padding: 0 0 8px 1.2em; margin-top: -6px; }
.contact-box { margin-top: 32px; border: 2px solid var(--main); background: #fff; }
.contact-box h2 { margin: 0 !important; padding: 8px 14px !important; border: 0 !important; background: var(--main); color: #fff; font-size: 1rem !important; }
.contact-box div { padding: 12px 16px; font-size: .9375rem; }
.contact-box p { margin: 0; }
.back-link { margin: 20px 0 0; }
.back-link a::before { content: "‹ "; }

/* サイドの見出しとメニュー */
.side-nav + .side-nav { margin-top: 20px; }
.side-nav h2 { margin: 0; padding: 10px 14px; background: var(--sub); color: #fff; font-size: 1rem; }
.side-nav h2 a { color: #fff; text-decoration: none; }
.side-nav ul { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-top: 0; }
.side-nav li { border-bottom: 1px dotted var(--line-2); }
.side-nav li:last-child { border-bottom: 0; }
.side-nav a { display: block; padding: 9px 14px 9px 26px; position: relative; color: var(--text); text-decoration: none; font-size: .9375rem; line-height: 1.5; }
.side-nav a:visited { color: var(--text); }
.side-nav a::before { content: "›"; position: absolute; left: 12px; color: var(--main); font-weight: 700; }
.side-nav a:hover { background: var(--main-pale); text-decoration: underline; }
.side-nav a[aria-current] { background: var(--main-pale); font-weight: 700; }
.side-banner { margin-top: 20px; }

/* カード一覧（下層） */
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0 0 1.6em; padding: 0 !important; }
.grid-cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cards li { margin: 0; }

/* 施設（スポット）詳細 */
.spot-head { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin-bottom: 1.4em; }
.spot-main { margin: 0; }
.spot-main img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.spot-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.spot-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--line); }
.spot-summary p { margin: 0 0 .8em; }
.spot-en { font-size: .8125rem; color: var(--text-2); letter-spacing: .04em; }
.minimap { position: relative; max-width: 360px; border: 1px solid var(--line-2); background: #EEE6D2; }
.minimap img { display: block; width: 100%; height: auto; }
.minimap .pin { pointer-events: none; }
.minimap .pin .pin-label { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0 !important; margin: 0 0 1em; }
.chips a, .chips span { display: inline-block; padding: 2px 10px; border: 1px solid var(--main); color: var(--main-dark); font-size: .8125rem; text-decoration: none; }
.chips a:hover { background: var(--main-pale); }

/* 交通 */
.tide { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; list-style: none; padding: 0 !important; }
.tide li { margin: 0; padding: 10px; text-align: center; background: var(--bg); border: 1px solid var(--line); }
.tide b { display: block; font-size: 1.25rem; }

/* 検索 */
.search-page form { display: flex; margin: 0 0 16px; }
.search-page input { flex: 1; height: 44px; padding: 0 12px; font-size: 1rem; border: 1px solid var(--line-2); border-right: 0; font-family: inherit; }
.search-page button { height: 44px; padding: 0 20px; background: var(--sub); color: #fff; border: 1px solid var(--sub); font-weight: 700; font-size: 1rem; cursor: pointer; }
.results { list-style: none; padding: 0 !important; }
.results li { padding: 12px 0; border-bottom: 1px dotted var(--line-2); }
.results a { font-weight: 700; font-size: 1.0625rem; }
.results p { margin: 4px 0 0; font-size: .875rem; }
.results mark { background: #FFE58A; color: inherit; }
.results .path { display: block; font-size: .75rem; color: var(--text-2); }

/* サイトマップ */
.sitemap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 32px; }
.sitemap section h2 { font-size: 1.125rem !important; }

/* =====================================================================
   タブレット（768〜1023px）
   ===================================================================== */
@media (max-width: 1023px) {
  .header-inner { min-height: 88px; }
  .site-id .name { font-size: 24px; }
  .search input { width: 200px; }
  .gnav a { font-size: .875rem; }
  .hero-slides { height: 360px; }
  .cols { grid-template-columns: minmax(0, 1fr); }
  .purpose ul { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .know { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-wrap { grid-template-columns: minmax(0, 1fr); }
  .map-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .season { grid-template-columns: 320px minmax(0, 1fr); }
  .shops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-2 { grid-template-columns: minmax(0, 1fr); }
  .goods { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .banners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-layout { grid-template-columns: minmax(0, 1fr); }
  .grid-cards.four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* =====================================================================
   スマートフォン（〜767px）
   ===================================================================== */
@media (max-width: 767px) {
  body { font-size: 1rem; }
  .header-inner { min-height: 64px; gap: 8px; }
  .site-id img { width: 40px; height: 40px; }
  .site-id a { gap: 8px; }
  .site-id .name { font-size: 20px; letter-spacing: .06em; }
  .site-id .en { font-size: 9px; letter-spacing: .02em; margin-top: 2px; white-space: nowrap; }
  .header-tools { display: none; }
  .header-tools.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: #fff; border-bottom: 2px solid var(--main); padding: 12px 16px; }
  .header-tools.is-open .util { display: none; }
  .header-tools.is-open .search { width: 100%; }
  .header-tools.is-open .search input { flex: 1; width: auto; height: 44px; font-size: 1rem; }
  .header-tools.is-open .search button { height: 44px; }
  .site-header { position: relative; }
  .sp-buttons { display: flex; gap: 4px; flex: none; }
  .sp-buttons button {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    width: 52px; height: 52px; padding: 0; border: 1px solid var(--line-2); border-radius: 2px; background: #fff;
    color: var(--sub); font-size: 10px; font-weight: 700; cursor: pointer;
  }
  .sp-buttons button[aria-expanded="true"] { background: var(--sub); color: #fff; border-color: var(--sub); }
  .sp-buttons svg { width: 22px; height: 22px; }
  .gnav { display: none; }
  .gnav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 40; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
  .gnav > ul { flex-direction: column; }
  .gnav > ul > li { border-left: 0; border-right: 0 !important; border-bottom: 1px solid rgba(255, 255, 255, .25); }
  .gnav a { justify-content: flex-start; padding: 12px 16px; min-height: 52px; font-size: 1rem; }
  .gnav a::before { content: "›"; margin-right: 10px; }
  .gnav .sp-only { display: block; background: var(--main-dark); }
  .gnav .sp-only a { font-weight: 400; font-size: .9375rem; min-height: 48px; }
  .gnav .sp-fontsize { display: flex; align-items: center; gap: 8px; padding: 10px 16px; color: #fff; font-size: .875rem; }
  .gnav .sp-fontsize button { min-width: 44px; height: 36px; border: 1px solid #fff; background: transparent; color: #fff; font-size: .875rem; }
  .gnav .sp-fontsize button[aria-pressed="true"] { background: #fff; color: var(--main-dark); font-weight: 700; }

  .container { padding: 0 16px; }
  .hero { margin: 0 -16px; border-left: 0; border-right: 0; border-top: 0; }
  .hero-slides { height: 240px; }
  .hero-copy { position: static; max-width: none; padding: 14px 16px 16px; border-left: 0; border-top: 4px solid var(--main); box-shadow: none; background: #fff; }
  .hero-catch { font-size: 1.375rem; }
  .hero-lead { font-size: .875rem; }
  .hero-bar { padding: 6px 8px; }
  .hero-dots button { width: 30px; }
  .hero-ctrl button { min-width: 48px; padding: 0 6px; }
  .slide figcaption { font-size: .6875rem; right: 4px; bottom: 4px; }

  .emergency { flex-direction: column; margin-top: 16px; }
  .emergency h2 { width: auto; padding: 8px 12px; font-size: 1rem; }
  .emergency ul { padding: 2px 12px; }
  .quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; list-style: none; margin: 16px 0 0; padding: 0; }
  .quick a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 64px;
    background: #fff; border: 1px solid var(--line-2); color: var(--sub); font-size: .75rem; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.3;
  }
  .quick a:visited { color: var(--sub); }
  .quick svg { width: 24px; height: 24px; color: var(--main); }

  .sec { margin-top: 32px; }
  .sec-head h2 { font-size: 1.25rem; }
  .tabs button { padding: 6px 10px; font-size: .8125rem; min-height: 40px; }
  .news-list li { grid-template-columns: auto minmax(0, 1fr); padding: 10px 12px; }
  .news-list li > a, .news-list li > .title { grid-column: 1 / -1; }
  .purpose ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .purpose a { min-height: 88px; font-size: .75rem; }
  .know { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .know .card { flex-direction: row; }
  .know .card img { width: 38%; flex: none; aspect-ratio: 1; }
  .card-body { padding: 10px 12px; }
  .map-title { font-size: .9375rem; left: 6px; top: 6px; padding: 4px 10px 6px; }
  .map-area { font-size: .6875rem; padding: 1px 5px; border-width: 1px; }
  .pin { width: 24px; height: 24px; font-size: .6875rem; border-width: 2px; }
  .map-side { grid-template-columns: minmax(0, 1fr); }
  .map-list ul { columns: 1; }
  .kanko { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .tile span { padding: 6px 10px; font-size: .9375rem; }
  .season { grid-template-columns: minmax(0, 1fr); }
  .season-body { padding: 16px; }
  .status { grid-template-columns: minmax(0, 1fr); }
  .shops { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .shops .card { flex-direction: row; }
  .shops .card img { width: 38%; flex: none; aspect-ratio: 1; }
  .koho { grid-template-columns: 110px minmax(0, 1fr); padding: 12px; gap: 12px; }
  .walk { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .walk a { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .walk img { height: 100%; }
  .goods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .banners { grid-template-columns: minmax(0, 1fr); }
  .foot-links li { padding: 0 10px; }
  .foot-main { grid-template-columns: minmax(0, 1fr); }
  .foot-info dt { float: none; width: auto; }
  .foot-info dd { margin: 0 0 6px; }
  .to-top { width: 52px; height: 52px; }

  .page-title { font-size: 1.375rem; padding: 12px 14px; border-left-width: 6px; }
  .content { padding: 18px 16px 20px; margin: 0 -16px; border-left: 0; border-right: 0; }
  .content h2 { font-size: 1.25rem; }
  .content .fig-row { grid-template-columns: minmax(0, 1fr); }
  .content .fig-float { float: none; width: auto; margin: 0 0 1em; }
  .link-list { grid-template-columns: minmax(0, 1fr); }
  .grid-cards, .grid-cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .spot-head { grid-template-columns: minmax(0, 1fr); }
  .tide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitemap { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .slide, .slide.is-active, .to-top { transition: none; }
}

/* =====================================================================
   印刷
   ===================================================================== */
@media print {
  body { background: #fff; font-size: 11pt; }
  .gnav, .header-tools, .sp-buttons, .hero-bar, .to-top, .page-meta button, .side-nav, .foot-links, .skip, .breadcrumb { display: none !important; }
  .page-layout { grid-template-columns: 1fr; }
  .content { border: 0; padding: 0; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #000; }
  .site-footer a, .foot-bottom { color: #000; background: #fff; }
  .fiction { color: #333; }
  a { color: #000; }
}

/* 追記：JSなしのとき・PCだけの改行 */
.no-js .tabs { display: none; }
.hero-lead .pc-br { display: block; }
@media (max-width: 767px) { .hero-lead .pc-br { display: none; } }

/* 追記：表の中で数字が途中で折れないように（はみ出す表は横にスクロール） */
.content table { overflow-wrap: break-word; }
.content th { min-width: 4.5em; }
.content table.center th, .content table.center td { white-space: nowrap; }

/* 追記：JavaScriptが動かないスマホでは、メニューと検索を最初から開いて出す */
@media (max-width: 767px) {
  .no-js .sp-buttons { display: none; }
  .no-js .gnav { display: block; }
  .no-js .header-tools { display: block; position: static; padding: 0 0 10px; }
  .no-js .header-tools .util { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }
}
