/* =============================================================
   久喜ライフ テーマ 共通CSS
   -------------------------------------------------------------
   ・承認済みの静的デザインモック(kuki-life-mock/css/style.css)のトップ・共通部分を元に、
     WordPress テーマ用に整理したもの。配色・文字・余白・幅は、モックと同じ値。
   ・配色・フォント・余白・幅は「1. デザイントークン」で一括管理する。
   ・Cocoon など他のテーマのCSSには依存しない。外部CDN・Webフォントは使わない。
   ・ブレークポイント: 640px(大きめスマホ/小型タブレット)、1024px(PC)
   ・店舗詳細のCSSは「11. 店舗詳細ページ」。グルメ検索・ニュース一覧などのCSSは、各機能の実装時に追加する。
   ============================================================= */


/* ============================================================
   1. デザイントークン(調整の起点)
   ============================================================ */
:root {
  /* --- 配色: 土台(白・温かみのある淡い色) --- */
  --c-bg:        #FBF8F2;   /* ページ全体の背景(温かいオフホワイト) */
  --c-surface:   #FFFFFF;   /* カード・入力欄の背景 */
  --c-warm:      #F4EDE0;   /* ナビ帯・やわらかい面 */
  --c-warm-deep: #EADFCB;   /* 非アクティブなタブ */
  --c-border:    #E6DECF;   /* 区切り線・枠線 */

  /* --- 配色: グリーン系アクセント(ロゴの緑に合わせている) --- */
  --c-green:       #357F39;   /* ボタン・リンク・強調(白文字が読める濃さ) */
  --c-green-deep:  #25602A;   /* ホバー・見出し・フッター */
  --c-green-vivid: #3E9238;   /* 装飾専用(文字には使わない) */
  --c-green-soft:  #E8F2E4;   /* 淡い緑の面 */
  --c-green-tint:  #F2F8EF;   /* ヒーロー上部の色・アクティブタブ */

  /* --- 配色: ロゴの青・黄(ごく控えめに使用) --- */
  --c-blue:        #1F78B8;
  --c-blue-soft:   #E3F0FA;
  --c-yellow:      #F2A81D;
  --c-yellow-soft: #FDF1D6;
  --c-yellow-ink:  #7A4E00;   /* 黄色い面の上の文字色 */
  --c-yellow-tint: #FEF8E8;   /* ジャンル入口パネルの淡い背景 */
  --c-yellow-edge: #F2E2BC;   /* 同・枠線 */

  /* --- 配色: 文字 --- */
  --c-text:       #3A2F26;   /* 本文(黒ではなく温かい焦げ茶) */
  --c-text-muted: #74685B;   /* 補足・日付 */
  --c-text-nav:   #665A4D;   /* 非選択タブなど、ベージュの面の上の文字(コントラスト比 4.5:1 以上) */
  --c-on-dark:    #F6F1E6;   /* 濃色背景の上の文字 */
  --c-footer:     #2B4A31;   /* フッター背景 */

  /* --- フォント(端末に入っているフォントのみ。Webフォントは読み込まない) --- */
  --font-sans:  "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI",
                "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho,
                "Noto Serif JP", "Times New Roman", serif;   /* キャッチコピー用 */

  /* --- 文字サイズ(スマホ基準。PCは下の@mediaで上書き) --- */
  --fs-base:  16px;
  --fs-small: 14px;     /* これより小さくしない(「準備中」の小さな札だけ13px) */
  --fs-h1:    clamp(28px, 7vw, 46px);
  --fs-h2:    22px;
  --lh-base:  1.8;

  /* --- 幅・余白 --- */
  --max-width: 1280px;   /* PCの最大コンテンツ幅(外枠) */
  --gutter:    16px;     /* 画面端の余白(スマホ) */
  --section-gap: 56px;   /* セクション間の余白(スマホ) */

  /* --- 角丸・影 --- */
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --shadow-card: 0 10px 30px rgba(74, 58, 36, 0.08);

  /* --- タップしやすさ --- */
  --tap-min: 48px;   /* ボタン・リンクの最低の高さ */
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 40px;
    --fs-base: 17px;
    --fs-h2: 26px;
    --section-gap: 88px;
  }
}


/* ============================================================
   2. ベース
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  line-break: strict;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; }

h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }

:focus-visible {
  outline: 3px solid var(--c-blue);
  outline-offset: 2px;
}

.container {
  width: min(100% - (var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}

.nowrap { display: inline-block; }   /* 日本語の不自然な折り返し防止 */

/* 画面には出さず、読み上げソフトにだけ伝える文字 */
.visually-hidden,
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-green);
  color: #fff;
  border-radius: var(--radius-s);
}
.skip-link:focus { top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}


/* ============================================================
   3. 共通パーツ(ボタン・見出し・札)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap-min);
  padding: 0 28px;
  border: 2px solid var(--c-green);
  border-radius: 999px;
  background: var(--c-green);
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.btn:hover { background: var(--c-green-deep); border-color: var(--c-green-deep); }

.btn--outline { background: transparent; color: var(--c-green); }
.btn--outline:hover { background: var(--c-green); color: #fff; }

/* 押せない状態(機能が未実装のボタン) */
.btn:disabled,
.btn:disabled:hover {
  background: var(--c-warm-deep);
  border-color: var(--c-warm-deep);
  color: var(--c-text-nav);
  cursor: not-allowed;
}

/* ロゴの3つの点(緑・黄・青)を引用した飾り */
.dots {
  display: inline-flex;
  gap: 6px;
  vertical-align: middle;
}
.dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-green-vivid);
}
.dots i:nth-child(2) { background: var(--c-yellow); }
.dots i:nth-child(3) { background: var(--c-blue); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 20px;
}
.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-h2);
  line-height: 1.4;
  font-weight: 700;
  color: var(--c-green-deep);
}
.section-sub {
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

/* 「準備中」の札(機能・ページが、まだ無いことを示す) */
.badge-soon {
  flex: none;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--c-yellow-soft);
  color: var(--c-yellow-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: .06em;
  white-space: nowrap;
}


/* ============================================================
   4. ヘッダー(ロゴ)
   ============================================================ */
.site-header {
  background: var(--c-surface);
  padding: 12px 0 10px;
}
.site-header__inner {
  display: flex;
  justify-content: center;
}
.site-logo { display: block; line-height: 0; }
.site-logo img {
  height: 56px;          /* スマホ・タブレットのロゴ高さ(タグラインなしの切り抜き版) */
  width: auto;
  /* C3案: 旧ロゴは地を純白にそろえた画像のため、mix-blend-mode・filterによる白飛ばしは不要(色もそのまま出る) */
}

@media (min-width: 1024px) {
  .site-header { padding: 18px 0 14px; }
  .site-logo img { height: 88px; }   /* PCのロゴ高さ(タグライン付きの旧ロゴ全体。picture/sourceで切替) */
}


/* ============================================================
   5. タブ風ナビゲーション(TOP | グルメ | ニュース)
      ※ 各タブは「別ページへのリンク」。ページが無い項目は「準備中」(リンクにしない)
   ============================================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-warm);
  border-bottom: 1px solid var(--c-border);
  padding-top: 8px;
}
.site-nav__list {
  display: flex;
  gap: 4px;
  width: min(100% - (var(--gutter) * 2), var(--max-width));
  margin-inline: auto;
}
.site-nav__item { flex: 1 1 0; min-width: 0; }   /* スマホ: 3等分で必ず3つ見える */

.site-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 8px;
  border-radius: var(--radius-s) var(--radius-s) 0 0;
  border-top: 4px solid transparent;
  background: var(--c-warm-deep);
  color: var(--c-text-nav);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
a.site-nav__link:hover { background: #F0E7D6; color: var(--c-green-deep); }

/* 現在のページのタブ: 下のヒーローと色をそろえて「つながって」見せる */
.site-nav__link[aria-current="page"] {
  background: var(--c-green-tint);
  border-top-color: var(--c-green-vivid);
  color: var(--c-green-deep);
}

/* ページが、まだ無いタブ(リンクではない) */
.site-nav__link--pending {
  flex-direction: column;
  gap: 0;
  line-height: 1.25;
  border-top-style: dashed;
  border-top-color: var(--c-border);
  cursor: default;
}
.site-nav__soon {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
}

@media (min-width: 1024px) {
  .site-nav__list { justify-content: center; gap: 8px; }
  .site-nav__item { flex: 0 0 220px; }     /* PC: 固定幅のタブを中央寄せ */
  .site-nav__link { min-height: 58px; font-size: 17px; }
}

/* WordPress の管理バー(ログイン中だけ表示)と、固定するナビが重ならないようにする */
.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) {
  .admin-bar .site-nav { top: 46px; }
}
@media (max-width: 600px) {
  .admin-bar .site-nav { top: 0; }   /* この幅では、管理バーは画面と一緒にスクロールして消える */
}


/* ============================================================
   6. サイト紹介・キャッチコピー(ヒーロー)※写真なしで成立
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-green-tint) 0%, var(--c-bg) 100%);
  padding: 40px 0 72px;      /* 下を多めに取り、検索カードを重ねる */
  text-align: center;
}

