@charset "utf-8";

/* =========================================================
   NASUSHIOBARA COMER CON
   assets/css/style.css
   ---------------------------------------------------------
   デザイン方針：ポスターv2 準拠（B案「グリーン・ドミナント」）
   　・主色は緑 #569B2E ひと色。白と濃緑で明暗をつくる
   　・面で緑を使い、白抜き文字で見出しを立てる
   　・数字（日付・時刻）は Outfit の細身で大きく
   ---------------------------------------------------------
   1. 変数・リセット
   2. 共通パーツ（見出し／ボタン／プレースホルダ等）
   3. ヘッダー／フッター
   4. トップページ
   5. 下層ページ共通
   6. レスポンシブ
   ========================================================= */


/* =========================================================
   1. 変数・リセット
   ========================================================= */

:root {
  /* 配色（ポスターv2から採寸。主色 #569B2E ひと色で組み立てる） */
  --c-green:     #569B2E;  /* 主色 */
  --c-green-d:   #3B6D1E;  /* 濃緑：セクションの地 */
  --c-green-dd:  #1E3E0E;  /* 最暗：帯・フッター */
  --c-green-l:   #8FC46A;  /* 明るい緑：暗い面の上の補助文字 */
  --c-green-p:   #EAF3E3;  /* 淡い緑：アイコン地・チップ */

  --c-bg:        #FBFDF9;  /* ベース背景（ほぼ白） */
  --c-bg-alt:    #F2F7EE;  /* 交互に敷くセクション背景 */
  --c-card:      #FFFFFF;  /* カード面 */
  --c-ink:       #1B2812;  /* 本文・見出し */
  --c-ink-mid:   #5C6B51;  /* 補足文 */
  --c-ink-weak:  #8A9680;  /* ラベル・注釈 */
  --c-line:      #E2EBDB;  /* 罫線 */

  /* 旧名の互換（下層ページのクラスがこれを参照している） */
  --c-dark:      var(--c-green-d);
  --c-accent:    var(--c-green);

  /* タイポ */
  --f-sans: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
            "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --f-num:  "Outfit", var(--f-sans);   /* 数字・英字 */

  /* レイアウト */
  --w-max: 1120px;
  --pad-x: 24px;
  --header-h: 72px;

  --radius: 14px;
  --arch: 999px 999px 12px 12px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  /* scroll-behavior: smooth は使わない。スムーススクロールが無効な環境
     （Chromeの設定やOS次第で実在する）では smooth 指定があると
     ページ内アンカーへの着地自体が丸ごと不発になるため（実機で確認済み） */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-bg);
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  overflow-wrap: anywhere;
  /* hidden だと body がスクロールコンテナ化してページ内アンカーへの
     着地スクロールが空振りする（#contact 等が効かなくなる）。clip は
     はみ出しを切るだけでスクロールコンテナを作らないので、こちらを使う */
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; border-style: none; }
a   { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

/* 数字・英字だけ Outfit にするユーティリティ */
.num { font-family: var(--f-num); font-feature-settings: normal; }

/* キーボード操作時のみフォーカスリングを出す */
:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: 3px;
}

/* スクリーンリーダー専用 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* 「本文へスキップ」リンク */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 200;
  padding: 10px 16px; background: var(--c-green-dd); color: #fff; border-radius: 0 0 8px 8px;
}
.skip-link:focus { top: 0; }


/* =========================================================
   2. 共通パーツ
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.container--narrow { max-width: 860px; }

/* セクション */
.section { padding-block: 104px; }
.section--alt { background: var(--c-bg-alt); }
.section--tight { padding-block: 72px; }

/* 濃緑で塗るセクション（B案の要。白抜きで見出しを立てる） */
.section--green {
  background: #5FA139;
  color: #fff;
}
.section--green .sec-label { color: var(--c-green-l); }
.section--green .sec-lead  { color: rgba(255, 255, 255, .82); }
.section--green .sec-head::after { background: rgba(255, 255, 255, .26); }

/* セクション見出し（英字ラベル＋和文見出し＋罫線） */
.sec-label {
  font-family: var(--f-num);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3em;
  color: var(--c-green);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.sec-head {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 44px;
}
.sec-head h2 {
  font-size: clamp(25px, 4vw, 44px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.34;
}
.sec-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--c-line);
}
.sec-lead {
  color: var(--c-ink-mid);
  margin-bottom: 44px;
  max-width: 46em;
}
/* 見出しの直後にリード文が来るときは、間を詰めて塊に見せる */
.sec-head + .sec-lead { margin-top: -26px; }
/* 46em に収まらない長さでも1行で見せたいリード文に付ける（折り返しは .nobr の文節単位） */
.sec-lead--wide { max-width: none; }

