/* =========================================================
   KYABEL — Host Racing Red (SITE 18)
   モータースポーツ×ナイトドライブの都市型ホストクラブ
   デザイントークン（design-plan-v2 §C2 SITE 18）
   ========================================================= */
:root {
  --color-bg: #0c0c0d;            /* ブラック */
  --color-surface: #17171a;
  --color-surface-2: #1f1f23;
  --color-text: #f5f5f4;          /* ホワイト */
  --color-muted: #a8abb2;         /* 明るいアスファルト（黒地で 8:1） */
  --color-line: #2c2c31;
  --color-asphalt: #55565a;       /* 罫線・面のみ（テキスト使用禁止） */
  --color-red: #d81f26;           /* レーシングレッド: 大型表示・面・罫線用 */
  --color-red-text: #ff6161;      /* 小さめレッド文字用（黒地で 6.4:1） */
  --color-yellow: #f2c200;        /* 少量のアクセント（黒地で 11:1） */

  --font-display: "Saira", "Arial Narrow", sans-serif;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  --container: 1280px;
  --topbar-h: 64px;
  --cta-h: 58px;
  --slant: -6deg;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;               /* 本文 16px（design-guide §1） */
  line-height: 1.75;
  font-weight: 400;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 500;
  background: var(--color-red); color: #fff; padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ページ内アンカーの固定ヘッダー回避（v1 SITE 09 の教訓） */
section[id] { scroll-margin-top: calc(var(--topbar-h) + 24px); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ---------- loader（初回のみ・点滅なしの単一スイープ） ---------- */
.loader {
  position: fixed; inset: 0; z-index: 400; background: var(--color-bg);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__logo { font-family: var(--font-display); font-weight: 800; font-size: 2rem; letter-spacing: 0.3em; padding-left: 0.3em; }
.loader__track { width: min(280px, 60vw); height: 3px; background: var(--color-line); overflow: hidden; }
.loader__track::after {
  content: ""; display: block; height: 100%; width: 40%;
  background: var(--color-red); animation: sweep 0.8s ease-in-out both;
}
@keyframes sweep { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- topbar（細い横長ヘッダー） ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  height: var(--topbar-h);
  display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: 0 clamp(16px, 3vw, 36px);
  background: rgba(12, 12, 13, 0.92);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(8px);
}
.topbar__logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; line-height: 1.2; }
.topbar__logo strong { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.22em; }
.topbar__logo small { font-size: 0.8125rem; letter-spacing: 0.12em; color: var(--color-red-text); font-weight: 600; }
.topbar__nav { display: flex; gap: clamp(12px, 2vw, 26px); margin-inline: auto; }
.topbar__nav a {
  font-family: var(--font-display); font-size: 0.875rem; /* PCナビ 14px（design-guide） */
  font-weight: 600; letter-spacing: 0.1em; padding: 10px 2px; position: relative;
}
.topbar__nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px;
  background: var(--color-red); transition: right 0.25s ease;
}
.topbar__nav a:hover::after, .topbar__nav a:focus-visible::after, .topbar__nav a[aria-current="page"]::after { right: 0; }
.topbar__first {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  background: var(--color-red); color: #fff; font-weight: 700; font-size: 0.9375rem;
  letter-spacing: 0.06em; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  transition: background 0.25s ease;
}
.topbar__first:hover, .topbar__first:focus-visible { background: #b3161c; }
.topbar__menu { display: none; }

/* ---------- speed meter（スクロール進捗） ---------- */
.meter { position: fixed; top: var(--topbar-h); left: 0; right: 0; z-index: 290; height: 4px; background: var(--color-line); }
.meter__fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--color-red) 70%, var(--color-yellow));
}
.speedo {
  position: fixed; left: 18px; bottom: 18px; z-index: 280;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; /* 装飾（B分類） */
  letter-spacing: 0.1em; color: var(--color-muted);
  background: rgba(23, 23, 26, 0.85); border: 1px solid var(--color-line);
  padding: 6px 12px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.speedo__value { color: var(--color-text); }

/* ---------- placeholder（光跡×アスファルトの抽象背景） ---------- */
.ph {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
}
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph[data-ratio="21x9"] { aspect-ratio: 21 / 9; }
.ph[data-ratio="16x9"] { aspect-ratio: 16 / 9; }
.ph[data-ratio="3x4"]  { aspect-ratio: 3 / 4; }
.ph[data-ratio="3x2"]  { aspect-ratio: 3 / 2; }
.ph[data-ratio="1x1"]  { aspect-ratio: 1 / 1; }
.ph::before {
  content: ""; position: absolute; inset: 0;
}
.ph[data-tone="1"]::before { background: linear-gradient(115deg, #131316 40%, #1d1d22 60%), linear-gradient(115deg, transparent 44%, rgba(216, 31, 38, 0.5) 50%, transparent 56%); background-blend-mode: screen; }
.ph[data-tone="2"]::before { background: linear-gradient(100deg, #101014 45%, #202027 65%), linear-gradient(100deg, transparent 30%, rgba(245, 245, 244, 0.22) 36%, transparent 42%), linear-gradient(100deg, transparent 60%, rgba(216, 31, 38, 0.4) 66%, transparent 72%); background-blend-mode: screen; }
.ph[data-tone="3"]::before { background: radial-gradient(ellipse at 80% 20%, rgba(242, 194, 0, 0.16), transparent 55%), linear-gradient(125deg, #121215 50%, #1a1a1f); }
.ph[data-tone="4"]::before { background: linear-gradient(90deg, #0f0f12 30%, #232329 90%), linear-gradient(90deg, transparent 70%, rgba(216, 31, 38, 0.35) 78%, transparent 86%); background-blend-mode: screen; }
.ph[data-tone="5"]::before { background: radial-gradient(ellipse at 20% 80%, rgba(216, 31, 38, 0.28), transparent 60%), linear-gradient(115deg, #141417 55%, #1e1e24); }
.ph__label {
  position: relative; z-index: 1;
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em;
  color: var(--color-muted); border: 1px solid var(--color-asphalt); padding: 6px 12px;
  max-width: calc(100% - 20px); text-align: center;
}
@media (max-width: 599px) { .ph__label { white-space: normal; } }

/* ---------- hero ---------- */
.hero { position: relative; padding-top: calc(var(--topbar-h) + 4px); }
.hero__media { position: relative; }
.hero__media .ph { border-inline: 0; border-top: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(12, 12, 13, 0.2), rgba(12, 12, 13, 0.82) 78%);
  display: flex; align-items: flex-end;
}
.hero__inner { width: 100%; padding-bottom: clamp(24px, 5vw, 64px); }
.hero__eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  letter-spacing: 0.12em; color: var(--color-red-text); margin-bottom: 10px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 6.4vw, 4.6rem); line-height: 1.25; letter-spacing: 0.04em;
  text-wrap: balance;
}
.hero__copy { margin-top: 14px; font-size: clamp(1rem, 1.4vw, 1.125rem); color: var(--color-text); max-width: 40em; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__stat {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 18px;
  background: rgba(23, 23, 26, 0.88); border: 1px solid var(--color-line);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.hero__stat dt { font-size: 0.875rem; color: var(--color-muted); font-weight: 500; }
.hero__stat dd { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; }
.hero__stat--first dd { color: var(--color-yellow); }
.hero__scrollcue {
  position: absolute; right: 22px; bottom: 18px; z-index: 3;
  font-family: var(--font-display); font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--color-muted);
  writing-mode: vertical-rl;
}

/* ---------- 共通セクション ---------- */
.section { padding: var(--space-xl) 0; position: relative; }
.section--slant { overflow: hidden; }
.section--slant::before {
  content: ""; position: absolute; left: 0; right: 0; top: -46px; height: 92px;
  background: var(--color-surface); transform: skewY(var(--slant)); transform-origin: left;
  border-bottom: 2px solid var(--color-red);
}
.sec-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: var(--space-md); flex-wrap: wrap; }
.sec-head__no {
  font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem;
  color: var(--color-red-text); letter-spacing: 0.12em;
}
.sec-head__en {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3.6vw, 2.6rem);
  letter-spacing: 0.05em; line-height: 1.25;
}
.sec-head__ja { font-size: 0.9375rem; color: var(--color-muted); font-weight: 500; }
.sec-more {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.1em;
  color: var(--color-text); border-bottom: 2px solid var(--color-red);
}
.sec-more::after { content: "→"; color: var(--color-red-text); }
.sec-more:hover, .sec-more:focus-visible { color: var(--color-red-text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 26px;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.06em;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: background 0.25s ease, color 0.25s ease;
}
.btn--solid { background: var(--color-red); color: #fff; }
.btn--solid:hover, .btn--solid:focus-visible { background: #b3161c; }
.btn--line { background: transparent; color: var(--color-text); box-shadow: inset 0 0 0 1px var(--color-asphalt); }
.btn--line:hover, .btn--line:focus-visible { box-shadow: inset 0 0 0 1px var(--color-red); color: var(--color-red-text); }

/* ---------- FIRST LAP（初回案内） ---------- */
.first { background: var(--color-surface); border-block: 1px solid var(--color-line); }
.first__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.first__price {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--color-yellow); line-height: 1.2;
}
.first__price small { display: block; font-size: 1rem; color: var(--color-muted); font-weight: 500; letter-spacing: 0.08em; }
.first__note { margin-top: 14px; color: var(--color-muted); }
.first__cta { margin-top: 22px; display: flex; gap: 14px; flex-wrap: wrap; }
.step { border: 1px solid var(--color-line); background: var(--color-bg); }
.step + .step { margin-top: 10px; }
.step__head {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 52px;
  padding: 8px 18px; text-align: left;
}
.step__head[aria-expanded="true"] { background: var(--color-surface-2); box-shadow: inset 3px 0 0 var(--color-red); }
.step__no { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; color: var(--color-red-text); min-width: 5.2em; }
.step__title { font-weight: 700; font-size: 1rem; }
.step__body { padding: 4px 18px 16px 18px; color: var(--color-muted); }

/* ---------- 本日のグリッド ---------- */
.today__bar { display: flex; align-items: center; gap: 16px; margin-bottom: var(--space-sm); }
.today__count { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--color-yellow); }
.today__controls { margin-left: auto; display: flex; gap: 8px; }
.strip-btn {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-asphalt); font-size: 1.1rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.strip-btn:hover, .strip-btn:focus-visible { border-color: var(--color-red); color: var(--color-red-text); }
.strip {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory; cursor: grab; touch-action: pan-y;
  scrollbar-color: var(--color-red) var(--color-line);
}
.strip:active { cursor: grabbing; }
.strip__closed { color: var(--color-muted); padding: var(--space-md) 0; font-size: 1rem; }
.grid-card {
  position: relative; flex: 0 0 228px; scroll-snap-align: start;
  border: 1px solid var(--color-line); background: var(--color-surface);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.grid-card:hover, .grid-card:focus-visible { border-color: var(--color-red); transform: translateY(-3px); }
.grid-card .ph { aspect-ratio: 3 / 4; border: 0; border-bottom: 1px solid var(--color-line); }
.grid-card__no {
  position: absolute; top: 8px; left: 10px; z-index: 2;
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: 0.04em;
  color: var(--color-text); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}
.grid-card__body { display: block; padding: 12px 14px 14px; }
.grid-card__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; letter-spacing: 0.06em; }
.grid-card__ja { display: block; font-size: 0.875rem; color: var(--color-muted); }
.grid-card__time { display: block; margin-top: 6px; font-size: 0.9375rem; font-weight: 600; color: var(--color-yellow); }

/* ---------- PICK UP ---------- */
.pickup-wrap { display: grid; grid-template-columns: minmax(0, 1fr); }
#pickup-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 52px); opacity: 0; transform: translateX(12px); }
#pickup-panel.is-in { opacity: 1; transform: none; transition: opacity 0.4s ease, transform 0.4s ease; }
.pickup__media { position: relative; }
.pickup__no {
  position: absolute; right: -6px; bottom: -18px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 9vw, 7rem);
  color: transparent; -webkit-text-stroke: 1px var(--color-asphalt); line-height: 1;
}
.pickup__label { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.12em; color: var(--color-red-text); }
.pickup__name { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: 0.04em; margin-top: 6px; }
.pickup__ja { font-size: 1rem; color: var(--color-muted); font-weight: 500; margin-left: 10px; }
.pickup__catch { margin-top: 8px; font-size: 1.125rem; font-weight: 700; }
.pickup__meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 16px; }
.pickup__meta dt { font-size: 0.875rem; color: var(--color-muted); font-weight: 500; }
.pickup__meta dd { font-size: 1rem; font-weight: 600; }
.pickup__comment { margin-top: 16px; color: var(--color-muted); max-width: 36em; }
.pickup__info .btn { margin-top: 22px; }
.pickup__controls { display: flex; gap: 8px; align-items: center; margin-bottom: var(--space-sm); }
#pickup-pos { font-family: var(--font-display); font-size: 0.9375rem; color: var(--color-muted); min-width: 4em; }

/* ---------- RACE SCHEDULE（イベント） ---------- */
.race-list { border-top: 1px solid var(--color-line); }
.race-row {
  display: grid; grid-template-columns: 72px 170px minmax(0, 1fr) 96px;
  align-items: center; gap: 18px; min-height: 72px; padding: 10px 6px;
  border-bottom: 1px solid var(--color-line);
  transition: background 0.25s ease;
}
.race-row:hover, .race-row:focus-visible { background: var(--color-surface); }
.race-row__round { font-family: var(--font-display); font-weight: 800; font-size: 1.125rem; color: var(--color-red-text); }
.race-row__date { font-size: 0.9375rem; color: var(--color-muted); font-weight: 500; }
.race-row__title { font-size: 1.0625rem; font-weight: 700; }
.race-row__count {
  justify-self: end; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: var(--color-yellow); border: 1px solid var(--color-asphalt); padding: 6px 12px;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* ---------- NEWS ---------- */
.news-row {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  min-height: 56px; padding: 12px 6px; border-bottom: 1px solid var(--color-line);
}
.news-row:hover .news-row__title, .news-row:focus-visible .news-row__title { color: var(--color-red-text); }
.news-row time { font-size: 0.9375rem; color: var(--color-muted); font-weight: 500; }
.news-row__cat { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; color: var(--color-red-text); }
.news-row__title { font-size: 1rem; font-weight: 600; transition: color 0.25s ease; }

/* ---------- CONCEPT / GALLERY / SYSTEM ---------- */
.concept__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.concept__copy p { color: var(--color-muted); max-width: 34em; }
.concept__copy .lead { color: var(--color-text); font-size: 1.125rem; font-weight: 700; margin-bottom: 14px; }
.gallery-teaser { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sys-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sys-card {
  border: 1px solid var(--color-line); background: var(--color-surface);
  padding: 22px 20px; border-top: 3px solid var(--color-red);
}
.sys-card__name { font-weight: 700; font-size: 1.0625rem; }
.sys-card__time { color: var(--color-muted); font-size: 0.9375rem; margin-top: 4px; }
.sys-card__price { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; margin-top: 10px; letter-spacing: 0.02em; }
.sys-note { margin-top: 14px; color: var(--color-muted); font-size: 0.875rem; }

/* ---------- RECRUIT バナー / ACCESS / RESERVE ---------- */
.recruit-band {
  background: linear-gradient(100deg, var(--color-surface) 55%, rgba(216, 31, 38, 0.16));
  border-block: 1px solid var(--color-line);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: clamp(24px, 4vw, 44px);
}
.recruit-band h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: 0.05em; }
.recruit-band p { color: var(--color-muted); margin-top: 6px; }

.access__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); }
.access__list div { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.access__list dt { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.08em; color: var(--color-red-text); }
.access__list dd { font-size: 1rem; }

.reserve { background: var(--color-surface); border-block: 1px solid var(--color-line); text-align: center; }
.reserve__tel { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: 0.06em; }
.reserve__hours { color: var(--color-muted); margin-top: 6px; }
.reserve__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.quick-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.quick-form label { display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 0.9375rem; font-weight: 600; }
.quick-form input, .quick-form select {
  min-height: 48px; padding: 0 14px; background: var(--color-bg); color: var(--color-text);
  border: 1px solid var(--color-asphalt); font-size: 1rem; min-width: 200px;
}
.quick-form input:focus-visible, .quick-form select:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 2px; }
.quick-form .btn { align-self: end; }
.reserve__note { margin-top: 14px; font-size: 0.875rem; color: var(--color-muted); }

/* ---------- footer ---------- */
.footer { border-top: 2px solid var(--color-red); padding: var(--space-lg) 0 calc(var(--space-md) + 8px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 48px); }
.footer__logo { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: 0.2em; }
.footer__tag { color: var(--color-muted); margin-top: 8px; }
.footer h2 { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.12em; color: var(--color-red-text); margin-bottom: 12px; }
.footer__info li, .footer__nav li { padding: 4px 0; font-size: 0.9375rem; }
.footer__nav a { display: inline-block; padding: 4px 0; min-height: 32px; }
.footer__nav a:hover, .footer__nav a:focus-visible { color: var(--color-red-text); }
.footer__sns { display: flex; gap: 18px; margin-top: 10px; }
.footer__sns a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; }
.footer__colophon {
  margin-top: var(--space-md); padding-top: var(--space-sm); border-top: 1px solid var(--color-line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
  font-size: 0.875rem; color: var(--color-muted);
  padding-right: 76px; /* page-top ボタン退避 */
}

/* ---------- 固定CTA（斜めカットのメーターバー・SPのみ） ---------- */
.cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 320;
  display: none; height: var(--cta-h);
  background: var(--color-surface); border-top: 2px solid var(--color-red);
}
.cta-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.04em; position: relative;
}
.cta-bar a + a::before {
  content: ""; position: absolute; left: -6px; top: 8px; bottom: 8px; width: 1px;
  background: var(--color-asphalt); transform: skewX(-14deg);
}
.cta-bar a:focus-visible { outline-offset: -3px; }
.cta-bar .cta-bar__first { background: var(--color-red); color: #fff; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.cta-bar span[aria-hidden] { font-family: var(--font-display); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.1em; color: var(--color-yellow); }
.cta-bar .cta-bar__first span[aria-hidden] { color: #fff; }

.page-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 310;
  width: 48px; height: 48px; border: 1px solid var(--color-asphalt); background: var(--color-surface);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.page-top:hover, .page-top:focus-visible { border-color: var(--color-red); color: var(--color-red-text); }

/* ---------- drawer（SP スライドイン） ---------- */
.drawer { position: fixed; inset: 0; z-index: 350; visibility: hidden; }
.drawer[aria-hidden="false"] { visibility: visible; }
.drawer__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.3s ease; }
.drawer[aria-hidden="false"] .drawer__veil { opacity: 1; }
.drawer__inner {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw);
  background: var(--color-bg); border-left: 2px solid var(--color-red);
  padding: 20px 22px 28px; overflow-y: auto;
  transform: translateX(102%); transition: transform 0.32s ease;
  display: flex; flex-direction: column;
}
.drawer[aria-hidden="false"] .drawer__inner { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__title { font-family: var(--font-display); font-weight: 800; letter-spacing: 0.2em; font-size: 1.1rem; }
.drawer__close { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-asphalt); font-size: 1.2rem; }
.drawer__nav a {
  display: flex; align-items: center; gap: 14px; min-height: 52px;
  font-size: 1rem; /* SPナビ 16px */ font-weight: 600; border-bottom: 1px solid var(--color-line);
}
.drawer__nav .no { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--color-red-text); min-width: 2.2em; }
.drawer__foot { margin-top: auto; padding-top: 20px; }
.drawer__foot .btn { width: 100%; }
.drawer__tel { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.06em; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 360; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, 0.7); }
.modal[hidden] { display: none; }
.modal__panel {
  position: relative; width: min(480px, 100%); background: var(--color-surface);
  border: 1px solid var(--color-line); border-top: 3px solid var(--color-red); padding: 30px 26px;
}
.modal__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 1px solid var(--color-asphalt); font-size: 1.1rem; }
.modal__eyebrow { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.14em; color: var(--color-red-text); }
.modal__title { font-size: 1.3rem; font-weight: 700; margin: 8px 0 12px; }
.modal__body p { color: var(--color-muted); }
.modal__body .btn { margin-top: 18px; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1023px) {
  .topbar__nav { display: none; }
  .topbar__menu {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 48px; height: 48px; margin-left: auto; padding: 0 10px;
    border: 1px solid var(--color-asphalt);
  }
  .topbar__menu span { display: block; height: 2px; background: var(--color-text); }
  .topbar__first { display: none; }
  .first__grid, .concept__grid, .access__grid { grid-template-columns: minmax(0, 1fr); }
  #pickup-panel { grid-template-columns: minmax(0, 1fr); }
  .recruit-band { grid-template-columns: minmax(0, 1fr); }
  .speedo { display: none; }
}
@media (min-width: 1024px) { .drawer, .topbar__menu { display: none; } }

