/* 読みもののページ（/about・/how-to-play・/tips・/faq・/course。tools/race-pages/site-pages.mjs が作る）。
   2026-11-02：ゲームアプリの紹介ページ（LP）らしく。画面いっぱいの区切りを左右に分け、機体・リング・地球の絵と写真で見せる。
   色はゲームと同じ：黒の地・白の文字・ポイントは赤・リングは金。青・水色は使わない。数字と英語の小見出しは Orbitron */
:root {
  --bg: #05070b;
  --bg2: #0a0e16;
  --panel: rgba(255, 255, 255, 0.04);
  --panel-solid: #0f141e;
  --line: rgba(255, 255, 255, 0.1);
  --line2: rgba(255, 255, 255, 0.2);
  --text: #f4f6fa;
  --muted: #98a1b3;
  --red: #ff3b47;
  --gold: #ffad1f;
  --num: 'Orbitron', ui-monospace, monospace;
  --jp: 'Noto Sans JP', system-ui, -apple-system, sans-serif;
  --wrap: 1160px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--jp);
  font-size: 16px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.narrow {
  max-width: 760px;
}
h1,
h2,
h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.01em;
}
h2 {
  margin-top: 6px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
}
h3 {
  font-size: 18px;
  line-height: 1.5;
}
p {
  margin: 14px 0;
}
.lead {
  color: #c9d0dc;
  font-size: 17px;
}

/* 英語の小見出し：赤い短い線と、字の間を広くした Orbitron */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--text);
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
}

/* ボタン：主役は白の丸いボタン（ゲームと同じ）、ほかは枠だけ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 24px;
  border: 1.5px solid #fff;
  border-radius: 999px;
  background: #fff;
  color: #05070b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.18);
}
.btn.lg {
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
}
.btn.sm {
  height: 36px;
  padding: 0 18px;
  font-size: 14px;
}
.btn.sm .arw {
  display: none;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border-color: var(--line2);
}
.btn.ghost:hover {
  border-color: #fff;
  box-shadow: none;
}
.arw {
  width: 16px;
  height: 16px;
  flex: none;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--red);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.more:hover .arw {
  transform: translateX(3px);
}
.more .arw {
  transition: transform 0.2s;
}

/* ---------- 上の帯 */
/* 上の帯：ゲームの上の帯（style.css の .topbar）も、この見た目をもとにそろえる（2026-11-02、本人：読みもののページのデザインをベースに） */
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: linear-gradient(180deg, rgba(5, 7, 11, 0.75), rgba(5, 7, 11, 0));
  transition: background 0.3s, border-color 0.3s;
}
.site-head.solid,
.site-head.open {
  background: rgba(5, 7, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
/* 高さ・左右の余白・ロゴの大きさは、ゲームの上の帯（style.css の .topbar-inner）と同じ（2026-11-02、本人：完全に統一） */
.head-row {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 68px;
  padding: 0 24px;
}
.logo img {
  display: block;
  width: auto;
  height: 21.5px; /* ゲームの上の帯のロゴと同じ（style.css の .brand .logo-img） */
}
/* ロゴの右にリンク、右端に「無料プレイ」（ゲームの上の帯と同じ並び。2026-11-02、本人） */
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: 12px;
}
.head-row > .btn.sm {
  margin-left: auto;
}
.site-nav a {
  position: relative;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text);
}
.site-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--red);
}
.menu-btn {
  display: none;
}