/* やわらかい円の飾り(画像ではなくCSSだけ) */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 320px; height: 320px;
  right: -90px; top: -110px;
  background: var(--c-green-soft);
  opacity: .8;
}
.hero::after {
  width: 220px; height: 220px;
  left: -80px; bottom: -70px;
  background: var(--c-yellow-soft);
  opacity: .9;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .24em;
  color: var(--c-green-deep);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--c-green-deep);
  text-wrap: balance;
}
.hero__lead {
  margin-top: 18px;
  font-size: var(--fs-base);
  color: var(--c-text);
  text-wrap: pretty;
}

@media (min-width: 1024px) {
  .hero { padding: 52px 0 108px; }
  .hero::before { width: 460px; height: 460px; right: -120px; top: -190px; }
  .hero::after  { width: 300px; height: 300px; left: -90px; bottom: -110px; }
  .hero__lead { margin-top: 20px; font-size: 18px; }
}


/* ============================================================
   7. グルメを探す(店名・キーワード / エリア / ジャンル)
      ※ 見た目の土台のみ。検索処理は未実装のため、操作できない「準備中」の表示
   ============================================================ */
.finder {
  position: relative;
  z-index: 2;
  margin-top: -44px;            /* ヒーローに少し重ねる */
}
.finder__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: 22px 16px 24px;
}
.finder__head { margin-bottom: 16px; }
.finder__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-green-deep);
}
.finder__sub {
  margin-top: 4px;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}

/* (1) 店名・キーワード検索 */
.search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.search-form__field {
  position: relative;
  display: block;
}
.search-form__icon {
  position: absolute;
  left: 16px; top: 50%;
  width: 22px; height: 22px;
  transform: translateY(-50%);
  color: var(--c-green);
  pointer-events: none;
}
.search-form__input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px 0 48px;
  border: 2px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-text);
  font: inherit;
  font-size: 16px;          /* 16px未満だとiPhoneで入力時に拡大される */
}
.search-form__input::placeholder { color: var(--c-text-muted); }   /* コントラスト比 5.11:1 */
.search-form__input:focus {
  outline: none;
  border-color: var(--c-green);
  background: #fff;
}
.search-form__input:disabled {
  cursor: not-allowed;
  color: var(--c-text-muted);
  -webkit-text-fill-color: var(--c-text-muted);
  opacity: 1;
}
.search-form__btn { min-height: 56px; }

/* (2)(3) エリア・ジャンルの入口パネル(PC・スマホとも横並び)
   リンクで、グルメ一覧(/gourmet/)の該当する絞り込み欄(#filter-area / #filter-genre)へ移動する。個別の選択ボタンは、グルメ一覧に置く */
.gate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}
.gate {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 160px;
  padding: 14px 12px 50px;      /* 下に矢印の場所を確保 */
  border: 1px solid #CFE3C8;
  border-radius: var(--radius-m);
  background: var(--c-green-tint);
  color: var(--c-text);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.gate--genre {
  border-color: var(--c-yellow-edge);
  background: var(--c-yellow-tint);
}
.gate:hover {
  transform: translateY(-2px);
  border-color: var(--c-green);
  box-shadow: 0 8px 20px rgba(74, 58, 36, .10);
}
.gate__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--c-green);
}
.gate__icon svg { width: 24px; height: 24px; }
.gate__body { display: flex; flex-direction: column; gap: 2px; }
.gate__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--c-green-deep);
}
.gate__sub {
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--c-text-muted);
}
.gate__preview { display: none; }      /* 補足の一覧文は広い画面だけ表示 */
.gate__arrow {
  position: absolute;
  right: 12px; bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-green);
  color: #fff;
}
.gate__arrow svg { width: 16px; height: 16px; }

@media (min-width: 640px) {
  .finder__card { padding: 32px 32px 36px; }
  .gate-grid { gap: 16px; margin-top: 24px; }
  .gate { min-height: 190px; padding: 20px 20px 56px; }
  .gate__title { font-size: 18px; }
  .gate__preview {
    display: block;
    margin-top: 6px;
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--c-text);
  }
  .gate__arrow { right: 16px; bottom: 16px; }
}

@media (min-width: 1024px) {
  .finder { margin-top: -64px; }       /* ヒーローへの重なり */
  .finder__card { padding: 44px 56px 48px; border-radius: 28px; }
  .finder__head { margin-bottom: 22px; }

  .search-form { flex-direction: row; gap: 12px; }
  .search-form__field { flex: 1; }
  .search-form__input { min-height: 64px; font-size: 17px; padding-left: 56px; }
  .search-form__icon { left: 22px; width: 24px; height: 24px; }
  .search-form__btn { min-height: 64px; min-width: 180px; font-size: 17px; }

  .gate-grid { gap: 24px; margin-top: 28px; }
  .gate {
    flex-direction: row;
    align-items: center;
    gap: 22px;
    min-height: 148px;
    padding: 28px 80px 28px 32px;
  }
  .gate__icon { width: 64px; height: 64px; }
  .gate__icon svg { width: 30px; height: 30px; }
  .gate__title { font-size: 20px; }
  .gate__arrow {
    top: 50%; bottom: auto;
    right: 28px;
    width: 36px; height: 36px;
    transform: translateY(-50%);
  }
  .gate__arrow svg { width: 18px; height: 18px; }
}


/* ============================================================
   8. 新着ニュース(縦1列)
   ============================================================ */
.news { padding-top: var(--section-gap); }