@media (max-width: 899px) {
  body { padding-bottom: calc(var(--cta-h) + 10px); }
  .cta-bar { display: flex; }
  .page-top { bottom: calc(var(--cta-h) + 14px); }
  .speedo { display: none; }
}

@media (max-width: 767px) {
  :root { --space-xl: 4.5rem; --space-lg: 3rem; }
  /* ヒーローは重ねずに積む（21:9 の高さにオーバーレイが収まらないため） */
  .hero__media .ph { aspect-ratio: 16 / 9; }
  .hero__overlay { position: static; background: none; display: block; }
  .hero__inner { padding-top: 20px; }
  .hero { background: linear-gradient(180deg, #131316, var(--color-bg) 60%); }
  /* モバイル専用の情報順序: hero → 初回案内 → 本日の出勤 → PICK UP → イベント → 料金 → コンセプト → NEWS → …（§6.3） */
  .home-flow { display: flex; flex-direction: column; }
  .home-flow > * { order: 10; }
  .home-flow > .flow-first { order: 1; }
  .home-flow > .flow-today { order: 2; }
  .home-flow > .flow-pickup { order: 3; }
  .home-flow > .flow-events { order: 4; }
  .home-flow > .flow-system { order: 5; }
  .home-flow > .flow-concept { order: 6; }
  .home-flow > .flow-news { order: 7; }
  .home-flow > .flow-gallery { order: 8; }
  .home-flow > .flow-recruit { order: 9; }
  .home-flow > .flow-access { order: 11; }
  .home-flow > .flow-reserve { order: 12; }

  .race-row { grid-template-columns: 56px minmax(0, 1fr) 84px; grid-template-areas: "round title count" "round date count"; }
  .race-row__round { grid-area: round; }
  .race-row__title { grid-area: title; }
  .race-row__date { grid-area: date; }
  .race-row__count { grid-area: count; font-size: 0.9375rem; }
  .gallery-teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-teaser .ph:last-child { display: none; }
  .sys-grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__scrollcue { display: none; }
  .quick-form label { width: 100%; }
  .quick-form input, .quick-form select { width: 100%; }
  .quick-form .btn { width: 100%; }
}

@media (max-width: 429px) {
  .grid-card { flex-basis: 200px; }
  .hero__stats { gap: 8px; }
}

/* =========================================================
   下層ページ（cast / cast-detail / schedule / system /
   news / news-detail / gallery / access / recruit /
   contact / privacy）— トップと同じ世界観で一貫
   ========================================================= */

/* ---------- パンくず & ページヘッダー ---------- */
.crumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: var(--font-display); font-size: 0.875rem; letter-spacing: 0.05em; }
.crumb li { display: flex; align-items: center; gap: 10px; color: var(--color-muted); }
.crumb li + li::before { content: "/"; color: var(--color-asphalt); }
.crumb a { color: var(--color-muted); min-height: 44px; display: inline-flex; align-items: center; }
.crumb a:hover, .crumb a:focus-visible { color: var(--color-red-text); }
.crumb [aria-current="page"] { color: var(--color-text); font-weight: 600; max-width: min(60vw, 30ch); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pagehead { position: relative; overflow: hidden; padding-top: calc(var(--topbar-h) + 26px); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-line); }
.pagehead::before {
  content: ""; position: absolute; left: -12%; right: -12%; top: -50px; height: 130px;
  background: linear-gradient(100deg, var(--color-surface) 58%, rgba(216, 31, 38, 0.14));
  transform: skewY(var(--slant)); transform-origin: left;
}
.pagehead .container { position: relative; z-index: 1; }
.pagehead__no { font-family: var(--font-display); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.12em; color: var(--color-red-text); margin-top: 16px; }
.pagehead__en { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 3.4rem); letter-spacing: 0.05em; line-height: 1.15; text-wrap: balance; }
.pagehead__ja { color: var(--color-muted); font-weight: 500; margin-top: 4px; }
.pagehead__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.pagehead__cat { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; background: var(--color-red); color: #fff; padding: 5px 12px; }
.pagehead__meta time { color: var(--color-muted); font-size: 0.9375rem; }
.pagehead--article .pagehead__en, .pagehead__en--article { font-size: clamp(1.5rem, 4vw, 2.4rem); line-height: 1.3; }

.empty-note { grid-column: 1 / -1; padding: var(--space-lg) 0; text-align: center; color: var(--color-muted); }
.page-lead { color: var(--color-muted); max-width: 64ch; margin-bottom: var(--space-md); font-size: 1rem; }
.inline-link { color: var(--color-red-text); text-decoration: underline; white-space: nowrap; }

/* ---------- HOST一覧: 絞り込み ---------- */
.filter { border: 1px solid var(--color-line); background: var(--color-surface); padding: 16px; margin-bottom: var(--space-md); }
.filter__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.filter__btn {
  min-height: 44px; padding: 0 16px; border: 1px solid var(--color-asphalt);
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.06em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
.filter__btn[aria-pressed="true"] { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.filter__btn:hover, .filter__btn:focus-visible { border-color: var(--color-red); color: var(--color-red-text); }
.filter__btn[aria-pressed="true"]:hover, .filter__btn[aria-pressed="true"]:focus-visible { color: #fff; }
.filter__sort { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: 0.9375rem; font-weight: 600; }
.filter__sort select { min-height: 44px; padding: 0 12px; background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-asphalt); font-size: 1rem; }
.filter__count { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--color-muted); }
.filter__count strong { color: var(--color-yellow); font-size: 1.25rem; }
.filter__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--color-line); }
.tagchip { min-height: 44px; padding: 0 14px; border: 1px solid var(--color-line); font-size: 0.875rem; font-weight: 600; color: var(--color-muted); }
.tagchip[aria-pressed="true"] { background: var(--color-surface-2); border-color: var(--color-red); color: var(--color-red-text); }
.tagchip:hover, .tagchip:focus-visible { border-color: var(--color-red); color: var(--color-text); }

