/* =========================================================
   東成瀬村観光未来プロジェクト 公式サイト
   Design System — State of Green 実測準拠版
   （stateofgreen.com のDOM計測値に合わせ込み）
   font 600 / letter-spacing 0 / ink #363636 / tile .95 /
   section pad 80 / header transparent over hero
   ========================================================= */

:root {
  --ink:        #363636;   /* 本文・見出し共通（State of Green実測 rgb(54,54,54)） */
  --ink-soft:   #5c656b;
  --ink-3:      #8b949b;
  --blue:       #004bc8;   /* CTAリンク（実測 rgb(0,75,200)） */
  --forest:     #15533a;
  --forest-dk:  #0e3a28;
  --accent:     #e0a82e;

  --hero-1:     #0b2730;
  --hero-2:     #123b3f;

  --line:       #e5e7eb;
  --bg:         #ffffff;
  --bg-2:       #f5f5f5;   /* tint（実測 rgb(245,245,245)） */
  --bg-3:       #ececec;

  --maxw:       1280px;
  --pad:        30px;      /* 実測 grid-left 30px */
  --header-h:   90px;      /* 実測 */

  /* Latin=Inter（Unica近似）＋ 日本語=Noto Sans JP */
  --font: "Inter", "Noto Sans JP", "Yu Gothic", "游ゴシック", -apple-system, system-ui, sans-serif;
  --font-serif: "Zen Old Mincho", "Yu Mincho", "游明朝", serif;
}

* { box-sizing: border-box; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(21,83,58,.85); color: #fff; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font);
  font-size: 15px; font-weight: 400; line-height: 1.6;   /* 実測 15px / lh24 */
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "palt";
  overflow-x: hidden;   /* 横はみ出しによる白帯・横スクロールを防止 */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: 0; }  /* 実測 fw600 / ls normal */

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: 80px 0; }                 /* 実測 80px */
.section--tint { background: var(--bg-2); }
.section--forest { background: var(--forest); color: #fff; }
.section--ink { background: #1b2228; color: #fff; }

/* ---------- type scale（明朝見出し＝観光サイト格） ---------- */
.h-lg  { font-family: var(--font-serif); font-size: clamp(30px, 3.6vw, 46px); line-height: 1.3; font-weight: 600; letter-spacing: 0.04em; }
.h-md  { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px);   line-height: 1.3; font-weight: 600; letter-spacing: 0.04em; }
.lead  { color: var(--ink); font-size: 17px; line-height: 1.6; max-width: 560px; font-weight: 400; } /* 実測 17/27.2 */
.section--forest .lead, .section--ink .lead { color: rgba(255,255,255,.82); }

/* 英語アイブロウ（2層ラベル：英キッカー＋日本語見出し） */
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--forest); margin: 0 0 16px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; flex-shrink: 0; }
.section--forest .kicker, .section--ink .kicker { color: rgba(255,255,255,.65); }
.infobox .kicker { margin-bottom: 10px; color: var(--ink-3); }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head .h-md, .section-head .h-lg { margin: 0; }
.section-head .lead { margin-top: 14px; }