/* ---------- 区切り（セクション）の共通 */
.band {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.band.tint {
  background: linear-gradient(180deg, var(--bg2), #080b12);
}
/* 細い格子（地図の方眼のような）を薄く */
.band.tint::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.band > .wrap {
  position: relative;
}
.band-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.band-head p {
  margin-bottom: 0;
  color: var(--muted);
}

/* 左右に分ける区切り（.rev は絵が左） */
.split-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 72px;
}
.split.rev .split-text {
  order: 2;
}
.split-text p {
  color: #c9d0dc;
}
.split-art {
  position: relative;
}

/* 画面に入ったら、下からふわっと（site-pages.mjs の最後のスクリプト） */
.reveal.pre {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.pre.in {
  opacity: 1;
  transform: none;
}

/* 機体の後ろの、速さの線 */
.speed {
  position: absolute;
  inset: 20% -10% 20% -30%;
  background: repeating-linear-gradient(180deg, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 23px);
  mask-image: linear-gradient(90deg, transparent, #000 40%, transparent 85%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, transparent 85%);
  transform: skewY(-8deg);
  pointer-events: none;
}

/* リング（金の輪）。光らせる */
.ring {
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 173, 31, 0.75)) drop-shadow(0 0 28px rgba(255, 140, 20, 0.35));
}

/* ---------- GeoflyX とは：いちばん上 */
.lp-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(100svh, 920px);
  padding: 120px 0 96px;
  overflow: hidden;
}
.lp-hero-img {
  position: absolute;
  inset: 0;
  background-position: 40% 60%;
  background-size: cover;
  transform: scaleX(-1) scale(1.04);
  animation: heroZoomFlip 18s ease-out forwards;
}
/* キービジュアルは左右を反転して、機体を右に（左の文字と重ならないように） */
@keyframes heroZoomFlip {
  to {
    transform: scaleX(-1) scale(1);
  }
}
@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}
.lp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 7, 11, 0.92) 0%, rgba(5, 7, 11, 0.7) 38%, rgba(5, 7, 11, 0.05) 70%), linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.lp-hero-inner {
  position: relative;
  z-index: 1;
}
.lp-hero h1 {
  margin: 20px 0 8px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 1.12;
  letter-spacing: 0.02em;
}
.lp-hero .lead {
  max-width: 520px;
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}
.badges li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 9px 2px 0;
  border-radius: 50%;
  background: var(--red);
}
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 1;
  width: 1px;
  height: 48px;
  background: var(--line2);
  overflow: hidden;
}
.scroll-hint span {
  position: absolute;
  inset: 0;
  background: #fff;
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(100%);
  }
}

/* 写真3枚を重ねて並べる */
.collage {
  aspect-ratio: 1 / 0.85;
}
.ph {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--panel-solid);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.ph img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph figcaption {
  position: absolute;
  left: 14px;
  bottom: 10px;
  font-family: var(--num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  text-transform: uppercase;
}
.ph1 {
  top: 0;
  left: 0;
  width: 66%;
  aspect-ratio: 16 / 10;
}
.ph2 {
  right: 0;
  top: 30%;
  width: 52%;
  aspect-ratio: 4 / 5;
}
.ph3 {
  left: 10%;
  bottom: 0;
  width: 46%;
  aspect-ratio: 16 / 11;
}

/* 技の札（G TURBO・JUST・BOOST） */
.chips {
  display: grid;
  gap: 10px;
  margin: 28px 0 22px;
  padding: 0;
  list-style: none;
}
.chips li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.chips b {
  min-width: 92px;
  font-family: var(--num);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.chips span {
  color: var(--muted);
  font-size: 14px;
}

/* 機体とリングを並べた絵 */
.plane-stage {
  aspect-ratio: 1.25;
  perspective: 900px;
}
.plane-stage img {
  position: absolute;
  left: 4%;
  bottom: 12%;
  width: 92%;
  height: auto;
  filter: drop-shadow(0 40px 40px rgba(0, 0, 0, 0.55));
}
.stage-ring {
  position: absolute;
}
.stage-ring.s1 {
  top: 2%;
  right: 6%;
  width: 26%;
  transform: rotateY(-38deg);
}
.stage-ring.s2 {
  top: 12%;
  right: 34%;
  width: 15%;
  opacity: 0.8;
  transform: rotateY(-38deg);
}
.stage-ring.s3 {
  top: 18%;
  right: 50%;
  width: 9%;
  opacity: 0.55;
  transform: rotateY(-38deg);
}

/* 地球を大きく右に */
.world {
  padding: 170px 0;
}
.world .split-text {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.world-globe {
  position: absolute;
  top: 50%;
  right: -12%;
  width: min(820px, 75vw);
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(255, 220, 190, 0.18), 0 0 160px rgba(255, 140, 90, 0.08);
  transform: translateY(-50%);
  animation: spinIn 1.6s ease-out both;
}
@keyframes spinIn {
  from {
    opacity: 0;
    transform: translateY(-50%) rotate(-12deg) scale(0.94);
  }
}
.world::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 30%, transparent 70%);
}
.world > .wrap {
  z-index: 2;
}
/* 数字の札（ゲームの画面の数字と同じ白の Orbitron） */
.hud-stats {
  display: flex;
  gap: 40px;
  margin: 36px 0 0;
}
.hud-stats div {
  position: relative;
  padding-left: 16px;
}
.hud-stats div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--red);
}
.hud-stats dd {
  margin: 0;
  font-family: var(--num);
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
}
.hud-stats dd small {
  margin-left: 4px;
  font-size: 16px;
  font-weight: 500;
}
.hud-stats dt {
  color: var(--muted);
  font-size: 13px;
}
.hud-stats.sm {
  gap: 28px;
  margin: 0;
}
.hud-stats.sm dd {
  font-size: 30px;
}