.news-list {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.news-list > li + li { border-top: 1px solid var(--c-border); }

.news-item {
  display: grid;
  /* スマホ: 1段目=日付・種別・エリア / 2段目=タイトル+矢印 */
  grid-template-columns: auto auto 1fr 24px;
  grid-template-areas:
    "date type area  ."
    "title title title chev";
  align-items: center;
  gap: 6px 10px;
  padding: 14px 14px 16px;
  color: inherit;
  text-decoration: none;
  transition: background-color .2s;
}
a.news-item:hover { background: var(--c-green-tint); }
a.news-item:hover .news-item__title { color: var(--c-green-deep); text-decoration: underline; }

.news-item__date {
  grid-area: date;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  font-variant-numeric: tabular-nums;
}
.news-item__type {
  grid-area: type;
  justify-self: start;
  padding: 1px 10px;
  border-radius: 999px;
  background: var(--c-green-soft);
  color: var(--c-green-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}
.news-item__type[data-type="event"] { background: var(--c-blue-soft);   color: #14557F; }
.news-item__type[data-type="open"]  { background: var(--c-yellow-soft); color: var(--c-yellow-ink); }
.news-item__type[data-type="deal"]  { background: #FBE6E0;             color: #8A3320; }
.news-item__type[data-type="admin"] { background: #ECE8E1;             color: #55493D; }

.news-item__area {
  grid-area: area;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}
.news-item__title {
  grid-area: title;
  font-size: var(--fs-base);
  font-weight: 700;
  line-height: 1.6;
  color: var(--c-text);
  overflow-wrap: anywhere;      /* 区切りのない長い文字列でも、横スクロールを起こさない */
}
.news-item__chev {
  grid-area: chev;
  width: 22px; height: 22px;
  color: var(--c-green);
}

.news__more { margin-top: 24px; text-align: center; }

/* ニュースが、まだ無いときの表示 */
.news-empty {
  padding: 32px 20px;
  border: 1px dashed var(--c-border);
  border-radius: var(--radius-m);
  background: var(--c-surface);
  text-align: center;
}
/* 折り返しは、文節の切れ目で(「ありませ/ん」のような途中の改行を防ぐ。対応ブラウザのみ。非対応でも通常の折り返しで表示される)。
   ニュースが0件のときだけ使う表示なので、一覧がある場合には影響しない */
.news-empty__title {
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-green-deep);
  word-break: auto-phrase;
  text-wrap: balance;
}
.news-empty__text {
  margin-top: 4px;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
  word-break: auto-phrase;
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .news { padding-top: 64px; }   /* 検索カードとの間を詰めて自然につなぐ */
  .news-item {
    /* PC: 日付 | 種別 | タイトル | エリア | 矢印 を1行に並べる */
    grid-template-columns: 128px 128px 1fr 120px 24px;
    grid-template-areas: "date type title area chev";
    gap: 0 24px;
    padding: 22px 56px;   /* 左右56pxは検索カードの内側余白と同じ値 → 文字の左端がそろう */
  }
  .news-item__area { text-align: right; }
  .news-item__title { font-size: 18px; }
  .news__more { margin-top: 32px; }
  .news-empty { padding: 44px 24px; }
}


/* ============================================================
   9. フッター
   ============================================================ */
.site-footer {
  margin-top: var(--section-gap);
  background: var(--c-footer);
  color: var(--c-on-dark);
}
.site-footer__main {
  display: grid;
  gap: 32px;
  padding: 44px 0 32px;
}
.site-footer__name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .08em;
}
.site-footer__tag {
  margin-top: 6px;
  font-size: var(--fs-small);
  opacity: .85;
}
.site-footer__nav { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.site-footer__nav-title {
  margin-bottom: 8px;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: .12em;
  color: #BFDDB8;
}
.site-footer__nav a {
  display: block;
  padding: 8px 0;              /* リンクのタップ領域を確保 */
  color: var(--c-on-dark);
  text-decoration: none;
}
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__pending {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  padding: 8px 0;
  color: var(--c-on-dark);
}
.site-footer__soon {
  padding: 0 8px;
  border: 1px solid rgba(246, 241, 230, .55);
  border-radius: 999px;
  font-size: 13px;
  line-height: 22px;
  white-space: nowrap;
}
.site-footer__bottom {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(246, 241, 230, .2);
  font-size: 14px;
  opacity: .85;
}
.site-footer__bottom p + p { margin-top: 4px; }

@media (min-width: 1024px) {
  .site-footer__main {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
    padding: 64px 0 44px;
  }
  .site-footer__nav { gap: 48px; }
}


/* ============================================================
   10. 汎用ページ(index.php)の暫定スタイル
       専用のテンプレート(グルメ一覧・ニュースなど)は、各機能の実装時に追加する(店舗詳細は single-store.php)
   ============================================================ */
.page-body { padding: 40px 0 8px; }
.page-body__head { margin-bottom: 24px; }
.page-body__title {
  font-size: var(--fs-h2);
  line-height: 1.4;
  color: var(--c-green-deep);
  overflow-wrap: anywhere;
}
.page-body__text { margin-bottom: 20px; }
.page-body__action { margin-top: 20px; }

.entry {
  margin-bottom: 24px;
  padding: 24px 20px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  background: var(--c-surface);
}
.entry__title {
  font-size: var(--fs-h2);
  line-height: 1.4;
  color: var(--c-green-deep);
  overflow-wrap: anywhere;
}
.entry__title a { text-decoration: none; }
.entry__title a:hover { text-decoration: underline; }
.entry__content {
  max-width: 800px;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.entry__content p + p { margin-top: 1em; }
.entry__content img { height: auto; }

@media (min-width: 1024px) {
  .page-body { padding: 64px 0 8px; }
  .entry { padding: 40px 48px; }
}


/* ============================================================
   11. 店舗詳細ページ(single-store.php)
   ------------------------------------------------------------
   ・承認済みモック(kuki-life-mock/css/style.css の「15. 店舗詳細ページ」)の、配色・余白・カードの形を踏襲。
   ・本文の幅は約960px(--store-width)。サイドバーなし。モックは1,080pxで、PCは基本情報と地図の2列だった。
     960px でも2列は窮屈になるため、全幅で縦1列(基本情報 → アクセス・地図 → 外部リンク)にしている。
   ・長い本文の1行は、約46文字(46em)までにして、読みやすさを保つ。
   ・色の使い分けは、グルメページと同じ(エリア=緑 / ジャンル=黄 / 特徴=青 / ラーメン専用=黄)。
   ・特徴・味・スタイル・説明文・各行・外部リンクは任意。ないものは表示しなくても、余白が自然に詰まる。
   ============================================================ */
:root { --store-width: 960px; }

.store-page { padding-top: 8px; }
.store { max-width: var(--store-width); margin: 0 auto; }
.store > * + * { margin-top: 16px; }

/* タグ(エリア・ジャンル) */
.tag {
  padding: 0 10px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 24px;
  white-space: nowrap;
}
.tag--area  { background: var(--c-green-soft);  color: var(--c-green-deep); }
.tag--genre { background: var(--c-yellow-soft); color: var(--c-yellow-ink); }

/* 一覧に戻る(ページ上部・下部) */
.store-back { margin: 0; }
.store > .store-back--bottom { margin-top: 28px; text-align: center; }
.store-back--bottom .btn svg { width: 18px; height: 18px; flex: none; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--tap-min);
  padding-right: 8px;
  color: var(--c-green);
  font-weight: 700;
  text-decoration: none;
}
.back-link svg { width: 18px; height: 18px; flex: none; }
.back-link:hover { color: var(--c-green-deep); text-decoration: underline; text-underline-offset: 3px; }

/* カード(共通) */
.store-block {
  padding: 22px 16px 24px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.store-block__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-green-deep);
}

/* 店舗名・エリア・ジャンル / 特徴 / ラーメン専用 / 説明文 */
.store-head > * + * { margin-top: 22px; }
.store-head__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.store-head__tags .tag { font-size: 14px; line-height: 28px; padding: 0 12px; }
.store-head__tags + .store-head__name,
.store-head__name { margin-top: 12px; }
.store-head__name {
  font-size: clamp(28px, 7.6vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  color: var(--c-text);
  word-break: auto-phrase;
  overflow-wrap: anywhere;   /* 長い店舗名・区切りのない文字列でも、横にはみ出さない */
}
.store-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text-muted);
}
.store-label::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--c-green-vivid); }

.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.feature-list li {
  max-width: 100%;
  padding: 0 14px;
  border: 1px solid #C2DDF1;
  border-radius: 999px;
  background: #F3F9FD;
  color: #14557F;
  font-size: 15px;
  font-weight: 700;
  line-height: 34px;
  overflow-wrap: anywhere;
}
.feature-list--ramen li {
  border-color: var(--c-yellow-edge);
  background: var(--c-yellow-tint);
  color: var(--c-yellow-ink);
}

.store-desc__body { max-width: 46em; font-size: 16px; line-height: 1.95; color: var(--c-text); word-break: auto-phrase; overflow-wrap: anywhere; }
.store-desc__body > * + * { margin-top: 1em; }
.store-desc__body ul, .store-desc__body ol { padding-left: 1.4em; }
.store-desc__body ul { list-style: disc; }
.store-desc__body ol { list-style: decimal; }
.store-desc__body img { height: auto; max-width: 100%; }
.store-desc__body a { color: var(--c-green); text-underline-offset: 3px; }

.store-pw { overflow-wrap: anywhere; }

