/* ============================================
   まちほめたい — 共通スタイル（2026-08-24 デザイン刷新）
   世界観: クリーム地 × 7つのまとまり色 × 丸ゴシック
   設計書: docs/2026-08-23-まちほめたい-デザイン刷新-設計.md
   ============================================ */
:root {
  --primary: #DE5F16;        /* サイトの主役色（ボタン・アクセント） */
  --primary-dark: #A8430C;   /* 立体ボタンの下辺・hover */
  --primary-pale: #FDF4E6;   /* 淡い地（チップ・表の見出しなど） */
  --accent: #DE5F16;
  --accent-dark: #B54D14;    /* 明るい地に置く濃い文字（クリーム地で4.9:1） */
  --btn: #C4501A;            /* 白文字を載せるボタンの地（4.7:1） */
  --ink: #2B2A28;
  --ink-soft: #6B6558;
  --muted: #7A7063;          /* 補足文字。クリーム地で4.6:1 */
  --bg: #FFF8EE;             /* クリームの地 */
  --card: #FFFFFF;
  --line: #EFE3D0;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(80, 55, 25, .05), 0 8px 24px rgba(80, 55, 25, .06);
  --maru: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  --hand: "Klee One", "Zen Maru Gothic", sans-serif;  /* 口コミ用。本物の太字がある手書き系（2026-08-24 佐藤さん選定④） */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  /* 日本語を文節で折る。未対応ブラウザでも nb (inline-block) が効く */
  word-break: auto-phrase;
  text-wrap: pretty;
  line-break: strict;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
/* 文節の箱。この中では折り返さない（「揚げゆばまん|じゅう」対策） */
nb { display: inline-block; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 641px) {
  .sp-only { display: none; }
  .pc-only { display: inline; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
/* ロゴはファビコンと同じ画像（static/img/icon-192.png）。
   文字で描くと「ま」が中心からずれるため画像にした（2026-08-24 佐藤さん指摘） */
.logo-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
}
.logo-text small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-family: var(--maru);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover { background: var(--primary-pale); color: var(--accent-dark); }

/* ---------- ヒーロー ---------- */
.hero {
  background: var(--bg);
  padding: 44px 0 40px;
  text-align: center;
}
/* サイト名の由来をそのまま見出しにする（2026-08-23 設計） */
.hero-wish {
  font-family: var(--maru);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  max-width: 720px;
  margin: 0 auto;
}
.hero-lead {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 14px;
  color: var(--ink-soft);
}
.hero-search {
  display: flex;
  max-width: 520px;
  margin: 26px auto 0;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 999px;
  overflow: hidden;
  box-shadow: 0 4px 0 var(--primary-dark), 0 7px 14px rgba(80, 55, 25, .16);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 13px 22px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  min-width: 0;
}
.hero-search input::placeholder { color: var(--muted); }
.hero-search button {
  border: none;
  background: var(--btn);
  color: #fff;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 15px;
  padding: 0 26px;
  cursor: pointer;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .18);
}
.hero-search button:hover { background: var(--primary-dark); }
.hero-search-note { margin-top: 10px; font-size: 13px; }
.hero-search-note a { display: inline-block; padding: 6px 2px; }
.hero-search-note a { color: var(--accent-dark); }
.hub-search { margin: 18px 0 4px; max-width: 520px; }
.hero-pet {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 10px;
  margin: 14px 4px 0;
  padding: 10px 22px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 3px 0 #D9CDB8, 0 5px 10px rgba(80, 55, 25, .10);
  color: var(--ink);
  font-family: var(--maru);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .08s ease;
}
.hero-pet span { font-size: 12px; font-weight: 700; color: var(--accent-dark); }
.hero-pet:active { transform: translateY(2px); box-shadow: 0 1px 0 #D9CDB8; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 26px;
  min-width: 110px;
}
.stat strong {
  display: block;
  font-family: var(--maru);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-dark);
  font-variant-numeric: tabular-nums;
}
.stat span { font-size: 12px; color: var(--ink-soft); }

/* ---------- まちほめ隊の募集帯（トップのヒーロー直下）----------
   店舗ページ下部のカード型（.tai-band）とは別物。全幅の細い帯 */
