/*
Theme Name: 北海道体育文化協会 / Hokkaido Physical Education & Culture Association
Theme URI: https://hokkaido-taiiku-bunka.jp/
Author: 一般社団法人 北海道アーバンスポーツ協会
Author URI: https://hokkaido-urbansports.jp/
Description: 一般財団法人 北海道体育文化協会の公式サイト用カスタムテーマ。v12採用版モックアップをベースにWordPress化。4階層の情報設計（重要告知・最新ニュース・セクション内お知らせ・アーカイブ）を実装。フェーズ3 v10 でお知らせアーカイブテンプレート(archive.php)とカテゴリ/検索フィルタ機能を追加。フェーズ3 v11 で情報公開アーカイブ(archive-info_public.php)とACFフィールド(pdf_file/nendo/nendo_sort/info_name_en)を追加。フェーズ3 v12 で施設アーカイブ(archive-facility.php)と施設シングル(single-facility.php、external_url 301リダイレクト方式)を追加。フェーズ3 v13 で防災ページ用ネットワーク図(.network-diagram)と2枚並び画像(.image-row)のスタイルを追加。v13.1 で .network-diagram の余白圧縮、.network-title への rich-content h3 装飾(緑縦線・左パディング)リセット、リストマーカー打ち消しを追加。v13.2 で .numbered-cards を 2列レイアウト化(minmax 220→280)・パディング圧縮で間延び解消、.rich-content table.timeline で日付列nowrapを追加。v13.3 で table:has(thead) フォールバックを追加し、about.html未差替えでも沿革テーブル日付列のnowrapが効くように。フェーズ3 v14 でサイト内検索モーダル(.search-modal)と検索結果ページ(.search-results)のスタイルを追加、モバイル時のサイト内検索フォーム(.mobile-search)も追加。検索対象を全コンテンツ横断(post / page / facility / info_public)に拡張。フェーズ3 v15 でスクロール演出パッケージ(フェードイン .fade-in / パララックス .parallax-img / ヘッダー縮小 .scrolled)を追加。prefers-reduced-motion に完全対応。フェーズ3 v16 でFAQページの ACF 化に伴い、page-faq.php / template-parts/faq-list.php / FAQページ用スタイル(.faq-page / .faq-toc / .faq-section / .faq-item)を追加。フェーズ3 v17 でFAQをCPT化(faq CPT + faq_category タクソノミ)、archive-faq.php / template-parts/faq-list.php(CPT版)に置換。検索対象に faq を追加(全5種横断)。フェーズ3 v20 でFAQページ全体の余白を詰めた(faq-page padding 64→48 / faq-page-head margin 48→32 / faq-toc margin 48→24・padding 24→16 / faq-section margin 64→32 / faq-section-head margin 24→16)。フェーズ3 v21 でFAQ さらに詰める(faq-item padding 24→16 / faq-q margin 12→8 / faq-section margin 32→24 / faq-section-head margin 16→12・padding 12→8)。これで Q&A同士・セクション同士の余白がほぼ最小限に。フェーズ3 v23 でグローバル section padding-block の上限を 140px→100px に縮小(全ページの上下余白が約3割圧縮)。加えて FAQ リストの `<section class="faq-section">` を `<div class="faq-section">` 化し、グローバル section 指定の対象外に(FAQ余白の根本解決、応急処置の打ち消しリスト不要に)。フェーズ3 v24 でフローティングクイックナビ(.fqn)を追加。グローバルナビ7項目を5項目にスリム化(協会について/施設紹介/お知らせ/防災への取り組み/情報公開)+ FAQとアクセスを右下フローティングへ移行。意匠は kaminishi 風の右下ノッチ(--notch-fqn:14px、モバイル12px)、緑塗り+白字、ホバーで --green-deep。枠線は外側ボックス+1pxインセット ::before の二重レイヤーで擬似表現(clip-pathが素のborderを綺麗に切れないため)。フッター手前で自動フェードアウト(JS連動、.fqn.hide-near-footer)。派生サイトでは :root の --green / --green-deep 上書きだけで色追従。フェーズ3 v27 で /access/ ページの「各施設のアクセス」セクションを facility-card-compact.php で動的化(写真自動取得・リンク化)、.facility-row-link のスタイルを追加。アリーナ派生 v28 でTOPの§12 COMFORT RULES (快適な利用のために)を追加(.rules / .rules-head / .rules-list / .rules-item / .rules-foot 一式)。土足禁止・スパイク禁止・スケート時手袋必須など利用ルール5項目を常設で目立たせるシンプルリスト。担当者要望書C2「注意事項の掲載強化」対応。アリーナ派生 v29 でTOPの§13 ABOUT (施設について)をアリーナ仕様に差し替え。協会版の理念ブロックを撤去しv6モック準拠の薄い版(沿革1段落+4スタッツ)に置換。.about-*系を整理(.about-head 新規 / .num-jp / .label-jp 追加 / .about-divider・.about-more 撤去 / .about-stats を border-block化)。フルスペックは下層 /about/ ページに分離する方針。アリーナ派生 v30 でTOPの§9 NEWS&TOPICS カードのタイトル文字数制御を追加(.news-titleにline-clamp:3 + word-break:break-word)。長いタイトルや英数字の連続文字列もカード内に収まるよう抑制。flex-grow構造を保つため.news-readをmargin-top:auto化。併せてfront-page.phpから協会版残置4セクション(PRINCIPLES/BOUSAI/INFO/PARTNERS)を撤去。アリーナ派生 v33 で全テンプレ共通のパンくず(.breadcrumb / .breadcrumb-list / .breadcrumb-item / .breadcrumb-sep / .breadcrumb-current)を追加。各 hero(page-hero / post-hero / archive-hero / faq-page-head / lessons-page-head)が text-align:center であることを利用し、breadcrumb 自体は中央揃えを親から継承。inline-flex の breadcrumb-list で要素を横並びにし、flex-wrap で狭幅3階層も折り返し許容。Home リンクのみ Jost 大文字小型・現在地は ink-soft で控えめ強調・セパレータ "/" は --rule 色で薄く配置。.page-hero.has-image (アイキャッチ背景) 時はパンくず色を白系に補正。担当者要望書 C4「パンくずリスト」対応。アリーナ派生 v33.2 で .breadcrumb の text-align を left に確定。v33 では親継承で hero 系は中央寄せ・post-hero (single.php) のみ左寄せで不統一だった。本指定により親が text-align:center の hero 内でも breadcrumb 部分だけ左寄せ・本体タイトル類は中央寄せのまま動作する。アリーナ派生 v33.3 で page-hero のヒーロー高さを圧縮(padding-block clamp 80-10vw-130 → 48-6vw-80, eyebrow/divider/breadcrumb の margin var--s-5(24px) → var--s-4(16px))。約470px→約318px (画面1/3弱) に縮小し v6モック他セクション(GUIDE/COMFORT RULES/ACCESS)の section padding と揃えた。.page-hero.has-image (アイキャッチ画像背景時) は写真主役のため min-height(360-42vw-520) 管理を維持・触らない。併せて page.php / page-mock.php の htb_breadcrumb() 呼び出し位置を .page-hero-inner の中から .container 直下に移動 (v33.2 までは 720px ボックスの左端=画面中央寄りに表示されていたのを、container 左端=画面左端+gutter に統一。lessons など他テンプレと揃う)。アリーナ派生 v33.4 で hero テンプレのパンくず位置を「上 padding 約32px に統一」する非対称化を実施(page-hero / post-hero / archive-hero の 3 テンプレが対象。padding-block の上だけを clamp(20px,2.5vw,32px) に縮め、下 padding は各テンプレの意図(archive-hero はリスト前提で広め・post-hero は本文流入用に狭め・page-hero は装飾感で中庸)を維持)。faq-page / lessons-page は親の padding-top が既に var(--s-7)=48px と控えめでパンくず位置が自然だったため対象外・現状維持(先生の判断で「lessons の見え方を基準に他を寄せる」方針に確定)。これで全 hero でパンくずから IMPORTANT帯までの距離が 32〜48px 帯に収束し、サイト全体のリズム感が統一された。アリーナ派生 v46 でTOPの§14 ACCESS の連結延長セクション (.access-routes-section) を3カード方式から /access/ 詳細ページへの単一CTA (.access-routes-cta) に集約。3カード分の .access-route-card / .access-route-num / .access-route-title および対応するレスポンシブ規則を撤去。併せて HERO 領域の C 案残骸を整理：dead code (.hero.hero-c-v2 .hero-scroll の単発ルール) を撤去し、「C案：レスポンシブ切替」ブロックと v25-events-r2 のモバイル復活ブロックの display:none/!important × display:flex/!important の打ち消し合戦を解消、A 案モバイル位置調整 1ブロックに統合。.hero-news-* 系ラッパは v25-events 以降 A 案 EVENT FLOAT で流用されている旨を コメントで明示。アリーナ派生 v47 で §14 ACCESS を再スリム化：.access-row dd の Fax / Email 行を撤去（Fax は申請動線に集約・Email は contact 公開済みのため CF7 に一本化）。access-actions に「アクセス詳細を見る」CTA を追加し 3 CTA 化（電話する=.btn green / Googleマップで開く=.btn solid / アクセス詳細を見る=.btn green の構成で map を中央視覚アンカーに）。v46 で導入した .access-routes-section / .access-routes-cta および 対応する 720px @media を撤去（中間段階の独立セクションが不要になったため）。front-page.php の §14b 呼び出しも同時に撤去。access-routes.php 自体は呼び出し元なしで残置（FTP 削除推奨）。アリーナ派生 v48 でヘッダーのスマホSNS対応と下境界線の視認性改善を実施。(1) スマホSNS: SNSアイコンは .header-utils 内にあり @media(max-width:860px)の「.global-nav, .header-utils{display:none}」でトップバーごと非表示だった(構造上の非表示=ACF/キャッシュではない)。モバイル専用クラスタ .header-sns-mobile を新設(既定 display:none / 860px以下で display:flex・margin-left:auto でハンバーガー左に常設)。アイコン意匠は既存 .header-sns 流用。ドロワー側には置かない方針。(2) 下境界線: .site-header の border-bottom を --rule-soft(#ECEAE2)→--rule(#DCD9CF)に変更。地(#FAFAF7)とほぼ同色で線が見えず「メニューバー感」が無かったため1段濃く(新色は追加しない)。縦区切り(.header-utils border-left)は既に --rule のため据え置き(くどさ回避)。header.php は v36-arena-sns-mobile / HTB_THEME_VERSION 1.5.9→1.5.10。アリーナ派生 v48.1 でヘッダー下境界線の視認性を再調整。v48 で --rule-soft→--rule にしたが #DCD9CF でも地 #FAFAF7 との差が弱く線が見えなかったため、暖色グレー階調に --rule-strong(#C9C5B7) を新設(rule-soft→rule→rule-strong の中間グレーの延長・新アクセント色ではない)。.site-header の border-bottom と .header-utils の border-left(ナビ↔ユーティリティ縦区切り)を --rule-strong に統一(元の「線はJA前ディバイダに揃える」意図を保ったまま両方を視認可能な濃さに)。微調整は :root の --rule-strong 値を変えるだけで両方追従(薄く→#D2CEC0 / 濃く→#BFBBAD)。HTB_THEME_VERSION 1.5.10→1.5.11。アリーナ派生 v48.2 で .header-utils の縦区切りを border-left(ヘッダー全高)→ ::before の短い縦線(height:18px・上下中央)に変更。担当者要望「テキストサイズくらいの短い縦線で区切りたい」対応。長さ調整は ::before の height のみ。HTB_THEME_VERSION 1.5.11→1.5.12。アリーナ派生 v48.3 で「短い縦線で区切る」要望の本来の対象=ナビ項目どうしの間(施設案内┃スケジュール┃スポーツ教室┃ご利用案内)に短い縦区切りを追加。引き継ぎメモの「ナビ↔ユーティリティ間の縦区切り」という記述に引きずられ対象を取り違えていたのを修正。.global-nav li:not(:last-child)::after で gap(--s-6=32px)中央に height:14px の線を配置(ホバー下線が a::after を使用中のため li::after)。色は --rule-strong 追従。v48.2 の .header-utils::before(ナビ↔ユーティリティ間)は据え置き。HTB_THEME_VERSION 1.5.12→1.5.13。アリーナ派生 v48.4 で .header-utils の縦区切りを v48.2 の短縮(::before 18px)から元の全高 border-left に復帰(担当者「ご利用案内┃JA/EN は元の長さで区切る」)。短い縦線はナビ項目間(v48.3)のみ・ナビ↔ユーティリティ間は全高に。色は視認のため --rule-strong 維持。HTB_THEME_VERSION 1.5.13→1.5.14。
Version: 1.5.33-nopporo-hero-quicklinks
Requires at least: 6.0
Requires PHP: 8.0
License: Proprietary
License URI: -
Text Domain: hokkaido-taiiku-bunka
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* ============================================
   DESIGN TOKENS — Orthodox / Clean Editorial
   ============================================ */
:root {
  --bg:        #FAFAF7;
  --bg-alt:    #F2F0E9;
  --bg-pure:   #FFFFFF;
  --ink:       #1A1A1A;
  --ink-soft:  #3A3A3A;
  --ink-mute:  #7A7A7A;
  --rule:      #DCD9CF;
  --rule-soft: #ECEAE2;
  --rule-strong: #C9C5B7; /* v48.1: rule の暖色グレー系を1段濃くしたステップ。ヘッダー帯/縦区切り用。#DCD9CFが地#FAFAF7に薄すぎて線が見えなかった対策。新アクセント色ではなく rule-soft→rule→rule-strong の中間グレー階調の延長 */

  /* === アリーナ用カラー上書き(v27 / B案) ===
     セキスイハイム ブランドカラーをロゴ(logo.svg #316DAE)に合わせる。
     --green-deep は元00_絶対前提案の濃紺(#0c3966)を維持してメリハリ確保。
     派生サイト展開時はこの4行のみ施設色に差し替えれば全体追従する設計。 */
  --green:       #3071b7;
  --green-deep:  #0c3966;
  --green-light: #9BBADD;
  --green-soft:  #E6EDF7;

  --font-jp-mincho: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --font-jp-gothic: "Noto Sans JP", system-ui, sans-serif;
  --font-en-serif:  "Cormorant Garamond", Georgia, serif;
  --font-en-sans:   "Jost", system-ui, sans-serif;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px;

  --max-w: 1280px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --header-h: 88px;
  --notch: 22px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-jp-gothic);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.95;
  color: var(--ink);
  background: var(--bg);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
section { padding-block: clamp(80px, 10vw, 100px); }

/* HERO・STRIP系は section デフォルトの上下padding を打ち消す（独自に高さ管理） */
section.hero,
.news-strip,
.news-recent { padding-block: 0; }
.news-strip   { padding-block: 8px; }
.news-recent  { padding-block: var(--s-4); }

/* ヘッダーオフセット：fixed なヘッダー分を body 全体で確保
   これで、最上部に news-strip が来ても hero が来ても 隙間ゼロでベタ付け
   .admin-bar クラスは WP管理バー表示時に自動で付与される（先生からは32px見える） */
body { padding-top: var(--header-h); }

/* Eyebrow — small caps en + dash */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en-sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--green-deep);
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--green-deep);
}
/* センター配置時は両側にダッシュ (page-hero / post-hero で使用) */
.eyebrow.is-centered::after {
  content: "";
  width: 28px; height: 1px;
  background: var(--green-deep);
}

/* H2 standard */
.h2 {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.h2-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 24px 14px 26px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font-family: var(--font-jp-gothic);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.16em;
  transition: background 0.3s, color 0.3s, gap 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--ink); color: var(--bg); gap: 22px; }
.btn .arr {
  font-family: var(--font-en-serif);
  font-size: 16px;
  font-weight: 400;
}
.btn.green { color: var(--green-deep); border-color: var(--green-deep); }
.btn.green:hover { background: var(--green-deep); color: #fff; }
.btn.solid { background: var(--green-deep); color: #fff; border-color: var(--green-deep); }
.btn.solid:hover { background: var(--ink); border-color: var(--ink); }

/* "VIEW MORE" simple link */
.view-more {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-en-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.3s, color 0.2s, border-color 0.2s;
}
.view-more:hover { gap: 22px; color: var(--green-deep); border-color: var(--green-deep); }

/* ============================================
   HEADER — Clean, fixed top
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule-strong); /* v48.1: rule(#DCD9CF)でも地と差が弱く不可視だったため rule-strong(#C9C5B7)へ。1pxのまま色だけ1段濃く=「軽く・でも見える」線。もっと薄く→#D2CEC0 / 濃く→#BFBBAD で微調整可 */
  transition: background 0.3s;
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding-inline: var(--gutter);
  max-width: var(--max-w);
  margin-inline: auto;
}
.brand {
  display: flex; align-items: center;
  color: var(--ink);
  flex-shrink: 0;
  height: 100%;
}
/* フルロゴ画像（SVG）：マーク+日本語+英文+小タグライン込みで1枚 */
.brand-logo {
  height: 56px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s;
}
.brand:hover .brand-logo { opacity: 0.85; }

/* モバイル：ヘッダー高さに合わせてロゴ縮小 */
@media (max-width: 860px) {
  .brand-logo { height: 44px; max-width: 220px; }
}
@media (max-width: 480px) {
  .brand-logo { height: 38px; max-width: 190px; }
}

.global-nav { display: flex; align-items: center; gap: var(--s-7); }
.global-nav ul { display: flex; gap: var(--s-6); align-items: center; }
.global-nav a {
  position: relative;
  padding: 8px 0;
  font-family: var(--font-jp-gothic);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: color 0.2s;
}
.global-nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--green-deep);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.global-nav a:hover { color: var(--green-deep); }
.global-nav a:hover::after { transform: scaleX(1); }

/* v48.3: ナビ項目どうしの間の短い縦区切り(施設案内 ┃ スケジュール ┃ …)
   gap(--s-6=32px)の中央に、テキストサイズ相当(14px)の短い縦線を配置。
   ホバー下線は a::after を使用中のため、こちらは li::after で実装。
   最終項目の右には出さない(:not(:last-child))。色は --rule-strong 追従。
   長さ調整は height(14px)、位置調整は right(gap中央=gap×-0.5)。 */
.global-nav li { position: relative; }
.global-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--s-6) * -0.5);
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: var(--rule-strong);
}