/* 中央寄せ見出し（下層ページの冒頭など） */
.sec-head--center { flex-direction: column; gap: 10px; text-align: center; }
.sec-head--center::after { display: none; }

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 32px;
  border-radius: 999px;
  border: 1.6px solid var(--c-green);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-align: center;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--fill  { background: var(--c-green); color: #fff; }
.btn--fill:hover  { background: var(--c-green-d); border-color: var(--c-green-d); }
.btn--ghost { background: transparent; color: var(--c-green); }
.btn--ghost:hover { background: var(--c-green); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--c-green-d); }
.btn--light:hover { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
/* 緑の面の上に置く線ボタン */
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); }
.btn--on-dark:hover { background: #fff; border-color: #fff; color: var(--c-green-d); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 13px; }
.btn--block { width: 100%; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -16px rgba(30, 62, 14, .5); }
.btn:active { transform: translateY(0); }

/* テキストリンク（→つき） */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-green);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-more::after { content: "→"; transition: transform .3s var(--ease); }
.link-more:hover { color: var(--c-green-d); gap: 12px; }

/* タグ（カテゴリチップ） */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-block;
  padding: 6px 16px;
  border: 1.4px solid var(--c-green-l);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--c-green-d);
  white-space: nowrap;
}
.section--green .tag { border-color: rgba(255, 255, 255, .55); color: #fff; }

/* 注釈 */
.note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-ink-weak);
}
.note--mt { margin-top: 20px; }

/* 文節単位で折り返す（単語の途中で改行させない） */
.nobr { display: inline-block; }
.section--green .note { color: rgba(255, 255, 255, .7); }

/* 画像プレースホルダ（本番写真に差し替える箱） */
.ph {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--c-green-p);
  background-image: linear-gradient(135deg, transparent 48%, rgba(86, 155, 46, .1) 50%, transparent 52%);
  background-size: 22px 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.ph span {
  position: relative;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--c-green);
  text-align: center;
}
.ph--arch  { border-radius: var(--arch); aspect-ratio: 3 / 4; }
.ph--wide  { aspect-ratio: 16 / 9; }
.ph--sq    { aspect-ratio: 1 / 1; }
/* 写真に差し替えたら .ph の中に <img> を入れるだけで全面表示になる */
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* 定義リスト風テーブル（開催概要など） */
.spec { border-top: 1.5px solid var(--c-ink); }
.spec div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--c-line);
}
.spec dt { font-weight: 900; font-size: 12.5px; letter-spacing: .12em; color: var(--c-green); padding-top: 3px; }
.spec dd { font-size: 14.5px; color: var(--c-ink-mid); }

/* カード */
.card {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 26px;
}

/* 表示アニメーション（JSで .is-visible を付与） */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* =========================================================
   3. ヘッダー／フッター
   ========================================================= */

/* 上端では透明（緑のヒーロー／ページ見出しに重ねる）。
   スクロールすると濃緑のバーになる。文字は常に白。 */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  background: #5FA139;
  transition: box-shadow .35s var(--ease);
}
.header.is-scrolled {
  box-shadow: 0 8px 30px -20px rgba(0, 0, 0, .8);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--f-num);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.2;
  white-space: nowrap;
}
/* 円章のマーク。緑地に白抜きで載るので、透明ヘッダー・濃緑ヘッダーの両方で成立する */
.logo__mark {
  flex: none;
  width: 32px;
  height: auto;
}
.logo small {
  display: block;
  font-family: var(--f-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
  opacity: .8;
}

.gnav { margin-left: auto; }
.gnav ul { display: flex; align-items: center; gap: 26px; }
.gnav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  padding-block: 6px;
  white-space: nowrap;
  opacity: .9;
  transition: opacity .25s var(--ease);
}
.gnav a:hover { opacity: 1; }
.gnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.gnav a:hover::after,
.gnav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

/* ヘッダー内のエントリーボタンは白線ボタン */
.header .btn {
  min-height: 42px;
  padding: 0 22px;
  font-size: 12.5px;
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
}
.header .btn:hover { background: #fff; color: var(--c-green-d); border-color: #fff; box-shadow: none; }
.header .btn::after { display: none; }

/* ハンバーガー（SPのみ表示） */
.hamburger {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  margin-left: auto;
  flex: none;
  border: 1.4px solid rgba(255, 255, 255, .6);
  border-radius: 50%;
}
.hamburger span {
  position: absolute;
  left: 12px;
  width: 18px; height: 1.6px;
  background: #fff;
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 20px; }
.hamburger span:nth-child(3) { top: 25px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* フッター */
.footer {
  background: #5FA139;
  color: #fff;
  padding-block: 76px 32px;
}
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 44px;
  opacity: .9;
}
.footer__brand {
  text-align: center;
  font-family: var(--f-num);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .12em;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
/* 縦組みロックアップ（マーク＋COMER CON＋NASUSHIOBARA） */
.footer__logo {
  display: block;
  width: 118px;
  height: auto;
  margin-inline: auto;
}
.footer__copy {
  display: block;
  margin-top: 18px;
  font-family: var(--f-sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .62);
}


/* =========================================================
   4. トップページ
   ========================================================= */

/* --- ヒーロー（全面グリーン・左寄せ・輪郭だけの日付） --- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: calc(var(--header-h) + 48px) 108px;
  background: var(--c-green);
  color: #fff;
  text-align: left;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .14), transparent 60%),
    radial-gradient(90% 70% at 80% 100%, rgba(0, 0, 0, .18), transparent 60%);
}
.hero .container { position: relative; z-index: 2; }

/* 背景の稜線と太陽（ポスターの線画をそのまま持ってきている） */
.hero__ridge {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--header-h) + 4px);
  width: 100%;
  height: 220px;
  color: rgba(255, 255, 255, .28);
  z-index: 1;
}
.hero__sun {
  position: absolute;
  top: 15%; right: 7%;
  width: 86px; height: 86px;
  color: rgba(255, 255, 255, .4);
  z-index: 1;
  animation: spin 46s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-num);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3em;
  opacity: .85;
  margin-bottom: 26px;
}
.hero__kicker::before { content: ""; width: 44px; height: 1.5px; background: currentColor; flex: none; }
/* 区切りのスラッシュは疑似要素。2行に折れる幅では行頭に「/」が残るので消す */
.hero__kicker .ja::before { content: "/"; margin-right: .7em; opacity: .75; }