/* コースのカード */
.rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 1fr);
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line2) transparent;
}
.rail .ccard {
  scroll-snap-align: start;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.ccard {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-solid);
  text-decoration: none;
  transition: transform 0.3s, border-color 0.3s;
}
.ccard:hover {
  transform: translateY(-4px);
  border-color: var(--line2);
}
.ccard-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2030, #0b0f17);
}
.ccard-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.ccard:hover .ccard-img img {
  transform: scale(1.05);
}
.ccard-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 20px 20px;
}
.ccard-place {
  color: var(--muted);
  font-size: 12px;
}
.ccard-name {
  margin-top: 2px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.ccard-meta {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.ccard-meta b {
  color: var(--text);
  font-family: var(--num);
  font-size: 16px;
}
.ccard-meta i {
  width: 1px;
  height: 10px;
  margin: 0 10px;
  background: var(--line2);
}
.ccard-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 13px;
  font-weight: 700;
}
.ccard-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.7);
  color: var(--muted);
  font-size: 11px;
  backdrop-filter: blur(6px);
}
.ccard.featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  margin-bottom: 18px;
}
.ccard.featured .ccard-img {
  aspect-ratio: auto;
  min-height: 320px;
}
.ccard.featured .ccard-body {
  justify-content: center;
  padding: 36px;
}
.ccard.featured .ccard-name {
  font-size: 26px;
}
.ccard-lead {
  margin-top: 12px;
  color: #c9d0dc;
  font-size: 14px;
  line-height: 1.85;
}
.feat-label {
  margin: 0 0 12px;
  color: var(--red);
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

/* 何機かで競り合う絵（05 — RIVALS。tools/site-art の pack） */
.pack-art img {
  position: relative;
  display: block;
  width: 108%;
  max-width: none;
  margin-left: -4%;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.55));
}

/* ---------- いちばん下の「遊ぶ」の帯 */
.cta-band {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, rgba(255, 59, 71, 0.22), transparent 60%), #07090f;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 40px, rgba(255, 255, 255, 0.03) 40px 41px);
}
.cta-plane {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(620px, 60vw);
  height: auto;
  opacity: 0.32;
  transform: translateY(-50%);
}
.cta-inner {
  position: relative;
}
.cta-inner .eyebrow {
  justify-content: center;
}
.cta-inner .eyebrow::after {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--red);
}
.cta-band h2 {
  margin: 16px 0 6px;
  font-size: clamp(34px, 5vw, 56px);
}
.cta-band p {
  margin: 0 0 32px;
  color: #c9d0dc;
}