/* ---------- HOST一覧: カード（ドライバープロフィール風・順位なし） ---------- */
.host-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); align-items: start; }
.host-card { border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 0.25s ease, transform 0.25s ease; }
.host-card:hover, .host-card:focus-within { border-color: var(--color-red); transform: translateY(-3px); }
.host-card__link { display: block; position: relative; }
.host-card__no { position: absolute; top: 8px; left: 10px; z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; letter-spacing: 0.04em; color: var(--color-text); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85); }
.host-card__chips { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.host-card__chip { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; padding: 4px 9px; }
.host-card__chip--today { background: var(--color-yellow); color: #1a1300; }
.host-card__chip--new { background: var(--color-red); color: #fff; }
.host-card__ph { border: 0; border-bottom: 1px solid var(--color-line); }
.host-card__body { display: block; padding: 14px 16px 16px; }
.host-card__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; }
.host-card__ja { font-family: var(--font-body); font-size: 0.9375rem; color: var(--color-muted); font-weight: 500; letter-spacing: 0; }
.host-card__catch { display: block; margin-top: 6px; font-size: 0.9375rem; color: var(--color-text); }
.host-card__tags { display: flex; flex-wrap: wrap; gap: 6px 10px; margin-top: 10px; }
.host-card__tags span { font-family: var(--font-display); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.04em; color: var(--color-red-text); }
.host-card__time { display: block; margin-top: 8px; font-size: 1rem; font-weight: 600; color: var(--color-yellow); }

/* ---------- HOST詳細 ---------- */
.detail__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 52px); align-items: start; }
.detail__main { border: 1px solid var(--color-line); }
.detail__subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.detail__subimg { border: 1px solid var(--color-line); }
.detail__catch { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 3vw, 1.9rem); letter-spacing: 0.03em; line-height: 1.35; }
.detail__spec { margin-top: 18px; border-top: 1px solid var(--color-line); }
.detail__spec > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
.detail__spec dt { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.06em; color: var(--color-red-text); }
.detail__spec dd { font-size: 1rem; font-weight: 500; }
.detail__sns { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 18px; }
.detail__sns-label { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.12em; color: var(--color-muted); }
.detail__sns a { min-height: 44px; display: inline-flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.06em; border-bottom: 2px solid var(--color-red); }
.detail__sns a:hover, .detail__sns a:focus-visible { color: var(--color-red-text); }
.detail__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.detail__block { margin-top: var(--space-lg); }
.detail__comment { font-size: 1.0625rem; max-width: 46em; color: var(--color-text); }
.detail-sched { border-top: 1px solid var(--color-line); max-width: 640px; }
.detail-sched li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--color-line); }
.detail-sched__date { font-weight: 600; }
.detail-sched__time { font-family: var(--font-display); font-weight: 700; color: var(--color-yellow); }
.detail-sched__none { color: var(--color-muted); }
.diary { border: 1px solid var(--color-line); border-left: 3px solid var(--color-red); background: var(--color-surface); padding: 18px 20px; }
.diary + .diary { margin-top: 12px; }
.diary__date { font-family: var(--font-display); font-size: 0.9375rem; color: var(--color-muted); }
.diary__title { font-size: 1.125rem; font-weight: 700; margin: 4px 0 8px; }
.diary__body { color: var(--color-muted); }