/* 見出しは10文字を必ず1行に収める。10文字 × (1em + letter-spacing .01em)
   ＝約10.1em。いちばん厳しいのは320px幅（スクロールバー15px＋左右パディング40pxを
   引いて265px）で、265 / 320 / 10.1 ＝ 8.2vw。余裕をみて 8.0vw、
   デスクトップは 103px で頭打ち（10.1em × 103px ≒ 1040px／コンテナ1072px） */
.hero__title {
  font-size: min(8.0vw, 103px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: .01em;
  margin-bottom: 0;
}
.hero__title span { display: block; }
.hero__title span + span { padding-left: clamp(0px, 4vw, 72px); }
/* 見出しに続く説明の一文。見出しより小さく置いて主従をつける。
   20文字あるので320px幅では折り返す。読点で折るため文節ごとに span で包む
   （.hero__sub と同じ考え方）。span を外すと語中で割れる */
.hero__title .sm span { display: inline-block; padding-left: 0; }
.hero__title .sm {
  padding-left: 0;            /* 見出し2行目の段差には乗せず、左端で始める */
  font-size: clamp(16px, 2.4vw, 31px);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .04em;
  margin-top: clamp(10px, 1.4vw, 18px);
}

.hero__sub {
  margin-top: 26px;
  font-size: clamp(13.5px, 1.7vw, 17px);
  letter-spacing: .07em;
  opacity: .92;
  max-width: 36em;
}
/* 文節ごとに折り返す。狭い幅で語中（ぜん／ぶ）で割れるのを防ぐ */
.hero__sub span { display: inline-block; }

/* 日付：輪郭だけの巨大な数字 */
.hero__date {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 28px);
  margin-top: clamp(34px, 5vw, 56px);
}
.hero__date b {
  font-family: var(--f-num);
  font-weight: 200;
  font-size: clamp(76px, 16.5vw, 222px);
  line-height: .8;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255, 255, 255, .92);
}
.hero__date i { font-style: normal; padding-bottom: clamp(6px, 1.4vw, 20px); display: grid; gap: 6px; }
.hero__date .y {
  font-family: var(--f-num);
  font-weight: 600;
  font-size: clamp(14px, 1.7vw, 20px);
  letter-spacing: .22em;
  opacity: .85;
}
.hero__date .t {
  font-family: var(--f-num);
  font-weight: 600;
  font-size: clamp(20px, 3.2vw, 42px);
  letter-spacing: .06em;
  line-height: 1;
}

.hero__meta {
  margin-top: clamp(30px, 4vw, 50px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  font-size: 13.5px;
  letter-spacing: .05em;
}
.hero__meta b { font-weight: 700; }
.hero__meta .loc { display: inline-block; } /* 括弧の中で割れないように塊で落とす */
.hero__meta .pill {
  border: 1.4px solid rgba(255, 255, 255, .8);
  border-radius: 999px;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 700;
}

/* 回転スタンプ */
.hero__stamp {
  position: absolute;
  right: 6%; bottom: 12%;
  width: 132px; height: 132px;
  z-index: 3;
  color: #fff;
  animation: spin 24s linear infinite;
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 8px;
  font-family: var(--f-num);
  font-size: 10px;
  letter-spacing: .3em;
  opacity: .8;
}
.hero__scroll i { width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: drop 2s ease-in-out infinite; }
@keyframes drop {
  0%, 100% { opacity: .3; transform: scaleY(.4); transform-origin: top; }
  50%      { opacity: 1;  transform: scaleY(1); }
}

.hero__note { margin: 0; }

/* --- 扉リビール（トップのみ。マークアップは index.html 末尾、開閉は main.js） --- */
.door {
  position: fixed;
  inset: 0;
  z-index: 200; /* ヘッダー(100)より上 */
  overflow: hidden;
  pointer-events: none;
}
.door.is-done { display: none; }
.door__panel {
  position: absolute;
  top: 0; bottom: 0;
  width: 50.5%;
  transition: transform 1.15s cubic-bezier(.66, 0, .34, 1);
  will-change: transform;
}
.door__panel--l {
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(105deg, var(--c-green-d) 60%, var(--c-green-dd) 100%);
}
.door__panel--r {
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, .18);
  background: linear-gradient(255deg, var(--c-green-d) 60%, var(--c-green-dd) 100%);
}
.door__label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  color: #fff;
  text-align: center;
  transition: opacity .5s, filter .5s;
}
.door__label img { width: min(36vw, 150px); height: auto; }
.door__label span {
  font-family: var(--f-num);
  font-weight: 600;
  font-size: clamp(10px, 1.6vw, 13px);
  letter-spacing: .32em;
  opacity: .85;
}
.door.is-open .door__panel--l { transform: translateX(-100%); }
.door.is-open .door__panel--r { transform: translateX(100%); }
.door.is-open .door__label { opacity: 0; filter: blur(8px); }

