/* =========================================
   川口ナイトレース 特設サイト
   モバイルファースト（PC・タブレットは min-width で上書き）
   ========================================= */

:root {
  --bg: #070a24;
  --bg-2: #141a52;
  --purple: #4b2f8f;
  --cyan: #7ff4ff;
  --cyan-deep: #2fc7e8;
  --pink: #ff3d9a;
  --text: #ffffff;
  --text-sub: #c3c8ee;
  --sat: #5fa8ff;
  --sun: #ff5a6e;
  --sat-on-light: #0050c8;
  --sun-on-light: #e0002a;
  --line: rgba(127, 244, 255, .35);
  --card: rgba(16, 22, 70, .72);
  --header-h: 56px;
  --font: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-num: "Barlow Condensed", var(--font);}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 500;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- 銀河の背景（メインビジュアルに合わせた青紫＋天の川） ---------- */
.sky {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  background:
    /* 天の川の帯 */
    linear-gradient(118deg,
      transparent 30%,
      rgba(110, 120, 255, .18) 40%,
      rgba(190, 120, 255, .30) 47%,
      rgba(255, 150, 220, .22) 51%,
      rgba(120, 170, 255, .20) 57%,
      transparent 68%),
    /* 星雲のにじみ */
    radial-gradient(ellipse 60% 40% at 15% 10%, rgba(80, 110, 255, .45), transparent 70%),
    radial-gradient(ellipse 50% 35% at 85% 45%, rgba(170, 90, 255, .35), transparent 70%),
    radial-gradient(ellipse 70% 40% at 30% 95%, rgba(255, 110, 200, .25), transparent 70%),
    linear-gradient(180deg, #0a1250 0%, #1a1f78 45%, #2c2390 75%, #3b2a8f 100%);
}
/* 細かい星（2層で密度を出す） */
.sky::before, .sky::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff, transparent),
    radial-gradient(1px 1px at 30% 70%, #cfe0ff, transparent),
    radial-gradient(1.5px 1.5px at 55% 35%, #fff, transparent),
    radial-gradient(1px 1px at 75% 15%, #fff, transparent),
    radial-gradient(1px 1px at 85% 80%, #e6d4ff, transparent),
    radial-gradient(1.5px 1.5px at 45% 90%, #fff, transparent),
    radial-gradient(1px 1px at 65% 55%, #fff, transparent),
    radial-gradient(1px 1px at 20% 50%, #cfe0ff, transparent),
    radial-gradient(1px 1px at 92% 38%, #fff, transparent),
    radial-gradient(1px 1px at 5% 85%, #fff, transparent),
    radial-gradient(1px 1px at 38% 8%, #e6d4ff, transparent),
    radial-gradient(1.5px 1.5px at 70% 95%, #fff, transparent);
  background-size: 180px 180px;
  opacity: .8;
}
.sky::after {
  background-size: 290px 290px;
  background-position: 90px 60px;
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .2; } to { opacity: .9; } }

/* キラッと光る十字の星 */
.sparkle {
  position: absolute; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  background:
    radial-gradient(circle, #fff 0 2.5px, rgba(170, 210, 255, .9) 4px, transparent 12px),
    linear-gradient(90deg, transparent, #fff 50%, transparent) center / 100% 2px no-repeat,
    linear-gradient(0deg, transparent, #fff 50%, transparent) center / 2px 100% no-repeat;
  filter: drop-shadow(0 0 8px rgba(150, 200, 255, 1)) drop-shadow(0 0 16px rgba(150, 200, 255, .6));
  animation: sparkle 3.5s ease-in-out infinite;
}
.sparkle:nth-child(1) { top: 12%; left: 82%; }
.sparkle:nth-child(2) { top: 38%; left: 8%; transform: scale(.7); animation-delay: -1.2s; }
.sparkle:nth-child(3) { top: 66%; left: 90%; transform: scale(.8); animation-delay: -2.4s; }
.sparkle:nth-child(4) { top: 88%; left: 22%; transform: scale(.6); animation-delay: -.6s; }
@keyframes sparkle { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px;
  background: rgba(7, 10, 36, .82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header { gap: 8px; }
.header__logo { display: block; flex-shrink: 1; width: min(230px, calc(100vw - 180px)); transition: opacity .2s; }
.header__logo:hover { opacity: .8; }

/* AUTORACE.JP投票バナー（メニューボタンの左） */
.header__vote {
  order: 2; margin-left: auto; flex-shrink: 0;
  display: flex; align-items: center; gap: 2px;
  height: 40px; padding: 3px 6px 3px 3px; border-radius: 6px;
  background: #fff; color: #141a52; text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 61, 154, .55);
  transition: transform .2s;
}
.header__vote:hover { transform: translateY(-1px); }
/* WINTICKETロゴ：画像は正方形で余白が多いので、ロゴ部分だけが見えるように枠で切り取る（画像自体はそのまま）。
   大きさは使う場所ごとに height か width で決める */
.wt-logo {
  position: relative; display: block; overflow: hidden; flex-shrink: 0;
  aspect-ratio: 1690 / 851;
}
.wt-logo img {
  position: absolute; max-width: none;
  width: 118.34%; height: auto; left: -9.17%; top: -71.92%;
}
.header__vote-logo { height: 30px; }
.header__vote-text {
  writing-mode: vertical-rl; font-size: .72rem; font-weight: 900; letter-spacing: .1em; line-height: 1;
  color: #3ec63c;
}
.menu-btn { order: 3; }

.menu-btn {
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between;
}
.menu-btn span {
  display: block; height: 2px; background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
  transition: transform .3s, opacity .3s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

.nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: rgba(7, 10, 36, .96);
  border-bottom: 1px solid var(--line);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: .3s;
}
.nav.is-open { transform: none; opacity: 1; visibility: visible; }
.nav a {
  display: block; padding: 14px 24px; text-decoration: none; font-weight: 700;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* ---------- メインビジュアル ---------- */
.mv { padding-top: var(--header-h); }
.mv__inner { max-width: 1200px; margin: 0 auto; }

/* ---------- リード文 ---------- */
/* 下の余白はバイクの写真が文章の右下にはみ出す分 */
.lead { position: relative; overflow: hidden; padding: 48px 16px 200px; text-align: center; }
.lead__copy { position: relative; z-index: 1; }
/* 写真の上に重なっても読めるよう、文字に影を付ける */
.lead__text {
  margin: 0; font-size: .95rem; line-height: 2;
  text-shadow: 0 0 4px rgba(7, 10, 36, .9), 0 0 12px rgba(7, 10, 36, .8);
}
.lead__text + .lead__text { margin-top: 1.2em; }
/* 背景のポイントとして右下に置くバイク。画像ファイルは加工せず、表示のしかたで疾走感を出す */
.lead__bike {
  /* 写真の右側の余白に残像が収まるので、枠は画面の内側に置く */
  /* 下は光のにじみが切れない分あける */
  position: absolute; z-index: 0; right: 0; bottom: 30px;
  width: 86%; max-width: 700px;
  transform: translateX(70%); opacity: 0;
  transition: transform 1.1s cubic-bezier(.15, .85, .25, 1) .3s, opacity .6s ease .3s;
}
.lead.is-show .lead__bike { transform: none; opacity: 1; }
.lead__bike img { display: block; width: 100%; height: auto; }
/* 本体：路面に落ちる影＋輪郭からあふれるネオンの光（写真の色そのものは変えない） */
.lead__bike-img { position: relative; z-index: 3; }
/* 後光：写真と同じ形の白いシルエットをぼかして後ろに敷き、水色に光らせる
   （上に重なる写真本体の色は変わらない） */
.lead__glow {
  position: absolute; top: 0; left: 0; z-index: 2;
  filter: brightness(0) invert(1) blur(5px)
    drop-shadow(0 0 8px rgba(127, 244, 255, .95))
    drop-shadow(0 0 20px rgba(127, 244, 255, .6));
  opacity: .85;
}
/* 残像：同じ写真を右後ろにずらしてぼかす（バイクは左へ走っている） */
.lead__ghost { position: absolute; top: 0; left: 0; z-index: 1; }
.lead__ghost--near { transform: translate(6%, -1%); opacity: .4; filter: blur(2px); }
.lead__ghost--far { transform: translate(12%, -2%); opacity: .18; filter: blur(5px); }
/* 光の尾：長時間露光のライトの筋のように、バイクの後ろへ伸びて消えていく */
.lead__trail {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; overflow: visible;
  filter: drop-shadow(0 0 6px rgba(127, 244, 255, .8)) drop-shadow(0 0 14px rgba(255, 61, 154, .5));
}
.lead__trail path { fill: none; stroke-linecap: round; }
.lead__trail-line { stroke: url(#trail-grad); opacity: .9; }
/* 光の尾の上を、白い光が後ろへ走り抜ける */
.lead__trail-flash {
  stroke: #fff; opacity: .9;
  stroke-dasharray: 90 700; stroke-dashoffset: 0;
  animation: trail-flash 1.6s cubic-bezier(.4, 0, .6, 1) infinite;
}
.lead__trail-flash--late { animation-delay: .5s; }
@keyframes trail-flash {
  0%   { stroke-dashoffset: 90; opacity: 0; }
  15%  { opacity: .9; }
  100% { stroke-dashoffset: -600; opacity: 0; }
}

/* ---------- セクション共通 ---------- */
.section { max-width: 960px; margin: 0 auto; padding: 28px 16px; }

.heading {
  margin: 0 auto 28px; text-align: center;
  font-size: 1.35rem; font-weight: 900; letter-spacing: .1em; line-height: 1.4;
  padding: 10px 16px 12px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(127, 244, 255, .5), inset 0 0 10px rgba(127, 244, 255, .25);
  background: rgba(7, 10, 36, .5);
  /* 基本は幅340px、長い見出しは改行せずに枠を広げる */
  width: fit-content; min-width: min(340px, 100%); max-width: 100%;
  white-space: nowrap;
}

/* 曜日の色（公営競技のルール：土曜は青、日曜・祝日は赤） */
.is-sat { color: var(--sat) !important; }
.is-sun { color: var(--sun) !important; }
.dow.is-sat { color: var(--sat-on-light) !important; }
.dow.is-sun { color: var(--sun-on-light) !important; }

.num { font-family: var(--font-num); font-weight: 700; letter-spacing: .02em; }
.note { margin: 12px 0 0; font-size: .8rem; color: var(--text-sub); text-align: center; }

/* ---------- 開催日程 ---------- */
.date-card {
  text-align: center; padding: 24px 16px;
  border-radius: 12px; background: var(--card);
  border: 1px solid rgba(255, 255, 255, .12);
}
.date-card__year { margin: 0; font-family: var(--font-num); font-size: 1.2rem; color: var(--cyan); letter-spacing: .2em; }
.date-card__date {
  margin: 0 0 16px; display: flex; align-items: center; justify-content: center; gap: 6px;
  line-height: 1;
}
.date-card__date .num { font-size: clamp(3rem, 16vw, 4.6rem); }
.dow {
  writing-mode: vertical-rl; font-family: var(--font-num); font-size: .8rem;
  background: rgba(255, 255, 255, .85); color: var(--bg); padding: 4px 1px; border-radius: 2px;
}
.arrow { color: var(--cyan); font-size: 1.1rem; margin: 0 4px; }
.date-card__time {
  margin: 0; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap;
}
.date-card__time div { display: flex; align-items: center; gap: 8px; }
.date-card__time dt { font-size: .75rem; line-height: 1.2; width: 2.2em; font-weight: 700; color: var(--text-sub); }
.date-card__time dd { margin: 0; font-weight: 700; font-size: 1.1rem; }
.date-card__time .num { font-size: 1.9rem; }
/* 大会名：presents の部分を小さく上に、大会名を大きく */
.date-card__name {
  margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px dashed rgba(255, 255, 255, .25);
  font-size: 1.25rem; font-weight: 900; letter-spacing: .08em; line-height: 1.4;
}
.date-card__name span {
  display: block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--cyan);
}
/* 開催形式（画像の中にしかなかった情報を文字でも載せる） */
.date-card__info {
  margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .25);
  font-size: .85rem; font-weight: 700; letter-spacing: .04em;
}

.text-link { text-align: center; margin: 24px 0 0; font-size: .9rem; }
.text-link a {
  display: inline-flex; align-items: center; gap: 14px;
  color: var(--cyan); font-weight: 700; text-decoration: none;
}
/* ＼ テキスト ／ の斜め線 */
.text-link a::before, .text-link a::after {
  content: ""; width: 2px; height: 1.4em; border-radius: 2px;
  background: currentColor; box-shadow: 0 0 6px var(--cyan);
}
.text-link a::before { transform: rotate(-30deg); }
.text-link a::after { transform: rotate(30deg); }
.text-link a:hover { text-shadow: 0 0 8px var(--cyan); }

/* ---------- 主な出場選手 ---------- */
.players { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
/* 太めの枠＋枠と同じ色の名前帯 */
.player {
  text-align: center; overflow: hidden; border-radius: 10px;
  border: 5px solid var(--cyan-deep);
  background: linear-gradient(90deg, var(--cyan-deep), #3a6df0);
  box-shadow: 0 0 16px rgba(127, 244, 255, .5);
}
.player { transition: transform .2s, box-shadow .2s; }
.player:hover { transform: translateY(-4px); box-shadow: 0 0 24px rgba(127, 244, 255, .8); }
.player__link { display: block; color: inherit; text-decoration: none; }
.player__photo img { transition: transform .3s; }
.player:hover .player__photo img { transform: scale(1.05); }
/* 名前の右に「›」を付けて、押せることを示す */
.player__name::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; vertical-align: middle;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
}
.player.is-female {
  border-color: var(--pink);
  background: linear-gradient(90deg, var(--pink), #b04bff);
  box-shadow: 0 0 16px rgba(255, 61, 154, .55);
}
.player.is-female:hover { box-shadow: 0 0 24px rgba(255, 61, 154, .85); }
.player__photo { aspect-ratio: 1 / 1; overflow: hidden; background: #ddd; }
.player__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.player__name {
  margin: 0; padding: 6px 4px 4px; line-height: 1.4;
  font-weight: 900; font-size: 1.05rem; letter-spacing: .08em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}
.player__name small { font-size: .7rem; margin-left: 4px; letter-spacing: .04em; }

/* 「その他出場選手情報」ボタン */
.more-link { margin: 24px 0 0; text-align: center; }
.more-link a {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 260px; min-height: 52px; padding: 12px 48px;
  border-radius: 999px; text-decoration: none; font-weight: 700;
  color: var(--cyan); background: rgba(7, 10, 36, .5);
  border: 1px solid var(--cyan);
  box-shadow: 0 0 10px rgba(127, 244, 255, .4);
  transition: background .2s, color .2s, box-shadow .2s;
}
.more-link a::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.more-link a:hover { background: var(--cyan); color: var(--bg); box-shadow: 0 0 18px rgba(127, 244, 255, .7); }

/* ---------- PDFリンク（出走表・勝ち上がり） ---------- */
.pdf-list { display: grid; gap: 10px; }
.pdf-list a {
  position: relative; display: flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 12px 56px 12px 16px;
  border-radius: 8px; text-decoration: none; font-weight: 700;
  background: var(--card); border: 1px solid rgba(255, 255, 255, .15);
  transition: border-color .2s, box-shadow .2s;
}
.pdf-list a::after {
  content: "PDF"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-num); font-size: .75rem; font-weight: 700;
  padding: 2px 6px; border-radius: 3px; background: var(--pink); color: #fff;
}
.pdf-list a:hover, .pdf-list a:focus-visible {
  border-color: var(--cyan); box-shadow: 0 0 12px rgba(127, 244, 255, .4);
}
.pdf-list__day {
  font-size: .72rem; padding: 2px 8px; border-radius: 3px;
  background: var(--cyan); color: var(--bg); white-space: nowrap;
}
.pdf-list small { font-size: .8rem; color: var(--text-sub); }

/* ---------- 発走時刻 ---------- */
.time-table {
  width: 100%; max-width: 560px; margin: 0 auto;
  border-collapse: collapse; text-align: center;
  background: var(--card); border-radius: 10px; overflow: hidden;
}
.time-table th, .time-table td { padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.time-table thead th { background: rgba(127, 244, 255, .15); color: var(--cyan); font-size: .78rem; white-space: nowrap; }
.time-table tbody th { font-family: var(--font-num); font-size: 1.2rem; }
.time-table td { font-family: var(--font-num); font-size: 1.25rem; font-weight: 700; }
/* 発走予定（いちばん右の列）だけ目立たせる */
.time-table thead th:last-child { background: var(--pink); color: #fff; }
.time-table td:last-child {
  background: rgba(255, 61, 154, .14); color: #fff; font-size: 1.5rem;
  text-shadow: 0 0 8px rgba(255, 61, 154, .9);
}

/* ---------- 今後の開催日程 ---------- */
.season { display: grid; gap: 24px; }
.season__year {
  margin: 0 0 6px; font-family: var(--font-num); font-size: 1.3rem; letter-spacing: .15em; color: var(--cyan);
  border-bottom: 1px solid var(--line);
}
.season__list li {
  position: relative; padding: 10px 4px;
  font-family: var(--font-num); font-size: 1.5rem; font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.season__list small { font-family: var(--font); font-size: .75rem; color: var(--text-sub); margin-left: 2px; }
.season__list li.is-past { display: none; }
.season__list li.is-this::after,
.season__list li.is-now::after {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font); font-size: .7rem; padding: 2px 8px; border-radius: 999px;
}
.season__list li.is-this,
.season__list li.is-now { color: var(--cyan); }
.season__list li.is-this::after { content: "今回"; background: var(--pink); color: #fff; }
.season__list li.is-now::after { content: "開催中"; background: var(--pink); color: #fff; }

/* ---------- ライブ配信 ---------- */
.sub-block + .sub-block { margin-top: 36px; }
/* 文中の文字リンク */
.inline-link {
  color: var(--cyan); font-weight: 700; text-decoration: none;
}
.inline-link:hover { text-shadow: 0 0 8px var(--cyan); }

/* 川口オート公式YouTubeボタン（ネオン枠のカード） */
.yt-btn {
  display: flex; align-items: center; gap: 14px;
  max-width: 420px; margin: 0 auto 32px; padding: 14px 16px;
  border-radius: 14px; text-decoration: none; color: #fff;
  background: rgba(7, 10, 36, .7);
  border: 2px solid var(--cyan);
  box-shadow: 0 0 14px rgba(127, 244, 255, .5), inset 0 0 14px rgba(127, 244, 255, .15);
  transition: transform .2s, box-shadow .2s;
}
.yt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(127, 244, 255, .8), inset 0 0 14px rgba(127, 244, 255, .25);
}
.yt-btn__icon { width: 44px; height: 44px; flex-shrink: 0; color: #ff0000; filter: drop-shadow(0 0 6px rgba(255, 0, 0, .6)); }
.yt-btn__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.yt-btn__logo { width: 100%; max-width: 230px; height: auto; }
.yt-btn__label { font-weight: 900; font-size: 1rem; letter-spacing: .04em; color: var(--cyan); line-height: 1.2; }
.yt-btn__arrow {
  position: relative; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--cyan);
}
.yt-btn__arrow::after {
  content: ""; position: absolute; top: 50%; left: 42%; width: 8px; height: 8px;
  border-top: 2px solid var(--cyan); border-right: 2px solid var(--cyan);
  transform: translate(-50%, -50%) rotate(45deg);
}
/* 小見出し（左にネオンの縦線） */
.sub-heading {
  margin: 0 0 12px; padding: 2px 0 2px 12px;
  font-size: 1.15rem; font-weight: 900; letter-spacing: .06em; line-height: 1.4;
  border-left: 4px solid var(--cyan);
  box-shadow: -4px 0 10px -4px rgba(127, 244, 255, .8);
}.section-lead { margin: 0 0 24px; font-size: .9rem; line-height: 1.9; text-align: left; }
.section-lead.is-left { text-align: left; } /* PCでも左揃えのまま */
.program { font-weight: 900; color: var(--cyan); text-shadow: 0 0 8px rgba(127, 244, 255, .6); }
.live-list { display: grid; gap: 32px; }
.live__day {
  margin: 0 0 10px; font-size: 1.25rem; font-weight: 900; text-align: center; color: var(--cyan);
}
.live__day small { font-size: .9rem; margin-left: 2px; }
.cast {
  margin-top: 12px; padding: 14px 16px;
  border-radius: 10px; background: var(--card); border: 1px solid rgba(255, 255, 255, .12);
}
.cast__title {
  margin: 0 0 8px; padding-bottom: 6px; text-align: center;
  font-weight: 900; letter-spacing: .3em; color: var(--pink);
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}
.cast__list { margin: 0; }
/* 肩書きが長いときは名前の上に1行で */
.cast__list dd small.is-block { display: block; margin: 0 0 2px; line-height: 1.5; }
/* 狭い画面で折り返すときは、肩書きの区切りで折り返す */
.nowrap { display: inline-block; }
.cast__list div { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px; padding: 6px 0; }
.cast__list dt {
  align-self: start; text-align: center; font-size: .75rem; font-weight: 700;
  padding: 1px 0; border-radius: 3px; background: rgba(127, 244, 255, .15); color: var(--cyan);
}
.cast__list dd { margin: 0; font-weight: 700; line-height: 1.6; }
.cast__list dd small { font-size: .75rem; color: var(--text-sub); margin-right: 6px; }

.video {
  aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- CTA ---------- */
.cta { padding: 24px 16px 56px; text-align: center; }
.cta__lead { margin: 0 0 14px; font-weight: 700; }
/* AUTORACE.JP投票ボタン：白いカードにロゴ（ロゴの背景が白なので白地で見せる） */
.vote-btn {
  display: flex; align-items: center; gap: 12px;
  width: 100%; max-width: 380px; margin: 0 auto; padding: 10px 14px 10px 10px;
  border-radius: 16px; text-decoration: none; text-align: left;
  background: #fff; color: #141a52;
  border: 3px solid var(--pink);
  box-shadow: 0 0 20px rgba(255, 61, 154, .6), 0 0 48px rgba(176, 75, 255, .35);
  transition: transform .2s, box-shadow .2s;
}
.vote-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 26px rgba(255, 61, 154, .8), 0 0 60px rgba(176, 75, 255, .5);
}
.vote-btn__logo { width: clamp(68px, 24vw, 92px); flex-shrink: 0; }
.vote-btn__text {
  flex: 1; font-weight: 900; font-size: clamp(.95rem, 4.6vw, 1.15rem); line-height: 1.35; letter-spacing: .02em;
  white-space: nowrap;
}
.vote-btn__arrow {
  position: relative; flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #b04bff);
}
.vote-btn__arrow::after {
  content: ""; position: absolute; top: 50%; left: 45%; width: 9px; height: 9px;
  border-top: 3px solid #fff; border-right: 3px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}
/* ロゴだけのボタン（WINTICKETの開催用）：ロゴを中央に大きく、矢印は右端に */
.vote-btn--logo-only { position: relative; justify-content: center; padding: 12px 60px; }
.vote-btn--logo-only .vote-btn__logo { width: auto; height: 56px; }
.vote-btn--logo-only .vote-btn__arrow { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
/* WINTICKETの開催用：枠と光と矢印をWINTICKETの緑に */
.vote-btn--winticket {
  border-color: #3ec63c;
  box-shadow: 0 0 20px rgba(62, 198, 60, .6), 0 0 48px rgba(62, 198, 60, .3);
}
.vote-btn--winticket:hover { box-shadow: 0 0 26px rgba(62, 198, 60, .8), 0 0 60px rgba(62, 198, 60, .45); }
.vote-btn--winticket .vote-btn__arrow { background: linear-gradient(135deg, #3ec63c, #1fa23a); }

/* ---------- フッター ---------- */
.footer {
  padding: 32px 16px 92px; text-align: center; /* 下はTOPボタン分の余白 */
  background: rgba(3, 4, 18, .9);
  border-top: 4px solid var(--pink);
}
.footer__logo { display: inline-block; width: 260px; max-width: 80%; margin-bottom: 20px; transition: opacity .2s; }
.footer__logo:hover { opacity: .8; }
/* SNSアイコン（丸いボタン） */
.sns {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  color: #fff; background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background .2s, box-shadow .2s, transform .2s;
}
.sns svg { width: 20px; height: 20px; }
.sns:hover { transform: translateY(-2px); color: #fff; }
.sns--instagram:hover { background: #e4405f; box-shadow: 0 0 14px rgba(228, 64, 95, .7); }
.sns--facebook:hover  { background: #0866ff; box-shadow: 0 0 14px rgba(8, 102, 255, .7); }
.sns--youtube:hover   { background: #ff0000; box-shadow: 0 0 14px rgba(255, 0, 0, .7); }
.sns--line:hover      { background: #06c755; box-shadow: 0 0 14px rgba(6, 199, 85, .7); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 24px; }
.footer__copy { margin: 0; color: var(--text-sub); font-size: .85rem; }

/* ---------- TOPへ戻るボタン ---------- */
.page-top {
  position: fixed; right: 12px; z-index: 45;
  bottom: calc(env(safe-area-inset-bottom) + 16px);
  width: 64px; height: 64px; border-radius: 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--font-num); font-size: .7rem; font-weight: 700; letter-spacing: .06em;
  line-height: 1; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--pink), #b04bff);
  box-shadow: 0 0 14px rgba(255, 61, 154, .6);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.page-top.is-show { opacity: 1; visibility: visible; transform: none; }
.page-top__arrow {
  width: 12px; height: 12px; margin-top: 4px;
  border-top: 3px solid #fff; border-left: 3px solid #fff; transform: rotate(45deg);
}

/* ---------- スクロールでふわっと表示 ---------- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.fade.is-show { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; transition: none; }
  .sky::after, .sparkle { animation: none; }
  .lead__bike { transform: none; opacity: 1; transition: none; }
  .lead__trail-flash { animation: none; display: none; }
}

/* =========================================
   タブレット（768px〜）
   ========================================= */
@media (min-width: 768px) {
  :root { --header-h: 64px; }
  .page-top { right: 24px; bottom: 24px; width: 72px; height: 72px; }
  .footer { padding-bottom: 32px; }

  .lead { padding: 72px 24px 180px; max-width: 1000px; margin: 0 auto; }
  .lead__text { font-size: 1.05rem; }
  .lead__bike { width: 52%; right: 0; bottom: 30px; }
  .section { padding: 40px 24px; }
  .heading { font-size: 1.6rem; }

  .players { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .pdf-list { grid-template-columns: repeat(2, 1fr); }
  #results .pdf-list { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .season { grid-template-columns: 1fr 1fr; gap: 40px; }
  .section-lead { text-align: center; }
  .live-list { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* =========================================
   PC（1024px〜）
   ========================================= */
/* メニューを横並びにするのは、ロゴ・メニュー・投票バナーが1行に収まる1200pxから */
@media (min-width: 1200px) {
  .menu-btn { display: none; }
  .nav {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: 0;
    order: 1; margin-left: auto;
  }
  .header__vote { margin-left: 8px; }
  .nav ul { display: flex; gap: 2px; }
  .nav a { border: 0; padding: 8px 10px; font-size: .85rem; white-space: nowrap; }
  .nav a:hover { color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
}

@media (min-width: 1024px) {
  /* 画像の左右を星空でつなぐ（1200pxより広い画面用） */
  .mv {
    background:
      linear-gradient(90deg, var(--bg) 0%, transparent 25%, transparent 75%, var(--bg) 100%),
      url("../img/mv-winticket.jpg") center / cover; /* index.html のメインビジュアルと同じ画像にする */
    position: relative;
  }
  .mv::before {
    content: ""; position: absolute; inset: 0;
    backdrop-filter: blur(24px) brightness(.6);
    -webkit-backdrop-filter: blur(24px) brightness(.6);
  }
  .mv__inner { position: relative; }
  .mv__inner img { box-shadow: 0 0 60px rgba(127, 244, 255, .25); }
}