.header-utils {
  display: flex; align-items: center; gap: var(--s-4);
  padding-left: var(--s-5);
  border-left: 1px solid var(--rule-strong); /* v48.4: v48.2の短縮(::before 18px)を撤回し、元の全高ボーダーに復帰。短い区切りはナビ項目間だけ・ここ(ナビ↔ユーティリティ間)は全高で。色は視認用に --rule-strong 維持 */
}
.lang {
  font-family: var(--font-en-sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  display: flex; align-items: center; gap: 6px;
  color: var(--ink-mute);
}
.lang .active {
  color: var(--ink);
  font-weight: 500;
  padding: 4px 2px;
}
.lang .sep { color: var(--rule); }
.lang-en {
  padding: 4px 6px;
  color: var(--ink-mute);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.lang-en:hover { color: var(--green-deep); border-bottom-color: var(--green-deep); }
.icon-btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  border-radius: 50%;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.icon-btn:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============================================
   SNS ICONS in HEADER — v25-sns-r2 追加 (2026-04-29)
   header-utils 内、検索ボタン右に並ぶ Instagram / X
   .icon-btn(検索ボタン) との視覚差別化のため丸枠なし・素のSVG表示
   header.php で .header-sns クラスとして使用
   ============================================ */
.header-sns {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  color: var(--ink-mute);
  transition: color 0.2s ease, transform 0.2s ease;
}
.header-sns:hover {
  color: var(--green-deep);
  transform: translateY(-1px);
}
.header-sns svg { display: block; }

/* ============================================
   SNS ICONS (MOBILE) — v48 / header.php v36-arena-sns-mobile
   .header-utils は @media(max-width:860px)で display:none になるため、
   スマホ用にトップバー(ハンバーガー左)へ常設するクラスタ。
   PC では非表示。表示は下部 @media(max-width:860px)で display:flex に。
   アイコン本体の意匠は上の .header-sns を流用。
   ============================================ */
.header-sns-mobile { display: none; }
/* === SNS ICONS 追加分ここまで === */

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 99;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
  padding: calc(var(--header-h) + 32px) var(--gutter) var(--s-7);
  overflow-y: auto;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid var(--rule); }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.08em;
}
.mobile-nav a .mn-num {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--green-deep);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================
   HERO — Photo-first slider
   ============================================ */
.hero {
  position: relative;
  /* margin-top は #site-content または body に集約（後述） */
  height: calc(100vh - var(--header-h));
  min-height: 580px;
  max-height: 800px;
  overflow: hidden;
}
.hero-slider {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
  position: absolute;
  bottom: var(--s-9);
  left: 0; right: 0;
  z-index: 3;
  color: #fff;
}
.hero-content .container {
  display: flex; flex-direction: column; gap: var(--s-5);
}
.hero-eyebrow {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before {
  content: ""; width: 32px; height: 1px;
  background: rgba(255,255,255,0.7);
}
.hero h1 {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.55;
  letter-spacing: 0.12em;
  color: #fff;
  max-width: 900px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.hero-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 22px);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.hero-name {
  position: absolute;
  top: var(--s-7);
  right: var(--gutter);
  z-index: 3;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
}
.hero-scroll {
  position: absolute;
  bottom: var(--s-5);
  left: var(--gutter);
  z-index: 3;
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 14px;
}
.hero-scroll::after {
  content: ""; width: 60px; height: 1px;
  background: rgba(255,255,255,0.5);
  animation: scrollLine 2s ease-in-out infinite;
  transform-origin: left;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.4); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* ============================================
   HERO 採用版 A: ファーストビューに What's New が見える高さ
   85vh で News Recent帯が画面下端に収まる
   ============================================ */
.hero.hero-a {
  height: calc(85vh - var(--header-h));
}

/* ============================================
   HERO Float Wrapper — A 案 EVENT FLOAT のラッパベース
   .hero-news-float / .hero-news-float-r / .hero-news-label / .dot
   / .hero-news-list / .hero-news-more は A 案 HERO で event float
   パネル（コンサート告知等）を表示するためのラッパ群。
   v25-events (2026-04-29) で C 案から A 案へ用途転用済。
   - 文字読みづらさ対策：黒半透明背景＋背景ぼかし＋テキストシャドウ
   - 内部のイベント項目は .hero-event-* を使用（次セクション）
   - モバイル（720px以下）の位置調整は CSS 下部の @media 参照
   ============================================ */
.hero-news-float {
  position: absolute;
  z-index: 4;
  display: flex; flex-direction: column;
  padding: 16px 22px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  max-width: min(440px, 92vw);
  border-left: 2px solid var(--green-light);
  transition: background 0.3s;
}
/* 右下配置（C案 v2 の標準位置） */
.hero-news-float-r {
  right: var(--gutter);
  bottom: var(--s-7);
}
.hero-news-float:hover {
  background: rgba(0, 0, 0, 0.6);
}
.hero-news-label {
  font-family: var(--font-en-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  display: inline-flex; align-items: center; gap: 8px;
  color: #E0EBE6;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.hero-news-label .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-light);
  flex-shrink: 0;
  animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.8); }
}

/* 3件並びのリスト */
.hero-news-list {
  display: flex; flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 10px;
}

.hero-news-more {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-light);
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-end;
  transition: gap 0.3s, color 0.2s;
}
.hero-news-more:hover {
  color: #fff;
  gap: 14px;
}

/* ============================================
   HERO EVENT FLOAT — v25-events 追加 (2026-04-29)
   .hero-news-float (協会既存ラッパー) を流用しつつ、
   イベント告知用の「日付バッジ付きアイテム」を追加。
   アリーナのコンサート告知などで使用。
   v6モック (icearena_TOP_v6_20260428.html) の hero-target-* を
   協会の命名規則に合わせて hero-event-* にリネームしたもの。
   ============================================ */
.hero-event-item {
  display: grid;
  grid-template-columns: 40px 1fr 20px;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: padding-left 0.2s, color 0.2s;
}
.hero-event-item:last-child { border-bottom: none; }
.hero-event-item:hover {
  padding-left: 6px;
  color: var(--green-light);
}
.hero-event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 2px;
  font-family: var(--font-en-serif);
  line-height: 1;
  padding: 4px 0;
  flex-shrink: 0;
}
.hero-event-date .he-month {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}
.hero-event-date .he-day {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.02em;
}
.hero-event-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.hero-event-jp {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-event-sub {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}
.hero-event-arr {
  font-family: var(--font-en-serif);
  font-size: 18px;
  color: rgba(255,255,255,0.6);
  text-align: right;
}
/* === HERO EVENT FLOAT 追加分ここまで === */

/* ============================================
   HERO Float モバイル挙動（v46 で C 案残骸を整理し統合）
   - デスクトップ: .hero-news-float-r で右下配置
   - モバイル (≤720px): A 案 HERO のフロートを画面上部にフルワイドで再配置
     （H1 テキストとの衝突回避・v25-events-r3 由来の配置方針）
   ============================================ */
@media (max-width: 720px) {
  .hero.hero-a .hero-news-float {
    left: 20px;
    right: 20px;
    top: 20px;
    bottom: auto;
    width: auto;
    max-width: none;
  }
}

/* ============================================
   NEWS strip (just below hero)
   ============================================ */
/* ============================================
   NEWS STRIP — Important Notices (常設ではない・最大2件)
   ヘッダー直下に配置、該当告知がある時のみ表示。カテゴリ色分け
   ============================================ */
.news-strip {
  background: #FBF6EE;
  border-bottom: 1px solid #E8DCC2;
  padding-block: 8px;
  position: relative;
  /* margin-top は不要（HERO/news-recent側でheaderオフセットを処理） */
}
.news-strip::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #B8722C;
}
.news-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-5);
  align-items: center;
}

/* 一行化ラベル：丸「!」 + IMPORTANT + 縦罫 + 重要なお知らせ */
.news-strip-label {
  display: flex; align-items: center; gap: 10px;
  white-space: nowrap;
}
.news-strip-label::before {
  content: "!";
  display: inline-grid; place-items: center;
  width: 18px; height: 18px;
  background: #B8722C;
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-jp-gothic);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding-bottom: 1px;
  flex-shrink: 0;
}
.news-strip-label .en {
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #B8722C;
  font-weight: 500;
  text-transform: uppercase;
}
.news-strip-label .sep {
  width: 1px; height: 14px;
  background: #D4BB99;
}
.news-strip-label .jp {
  font-family: var(--font-jp-mincho);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.news-strip-list { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.news-strip-list a {
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
  color: var(--ink);
  transition: color 0.2s;
  min-width: 0;
}
.news-strip-list a:hover { color: var(--green-deep); }
.news-strip-list a:hover .ns-title { text-decoration: underline; text-underline-offset: 3px; }

/* カテゴリバッジ */
.ns-cat {
  font-family: var(--font-jp-gothic);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 2px 9px;
  color: #fff;
  flex-shrink: 0;
  line-height: 1.5;
}
.ns-cat.cat-kinkyu   { background: #C0392B; }  /* 緊急：赤 */
.ns-cat.cat-event    { background: #2E6B9E; }  /* イベント：青 */
.ns-cat.cat-juyou    { background: #B8722C; }  /* 重要：ブラウン */

.news-strip-list .dt {
  font-family: var(--font-en-sans);
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.ns-title {
  font-size: 13.5px;
  color: var(--ink);
  transition: color 0.2s;
  /* 長すぎたら1行で省略（…） */
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================
   NEWS RECENT — 最新ニュース・さりげない表示（ヒーロー下）
   Lv.2: 最新3件を常設、VIEW RECENT NEWSで下の#newsセクションへ
   ============================================ */
.news-recent {
  background: var(--bg-pure);
  border-bottom: 1px solid var(--rule-soft);
  padding-block: var(--s-4);
}
.news-recent-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-6);
  align-items: center;
}
.news-recent-label {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--green-deep);
  font-weight: 500;
  text-transform: uppercase;
  white-space: nowrap;
}
.news-recent-label::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.news-recent-list {
  display: flex; flex-direction: column; gap: 3px;
  min-width: 0;
}
.news-recent-list a {
  display: flex; align-items: baseline; gap: 18px;
  font-size: 13.5px;
  color: var(--ink);
  transition: color 0.2s;
  min-width: 0;
}
.news-recent-list a:hover { color: var(--green-deep); }
.news-recent-list a:hover .nr-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.news-recent-list .nr-date {
  font-family: var(--font-en-sans);
  font-size: 12.5px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 80px;
}
.news-recent-list .nr-title {
  /* 長すぎたら1行で省略（…） */
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-recent-more {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  transition: color 0.2s, border-color 0.2s, gap 0.3s;
}
.news-recent-more:hover {
  color: var(--green-deep);
  border-color: var(--green-deep);
  gap: 14px;
}

/* ============================================
   ABOUT (intro)
   ============================================ */
/* ============================================
   ABOUT (intro) — v29 で v6モック §13 準拠にリビルド
   協会版の理念ブロック向け仕様(.about-divider / .about-more 等)を
   撤去し、施設紹介の薄い版(沿革1段落+4スタッツ)向けに整理。
   .about-head ラッパで見出し3点を中央寄せ flex 化、
   .num-jp と .label-jp を追加し英数字スタッツ(.num)と
   和文混じりスタッツ("10,133㎡" "多種目" "通年" 等)を
   フォント切替で出し分けられる構造に。
   ============================================ */
.about { background: var(--bg-pure); }
.about-inner {
  max-width: 920px;
  margin-inline: auto;
}

/* v29追加: 見出し3点 (eyebrow / h2 / h2-en) のセンター寄せラッパ */
.about-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 40px;
}

.about-lead {
  font-family: var(--font-jp-mincho);
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2.1;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  margin-bottom: 56px;
}

/* v29: border-top のみ → border-block (上下) に変更、padding-block で上下対称化 */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.4vw, 32px);
  padding-block: 48px;
  border-block: 1px solid var(--rule-soft);
}

/* v29: flex-column センタリングで縦並び3要素 (num/num-jp + label + label-jp) */
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

/* 英数字スタッツ用 (Cormorant Garamond italic) — 例: "1972" */
.about-stat .num {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.0;
  letter-spacing: 0.02em;
}

/* v29追加: 和文混じりスタッツ用 (Noto Serif JP) — 例: "10,133㎡" "多種目" "通年" */
.about-stat .num-jp {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--green-deep);
  line-height: 1.0;
}

/* 英ラベル (uppercase / spaced) */
.about-stat .label {
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* v29追加: 和文サブラベル */
.about-stat .label-jp {
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: -4px;
}
/* === ABOUT v29 リビルドここまで === */

/* ============================================
   FACILITY — Clean photo cards
   ============================================ */
.facility { background: var(--bg-alt); }
.facility-head {
  text-align: center;
  margin-bottom: var(--s-8);
}
.facility-head .eyebrow { justify-content: center; }
.facility-head .h2 { margin-top: var(--s-4); }

.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-7) var(--s-6);
}
.facility-card { display: block; }
.facility-img-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
  position: relative;
}
.facility-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}
.facility-card:hover .facility-img { transform: scale(1.05); }
.facility-img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.25) 100%);
}
.facility-num {
  position: absolute;
  top: var(--s-4); left: var(--s-5);
  z-index: 2;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 18px;
  color: rgba(255,255,255,0.95);
}
.facility-body {
  padding-top: var(--s-5);
  display: flex; flex-direction: column; gap: var(--s-3);
}
.facility-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--green-deep);
  letter-spacing: 0.02em;
}
.facility-name {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  letter-spacing: 0.06em;
}
.facility-lead {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.facility-link {
  margin-top: var(--s-3);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  width: fit-content;
  transition: gap 0.3s, color 0.2s, border-color 0.2s;
}
.facility-card:hover .facility-link {
  gap: 18px; color: var(--green-deep); border-color: var(--green-deep);
}

/* ============================================
   NEWS — 通常お知らせ カード型一覧
   ============================================ */
.news { background: var(--bg); }
.news-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-6);
  align-items: end;
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
}
.news-head-title h2 { margin-top: 14px; }
.news-tabs {
  display: flex; gap: var(--s-4);
}
.news-tab {
  font-family: var(--font-jp-gothic);
  font-size: 12px;
  letter-spacing: 0.14em;
  padding: 8px 14px;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  background: var(--bg-pure);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.news-tab.active {
  color: var(--bg-pure);
  background: var(--ink);
  border-color: var(--ink);
}
.news-tab:hover:not(.active) {
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.news-card {
  display: flex; flex-direction: column;
  padding: var(--s-6) var(--s-5);
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: var(--bg-pure);
  transition: background 0.2s;
  cursor: pointer;
}
.news-card:hover { background: var(--green-soft); }
.news-card:nth-child(3n) { border-right: none; }
.news-meta {
  display: flex; align-items: center; gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.news-date {
  font-family: var(--font-en-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.news-cat {
  font-family: var(--font-jp-gothic);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 3px 10px;
  border: 1px solid var(--ink-mute);
  color: var(--ink-mute);
}
.news-cat.cat-oshirase { color: var(--green-deep); border-color: var(--green-deep); }
.news-cat.cat-houkoku { color: #8B6B3D; border-color: #8B6B3D; }
.news-title {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: var(--s-5);
  /* v30: 長文タイトル制御 ---
     line-clamp で最大3行表示、超過分は省略。
     word-break/overflow-wrap で空白なし英数字連続(testtesttest…等)
     もカード内で強制改行する。
     display:-webkit-box を使う関係で flex-grow は両立しないため
     撤去し、代わりに .news-read 側に margin-top:auto を付与して
     READ MORE をカード下端に押し出す。 */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.news-read {
  margin-top: auto; /* v30: .news-title の flex-grow 撤去に伴い、READ MOREをカード下端へ */
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.2s, gap 0.2s;
}
.news-card:hover .news-read {
  color: var(--green-deep);
  gap: 14px;
}
.news-more {
  margin-top: var(--s-8);
  text-align: center;
}

/* ============================================
   PRINCIPLES — quiet 7 column with stripe
   ============================================ */
.principles { background: var(--bg-pure); }
.principles-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: end;
  margin-bottom: var(--s-8);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
}
.principles-head .lead {
  font-family: var(--font-jp-mincho);
  font-weight: 400;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 2.2;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.principles-head .lead .em { color: var(--green-deep); font-weight: 500; }

.principles-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
}
.principle {
  padding: var(--s-6) var(--s-4);
  border-left: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: var(--s-4);
  min-height: 220px;
  transition: background 0.3s;
}
.principle:last-child { border-right: 1px solid var(--rule); }
.principle:hover { background: var(--green-soft); }
.principle-num {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--green-deep);
  font-weight: 400;
}
.principle-text {
  margin-top: auto;
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.85;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* ============================================
   BOUSAI
   ============================================ */
.bousai { background: var(--bg-alt); }
.bousai-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-9);
  align-items: center;
}
.bousai-img {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.0) 50%, rgba(0,0,0,0.4) 100%),
    linear-gradient(160deg, #6E5036 0%, #3D2A1A 60%, #1A1208 100%);
  position: relative;
  overflow: hidden;
}
.bousai-img-label {
  position: absolute;
  top: var(--s-5); left: var(--s-5);
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}
.bousai-img-bottom {
  position: absolute;
  bottom: var(--s-5); left: var(--s-5); right: var(--s-5);
  z-index: 2;
}
.bousai-img-jp {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.5;
  letter-spacing: 0.1em;
  color: #fff;
}
.bousai-text { display: flex; flex-direction: column; gap: var(--s-5); }
.bousai-text p {
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: 0.05em;
}
.bousai-keys {
  margin-top: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}
.bousai-key .label {
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.bousai-key .value {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.06em;
}

/* ============================================
   INFO DISCLOSURE
   ============================================ */
.info { background: var(--bg-pure); }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: var(--s-9);
}
.info-side .h2 { margin-top: var(--s-3); }
.info-side p {
  margin-top: var(--s-5);
  font-size: 14px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 380px;
}
.info-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.info-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: var(--s-5);
  align-items: center;
  padding: var(--s-5) var(--s-4);
  border-bottom: 1px solid var(--rule);
  transition: padding 0.3s, background 0.3s;
}
.info-row:hover { padding-left: 18px; background: var(--bg-alt); }
.info-pill {
  font-family: var(--font-en-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  border: 1px solid var(--rule);
  padding: 6px 9px;
  text-transform: uppercase;
}
.info-name {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.06em;
}
.info-name .meta {
  display: block;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.info-size {
  font-family: var(--font-en-sans);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.info-arr {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mute);
  transition: transform 0.3s, color 0.2s;
}
.info-row:hover .info-arr { transform: translateX(4px); color: var(--green-deep); }

/* ============================================
   PAGE HEAD (固定ページ用ヘッダーブロック)
   ============================================ */
.page-head {
  background: var(--bg-pure);
  padding-block: clamp(80px, 9vw, 120px) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--rule);
}
.page-head-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-9);
  align-items: end;
}
.page-head h1 {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.35;
  letter-spacing: 0.06em;
  margin-top: var(--s-4);
}
.page-head .h1-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  margin-top: var(--s-3);
}
.page-head .lead {
  font-size: 14px;
  line-height: 2.1;
  color: var(--ink-soft);
  max-width: 520px;
}

/* ============================================
   INFO ARCHIVE (/info/ 一覧ページ専用)
   ============================================ */
.info-archive {
  background: var(--bg-pure);
  padding-block: clamp(48px, 6vw, 80px) clamp(80px, 10vw, 140px);
}
.info-cat {
  margin-bottom: var(--s-9);
}
.info-cat:last-child { margin-bottom: 0; }

.info-cat-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--s-5);
  align-items: baseline;
  padding-bottom: var(--s-4);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--green-deep);
}
.info-cat-num {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--green-deep);
  letter-spacing: 0.04em;
}
.info-cat-title {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.08em;
  color: var(--ink);
}
.info-cat-title .meta-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: clamp(13px, 1.2vw, 15px);
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-left: var(--s-3);
  font-weight: 400;
}

/* archive内の info-row は5カラムに上書き (TOPは4カラムのまま) */
.info-archive .info-row {
  grid-template-columns: auto 1fr 130px 80px auto;
}
.info-nendo {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  text-align: right;
}
.info-nendo.is-empty {
  color: var(--ink-mute);
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 16px;
}
.info-archive .info-size { text-align: right; }

/* 件数ゼロ時の空状態 */
.info-empty {
  padding: var(--s-7) var(--s-4);
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}


/* ============================================
   PARTNERS
   ============================================ */