/* 扉が開き切った合図（JSが body に .door-open を付与）で、
   見出しと「10.31」を1文字ずつ動かす。文字のspan化もJSが行う */
.hero__title .lt2 { display: inline-block; }
.hero__title .lt2 + .lt2 { padding-left: 0; } /* 2行目の段差用 span+span の padding を打ち消す */
.hero__date b .lt { display: inline-block; }
body.door-open .hero__title .lt2 { animation: lt-wave .6s both; animation-delay: var(--d, 0s); }
body.door-open .hero__date b .lt { animation: lt-pop .55s both; animation-delay: var(--d, 0s); }
@keyframes lt-wave {
  0%   { transform: translateY(0); }
  35%  { transform: translateY(-.14em); }
  70%  { transform: translateY(.05em); }
  100% { transform: translateY(0); }
}
@keyframes lt-pop {
  0%   { transform: translateY(0) scale(1); }
  35%  { transform: translateY(-.07em) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}

/* --- 流れる帯 --- */
.marquee {
  background: var(--c-green-dd);
  color: #fff;
  padding-block: 15px;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 40px;
  padding-right: 40px;
  animation: marquee 30s linear infinite;
}
.marquee span {
  font-family: var(--f-num);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .22em;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --- ABOUT --- */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about__body p + p { margin-top: 1.2em; }
.about__body .tags { margin-top: 28px; }

/* 写真2枚をずらして置く */
.about__visual { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: center; }
.about__visual .ph:nth-child(1) { aspect-ratio: 4 / 5; }
.about__visual .ph:nth-child(2) { aspect-ratio: 3 / 4; }

/* --- お知らせ --- */
.news { border-top: 1px solid var(--c-line); }
.news li { border-bottom: 1px solid var(--c-line); }
.news a {
  display: grid;
  grid-template-columns: 110px 92px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 4px;
  transition: background-color .3s var(--ease), padding-left .3s var(--ease);
}
.news a:hover { background: #fff; padding-left: 14px; }
.news__date { font-family: var(--f-num); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--c-green); }
.news__cat {
  justify-self: start;
  padding: 3px 13px;
  border: 1px solid var(--c-green-l);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--c-green-d);
  white-space: nowrap;
}
.news__ttl { font-size: 14.5px; }
.news-foot { display: flex; justify-content: flex-end; margin-top: 28px; }

/* お知らせ一覧ページ（news.html）。月ラベル＋その月のリストの2カラム */
.news-month {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 40px;
  padding-block: 34px;
  border-top: 1px solid var(--c-line);
}
.news-month:first-of-type { border-top: none; }
.news-month__label {
  font-family: var(--f-num);
  font-weight: 200;
  font-size: 44px;
  letter-spacing: .02em;
  color: var(--c-green);
  line-height: 1.1;
}
.news-month__label b {
  display: block;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .24em;
  color: var(--c-ink-weak);
}
.news-month .news { border-top: none; }
.news-month .news a { grid-template-columns: 78px 92px 1fr; }
.news-month .news__date { color: var(--c-ink-weak); }

/* お知らせ記事ページ（news-YYYYMMDD.html）。
   日付を大きく置いて、一覧ページの月ラベルと視覚言語を揃える */
.art-head {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 8px 40px;
  align-items: start;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 44px;
}
.art-date {
  font-family: var(--f-num);
  font-weight: 200;
  font-size: 44px;
  letter-spacing: .02em;
  color: var(--c-green);
  line-height: 1.1;
}
.art-date b {
  display: block;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .24em;
  color: var(--c-ink-weak);
}
.art-head h1 {
  font-size: clamp(21px, 3vw, 30px);
  line-height: 1.6;
  margin-bottom: 10px;
}
.art p { margin: 0 0 1.7em; }
.art h2 {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 900;
  letter-spacing: .05em;
  line-height: 1.5;
  margin: 2.4em 0 1em;
  padding-left: 14px;
  border-left: 4px solid var(--c-green);
}
.art ul { list-style: disc; padding-left: 1.5em; margin: 0 0 1.7em; }
.art ul li { margin-bottom: .4em; }
.art .ph { margin: 0 0 1.7em; }
.art-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2em; }
.art-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
  font-size: 13px;
  font-weight: 700;
}
.art-nav .prev { justify-self: start; }
.art-nav .next { justify-self: end; }
.art-nav a { color: var(--c-green); }

/* --- たのしみかた（5エリア／濃緑の面に横一列で並べる） --- */
.enjoy-list { border-top: 1px solid rgba(255, 255, 255, .24); }
.enjoy-row {
  display: grid;
  grid-template-columns: 74px 1fr 1.15fr auto;
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 2.6vw, 32px) 6px;
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  position: relative;
  transition: padding-left .35s var(--ease);
}
.enjoy-row::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .07);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.enjoy-row:hover { padding-left: 22px; }
.enjoy-row:hover::before { opacity: 1; }
.enjoy-row > * { position: relative; z-index: 1; }