/* ---------- blue CTA link（実測 18px/600/uppercase/#004bc8/ls0） ---------- */
.alink {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 600; letter-spacing: 0; text-transform: uppercase;
  color: var(--blue); line-height: 1;
}
.alink svg { transition: transform .18s; }
.alink:hover svg { transform: translateX(4px); }
.section--forest .alink, .section--ink .alink { color: #fff; }

/* ---------- buttons（sharp / border 2px / pad 8-24 実測） ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  font-family: var(--font); font-weight: 700; font-size: 15px; line-height: 1.4;
  padding: 12px 26px; border: 2px solid transparent; border-radius: 0;
  transition: background .16s, color .16s, border-color .16s;
}
.btn--dark    { background: #1b2228; color: #fff; border-color: #1b2228; }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--light   { background: #fff; color: var(--ink); border-color:#fff; }
.btn--light:hover { background: var(--bg-3); border-color: var(--bg-3); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.btn--outline:hover { background: #fff; color: var(--ink); }
.btn--outline-dk { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline-dk:hover { background: var(--ink); color:#fff; }

/* ===========================================================
   Header — 透明・ヒーロー上に重ねる（実測 90px / bg transparent / 非sticky）
   =========================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent; border: none;
  transition: background .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  background: rgba(8, 24, 31, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.site-header .wrap { height: var(--header-h); display: flex; align-items: center; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 34px; height: 34px; background: rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.5); display: grid; place-items: center; flex-shrink: 0; }
.brand__name { font-weight: 700; font-size: 13.5px; line-height: 1.2; color: #fff; }
.brand__name small { display: block; font-weight: 600; font-size: 9px; color: rgba(255,255,255,.7); letter-spacing: .16em; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav a {
  font-size: 14px; font-weight: 700; color: #fff; padding: 4px 0; position: relative; white-space: nowrap;
}
.nav a::after { content:""; position:absolute; left:0; right:0; bottom:-3px; height:2px; background:#fff; transform: scaleX(0); transform-origin:left; transition: transform .18s; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
/* ナビ末尾のCTA（デスクトップ＝ボタン、モバイル＝メニュー内全幅） */
.nav-cta { background: var(--accent); color: #3a2a05; font-weight: 700; padding: 11px 32px; margin-left: 6px; white-space: nowrap; line-height: 1; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #cf991f; }

/* 言語切替 */
.lang-switch { display: flex; gap: 0; margin-left: 16px; flex-shrink: 0; }
.lang-switch button { font-family: var(--font); font-size: 12px; font-weight: 700; color: rgba(255,255,255,.75); background: transparent; border: 1px solid rgba(255,255,255,.4); padding: 6px 10px; cursor: pointer; line-height: 1; }
.lang-switch button + button { border-left: none; }
.lang-switch button.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.lang-switch button:hover:not(.is-active) { color: #fff; border-color: #fff; }

.nav-toggle { display: none; }

/* トップへ戻る */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 46px; height: 46px; background: var(--forest); border: none; cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .2s, transform .2s, background .15s; }
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--forest-dk); }

/* ===========================================================
   Hero — full-bleed photo/video + h1 80px/600
   =========================================================== */