/* ---------- 前後移動ページャ（cast-detail / news-detail） ---------- */
.pager { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: var(--space-lg); }
.pager__link { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 66px; padding: 12px 18px; border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 0.25s ease; }
.pager__link:hover, .pager__link:focus-visible { border-color: var(--color-red); }
.pager__next { text-align: right; align-items: flex-end; }
.pager__dir { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.14em; color: var(--color-red-text); }
.pager__name { font-weight: 600; font-size: 0.9375rem; }

/* ---------- スケジュール（日付ベース7日） ---------- */
.sched-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: var(--space-md); scrollbar-color: var(--color-red) var(--color-line); }
.sched-tab { flex: 0 0 auto; position: relative; min-width: 74px; min-height: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 10px 8px; border: 1px solid var(--color-line); background: var(--color-surface); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.sched-tab[aria-selected="true"] { background: var(--color-red); border-color: var(--color-red); }
.sched-tab:hover, .sched-tab:focus-visible { border-color: var(--color-red); }
.sched-tab__dow { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--color-muted); }
.sched-tab__dow.is-sun { color: var(--color-red-text); }
.sched-tab__day { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }
.sched-tab__mon { font-size: 0.875rem; color: var(--color-muted); }
.sched-tab__flag { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; color: var(--color-yellow); margin-top: 2px; }
.sched-tab__flag--closed { color: var(--color-muted); }
.sched-tab[aria-selected="true"] .sched-tab__dow, .sched-tab[aria-selected="true"] .sched-tab__mon { color: rgba(255, 255, 255, 0.85); }
.sched-tab[aria-selected="true"] .sched-tab__day, .sched-tab[aria-selected="true"] .sched-tab__flag { color: #fff; }
.sched-head { font-family: var(--font-display); font-weight: 700; font-size: 1.125rem; margin-bottom: var(--space-sm); }
.sched-head strong { color: var(--color-yellow); font-size: 1.5rem; }
.sched-closed { color: var(--color-muted); padding: var(--space-md) 0; font-size: 1.0625rem; }
.sched-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.sched-card { position: relative; border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 0.25s ease, transform 0.25s ease; }
.sched-card:hover, .sched-card:focus-visible { border-color: var(--color-red); transform: translateY(-3px); }
.sched-card__no { position: absolute; top: 6px; left: 8px; z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--color-text); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85); }
.sched-card .ph { border: 0; border-bottom: 1px solid var(--color-line); }
.sched-card__body { display: block; padding: 10px 12px 12px; }
.sched-card__name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; }
.sched-card__ja { font-family: var(--font-body); font-size: 0.875rem; color: var(--color-muted); font-weight: 500; }
.sched-card__time { display: block; margin-top: 4px; font-size: 1rem; font-weight: 600; color: var(--color-yellow); }
.notice { margin-top: var(--space-md); padding: 14px 16px; border: 1px solid var(--color-line); border-left: 3px solid var(--color-yellow); color: var(--color-muted); font-size: 0.9375rem; background: var(--color-surface); }