.partners { background: var(--bg); }
.partners-head { text-align: center; margin-bottom: var(--s-7); }
.partners-head .eyebrow { justify-content: center; }
.partners-head .h2 { margin-top: var(--s-4); }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.partner-cell {
  background: var(--bg);
  padding: var(--s-6) var(--s-4);
  display: grid; place-items: center;
  text-align: center;
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: var(--ink);
  min-height: 100px;
  transition: background 0.3s, color 0.3s;
}
.partner-cell:hover { background: var(--green-soft); color: var(--green-deep); }

/* ============================================
   ACCESS
   ============================================ */
.access { background: var(--bg-alt); }
.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-8);
  align-items: stretch;
}
.access-info .h2 { margin-top: var(--s-3); }
.access-info .h2-en { margin-bottom: var(--s-7); }
.access-rows {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--rule);
}
.access-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.access-row dt {
  font-family: var(--font-en-sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--green-deep);
  text-transform: uppercase;
}
.access-row dd {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.06em;
}
.access-row dd .num {
  font-family: var(--font-en-sans);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.access-actions { margin-top: var(--s-6); display: flex; gap: var(--s-3); flex-wrap: wrap; }

.access-map {
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
  min-height: 440px;
}
.access-map::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(0deg, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
}
.access-map-pin {
  width: 50px; height: 50px;
  background: var(--green-deep);
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.access-map-pin::after {
  content: "";
  position: absolute;
  width: 100px; height: 100px;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 50%;
  animation: ripple 2.4s ease-out infinite;
}
.access-map-pin span {
  width: 12px; height: 12px;
  background: #fff;
  border-radius: 50%;
}
@keyframes ripple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.access-map-label {
  position: absolute;
  top: var(--s-5); left: var(--s-5);
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
}

/* ============================================================
   PHASE 3 — Page / Single Templates (下層ページ実装)
   v1.2.0-phase3-v8  2026-04-26
   - .page-hero / .post-hero: 固定ページ・投稿個別のヒーロー
   - .rich-content: Classic Editor 出力の汎用整形
   - .feature-box / .callout / .numbered-cards / .tag-row / .facility-row: 拡張ユーティリティ
   - .post-nav: 投稿個別末尾の前後ナビ
   ============================================================ */

/* ---------- Page Hero (page.php / page-mock.php) ---------- */
/* v33.3 (2026-05-02): 上下padding を clamp(80,10vw,130) → clamp(48,6vw,80) に圧縮。
   v6モックの他セクション (GUIDE/COMFORT RULES/ACCESS) の section padding-block と
   揃えた。eyebrow/divider/breadcrumb の margin も var(--s-5)(24px) → var(--s-4)(16px)
   に詰めて、ヒーロー全体高さを 約470px → 約318px (画面 1/3 弱) に縮小。
   .page-hero.has-image (アイキャッチ画像背景) は写真主役のため min-height ベースの
   別管理 (1671行付近) を維持・触らない。
   v33.4 (2026-05-02): padding-block を非対称化。上だけ clamp(20px,2.5vw,32px) に
   さらに圧縮し、パンくずを IMPORTANT 帯の直下近く(約32px下)に配置。下 padding は
   v33.3 の clamp(48,6vw,80) を維持(緑三角装飾の見え方とヒーローの「重み」のため)。
   全 hero (post-hero / archive-hero) でも上 padding を約32pxに揃え、サイト全体で
   パンくず位置のリズム統一。 */
.page-hero {
  position: relative;
  padding-block: clamp(20px, 2.5vw, 32px) clamp(48px, 6vw, 80px);
  background: var(--bg-alt);
  overflow: hidden;
}
.page-hero::before {
  /* 右下のコーナー装飾 (緑薄三角) */
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: clamp(80px, 14vw, 180px);
  height: clamp(80px, 14vw, 180px);
  background: var(--green-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.7;
}
.page-hero-inner {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  z-index: 2;
}
.page-hero-eyebrow { margin-bottom: var(--s-4); /* v33.3: --s-5(24) → --s-4(16) */ }
.page-hero-title {
  font-family: var(--font-jp-mincho);
  font-weight: 600;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.page-hero-divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--ink);
  margin: var(--s-4) auto; /* v33.3: --s-5(24) → --s-4(16) */
}
.page-hero-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.page-body {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--bg);
}

/* ---------- Page Hero (アイキャッチが背景になるモード) ---------- */
.page-hero.has-image {
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: clamp(360px, 42vw, 520px);
  display: flex;
  align-items: center;
  padding-block: clamp(80px, 10vw, 130px);
}
/* 暗いオーバーレイで文字を読みやすく */
.page-hero.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%);
  z-index: 1;
}
/* 既存の右下ノッチ装飾は写真モードでは非表示 (写真の主役感を邪魔しないため) */
.page-hero.has-image::before { display: none; }
/* テキストを白に */
.page-hero.has-image .page-hero-inner { color: #fff; }
.page-hero.has-image .page-hero-eyebrow {
  color: rgba(255, 255, 255, 0.9);
}
.page-hero.has-image .eyebrow.is-centered::before,
.page-hero.has-image .eyebrow.is-centered::after {
  background: rgba(255, 255, 255, 0.7);
}
.page-hero.has-image .page-hero-title {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.page-hero.has-image .page-hero-divider {
  background: rgba(255, 255, 255, 0.7);
}
.page-hero.has-image .page-hero-en {
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Single Hero (single.php) ---------- */
/* v33.4 (2026-05-02): padding-block の上だけを clamp(70,9vw,110) → clamp(20,2.5vw,32) に
   圧縮(パンくず位置を IMPORTANT 帯直下に統一)。下 padding は本文流入用に狭めの
   clamp(40,5vw,70) を維持(他 hero テンプレと意図的に異なる)。 */
.post-hero {
  position: relative;
  padding-block: clamp(20px, 2.5vw, 32px) clamp(40px, 5vw, 70px);
  background: var(--bg-alt);
  overflow: hidden;
}
.post-hero::before {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  background: var(--green-soft);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.7;
}
.post-hero-inner {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  z-index: 2;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.post-date {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.post-category {
  display: inline-block;
  padding: 5px 14px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-family: var(--font-jp-gothic);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  border-radius: 2px;
}
.post-category.is-important {
  background: #FBE9E5;
  color: #C0392B;
}
.post-hero-title {
  font-family: var(--font-jp-mincho);
  font-weight: 600;
  font-size: clamp(24px, 3.8vw, 42px);
  line-height: 1.55;
  letter-spacing: 0.06em;
  color: var(--ink);
}

/* Featured Image (アイキャッチ・任意) */
.post-featured {
  margin-block: 0;
  background: var(--bg-alt);
  overflow: hidden;
}
.post-featured img {
  display: block;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
}

.post-body {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--bg);
}

/* ---------- .rich-content — Classic Editor 出力の汎用整形 ---------- */
.rich-content {
  max-width: 760px;
  margin-inline: auto;
  font-family: var(--font-jp-gothic);
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.rich-content > * + * { margin-top: var(--s-5); }
.rich-content > h2 + *,
.rich-content > h3 + *,
.rich-content > h4 + * { margin-top: var(--s-3); }

.rich-content h2 {
  position: relative;
  font-family: var(--font-jp-mincho);
  font-weight: 600;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-top: var(--s-8);
  padding-bottom: var(--s-4);
}
.rich-content h2::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 40px;
  height: 2px;
  background: var(--green-deep);
}
.rich-content h3 {
  font-family: var(--font-jp-mincho);
  font-weight: 600;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--ink);
  margin-top: var(--s-7);
  padding-left: var(--s-4);
  border-left: 3px solid var(--green);
}
.rich-content h4 {
  font-family: var(--font-jp-gothic);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.7;
  color: var(--green-deep);
  margin-top: var(--s-6);
}
.rich-content p { color: var(--ink-soft); }
.rich-content a {
  color: var(--green-deep);
  border-bottom: 1px solid var(--green-light);
  transition: color 0.2s, border-color 0.2s;
}
.rich-content a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.rich-content ul,
.rich-content ol { padding-left: 1.4em; }
.rich-content ul { list-style: disc outside; }
.rich-content ol { list-style: decimal outside; }
.rich-content li { margin-top: 6px; }
.rich-content li::marker { color: var(--green); }

.rich-content blockquote {
  margin: var(--s-6) 0;
  padding: var(--s-5) var(--s-6);
  border-left: 3px solid var(--green);
  background: var(--bg-alt);
  font-family: var(--font-jp-mincho);
  color: var(--ink-soft);
}
.rich-content blockquote p { margin: 0; }

.rich-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin-block: var(--s-5);
}
.rich-content th,
.rich-content td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--rule);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.rich-content th {
  background: var(--bg-alt);
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  white-space: nowrap;
}

/* Timeline table (沿革等の年表) — 1列目を nowrap で日付改行を防ぐ
   2系統で発火: (1) class="timeline" が付与されている (2) thead を持つテーブル
   :has() による (2) で about.html 未差し替えでも効くようにしている */
.rich-content table.timeline thead th:first-child,
.rich-content table.timeline tbody td:first-child,
.rich-content table:has(thead) tbody td:first-child {
  white-space: nowrap;
  width: 1%;
  padding-right: var(--s-6);
  font-family: var(--font-jp-mincho);
  color: var(--ink);
  letter-spacing: 0.04em;
}

.rich-content figure { margin-block: var(--s-6); }
.rich-content img {
  margin-block: var(--s-5);
  border-radius: 2px;
}
.rich-content figcaption {
  margin-top: var(--s-3);
  font-size: 12px;
  color: var(--ink-mute);
  text-align: center;
  letter-spacing: 0.04em;
}
.rich-content hr {
  border: none;
  border-top: 1px solid var(--rule);
  margin-block: var(--s-7);
}
.rich-content strong { font-weight: 600; color: var(--ink); }
.rich-content em { font-style: italic; }
.rich-content code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 6px;
  background: var(--bg-alt);
  border-radius: 2px;
}

/* ---------- 拡張ユーティリティ (Classic Editor で <div class="..."> で使用) ---------- */

/* Feature Box (デフォルト = アウトライン / 普通の枠線) */
.feature-box {
  position: relative;
  margin-block: var(--s-7);
  padding: var(--s-7) var(--s-6);
  background-color: transparent;
  border: 1px solid var(--ink);
  color: var(--ink-soft);
}
.feature-box .feature-box-title {
  display: inline-block;
  margin: 0 0 var(--s-5) 0 !important;
  padding: var(--s-2) var(--s-5) !important;
  border: 1px solid var(--ink);
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: transparent;
}
.feature-box p { color: var(--ink-soft) !important; line-height: 2; }

/* Feature Box .dark (黒塗り版・右下ノッチ / 強訴求用) */
.feature-box.dark {
  background-color: var(--ink);
  border: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  color: rgba(250, 250, 247, 0.85);
}
.feature-box.dark .feature-box-title {
  border-color: rgba(250, 250, 247, 0.7);
  color: #fff;
}
.feature-box.dark p { color: rgba(250, 250, 247, 0.85) !important; }
.feature-box.dark a {
  color: var(--green-light) !important;
  border-bottom-color: rgba(143, 191, 163, 0.5) !important;
}

/* Callout (淡・補足情報) */
.callout {
  margin-block: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: var(--bg-alt);
  border-radius: 2px;
  position: relative;
}
.callout::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--green-deep);
}
.callout .callout-title {
  font-family: var(--font-jp-mincho);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: var(--s-3) !important;
  letter-spacing: 0.06em;
}

/* Numbered Cards (kaminishi 4つの役割風 / 右下ノッチ)
   v13.2: minmax 220→280 で desktop 2列化、垂直余白圧縮(間延び解消) */
.numbered-cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
  list-style: none !important;
  padding: 0 !important;
  margin-block: var(--s-7);
  counter-reset: ncard;
}
.numbered-cards > li {
  position: relative;
  padding: var(--s-5) var(--s-5);
  background: var(--bg-alt);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%);
  counter-increment: ncard;
  margin-top: 0 !important;
  font-family: var(--font-jp-mincho);
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink);
  text-align: center;
}
.numbered-cards > li::before {
  content: counter(ncard);
  display: block;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 36px;
  font-weight: 400;
  color: var(--green-deep);
  margin-bottom: var(--s-2);
  line-height: 1;
}
.numbered-cards > li::marker { content: none; }

/* Tag Row (枠線アロー型ラベル / kaminishi 車・バス・タクシー風) */
.tag-row {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: var(--s-4) var(--s-5);
  align-items: baseline;
  list-style: none !important;
  padding: 0 !important;
  margin-block: var(--s-5);
}
.tag-row > dt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px 0 14px;
  min-width: 84px;
  height: 30px;
  font-family: var(--font-jp-gothic);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink);
  background-image: url("data:image/svg+xml;charset=utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 30' preserveAspectRatio='none'><path d='M0.5,0.5 L88,0.5 L99.5,15 L88,29.5 L0.5,29.5 Z' fill='%23FFFFFF' stroke='%231A1A1A' stroke-width='1' vector-effect='non-scaling-stroke'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  white-space: nowrap;
  justify-self: start;
}
.tag-row > dd {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-soft);
  margin: 0;
}

/* Facility Row (4施設カード横並び・固定ページ本文用)
   ⚠️ TOP の .facility-grid / .facility-card とは別物。.facility-row の中だけにスコープ */
.facility-row {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  list-style: none !important;
  padding: 0 !important;
  margin-block: var(--s-7);
}
.facility-row > li {
  margin-top: 0 !important;
  display: flex;
  flex-direction: column;
}
.facility-row > li::marker { content: none; }
.facility-row .facility-img {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.facility-row .facility-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.facility-row .facility-img-label {
  position: absolute;
  bottom: var(--s-3); left: var(--s-3);
  font-family: var(--font-en-sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
}
/* 写真未設定時の施設別カラープレースホルダー */
.facility-row .facility-img.is-icearena {
  background: linear-gradient(160deg, #2C5F7E 0%, #1A3A4E 60%, #0E2230 100%);
}
.facility-row .facility-img.is-stadium {
  background: linear-gradient(160deg, #2E7A4E 0%, #1A5A36 60%, #0E3520 100%);
}
.facility-row .facility-img.is-koen {
  background: linear-gradient(160deg, #4E5F2E 0%, #36421A 60%, #20280E 100%);
}
.facility-row .facility-img.is-nopporo {
  background: linear-gradient(160deg, #9E5A2E 0%, #6E3A1A 60%, #3E200E 100%);
}
.facility-row .facility-name {
  font-family: var(--font-jp-mincho);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-top: var(--s-3) !important;
}
.facility-row .facility-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  line-height: 1.5;
  margin-top: 4px !important;
}
.facility-row .facility-desc {
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-top: var(--s-2) !important;
}

/* Map Embed (Googleマップなどの iframe ラッパー) */
.map-embed {
  margin-block: var(--s-5);
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--bg-alt);
  overflow: hidden;
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}
@media (max-width: 860px) {
  .map-embed iframe { height: 320px; }
}

/* FAQ List (折りたたみ Q&A / details + summary) */
.faq-list {
  margin-block: var(--s-7);
  border-top: 1px solid var(--rule);
}
.faq-list details {
  border-bottom: 1px solid var(--rule);
  padding-block: var(--s-5);
  margin-top: 0 !important;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 0 40px 0 36px;
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "Q";
  position: absolute;
  left: 0; top: -2px;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--green-deep);
  line-height: 1.4;
}
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px; top: 0;
  font-family: var(--font-en-sans);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink-mute);
  line-height: 1;
  transition: color 0.2s;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--green-deep); }
.faq-list summary:hover::after { color: var(--green-deep); }
.faq-list details > p {
  margin-top: var(--s-4);
  padding-left: 36px;
  position: relative;
  color: var(--ink-soft);
  line-height: 2;
}
.faq-list details > p::before {
  content: "A";
  position: absolute;
  left: 0; top: -4px;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ---------- Post Navigation (single.php 末尾) ---------- */
.post-nav {
  max-width: 760px;
  margin: var(--s-8) auto 0;
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-5);
  align-items: center;
}
.post-nav-prev a,
.post-nav-next a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: color 0.2s;
}
.post-nav-prev a:hover,
.post-nav-next a:hover { color: var(--green-deep); }
.post-nav-next { text-align: right; }
.post-nav-label {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}
.post-nav-title {
  font-family: var(--font-jp-mincho);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-nav-back { justify-self: center; }

/* ============================================================
   ARCHIVE — お知らせ一覧 (archive.php / 検索結果 / カテゴリ別)
   Phase 3 v10  2026-04-26
   ------------------------------------------------------------
   - 全体白ベース・余白広め・装飾少なめ (KAMINISHI参照)
   - ヒーロー: タイトル + 下線のみ
   - タブ: テキスト型 (Category ▶ すべて お知らせ 報告)
   - リスト: 横長1列・上下ライン・カテゴリは枠付きピル
   - ページネーション: 下線スタイル
   ============================================================ */

.archive-main {
  background: var(--bg-pure);
}

/* ---- Archive Hero (シンプル) ---- */
/* v33.4 (2026-05-02): padding-block の上だけを clamp(80,9vw,120) → clamp(20,2.5vw,32) に
   圧縮(パンくず位置を IMPORTANT 帯直下に統一)。下 padding は記事リスト前提で広めの
   clamp(48,5vw,72) を維持。 */
.archive-hero {
  padding-block: clamp(20px, 2.5vw, 32px) clamp(48px, 5vw, 72px);
  background: var(--bg-pure);
  text-align: center;
}
.archive-hero-title {
  font-family: var(--font-jp-mincho);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.4;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.archive-hero-divider {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--ink);
  margin: var(--s-5) auto 0;
}

/* ---- Controls (タブ + 検索) ---- */
.archive-controls {
  padding-block: 0 clamp(28px, 3vw, 40px);
  background: var(--bg-pure);
}
.archive-controls-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

/* テキスト型タブ */
.archive-tabs {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-jp-gothic);
}
.archive-tabs-label {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-right: var(--s-2);
}
.archive-tabs-arrow {
  color: var(--ink-mute);
  font-size: 11px;
  margin-right: var(--s-2);
}
.archive-tab {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s;
  cursor: pointer;
}
.archive-tab:hover { color: var(--ink); }
.archive-tab.is-active {
  color: var(--ink);
  font-weight: 500;
}
.archive-tab.is-active::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 0;
  height: 1px;
  background: var(--ink);
}