/* 基本情報 */
.info-list {
  margin: 0;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.info-list__row { padding: 14px 16px; }
.info-list__row + .info-list__row { border-top: 1px solid var(--c-border); }
.info-list dt { margin: 0 0 2px; font-size: var(--fs-small); font-weight: 700; color: var(--c-text-muted); }
.info-list dd { margin: 0; font-size: 16px; line-height: 1.8; color: var(--c-text); word-break: auto-phrase; overflow-wrap: anywhere; }
.info-tel {   /* 電話をかけるリンク。タップしやすい高さを確保 */
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  margin: -8px 0;
  color: var(--c-green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 基本情報の末尾の共通の注意書き(各項目の枠の外。控えめな文字色) */
.store-info__note { margin: 12px 0 0; padding-top: 12px; font-size: var(--fs-small); line-height: 1.7; color: var(--c-text-muted); word-break: auto-phrase; overflow-wrap: anywhere; }

/* 登録のない項目の案内(登録されているように見せない) */
.store-empty { font-size: var(--fs-small); color: var(--c-text-muted); }

/* アクセス・地図(地図は埋め込まず、Googleマップの検索リンクのみ) */
.store-access__address { margin: 0 0 14px; line-height: 1.8; overflow-wrap: anywhere; }
.store-access__btn { width: 100%; max-width: 100%; text-align: center; }
.store-access__btn svg { width: 18px; height: 18px; flex: none; }

/* 外部リンク */
.link-list { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.link-list .btn { width: 100%; min-height: 56px; }
.link-list .btn svg { width: 18px; height: 18px; flex: none; }

/* スマホ: カードを画面いっぱいに広げ、説明文の1行を長く取る(ニュース詳細と同じ考え方) */
@media (max-width: 639px) {
  .store-block {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding-left: 18px;
    padding-right: 18px;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (min-width: 640px) {
  .store-block { padding: 30px 32px 32px; }
  .link-list { flex-direction: row; flex-wrap: wrap; }
  .link-list .btn { width: auto; min-width: 260px; }
  .store-access__btn { width: auto; min-width: 260px; }
}

@media (min-width: 1024px) {
  .store-page { padding-top: 16px; }
  .store > * + * { margin-top: 24px; }
  .store > .store-back--bottom { margin-top: 36px; }
  .store-block { padding: 40px 44px 44px; border-radius: 28px; }
  .store-head > * + * { margin-top: 28px; }
  .store-head__name { margin-top: 14px; }
  .store-block__title { font-size: 20px; margin-bottom: 18px; }
  .store-desc__body { font-size: 17px; }
  .feature-list li { font-size: 16px; line-height: 38px; }
  .info-list__row { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 18px 20px; }
  .info-list dt { margin: 0; padding-top: 2px; font-size: 15px; }
  .info-list dd { font-size: 17px; }
  /* 外部リンク: PCは最大3列(4〜5件は2段。5件なら 3件+2件)。ボタンの見た目は、これまでのまま */
  .link-list li { flex: 0 0 calc((100% - 24px) / 3); min-width: 0; }
  .link-list .btn { width: 100%; min-width: 0; padding-left: 16px; padding-right: 16px; text-align: center; }
}


/* ============================================================
   12. グルメ一覧ページ(archive-store.php)
   ------------------------------------------------------------
   ・承認済みモック(kuki-life-mock/css/style.css の「11. グルメ専用ページ」)の、配色・余白・カードの形を踏襲。
   ・色の使い分け: エリア=緑 / ジャンル=黄 / 特徴=青(店舗カードのタグまで共通)。
   ・今回は JavaScript なしの GET フォーム。モックのボタン式の選択肢は、ラジオ入力+ボタン風のラベル
     (.opt-wrap > input.opt__input + span.opt)に置き換えた。見た目はモックと同じ。
   ・選択肢は、スマホ(360px以上)で均等幅の3列。360px未満は、可変幅の折り返し。
   ・特徴の複数選択・ラーメンの詳細条件(味・スタイル)・JavaScript の部分更新も、実装済み(ラーメンの詳細条件は、下の「ラーメンの詳細条件」)。
   ============================================================ */

/* --- 見出し部分(トップのヒーローを縦に圧縮した版) --- */
.hero--compact { padding: 32px 0 70px; }
.hero--compact .hero__title { font-size: clamp(26px, 6.6vw, 36px); }
.hero--compact .hero__lead  { margin-top: 12px; }

@media (min-width: 1024px) {
  .hero--compact { padding: 44px 0 104px; }
  .hero--compact .hero__title { font-size: 38px; }
  .hero--compact .hero__lead  { margin-top: 14px; font-size: 17px; }
}

/* --- 件数・選択中の条件・条件リセット --- */
.status {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "count reset"
    "conds conds";
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--c-border);
}
.status__count { grid-area: count; font-size: 15px; color: var(--c-text-muted); }
.status__count strong {
  margin: 0 2px;
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
  color: var(--c-green-deep);
}
.status__conds {
  grid-area: conds;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  min-width: 0;
}
.status__label { font-size: var(--fs-small); font-weight: 700; color: var(--c-text-muted); }
.status__empty { font-size: var(--fs-small); color: var(--c-text-muted); }

.reset-btn {
  grid-area: reset;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0 20px;
  border: 1.5px solid var(--c-border);
  border-radius: 999px;
  background: #fff;
  color: var(--c-text);
  font-family: inherit;               /* 条件がないときは <button>(disabled)、あるときは <a> になるため、見た目をそろえる */
  font-size: 15px;
  font-weight: 700;
  line-height: inherit;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.reset-btn:not(:disabled):hover { border-color: var(--c-green); color: var(--c-green-deep); }
.reset-btn:disabled { opacity: .5; cursor: not-allowed; }   /* 条件が無い状態(承認済みモックと同じ) */

/* 選択中の条件(種類ごとに色分け。「×」で、その条件だけを外すリンク) */
.cond-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap-min);
  max-width: 100%;
  padding: 0 14px 0 16px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cond-chip__x { flex: none; font-size: 18px; line-height: 1; opacity: .9; }
.cond-chip:hover .cond-chip__x { opacity: 1; }
.cond-chip--keyword { background: var(--c-warm);        border-color: var(--c-warm-deep);   color: var(--c-text); }
.cond-chip--area    { background: var(--c-green-soft);  border-color: #CFE3C8;              color: var(--c-green-deep); }
.cond-chip--genre   { background: var(--c-yellow-soft); border-color: var(--c-yellow-edge); color: var(--c-yellow-ink); }
.cond-chip--feature { background: var(--c-blue-soft);   border-color: #C2DDF1;              color: #14557F; }

@media (min-width: 1024px) {
  .status {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "count conds reset";
    gap: 28px;
    margin-top: 26px;
    padding-top: 22px;
  }
  .status__conds { padding-left: 28px; border-left: 1px solid var(--c-border); }
}

/* --- 絞り込み欄(エリア・ジャンル) --- */
.filter-panel-wrap { margin-top: 16px; }
.filter-panel {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
  padding: 20px 16px 6px;
}
.filter-panel__head { margin-bottom: 4px; }
.filter-panel__title {
  display: flex;
  align-items: center;
  font-size: var(--fs-h2);
  line-height: 1.4;
  font-weight: 700;
  color: var(--c-green-deep);
}
.filter-panel__hint { margin-top: 4px; font-size: var(--fs-small); color: var(--c-text-muted); }

.filter-group {
  padding: 18px 0 20px;
  border-top: 1px solid var(--c-border);
}
.filter-panel__head + .filter-group { margin-top: 14px; }
.filter-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin-bottom: 12px;
}
.filter-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}
.filter-group__title::before {   /* 種類を示す色のドット */
  content: "";
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--c-green-vivid);
}
.filter-group[data-kind="genre"] .filter-group__title::before { background: var(--c-yellow); }
.filter-group[data-kind="feature"] .filter-group__title::before { background: var(--c-blue); }
.filter-group__mode  { font-size: var(--fs-small); color: var(--c-text-muted); }
.filter-group__state { font-size: var(--fs-small); font-weight: 700; color: var(--c-text-muted); }
.filter-group__none  { margin-top: 10px; font-size: var(--fs-small); color: var(--c-text-muted); }

.opt-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

/* 選択肢: ラジオ入力を隠し、ボタン風のラベルとして表示(キーボード・読み上げソフトからは、ラジオとして操作できる) */
.opt-wrap { position: relative; display: block; cursor: pointer; }
.opt__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.opt {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: var(--tap-min);
  padding: 0 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 999px;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  transition: background-color .2s, border-color .2s, color .2s;
}
.opt__n {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--c-text-muted);
}
.opt__input:focus-visible + .opt { outline: 3px solid var(--c-blue); outline-offset: 2px; }
.filter-group[data-kind="area"]  .opt-wrap:hover .opt { background: var(--c-green-soft);  border-color: var(--c-green); }
.filter-group[data-kind="genre"] .opt-wrap:hover .opt { background: var(--c-yellow-soft); border-color: var(--c-yellow); }
.filter-group[data-kind="feature"] .opt-wrap:hover .opt { background: var(--c-blue-soft); border-color: var(--c-blue); }

/* 選択された状態(ラジオ・チェックボックスが選ばれている) */
.opt__input:checked + .opt::before { content: "✓"; margin-right: 4px; }
.opt__input:checked + .opt .opt__n { color: inherit; opacity: .85; }
.filter-group[data-kind="area"]  .opt__input:checked + .opt { background: var(--c-green);  border-color: var(--c-green);  color: #fff; }
.filter-group[data-kind="genre"] .opt__input:checked + .opt { background: var(--c-yellow); border-color: var(--c-yellow); color: #3A2600; }
.filter-group[data-kind="feature"] .opt__input:checked + .opt { background: var(--c-blue); border-color: var(--c-blue); color: #fff; }
/* 「指定なし」は、条件を選んでいない状態なので、エリア・ジャンルの色ではなく、中立の色にする */
.filter-group[data-kind] .opt__input:checked + .opt.opt--none { background: var(--c-warm-deep); border-color: var(--c-text-nav); color: var(--c-text); }
.filter-group[data-kind] .opt-wrap:hover .opt.opt--none { background: var(--c-warm); border-color: var(--c-text-nav); }
/* 選択中だが、ほかの条件との組み合わせでは 0 件の値(解除・変更できるように残す) */
.opt--empty { border-style: dashed; }

/* --- ラーメンの詳細条件(味・スタイル。B-6-66)---
   ・承認済みモック(gourmet-filter.css の「ラーメンの詳細条件」)と同じ。ジャンルがラーメンのときだけ、PHP が中身を出し、.filter-panel に is-ramen を付ける。
   ・中に「味」「スタイル」の2つの小見出し。それぞれ1つ選べる(ラジオ)。通常の特徴(複数選択)とは別の条件。
   ・色は、赤茶(エリア=緑 / ジャンル=黄 / 特徴=青 に並ぶ4つ目の色)。選択チップ(味：○○・スタイル：○○)も同じ色。 */
:root {
  --c-ramen:        #B5451B;   /* 選択済みの背景(白文字で 5.48:1) */
  --c-ramen-vivid:  #D9622B;   /* 種類を示すドット(装飾。文字には使わない) */
  --c-ramen-soft:   #FBE8E0;   /* チップ・ピルの背景 */
  --c-ramen-edge:   #F0C9B8;   /* 同・枠線 */
  --c-ramen-ink:    #8A3416;   /* 淡い面の上の文字(6.86:1) */
}
.filter-panel:not(.is-ramen) .fg[data-kind="ramen"] { display: none; }   /* ジャンルがラーメンでないときは、欄ごと出さない */
.ramen-sub__title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 10px;
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-text);
}
.ramen-sub__title::before {
  content: "";
  align-self: center;
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-ramen-vivid);
}
.ramen-sub__mode { font-size: var(--fs-small); font-weight: 400; color: var(--c-text-muted); }
.ramen-sub + .ramen-sub {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--c-border);
}
.filter-group[data-kind="ramen"] .filter-group__title::before { background: var(--c-ramen-vivid); }
.filter-group[data-kind="ramen"] .opt-wrap:hover .opt { background: var(--c-ramen-soft); border-color: var(--c-ramen); }
.filter-group[data-kind="ramen"] .opt__input:checked + .opt { background: var(--c-ramen); border-color: var(--c-ramen); color: #fff; }
.cond-chip--taste,
.cond-chip--style { background: var(--c-ramen-soft); border-color: var(--c-ramen-edge); color: var(--c-ramen-ink); }

/* 特徴欄を使えないとき(条件なし・キーワードだけ): .filter-panel に .fg-locked が付く(PHP。gourmet.js が、更新のたびに付け外しする)。
   特徴の欄(中身のチェックボックスも出力されない)は出さず、案内文だけを見せる(承認済みモックと同じ)。JavaScript なしでも同じ。 */
.fg-gate-hint { display: none; }
.fg-locked .fg[data-kind="feature"] { display: none; }
.fg-locked .fg-gate-hint {
  display: block;
  padding: 14px 0 16px;
  border-top: 1px solid var(--c-border);
  font-size: var(--fs-small);
  line-height: 1.7;
  color: var(--c-text-muted);
}
@media (min-width: 1024px) {
  .fg-locked .fg-gate-hint { padding: 22px 0 26px; }
}

/* 「この条件で絞り込む」(スマホでは、絞り込み欄が見えている間、画面の下に固定) */
.fg-submit { margin-top: 16px; }
.fg-submit__btn { width: 100%; min-height: 56px; font-size: 16px; }

@media (max-width: 639px) {
  .fg-submit {
    position: sticky;
    bottom: 0;
    z-index: 40;
    margin: 12px calc(var(--gutter) * -1) 0;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 248, 242, .96);
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -6px 16px rgba(74, 58, 36, .08);
  }
}

/* 選択肢の並べ方(スマホ): 360px以上は、均等幅の3列 / 360px未満は、可変幅の折り返し */
@media (min-width: 360px) and (max-width: 639px) {
  .opt-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .opt-list > li { display: flex; min-width: 0; }
  .opt-wrap { display: flex; width: 100%; }
  .opt {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 4px;
    width: 100%;
    padding: 6px 4px;
    font-size: 14px;
    line-height: 1.3;
    text-align: center;
  }
  .opt__n { margin-left: 0; }
  /* 特徴(件数なし): 「✓」と文字を同じ行に置き、長い名前(ファミリー向け・分煙 / 喫煙可)は、枠の中で折り返す(「✓」だけが別の行にならないように) */
  .filter-group[data-kind="feature"] .opt,
  .filter-group[data-kind="ramen"] .opt { flex-wrap: nowrap; }
  .filter-group[data-kind="feature"] .opt__label,
  .filter-group[data-kind="ramen"] .opt__label { min-width: 0; overflow-wrap: anywhere; word-break: auto-phrase; text-wrap: balance; }
}

@media (min-width: 640px) {
  .filter-panel { padding: 28px 32px 10px; }
  .fg-submit { text-align: center; }
  .fg-submit__btn { width: auto; min-width: 260px; }
}

@media (min-width: 1024px) {
  .filter-panel-wrap { margin-top: 24px; }
  .filter-panel { padding: 36px 56px 16px; border-radius: 28px; }
  .filter-panel__head { display: flex; align-items: baseline; gap: 20px; }
  .filter-panel__hint { margin-top: 0; }
  .filter-group {
    display: grid;
    grid-template-columns: 190px 1fr;   /* 左=種類の見出し / 右=選択肢 */
    gap: 28px;
    padding: 26px 0;
  }
  .filter-group__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 0;
  }
  .filter-group__none { grid-column: 2; margin-top: 0; }
}

/* --- 店舗一覧 --- */
.results { padding-top: 48px; scroll-margin-top: 76px; }   /* 固定のナビに、見出しが隠れないように */

/* トップページの「エリアから探す」「ジャンルから探す」(/gourmet/#filter-area など)で移動したとき、固定のナビに欄の見出しが隠れないように。
   管理バー(ログイン中だけ。ナビの位置のずれと同じ幅の切り替え)の分は、上乗せする */
.fg { scroll-margin-top: 84px; }
.admin-bar .fg { scroll-margin-top: 116px; }
@media (max-width: 782px) {
  .admin-bar .fg { scroll-margin-top: 130px; }
}
@media (max-width: 600px) {
  .admin-bar .fg { scroll-margin-top: 84px; }
}
.results__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  margin-bottom: 16px;
}
.results__range { font-size: var(--fs-small); color: var(--c-text-muted); }