/* ---------- 下の帯 */
.site-foot {
  border-top: 1px solid var(--line);
  background: #030407;
  color: var(--muted);
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.foot-brand img {
  display: block;
  width: auto;
  height: 17.5px;
}
.foot-brand p {
  max-width: 340px;
  font-size: 13px;
  line-height: 1.8;
}
.foot-h {
  margin: 0 0 10px;
  color: var(--text);
  font-family: var(--num);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.foot-grid a {
  display: block;
  padding: 3px 0;
  text-decoration: none;
}
.foot-grid a:hover {
  color: var(--text);
}
.foot-copy {
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

/* ---------- ページの上の帯（about 以外） */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(255, 59, 71, 0.16), transparent 55%), radial-gradient(ellipse at 10% 100%, rgba(255, 173, 31, 0.07), transparent 50%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  mask-image: linear-gradient(180deg, #000, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.page-hero h1 {
  margin: 18px 0 6px;
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.2;
}
.page-hero .lead {
  max-width: 480px;
}
.page-hero-art {
  position: relative;
}
.page-hero-art img {
  position: relative;
  display: block;
  width: 100%;
  max-height: 360px;
  object-fit: contain;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6));
}

/* ---------- 遊び方 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}
.steps li {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 48px;
  right: -14px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--line2);
  border-right: 2px solid var(--line2);
  transform: rotate(45deg);
}
.num {
  display: block;
  color: var(--red);
  font-family: var(--num);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.steps h3 {
  margin-top: 18px;
}
.steps p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* リングの図（PASS・JUST・MISS） */
.ring-diagram {
  display: flex;
  justify-content: center;
}
.rd {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1;
}
.rd-ring {
  position: absolute;
  inset: 17%;
  width: 66%;
}
.rd-zone {
  position: absolute;
  inset: 3%;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}
.rd-label {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 6px 12px;
  border: 1px solid var(--line2);
  border-radius: 10px;
  background: rgba(5, 7, 11, 0.85);
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
}
.rd-label b {
  font-family: var(--num);
  font-size: 12px;
  letter-spacing: 0.12em;
}
.rd-label.l1 {
  top: 6%;
  left: -6%;
}
.rd-label.l1 b {
  color: var(--gold);
}
.rd-label.l2 {
  top: 46%;
  right: -8%;
}
.rd-label.l2 b {
  color: var(--red);
}
.rd-label.l3 {
  bottom: 0;
  left: 4%;
  color: var(--muted);
}
.judges {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}
.judges div {
  display: flex;
  gap: 18px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.judges dt {
  min-width: 52px;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.j-pass dt {
  color: var(--gold);
}
.j-just dt {
  color: var(--red);
}
.j-miss dt {
  color: var(--muted);
}
.judges dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}
.judges dd b {
  margin-right: 10px;
  color: var(--text);
}
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}
.rules li {
  padding: 18px 20px 18px 44px;
  border-top: 1px solid var(--line2);
  color: #c9d0dc;
  font-size: 14px;
  line-height: 1.8;
  position: relative;
}
.rules li::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 26px;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

/* 操作 */
.controls {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 18px;
}
.panel {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.panel-h {
  margin: 0 0 20px;
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.keys {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.keys li {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 16px;
  color: #c9d0dc;
  font-size: 14px;
}
.caps {
  display: flex;
  gap: 6px;
}
kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--line2);
  border-bottom-width: 3px;
  border-radius: 9px;
  background: linear-gradient(180deg, #1a202c, #0e121a);
  color: #fff;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 700;
}
kbd.wide {
  min-width: 92px;
  font-family: var(--jp);
}
.note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.phone-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
}
.phone {
  flex: none;
  width: 120px;
  height: auto;
}
.phone .swipe {
  animation: swipe 4s ease-in-out infinite;
  transform-origin: 80px 150px;
}
@keyframes swipe {
  25% {
    transform: translate(0, -18px);
  }
  50% {
    transform: translate(18px, 0);
  }
  75% {
    transform: translate(0, 12px);
  }
}
.phone .press {
  transform-origin: 80px 150px;
  animation: press 2s ease-out infinite;
}
@keyframes press {
  from {
    opacity: 0.9;
    transform: scale(0.6);
  }
  to {
    opacity: 0;
    transform: scale(1.4);
  }
}
.keys.touch li {
  grid-template-columns: 104px 1fr;
}

/* 技の札 */
.tech {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tcard {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-solid);
}
.tcard-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 130px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.06), transparent 70%), #080b12;
}
.tcard-k {
  margin: 0;
  color: var(--red);
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.tcard h3 {
  margin-top: 6px;
  font-size: 20px;
}
.tcard p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}
.lv {
  display: flex;
  gap: 6px;
}
.lv i {
  width: 52px;
  height: 10px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  position: relative;
}
.lv i::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #ff8a3d, var(--red));
  transform: translateX(-100%);
  animation: charge 3.6s ease-in-out infinite;
}
.lv i:nth-child(2)::after {
  animation-delay: 0.6s;
}
.lv i:nth-child(3)::after {
  animation-delay: 1.2s;
}
@keyframes charge {
  30%,
  80% {
    transform: none;
  }
  100% {
    transform: translateX(100%);
  }
}
.lv-l {
  display: flex;
  gap: 26px;
  color: var(--muted);
  font-family: var(--num);
  font-size: 10px;
}
.lv-l b {
  font-weight: inherit;
}
.ring.mini {
  width: 92px;
}
.pips {
  display: flex;
  gap: 8px;
}
.pips i {
  width: 22px;
  height: 22px;
  border: 2px solid #ff8a3d;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(255, 138, 61, 0.6);
}
.pips i:nth-child(1),
.pips i:nth-child(2) {
  background: #ff8a3d;
}
.combo {
  font-family: var(--num);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

/* 速さの目安の棒 */
.speedo {
  display: grid;
  gap: 22px;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.sp-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 18px;
}
.sp-k {
  color: #c9d0dc;
  font-size: 14px;
}
.sp-bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.sp-bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), #fff);
}
.sp-row:last-child .sp-bar i {
  background: linear-gradient(90deg, #ff8a3d, var(--red));
}
.sp-v {
  min-width: 96px;
  font-family: var(--num);
  font-size: 26px;
  font-weight: 800;
  text-align: right;
}
.sp-v small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

/* 次のページへの札 */
.next-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding: 22px 26px;
  border: 1px solid var(--line2);
  border-radius: 16px;
  background: var(--panel);
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s;
}
.next-card:hover {
  border-color: #fff;
  transform: translateY(-2px);
}
.next-card span {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 14px;
}
.next-card b {
  color: var(--text);
  font-size: 18px;
}
.next-card .arw {
  width: 22px;
  height: 22px;
}