/* 検索ボックス (軽量・下線のみ) */
.archive-search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
}
.archive-search input[type="search"] {
  font-family: var(--font-jp-gothic);
  font-size: 13px;
  padding: 6px 8px;
  border: none;
  outline: none;
  background: transparent;
  width: 200px;
  color: var(--ink);
  letter-spacing: 0.04em;
}
.archive-search input::placeholder {
  color: var(--ink-mute);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.archive-search button {
  padding: 6px 8px;
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
  transition: color 0.2s;
}
.archive-search button:hover { color: var(--green-deep); }

/* 結果サマリー (検索/フィルタ時のみ表示) */
.archive-summary {
  margin-top: var(--s-5);
  padding-bottom: var(--s-3);
  font-family: var(--font-jp-gothic);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.archive-summary strong { color: var(--ink); font-weight: 600; }
.archive-summary .clear {
  display: inline-block;
  margin-left: var(--s-3);
  padding: 3px 10px;
  font-size: 11px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.archive-summary .clear:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ---- List (横長1列) ---- */
.archive-list {
  padding-block: 0 clamp(64px, 7vw, 96px);
}
.archive-list-inner {
  border-top: 1px solid var(--rule);
}
.archive-row {
  display: grid;
  grid-template-columns: 120px 90px 1fr;
  gap: var(--s-5);
  align-items: baseline;
  padding: var(--s-6) var(--s-2);
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
  cursor: pointer;
}
.archive-row:hover { background: var(--bg); }

.archive-date {
  font-family: var(--font-en-sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  font-weight: 400;
}

/* カテゴリラベル (枠線+色付きピル型 = 既存 .news-cat と同じ系統) */
.archive-cat {
  justify-self: start;
  font-family: var(--font-jp-gothic);
  font-size: 10px;
  letter-spacing: 0.16em;
  padding: 4px 12px;
  border: 1px solid var(--ink-mute);
  color: var(--ink-mute);
  white-space: nowrap;
}
.archive-cat.cat-oshirase { color: var(--green-deep); border-color: var(--green-deep); }
.archive-cat.cat-houkoku  { color: #8B6B3D;          border-color: #8B6B3D; }
.archive-cat.cat-juyou    { color: #C0392B;          border-color: #C0392B; background: #FCEFEE; }

.archive-title {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.archive-row:hover .archive-title { color: var(--green-deep); }

/* 検索ハイライト */
.archive-title mark {
  background: rgba(248, 215, 117, 0.55);
  color: inherit;
  padding: 0 2px;
}

/* 0件メッセージ */
.archive-empty {
  padding: var(--s-9) var(--s-5);
  text-align: center;
  color: var(--ink-mute);
  font-family: var(--font-jp-mincho);
  font-size: 16px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ---- ページネーション (paginate_links 出力対応) ---- */
.archive-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-8);
  flex-wrap: wrap;
}
.archive-pagination .page-numbers {
  font-family: var(--font-en-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--ink-mute);
  transition: color 0.2s, border-color 0.2s;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}
.archive-pagination a.page-numbers:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.archive-pagination .page-numbers.current {
  color: var(--ink);
  font-weight: 500;
  border-bottom-color: var(--ink);
}
.archive-pagination .page-numbers.dots { border: none; }
.archive-pagination .page-numbers.prev,
.archive-pagination .page-numbers.next {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  padding-inline: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
/* ─── FOOTER: ライト版（nopporo-footer-light）　取込日 ───
   野幌はロゴが 2 色ブルーグラデ(#3071b7→#0c3966)。暗地 #1A1A1A だと
   濃い側が溶けて消えるため、フッター地を明るく(--green-soft #E6EDF7)に反転。
   背景を明るくしたので、フッター内の白文字系(テキスト/見出し/枠/SNS/CTA)を
   すべてダーク系に組替えた(背景だけ変えると白文字が消えるため)。
   地の色味を変えるなら下の background を差し替え(暖色寄りは --bg-alt 等)。 */
.site-footer {
  background: var(--green-soft);
  color: var(--ink-soft);
  padding-block: var(--s-9) var(--s-5);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid rgba(48, 113, 183, 0.18);
}
/* フッターのブランドエリア：フルロゴSVG（白文字）を1枚で表示 */
.footer-logo-link {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.2s;
}
.footer-logo-link:hover { opacity: 0.85; }
.footer-brand-logo {
  height: 64px;
  width: auto;
  max-width: 320px;
  display: block;
  object-fit: contain;
}
.footer-brand p {
  margin-top: var(--s-5);
  font-size: 13px;
  line-height: 1.85;
}
.footer-brand .num { font-family: var(--font-en-sans); }

/* モバイル時は少し縮小 */
@media (max-width: 860px) {
  .footer-brand-logo { height: 52px; max-width: 280px; }
}

.footer-col h4 {
  font-family: var(--font-en-sans);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--green-deep);
  text-transform: uppercase;
  margin-bottom: var(--s-5);
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-family: var(--font-jp-mincho);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }

.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: var(--s-5);
  font-size: 11px;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: var(--s-3);
}
.footer-bot .copyright {
  font-family: var(--font-en-sans);
  letter-spacing: 0.12em;
}
.footer-bot .reuse {
  font-family: var(--font-jp-mincho);
  font-size: 12px;
}

/* ============================================
   FACILITY ARCHIVE — Large alternating panels (v12)
   ============================================ */
.facility-archive {
  background: var(--bg-pure);
  padding-block: clamp(64px, 8vw, 120px) clamp(80px, 10vw, 140px);
}

.facility-panel {
  margin-bottom: clamp(96px, 12vw, 160px);
  position: relative;
}
.facility-panel:last-child { margin-bottom: 0; }

.facility-panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  min-height: 540px;
}

.facility-panel-photo {
  aspect-ratio: 4 / 3;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  position: relative;
  z-index: 1;
}
.facility-panel-photo .photo-num {
  position: absolute;
  top: var(--s-4);
  left: var(--s-5);
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.18em;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 14px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.facility-panel-card {
  background: var(--ink);
  color: #fff;
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 52px);
  z-index: 2;
  position: relative;
  align-self: center;
  margin-left: -120px;
}
/* 偶数番目 (02 / 04) は写真右・カード左の鏡像配置 */
.facility-panel.right .facility-panel-photo { order: 2; }
.facility-panel.right .facility-panel-card {
  order: 1;
  margin-left: 0;
  margin-right: -120px;
}

.facility-panel-title-frame {
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: var(--s-4) var(--s-5) 14px;
  margin-bottom: var(--s-6);
}
.facility-panel-title-en {
  display: block;
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
  line-height: 1.3;
}
.facility-panel-title-jp {
  display: block;
  font-family: var(--font-jp-mincho);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.facility-panel-subitems {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px var(--s-5);
  margin-bottom: var(--s-6);
  font-size: 13px;
  color: #fff;
  letter-spacing: 0.04em;
  list-style: none;
  padding: 0;
}
.facility-panel-subitems li { line-height: 1.6; }

.facility-panel-desc {
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 var(--s-6);
  letter-spacing: 0.03em;
}

.facility-panel-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  color: var(--ink);
  padding: 14px 24px 14px 32px;
  border-radius: 999px;
  font-family: var(--font-en-sans);
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 400;
  min-width: 200px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.facility-panel-cta:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}
.facility-panel-cta-arrow {
  width: 26px;
  height: 26px;
  background: var(--ink);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.25s ease;
}
.facility-panel-cta:hover .facility-panel-cta-arrow {
  transform: translateX(3px);
}

.facility-empty {
  text-align: center;
  padding: var(--s-9) 0;
  color: var(--ink-mute);
  font-size: 14px;
}

/* ============================================
   FACILITY SINGLE — 浅い概要紹介 (フォールバック表示)
   external_url 設定時は wp_redirect でこのテンプレに到達しない
   ============================================ */
.facility-single-main { background: var(--bg-pure); }

.facility-single-hero {
  position: relative;
  height: 64vh;
  min-height: 460px;
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
}
.facility-single-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}
.facility-single-hero .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}
.facility-single-hero-meta {
  color: #fff;
  padding-bottom: clamp(32px, 5vw, 56px);
  max-width: 720px;
}
.facility-single-num {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: var(--s-3);
  opacity: 0.9;
}
.facility-single-name-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: 0.15em;
  margin-bottom: var(--s-2);
  opacity: 0.95;
  line-height: 1.4;
}
.facility-single-name-jp {
  font-family: var(--font-jp-mincho);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  margin: 0;
}

.facility-single-body {
  background: var(--bg-pure);
  padding-block: clamp(64px, 8vw, 100px);
}
.facility-single-body .container {
  max-width: 720px;
}

.facility-single-catch {
  font-family: var(--font-jp-mincho);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.9;
  text-align: center;
  color: var(--ink);
  letter-spacing: 0.06em;
  font-weight: 500;
  margin: 0 0 var(--s-7);
}

.facility-single-prose {
  font-size: 15px;
  line-height: 2.1;
  color: var(--ink);
  letter-spacing: 0.03em;
  margin-bottom: var(--s-9);
}
.facility-single-prose p { margin-bottom: 1.5em; }
.facility-single-prose p:last-child { margin-bottom: 0; }

.facility-single-back-wrap { text-align: center; }
.facility-single-back {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en-sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.facility-single-back:hover {
  gap: 22px;
  color: var(--green-deep);
  border-color: var(--green-deep);
}
.facility-single-back-arrow {
  font-size: 14px;
  transition: transform 0.25s ease;
}
.facility-single-back:hover .facility-single-back-arrow {
  transform: translateX(-3px);
}

/* ============================================
   NETWORK DIAGRAM (防災ページ用 / カミニシ風)
   rich-content 内に <aside class="network-diagram"> として記述
   2施設(真駒内・野幌)を中央の細い縦線で対比、タイポ主導のクリーン構成
   ============================================ */
.network-diagram {
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  margin: var(--s-6) 0;
}
.network-head {
  text-align: center;
  margin-bottom: var(--s-6);
}
.network-eyebrow {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
/* network-title は h3 だが rich-content h3 のデフォルト装飾(緑の縦線・左パディング)を打ち消す */
.network-diagram .network-title,
.rich-content .network-diagram h3.network-title {
  font-family: var(--font-jp-mincho);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin: var(--s-3) 0 var(--s-3);
  line-height: 1.5;
  padding-left: 0;
  border-left: 0;
}
.network-divider {
  display: block;
  width: 56px;
  height: 1px;
  background: var(--green);
  margin: 0 auto;
}
.network-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-6);
  align-items: start;
  position: relative;
}
.network-grid::before {
  /* 中央の細い縦線(2施設の関係性を示唆) */
  content: "";
  position: absolute;
  left: 50%;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: var(--rule-soft);
}
.network-node {
  text-align: center;
  padding: 0 var(--s-3);
}
.network-node-region {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--green-deep);
  margin-bottom: var(--s-3);
  text-transform: uppercase;
}
.network-node-name {
  font-family: var(--font-jp-mincho);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin-bottom: var(--s-2);
  line-height: 1.5;
}
.network-node-meta {
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.05em;
  margin-bottom: var(--s-3);
  font-family: var(--font-en-sans);
}
.network-node-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 2.0;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.network-node-list li {
  padding: 0;
  position: relative;
}
/* rich-content 内の li マーカー(緑●)を打ち消す */
.network-node-list li::marker { content: none; }

/* ============================================
   IMAGE ROW (rich-content 内の2枚並び画像)
   防災ページの「火災予防訓練」「共同実働訓練」用、その他汎用
   ============================================ */
.image-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5);
  margin: var(--s-7) 0;
}
.image-row figure {
  margin: 0;
}
.image-row figure img {
  width: 100%;
  height: auto;
  display: block;
}
.image-row figcaption {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: var(--s-3);
  letter-spacing: 0.04em;
  text-align: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .principles-grid { grid-template-columns: repeat(4, 1fr); }
  .principle { border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-card:nth-child(3n) { border-right: 1px solid var(--rule); }
  .news-card:nth-child(2n) { border-right: none; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .global-nav, .header-utils { display: none; }
  .menu-toggle { display: flex; }
  /* v48: スマホSNS。トップバー右(ハンバーガー左)に常設。
     margin-left:auto で右寄せ → ハンバーガーと隣接。.header-sns の意匠を流用 */
  .header-sns-mobile {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
    margin-right: 6px;
  }

  .hero { height: auto; min-height: 480px; max-height: 640px; }
  .hero-content { bottom: var(--s-7); }
  .hero h1 { letter-spacing: 0.08em; }
  .hero-name { display: none; }

  .news-strip-inner { grid-template-columns: 1fr; gap: var(--s-2); }
  .news-strip-list a { font-size: 13px; gap: 10px; }

  .news-recent-inner { grid-template-columns: 1fr; gap: var(--s-3); }
  .news-recent-more { justify-self: start; }

  .about-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; /* v29: 2列化時のgap明示 */ }

  .facility-grid { grid-template-columns: 1fr; gap: var(--s-7); }

  .news-head { grid-template-columns: 1fr; gap: var(--s-4); align-items: start; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { border-right: none !important; }

  .principles-head { grid-template-columns: 1fr; gap: var(--s-5); }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }

  .bousai-grid { grid-template-columns: 1fr; gap: var(--s-7); }

  .info-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .info-row { grid-template-columns: auto 1fr auto; }
  .info-row .info-size { display: none; }

  /* PAGE HEAD (情報公開ページ等) */
  .page-head-inner { grid-template-columns: 1fr; gap: var(--s-7); }

  /* INFO ARCHIVE レスポンシブ : 年度をタイトル下meta扱いに */
  .info-archive .info-row {
    grid-template-columns: auto 1fr auto;
    gap: var(--s-4);
    row-gap: 4px;
  }
  .info-archive .info-nendo {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    text-align: left;
    font-size: 12px;
    color: var(--ink-mute);
  }
  .info-archive .info-nendo.is-empty { display: none; }
  .info-archive .info-arr { grid-row: 1 / 3; align-self: center; }
  .info-cat-head { grid-template-columns: 40px 1fr; gap: var(--s-3); }
  .info-cat-num { font-size: 20px; }
  .info-cat-title .meta-en {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .partner-grid { grid-template-columns: repeat(2, 1fr); }

  .access-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .access-map { min-height: 320px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: var(--s-5); }
  .footer-bot { flex-direction: column; align-items: start; }

  /* ---- PHASE 3 ---- */
  :root { --notch: 16px; }

  .post-nav {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    text-align: left;
  }
  .post-nav-next { text-align: left; }
  .post-nav-back { justify-self: start; order: 3; }

  .rich-content table { font-size: 13px; }
  .rich-content th,
  .rich-content td { padding: 10px 12px; }

  .numbered-cards { grid-template-columns: 1fr 1fr; }
  .facility-row { grid-template-columns: 1fr 1fr; }
  .tag-row { grid-template-columns: 1fr; gap: var(--s-2); }
  .feature-box { padding: var(--s-6) var(--s-5); }

  /* ---- ARCHIVE (Phase 3 v10) ---- */
  .archive-controls-inner {
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
  }
  .archive-tabs { flex-wrap: wrap; justify-content: center; }
  .archive-search { width: 100%; }
  .archive-search input[type="search"] { width: 100%; }
  .archive-row {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "date cat"
      "title title";
    gap: var(--s-2) var(--s-4);
    padding: var(--s-5) var(--s-2);
  }
  .archive-date { grid-area: date; }
  .archive-cat  { grid-area: cat; justify-self: start; }
  .archive-title { grid-area: title; }

  /* ---- FACILITY ARCHIVE / SINGLE (Phase 3 v12) ---- */
  .facility-archive { padding-block: clamp(48px, 6vw, 80px) clamp(64px, 8vw, 100px); }
  .facility-panel { margin-bottom: clamp(64px, 9vw, 100px); }
  .facility-panel-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .facility-panel-photo { aspect-ratio: 16 / 10; }
  .facility-panel-card,
  .facility-panel.right .facility-panel-card {
    margin: -56px var(--s-5) 0;
    padding: var(--s-6) var(--s-5);
    align-self: stretch;
    order: unset;
  }
  .facility-panel.right .facility-panel-photo { order: unset; }
  .facility-panel-title-jp { font-size: 18px; }

  .facility-single-hero { height: 52vh; min-height: 360px; }
  .facility-single-hero-meta { padding-bottom: var(--s-6); }

  /* ---- NETWORK DIAGRAM / IMAGE ROW (Phase 3 v13) ---- */
  .network-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .network-grid::before {
    left: var(--s-5);
    right: var(--s-5);
    top: 50%;
    bottom: auto;
    width: auto;
    height: 1px;
  }
  .network-node {
    padding: var(--s-3) 0;
  }
  .image-row {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
}

@media (max-width: 480px) {
  .principles-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }

  /* ---- PHASE 3 ---- */
  .numbered-cards { grid-template-columns: 1fr; }
  .facility-row { grid-template-columns: 1fr; }

  /* ---- FACILITY ARCHIVE (Phase 3 v12) ---- */
  .facility-panel-subitems { grid-template-columns: 1fr; }
  .facility-panel-card,
  .facility-panel.right .facility-panel-card {
    margin: -40px var(--s-4) 0;
    padding: var(--s-5) var(--s-4);
  }
  .facility-panel-title-frame { padding: 14px var(--s-4) 12px; }
  .facility-panel-cta { min-width: 0; padding: 12px 18px 12px 24px; gap: 14px; }
}

/* ============================================
   ENTRANCE
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.9s ease 0.4s both; }
.hero h1 { animation: fadeUp 0.9s ease 0.55s both; }
.hero-en { animation: fadeUp 0.9s ease 0.7s both; }

/* ============================================
   SEARCH MODAL (Phase 3 v14)
   ヘッダー右の🔍アイコンクリックで開くサイト内検索モーダル
   ============================================ */
.search-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: none;
  pointer-events: none;
}
.search-modal.open {
  display: block;
  pointer-events: auto;
}
.search-modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 26, 26, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: searchFadeIn 0.25s ease both;
}
.search-modal-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(560px, calc(100% - 32px));
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  padding: var(--s-7) var(--s-6) var(--s-6);
  animation: searchSlideUp 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.search-modal-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: transparent;
  border: none;
  color: var(--ink-mute);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}