/* ---------- 料金システム ---------- */
.sys-section { margin-top: var(--space-lg); }
.sys-section:first-of-type { margin-top: 0; }
.price-table { border-top: 2px solid var(--color-red); }
.price-row { display: grid; align-items: baseline; gap: 4px 16px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price"; min-height: 60px; padding: 12px 8px; border-bottom: 1px solid var(--color-line); }
.price-row--set { grid-template-columns: minmax(0, 1fr) 96px 150px; grid-template-areas: "name time price"; }
.price-row__name { grid-area: name; font-weight: 700; font-size: 1.0625rem; }
.price-row__time { grid-area: time; font-size: 0.9375rem; color: var(--color-muted); }
.price-row__price { grid-area: price; justify-self: end; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em; white-space: nowrap; }
.price-row--vip .price-row__price { color: var(--color-yellow); }
.sys-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 44px); }
.sys-rate { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--color-yellow); }
.sys-payment { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sys-payment li { border: 1px solid var(--color-asphalt); padding: 8px 14px; font-size: 0.9375rem; font-weight: 600; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.sys-notes { margin-top: 12px; }
.sys-notes li { position: relative; padding: 6px 0 6px 18px; color: var(--color-muted); font-size: 0.9375rem; }
.sys-notes li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--color-red); }