.enjoy-row__no { font-family: var(--f-num); font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--c-green-l); }
.enjoy-row__ttl {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(18px, 2.3vw, 27px);
  font-weight: 900;
  letter-spacing: .06em;
}
.enjoy-row__ttl .icon { width: 26px; height: 26px; flex: none; opacity: .9; }
.enjoy-row__txt { font-size: 13.5px; line-height: 1.8; color: rgba(255, 255, 255, .82); }
.enjoy-row__arrow {
  width: 42px; height: 42px;
  border: 1.4px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  display: grid; place-items: center;
  flex: none;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.enjoy-row__arrow .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.enjoy-row:hover .enjoy-row__arrow {
  background: #fff; color: var(--c-green-d); border-color: #fff; transform: rotate(-45deg);
}

/* --- ステージプログラム --- */
.stage__grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.timetable { border-top: 1.5px solid var(--c-ink); }
.timetable tr { border-bottom: 1px solid var(--c-line); }
.timetable tr:hover { background: var(--c-bg-alt); }
.timetable th,
.timetable td { padding: 15px 14px; text-align: left; font-size: 14px; vertical-align: top; }
.timetable th {
  width: 112px;
  font-family: var(--f-num);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--c-green);
  white-space: nowrap;
}
/* 公開前の未発表枠（内容フィックス済みだが伏せている）。発表時は td の class="tba" を外す */
.timetable td.tba { font-family: var(--f-num); font-weight: 400; letter-spacing: .14em; color: var(--c-ink-mid); opacity: .75; }
.stage__side { display: grid; gap: 20px; }
.stage__side .btn { width: 100%; }

/* --- もったいないごはんの配布 --- */
.section--rice { background: var(--c-green-p); }
.rice-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  margin-top: 8px;
}
.rice-copy { line-height: 2; }
.rice-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
.rice-card {
  background: #fff;
  border: 1.5px solid var(--c-green);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.rice-card__title {
  font-size: 18px;
  font-weight: 900;
  color: var(--c-green);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-line);
}
.rice-card__badge {
  align-self: flex-start;
  background: var(--c-green);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: .06em;
  border-radius: 999px;
  padding: 7px 18px;
}
.rice-card__time {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--c-green);
}
.rice-card__time i {
  font-style: normal;
  font-size: 12.5px;
  font-weight: 900;
  border: 1.5px solid var(--c-green);
  border-radius: 999px;
  padding: 3px 12px;
  white-space: nowrap;
}
.rice-card__time b { font-family: var(--f-num); font-size: 30px; font-weight: 600; line-height: 1; }
.rice-card__time span { font-weight: 900; font-size: 15px; }
.rice-card__place { font-weight: 700; font-size: 14px; }
.rice-card__txt { font-size: 14px; line-height: 1.9; color: var(--c-ink-mid); }
.rice-card__sub { font-size: 12.5px; color: var(--c-ink-mid); margin-top: 6px; }
.rice-card__slot + .rice-card__slot { margin-top: 4px; }
/* 注記は margin-top: auto でカード下端に揃え、2枚の高さ差を吸収する */
.rice-card__note { font-size: 12px; color: var(--c-ink-mid); line-height: 1.9; margin-top: auto; }
/* 薄緑地では写真枠が沈むため白抜きに反転 */
.section--rice .ph {
  background: #fff;
  background-image: linear-gradient(135deg, transparent 48%, rgba(86, 155, 46, .1) 50%, transparent 52%);
  background-size: 22px 22px;
}

/* --- ECO --- */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eco-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: var(--c-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.eco-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-green);
  box-shadow: 0 24px 44px -32px rgba(47, 90, 23, .7);
}
.eco-card__icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--c-green-p);
  border: none;
  display: grid; place-items: center;
  color: var(--c-green);
}

/* アイコン用SVG（線は currentColor で描画） */
.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.eco-card h3 { font-size: 16.5px; font-weight: 900; letter-spacing: .06em; margin-bottom: 8px; }
.eco-card p  { font-size: 13px; color: var(--c-ink-mid); }
.eco-foot { text-align: center; margin-top: 36px; color: var(--c-ink-mid); }

/* --- エントリー --- */
.entry__grid { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.entry__block + .entry__block { margin-top: 34px; }
.entry__block h3 {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: 12px;
  padding-left: 14px;
  border-left: 4px solid var(--c-green);
}
.entry__box { display: grid; gap: 12px; }

/* --- アクセス --- */
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.access__map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-line);
}
.access__map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) saturate(.85); }

/* --- 最終CTA --- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--c-green);
  color: #fff;
  text-align: left;
  padding-block: clamp(72px, 9vw, 120px);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(70% 100% at 20% 0, rgba(255, 255, 255, .14), transparent);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 {
  font-size: clamp(27px, 4.8vw, 54px);
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1.26;
  margin-bottom: 20px;
}
.cta-band p { color: rgba(255, 255, 255, .92); margin-bottom: 38px; max-width: 40em; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 16px; }


/* =========================================================
   5. 下層ページ共通
   ========================================================= */