.search-modal-close:hover { color: var(--ink); }
.search-modal-eyebrow {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: var(--s-2);
}
.search-modal-title {
  font-family: var(--font-jp-mincho);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 var(--s-5);
  letter-spacing: 0.04em;
}
.search-modal-form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--rule);
  background: var(--bg);
  transition: border-color 0.2s ease;
}
.search-modal-form:focus-within {
  border-color: var(--green);
}
.search-modal-form input[type="search"] {
  flex: 1;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-jp-gothic);
  color: var(--ink);
  background: transparent;
  border: none;
  outline: none;
}
.search-modal-form input::placeholder {
  color: var(--ink-mute);
}
.search-modal-submit {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  background: var(--green);
  color: #fff;
  border: none;
  font-family: var(--font-en-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s ease;
}
.search-modal-submit:hover {
  background: var(--green-deep);
}
.search-modal-hint {
  margin: var(--s-4) 0 0;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

@keyframes searchFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes searchSlideUp {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 12px)); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* スクリーンリーダー専用 */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

/* モバイル時の検索フォーム (mobile-nav 内) */
.mobile-search {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.mobile-search .search-form {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--rule);
  background: var(--bg-pure);
}
.mobile-search input[type="search"] {
  flex: 1;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-jp-gothic);
  color: var(--ink);
  background: transparent;
  border: none;
  outline: none;
}
.mobile-search button {
  width: 44px;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-search button:hover { background: var(--green-deep); }

@media (max-width: 768px) {
  .search-modal-inner {
    padding: var(--s-6) var(--s-5) var(--s-5);
  }
  .search-modal-title { font-size: 18px; }
  .search-modal-submit span { display: none; }
  .search-modal-submit { padding: 0 14px; }
}

/* ============================================
   SEARCH RESULTS PAGE (Phase 3 v14)
   /?s=キーワード での検索結果ページ
   ============================================ */
.search-page {
  padding: var(--s-8) 0;
  min-height: 60vh;
}
.search-page-head {
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
}
.search-page-head .eyebrow {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: var(--s-3);
}
.search-page-title {
  font-family: var(--font-jp-mincho);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 var(--s-3);
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.search-page-count {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 0 0 var(--s-5);
  letter-spacing: 0.04em;
}
.search-page-form {
  display: flex;
  align-items: stretch;
  max-width: 480px;
  border: 1px solid var(--rule);
  background: var(--bg-pure);
  transition: border-color 0.2s ease;
}
.search-page-form:focus-within {
  border-color: var(--green);
}
.search-page-form input[type="search"] {
  flex: 1;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--font-jp-gothic);
  color: var(--ink);
  background: transparent;
  border: none;
  outline: none;
}
.search-page-form button {
  width: 44px;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.search-page-form button:hover { background: var(--green-deep); }

.search-results {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.search-result-item {
  border-bottom: 1px solid var(--rule-soft);
}
.search-result-item:first-child {
  border-top: 1px solid var(--rule-soft);
}
.search-result-item a {
  display: block;
  padding: var(--s-5) var(--s-4);
  text-decoration: none;
  color: var(--ink);
  position: relative;
  transition: background 0.18s ease, padding-left 0.18s ease;
}
.search-result-item a:hover {
  background: var(--bg-alt);
  padding-left: var(--s-5);
}
.search-result-meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-2);
  font-size: 11px;
  letter-spacing: 0.06em;
}
.search-result-type {
  display: inline-block;
  padding: 3px 10px;
  font-family: var(--font-en-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  border-radius: 2px;
}
.search-result-type.type-news     { color: var(--green); }
.search-result-type.type-page     { color: var(--ink-soft); }
.search-result-type.type-facility { color: #b8732e; }
.search-result-type.type-info     { color: #2d5a8c; }
.search-result-type.type-default  { color: var(--ink-mute); }
.search-result-date {
  font-family: var(--font-en-sans);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.search-result-title {
  font-family: var(--font-jp-mincho);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 var(--s-2);
  letter-spacing: 0.03em;
  line-height: 1.5;
}
.search-result-excerpt {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 0;
  letter-spacing: 0.02em;
}
.search-result-arr {
  position: absolute;
  top: 50%;
  right: var(--s-4);
  transform: translateY(-50%);
  font-family: var(--font-en-sans);
  font-size: 18px;
  color: var(--ink-mute);
  opacity: 0;
  transition: opacity 0.18s ease, right 0.18s ease;
}
.search-result-item a:hover .search-result-arr {
  opacity: 1;
  right: var(--s-3);
}

/* 検索結果ページ ページネーション */
.search-pagination {
  margin-top: var(--s-7);
  display: flex;
  justify-content: center;
  gap: var(--s-2);
}
.search-pagination .page-item a,
.search-pagination .page-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  font-family: var(--font-en-sans);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--rule);
  background: var(--bg-pure);
  transition: all 0.18s ease;
}
.search-pagination .page-item a:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.search-pagination .page-item .current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.search-pagination .page-item .dots {
  border: none;
  background: transparent;
}

/* 検索結果なしの表示 */
.search-no-results {
  padding: var(--s-7) 0;
  text-align: center;
}
.search-no-results-msg {
  font-family: var(--font-jp-mincho);
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 var(--s-5);
  letter-spacing: 0.03em;
  line-height: 1.6;
}
.search-no-results-tips {
  list-style: none;
  margin: 0 0 var(--s-6);
  padding: var(--s-5);
  background: var(--bg-alt);
  border: 1px solid var(--rule-soft);
  display: inline-block;
  text-align: left;
}
.search-no-results-tips li {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
  padding-left: 18px;
  position: relative;
}
.search-no-results-tips li::before {
  content: "·";
  position: absolute;
  left: 6px;
  color: var(--green);
  font-weight: bold;
}
.search-no-results-back {
  margin-top: var(--s-5);
}
.search-no-results-back .btn {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  font-family: var(--font-jp-gothic);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--rule);
  background: var(--bg-pure);
  letter-spacing: 0.06em;
  transition: all 0.2s ease;
}
.search-no-results-back .btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

@media (max-width: 768px) {
  .search-page { padding: var(--s-6) 0; }
  .search-page-title { font-size: 22px; }
  .search-result-item a { padding: var(--s-4) var(--s-3); }
  .search-result-item a:hover { padding-left: var(--s-4); }
  .search-result-title { font-size: 16px; }
  .search-result-excerpt { font-size: 12px; }
}

/* ============================================
   SCROLL EFFECTS — Phase 3 v15
   フェードイン + パララックス + ヘッダー縮小
   ============================================ */

/* --- フェードイン --- */
/* JS で .fade-in を付与、ビューポート入りで .fade-in-visible を追加 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* h2 は若干強めに上から降りる */
.h2.fade-in {
  transform: translateY(28px);
}
.h2.fade-in-visible {
  transform: translateY(0);
}

/* facility-card / partner-cell は控えめ (グリッドで連動するため) */
.facility-card.fade-in,
.partner-cell.fade-in {
  transform: translateY(16px);
}

/* --- パララックス --- */
/* 親に overflow:hidden が必須 (ヒーロー・bousai-img はもともと持っている想定) */
.parallax-img {
  will-change: transform;
  transition: transform 0.05s linear; /* スクロール時の細かいガタつきを抑える */
}

/* --- ヘッダー縮小 (.scrolled 状態) --- */
/* JS側で window.scrollY > 60 のとき header に .scrolled が付く */
.site-header {
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
}
.site-header .header-inner {
  transition:
    padding 0.3s ease,
    height 0.3s ease;
}
.site-header .brand-logo {
  transition: transform 0.3s ease;
  transform-origin: left center;
}

.site-header.scrolled {
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--rule-soft), 0 8px 24px rgba(0, 0, 0, 0.04);
}
.site-header.scrolled .header-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}
.site-header.scrolled .brand-logo {
  transform: scale(0.86);
}

/* --- prefers-reduced-motion : 全機能を無効化 --- */
/* OS設定で「視差効果を減らす」にしている人を保護 */
@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .fade-in-visible,
  .h2.fade-in,
  .h2.fade-in-visible,
  .facility-card.fade-in,
  .partner-cell.fade-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .parallax-img {
    transform: none !important;
    transition: none !important;
  }
  .site-header,
  .site-header .header-inner,
  .site-header .brand-logo {
    transition: none !important;
  }
  .site-header.scrolled .brand-logo {
    transform: none !important;
  }
}

/* ============================================
   FAQ PAGE — Phase 3 v16 / v20 余白調整
   よくあるご質問ページ専用スタイル
   v20 (2026-04-27): セクション間の余白を全体的に詰める
     - faq-page padding 上下: 64/48 → 48/48
     - faq-page-head margin-bottom: 48 → 32 / padding-bottom: 32 → 24
     - faq-page-title-en margin-bottom: 24 → 16
     - faq-toc margin-bottom: 48 → 24 / padding 上下: 24 → 16 / label margin: 12 → 8
     - faq-section margin-bottom: 64 → 32
     - faq-section-head margin-bottom: 24 → 16
   ============================================ */

.faq-page {
  padding: var(--s-7) 0 var(--s-7);
}

/* --- ページヘッダー --- */
.faq-page-head {
  text-align: center;
  margin-bottom: var(--s-6);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--rule);
}
.faq-page-head .eyebrow {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: var(--s-3);
}
.faq-page-title {
  font-family: var(--font-jp-mincho);
  font-size: 32px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 var(--s-2);
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.faq-page-title-en {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
  letter-spacing: 0.02em;
}
.faq-page-lead {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.9;
  letter-spacing: 0.02em;
  max-width: 640px;
  margin: 0 auto;
}
.faq-page-lead a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.faq-page-lead a:hover { color: var(--green-deep); }

/* --- カテゴリ目次 --- */
.faq-toc {
  margin: 0 auto var(--s-5);
  max-width: 720px;
  padding: var(--s-4) var(--s-5);
  background: var(--bg-alt);
  border: 1px solid var(--rule-soft);
}
.faq-toc-label {
  display: block;
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-2);
  text-align: center;
}
.faq-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  justify-content: center;
}
.faq-toc-list li { margin: 0; }
.faq-toc-list a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 16px;
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  font-family: var(--font-jp-gothic);
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.18s ease;
}
.faq-toc-list a:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.faq-toc-name { line-height: 1.2; }
.faq-toc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-family: var(--font-en-sans);
  font-size: 11px;
  font-weight: 500;
  transition: all 0.18s ease;
}
.faq-toc-list a:hover .faq-toc-count {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* --- FAQ セクション (カテゴリ別) --- */
.faq-list-wrap {
  max-width: 800px;
  margin: 0 auto;
}
.faq-section {
  margin-bottom: var(--s-5);
  scroll-margin-top: 100px; /* アンカーリンク時のヘッダー分オフセット */
}
.faq-section:last-child { margin-bottom: 0; }

.faq-section-head {
  margin-bottom: var(--s-3);
  padding-bottom: var(--s-2);
  border-bottom: 2px solid var(--ink);
}
.faq-section-eyebrow {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  display: block;
  margin-bottom: var(--s-2);
}
.faq-section-title {
  font-family: var(--font-jp-mincho);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.05em;
}

/* --- FAQ アイテム (Q&A) --- */
.faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.faq-item {
  border-bottom: 1px solid var(--rule-soft);
  padding: var(--s-4) 0;
}
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }

/* 質問部分 */
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  margin-bottom: var(--s-2);
}
.faq-q-mark {
  flex-shrink: 0;
  display: inline-block;
  font-family: var(--font-en-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--green);
  padding: 2px 0;
  min-width: 42px;
  border-bottom: 2px solid var(--green);
}
.faq-q-text {
  flex: 1;
  font-family: var(--font-jp-mincho);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1.65;
}

/* 回答部分 */
.faq-a {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding-left: 0;
}
.faq-a-mark {
  flex-shrink: 0;
  display: inline-block;
  font-family: var(--font-en-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  padding-top: 4px;
  min-width: 42px;
}
.faq-a-text {
  flex: 1;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.95;
  letter-spacing: 0.02em;
}
.faq-a-text p {
  margin: 0 0 var(--s-3);
}
.faq-a-text p:last-child { margin-bottom: 0; }
.faq-a-text a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}
.faq-a-text a:hover { color: var(--green-deep); }
.faq-a-text ul,
.faq-a-text ol {
  margin: var(--s-3) 0;
  padding-left: var(--s-5);
}
.faq-a-text li {
  margin-bottom: var(--s-2);
  line-height: 1.85;
}
.faq-a-text strong {
  color: var(--ink);
  font-weight: 500;
}

/* --- フッター CTA --- */
.faq-footer-cta {
  max-width: 720px;
  margin: var(--s-8) auto 0;
  padding: var(--s-6) var(--s-5);
  background: var(--green-soft);
  border: 1px solid var(--green-light);
  text-align: center;
}
.faq-footer-cta-title {
  font-family: var(--font-jp-mincho);
  font-size: 18px;
  font-weight: 500;
  color: var(--green-deep);
  margin: 0 0 var(--s-3);
  letter-spacing: 0.04em;
}
.faq-footer-cta-text {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0;
  letter-spacing: 0.02em;
}
.faq-footer-cta-text a {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.faq-footer-cta-text a:hover { color: var(--green); }

/* --- 空状態 (ACF未登録) --- */
.faq-empty {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--s-7) var(--s-5);
  text-align: center;
  background: var(--bg-alt);
  border: 1px solid var(--rule-soft);
}
.faq-empty p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 0 0 var(--s-3);
}
.faq-empty p:last-child { margin-bottom: 0; }
.faq-empty a {
  color: var(--green);
  text-decoration: underline;
}

/* --- モバイル調整 --- */
@media (max-width: 768px) {
  .faq-page { padding: var(--s-6) 0; }
  .faq-page-title { font-size: 24px; }
  .faq-page-title-en { font-size: 12px; }
  .faq-page-lead { font-size: 13px; }

  .faq-toc { padding: var(--s-4) var(--s-3); }
  .faq-toc-list a { padding: 6px 12px; font-size: 12px; }
  .faq-toc-count { min-width: 20px; height: 20px; font-size: 10px; }

  .faq-section-title { font-size: 18px; }
  .faq-q { gap: var(--s-3); }
  .faq-a { gap: var(--s-3); }
  .faq-q-mark, .faq-a-mark { min-width: 36px; font-size: 11px; }
  .faq-q-text { font-size: 15px; }
  .faq-a-text { font-size: 13px; line-height: 1.85; }

  .faq-footer-cta { padding: var(--s-5) var(--s-4); }
  .faq-footer-cta-title { font-size: 16px; }
  .faq-footer-cta-text { font-size: 12px; }
}

/* ============================================
   v17 追加: 検索結果の FAQ タイプラベル
   ============================================ */
.search-result-type.type-faq { color: #8a4ea8; }


/* ============================================
   v24 追加: フローティングクイックナビ (FAQ / ACCESS)

   グローバルナビをスリム化し、FAQ・アクセスへの常時動線として
   右下フローティングを設置。kaminishi風の右下ノッチ意匠を継承。
   - 角丸なし、右下ノッチ(--notch-fqn:14px、モバイル12px)
   - 緑塗り+白字、ホバーで --green-deep に変化
   - 枠線は外側=緑塗り / 内側=同色 1pxインセット ::before の擬似表現
     (clip-path は素の border を綺麗に切れないため)
   - フッター手前で自動フェードアウト(JS連動、.fqn.hide-near-footer)
   - prefers-reduced-motion 対応
   - 派生サイトでは :root の --green / --green-deep 上書きで色追従
   ============================================ */

:root { --notch-fqn: 14px; }

.fqn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 40;
  transition: opacity 0.3s ease;
}
.fqn.hide-near-footer {
  opacity: 0;
  pointer-events: none;
}

.fqn-btn {
  position: relative;
  width: 64px;
  height: 64px;
  background: var(--green);
  border-radius: 0;
  text-decoration: none;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--notch-fqn)),
    calc(100% - var(--notch-fqn)) 100%,
    0 100%
  );
  transition: transform 0.25s ease;
}
.fqn-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--green);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - calc(var(--notch-fqn) - 1px)),
    calc(100% - calc(var(--notch-fqn) - 1px)) 100%,
    0 100%
  );
  transition: background 0.25s ease;
  z-index: 0;
}
.fqn-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
  transition: color 0.25s ease;
}
.fqn-btn:hover { transform: translateX(-3px); }
.fqn-btn:hover::before { background: var(--green-deep); }
.fqn-btn:focus-visible {
  outline: 2px solid var(--green-deep);
  outline-offset: 4px;
}