.tai-strip {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  background: #FFE7D6;
  padding: 13px 20px;
  text-decoration: none;
  text-align: center;
}
.tai-strip:hover { background: #FCDCC2; }
.tai-strip-t {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 15px;
  color: var(--primary-dark);
  white-space: nowrap;
}
.tai-strip-s { font-size: 13px; color: #7A5C41; }

/* ---------- 詳細検索 ---------- */
.search-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .search-filters { grid-template-columns: 2fr 1fr 1fr 1fr auto auto; align-items: center; }
}
.filter-input, .filter-select {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
}
.filter-input:focus, .filter-select:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.filter-clear {
  border: none;
  background: none;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 10px 8px;
  white-space: nowrap;
}
.filter-clear:hover { text-decoration: underline; }
.filter-check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.filter-check input { width: 16px; height: 16px; accent-color: var(--primary); }
.search-count { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.search-empty { color: var(--ink-soft); font-size: 14px; padding: 30px 0 50px; }

/* ---------- セクション ---------- */
.section { padding: 46px 0; }
.section-alt { background: #FDF4E6; }
.section-title {
  font-family: var(--maru);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.title-accent {
  width: 6px;
  height: 24px;
  border-radius: 3px;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

/* ---------- お店カード ----------
   写真は使わない（1枚もないため）。まとまり色の帯＋業種チップ＋
   口コミの声1行で、お店の輪郭を伝える。声は手書き書体（Yomogi）。 */
.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}
@media (min-width: 600px) { .store-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .store-grid { grid-template-columns: repeat(3, 1fr); } }

.store-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .15s ease;
  display: flex;
  flex-direction: column;
}
.store-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(80, 55, 25, .13);
}
.card-stripe { display: block; height: 6px; flex-shrink: 0; }
.store-card-body { padding: 13px 16px 16px; }
.store-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.card-cat {
  display: inline-block;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 11px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-sample {
  display: inline-block;
  background: var(--muted);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
}
.badge-sample.inline { vertical-align: middle; }
.store-card-meta { font-size: 11px; color: var(--muted); }
.store-card-name {
  font-family: var(--maru);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 3px 0 5px;
}
.store-card-catch { font-size: 12.5px; line-height: 1.8; color: var(--ink-soft); }
.store-card-voice {
  margin-top: 9px;
  background: #FBEFD3;
  border-radius: 10px;
  padding: 8px 11px;
  font-family: var(--hand);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.9;
  color: #2B2A28;   /* 手書き書体は線が細いので、ご年配にも読めるよう濃くする（2026-08-24 佐藤さん指示） */
}

/* ---------- 7つのまとまり（トップの入口タイル） ---------- */
.group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 10px;
  padding-bottom: 4px;
}
@media (min-width: 700px) { .group-grid { grid-template-columns: repeat(4, 1fr); } }
.group-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gc);
  color: var(--fg, #fff);
  text-decoration: none;
  border-radius: 16px;
  padding: 16px 8px 14px;
  font-family: var(--maru);
  box-shadow: 0 4px 0 color-mix(in srgb, var(--gc) 70%, #000), 0 7px 14px rgba(80, 55, 25, .16);
  transition: transform .08s ease, box-shadow .08s ease;
}
.group-tile:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--gc) 70%, #000), 0 2px 5px rgba(80, 55, 25, .14);
}
.group-name { font-size: 16px; font-weight: 700; line-height: 1.3; }
.group-sub { font-size: 11px; margin-top: 4px; line-height: 1.5; }
.group-count { font-size: 15px; font-weight: 700; margin-top: 5px; font-variant-numeric: tabular-nums; }
.group-count em { font-style: normal; font-size: 11px; font-weight: 400; margin-left: 1px; }
/* 地方ページの中のコンパクト版タイル */
.group-grid.mini .group-tile { padding: 11px 6px 9px; border-radius: 13px; }
.group-grid.mini .group-name { font-size: 14px; }
.group-grid.mini .group-count { font-size: 13px; margin-top: 2px; }

/* ---------- 日本地図（県ごとのブロック・2層） ----------
   座標は data/japanmap.json（佐藤さん採寸の画像 1254×1254 と同じ配置）。
   パソコン: 県リンクの層 / スマホ: 地方リンクの層。CSSだけで切り替える。
   地方の <a> 自体は押せず、中の県ブロックだけ押せる＝どの県でも地方リンク。 */