.store-list {
  display: grid;
  grid-template-columns: 1fr;      /* スマホ: 縦1列 */
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.store-list > li { display: flex; min-width: 0; }

.store-card {
  display: flex;
  width: 100%;
  min-width: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-m);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.store-card:hover {
  border-color: var(--c-green);
  box-shadow: 0 8px 20px rgba(74, 58, 36, .10);
  transform: translateY(-2px);
}
.store-card__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  min-width: 0;
  padding: 18px 18px 16px;
  color: inherit;
  text-decoration: none;
}
.store-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.store-card__name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--c-text);
  overflow-wrap: anywhere;
}
.store-card:hover .store-card__name { color: var(--c-green-deep); }

/* 概要文 = 店舗一覧用 store_summary。詳細ページ用の説明文(投稿本文)とは別物 */
.store-card__summary { font-size: 15px; line-height: 1.8; color: var(--c-text); word-break: auto-phrase; text-wrap: pretty; overflow-wrap: anywhere; }
/* 一覧カードの概要は、最大3行まで(超えた分は「…」で省略)。1〜2行でも3行分の高さを確保して、
   特徴タグ・「詳しく見る」の位置を、カード同士でそろえる(高さは em なので、PC・スマホの文字サイズに追従)。
   全文は HTML に残る(読み上げ・検索には影響しない)。詳細ページの紹介文は、省略せず全文を表示する(この指定は一覧カードだけ)。 */