.fqn-icon {
  font-family: var(--font-en-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}
.fqn-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  display: block;
}
.fqn-label {
  font-family: var(--font-en-sans);
  font-size: 9px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .fqn { right: 16px; bottom: 16px; gap: 8px; }
  .fqn-btn { width: 54px; height: 54px; }
  :root { --notch-fqn: 12px; }
  .fqn-icon { font-size: 18px; }
  .fqn-icon svg { width: 18px; height: 18px; }
  .fqn-label { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .fqn { transition: opacity 0.2s; }
  .fqn-btn,
  .fqn-btn::before,
  .fqn-inner { transition: background 0.2s, color 0.2s; }
  .fqn-btn:hover { transform: none; }
}


/* ============================================
   v27 追加: .facility-row のリンク化対応

   /access/ ページの「各施設のアクセス」セクションを
   facility-card-compact.php で動的化したのに伴い、
   <li> 内の <a class="facility-row-link"> にスタイルを当てる。
   既存の .facility-row レイアウトはそのまま流用。
   ============================================ */

.facility-row-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
.facility-row-link:hover {
  opacity: 0.85;
}
.facility-row-link:hover .facility-img {
  transform: scale(1.02);
}
.facility-row-link .facility-img {
  transition: transform 0.5s ease;
}

/* 真駒内公園のように施設名が短い場合、ACFに <br> を入れて2行化することで揃える運用。
   万一 <br> が入っていない場合の保険として min-height で最低高を確保 */
.facility-row .facility-name {
  min-height: 2.4em;
}


/* ============================================
   CTA BAND v26 — §10/§11 統合用 (2026-04-29)

   v6モック (icearena_TOP_v6_20260428.html) の §11
   "For Organizers" バナーを汎用化し、type 引数で
   "visitors" / "organizers" を切り替える設計。
   §10 (旧FACILITY GUIDE 利用案内 4枚カード) も
   同形式に統合した。

   呼び出し: template-parts/cta-band.php
       get_template_part('template-parts/cta-band', null, ['type' => 'visitors']);
       get_template_part('template-parts/cta-band', null, ['type' => 'organizers']);

   v6 の .cta-banner-* 系一式をここで初めて移植。
   加えて、v6で未定義のまま放置されていた
   .cta-banner-mark の基本スタイル、および
   バンド連続時のセパレータを v26 で追加。
   ============================================ */

/* --- v6移植: 外側ラッパ --- */
.cta-banner { background: var(--ink); padding: 0; }

/* --- v6移植: v3 内側グリッド (80px マーク + 1fr 本文) --- */
.cta-banner-inner-v3 {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-block: clamp(40px, 5vw, 60px) 0;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
}

/* --- v26追加: v6で未定義だった .cta-banner-mark の基本スタイル ---
   80px 左カラムに収まる装飾ラベル(For / Visitors 等)
   セリフ斜体で控えめに置く副題スタンプ */
.cta-banner-mark {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 6px;
}

/* --- v6移植: 本文ブロック --- */
.cta-banner-text-v3 {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-banner-en-v3 {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: 0.04em;
  color: var(--green-light);
}
.cta-banner-title-v3 {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.06em;
  line-height: 1.45;
}
.cta-banner-desc-v3 {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
  max-width: 720px;
}

/* --- v6移植: 4入口リンクグリッド --- */
.cta-banner-links {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  margin-top: clamp(32px, 3.5vw, 48px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cta-banner-link {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}
.cta-banner-link:last-child { border-right: none; }
.cta-banner-link:hover { background: rgba(255, 255, 255, 0.05); }
.cta-banner-link-num {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--green-light);
  letter-spacing: 0.04em;
}
.cta-banner-link-jp {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 15px;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.cta-banner-link-sub {
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-top: 4px;
}
.cta-banner-link-arr {
  font-family: var(--font-en-serif);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
  transition: color 0.2s, transform 0.3s;
}
.cta-banner-link:hover .cta-banner-link-arr {
  color: var(--green-light);
  transform: translateX(6px);
}
.cta-banner-foot {
  padding: 0 var(--gutter) clamp(28px, 3vw, 40px);
  max-width: var(--max-w);
  margin-inline: auto;
}

/* --- v26追加: バンドが連続するときの視覚的セパレータ ---
   For Visitors と For Organizers が縦に並ぶケースで、
   同じ ink 背景でべったり繋がるのを防ぐ */
.cta-banner + .cta-banner {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* --- v6移植: タブレット (960px以下) --- */
@media (max-width: 960px) {
  .cta-banner-inner-v3 { grid-template-columns: 1fr; gap: 20px; }
  .cta-banner-links { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-link:nth-child(2) { border-right: none; }
  .cta-banner-link:nth-child(1),
  .cta-banner-link:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  /* v26追加: 1カラム化後のマーク調整 */
  .cta-banner-mark {
    font-size: 13px;
    padding-top: 0;
  }
}

/* --- v6移植: スマホ (720px以下) --- */
@media (max-width: 720px) {
  .cta-banner-links { grid-template-columns: 1fr; }
  .cta-banner-link {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }
  .cta-banner-link:last-child { border-bottom: none; }
}

/* === CTA BAND v26 追加分ここまで === */


/* ============================================
   COMFORT RULES v28 — §12 快適な利用のために (2026-04-29)

   v6モック (icearena_TOP_v6_20260428.html) の §12
   「快適な利用のために」セクションを忠実移植。
   全利用者に共通する基本マナー・ルールを常設で
   目立たせる独立セクション。さけ科学館的な
   シンプルリストの品の良いトーン。

   呼び出し: template-parts/comfort-rules.php
       get_template_part('template-parts/comfort-rules');

   担当者要望書C2「注意事項の掲載強化」対応。
   v6 の .rules-* 系一式をここで初めて移植。
   ============================================ */

/* --- v6移植: 外側ラッパ --- */
.rules {
	background: var(--bg-pure);
}

/* --- v6移植: 見出しブロック (中央寄せ) --- */
.rules-head {
	text-align: center;
	margin-bottom: clamp(40px, 5vw, 60px);
}
.rules-head .eyebrow { justify-content: center; }
.rules-head .h2 { margin-top: 12px; }
.rules-head-lead {
	max-width: 600px;
	margin: 16px auto 0;
	font-size: 14px;
	line-height: 1.95;
	color: var(--ink-soft);
}

/* --- v6移植: ルールリスト --- */
.rules-list {
	max-width: 920px;
	margin-inline: auto;
	display: flex;
	flex-direction: column;
	gap: 0;
}
.rules-item {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 28px;
	padding: 28px 8px;
	border-bottom: 1px solid var(--rule-soft);
	align-items: start;
}
.rules-item:first-child { border-top: 1px solid var(--rule-soft); }

/* --- v6移植: アイコン (円形・薄ブルー塗り + ストロークアイコン) --- */
.rules-item-icon {
	width: 56px; height: 56px;
	display: grid;
	place-items: center;
	background: var(--green-soft);
	color: var(--green-deep);
	border-radius: 50%;
	flex-shrink: 0;
}
.rules-item-icon svg {
	width: 26px; height: 26px;
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* --- v6移植: 本文ブロック --- */
.rules-item-body {
	padding-top: 6px;
}
.rules-item-title {
	font-family: var(--font-jp-mincho);
	font-weight: 500;
	font-size: 17px;
	letter-spacing: 0.04em;
	margin-bottom: 6px;
	color: var(--ink);
}
.rules-item-desc {
	font-size: 13.5px;
	line-height: 1.85;
	color: var(--ink-soft);
}

/* --- v6移植: 補足フッタ (淡背景の小さな注釈帯) --- */
.rules-foot {
	text-align: center;
	margin-top: clamp(36px, 4vw, 56px);
	padding: 20px 24px;
	background: var(--bg-alt);
	border-radius: 2px;
	max-width: 720px;
	margin-inline: auto;
	font-size: 13px;
	color: var(--ink-soft);
	line-height: 1.85;
}

/* --- v6移植: タブレット (960px以下) ---
   アイコン+本文の2カラムは維持しつつgapを詰める */
@media (max-width: 960px) {
	.rules-item { gap: 20px; }
}

/* --- v6移植: スマホ (720px以下) ---
   アイコンを上に積んで縦1カラム化、アイコンも小型化 */
@media (max-width: 720px) {
	.rules-item {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 24px 4px;
	}
	.rules-item-icon { width: 44px; height: 44px; }
	.rules-item-icon svg { width: 22px; height: 22px; }
}

/* === COMFORT RULES v28 追加分ここまで === */

/* ============================================
   === classes-pickup 追加分（v31） ===
   FACILITY 4施設カード (協会残置) を撤去して置換した
   「教室ピックアップ」セクション専用スタイル。
   - lesson CPT 連動 (template-parts/classes-pickup.php)
   - 件数別カラム数: 1→cols-1 / 2→cols-2 / 3→cols-3 / 4→cols-4
     PHP側で .classes-pickup-grid--cols-N 修飾クラスを出力
     タブレット (≤1100px) で 3件以上は 2col に丸め
     モバイル  (≤860px)  で 全件 1col
   - .facility-* の流儀を踏襲しつつ、対象タグは英斜体ではなく
     日本語可読の角ゴ書体 (Noto Sans JP)
   ============================================ */
.classes-pickup { background: var(--bg-alt); }
.classes-pickup-head {
	text-align: center;
	margin-bottom: var(--s-8);
}
.classes-pickup-head .eyebrow { justify-content: center; }
.classes-pickup-head .h2 { margin-top: var(--s-4); }

/* デスクトップ: 件数別カラム数 */
.classes-pickup-grid {
	display: grid;
	gap: var(--s-7) var(--s-6);
}
.classes-pickup-grid--cols-1 { grid-template-columns: 1fr; }
.classes-pickup-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.classes-pickup-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.classes-pickup-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }

/* カード本体 */
.classes-pickup-card {
	display: block;
	color: inherit;
	text-decoration: none;
}
.classes-pickup-img-wrap {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ink);
	position: relative;
}
.classes-pickup-img {
	position: absolute; inset: 0;
	background-size: cover;
	background-position: center;
	transition: transform 0.8s ease;
}
.classes-pickup-img--fallback {
	background: linear-gradient(135deg, var(--green-soft), var(--green-light));
}
.classes-pickup-card:hover .classes-pickup-img { transform: scale(1.05); }
.classes-pickup-img-wrap::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.30) 100%);
}

/* 対象タグ (例「小学生〜一般」「未就学児」)
   facility-numの位置(top/left)を借りつつ、英斜体ではなく
   日本語可読の角ゴでパネル表示。写真上での視認性確保のため白背景 */
.classes-pickup-target {
	position: absolute;
	top: var(--s-4); left: var(--s-4);
	z-index: 2;
	display: inline-block;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--green-deep);
	font-family: var(--font-jp-gothic);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.08em;
	line-height: 1.4;
	white-space: nowrap;
}

.classes-pickup-body {
	padding-top: var(--s-5);
	display: flex;
	flex-direction: column;
	gap: var(--s-3);
}
.classes-pickup-title {
	font-family: var(--font-jp-mincho);
	font-weight: 500;
	/* 4カラム時の card 幅 ~270px を想定し、facility-name より一回り小さく */
	font-size: clamp(16px, 1.5vw, 20px);
	line-height: 1.5;
	letter-spacing: 0.05em;
	word-break: break-word;
	overflow-wrap: anywhere;
	/* v31.1 追加: 2行までで打ち切り (… で省略)。
	   .news-title (v30) と同じ流儀。長い教室名でもカード高さを安定させる */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.classes-pickup-lead {
	font-size: 13px;
	line-height: 1.85;
	color: var(--ink-soft);
	letter-spacing: 0.03em;
	/* 4カラム時にリードが暴れないよう3行クランプ。
	   word-break と組み合わせて高さを揃える */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.classes-pickup-link {
	margin-top: var(--s-3);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-en-sans);
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--ink);
	padding-bottom: 4px;
	border-bottom: 1px solid var(--ink);
	width: fit-content;
	transition: gap 0.3s, color 0.2s, border-color 0.2s;
}
.classes-pickup-card:hover .classes-pickup-link {
	gap: 18px;
	color: var(--green-deep);
	border-color: var(--green-deep);
}

/* フッター: 「すべての教室を見る →」 (.btn.green は既存スタイル) */
.classes-pickup-foot {
	margin-top: var(--s-7);
	text-align: center;
}

/* ----- レスポンシブ -----
   タブレット帯 (≤1100px): 3件・4件は2カラムに丸める
   1〜2件はそのまま (もとから2カラム以下) */
@media (max-width: 1100px) {
	.classes-pickup-grid--cols-3,
	.classes-pickup-grid--cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* モバイル (≤860px): 全件1カラム */
@media (max-width: 860px) {
	.classes-pickup-grid--cols-1,
	.classes-pickup-grid--cols-2,
	.classes-pickup-grid--cols-3,
	.classes-pickup-grid--cols-4 {
		grid-template-columns: 1fr;
		gap: var(--s-7);
	}
}

/* === classes-pickup 追加分ここまで === */


/* =====================================================
   ACCESS 追加分（v47-arena-access-trim）

   v33 アリーナ派生で v6モック §14 ACCESS に合わせて追加。
   v47 (2026-05-02) でスリム化:
     - access-box.php 側で Fax / Email 行を撤去・「アクセス詳細を見る」CTA を追加
     - 独立セクション .access-routes-section と .access-routes-cta を撤去
       （中間段階の独立セクション自体が不要になったため）

     - .access-head ─ v6モックの上部ヘッダー（eyebrow / h2 / h2-en を縦積み）
                      ※ 協会版は .access-info 内に置いていたが、派生はモック準拠で
                         grid の上に独立配置。.access-info 内の既存ルール
                         (1510-1511) は協会本体側を温存するためそのまま残す。
     - .access-row dd small ─ Parking 行の注釈テキスト（v47 で Email 行は撤去）

   関連ファイル:
     - template-parts/access-box.php       (1.1.0-phase3-v47-arena-access-trim)
     - template-parts/access-routes.php    (呼び出し撤去・FTP削除推奨)
   ===================================================== */

/* ─── ACCESS ヘッダー（v6モック準拠・派生独自） ─── */
.access-head {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.access-head .h2 { margin-top: var(--s-3); }
.access-head .h2-en { margin-top: var(--s-2); }

/* ─── access-row dd 内の注釈 small（Email / Parking 行） ─── */
.access-row dd small {
  display: block;
  font-family: var(--font-jp-gothic);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--ink-mute);
  margin-top: 6px;
}

/* === ACCESS 追加分ここまで（v47-arena-access-trim） === */


/* =====================================================
   FOOTER 追加分（v33-arena-footer）

   v33 アリーナ派生で footer.php に対応する以下を追加:
     [1] .site-footer .footer-brand-logo
         協会版 footer は logo_kyokai_full_white.svg（既に白アウトライン化済）を
         使用していたが、アリーナ派生は logo.svg（#316DAE 単色）しか持たないため
         CSS filter で白塗り反転する。追加SVGファイル不要。
     [2] .footer-sns
         協会版にはSNS行が無い。アリーナ要望A6「インスタ・Xのリンク先表示」を
         受けて、footer-top と footer-bot の間に独立行として新設。
         意匠は header-sns と類似だが、ダーク背景用に淡色化（rgba(255,255,255,0.7)）。

   関連ファイル:
     - template-parts/footer.php (派生・1.0.0-phase3-v33-arena-footer)
   ===================================================== */

/* ─── ロゴ色（v49-arena-footer-logo-blue） ───
   北海道(発注者)との契約で、ロゴはブランドブルー(#316DAE)固定。白塗り不可。
   v33〜v48 系は暗地(--ink #1A1A1A)に合わせて brightness(0) invert(1) で
   白反転していたが、契約要件を満たすため白塗りを解除し logo.svg の素の色
   (#316DAE 単色)で表示する。背景(--ink)は据え置き＝暗地のまま。
   ※ #316DAE × #1A1A1A はコントラスト約3:1で沈みやすい。暗すぎる場合の対処候補:
     (1) 地を明るく(#E6EDF7 等)してヘッダーと対にする
     (2) 暗地のままロゴだけ白いノッチ台に乗せる
   いずれも別途。本v49は「暗地のまま色だけ青」の最小変更。 */
.site-footer .footer-brand-logo {
  filter: none;
}

/* ─── footer-sns 行（footer-top と footer-bot の間に独立配置） ─── */
.footer-sns {
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding-block: var(--s-5);
  margin-block: var(--s-5) 0;
  border-top: 1px solid rgba(48, 113, 183, 0.18);
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-family: var(--font-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.footer-sns a:hover {
  color: var(--green);
}

.footer-sns svg {
  display: block;
  flex-shrink: 0;
}

.footer-sns-label {
  display: inline-block;
}

@media (max-width: 720px) {
  .footer-sns {
    gap: var(--s-5);
    flex-wrap: wrap;
  }
  .footer-sns a { font-size: 10px; }
}

/* === FOOTER 追加分ここまで（v33-arena-footer） === */


/* =====================================================
   FOOTER 追加分（v34-arena-footer-guide）  2026-05-24

   header.php v35 で「施設利用手続」を「ご利用案内」(→/guide/)に張替えた
   ことで、主催者がナビから procedure に到達できなくなったため、
   フッターに代替動線を枠付きで明示。

   配置: footer.php v34 で .footer-top と .footer-sns の間に挿入
   構造:
     <div class="footer-organizer">
       <a class="footer-organizer-cta" href="/procedure/">
         <span class="footer-organizer-cta-eyebrow">For Organizers</span>
         <span class="footer-organizer-cta-title">大会・イベント等で...</span>
         <span class="footer-organizer-cta-arr">→</span>
       </a>
     </div>

   背景: フッター(ダーク背景)前提・白系の淡色配色
   サイズ: inline-flex で中身ぶんの幅・中央寄せ

   関連ファイル:
     - template-parts/footer.php (派生・1.0.1-phase3-v34-arena-footer-guide)
   ===================================================== */

.footer-organizer {
  margin: clamp(24px, 3vw, 40px) 0 clamp(20px, 2.5vw, 32px);
  display: flex;
  justify-content: center;
}

.footer-organizer-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
  border: 1px solid rgba(12, 57, 102, 0.3);
  background: rgba(255, 255, 255, 0.4);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, gap 0.25s;
  max-width: 100%;
}

.footer-organizer-cta:hover {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.7);
  gap: 20px;
}

.footer-organizer-cta-eyebrow {
  font-family: var(--font-en-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--green);
  text-transform: uppercase;
  flex-shrink: 0;
  padding-right: 16px;
  border-right: 1px solid rgba(12, 57, 102, 0.2);
}

.footer-organizer-cta-title {
  font-family: var(--font-jp-mincho);
  font-size: 13.5px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.5;
}

.footer-organizer-cta-arr {
  font-family: var(--font-en-serif);
  font-size: 18px;
  color: var(--green-deep);
  flex-shrink: 0;
  transition: transform 0.25s, color 0.25s;
}

.footer-organizer-cta:hover .footer-organizer-cta-arr {
  color: var(--green);
  transform: translateX(3px);
}

/* モバイル: eyebrow / title を縦積み・border-right 解除 */
@media (max-width: 720px) {
  .footer-organizer {
    margin: clamp(20px, 4vw, 28px) 0 clamp(16px, 3vw, 24px);
  }
  .footer-organizer-cta {
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 12px 18px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }
  .footer-organizer-cta-eyebrow {
    border-right: none;
    padding-right: 0;
    padding-bottom: 2px;
    flex-basis: 100%;
  }
  .footer-organizer-cta-title {
    flex: 1;
    font-size: 13px;
  }
}

/* === FOOTER 追加分ここまで（v34-arena-footer-guide） === */


/* =====================================================
   §7 EVENT CALENDAR 追加分（v34-event-calendar）
   v6モック §7 準拠。GCal iframe プレースホルダ + 本番埋め込み両対応。
   ===================================================== */
.calendar { background: var(--bg); }

.calendar-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.calendar-lead {
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 16px;
}

.calendar-frame {
  background: var(--bg-pure);
  border: 1px solid var(--rule-soft);
  padding: clamp(16px, 2vw, 24px);
}

/* プレースホルダ表示（GCal URL 未設定時 / v6モック画と同等） */
.calendar-embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--green-soft) 0%, #fff 60%, var(--bg-alt) 100%);
  border: 1px dashed var(--green-light);
  display: grid;
  place-items: center;
}

/* 本番表示（GCal iframe 埋め込み時） */
.calendar-embed-live {
  aspect-ratio: auto;
  background: none;
  border: 1px solid var(--rule-soft);
  display: block;
  padding: 0;
}
.calendar-embed-live iframe {
  display: block;
  width: 100%;
  border: 0;
}

.calendar-embed-inner {
  text-align: center;
  padding: 32px;
  max-width: 480px;
}

.calendar-embed-mark {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 48px;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.0;
  margin-bottom: 16px;
}