/* ページ見出し：全面グリーンの帯。パンくずも中に入れる */
.page-head {
  background: var(--c-green);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding-block: calc(var(--header-h) + 44px) 72px;
  margin-bottom: 84px;
}
.page-head::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(110% 90% at 70% 0%, rgba(255, 255, 255, .14), transparent 62%);
}
.page-head .container { position: relative; z-index: 1; }
.page-head__en {
  font-family: var(--f-num);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .78);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-head h1 {
  font-size: clamp(28px, 5.4vw, 58px);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.24;
  margin-bottom: 20px;
}
.page-head p { color: rgba(255, 255, 255, .9); max-width: 42em; font-size: 14.5px; }

/* パンくず（グリーン帯の中） */
.breadcrumb {
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 26px;
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "＞"; margin-right: 8px; opacity: .6; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* 見出し（下層の中見出し） */
.h-block {
  font-size: clamp(20px, 2.6vw, 27px);
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid var(--c-ink);
}
.h-sub {
  font-size: 15.5px;
  font-weight: 900;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.block + .block { margin-top: 76px; }

/* タブ（出店カテゴリ切替） */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.tabs button {
  flex: 1 1 auto;
  min-width: 140px;
  min-height: 54px;
  padding: 0 20px;
  border: 1.4px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-card);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--c-ink-mid);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.tabs button:hover { border-color: var(--c-green); color: var(--c-green); }
.tabs button[aria-selected="true"] {
  background: var(--c-green);
  border-color: var(--c-green);
  color: #fff;
}
.tabpanel[hidden] { display: none; }

/* 募集要項テーブル */
.req { border-top: 1.5px solid var(--c-ink); }
.req div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--c-line);
}
.req dt { font-weight: 900; font-size: 13.5px; letter-spacing: .04em; }
.req dd { font-size: 14px; color: var(--c-ink-mid); }

/* FAQ（アコーディオン） */
/* --- エントリーフォーム（stage.html） --- */
.entry-form { max-width: 760px; }

/* お問い合わせパネル（access.html）：薄緑地に白い入力欄を載せる */
.contact-panel {
  background: var(--c-green-p);
  border-radius: 18px;
  padding: 44px 40px 36px;
}
.contact-panel .entry-form { max-width: none; }
.contact-panel .f-agree { justify-content: center; }
.contact-panel .f-submit { text-align: center; }
.contact-panel .f-submit .btn { min-width: 300px; }
.contact-panel .note { text-align: center; }
@media (max-width: 768px) {
  .contact-panel { padding: 28px 20px 24px; }
  .contact-panel .f-submit .btn { min-width: 0; width: 100%; }
}
.fsec { margin-bottom: 40px; }
.fsec__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px; padding-bottom: 12px;
  border-bottom: 1.5px solid var(--c-line);
}
.fsec__no {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c-green); color: #fff;
  font-family: var(--f-num); font-weight: 600; font-size: 16px;
}
.fsec__ttl { font-weight: 900; font-size: 17px; letter-spacing: .06em; }

.f-row { margin-bottom: 26px; }
.f-label {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 14.5px; letter-spacing: .05em;
  margin-bottom: 10px;
}
.f-req, .f-opt {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  border-radius: 5px; padding: 3px 8px;
}
.f-req { background: var(--c-green); color: #fff; }
.f-opt { background: var(--c-bg-alt); color: var(--c-ink-mid); border: 1px solid var(--c-line); }
.f-input, .f-select, .f-textarea {
  width: 100%;
  font: inherit; font-size: 15px;
  padding: 13px 16px;
  border: 1.5px solid var(--c-line);
  border-radius: 10px;
  background: #fff;
  color: var(--c-ink);
}
.f-input:focus, .f-select:focus, .f-textarea:focus {
  outline: none; border-color: var(--c-green);
  box-shadow: 0 0 0 3px rgba(86, 155, 46, .15);
}
.f-textarea { min-height: 120px; resize: vertical; }
/* 応募フォームの選択カード（exhibit → entry-food / entry-pr） */
.entry-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.entry-choice__item { display: block; padding: 30px 26px; text-align: center; }
.entry-choice__item h3 { font-size: 18px; font-weight: 900; letter-spacing: .04em; margin-bottom: 10px; }
.entry-choice__item p { font-size: 13px; color: var(--c-ink-mid); margin-bottom: 20px; }
.entry-choice__item .btn { pointer-events: none; }

/* 送信完了（entry.js が差し込む） */
.entry-done { text-align: center; padding: 56px 0; }
.entry-done h3 { font-size: 20px; font-weight: 900; letter-spacing: .06em; margin-bottom: 12px; }
.entry-done p { color: var(--c-ink-mid); font-size: 14px; }

/* ファイル添付（entry-food） */
.f-file {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1px dashed var(--c-line);
  border-radius: 10px;
  background: var(--c-bg);
  font-size: 14px;
  color: var(--c-ink-mid);
}

.f-radios { display: flex; flex-wrap: wrap; gap: 10px; }
.f-radio {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--c-line); border-radius: 99px;
  padding: 11px 20px; cursor: pointer; background: #fff; font-size: 14.5px;
}
.f-radio input { accent-color: var(--c-green); }
.f-radio:has(input:checked) { border-color: var(--c-green); color: var(--c-green); font-weight: 700; background: var(--c-green-p); }
.f-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 640px) { .f-grid2 { grid-template-columns: 1fr; } }
.f-agree {
  display: flex; align-items: center; gap: 10px;
  margin: 30px 0 18px; font-size: 14px;
}
.f-agree input { width: 18px; height: 18px; accent-color: var(--c-green); }
.f-submit .btn { min-width: 280px; }