/* ---------- ニュース一覧 ---------- */
.news-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-md); }
.news-filter button { min-height: 44px; padding: 0 18px; border: 1px solid var(--color-asphalt); font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.08em; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.news-filter button[aria-pressed="true"] { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.news-filter button:hover, .news-filter button:focus-visible { border-color: var(--color-red); color: var(--color-red-text); }
.news-filter button[aria-pressed="true"]:hover { color: #fff; }
.news-index { display: grid; gap: 16px; }
.news-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; border: 1px solid var(--color-line); background: var(--color-surface); align-items: start; transition: border-color 0.25s ease; }
.news-item:hover, .news-item:focus-visible { border-color: var(--color-red); }
.news-item__ph { border: 0; border-right: 1px solid var(--color-line); }
.news-item__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; }
.news-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.news-item__meta time { font-size: 0.9375rem; color: var(--color-muted); font-weight: 500; }
.news-item__cat { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.1em; padding: 3px 9px; }
.news-item__cat--event { background: var(--color-red); color: #fff; }
.news-item__cat--news { border: 1px solid var(--color-asphalt); color: var(--color-muted); }
.news-item__badge { font-family: var(--font-display); font-weight: 800; font-size: 0.875rem; color: var(--color-yellow); border: 1px solid var(--color-asphalt); padding: 3px 9px; }
.news-item__title { font-size: 1.125rem; font-weight: 700; }
.news-item__excerpt { font-size: 0.9375rem; color: var(--color-muted); }
.news-pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: var(--space-md); }
.pagebtn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-asphalt); font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.pagebtn[aria-current="page"] { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.pagebtn:hover, .pagebtn:focus-visible { border-color: var(--color-red); color: var(--color-red-text); }
.pagebtn[aria-current="page"]:hover { color: #fff; }

/* ---------- ニュース詳細 ---------- */
.article__hero { border: 0; border-bottom: 2px solid var(--color-red); margin-bottom: var(--space-md); }
.article__body { max-width: 62ch; font-size: 1.0625rem; }
.article__body p + p { margin-top: 1em; }
.article__demo { margin-top: 1.5em; padding: 14px 16px; border: 1px solid var(--color-line); background: var(--color-surface); color: var(--color-muted); font-size: 0.9375rem; }

/* ---------- ギャラリー & ライトボックス ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: start; }
.gcard { position: relative; display: block; width: 100%; border: 1px solid var(--color-line); background: var(--color-surface); transition: border-color 0.25s ease, transform 0.25s ease; }
.gcard:hover, .gcard:focus-visible { border-color: var(--color-red); transform: translateY(-3px); }
.gcard__cat { position: absolute; top: 8px; left: 8px; z-index: 2; font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.06em; background: rgba(12, 12, 13, 0.82); color: var(--color-text); padding: 4px 9px; }
.gcard .ph { border: 0; }
.lightbox { position: fixed; inset: 0; z-index: 360; display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__veil { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.86); }
.lightbox__dialog { position: relative; z-index: 1; width: min(920px, 100%); }
.lightbox .ph { aspect-ratio: 16 / 9; border: 1px solid var(--color-line); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.lightbox__cap { font-size: 0.9375rem; color: var(--color-text); }
.lightbox__nav { display: flex; align-items: center; gap: 10px; }
.lightbox__pos { font-family: var(--font-display); font-weight: 700; font-size: 0.9375rem; color: var(--color-muted); }
.lightbox__prev, .lightbox__next, .lightbox__close { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--color-asphalt); background: var(--color-surface); font-size: 1.2rem; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.lightbox__prev:hover, .lightbox__next:hover, .lightbox__close:hover,
.lightbox__prev:focus-visible, .lightbox__next:focus-visible, .lightbox__close:focus-visible { border-color: var(--color-red); color: var(--color-red-text); }

/* ---------- アクセス ---------- */
.access-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.access-info dl { border-top: 1px solid var(--color-line); }
.access-info dl > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.access-info dt { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.06em; color: var(--color-red-text); }
.access-info dd { font-size: 1rem; }
.access-media .ph + .ph { margin-top: 14px; }
.access-media .ph { border: 1px solid var(--color-line); }
.route-list { counter-reset: step; border-top: 1px solid var(--color-line); }
.route-list li { position: relative; padding: 14px 0 14px 52px; border-bottom: 1px solid var(--color-line); }
.route-list li::before { counter-increment: step; content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--color-red-text); }
.access-taxi { margin-top: var(--space-md); padding: 16px 18px; border: 1px solid var(--color-line); background: var(--color-surface); }
.access-taxi p { color: var(--color-muted); }

/* ---------- 採用 ---------- */
.recruit-mv { position: relative; }
.recruit-mv .ph { border: 1px solid var(--color-line); }
.recruit-mv__copy { margin-top: 16px; }
.recruit-mv__eyebrow { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: 0.05em; color: var(--color-red-text); }
.recruit-mv__lead { font-size: 1.0625rem; max-width: 46em; margin-top: 8px; }
.jobtabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-md); }
.jobtabs button { min-height: 48px; padding: 0 22px; border: 1px solid var(--color-asphalt); font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.jobtabs button[aria-pressed="true"] { background: var(--color-red); color: #fff; border-color: var(--color-red); }
.jobtabs button:hover, .jobtabs button:focus-visible { border-color: var(--color-red); color: var(--color-red-text); }
.jobtabs button[aria-pressed="true"]:hover { color: #fff; }
.jobpanel__lead { font-size: 1.0625rem; max-width: 48em; }
.jobpanel__note { margin-top: 10px; color: var(--color-muted); }
.merit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.merit { border: 1px solid var(--color-line); border-top: 3px solid var(--color-red); background: var(--color-surface); padding: 22px; }
.merit__no { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: transparent; -webkit-text-stroke: 1px var(--color-asphalt); }
.merit__title { font-size: 1.125rem; font-weight: 700; margin: 6px 0 8px; }
.merit__body { color: var(--color-muted); }
.salary { border-top: 2px solid var(--color-red); }
.salary__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: baseline; padding: 14px 8px; border-bottom: 1px solid var(--color-line); }
.salary__role { font-weight: 700; font-size: 1.0625rem; }
.salary__ex { font-size: 1rem; font-weight: 600; color: var(--color-yellow); }
.salary-note { margin-top: 12px; color: var(--color-muted); font-size: 0.9375rem; }
.cond-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.cond-list li { position: relative; padding: 10px 0 10px 24px; border-bottom: 1px solid var(--color-line); }
.cond-list li::before { content: "›"; position: absolute; left: 4px; top: 10px; color: var(--color-red-text); font-weight: 700; }
.trial-box { border: 1px solid var(--color-line); border-left: 3px solid var(--color-yellow); background: var(--color-surface); padding: 20px 22px; font-size: 1.0625rem; }
.faq-list { border-top: 1px solid var(--color-line); }
.faq { border-bottom: 1px solid var(--color-line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 60px; padding: 14px 8px; text-align: left; font-weight: 700; font-size: 1.0625rem; }
.faq__q:hover, .faq__q:focus-visible { color: var(--color-red-text); }
.faq__ic { position: relative; width: 18px; height: 18px; flex: 0 0 auto; }
.faq__ic::before, .faq__ic::after { content: ""; position: absolute; background: var(--color-red); }
.faq__ic::before { left: 0; right: 0; top: 8px; height: 2px; }
.faq__ic::after { top: 0; bottom: 0; left: 8px; width: 2px; transition: transform 0.25s ease; }
.faq__q[aria-expanded="true"] .faq__ic::after { transform: scaleY(0); }
.faq__a { padding: 0 8px 18px; color: var(--color-muted); }
.faq__a p { max-width: 60ch; }

/* ---------- フォーム（contact / recruit） ---------- */
.form, .form-confirm { border: 1px solid var(--color-line); background: var(--color-surface); padding: clamp(20px, 3vw, 32px); }
.form-confirm { border-top: 3px solid var(--color-red); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field--full { grid-column: 1 / -1; }
.form__label { font-size: 0.9375rem; font-weight: 700; }
.form__req { color: var(--color-red-text); font-size: 0.875rem; font-weight: 700; margin-left: 6px; }
.form__field input, .form__field select, .form__field textarea { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--color-bg); color: var(--color-text); border: 1px solid var(--color-asphalt); font-family: var(--font-body); font-size: 1rem; }
.form__field textarea { min-height: 128px; resize: vertical; line-height: 1.7; }
.form__field input:focus-visible, .form__field select:focus-visible, .form__field textarea:focus-visible { outline: 3px solid var(--color-yellow); outline-offset: 2px; }
.form__consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--color-line); }
.form__consent input { width: 24px; height: 24px; min-height: 0; margin-top: 2px; flex: 0 0 auto; accent-color: var(--color-red); }
.form__consent label { font-size: 0.9375rem; }
.form__consent a { color: var(--color-red-text); text-decoration: underline; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.form__note { grid-column: 1 / -1; font-size: 0.9375rem; color: var(--color-muted); }
.confirm__list { border-top: 1px solid var(--color-line); margin: 8px 0 0; }
.confirm__row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 12px 4px; border-bottom: 1px solid var(--color-line); }
.confirm__row dt { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.04em; color: var(--color-red-text); }
.confirm__row dd { font-size: 1rem; word-break: break-word; }
.confirm__note { margin: 16px 0; color: var(--color-muted); font-size: 0.9375rem; }
.confirm__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- プライバシー ---------- */
.legal { max-width: 76ch; }
.legal__updated { color: var(--color-muted); font-size: 0.9375rem; margin-bottom: var(--space-md); }
.legal h2 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.04em; margin: var(--space-md) 0 10px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--color-muted); font-size: 1rem; }
.legal p + p { margin-top: 0.8em; }
.legal ul { margin: 8px 0 0; }
.legal li { position: relative; padding: 4px 0 4px 18px; }
.legal li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 2px; background: var(--color-red); }

/* ---------- 下層レスポンシブ ---------- */
@media (max-width: 1023px) {
  .host-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail__grid { grid-template-columns: minmax(0, 1fr); }
  .access-grid { grid-template-columns: minmax(0, 1fr); }
  .sys-meta { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .filter__sort { margin-left: 0; }
  .sched-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .merit-grid, .cond-list { grid-template-columns: minmax(0, 1fr); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: minmax(0, 1fr); }
  .news-item__ph { border-right: 0; border-bottom: 1px solid var(--color-line); }
  .detail__spec > div { grid-template-columns: 96px minmax(0, 1fr); }
  .price-row--set { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "time price"; }
  .salary__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .confirm__row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager__next { text-align: left; align-items: flex-start; }
}
@media (max-width: 429px) {
  .host-grid { grid-template-columns: minmax(0, 1fr); }
  .sched-grid { grid-template-columns: minmax(0, 1fr); }
  .cond-list { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .loader { display: none; }
}