.calendar-embed-note {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.calendar-embed-note strong {
  display: block;
  font-family: var(--font-jp-mincho);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.calendar-foot {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.calendar-note-text {
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.85;
}

/* GCal URL 未設定時のボタン無効化スタイル */
.calendar-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

@media (max-width: 720px) {
  .calendar-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === §7 EVENT CALENDAR 追加分ここまで（v34-event-calendar） === */

/* =====================================================
   §8 CLASSES PICKUP 高さ統一修正（v34-classes-pickup-fix）
   問題: タイトル/リードの行数差で DETAIL リンクの位置がバラバラ。
         grid 行内で card 高さは揃うが、カード内 .body は末端で止まるため。
   解決: .card を flex column 化、.body を flex:1 で残スペース吸収、
         .link を margin-top:auto で下端寄せ。
         gap が無効化されるので、リード→DETAIL 間の最低余白は padding-top で明示確保。
   ===================================================== */
.classes-pickup-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.classes-pickup-body {
  flex: 1;
}

.classes-pickup-link {
  margin-top: auto;        /* 残りスペースを上に逃がして下端揃え */
  padding-top: var(--s-3); /* リードからの最低余白（gap が無効化されるので明示） */
}

/* === §8 CLASSES PICKUP 高さ統一修正ここまで（v34-classes-pickup-fix） === */

/* =====================================================
   §7 EVENT CALENDAR 縦余白圧縮（v34-calendar-trim）
   問題: section デフォルト padding-block (clamp 80-140px) と
         calendar-head margin-bottom (clamp 40-56px) が両方効いて
         「日程カレンダー」見出しから calendar-frame まで縦が間延び。
   解決: section / head / lead / frame / foot を全方向で圧縮。
         section padding は通常の約半分（56-80px）に固定し、
         他セクションとリズムを変えてカレンダーだけ「詰めて見せる」。
   ===================================================== */
.calendar {
  padding-block: clamp(56px, 7vw, 80px); /* 元: clamp(80px, 10vw, 140px) → 約半分 */
}

.calendar-head {
  margin-bottom: clamp(20px, 2.5vw, 28px); /* 元: clamp(40px, 5vw, 56px) */
}

.calendar-lead {
  margin-top: 8px;        /* 元: 16px */
  line-height: 1.85;      /* 元: 1.95 */
}

.calendar-frame {
  padding: clamp(12px, 1.5vw, 18px); /* 元: clamp(16px, 2vw, 24px) */
}

.calendar-foot {
  margin-top: 16px;       /* 元: 24px */
}

/* === §7 EVENT CALENDAR 縦余白圧縮ここまで（v34-calendar-trim） === */

/* =====================================================
   §7 EVENT CALENDAR 上側余白 中復活（v34-trim3）
   経緯: v34-trim2 で padding-top: 0 にしたところ news-recent との間が
        詰まりすぎ（密着気味で「セクションが変わった」感が薄い）。
   解決: 中復活 (clamp 40-56px)。これで上側余白合計は
        news-recent padding-bottom + calendar padding-top (40-56px) ≒ 100-140px となり、
        セクション境界が認識できる程度の余白を確保。
   ===================================================== */
.calendar {
  padding-top: clamp(40px, 5vw, 56px);
  padding-bottom: clamp(56px, 7vw, 80px); /* 下側は v34-trim そのまま維持 */
}

/* === §7 EVENT CALENDAR 上側余白 中復活ここまで（v34-trim3） === */

/* =====================================================
   h2-en 全削除（v34-h2en-hidden）
   方針: TOP全セクションのリードスタイルを「eyebrow + h2」のみに統一。
        英文サブタイトル (— Featured programs, — Monthly schedule, — How to get here ...)
        を全削除する。
   実装: HTMLには .h2-en の <div> を残し、CSSで非表示化。
        将来戻す可能性に備えて低コスト方針。
        サイト全体に効く（下層ページを今後実装する場合も同じ規範を継承）。
   副作用: ACCESS セクション専用の .access-head .h2-en / .access-info .h2-en の
          追加マージン (margin-top var(--s-2) / margin-bottom var(--s-7)) も消える。
          ACCESS の見出し直下が少し詰まるが、軽微。
   ===================================================== */
.h2-en {
  display: none;
}

/* === h2-en 全削除ここまで（v34-h2en-hidden） === */

/* =====================================================
   §16 SNS LATEST（v35.2-sns-row）
   方針: 1行レイアウト = 左フィード + Insta QR + X QR を横一列に配置。
        v35.0 の縦2枚カードは「視線の流れが横→縦→横→縦と切れる」「右ペインが
        過大で空白が広い」という問題があり1行に統合。
   構成:
     ┌─────────────────────┬────┬────┐
     │ .sns-feed-wrap (1fr 横スクロール)│Insta │ X  │  ← .sns-side(flex,row)
     │                                     │ QR   │ QR │
     └─────────────────────┴────┴────┘
       grid-template-columns: 1fr auto auto;

   各 .sns-card (約140px幅):
     ├ .sns-card-icon (40px丸)
     ├ .sns-card-title (Instagram / X)
     ├ .sns-qr (110×110px QRプレースホルダ → BL-08で実画像)
     └ .sns-card-link (FOLLOW ボタン)

   実装:
     - .sns-feed-track 内に CPT 6件 ×2セット出力（PHP側で同じ配列を2周）。
     - CSS animation で translateX(0 → -50%) 直線ループ → 継ぎ目が見えない。
     - .sns-feed-wrap:hover で animation-play-state: paused（クリック猶予）。
     - 左右マスクで端をフェードアウト → 切り替わりの違和感を吸収。
     - prefers-reduced-motion: reduce でアニメ停止（v15規範継承）。
     - モバイル(≤768px)は1カラム化。フィード上 → QRカード横並び下の縦積み。
   担当者要望対応:
     - A6 (リンク・QRコード)        → .sns-card 2枚（Instagram QR + X QR）横並び
     - A8 (X・インスタの投稿表示枠) → .sns-feed = Instagram のみで吸収
     - C7 (フッター直上スクロール)  → 横スクロール無限ループ
   ===================================================== */

/* セクション全体 */
.sns {
  background: var(--bg-pure);
  /* v35.4: SNSセクション内全要素のノッチサイズをローカル変数で統一。
     カードが140×170pxとコンパクトなのでグローバル --notch:22px だと大きすぎ、
     FQN --notch-fqn:14px と同水準の14pxで揃える。 */
  --notch-sns: 14px;
}

.sns-head {
  text-align: center;
  margin-bottom: var(--s-7);
}

.sns-head .eyebrow {
  display: inline-block;
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: var(--s-2);
}

.sns-head .h2 {
  font-family: var(--font-jp-mincho);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  line-height: 1.4;
}

/* グリッド: 左フィード(1fr) + 右カード2枚(auto×2) の3カラム横並び */
.sns-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: stretch;
}

/* ─── 左: Instagram 横スクロールループ ─── */

.sns-feed-wrap {
  overflow: hidden;
  position: relative;
  /* 左右端をフェードアウト → ループの継ぎ目を視覚的に吸収 */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
          mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.sns-feed-track {
  display: flex;
  gap: var(--s-3);
  width: max-content;            /* 2セット分を横並び確保 */
  animation: sns-scroll 50s linear infinite;
  will-change: transform;
}

.sns-feed-wrap:hover .sns-feed-track,
.sns-feed-wrap:focus-within .sns-feed-track {
  animation-play-state: paused;  /* ホバー / フォーカス中はクリック猶予 */
}

@keyframes sns-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }  /* セット1つ分でループ完了 */
}

/* アクセシビリティ: モーション控えめ設定では停止 */
@media (prefers-reduced-motion: reduce) {
  .sns-feed-track {
    animation: none;
    transform: translateX(0);
  }
}

/* 投稿カード */
.sns-post {
  flex: 0 0 220px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--bg-alt);
  isolation: isolate;
  /* v35.4: 一括ノチ。背景画像レイヤなので二重レイヤ不要、clip-pathだけで切る。
     切れた三角部分はセクション背景(白)に抜ける。 */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--notch-sns)),
    calc(100% - var(--notch-sns)) 100%,
    0 100%
  );
}

.sns-post-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.sns-post:hover .sns-post-img,
.sns-post:focus-visible .sns-post-img {
  transform: scale(1.06);
}

.sns-post-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 14px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 4px 7px;
  border-radius: 999px;
  line-height: 1;
  z-index: 1;
}

/* ─── 右: フォローカード 2枚を横並び ─── */

.sns-side {
  display: flex;
  flex-direction: row;          /* v35.2: 縦並び → 横並びに変更 */
  gap: var(--s-3);
}

.sns-card {
  padding: var(--s-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 140px;                   /* v35.2: コンパクトサイズで固定 */
  flex-shrink: 0;
  /* v35.4: kaminishi意匠 = 右下ノッチ + 枠線（罫線色塗り → ::before で内側1px小さい白塗り）。
     v35.3 で試した `background: linear-gradient padding-box, border-box` は border指定が
     必要で、border-radius と clip-path 併用時にギザつく問題があったため二重レイヤに変更。
     FQN .fqn と同じ手法 (style.css L4108-4129)。 */
  position: relative;
  background: var(--rule);        /* 外側 = 罫線色1色塗り */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--notch-sns)),
    calc(100% - var(--notch-sns)) 100%,
    0 100%
  );
}

.sns-card::before {
  content: "";
  position: absolute;
  inset: 1px;                     /* 1pxインセットで罫線を見せる */
  background: var(--bg-pure);     /* 内側 = セクション背景と同じ白で塗り戻し */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - calc(var(--notch-sns) - 1px)),
    calc(100% - calc(var(--notch-sns) - 1px)) 100%,
    0 100%
  );
  z-index: 0;
}

/* カード内の要素は ::before より前面に */
.sns-card > * {
  position: relative;
  z-index: 1;
}

/* v35.3: .sns-card-icon は撤去。エディトリアル感を優先し、@丸/X丸のグリフは消した。
   タイトルテキストとサイトの配色だけで Instagram / X を判別させる。
   PHPからも要素ごと撤去済（sns-latest.php v35.3）。 */

.sns-card-title {
  font-family: var(--font-en-sans);   /* v35.3: 英欧文ゴシック（Jost）でブランド名らしく */
  font-weight: 500;
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  margin-top: var(--s-2);             /* v35.3: アイコン丸撤去分を上方向で吸収 */
  margin-bottom: var(--s-3);
}

/* QRコード プレースホルダ（本番では実画像に差し替え = BL-08） */
.sns-qr {
  width: 110px;
  height: 110px;
  background:
    repeating-linear-gradient(
      45deg,
      var(--ink-soft) 0,
      var(--ink-soft) 4px,
      var(--bg-pure) 4px,
      var(--bg-pure) 8px
    );
  margin-bottom: var(--s-3);
  /* v35.4: 一括ノチ。border は綺麗に切れないので外し、ノッチで意匠統一に振る。
     縞模様塗りなので clip-path だけで切れる。 */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--notch-sns)),
    calc(100% - var(--notch-sns)) 100%,
    0 100%
  );
}

/* FOLLOWリンク
   v35.5: カードに既に枠+ノッチがあるので、ボタン自体は枠を持たない。
          シンプルなテキストリンクに変更（clip-path / ::before / 二重レイヤ全撤去）。
          ホバーで色を明るい緑に変える程度の控えめな反応に。 */
.sns-card-link {
  display: block;
  text-align: center;
  padding: var(--s-2) 0 0;
  background: transparent;
  color: var(--green-deep) !important;
  text-decoration: none;
  font-family: var(--font-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  width: 100%;
  transition: color 0.2s ease;
}

.sns-card-link:hover,
.sns-card-link:focus-visible {
  color: var(--green) !important;
}

/* ─── モバイル ≤ 768px ─── */
@media (max-width: 768px) {

  /* グリッドを1カラム化: フィード上 → QRカード下 */
  .sns-grid {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  /* 投稿カードを少し小さく（横スクロールに2.5枚程度見える幅） */
  .sns-post {
    flex: 0 0 160px;
  }

  /* 右カード: 横並びを継続、中央寄せでセクション中央に置く */
  .sns-side {
    justify-content: center;
  }

  .sns-card {
    width: 130px;
  }

  /* モバイルでもQRは表示（旧版では非表示にしてたが、1行レイアウトの主役なので残す） */
  .sns-qr {
    width: 100px;
    height: 100px;
  }
}

/* === §16 SNS LATEST ここまで（v35.2-sns-row） === */



/* ============================================================
   === lesson archive 追加分（v36-arena-lessons）===
   ============================================================
   - lesson CPT のアーカイブ（/icearena/lessons/）専用スタイル
   - archive-lesson.php + template-parts/lesson-card.php から使用
   - kaminishi 意匠（右下ノッチ --notch-lesson:14px）採用
   - 画像左上タグ .lesson-target は既存 .classes-pickup-target と意匠統一
     （半透明白背景 + green-deep 文字）
   - 派生サイトでは :root の --green / --green-deep 上書きだけで色追従
*/

:root { --notch-lesson: 14px; }

/* ----- ページ全体 ----- */
.lessons-page {
	padding-block: var(--s-7) var(--s-8);
	background: var(--bg);
}
.lessons-page > .container {
	max-width: calc(var(--max-w) - 180px);
}

/* ----- ページヘッダー ----- */
.lessons-page-head {
	text-align: center;
	margin-bottom: var(--s-7);
	padding-bottom: var(--s-6);
	border-bottom: 1px solid var(--rule);
}
.lessons-page-head .eyebrow {
	display: inline-block;
	margin-bottom: var(--s-3);
}
.lessons-page-title {
	font-family: var(--font-jp-mincho);
	font-weight: 500;
	font-size: clamp(26px, 3vw, 36px);
	letter-spacing: 0.04em;
	line-height: 1.4;
	margin: 0 0 var(--s-2);
	color: var(--ink);
}
.lessons-page-title-en {
	font-family: var(--font-en-serif);
	font-style: italic;
	font-size: 14px;
	letter-spacing: 0.06em;
	color: var(--ink-mute);
	margin-bottom: var(--s-5);
}
.lessons-page-lead {
	font-size: 15px;
	line-height: 1.85;
	color: var(--ink-soft);
	max-width: 760px;
	margin: 0 auto;
	text-align: left;
}
.lessons-page-lead a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lessons-page-lead a:hover { color: var(--green-deep); }

/* ----- 上部 お問い合わせストリップ ----- */
.lessons-contact {
	background: var(--bg-alt);
	padding: var(--s-5) var(--s-6);
	margin-bottom: var(--s-6);
	position: relative;
	isolation: isolate;
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - var(--notch-lesson)),
		calc(100% - var(--notch-lesson)) 100%,
		0 100%
	);
}
.lessons-contact-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3) var(--s-6);
	align-items: center;
}
.lessons-contact-label {
	font-family: var(--font-en-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.18em;
	color: var(--green);
	flex-shrink: 0;
}
.lessons-contact-tel {
	font-family: var(--font-jp-gothic);
	font-size: 18px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	letter-spacing: 0.02em;
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
}
.lessons-contact-tel-icon {
	color: var(--green);
	flex-shrink: 0;
}
.lessons-contact-tel:hover { color: var(--green-deep); }
.lessons-contact-tel:hover .lessons-contact-tel-icon { color: var(--green-deep); }
.lessons-contact-tel small {
	font-size: 12px;
	font-weight: 400;
	color: var(--ink-mute);
	margin-left: var(--s-2);
}
.lessons-contact-form-link {
	color: var(--green);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lessons-contact-form-link:hover { color: var(--green-deep); }

/* ----- カテゴリ目次 ----- */
.lessons-toc {
	margin-bottom: var(--s-6);
	padding: var(--s-4) var(--s-5);
	background: var(--bg-alt);
	border-left: 3px solid var(--green);
}
.lessons-toc-label {
	display: block;
	font-family: var(--font-en-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.15em;
	color: var(--ink-mute);
	margin-bottom: var(--s-2);
}
.lessons-toc-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
	list-style: none;
	padding: 0;
	margin: 0;
}
.lessons-toc-list li { margin: 0; }
.lessons-toc-list a {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	padding: var(--s-2) var(--s-4);
	background: var(--bg-pure);
	border: 1px solid var(--rule);
	color: var(--ink);
	text-decoration: none;
	font-size: 14px;
	transition: border-color 0.2s, color 0.2s;
}
.lessons-toc-list a:hover {
	border-color: var(--green);
	color: var(--green-deep);
}
.lessons-toc-name { line-height: 1.2; }
.lessons-toc-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	font-size: 11px;
	font-weight: 600;
	background: var(--green);
	color: #fff;
	padding: 0 6px;
	font-family: var(--font-en-sans);
}
.lessons-toc-list a:hover .lessons-toc-count {
	background: var(--green-deep);
}

/* ----- カテゴリセクション ----- */
.lesson-section {
	margin-bottom: var(--s-7);
}
.lesson-section:last-of-type { margin-bottom: 0; }
.lesson-section-head {
	margin-bottom: var(--s-5);
	padding-bottom: var(--s-3);
	border-bottom: 2px solid var(--rule);
}
.lesson-section-eyebrow {
	display: block;
	font-family: var(--font-en-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: var(--green);
	margin-bottom: var(--s-1);
}
.lesson-section-title {
	font-family: var(--font-jp-mincho);
	font-weight: 500;
	font-size: clamp(20px, 2vw, 26px);
	letter-spacing: 0.04em;
	line-height: 1.4;
	margin: 0 0 var(--s-2);
	color: var(--ink);
}
.lesson-section-desc {
	font-size: 14px;
	line-height: 1.75;
	color: var(--ink-soft);
	margin: 0;
}

/* ----- 教室リスト ----- */
.lesson-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s-5);
}

/* ----- 教室カード本体（kaminishi 右下ノッチ） ----- */
.lesson-item {
	position: relative;
	isolation: isolate;
	background: var(--bg-pure);
	padding: var(--s-5);
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: var(--s-6);
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - var(--notch-lesson)),
		calc(100% - var(--notch-lesson)) 100%,
		0 100%
	);
	scroll-margin-top: 100px; /* アンカー着地時のヘッダー分オフセット（.faq-section と同値） */
}
.lesson-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--rule);
	z-index: -2;
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - var(--notch-lesson)),
		calc(100% - var(--notch-lesson)) 100%,
		0 100%
	);
}
.lesson-item::after {
	content: "";
	position: absolute;
	inset: 1px;
	background: var(--bg-pure);
	z-index: -1;
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - var(--notch-lesson) + 1px),
		calc(100% - var(--notch-lesson) + 1px) 100%,
		0 100%
	);
}

/* ----- 画像エリア + 左上対象タグ ----- */
.lesson-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--rule-soft);
	position: relative;
}
.lesson-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.lesson-image-fallback {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--green-soft) 0%, var(--rule-soft) 100%);
}
/* 画像左上の対象タグ（既存 .classes-pickup-target と意匠統一） */
.lesson-target {
	position: absolute;
	top: var(--s-3); left: var(--s-3);
	z-index: 2;
	display: inline-block;
	padding: 6px 12px;
	background: rgba(255, 255, 255, 0.95);
	color: var(--green-deep);
	font-family: var(--font-jp-gothic);
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.08em;
	line-height: 1.4;
	white-space: nowrap;
}

/* ----- カードボディ ----- */
.lesson-body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.lesson-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-3);
	align-items: center;
	margin-bottom: var(--s-2);
}
.lesson-eyebrow {
	font-family: var(--font-en-sans);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: var(--green);
}
.lesson-schedule-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	padding: 3px 10px;
	background: var(--green-soft);
	color: var(--green-deep);
	letter-spacing: 0.05em;
}
.lesson-name {
	font-family: var(--font-jp-mincho);
	font-weight: 500;
	font-size: clamp(18px, 1.6vw, 22px);
	letter-spacing: 0.03em;
	line-height: 1.5;
	margin: 0 0 var(--s-3);
	color: var(--ink);
}
.lesson-desc {
	font-size: 14px;
	line-height: 1.85;
	color: var(--ink-soft);
	margin: 0 0 var(--s-4);
}

/* ----- スペックテーブル（key-value 縦並び） ----- */
.lesson-spec {
	border-top: 1px solid var(--rule-soft);
	margin-bottom: var(--s-3);
}
.lesson-spec-row {
	display: grid;
	grid-template-columns: 80px 1fr;
	gap: var(--s-4);
	padding: 10px 0;
	border-bottom: 1px solid var(--rule-soft);
	font-size: 14px;
}
.lesson-spec-label {
	font-family: var(--font-jp-gothic);
	font-size: 12px;
	font-weight: 600;
	color: var(--green-deep);
	letter-spacing: 0.05em;
	padding-top: 2px;
}
.lesson-spec-value {
	color: var(--ink);
	line-height: 1.7;
}
.lesson-spec-value small {
	display: block;
	font-size: 12px;
	color: var(--ink-mute);
	margin-top: 2px;
}

/* ----- ステータスピル（募集中以外のみ表示） ----- */
.lesson-status {
	margin-bottom: var(--s-3);
}
.lesson-status-pill {
	display: inline-block;
	font-size: 11px;
	font-weight: 500;
	padding: 3px 10px;
	letter-spacing: 0.05em;
	border: 1px solid;
}
.lesson-status-pill.is-renewal {
	background: #fff4e6;
	color: #b87a14;
	border-color: #ecd089;
}
.lesson-status-pill.is-suspended {
	background: var(--rule-soft);
	color: var(--ink-mute);
	border-color: var(--rule);
}
.lesson-status-pill.is-closed {
	background: var(--rule-soft);
	color: var(--ink-mute);
	border-color: var(--rule);
	text-decoration: line-through;
}

/* ----- CTA ----- */
.lesson-cta {
	display: inline-flex;
	align-items: center;
	gap: var(--s-2);
	font-family: var(--font-jp-gothic);
	font-size: 13px;
	font-weight: 600;
	color: var(--green-deep);
	text-decoration: none;
	margin-top: auto;
	padding-top: var(--s-2);
	align-self: flex-start;
}
.lesson-cta:hover { color: var(--green); }
.lesson-cta .arr {
	display: inline-block;
	transition: transform 0.2s;
}
.lesson-cta:hover .arr { transform: translateX(3px); }

/* ----- PDF資料リンク (lesson-pdf) ----- */
/* 資料PDFボタン .is-pdf を「この教室を問い合わせる」CTA / 「お申し込み」行の上に2段で
   並べる際の段組み調整。野幌は .lesson-cta も .lesson-apply も margin-top:auto で下端寄せ
   のため、.is-pdf は auto を維持してペアを下端寄せ、直後の CTA / apply 行だけ固定マージン
   にして2本を密に並べる。.is-pdf 不在時は従来どおり。 */
.lesson-cta.is-pdf { margin-top: auto; }
.lesson-cta.is-pdf + .lesson-cta { margin-top: var(--s-2); }
.lesson-cta.is-pdf + .lesson-apply { margin-top: var(--s-2); }

/* ----- お申し込み行（運営団体＝連絡先 / 野幌・案A v2 v1.5.32） -----
   archive-lesson.php が lesson_org ターム連絡先をカードへ渡し、CTAの代わりに表示。
   ターム未設定（アリーナ等）の場合は従来の .lesson-cta が出るため後方互換。 */