/* ---------- 上達のコツ */
.level {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
}
.level-head {
  align-self: start;
  position: sticky;
  top: 110px;
}
.level-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.level-tag span {
  padding: 2px 10px;
  border: 1px solid var(--red);
  border-radius: 999px;
  color: var(--red);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.level-head h2 {
  margin-top: 14px;
}
.level-bar {
  display: flex;
  gap: 6px;
  margin-top: 22px;
}
.level-bar i {
  width: 40px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
}
.level-bar i.on {
  background: var(--red);
}
.tip-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tip-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.tip-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.tip-list p {
  margin: 8px 0 0;
  color: #c9d0dc;
  font-size: 15px;
}

/* 上達のコツのキーワード（G TURBO・JUST RING・TURBO CHAIN の絵の札と、BOOST・COMBO の小さな札） */
.keys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.kcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel-solid);
}
.kcard-art {
  position: relative;
  display: grid;
  place-items: center;
  height: 240px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, rgba(255, 255, 255, 0.07), transparent 65%), #080b12;
}
.k-turbo .kcard-art {
  background: radial-gradient(ellipse at 50% 60%, rgba(255, 59, 71, 0.22), transparent 65%), #080b12;
}
.k-chain .kcard-art {
  background: radial-gradient(ellipse at 55% 45%, rgba(255, 173, 31, 0.2), transparent 65%), #080b12;
}
.kcard-art img {
  position: relative;
  max-width: 88%;
  max-height: 210px;
  width: auto;
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}
.k-just .kcard-art img,
.k-chain .kcard-art img {
  filter: drop-shadow(0 0 10px rgba(255, 173, 31, 0.35)) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55));
}
/* ゲームの画面の知らせと同じ雰囲気の文字（白の細めの字・字の間を広く・影は薄く） */
.kcard-cue {
  position: absolute;
  left: 18px;
  bottom: 14px;
  color: #fff;
  font-family: var(--num);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.lv.kv {
  position: absolute;
  top: 18px;
  left: 18px;
}
.lv.kv i {
  width: 34px;
  height: 6px;
}
.kcard-body {
  padding: 24px 26px 28px;
}
.kcard-k {
  margin: 0;
  color: var(--red);
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
}
.kcard h3,
.ksmall h3 {
  margin-top: 4px;
  font-size: 20px;
}
.kcard-body p:last-child,
.ksmall p:last-child {
  margin-bottom: 0;
  color: #c9d0dc;
  font-size: 14px;
  line-height: 1.85;
}
.keys-small {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}
.ksmall {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
@media (max-width: 960px) {
  .keys-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .keys-small {
    grid-template-columns: 1fr;
  }
  .kcard-art {
    height: 210px;
  }
}

/* ---------- よくある質問 */
.faq {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
}
.faq-toc {
  position: sticky;
  top: 110px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-toc a {
  display: flex;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.faq-toc a:hover {
  background: var(--panel);
  color: var(--text);
}
.faq-toc span,
.faq-group h2 span {
  color: var(--red);
  font-family: var(--num);
  font-weight: 700;
}
.faq-group + .faq-group {
  margin-top: 64px;
}
.faq-group h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 24px;
}
.faq-group h2 span {
  font-size: 16px;
}
details {
  border-top: 1px solid var(--line);
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  position: relative;
  padding: 20px 48px 20px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px;
  height: 10px;
  margin-top: -7px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.25s;
}
details[open] summary::after {
  margin-top: -2px;
  transform: rotate(-135deg);
}
details p {
  margin: -4px 0 22px;
  color: #c9d0dc;
  font-size: 15px;
}
details p a {
  text-decoration-color: var(--red);
  text-underline-offset: 4px;
}
.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding: 28px 32px;
  border: 1px solid var(--line2);
  border-radius: 18px;
  background: var(--panel);
}
.contact-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

/* ---------- コースの紹介 */
.course-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(92svh, 860px);
  padding: 140px 0 72px;
  overflow: hidden;
}
.course-hero-img {
  position: absolute;
  inset: 0;
  background: #0b0f17;
}
.course-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-out forwards;
  transform: scale(1.05);
}
.course-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 4%, rgba(5, 7, 11, 0.75) 40%, rgba(5, 7, 11, 0.25) 75%, rgba(5, 7, 11, 0.55));
}
.course-hero-inner {
  position: relative;
  z-index: 1;
}
.crumb {
  display: flex;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}