.hero { position: relative; overflow: hidden; background: #0b2730; color: #fff; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; }
.hero__scene { position: absolute; inset: 0; z-index: 0; }
.hero__scene svg, .hero__scene video, .hero__scene img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* --- 絶景クロスフェード・スライドショー --- */
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; will-change: opacity; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__slide.kb-a img { animation: kbA 14s ease-out both; }
.hero__slide.kb-b img { animation: kbB 14s ease-out both; }
@keyframes kbA { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes kbB { from { transform: scale(1.12); } to { transform: scale(1.02); } }

/* --- ヒーロー下端：地名キャプション＋NEWSティッカー --- */
.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.hero__meta { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.hero__cap { font-size: 12.5px; letter-spacing: .14em; color: rgba(255,255,255,.85); display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.hero__cap::before { content: ""; width: 30px; height: 1px; background: rgba(255,255,255,.6); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 26px; height: 2px; padding: 0; border: none; background: rgba(255,255,255,.32); cursor: pointer; transition: background .3s; }
.hero__dots button.is-active { background: #fff; }
.hero__news { display: block; background: rgba(6, 18, 23, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid rgba(255,255,255,.14); }
.hero__news .inner { max-width: var(--maxw); margin: 0 auto; padding: 15px var(--pad); display: flex; align-items: center; gap: 18px; color: #fff; font-size: 14px; }
.hero__news .tag { font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--accent); flex-shrink: 0; }
.hero__news .dt { font-size: 12.5px; color: rgba(255,255,255,.6); flex-shrink: 0; }
.hero__news .tt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.hero__news svg { flex-shrink: 0; margin-left: auto; transition: transform .2s; }
.hero__news:hover .tt { text-decoration: underline; }
.hero__news:hover svg { transform: translateX(4px); }
/* 左に効かせた暗幕：左揃えの見出し（特にアクセント色）のコントラストを確保 */
.hero__veil { position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,16,21,.82) 0%, rgba(5,16,21,.55) 38%, rgba(5,16,21,.12) 70%, rgba(5,16,21,0) 100%),
    linear-gradient(180deg, rgba(5,16,21,.35) 0%, rgba(5,16,21,0) 30%, rgba(5,16,21,0) 60%, rgba(5,16,21,.55) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero__inner { padding: 110px 0 140px; max-width: 800px; }   /* 上下中央＋header(90)クリア＋下端ティッカー分 */
.hero h1 { font-family: var(--font-serif); font-size: clamp(28px, 4.4vw, 64px); line-height: 1.35; font-weight: 600; letter-spacing: 0.04em; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero h1 .em { color: #ffc24d; text-shadow: 0 2px 16px rgba(0,0,0,.5); }   /* アクセントを夕焼けから引き離す */
.hero__lead { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.9); margin: 28px 0 36px; max-width: 520px; font-weight: 400; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__partners { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: baseline; }
.hero__partners .lbl { font-size: 13px; color: rgba(255,255,255,.6); font-weight: 700; }
.hero__partners .p { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.92); }

/* ヒーロー初回エントランス（順に立ち上がる） */
.hero__inner > * { opacity: 0; animation: heroIn 1.1s cubic-bezier(.2,.65,.2,1) forwards; }
.hero__inner > *:nth-child(1) { animation-delay: .15s; }
.hero__inner > *:nth-child(2) { animation-delay: .32s; }
.hero__inner > *:nth-child(3) { animation-delay: .48s; }
.hero__inner > *:nth-child(4) { animation-delay: .64s; }
.hero__foot { opacity: 0; animation: heroIn 1.1s cubic-bezier(.2,.65,.2,1) .8s forwards; }
@keyframes heroIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__inner > *, .hero__foot { animation: none; opacity: 1; }
}

/* ===========================================================
   Photo tiles — 実測 285x300(ratio .95) / 4col / gap24 / radius0
   label 16/700/white bottom-left
   =========================================================== */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; overflow: hidden; aspect-ratio: 285 / 300; display: block; background: #1a2a30; }
.tile__media { position: absolute; inset: 0; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.tile__media svg, .tile__media img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover .tile__media { transform: scale(1.05); }
.tile__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,18,14,.66) 4%, rgba(6,18,14,.06) 48%, rgba(6,18,14,0) 100%); }
.tile__label { position: absolute; left: 20px; right: 16px; bottom: 18px; z-index: 2; color: #fff; font-weight: 700; font-size: 16px; line-height: 1.35; } /* 実測 16/700 */
.tile__tag { position: absolute; left: 20px; top: 18px; z-index: 2; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.82); }

/* solid promo tile（緑ブロック） */
.tile--promo { background: var(--forest); display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.tile--promo .pm-ic { width: 44px; height: 44px; border: 2px solid rgba(255,255,255,.5); display: grid; place-items: center; }
.tile--promo .pm-txt { color: #fff; font-weight: 600; font-size: 18px; line-height: 1.4; }
.tile--promo:hover { background: var(--forest-dk); }

/* ===========================================================
   Split band（見出し左 / 本文右 + 青リンク）
   =========================================================== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split__intro p { color: var(--ink); font-size: 17px; line-height: 1.6; margin: 0 0 18px; }
.section--forest .split__intro p, .section--ink .split__intro p { color: rgba(255,255,255,.82); }

/* ===========================================================
   Working Groups
   =========================================================== */
.wg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wg-card { display: flex; flex-direction: column; background: #fff; }
.wg-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.wg-card__media svg, .wg-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.wg-card:hover .wg-card__media img, .wg-card:hover .wg-card__media svg { transform: scale(1.05); }
.wg-card__bar { height: 4px; }
.wg-card--strategy .wg-card__bar { background: #2f6fb0; }
.wg-card--product  .wg-card__bar { background: #e08a2e; }
.wg-card--stay     .wg-card__bar { background: #2f8d62; }
.wg-card__body { padding: 22px 2px 4px; display: flex; flex-direction: column; gap: 12px; }
.wg-card__no { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.wg-card__body h3 { font-size: 22px; font-weight: 600; }
.wg-card__body p { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.6; }
.wg-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.wg-meta b { color: var(--ink); font-weight: 700; }

.metas { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; font-size: 13px; color: var(--ink-3); }
.dotwg { display:inline-flex; align-items:center; gap:7px; font-weight:600; color: var(--ink); }
.dotwg::before { content:""; width: 9px; height: 9px; }
.dotwg.s::before { background:#2f6fb0; } .dotwg.p::before { background:#e08a2e; } .dotwg.t::before { background:#2f8d62; }
.status { font-weight: 700; }
.status.idea { color:#7c868c; } .status.plan { color:#2f6fb0; } .status.prep { color:#c2871f; }
.status.test { color:#2f8d62; } .status.open { color:#d07a1d; } .status.done { color:#7c868c; }

/* ===========================================================
   Editorial list rows
   =========================================================== */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); }
.row:hover .row__title { color: var(--blue); }
.row__media { aspect-ratio: 4/3; overflow: hidden; }
.row__media svg, .row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.row:hover .row__media img, .row:hover .row__media svg { transform: scale(1.06); }
.row__title { font-size: 22px; font-weight: 600; transition: color .15s; }
.row__excerpt { margin: 8px 0 0; font-size: 15px; color: var(--ink); line-height: 1.6; max-width: 640px; }
.row__metas { margin-top: 12px; }
.row__side { text-align: right; white-space: nowrap; display:flex; flex-direction:column; gap:8px; align-items:flex-end; }
.row__side .date { font-size: 13px; color: var(--ink-3); }

.tlist { border-top: 1px solid var(--line); }
.tlist a { display: grid; grid-template-columns: 120px 1fr auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tlist a:hover .tt { color: var(--blue); }
.tlist .dt { font-size: 13px; color: var(--ink-3); font-weight: 600; }
.tlist .tt { font-size: 20px; font-weight: 600; transition: color .15s; }
.tlist .ct { font-size: 13px; color: var(--ink-3); }

/* ===========================================================
   Stories feature
   =========================================================== */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; }
.feature__media { aspect-ratio: 4/3; overflow: hidden; }
.feature__media svg, .feature__media img { width:100%; height:100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
a.feature:hover .feature__media img, a.feature:hover .feature__media svg { transform: scale(1.04); }
.feature__body { padding: 0 0 0 52px; display:flex; flex-direction:column; gap: 16px; justify-content:center; }
.feature__body h3 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 38px); font-weight: 600; line-height: 1.3; letter-spacing: 0.03em; }
.feature__body p { margin:0; color: var(--ink); font-size: 17px; line-height: 1.6; }

.cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.scard { display:block; }
.scard__media { aspect-ratio: 16/10; overflow: hidden; margin-bottom: 16px; }
.scard__media svg, .scard__media img { width:100%; height:100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
.scard:hover .scard__media svg, .scard:hover .scard__media img { transform: scale(1.05); }
.scard .ct { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.scard h3 { font-size: 20px; font-weight: 600; margin: 8px 0; line-height: 1.3; }
.scard:hover h3 { color: var(--blue); }
.scard .dt { font-size: 13px; color: var(--ink-3); }

/* ===========================================================
   Stats
   =========================================================== */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.stat { padding: 6px 24px; border-left: 1px solid rgba(255,255,255,.16); }
.stat:first-child { border-left: none; padding-left: 0; }
.stat b { display:block; font-size: clamp(40px, 5vw, 60px); font-weight: 600; line-height: 1; }
.stat span { display:block; font-size: 14px; color: rgba(255,255,255,.72); margin-top: 12px; }

/* ===========================================================
   Roadmap timeline
   =========================================================== */
.tl { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.tl-item { padding: 22px 18px 0 0; position: relative; }
.tl-item::before { content:""; position:absolute; top:-7px; left:0; width:12px; height:12px; background: var(--forest); }
.tl-month { font-size: 14px; font-weight: 700; }
.tl-item p { margin: 6px 0 0; font-size: 14px; color: var(--ink); }

/* ===========================================================
   Events
   =========================================================== */
.events { border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 92px 1fr auto; gap: 28px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.event__date { text-align: center; }
.event__date .m { font-size: 13px; font-weight: 700; color: var(--forest); }
.event__date .d { font-size: 34px; font-weight: 600; line-height: 1; }
.event__body h3 { font-size: 20px; font-weight: 600; margin: 6px 0; }
.event__body p { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.6; }

/* ===========================================================
   Players
   =========================================================== */
.players { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.player__media { aspect-ratio: 1/1; overflow: hidden; margin-bottom: 14px; }
.player__media svg, .player__media img { width:100%; height:100%; object-fit: cover; transition: transform .55s; }
.player:hover .player__media svg, .player:hover .player__media img { transform: scale(1.05); }
.player h3 { font-size: 17px; font-weight: 600; }
.player .role { font-size: 13px; color: var(--ink-3); margin-top: 2px; }

/* ===========================================================
   Join
   =========================================================== */
.join { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.join__item { padding: 30px 32px 30px 0; border-bottom: 1px solid var(--line); }
.join__item:not(:last-child) { border-right: 1px solid var(--line); padding-right: 32px; }
.join__no { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.join__item h3 { font-size: 21px; font-weight: 600; margin: 12px 0 10px; }
.join__item p { margin: 0 0 18px; font-size: 15px; color: var(--ink); line-height: 1.6; }

/* ===========================================================
   CTA band
   =========================================================== */
.cta { background: var(--forest); color: #fff; padding: 80px var(--pad); }
.cta .inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; line-height: 1.3; letter-spacing: 0.04em; }
.cta p { color: rgba(255,255,255,.82); margin: 16px 0 0; font-size: 17px; }
.cta__cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ===========================================================
   Page hero（下層）— ヒーロー同様に透明ヘッダーを重ねる
   =========================================================== */
.page-hero { background: #0b2730; color: #fff; position: relative; overflow: hidden; }
.page-hero__scene { position: absolute; inset: 0; opacity: .62; }
.page-hero__scene svg, .page-hero__scene img { width:100%; height:100%; object-fit: cover; }
.page-hero__scene > img { animation: kbA 18s ease-out both; }
.page-hero__scene .hero__slide { transition-duration: 2s; }
.page-hero__veil { position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,22,28,.62) 0%, rgba(7,22,28,.42) 55%, rgba(7,22,28,.58) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 170px; padding-bottom: 88px; }   /* header分確保＋格の余白 */
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 22px; }
.breadcrumb a:hover { color:#fff; }
.ph-kicker { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.72); margin: 0 0 14px; }
.ph-kicker::before { content: ""; width: 30px; height: 1px; background: rgba(255,255,255,.55); }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(34px, 4.6vw, 54px); font-weight: 600; line-height: 1.3; letter-spacing: 0.05em; }
.page-hero p { color: rgba(255,255,255,.86); margin: 18px 0 0; max-width: 620px; font-size: 18px; line-height: 1.5; }

/* filters */
.filterbar { display:flex; flex-wrap:wrap; gap: 24px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.filterbar button { font-family: var(--font); font-size: 15px; font-weight: 600; cursor:pointer; background:none; border:none; color: var(--ink-3); padding: 0 0 14px; position: relative; }
.filterbar button::after { content:""; position:absolute; left:0; right:0; bottom:-1px; height:2px; background: var(--ink); transform: scaleX(0); transition: transform .16s; }
.filterbar button:hover, .filterbar button.is-active { color: var(--ink); }
.filterbar button.is-active::after { transform: scaleX(1); }

.is-hidden { display: none !important; }

/* prose */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 600; letter-spacing: .03em; line-height: 1.35; margin: 44px 0 16px; }
.prose h3 { font-size: 19px; font-weight: 600; color: var(--forest); margin: 30px 0 10px; }
.prose p { color: var(--ink); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.prose ul { color: var(--ink); font-size: 16px; padding-left: 20px; margin: 0 0 16px; }
.prose li { margin: 7px 0; }

/* infobox（フラット） */
.infobox { background: var(--bg-2); padding: 28px; }
.infobox .r { font-size: 14px; color: var(--ink); padding: 8px 0; border-bottom: 1px solid var(--line); }
.infobox .r:last-child { border-bottom: none; }
.infobox .r b { color: var(--ink); font-weight: 700; }

/* ===========================================================
   運営体制 / 名簿（PC=テーブル、SP=カード化）
   =========================================================== */
.org-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.org-card { display:block; border:1px solid var(--line); padding: 26px 24px; transition: border-color .15s, transform .15s; }
a.org-card:hover { border-color: var(--forest); transform: translateY(-2px); }
.org-card .no { font-size:12px; font-weight:700; letter-spacing:.1em; color: var(--ink-3); }
.org-card h3 { font-size:19px; font-weight:600; margin:10px 0 8px; }
.org-card p { margin:0; font-size:14px; color: var(--ink-2); line-height:1.6; }
.org-card .arrow { display:inline-block; margin-top:14px; color: var(--blue); font-weight:700; font-size:14px; }

.rtable { width:100%; border-collapse:collapse; border-top:2px solid var(--ink); }
.rtable th, .rtable td { text-align:left; padding:15px 14px; border-bottom:1px solid var(--line); font-size:14.5px; vertical-align:top; }
.rtable th { font-size:12px; color:var(--ink-3); font-weight:700; white-space:nowrap; letter-spacing:.04em; }
.rtable td.role { font-weight:700; white-space:nowrap; }
.rtable td.nm { font-weight:700; font-size:16px; }
.rtable td.note { color:var(--ink-3); font-size:13px; }
.rtable tbody tr:hover { background: var(--bg-2); }
.role-band { font-size:13px; font-weight:700; color:#fff; background:var(--forest); display:inline-block; padding:4px 12px; margin:0 0 4px; }
.dept-head { font-size:20px; font-weight:600; margin:0 0 14px; padding-top:8px; }

@media (max-width: 700px) {
  .org-grid { grid-template-columns: 1fr; }
  .rtable, .rtable tbody, .rtable tr, .rtable td { display:block; width:100%; }
  .rtable thead { display:none; }
  .rtable { border-top:none; }
  .rtable tr { border:1px solid var(--line); padding:14px 16px; margin-bottom:12px; }
  .rtable td { border:none; padding:4px 0; font-size:14px; }
  .rtable td:empty { display:none; }   /* 空欄セルは「補足：」ラベルごと非表示 */
  .rtable td.nm { font-size:18px; }
  .rtable td::before { content: attr(data-l) "："; font-weight:700; color:var(--ink-3); font-size:12px; margin-right:6px; }
  .rtable td.nm::before, .rtable td.role::before { display:block; margin-bottom:2px; }
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer { background: #1b2228; color: rgba(255,255,255,.74); padding: 72px 0 32px; }
.footer-grid { display:grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.55); margin-bottom: 16px; }
.footer-grid a { display:block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,.8); }
.footer-grid a:hover { color: var(--accent); }
.footer-brand .brand__name { color:#fff; }
.footer-brand .brand__mark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.footer-brand p { font-size: 14px; line-height: 1.85; margin: 18px 0 0; max-width: 340px; color: rgba(255,255,255,.6); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display:flex; flex-wrap:wrap; gap: 12px; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.5); }

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1000px) {
  :root { --pad: 24px; }
  .tiles { grid-template-columns: repeat(2,1fr); }
  .tiles--3, .wg-grid, .cards, .players, .stats { grid-template-columns: repeat(2,1fr); }
  .split, .feature, .cta .inner { grid-template-columns: 1fr; gap: 32px; }
  .feature__body { padding-left: 0; }
  .join { grid-template-columns: 1fr; }
  .join__item, .join__item:not(:last-child) { border-right: none; padding-right: 0; }
  .tl { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta__cta { justify-content: flex-start; }
}

/* ヘッダーナビ：8項目＋CTAが収まらない中間幅以下はハンバーガーに切替 */
@media (max-width: 1340px) {
  .nav { display:none; }
  .lang-switch { margin-left:auto; }
  .nav-toggle { display:inline-grid; place-items:center; margin-left:14px; width:42px; height:42px; border:1px solid rgba(255,255,255,.5); background:transparent; cursor:pointer; }
  .nav.is-open { display:flex; flex-direction:column; align-items:stretch; gap:0; position:absolute; top:var(--header-h); left:0; right:0; background:#0b2730; padding: 10px var(--pad) 18px; }
  .nav.is-open a { padding: 13px 2px; border-bottom: 1px solid rgba(255,255,255,.15); }
  .nav.is-open a::after { display:none; }
  .nav.is-open .nav-cta { margin-top: 12px; text-align:center; padding: 14px 0; border-bottom:none; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .tiles, .tiles--3, .wg-grid, .cards, .players, .stats { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 96px 1fr; }
  .row__side { display:none; }
  .event { grid-template-columns: 72px 1fr; }
  .event .btn { display:none; }
  .stat { border-left:none; padding: 0 0 18px; }
  .hero__inner { padding: 130px 0 150px; }
  .tlist a { grid-template-columns: 1fr; gap: 4px; }
  .hero__cap { font-size: 11px; }
  .hero__news .inner { padding: 12px var(--pad); gap: 12px; }
  .hero__news .dt { display: none; }
  .page-hero .wrap { padding-top: 140px; padding-bottom: 64px; }
  /* ヘッダーが390px幅で収まるように（ハンバーガー画面外バグ対策） */
  .site-header .wrap { gap: 10px; }
  .brand__name { font-size: 12px; }
  .brand__name small { font-size: 7.5px; letter-spacing: .12em; }
  .lang-switch { margin-left: auto; }
  .lang-switch button { padding: 5px 8px; font-size: 11px; }
  .nav-toggle { margin-left: 0; width: 38px; height: 38px; flex-shrink: 0; }
}

/* ===========================================================
   CTAバンド（全ページ共通の締め・写真フルブリード＋パララックス）
   =========================================================== */
.cta-band { position: relative; overflow: hidden; color: #fff; padding: 130px var(--pad); background: #0b2730; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; transform: scale(1.18); will-change: transform; }
.cta-band__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,16,21,.62), rgba(5,16,21,.5)); }
.cta-band__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; text-align: center; }
.cta-band__kicker { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.75); margin: 0 0 20px; }
.cta-band__kicker::before, .cta-band__kicker::after { content: ""; width: 30px; height: 1px; background: rgba(255,255,255,.5); }
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; line-height: 1.5; letter-spacing: .06em; text-shadow: 0 2px 24px rgba(0,0,0,.4); }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 38px; }
@media (max-width: 600px) { .cta-band { padding: 90px var(--pad); } }

/* ===========================================================
   絶景フォトマーキー（無限横流し）
   =========================================================== */
.marquee { overflow: hidden; padding: 0; }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: mq 55s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__track img { height: 240px; width: auto; display: block; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .marquee__track img { height: 150px; } .marquee__track { gap: 10px; } }

/* ===========================================================
   ページ遷移フェード
   =========================================================== */
body { animation: pageIn .55s ease both; transition: opacity .24s ease; }
body.is-leaving { opacity: 0; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* ===========================================================
   Motion — スクロール連動リビール（IntersectionObserverで付与）
   =========================================================== */
.rv { opacity: 0; transform: translateY(30px); transition: opacity .9s cubic-bezier(.2,.65,.2,1), transform .9s cubic-bezier(.2,.65,.2,1); will-change: opacity, transform; }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .hero__slide img, .page-hero__scene img { animation: none !important; }
  html { scroll-behavior: auto; }
}