.lesson-apply {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s-2) var(--s-3);
	margin-top: auto;
	padding-top: var(--s-3);
	border-top: 1px solid var(--rule-soft);
	font-family: var(--font-jp-gothic);
	font-size: 13px;
}
.lesson-apply-label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	color: var(--green-deep);
	background: var(--green-soft);
	padding: 2px 9px;
	white-space: nowrap;
}
.lesson-apply-org {
	color: var(--ink-soft);
}
.lesson-apply-tel {
	font-family: var(--font-en-sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--green-deep);
	text-decoration: none;
}
.lesson-apply-tel:hover { text-decoration: underline; }
.lesson-apply-note {
	font-size: 11.5px;
	color: var(--ink-mute);
}
.lesson-apply-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-jp-gothic);
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	background: var(--green);
	padding: 4px 13px;
	text-decoration: none;
	transition: background 0.2s;
}
.lesson-apply-link:hover { background: var(--green-deep); }

/* ----- フッターCTA ----- */
.lessons-footer-cta {
	margin-top: var(--s-7);
	padding: var(--s-6) var(--s-6);
	background: var(--bg-alt);
	position: relative;
	isolation: isolate;
	clip-path: polygon(
		0 0,
		100% 0,
		100% calc(100% - var(--notch-lesson)),
		calc(100% - var(--notch-lesson)) 100%,
		0 100%
	);
}
.lessons-footer-cta-title {
	font-family: var(--font-en-sans);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--green);
	margin: 0 0 var(--s-2);
}
.lessons-footer-cta-text {
	font-size: 14px;
	color: var(--ink-soft);
	margin: 0;
	line-height: 1.85;
}
.lessons-footer-cta-text a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lessons-footer-cta-text a:hover { color: var(--green-deep); }
.lessons-footer-cta-text strong {
	font-weight: 600;
	color: var(--ink);
	letter-spacing: 0.02em;
}

/* ----- 教室未登録時のフォールバック ----- */
.lessons-empty {
	text-align: center;
	padding: var(--s-7) var(--s-5);
	color: var(--ink-soft);
	background: var(--bg-alt);
}
.lessons-empty p { margin: 0 0 var(--s-3); }
.lessons-empty p:last-child { margin-bottom: 0; }
.lessons-empty a {
	color: var(--green);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.lessons-empty a:hover { color: var(--green-deep); }

/* ----- レスポンシブ ----- */
@media (max-width: 860px) {
	.lessons-page { padding-block: var(--s-6) var(--s-7); }
	.lesson-item {
		padding: var(--s-4);
		grid-template-columns: 1fr;
		gap: var(--s-4);
		--notch-lesson: 10px;
	}
	.lesson-image { aspect-ratio: 16 / 9; }
	.lesson-spec-row {
		grid-template-columns: 70px 1fr;
		gap: var(--s-3);
	}
	.lessons-contact-row {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--s-2);
	}
	.lessons-footer-cta { padding: var(--s-5); }
}

/* === lesson archive 追加分ここまで（v36-arena-lessons） === */


/* ============================================================
   === lesson 訴求ピル追加（v36-arena-lessons-pills 修正） ===
   ============================================================
   v36-arena-lessons 初版で訴求ピル（複数）が抜けていたため追加。
   ACF lesson_pills（textarea 改行区切り）から複数の黄色ピルを表示。
   表示位置は .lesson-meta 内の lesson-schedule-pill の右側。

   設計上の役割分担:
     - .lesson-target    = 1個・画像左上・「対象」（白半透明 + green-deep）
     - .lesson-pill      = 複数・meta部・訴求ポイント（黄色）
     - .lesson-status-pill = 1個・spec下・例外的状況（renewal黄/suspended灰/closed灰打消し）
*/

.lesson-pill {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	padding: 3px 10px;
	background: #fff8e6;
	color: #b87a14;
	letter-spacing: 0.05em;
	border: 1px solid #ecd089;
	font-family: var(--font-jp-gothic);
	line-height: 1.5;
}

/* === lesson 訴求ピル追加ここまで === */


/* ============================================================
   BREADCRUMB (パンくず・全テンプレ共通) — Phase 3 v33  2026-05-01
   ------------------------------------------------------------
   functions.php の htb_breadcrumb() が出力する <nav class="breadcrumb">
   の専用スタイル。出力場所:
     - page.php / page-mock.php   .page-hero-inner 冒頭
     - page-faq.php / archive-faq.php  .faq-page-head 冒頭
     - archive-lesson.php         .lessons-page-head 冒頭
     - archive.php                .archive-hero > .container 冒頭
     - single.php                 .post-hero-inner 冒頭
     - single-facility.php        .facility-single-body > .container 冒頭

   設計方針:
     - 全 hero は text-align:center なので breadcrumb 自体は中央揃えを
       親から継承 (text-align 指定なし)。
     - inline-flex の breadcrumb-list で要素を横並びにし、flex-wrap で
       狭幅3階層も折り返し許容。
     - Home リンクのみ Jost 大文字小型 (eyebrow と同系統)。現在地は
       ink-soft で控えめに強調。セパレータ "/" は --rule 色で薄く配置。
     - .page-hero.has-image (アイキャッチ背景・暗い背景) 時はパンくず色を
       白系に補正する派生スタイルを追加。
     - Schema.org BreadcrumbList microdata は CSS 上は意識せず、
       <ol>/<li> の見た目だけ整える。

   担当者要望書 C4「パンくずリスト」対応。
   4施設の派生テーマで同コードを使い回し可能 (施設色変数のみ差替で動作)。
   ============================================================ */

.breadcrumb {
  margin-bottom: var(--s-4); /* v33.3: --s-5(24) → --s-4(16) ヒーロー全体圧縮の一環 */
  font-family: var(--font-jp-gothic);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  line-height: 1.6;
  text-align: left;
  /* v33.2: 全テンプレで左寄せに統一。
     v33  は親 text-align 継承で hero 系は中央寄せになっていた。
     v33.1 で逆に全テンプレ中央寄せに統一しようとしたが、
     v33.2 で先生の指示により左寄せ統一に方針確定。
     親が text-align:center の hero (page-hero / faq-page-head /
     lessons-page-head / archive-hero) でも、本セレクタの text-align:left が
     breadcrumb の中身 (.breadcrumb-list = inline-flex) に効くため、
     breadcrumb 部分だけ左寄せ・本体タイトル類は中央寄せのまま、になる。 */
}

.breadcrumb-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  margin: 0;
  list-style: none;
}

.breadcrumb-item a {
  color: var(--ink-mute);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
  padding-block: 2px;
}

.breadcrumb-item a:hover {
  color: var(--green-deep);
}

/* Home リンクだけは英字小型 (v6 eyebrow流儀に近い) */
.breadcrumb-item-home a {
  font-family: var(--font-en-sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.breadcrumb-sep {
  color: var(--rule);
  font-family: var(--font-en-sans);
  font-weight: 300;
  font-size: 13px;
  list-style: none;
  user-select: none;
}

.breadcrumb-current {
  color: var(--ink-soft);
}

/* page-hero.has-image (アイキャッチが背景になるモード) 時の色補正 */
.page-hero.has-image .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
}
.page-hero.has-image .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}
.page-hero.has-image .breadcrumb-item a:hover {
  color: #fff;
}
.page-hero.has-image .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.4);
}
.page-hero.has-image .breadcrumb-current {
  color: rgba(255, 255, 255, 0.95);
}

/* === BREADCRUMB v33 ここまで === */

/* ============================================================
   === CONTACT FORM 追加（v37-arena-contact）===
   /contact/ お問い合わせフォームページ専用。
   - kaminishi意匠（ノチ・ピル・SVGアイコン）の言語で組成
   - CF7 出力HTMLに class:contact-input 等を付与して制御する前提
   - .wpcf7-* セレクタはCF7既定マークアップを派生意匠で上書き
   ============================================================ */

.contact-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gutter) var(--s-9);
}

.contact-form {
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  padding: clamp(28px, 5vw, 56px);
  position: relative;
  /* kaminishi意匠: 右下ノッチ */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    calc(100% - 18px) 100%,
    0 100%
  );
}

.contact-form-row {
  margin-bottom: var(--s-5);
}
.contact-form-row:last-of-type {
  margin-bottom: 0;
}

.contact-label {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--s-2);
}

.contact-required {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: #FBE8E5;
  color: #C0392B;
  line-height: 1.4;
}

.contact-optional {
  display: inline-block;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--rule-soft);
  color: var(--ink-mute);
  line-height: 1.4;
}

.contact-help {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--ink-mute);
  margin-top: var(--s-1);
}

/* CF7のwrap span を block化（ラベルと入力欄の改行を保証） */
.contact-form .wpcf7-form-control-wrap {
  display: block;
}

/* 入力欄共通（CF7のwpcf7-form-controlを派生意匠で上書き） */
.contact-form .contact-input,
.contact-form .contact-textarea,
.contact-form .contact-select,
.contact-form input.wpcf7-text,
.contact-form input.wpcf7-email,
.contact-form input.wpcf7-tel,
.contact-form textarea.wpcf7-textarea,
.contact-form select.wpcf7-select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-jp-gothic);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  border-radius: 0;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form .contact-input:focus,
.contact-form .contact-textarea:focus,
.contact-form .contact-select:focus,
.contact-form input.wpcf7-text:focus,
.contact-form input.wpcf7-email:focus,
.contact-form input.wpcf7-tel:focus,
.contact-form textarea.wpcf7-textarea:focus,
.contact-form select.wpcf7-select:focus {
  outline: none;
  border-color: var(--green-deep);
  background: var(--green-soft);
}
.contact-form .contact-textarea,
.contact-form textarea.wpcf7-textarea {
  resize: vertical;
  min-height: 140px;
}

/* ラジオボタン群（CF7 [radio] のwpcf7-list-itemを置換） */
.contact-radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.contact-radio-group .wpcf7-list-item {
  margin: 0 !important;  /* CF7デフォルトmargin打ち消し */
  flex: 1 1 calc(50% - 5px);
  min-width: 140px;
  position: relative;
}
.contact-radio-group .wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0;
}
.contact-radio-group .wpcf7-list-item-label {
  display: block;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  color: var(--ink-soft);
  background: var(--bg-pure);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: all 0.2s ease;
}
.contact-radio-group .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label {
  background: var(--green-deep);
  color: var(--bg-pure);
  border-color: var(--green-deep);
  font-weight: 600;
}
.contact-radio-group .wpcf7-list-item-label:hover {
  border-color: var(--green-deep);
  color: var(--green-deep);
}
.contact-radio-group .wpcf7-list-item input[type="radio"]:checked + .wpcf7-list-item-label:hover {
  color: var(--bg-pure);
}

/* チェックボックス（同意） */
.contact-consent {
  padding: var(--s-4);
  background: var(--bg-alt);
  font-size: 13px;
  line-height: 1.7;
}
.contact-consent .wpcf7-list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  margin: 0 !important;
}
.contact-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--green-deep);
}
.contact-consent .wpcf7-list-item-label {
  cursor: pointer;
  color: var(--ink-soft);
}
.contact-consent a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-consent a:hover {
  color: var(--green-deep);
}

/* 送信ボタン（CF7 [submit] のinput[type="submit"]を派生意匠で上書き） */
.contact-submit-wrap {
  margin-top: var(--s-6);
  text-align: center;
}
.contact-submit,
.contact-form input[type="submit"],
.contact-form .wpcf7-submit {
  display: inline-block;
  padding: 16px 48px;
  font-family: var(--font-jp-gothic);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--bg-pure);
  background: var(--green-deep);
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.05s ease;
  -webkit-appearance: none;
  appearance: none;
  /* kaminishi意匠: 右下ノッチ */
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%
  );
}
.contact-submit:hover,
.contact-form input[type="submit"]:hover,
.contact-form .wpcf7-submit:hover {
  opacity: 0.92;
}
.contact-submit:active,
.contact-form input[type="submit"]:active,
.contact-form .wpcf7-submit:active {
  transform: translateY(1px);
}
.contact-form input[type="submit"]:disabled,
.contact-form .wpcf7-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* CF7 メッセージ・エラー表示の派生意匠化 */
.contact-form .wpcf7-not-valid-tip {
  display: block;
  margin-top: var(--s-1);
  font-size: 11px;
  color: #C0392B;
  font-weight: 500;
}
.contact-form .wpcf7-response-output {
  margin: var(--s-5) 0 0;
  padding: var(--s-3) var(--s-4);
  font-size: 13px;
  border: 1px solid var(--rule);
  background: var(--bg-alt);
  color: var(--ink-soft);
}
.contact-form form.invalid .wpcf7-response-output,
.contact-form form.unaccepted .wpcf7-response-output,
.contact-form form.payment-required .wpcf7-response-output {
  border-color: #C0392B;
  background: #FBE8E5;
  color: #C0392B;
}
.contact-form form.sent .wpcf7-response-output {
  border-color: var(--green);
  background: var(--green-soft);
  color: var(--green-deep);
}
.contact-form .wpcf7-spinner {
  margin: 0 var(--s-3);
  vertical-align: middle;
}


/* ============================================================
   === CONTACT モバイル調整 (v37-arena-contact) ===
   ============================================================ */
@media (max-width: 720px) {
  .contact-form { padding: 24px 20px; }
  .contact-radio-group .wpcf7-list-item { flex: 1 1 100%; }
}

/* === contact 追加分ここまで（v37-arena-contact） === */


/* ============================================================
   §7 EVENT CALENDAR 2カラム化 (v48-calendar-2col)
   ============================================================
   §7 EVENT CALENDAR を 2カラム化(左=GCal embed / 右=ターゲット別入口バナー)。
   右カラムは ACF Repeater(Options Page「カレンダー右バナー」)で職員が編集。
   - 既存 .calendar / .calendar-head / .calendar-frame / .calendar-embed 系
     (4763〜・v34-event-calendar / v34-calendar-trim / v34-trim3) はそのまま維持。
   - .calendar-2col ラッパは event-calendar.php 側で右カラム公開行が 1 件以上
     存在するときだけ描画される。0 件時は従来 1 カラム表示にフォールバック
     (デプロイ直後の ACF 未登録状態を保護)。
   - 1100px 以下で 1 カラムにレスポンシブ折り返し。
   ============================================================ */
.calendar-2col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
.calendar-2col .calendar-frame {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.calendar-2col .calendar-embed {
  flex: 1;
  aspect-ratio: auto;          /* 高さは右カラムの内容と合わせる */
  min-height: 420px;
}

/* 右カラム: バナー縦積みコンテナ */
.calendar-banners {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* 個別バナー: 画像なし版 [番号][テキスト][矢印] */
.calendar-banner {
  display: grid;
  grid-template-columns: 32px 1fr 16px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: var(--bg-pure);
  border: 1px solid var(--rule-soft);
  border-left: 3px solid var(--green-deep);
  text-decoration: none;
  color: var(--ink);
  transition: border-left-width 0.2s, padding-left 0.2s, background 0.2s;
  /* v48b: flex: 1 を削除。件数 (2〜5) によらず自然な高さで安定させるため。
     残置すると 2〜3 件のとき右カラム下に伸びすぎて 1 つだけ縦長になる事故。 */
  min-height: 72px;
}
.calendar-banner:hover {
  border-left-width: 6px;
  padding-left: 15px;
  background: var(--green-soft);
}
.calendar-banner-num {
  font-family: var(--font-en-serif);
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.0;
  letter-spacing: 0.02em;
}
.calendar-banner-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.calendar-banner-jp {
  font-family: var(--font-jp-mincho);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.calendar-banner-sub {
  font-family: var(--font-en-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.calendar-banner-desc {
  font-size: 11px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 2px;
}
.calendar-banner-arr {
  font-family: var(--font-en-serif);
  font-size: 16px;
  color: var(--green-deep);
  text-align: right;
  transition: transform 0.2s;
}
.calendar-banner:hover .calendar-banner-arr {
  transform: translateX(4px);
}

/* 画像つきバリアント (.has-image)
   ACF Image フィールドが入力されたとき PHP 側で .has-image を自動付与。
   レイアウト: [画像(160×90・上下びたびた)][テキスト][矢印] */
.calendar-banner.has-image {
  grid-template-columns: 160px 1fr 16px;
  padding: 0 18px 0 0;          /* 上下0で画像が天地に密着 */
  gap: 16px;
  border-left: none;            /* 画像が左端を覆うため左ボーダーは廃止 */
  height: 90px;                 /* 画像高さに固定(min-heightだと伸びる) */
  overflow: hidden;             /* 画像の角を banner に合わせて切る */
}
/* 画像版ホバー: padding/border を画像なし版の挙動から打ち消す */
.calendar-banner.has-image:hover {
  padding: 0 18px 0 0;
  border-left: none;
  background: var(--green-soft);
}
/* desc は2行で省略して banner 高さを維持 */
.calendar-banner.has-image .calendar-banner-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.calendar-banner-img {
  width: 160px;
  height: 90px;                 /* 明示固定 */
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, var(--green-soft) 0%, #fff 60%, var(--bg-alt) 100%);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  font-family: var(--font-en-sans);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--green-deep);
  text-transform: uppercase;
  overflow: hidden;
  position: relative;
  align-self: stretch;          /* バナー高さに追従 */
}
.calendar-banner.has-image:hover .calendar-banner-img {
  filter: brightness(1.04);
}

/* 1100px 以下: 1カラムに折り返し */
@media (max-width: 1100px) {
  .calendar-2col {
    grid-template-columns: 1fr;
  }
  .calendar-2col .calendar-embed {
    min-height: 360px;
  }
  .calendar-banners {
    margin-top: 8px;
  }
}

/* === §7 EVENT CALENDAR 2カラム化ここまで（v48-calendar-2col） === */

/* ============================================================
   HERO クイックリンク（nopporo-hero-quicklinks / 2026-06-12）
   公園(koen-top)で house 化した .quick-links を野幌へ移植。
   HERO下部に ご利用案内 / 行事案内 / アクセス の3導線を表示。
   既定＝暗いHERO写真上の白枠・白字。is-light＝明地用（下層/関連リンクで流用可）。
   ============================================================ */
.quick-links{display:flex;flex-wrap:wrap;gap:var(--s-3);margin-top:36px;}
.quick-link{display:inline-flex;align-items:center;gap:10px;padding:13px 22px;border:1px solid rgba(255,255,255,.55);font-size:13px;letter-spacing:.12em;color:#fff;transition:background .25s,gap .25s,border-color .25s;}
.quick-link:hover{background:rgba(255,255,255,.14);gap:16px;}
.quick-link .arr{font-family:var(--font-en-serif);font-size:15px;}
/* 明地バリアント（HEROでは未使用・下層/関連用の備え） */
.quick-links.is-light{margin-top:var(--s-5);}
.quick-links.is-light .quick-link{border-color:var(--green-deep);color:var(--green-deep);}
.quick-links.is-light .quick-link:hover{background:var(--green-deep);color:#fff;}
/* HERO内：既存 hero-eyebrow/h1 と同じ fadeUp リズムに乗せる（hero-en の 0.7s の次＝0.85s） */
.hero .quick-links{animation:fadeUp 0.9s ease 0.85s both;}
@media(max-width:600px){
  .hero .quick-links{margin-top:26px;gap:8px;}
  .hero .quick-link{padding:11px 16px;font-size:12px;letter-spacing:.06em;}
}
/* === HERO クイックリンクここまで（nopporo-hero-quicklinks） === */