.jpwrap {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 1254 / 1254;
}
.map-pf-layer, .map-rg-layer { position: absolute; inset: 0; }
.pf {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
  overflow: hidden;
  padding: 1px;
  font-family: var(--maru);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  font-size: clamp(9px, 1.45vw, 12px);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .17), inset 0 1px 0 rgba(255, 255, 255, .22);
  transition: filter .12s ease;
}
@media (max-width: 640px) {
  .pf { box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .17), inset 0 1px 0 rgba(255, 255, 255, .22); }
}
.pf .v { writing-mode: vertical-rl; }
a.pf:hover { filter: brightness(1.12); }
a.pf:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; z-index: 2; }
.rg { position: absolute; inset: 0; pointer-events: none; text-decoration: none; display: block; }
.rg .pf { pointer-events: auto; cursor: pointer; }
.rg:hover .pf { filter: brightness(1.1); }
.rg:active .pf { filter: brightness(.86); }
.rg:focus-visible { outline: none; }
.rg:focus-visible .pf { outline: 2px solid var(--ink); outline-offset: 1px; }
/* 既定: パソコンは県ごと、スマホは地方ごと */
.map-rg-layer { display: none; }
/* まとまりページの地図は、画面幅によらず常に地方ごと（目的×場所の絞り込み用） */
.jpwrap.rg-only .map-rg-layer { display: block; }
@media (max-width: 640px) {
  .map-pf-layer { display: none; }
  .map-rg-layer { display: block; }
}
@media (prefers-reduced-motion: reduce) { .pf { transition: none; } }
/* 凡例（地図の左上の空き）。押すと地方の一覧へ */
.maplegend {
  position: absolute;
  left: 2.5%;
  top: 2%;
  display: flex;
  flex-direction: column;
  gap: .15em;
  font-size: clamp(10px, 2.4vw, 13px);
  z-index: 1;
}
.lg {
  display: flex;
  align-items: center;
  gap: .55em;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--maru);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  padding: .3em .3em;
  border-radius: .4em;
}
.lg i {
  flex: none;
  width: 1.45em;
  height: 1.2em;
  border-radius: .25em;
  background: var(--c);
  box-shadow: inset 0 -.2em 0 rgba(0, 0, 0, .17), inset 0 .08em 0 rgba(255, 255, 255, .22);
}
.lg b { font-size: .9em; color: var(--ink-soft); font-weight: 700; font-variant-numeric: tabular-nums; }
.lg:hover { background: rgba(255, 255, 255, .7); }
.lg:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.lg { min-height: 2.15em; }
/* スマホ: 地図左上の空き（幅約52%・高さ170px）に 2列×4行で並べ、1行を34px以上にして押しやすく。「地方」は省く */
@media (max-width: 640px) {
  .maplegend { display: grid; grid-template-columns: 1fr 1fr; column-gap: .3em; row-gap: .3em; max-width: 49%; }
  .pf.tight { font-size: 8px; }
  .lg { min-height: 34px; flex-wrap: wrap; gap: 0 .4em; padding: .2em .3em; align-content: center; }
  .lg i { width: 1.2em; height: 1.05em; }
  .lg-sfx { display: none; }
  .lg b { flex-basis: 100%; padding-left: 1.6em; font-size: 1em; line-height: 1.1; }
}
.list-lead a, .pet-note a, .tai-note a, .map-hint a, .section-lead a { display: inline-block; padding: 6px 2px; }
.map-note { font-size: 13px; color: var(--ink-soft); margin: -8px 0 18px; }
.map-hint {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 16px auto 0;
  max-width: 560px;
}