.store-card__summary {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  min-height: calc(1.8em * 3);
  max-height: calc(1.8em * 3);
}

.store-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;              /* カードの高さがそろったとき、タグを下にそろえる */
  padding: 2px 0 0;
  list-style: none;
}
.store-card__features li {
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid #C2DDF1;
  border-radius: 8px;
  background: #F3F9FD;
  color: #14557F;
  font-size: 14px;
  line-height: 26px;
  overflow-wrap: anywhere;
}
.store-card__features .store-card__features-rest { border-color: var(--c-border); background: var(--c-bg); color: var(--c-text-muted); }

.store-card__more {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 2px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-green);
}
.store-card__more svg { width: 16px; height: 16px; }
/* 特徴タグが無いカードでも、「詳しく見る」をカードの下端にそろえる(タグがあるカードでは、タグが下端寄せを担当する) */
:is(.store-card__meta, .store-card__name, .store-card__summary) + .store-card__more { margin-top: auto; }

/* ページ送り */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.pager__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0 22px;
  border: 2px solid var(--c-green);
  border-radius: 999px;
  background: #fff;
  color: var(--c-green);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
a.pager__btn:hover { background: var(--c-green); color: #fff; }
.pager__btn.is-disabled { opacity: .4; cursor: not-allowed; }
.pager__info { min-width: 64px; text-align: center; font-size: 15px; color: var(--c-text-muted); }

/* 0件・公開店舗なしの案内(一覧を空白にしない) */
.empty-state {
  padding: 28px 18px 30px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  background: var(--c-surface);
  box-shadow: var(--shadow-card);
  text-align: center;
  overflow-wrap: anywhere;
}
.empty-state__title { font-size: 18px; font-weight: 700; line-height: 1.6; color: var(--c-green-deep); word-break: auto-phrase; text-wrap: balance; }   /* 360pxで「…でし/た。」と1文字だけ折り返さないように(モックの案内カードと同じ指定) */
.empty-state__text { margin-top: 8px; color: var(--c-text); }
.empty-state__list { display: inline-block; margin-top: 14px; text-align: left; font-size: 15px; color: var(--c-text-muted); }
.empty-state__list li { position: relative; padding-left: 1.1em; }
.empty-state__list li + li { margin-top: 4px; }
.empty-state__list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--c-green-vivid); }
.empty-state__action { margin-top: 20px; }

/* 条件に合う店舗が0件のとき: 案内カードを、検索カードの直下(絞り込み欄の上)に出す(承認済みモックの状態5〜7と同じ位置)。
   入れ物 .zero-slot は、1件以上のときは空(高さ0)。店舗一覧の領域 #results は、0件のとき中身が空になるので、領域ごと出さない。 */
.zero-wrap { margin-top: 16px; }
.results:empty { display: none; }

@media (min-width: 768px) {
  .store-list { grid-template-columns: repeat(2, 1fr); gap: 16px; }   /* 横2列 */
}

@media (min-width: 1024px) {
  .results { padding-top: 64px; }
  .store-list { gap: 24px; }
  .store-card__link { padding: 26px 28px 22px; gap: 12px; }
  .store-card__name { font-size: 20px; }
  .store-card__summary { font-size: 16px; }
  .pager { margin-top: 48px; }
  .empty-state { padding: 44px 32px 46px; border-radius: 28px; }
  .zero-wrap { margin-top: 24px; }
}


/* ============================================================
   13. グルメ一覧の自動更新・スマホの絞り込み欄の開閉(assets/js/gourmet.js)
   ------------------------------------------------------------
   ・gourmet.js の初期化が最後まで成功したときだけ、JavaScript が <html> に js クラスを付ける。この節の表示の切り替えは、すべて .js の下。
     JavaScript なし・読み込み失敗・機能不足・初期化の失敗では、従来どおり「全部の選択肢を表示+この条件で絞り込む」のまま。
   ・JavaScript あり: エリア・ジャンルを選ぶとすぐ結果が切り替わるので、「この条件で絞り込む」は出さない。
   ・スマホ(639px以下)+JavaScript あり: エリア・ジャンルの欄を開閉式にする(承認済みモックと同じ。一度に開けるのは1つ)。
     開いたときの選択肢は、B-6-48 の3列グリッド(360px以上)のまま。閉じた行には、選択中の条件を表示する。
     「選択しても閉じない」(自動更新のたびに開閉が戻ると操作しづらいため。モックは選ぶと閉じる)。
   ・PC・タブレット(640px以上)は、開閉式にしない(従来の表示のまま)。
   ・更新中の表示は、色の変化と文字だけ(動きのある演出は入れない)。
   ============================================================ */

/* JavaScript 用の部品は、既定では出さない(JavaScript なしでは、そのまま出ない) */
.fg__summary,
.fg__chev,
.fg-jump,
.hint--js { display: none; }

.js .hint--nojs { display: none; }
.js .hint--js { display: block; }
.js .fg-submit { display: none; }                  /* 選ぶだけで更新されるので、送信ボタンは不要 */

/* 更新中(通信が少し長いときだけ文字を出す。一覧は薄く表示) */
.gourmet-busy {
  margin-top: 10px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-text-muted);
}
.gourmet-busy[hidden] { display: none; }
.results.is-loading .container { opacity: .55; }
.gourmet-form[aria-busy="true"] .status__count { opacity: .55; }

/* 更新後に、キーボード操作の移動先として一時的にフォーカスする見出し・件数(囲みは、キーボード操作のときだけ) */
.status__count:focus:not(:focus-visible),
.section-title:focus:not(:focus-visible) { outline: none; }