.crumb a {
  text-decoration: none;
}
.crumb a:hover {
  color: var(--text);
}
.course-hero h1 {
  display: flex;
  flex-direction: column;
  margin: 18px 0 4px;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.15;
}
.course-hero h1 .to {
  display: flex;
  align-items: center;
  gap: 0.2em;
}
.course-hero h1 svg {
  width: 0.7em;
  height: 0.7em;
  color: var(--red);
  flex: none;
}
.course-hero .lead {
  max-width: 620px;
}
.course-hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line2);
}
.photo-credit {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-decoration: none;
}
.route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.route-map {
  position: sticky;
  top: 100px;
  align-self: start;
}
.route-map figure {
  margin: 0;
}
.route-map img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line2);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.route-map figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.timeline {
  position: relative;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), rgba(255, 173, 31, 0.15));
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  padding: 18px 0;
}
.node {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
}
.node .ring {
  width: 56px;
  height: 56px;
}
.node b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--num);
  font-size: 0;
}
.timeline h3 {
  margin-top: 12px;
  font-size: 19px;
}
.timeline p {
  margin: 8px 0 0;
  color: #c9d0dc;
  font-size: 15px;
}
.tip-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel-solid);
}
.tip-card h3 {
  margin-top: 16px;
}
.tip-card p {
  margin-bottom: 0;
  color: #c9d0dc;
  font-size: 15px;
}