.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq details[open] { border-color: var(--c-green-l); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 22px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  transition: background-color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 8px; height: 8px;
  margin-left: auto;
  flex: none;
  border-right: 1.8px solid var(--c-green);
  border-bottom: 1.8px solid var(--c-green);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq summary:hover { background: var(--c-bg-alt); }
.faq__a {
  padding: 18px 22px 22px;
  font-size: 14px;
  color: var(--c-ink-mid);
  border-top: 1px solid var(--c-line);
}

/* 出演カテゴリ（ステージ）
   flex＋中央寄せ：カードが列数で割り切れない枚数でも最終行が中央に寄る */
.cat-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.cat-card {
  width: calc((100% - 32px) / 3);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: var(--c-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-green);
  box-shadow: 0 24px 44px -32px rgba(47, 90, 23, .7);
}
.cat-card h3 { font-size: 16px; font-weight: 900; letter-spacing: .06em; margin-bottom: 8px; }
.cat-card p  { font-size: 13px; color: var(--c-ink-mid); }

/* 取り組みリスト（環境ページ） */
/* 食の循環フロー（eco.html） */
.cycle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 6px;
  margin: 4px 0 10px;
}
.cycle__step {
  border: 1.5px solid var(--c-green);
  color: var(--c-green);
  background: #fff;
  border-radius: 99px;
  padding: 10px 22px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 14.5px;
}
.cycle__arrow {
  color: var(--c-green);
  font-family: var(--f-num);
  font-size: 18px;
  opacity: .65;
}

.eco-list { display: grid; gap: 14px; }
.eco-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  background: var(--c-card);
}
.eco-item__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--c-green-p);
  border: none;
  display: grid; place-items: center;
  color: var(--c-green);
}
.eco-item__icon .icon { width: 28px; height: 28px; }
.eco-item h3 { font-size: 16.5px; font-weight: 900; letter-spacing: .06em; margin-bottom: 8px; }
.eco-item p  { font-size: 14px; color: var(--c-ink-mid); }

/* 強調ボックス（フードドライブ受付など） */
.callout {
  background: var(--c-green-p);
  border: none;
  border-radius: var(--radius);
  padding: 48px 36px;
  text-align: center;
}
.callout h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 900; letter-spacing: .06em; margin-bottom: 12px; }
.callout p  { color: var(--c-ink-mid); margin-bottom: 22px; }
.callout .tags { justify-content: center; margin-bottom: 26px; }

/* 下層ページ末尾のCTA */
.page-cta {
  background: var(--c-green);
  color: #fff;
  text-align: center;
  padding-block: clamp(64px, 8vw, 96px);
  margin-top: 96px;
}
.page-cta h2 { font-size: clamp(22px, 3.8vw, 36px); font-weight: 900; letter-spacing: .05em; margin-bottom: 14px; }
.page-cta p  { color: rgba(255, 255, 255, .9); margin-bottom: 32px; }
.page-cta__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }


/* =========================================================
   6. レスポンシブ
   ========================================================= */

/* --- ナビが窮屈になる幅：エントリーボタンを畳んで文字を詰める --- */
@media (max-width: 1080px) {
  .header .btn { display: none; }
  .gnav ul { gap: 18px; }
  .gnav a { font-size: 12px; letter-spacing: .04em; }
  .logo { font-size: 15px; gap: 9px; }
  .logo__mark { width: 31px; }
}

/* --- タブレット --- */
@media (max-width: 980px) {
  .about__grid,
  .stage__grid,
  .entry__grid,
  .access__grid { grid-template-columns: 1fr; gap: 40px; }

  .cat-card  { width: calc((100% - 16px) / 2); }
  .eco-grid  { grid-template-columns: repeat(3, 1fr); }

  .enjoy-row { grid-template-columns: 58px 1fr auto; row-gap: 8px; }
  .enjoy-row__txt { grid-column: 2 / 3; }

  .hero__stamp { width: 96px; height: 96px; bottom: auto; top: calc(var(--header-h) + 8px); right: 4%; }
}