/* ---------- スマホ(639px以下)+JavaScript あり: 開閉式 ---------- */
@media (max-width: 639px) {
  .js .fg { padding: 0; }
  .js .fg .filter-group__head {
    position: relative;                /* 行全体を押せるようにする基準(開閉ボタンの ::after) */
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    min-height: 64px;                  /* 押しやすい高さ */
    margin-bottom: 0;
    padding-right: 34px;               /* 右端の矢印の場所 */
  }
  .js .fg .filter-group__mode,
  .js .fg .filter-group__state { display: none; }   /* 開閉の行の「選択中」表示に統合する */
  .js .fg .filter-group__title { flex: none; font-size: 18px; }

  /* 見出しの開閉ボタン(gourmet.js が、スマホのときだけ見出しの文字をボタンにする) */
  .js .fg__toggle {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .js .fg__toggle::after { content: ""; position: absolute; inset: 0; }   /* 行のどこを押しても開閉 */
  .js .fg__toggle:focus-visible { outline: none; }
  .js .fg .filter-group__head:has(.fg__toggle:focus-visible) { outline: 3px solid var(--c-blue); outline-offset: -3px; border-radius: 12px; }
  .js .fg .filter-group__head:has(.fg__toggle:active) { background: var(--c-bg); }

  /* 閉じていても分かる「選択中」の表示(色は エリア=緑 / ジャンル=黄) */
  .js .fg__summary {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
    padding: 8px 0;
  }
  .js .fg__none { font-size: 14px; color: var(--c-text-muted); }
  .js .fg__pill {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 0 12px;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    line-height: 30px;
    overflow-wrap: anywhere;
  }
  .js .fg__pill--area  { background: var(--c-green-soft);  border-color: #CFE3C8;              color: var(--c-green-deep); }
  .js .fg__pill--genre { background: var(--c-yellow-soft); border-color: var(--c-yellow-edge); color: var(--c-yellow-ink); }
  .js .fg__pill--feature { background: var(--c-blue-soft); border-color: #C2DDF1; color: #14557F; }
  .js .fg__pill--ramen { background: var(--c-ramen-soft); border-color: var(--c-ramen-edge); color: var(--c-ramen-ink); white-space: nowrap; }
  /* ラーメンの詳細条件: 見出しが長く、味・スタイルの2つのピルが並ぶと狭い画面で縦に潰れるため、選択中があるときは、ピルを見出しの下の行に出す */
  .js .fg[data-kind="ramen"] .filter-group__head { flex-wrap: wrap; row-gap: 0; }
  .js .fg[data-kind="ramen"] .fg__summary:has(.fg__pill) { flex: 1 1 100%; padding-top: 0; padding-bottom: 12px; }
  .js .fg[data-kind="ramen"] .filter-group__head:has(.fg__pill) { padding-top: 12px; }
  .js .fg__more { font-size: 14px; font-weight: 700; color: var(--c-text-muted); }   /* 特徴が4つ以上のとき: 先頭の3つのピルのあとに「ほかN件」 */

  /* 開閉の矢印(開いているときは上向き) */
  .js .fg__chev {
    display: block;
    position: absolute;
    right: 4px;
    top: 50%;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    color: var(--c-text-muted);
    pointer-events: none;
  }
  .js .fg.is-open .fg__chev { transform: rotate(180deg); }

  /* 開いたときだけ、選択肢を表示 */
  .js .fg__panel { display: none; padding: 0 0 18px; }
  .js .fg.is-open .fg__panel { display: block; }

  /* 「該当○件のお店を見る」: 絞り込み欄が見えている間、画面の下に固定(結果へ移動) */
  .js .fg-jump {
    display: block;
    position: sticky;
    bottom: 0;
    z-index: 40;
    margin: 12px calc(var(--gutter) * -1) 0;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 248, 242, .96);
    border-top: 1px solid var(--c-border);
    box-shadow: 0 -6px 16px rgba(74, 58, 36, .08);
  }
  .js .fg-jump:empty { display: none; }   /* 該当0件のときは、中身が空(archive-store.php)。バー全体を出さない */
  .fg-jump__btn { width: 100%; min-height: 56px; font-size: 16px; }
  .fg-jump__btn strong { margin: 0 1px; font-family: var(--font-serif); font-size: 22px; line-height: 1; }
  .fg-jump__btn svg { width: 18px; height: 18px; flex: none; }
}


/* ============================================================
   13. ニュース一覧ページ(archive-news.php)
   ------------------------------------------------------------
   ・承認済みモック(kuki-life-mock/css/style.css の「13. ニュース一覧ページ」)を踏襲。一覧の部品は、
     トップの「新着ニュース」(.news-list / .news-item。上の「8」)をそのまま使う。
   ・ページ送りは、既存の .pager(前へ・次へ)に、ページ番号(.pager__nums)を足した版(.pager--numbered)。
     WordPress の paginate_links() が作る番号(a.page-numbers・span.page-numbers.current・span.page-numbers.dots)の見た目。
   ============================================================ */
.hero--flat { padding-bottom: 36px; }
@media (min-width: 1024px) { .hero--flat { padding-bottom: 56px; } }

/* ニュース一覧の本文の最大幅(PC)。外枠(--max-width: 1280px)いっぱいに広げず、読みやすい幅で中央に置く(B-6-100)。
   スマホ・タブレットは、従来どおり(画面幅 − 左右の余白)。このページ(.news-page)だけ。トップのニュース欄・ニュース詳細(--article-width)・グルメには影響しない */
:root { --news-width: 960px; }
.news-page .container { width: min(100% - (var(--gutter) * 2), var(--news-width)); }

.hero--flat + .news-page { padding-top: 8px; }
.news-page .news-list { margin-top: 0; }
/* 長いタイトルは、文節の切れ目で折り返す(対応ブラウザのみ。非対応でも通常の折り返しで表示される) */
.news-page .news-item__title { word-break: auto-phrase; text-wrap: pretty; }
@media (min-width: 1024px) {
  .hero--flat + .news-page { padding-top: 16px; }
  /* 本文を 960px に絞ったぶん、1行の中の余白と列幅を詰めて、タイトルの欄(1fr)が狭くなりすぎないようにする(トップの「新着ニュース」は、従来どおり) */
  .news-page .news-item {
    grid-template-columns: 104px 112px 1fr 64px 24px;
    gap: 0 20px;
    padding: 22px 32px;
  }
}

/* ページ番号つきのページ送り。スマホ: 1行目=前へ・次へ / 2行目=番号。広い画面: 前へ・番号・次へを1行に */
.pager--numbered { flex-wrap: wrap; gap: 12px; }
.pager--numbered .pager__nums {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  order: 3;
  flex-basis: 100%;
}
.pager--numbered .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0 8px;
  border: 2px solid var(--c-green);
  border-radius: 999px;
  background: #fff;
  color: var(--c-green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.pager--numbered a.page-numbers:hover { background: var(--c-green); color: #fff; }
.pager--numbered .page-numbers.current { background: var(--c-green); color: #fff; }
.pager--numbered .page-numbers.dots { min-width: 0; padding: 0 2px; border-color: transparent; background: transparent; color: var(--c-text-muted); }
@media (min-width: 640px) {
  .pager--numbered .pager__nums { order: 0; flex-basis: auto; }
}


/* ============================================================
   14. ニュース詳細ページ(single-news.php・template-parts/news-article.php)
   ------------------------------------------------------------
   ・承認済みモック(kuki-life-mock/css/style.css の「14. ニュース詳細ページ」)を踏襲。
   ・記事の幅は最大800px(--article-width)。サイト全体の最大幅の中央に置く。サイドバーなし。
   ・記事の中の各ブロック(お知らせ文・アイキャッチ・本文・情報元)は独立していて、ないブロックは出力しない。余白(.article > * + *)は自動で詰まる。
   ・「関連情報」「概要」(モックにある項目)は、ニュースに対応するデータがないため、使っていない。
   ・情報元の「出典・発表日」の表は、店舗詳細の .info-list(上の「11」)をそのまま使う。
   ・本文(ブロックエディタの内容)は、画像・表・コード・埋め込みが、画面の幅を超えないようにする。
   ============================================================ */
:root { --article-width: 800px; }

.article-page { padding-top: 8px; }

/* --- パンくずリスト(長いタイトルは、1行で省略) --- */
.breadcrumb { max-width: var(--article-width); margin: 0 auto; }
.breadcrumb ol {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
  color: var(--c-text-muted);
}
.breadcrumb li { display: flex; align-items: center; min-width: 0; }
.breadcrumb li:not(:last-child) { flex: none; }
.breadcrumb li + li::before { content: "›"; margin: 0; color: var(--c-text-muted); }
.breadcrumb li:last-child::before { margin-right: 8px; }
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0 10px;                             /* 押せる幅を44px以上に */
  color: var(--c-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.breadcrumb li:first-child a { margin-left: -10px; }   /* 左端の文字位置は、記事カードの左端にそろえる */
.breadcrumb a:hover { color: var(--c-green-deep); }
.breadcrumb [aria-current="page"] { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* --- 記事のカード --- */
.article {
  max-width: var(--article-width);
  margin: 0 auto;
  padding: 24px 18px 30px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-card);
}
.article > * + * { margin-top: 28px; }          /* ブロックがなくても、余白は自動で詰まる */

/* 公開日・種類・エリア */
.article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.article__date { font-size: 15px; color: var(--c-text-muted); font-variant-numeric: tabular-nums; }
.article__type { justify-self: auto; }          /* 種類の色は、一覧と同じ .news-item__type を共用 */
.article__area { font-size: 15px; color: var(--c-text-muted); }

/* タイトル(長い英数字・URLも、折り返す) */
.article__title {
  margin-top: 14px;
  font-size: clamp(23px, 6.2vw, 32px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .01em;
  color: var(--c-text);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

/* お知らせ文(注意書き。複数行は、改行を反映) */
.article-notice {
  padding: 14px 16px;
  border-left: 4px solid #E0745A;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  background: #FBE6E0;
  color: #8A3320;
  font-size: 15px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

/* アイキャッチ画像(任意) */
.article-figure { margin-left: 0; margin-right: 0; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-m); }
.article-figure figcaption { margin-top: 8px; font-size: 13px; line-height: 1.6; color: var(--c-text-muted); }

/* 本文(読みやすさ優先: 行間を広く、1行の長さは約40文字前後) */
.article__body {
  font-size: 16px;
  line-height: 1.95;
  color: var(--c-text);
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 {
  margin-top: 2.2em;
  padding: 2px 0 2px 14px;
  border-left: 5px solid var(--c-green-vivid);
  font-size: 20px;
  line-height: 1.55;
  font-weight: 700;
  color: var(--c-green-deep);
}
.article__body h3 { margin-top: 1.9em; font-size: 17px; line-height: 1.6; font-weight: 700; color: var(--c-text); }
.article__body h3::before { content: "■ "; font-size: .7em; vertical-align: .15em; color: var(--c-green-vivid); }
.article__body h4, .article__body h5, .article__body h6 { margin-top: 1.6em; font-size: 16px; line-height: 1.6; font-weight: 700; }
.article__body h2 + *, .article__body h3 + * { margin-top: .7em; }
.article__body > :first-child { margin-top: 0; }
.article__body ul, .article__body ol { padding-left: 1.5em; }
.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li + li { margin-top: .4em; }
.article__body li::marker { color: var(--c-green-vivid); }
.article__body strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--c-yellow-soft) 62%); }
.article__body a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.article__body blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--c-border); color: var(--c-text-muted); }
.article__body figure { margin-left: 0; margin-right: 0; }
.article__body figcaption { margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--c-text-muted); }
.article__body img, .article__body video, .article__body iframe { max-width: 100%; height: auto; }
.article__body iframe { aspect-ratio: 16 / 9; width: 100%; border: 0; }
.article__body pre { overflow-x: auto; padding: 12px 14px; background: var(--c-bg); border-radius: var(--radius-s); font-size: 14px; line-height: 1.7; }
.article__body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; line-height: 1.7; }
.article__body th, .article__body td { padding: 6px 10px; border: 1px solid var(--c-border); text-align: left; vertical-align: top; }

/* --- 情報元(出典・出典の発表日・出典URL) --- */
.article-block__title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-bottom: 14px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--c-green-deep);
}
.article-source__link { margin-top: 14px; max-width: 100%; text-align: center; }
.article-source .info-list + .article-source__link { margin-top: 16px; }
.article-source__link svg { width: 18px; height: 18px; flex: none; }