/* ---------- 低い画面・せまい画面 */
@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: 100%; /* 上の帯のすぐ下（言葉のお知らせが出ていても） */
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 11, 0.96);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
  }
  .site-head.open .site-nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .site-nav a[aria-current='page']::after {
    left: -24px;
    right: auto;
    top: 14px;
    bottom: 14px;
    width: 3px;
    height: auto;
  }
  .head-row .btn.sm {
    margin-left: auto;
  }
  .menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    margin-right: -8px;
    padding: 0 9px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-btn span {
    height: 2px;
    background: #fff;
    transition: transform 0.25s;
  }
  .site-head.open .menu-btn span:first-child {
    transform: translateY(4px) rotate(45deg);
  }
  .site-head.open .menu-btn span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }
  .split-inner,
  .page-hero-inner,
  .route,
  .level,
  .faq,
  .controls {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .split.rev .split-text {
    order: 0;
  }
  .steps,
  .tech,
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
  .steps li:not(:last-child)::after {
    display: none;
  }
  .level-head,
  .faq-toc,
  .route-map {
    position: static;
  }
  .faq-toc {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .ccard.featured {
    grid-template-columns: 1fr;
  }
  .ccard.featured .ccard-img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
  .world-globe {
    right: -40%;
    opacity: 0.6;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
  .wrap {
    padding: 0 16px;
  }
  .band {
    padding: 80px 0;
  }
  .head-row {
    gap: 14px;
    height: 60px;
    padding: 0 16px;
  }
  .site-nav {
    padding: 8px 16px 20px;
  }
  .logo img {
    height: 17px;
  }
  .lp-hero {
    align-items: flex-end;
    min-height: 92svh;
    padding: 100px 0 64px;
  }
  .lp-hero-img {
    background-position: 50% 40%;
  }
  .lp-hero::after {
    background: linear-gradient(0deg, var(--bg) 8%, rgba(5, 7, 11, 0.8) 45%, rgba(5, 7, 11, 0.1) 80%);
  }
  .btns .btn {
    flex: 1;
  }
  .scroll-hint {
    display: none;
  }
  .band-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 32px;
  }
  .steps,
  .tech,
  .grid3,
  .grid2 {
    grid-template-columns: 1fr;
  }
  .rail {
    grid-auto-columns: 78%;
    margin-right: -16px;
    padding-right: 16px;
  }
  .hud-stats {
    gap: 24px;
  }
  .hud-stats dd {
    font-size: 34px;
  }
  .hud-stats.sm dd {
    font-size: 24px;
  }
  .world {
    padding: 100px 0 300px;
  }
  .world-globe {
    top: auto;
    bottom: -120px;
    right: -20%;
    width: 520px;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .world::after {
    background: linear-gradient(180deg, var(--bg) 45%, transparent 75%);
  }
  .page-hero {
    padding: 104px 0 40px;
  }
  .page-hero-art {
    margin: 0 -8px;
  }
  .panel,
  .speedo,
  .tcard,
  .tip-card {
    padding: 22px;
  }
  .keys li {
    grid-template-columns: 112px 1fr;
    gap: 12px;
  }
  .phone-wrap {
    flex-direction: column;
    align-items: stretch;
  }
  .phone {
    align-self: center;
  }
  .sp-row {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }
  .sp-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .rd-label.l1 {
    left: 0;
  }
  .rd-label.l2 {
    right: 0;
  }
  .tip-list li {
    grid-template-columns: 52px 1fr;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .course-hero {
    min-height: 0;
    padding: 110px 0 48px;
  }
  .course-hero-foot {
    flex-direction: column;
    align-items: stretch;
  }
  .course-hero-foot .btn {
    width: 100%;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1 / -1;
  }
  .cta-band {
    padding: 90px 0;
  }
  .cta-plane {
    top: 18%;
    width: 90vw;
    right: -30%;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* コースのランキング（上位10人。site-pages.mjs の rankingScript が中身を入れる）。
   ゴールしたあとの結果の画面のランキングと同じ形（2026-11-02、本人）：斜めの帯・左の線（1位は黄・2位は銀・3位は銅）・数字は Orbitron を1字ずつ同じ幅で */
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  font-family: var(--num);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}
.board-head span:first-child {
  letter-spacing: 0.3em;
}
.board {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.board li {
  display: grid;
  grid-template-columns: 2.4em 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 9px 1.2em;
  border-left: 3px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)); /* ゲームは景色の上の暗い帯。ページは黒の地なので、少し明るい帯に */
  font-size: 19px;
  line-height: 1.3;
  transform: skewX(-10deg);
}
.board li.p1 {
  border-left-color: #ffd23a;
}
.board li.p2 {
  border-left-color: #d9dde4;
}
.board li.p3 {
  border-left-color: #e3a06c;
}
.board .rk,
.board .tm {
  font-family: var(--num);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.board .rk {
  color: var(--muted);
}
.board .p1 .rk {
  color: #ffd23a;
}
.board .p2 .rk {
  color: #d9dde4;
}
.board .p3 .rk {
  color: #f2b483;
}
.board .nm {
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.board .dg {
  display: inline-block;
  width: 0.83em;
  text-align: center;
}
.board .skel .nm,
.board .skel .tm {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
}
.board .skel .tm {
  width: 6em;
}
.board .board-note {
  display: block;
  padding: 36px 14px;
  border-left-color: transparent;
  background: none;
  color: var(--muted);
  font-size: 15px;
  text-align: center;
  transform: none;
}
@media (max-width: 600px) {
  .board li {
    padding: 8px 1em;
    font-size: 16px;
  }
}

/* 言葉のお知らせ（上の帯のさらに上。site-pages.mjs のスクリプトが、ブラウザの言葉がページと違うときだけ出す） */
.lang-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 18px;
  min-height: 44px;
  padding: 6px 48px;
  position: relative;
  background: #1b1f28;
  color: #dfe3ea;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.lang-bar[hidden] {
  display: none;
}
.lang-bar p {
  margin: 0;
}
.lang-bar-go {
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  color: #05070b;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.lang-bar-x {
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--muted);
  cursor: pointer;
}
.lang-bar-x:hover {
  color: #fff;
}
.lang-bar-x svg {
  width: 14px;
  height: 14px;
}
@media (max-width: 600px) {
  .lang-bar {
    flex-wrap: wrap;
    padding: 8px 44px 8px 16px;
    justify-content: flex-start;
    text-align: left;
  }
}
/* お知らせの帯が出ている間は、ページのいちばん上の区切りを帯の高さだけ下げる */
.has-lang-bar main > section:first-child {
  margin-top: var(--bar-h, 44px);
}