/* --- スマートフォン --- */
@media (max-width: 768px) {
  :root { --pad-x: 20px; --header-h: 62px; }

  body { font-size: 14.5px; line-height: 1.85; }

  .section { padding-block: 68px; }
  .section--tight { padding-block: 52px; }

  /* ヘッダー：PCナビを隠してハンバーガーへ */
  .header__inner { gap: 12px; }
  /* ロゴ＋マーク＋ハンバーガーで360px幅に収まるサイズ。
     大きくするとハンバーガーが画面外へ押し出されるので注意 */
  .logo { font-size: 13px; gap: 8px; }
  .logo__mark { width: 28px; }
  .logo small { font-size: 9.5px; letter-spacing: .1em; }
  .header .btn { display: none; }
  .hamburger { display: block; }
  /* メニューを開いている間は背景を敷いてロゴを読めるようにする */
  .header:has(.gnav.is-open) { background: var(--c-green-d); }

  .gnav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    margin: 0;
    background: var(--c-green-d);
    padding: 8px var(--pad-x) 28px;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform .35s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .gnav.is-open { transform: none; opacity: 1; visibility: visible; }
  .gnav ul { display: block; }
  .gnav li { border-bottom: 1px solid rgba(255, 255, 255, .18); }
  .gnav li:last-child { border-bottom: none; padding-top: 18px; }
  .gnav a { display: block; padding: 16px 4px; font-size: 15px; }
  .gnav a::after { display: none; }
  .gnav .btn {
    display: inline-flex; width: 100%;
    background: #fff; color: var(--c-green-d); border-color: #fff;
  }

  /* ヒーロー */
  .hero { min-height: auto; padding-block: calc(var(--header-h) + 40px) 72px; }
  .hero__title span + span { padding-left: 0; }
  /* 見出しの font-size は共通の min(8.0vw, 103px) のまま。SPで下限を設けると
     10文字が1行に収まらない（旧コピーは1行8文字だったので下限29pxを置いていた）。
     見出しが26px前後まで下がるぶん、説明行も一段落として主従を保つ */
  .hero__title .sm { font-size: clamp(13px, 3.8vw, 18px); margin-top: 12px; }
  /* キッカーは375px以下で必ず2行になる。英字と日本語の境目で折る */
  .hero__kicker {
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 10.5px;
    letter-spacing: .2em;
    margin-bottom: 20px;
  }
  .hero__kicker::before { width: 28px; }
  .hero__stamp { display: none; }
  .hero__scroll { display: none; }
  .hero__sun { top: 12%; right: 5%; width: 56px; height: 56px; }

  /* 見出し */
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
  .sec-head::after { width: 100%; flex: none; }
  .sec-head + .sec-lead { margin-top: -18px; }

  /* お知らせ：日付＋カテゴリを1行に */
  .news a { grid-template-columns: auto 1fr; gap: 6px 14px; padding-block: 16px; }
  .news__ttl { grid-column: 1 / -1; }

  /* お知らせ一覧：月ラベルを上に積む */
  .news-month { grid-template-columns: 1fr; gap: 4px; padding-block: 26px; }
  .news-month__label { font-size: 32px; }

  /* お知らせ記事：日付を上に積む */
  .art-head { grid-template-columns: 1fr; gap: 10px; }
  .art-date { font-size: 32px; }

  /* カード類 */
  .about__visual { grid-template-columns: 1fr 1fr; }
  .eco-grid { grid-template-columns: 1fr; }
  .cat-card { width: 100%; }
  .entry-choice { grid-template-columns: 1fr; }
  .rice-grid { grid-template-columns: 1fr; gap: 28px; }
  .rice-cards { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .rice-card { padding: 22px 20px; }
  .rice-card__time b { font-size: 26px; }

  /* たのしみかた：矢印を畳んで2行に */
  .enjoy-row { grid-template-columns: 46px 1fr; padding-block: 22px; }
  .enjoy-row__arrow { display: none; }
  .enjoy-row:hover { padding-left: 6px; }

  /* テーブル・定義リスト：縦積み */
  .spec div,
  .req div { grid-template-columns: 1fr; gap: 4px; padding-block: 14px; }
  .timetable th { width: 86px; font-size: 16px; }
  .timetable th,
  .timetable td { padding: 12px 10px; font-size: 13.5px; }

  .eco-item { grid-template-columns: 52px 1fr; gap: 16px; padding: 22px; }
  .eco-item__icon { width: 52px; height: 52px; }
  .eco-item__icon .icon { width: 24px; height: 24px; }

  .callout { padding: 36px 22px; }
  .page-head { padding-block: calc(var(--header-h) + 28px) 48px; margin-bottom: 56px; }

  .btn { width: 100%; }
  .cta-band__btns,
  .page-cta__btns,
  .tabs { flex-direction: column; }
  .tabs button { width: 100%; }

  .cta-band { padding-block: 64px; }
  .page-cta { margin-top: 68px; }
}

/* --- 400px以下：キッカーが必ず2行に折れる幅 --- */
@media (max-width: 400px) {
  /* 折り返し後の行頭に「/」だけが残るのを避ける */
  .hero__kicker .ja::before { content: none; }
}

/* --- 印刷 --- */
@media print {
  .header, .footer, .marquee, .hamburger, .cta-band, .page-cta,
  .hero__stamp, .hero__scroll, .hero__sun, .hero__ridge { display: none; }
  body { background: #fff; color: #000; }
  .hero, .page-head { background: #fff; color: #000; padding-block: 24px; }
  .hero__date b { color: #000; -webkit-text-stroke: 0; }
  .reveal { opacity: 1; transform: none; }
}