/* --- ニュース一覧へ戻る --- */
.article-back { max-width: var(--article-width); margin: 28px auto 0; text-align: center; }
.article-back .btn svg { width: 18px; height: 18px; flex: none; }

/* スマホ: 記事のカードを画面いっぱいに広げ、本文の1行を長く取る(読みやすさ優先) */
@media (max-width: 639px) {
  .article {
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    border-left: 0;
    border-right: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (min-width: 640px) {
  .article { padding: 32px 32px 36px; }
}

@media (min-width: 1024px) {
  .article-page { padding-top: 16px; }
  .article { padding: 48px 56px 52px; border-radius: 28px; }
  .article > * + * { margin-top: 36px; }
  .article__title { margin-top: 16px; }
  .article__body { font-size: 17px; }
  .article__body h2 { font-size: 22px; }
  .article__body h3 { font-size: 18px; }
  .article-block__title { font-size: 20px; margin-bottom: 16px; }
  .article-source__link { margin-top: 16px; }
  .article-back { margin-top: 36px; }
}


/* ============================================================
   固定ページ内のお問い合わせフォーム(Contact Form 7)
   ・フォームの見た目だけ。機能・送信の処理は、プラグインが行う。
   ・入力欄の文字は16px(スマホで、入力時に画面が拡大されないため)。タップしやすい高さ(--tap-min)。
   ・送信ボタンは、フォームの定義で class:btn を付け、サイトの .btn と同じ見た目にする。
   ============================================================ */
.article__body .wpcf7 { margin-top: 1.2em; }
.article__body .wpcf7 form { margin: 0; }
.article__body .kl-field,
.article__body .kl-consent { margin-top: 1.4em; }
.article__body .wpcf7 label { display: block; font-size: 15px; font-weight: 700; line-height: 1.6; }
.article__body .kl-req {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--c-yellow-soft);
  color: var(--c-yellow-ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.7;
  vertical-align: .1em;
}
.article__body .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.article__body .wpcf7 input[type="text"],
.article__body .wpcf7 input[type="email"],
.article__body .wpcf7 select,
.article__body .wpcf7 textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: var(--tap-min);
  padding: 10px 14px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-s);
  background: var(--c-surface);
  color: var(--c-text);
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}
.article__body .wpcf7 textarea { min-height: 9em; resize: vertical; }
.article__body .wpcf7 input[type="text"]:focus,
.article__body .wpcf7 input[type="email"]:focus,
.article__body .wpcf7 select:focus,
.article__body .wpcf7 textarea:focus { border-color: var(--c-green); }
.article__body .wpcf7 .wpcf7-not-valid { border-color: #C2543A; }
.article__body .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; font-weight: 700; line-height: 1.6; color: #A5381F; }

/* プライバシーポリシーへの同意(チェックボックスと文章を横に並べる) */
.article__body .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0; }
.article__body .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 15px; }
.article__body .wpcf7-acceptance input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--c-green); }

/* 送信ボタン・送信中の表示 */
.article__body .kl-submit { margin-top: 1.8em; text-align: center; }
.article__body .wpcf7 .wpcf7-submit { width: 100%; max-width: 360px; text-decoration: none; }
.article__body .wpcf7-spinner { vertical-align: middle; }

/* 送信結果・入力エラーの表示 */
.article__body .wpcf7 form .wpcf7-response-output {
  margin: 1.6em 0 0;
  padding: 14px 16px;
  border: 2px solid var(--c-border);
  border-radius: var(--radius-s);
  font-size: 15px;
  line-height: 1.8;
}
.article__body .wpcf7 form.sent .wpcf7-response-output { border-color: var(--c-green); background: var(--c-green-tint); color: var(--c-green-deep); }
.article__body .wpcf7 form.invalid .wpcf7-response-output,
.article__body .wpcf7 form.unaccepted .wpcf7-response-output,
.article__body .wpcf7 form.failed .wpcf7-response-output,
.article__body .wpcf7 form.aborted .wpcf7-response-output,
.article__body .wpcf7 form.spam .wpcf7-response-output { border-color: #E0745A; background: #FBE6E0; color: #8A3320; }

/* Turnstile(迷惑メール対策)のスクリプトが読み込めなかったときの案内(assets/js/turnstile-guard.js)と、JavaScript無効時の案内(<noscript>)。
   入力欄を妨げない通常の段落。色は、送信エラーの表示(.wpcf7-response-output)と同じ。 */
.article__body .kl-turnstile-notice {
  margin: 1.2em 0 0;
  padding: 12px 16px;
  border: 2px solid #E0745A;
  border-radius: var(--radius-s);
  background: #FBE6E0;
  color: #8A3320;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
}