/* ---------- まとまり・地方の一覧ページ（/group/ /area/） ---------- */
.hub-head { padding: 22px 0 20px; color: #fff; font-family: var(--maru); }  /* 文字色は build.py が地の色から白/墨を判定して上書き */
.hub-name { font-size: 24px; font-weight: 700; line-height: 1.3; }
.hub-sub { font-size: 14.5px; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; }
.hub-chips { display: flex; flex-wrap: wrap; gap: 9px; margin: 18px 0 22px; }
.pchip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 3px 0 var(--rc), 0 5px 10px rgba(80, 55, 25, .12);
  transition: transform .08s ease, box-shadow .08s ease;
}
.pchip:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--rc), 0 2px 4px rgba(80, 55, 25, .10); }
.pchip b { color: var(--rd, var(--rc)); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.pchip.is-on { background: var(--rd, var(--rc)); color: #fff; }
.pchip.is-on b { color: #fff; }

/* ---------- CTA ---------- */
.section-cta {
  background: #FDF4E6;
  text-align: center;
}
.section-cta h2 { font-family: var(--maru); font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.section-cta p { font-size: 14px; max-width: 560px; margin: 0 auto 22px; color: var(--ink-soft); }
.btn-primary, .btn-secondary {
  display: inline-block;
  text-decoration: none;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 34px;
  border-radius: 999px;
  text-align: center;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-primary {
  background: var(--btn);
  color: #fff;
  box-shadow: 0 4px 0 var(--primary-dark), 0 7px 14px rgba(80, 55, 25, .16);
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--primary-dark), 0 2px 5px rgba(80, 55, 25, .14); }
.btn-secondary {
  background: #fff;
  color: var(--accent-dark);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 0 #D9CDB8, 0 7px 14px rgba(80, 55, 25, .12);
}
.btn-secondary:active { transform: translateY(3px); box-shadow: 0 1px 0 #D9CDB8; }
/* 運営会社サイトへ移動するボタン。サイト内の導線(オレンジ)と区別する濃い色 */
.btn-campaign {
  display: inline-block;
  text-decoration: none;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 999px;
  text-align: center;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 0 #000, 0 7px 14px rgba(80, 55, 25, .2);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-campaign:hover { filter: brightness(1.25); }
.btn-campaign:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }

/* ---------- パンくず ---------- */
.breadcrumbs { padding: 16px 0 4px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; font-size: 12px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin: 0 6px; color: #C9BDA8; }
.breadcrumbs a { color: var(--accent-dark); text-decoration: none; display: inline-block; padding: 6px 0; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- 一覧ページ絞り込みチップ ---------- */
.list-filters {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.list-filter-group {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.filter-group-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* エリアチップの地方ブロック分け */
.list-filter-group.has-regions { flex-direction: column; align-items: stretch; gap: 8px; }
.filter-regions { display: flex; flex-direction: column; gap: 8px; }
.filter-region { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.filter-region-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 6.5em;
}
.chip-active {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

/* ---------- 一覧ページ ---------- */
.list-header { margin: 12px 0 26px; }
.list-header h1 { font-family: var(--maru); font-size: 24px; font-weight: 700; }
.list-lead { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
.related { margin: 40px 0 24px; }
.related h2 { font-family: var(--maru); font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.related-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.related-links a {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 13px;
  text-decoration: none;
  color: var(--accent-dark);
}
.related-links a:hover { border-color: var(--primary); }

/* ---------- 店舗詳細 ----------
   --gc/--gp/--gi は store.html がまとまりの色を入れる（ベタ/淡い地/濃い文字）。
   一覧から来ても同じ色が続くので、どこにいるか分からなくならない。 */
.store-detail { padding-bottom: 48px; }
.store-header {
  background: #fff;
  border-top: 6px solid var(--gc, var(--primary));
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px 20px;
  margin: 8px 0 24px;
}
.store-meta { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 10px; }
.chip {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--accent-dark);
  font-family: var(--maru);
  font-size: 12.5px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  text-decoration: none;
}
.chip:hover { filter: brightness(.96); }
.chip-group { background: var(--gp, var(--primary-pale)); color: var(--gi, var(--accent-dark)); }
.store-name { font-family: var(--maru); font-size: 26px; font-weight: 700; line-height: 1.5; }
.store-catch { font-size: 15px; color: var(--ink-soft); margin-top: 6px; }

.store-photos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
@media (min-width: 700px) {
  .store-photos { grid-template-columns: 2fr 1fr; }
  .store-photos img:first-child { grid-row: span 2; }
}
.store-photos img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; }

/* このお店のいいところ（features）。白カードで2列（2026-08-23 設計 3-2） */
.store-features { margin-bottom: 32px; }
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 600px) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gc, var(--primary));
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 14px;
  line-height: 1.7;
}

.store-article, .store-reviews, .store-info { margin-bottom: 36px; }
.store-article h2, .store-reviews h2, .store-info h2, .store-features h2, .related-stores h2 {
  font-family: var(--maru);
  font-size: 19px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.store-detail .title-accent { background: var(--gc, var(--primary)); }
.store-article p { margin-bottom: 14px; font-size: 15px; }

/* 寄せられている声。お客さんの言葉だと字の形（手書き）で分かるようにする。
   出典（Googleマップの口コミより・要約）は必ず添える。 */
.review {
  background: #FBEFD3;
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.review p { font-family: var(--hand); font-weight: 600; font-size: 15.5px; line-height: 2.1; color: #2B2A28; }
/* ダーシだけ普通の書体で描く（Yomogiだと前の文字に重なるため） */
.review .dash { font-family: "Noto Sans JP", sans-serif; }
.review cite { display: block; font-style: normal; font-family: "Noto Sans JP", sans-serif; font-size: 11.5px; color: var(--muted); margin-top: 8px; }
.review-more { font-size: 13px; }
.review-more a { font-weight: 700; display: inline-block; padding: 6px 0; }

.info-table {
  width: 100%;
  table-layout: fixed;   /* 長いURL等で表が画面からはみ出さないよう列幅を固定 */
  border-collapse: collapse;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.info-table th, .info-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { background: var(--primary-pale); color: var(--ink-soft); width: 6.5em; font-weight: 700; }
.info-table td { overflow-wrap: anywhere; }
.info-table td a { word-break: break-all; display: inline-block; padding: 4px 0; }

.store-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.store-actions .btn-primary, .store-actions .btn-secondary { flex: 1; min-width: 200px; }
.disclosure-note { font-size: 12px; color: var(--muted); }

/* ---------- 運営会社のキャンペーン告知（掲載についてページ） ---------- */
.campaign {
  margin: 32px 0;
  padding: 26px 24px 24px;
  background: #FDF4E6;
  border-radius: var(--radius);
  text-align: center;
}
.band-inner .campaign-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #fff;
  background: var(--btn);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.campaign-title {
  font-family: var(--maru);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 12px;
}
.campaign-title strong {
  color: var(--accent-dark);
  font-size: 1.25em;
}
.campaign-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 16px;
}
.campaign-was {
  font-size: 17px;
  font-weight: 700;
  color: var(--muted);
  text-decoration-thickness: 2px;
}
.campaign-arrow { font-size: 18px; color: var(--muted); }
.campaign-now {
  font-size: 34px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--accent-dark);
}
.campaign-body {
  font-size: 14px;
  color: var(--ink-soft);
  text-align: left;
  margin-bottom: 20px;
}
.campaign-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.campaign-tel { font-size: 13px; color: var(--ink-soft); }
.campaign-tel a { font-weight: 700; }
@media (min-width: 600px) {
  .campaign { padding: 32px 32px 28px; }
  .campaign-title { font-size: 24px; }
  .campaign-was { font-size: 19px; }
  .campaign-now { font-size: 42px; }
}

/* ---------- トップページ下部のキャンペーン帯 ---------- */
.campaign-band { background: var(--bg); }
.band-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 28px 24px 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.band-title {
  font-family: var(--maru);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 10px;
}
.band-inner .band-sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.band-inner .band-sub strong { color: var(--accent-dark); font-size: 1.1em; }
/* 「毎月3社限定」バッジ。無料(オレンジ)と区別できる赤で希少性を立たせる */
.band-inner .band-limit { margin: 2px 0 0; line-height: 1; }
.limit-badge {
  display: inline-block;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .08em;
  color: #fff;
  background: #D6402F;
  padding: 7px 22px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(214, 64, 47, .3);
}
.band-inner .band-note { font-size: 12px; color: var(--muted); margin-top: 10px; }
.band-inner .band-extras {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--primary-pale);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 12px;
}
/* container の中に置くページ用。背景は敷かず余白だけ足す */
.store-campaign, .about-campaign { background: none; padding: 4px 0 44px; }
.about-campaign { padding: 8px 0 8px; }
.about-campaign .campaign-body {
  text-align: left;
  font-size: 14px;
  color: var(--ink-soft);
  margin: 4px 0 18px;
}
@media (min-width: 600px) {
  .band-inner .band-title { font-size: 22px; }
  .limit-badge { font-size: 17px; }
}

/* ---------- ペットと行けるお店（/pet/） ---------- */
/* 種類の絞り込み（同じ店を2回出さないための切り替え） */
.pet-filter { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 14px; }
.pet-chip {
  font-family: var(--maru);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  background: #fff;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  box-shadow: 0 3px 0 #D9CDB8, 0 5px 10px rgba(80, 55, 25, .12);
  transition: transform .08s ease, box-shadow .08s ease;
}
.pet-chip:active { transform: translateY(2px); box-shadow: 0 1px 0 #D9CDB8; }
.pet-chip.is-on { background: var(--ink); color: #fff; box-shadow: 0 3px 0 #000, 0 5px 10px rgba(80, 55, 25, .14); }
.pet-filter-note {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.pet-group { margin-bottom: 8px; }
.pet-group[hidden] { display: none; }
.pet-card-wrap { display: flex; flex-direction: column; }
.pet-card-wrap[hidden] { display: none; }
.pet-foot {
  background: #FDF4E6;
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 8px 12px;
  margin-top: -6px;
}
.pet-foot.is-fureai { background: #FBEFE2; }
.pet-badges { display: flex; flex-wrap: wrap; gap: 4px; }
.pet-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.pet-badge.b-dohan { background: #1C708D; color: #fff; }
.pet-badge.b-fureai { background: #915D1D; color: #fff; }
/* 保護犬・保護猫（/hogo/）。一覧の作りは /pet/ と同じなので .pet-* を使い回す */
.pet-badge.b-inu { background: #915D1D; color: #fff; }
.pet-badge.b-neko { background: #5D48A8; color: #fff; }
.pet-tags {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-top: 5px;
}
.pet-foot.is-fureai .pet-tags { color: #8A5A2B; }
.pet-foot.is-hogo { background: #F1EEF7; }
.pet-foot.is-hogo .pet-tags { color: #57497F; }
.pet-more { font-size: 14px; margin: 8px 0 48px; }

/* ---------- まちほめ隊（/tai/ と各所の導線） ---------- */
.tai-lead {
  font-family: var(--maru);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.9;
  margin-bottom: 16px;
}
.tai-steps { list-style: none; padding: 0; margin: 12px 0 8px; display: grid; gap: 10px; }
.tai-steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0;
}
.tai-n {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--btn);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18);
  color: #fff;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tai-steps b { display: block; font-family: var(--maru); font-size: 15px; margin-bottom: 2px; }
.tai-steps div { font-size: 13.5px; color: var(--ink-soft); line-height: 1.8; }
.tai-note { font-size: 13px; color: var(--muted); }
.tai-cta { margin: 14px 0 6px; }
/* --- まちほめ隊ページ 2026-08-25 改良（「まちほめ隊のご案内」PDFの構成を移植） --- */
.tai-catch {
  font-family: var(--maru);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 4px;
}
.tai-catch-sub {
  font-family: var(--maru);
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
/* 黒いバッジ＋見出しの行（PDFの節見出しの型） */
.tai-page h2.tai-h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  border-left: none;
  padding-left: 0;
  margin: 36px 0 12px;
}
.tai-badge {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.tai-h2t { font-size: 18px; }
/* 水色の帯（PDFのteal帯） */
.tai-callout {
  background: #DCF0F8;
  border-left: 4px solid #3AA5CC;
  border-radius: 0 10px 10px 0;
  color: #1E7896;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 13.5px;
  line-height: 1.9;
  padding: 10px 14px;
  margin: 14px 0 6px;
}
/* AIの説明の前置き（クリーム地・オレンジの縁） */
.tai-ai-intro {
  background: #FFE7D6;
  border-left: 4px solid var(--primary);
  border-radius: 0 10px 10px 0;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.9;
}
/* 3つのポイント（白カード・色付き番号） */
.tai-points { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 12px 0 6px; }
@media (min-width: 700px) { .tai-points { grid-template-columns: repeat(3, 1fr); } }
.tai-point {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}
.tai-point .tai-n { margin-bottom: 8px; }
.tai-point b { display: block; font-family: var(--maru); font-size: 14.5px; line-height: 1.6; margin-bottom: 4px; }
.tai-point span:not(.tai-n) { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
/* 運営者の想い */
.tai-aim {
  background: #FDF4E6;
  border-radius: 14px;
  padding: 18px 20px;
}
.tai-aim h3 {
  font-family: var(--maru);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.tai-aim p { font-size: 14px; margin-bottom: 8px; }
.tai-aim p:last-child { margin-bottom: 0; }
/* 参加カード（LINEは緑の枠＝PDFの緑のところ） */
.tai-join { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 14px 0 8px; }
@media (min-width: 700px) { .tai-join { grid-template-columns: 1fr 1fr; } }
.tai-join-card {
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.tai-join-card.is-line { border: 2px solid #4BB474; }
.tai-join-badge {
  display: inline-block;
  background: #2E8452;
  color: #fff;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 12px;
  border-radius: 999px;
}
.tai-join-badge.is-plain { background: #fff; color: var(--ink-soft); border: 1.5px solid var(--line); }
.tai-join-card b { font-family: var(--maru); font-size: 16px; }
.tai-join-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.9; margin: 0 0 4px; }
.tai-join-card .btn-primary, .tai-join-card .btn-secondary { align-self: stretch; text-align: center; margin-top: auto; }
/* 下部の表（ご紹介について／対象外／お返し） */
.tai-table { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin: 26px 0 10px; overflow: hidden; }
.tai-table > div { display: flex; gap: 12px; padding: 11px 16px; border-bottom: 1px dashed var(--line); }
.tai-table > div:last-child { border-bottom: none; }
.tai-table dt { flex: none; width: 7.5em; font-family: var(--maru); font-weight: 700; font-size: 13px; }
.tai-table dd { margin: 0; font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 560px) { .tai-table > div { flex-direction: column; gap: 2px; } .tai-table dt { width: auto; } }
/* 結びの一言 */
.tai-tagline {
  text-align: center;
  font-family: var(--maru);
  font-weight: 700;
  font-size: 16px;
  color: #2E8452;
  margin: 26px 0 4px;
}
/* 店舗ページ下部の帯 */
.tai-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background: #FFF1E2;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 8px 0 32px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 3px 0 #E7D3B8, 0 5px 12px rgba(80, 55, 25, .10);
  transition: transform .08s ease, box-shadow .08s ease;
}
.tai-band:active { transform: translateY(2px); box-shadow: 0 1px 0 #E7D3B8; }
.tai-band-t { font-family: var(--maru); font-weight: 700; font-size: 16px; line-height: 1.6; }
.tai-band-s { font-size: 12.5px; color: var(--accent-dark); font-weight: 700; }
/* 紹介者クレジット（本人が希望した場合だけ出る） */
.referrer-note {
  background: #FFF1E2;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.referrer-note b { font-family: var(--maru); color: var(--accent-dark); }

/* ---------- 内容タグ（診療科・売っている物・作れる物） ---------- */
.tag-cell { display: flex; flex-wrap: wrap; gap: 6px; }
.store-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--primary-pale);
  color: var(--accent-dark);
  text-decoration: none;
}
.store-tag:hover { filter: brightness(.96); }
.store-tag.is-plain { background: var(--bg); color: var(--muted); }

/* ---------- ペット同伴情報（情報がある店だけ表示） ---------- */
.pet-note { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ---------- 関連店舗（店舗ページ下部の内部リンク） ---------- */
.related-stores {
  margin: 40px 0 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.related-more {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
}
.related-more a { font-weight: 700; display: inline-block; padding: 6px 0; }

/* ---------- 固定ページ ---------- */
.static-page { padding: 12px 0 48px; max-width: 760px; }
.static-page h1 { font-family: var(--maru); font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.static-page h2 {
  font-family: var(--maru);
  font-size: 18px;
  font-weight: 700;
  margin: 30px 0 10px;
  padding-left: 12px;
  border-left: 5px solid var(--primary);
}
.static-page p, .static-page li { font-size: 14px; margin-bottom: 8px; }
.static-page ul { padding-left: 22px; margin-bottom: 12px; }
.static-page .info-table { margin: 14px 0; }
.note { font-size: 12px; color: var(--muted); margin-top: 16px; }

/* ---------- フッター ---------- */
.site-footer {
  background: #3A332B;
  color: #E8DFD2;
  padding: 40px 0 28px;
  margin-top: 24px;
}
.footer-logo { font-family: var(--maru); font-size: 20px; font-weight: 700; color: #fff; }
.footer-tagline { font-size: 12px; opacity: .75; margin-bottom: 18px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }
.footer-nav a { color: #E8DFD2; font-size: 13px; text-decoration: none; display: inline-block; padding: 6px 0; }
.footer-nav a:hover { color: #F4A259; }
.footer-note { font-size: 11px; opacity: .65; margin-bottom: 12px; }
.copyright { font-size: 11px; opacity: .55; }
