/* ===== VARIABLES ===== */
:root {
  --black: #1a1a1a;
  --gold: #FEDD00;
  --white: #FFFFFF;
  --dark: #323232;
  --gray: #F2F2F2;
  --midgray: #656565;
  --orange: #ED7910;
}

@font-face {
  font-family: 'WideLatinCustom';
  src: url('assets/fonts/Nexus_Font.TTF') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans JP', sans-serif; color: var(--dark); background: var(--white); }
a { text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== CONTAINER ===== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 16px 40px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: #e6c900; transform: translateY(-2px); }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 14px 40px;
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--gold); color: var(--black); }

/* ===== SECTION LABELS ===== */
.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--midgray);
  font-size: 1rem;
  line-height: 1.8;
  max-width: 640px;
  margin-bottom: 48px;
}

/* ===== HEADER ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(0,0,0,0.92);
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo-img {
  width: 195px;
  height: 12px;
  object-fit: contain;
}
.header-logo span {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.hyrox-logo-img {
  display: block;
  width: auto;
  object-fit: contain;
}
.header-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.header-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--gold); }
.header-cta {
  font-family: 'Oswald', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: var(--gold);
  color: var(--black);
  padding: 8px 14px;
  text-decoration: none;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.header-cta:hover { opacity: 0.85; }
@media (max-width: 768px) {
  .header-nav { display: none; }
  .header-inner { padding: 12px 16px; gap: 12px; }
  .header-logo-img { width: 150px; }
  .header-cta { margin-left: auto; font-size: 0.72rem; padding: 8px 10px; }
}
/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 68px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a1a 60%, #2a2a00 100%);
  z-index: 1;
  opacity: 0.16;
}
.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFade 32s infinite;
}
.hero-slider img:nth-child(1) { animation-delay: 0s; }
.hero-slider img:nth-child(2) { animation-delay: 4s; }
.hero-slider img:nth-child(3) { animation-delay: 8s; }
.hero-slider img:nth-child(4) { animation-delay: 12s; }
.hero-slider img:nth-child(5) { animation-delay: 16s; }
.hero-slider img:nth-child(6) { animation-delay: 20s; }
.hero-slider img:nth-child(7) { animation-delay: 24s; }
.hero-slider img:nth-child(8) { animation-delay: 28s; }

@keyframes heroFade {
  0% { opacity: 0; transform: scale(1.04); }
  4% { opacity: 1; }
  12.5% { opacity: 1; }
  18% { opacity: 0; transform: scale(1.12); }
  100% { opacity: 0; transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.04), rgba(0,0,0,0.28)),
    linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.42));
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
}
.hero-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 22px 0 28px;
}
.hero-logo {
  width: clamp(460px, 64vw, 920px);
  max-width: 94vw;
  height: auto;
  object-fit: contain;
  margin: 0;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.65));
}
.hero-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: clamp(3rem, 7.4vw, 6.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.13;
  margin-bottom: 0;
  letter-spacing: 0;
}
.hero-title-jp {
  display: inline-block;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: 0.92em;
  font-weight: 900;
  line-height: 1.12;
}
.hero-title-hyrox {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(0.06em);
  margin-bottom: -0.03em;
}
.hero-title-training {
  display: inline-block;
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: 0.92em;
  font-weight: 900;
  line-height: 1;
  margin-left: 0.18em;
  transform: translateY(-0.02em);
}
.hero-title--mobile {
  display: none;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  letter-spacing: 0.05em;
  line-height: 1.8;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  background: var(--white);
  text-align: center;
}
.about .section-desc { margin: 0 auto 48px; }
.about-copy {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: left;
}
.about-copy p {
  color: var(--midgray);
  font-size: 1rem;
  line-height: 1.95;
}
.about-copy p + p {
  margin-top: 14px;
}
.about-subsection {
  max-width: 1040px;
  margin: 0 auto 72px;
}
.about-subsection--movie {
  background: #111;
  border-top: 5px solid var(--gold);
  box-shadow: 0 26px 52px rgba(0,0,0,0.16);
}
.about-subsection--beginner {
  padding: 42px;
  background:
    linear-gradient(135deg, rgba(254,221,0,0.12), transparent 34%),
    #f5f5f5;
  border: 1px solid #e3e3e3;
  border-top: 5px solid var(--gold);
  box-shadow: 0 22px 44px rgba(0,0,0,0.08);
}
.about-subsection--rules {
  max-width: 1120px;
  padding: 38px;
  background:
    radial-gradient(circle at 18% 8%, rgba(254,221,0,0.16), transparent 26%),
    #111;
  border-top: 5px solid var(--gold);
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
}
.about-subsection--rules .about-block-heading h3 {
  color: var(--white);
}
.about-video-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: 36px;
  max-width: 960px;
  margin: 0 auto;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(254,221,0,0.08), transparent 34%),
    #111;
  color: var(--white);
  text-align: left;
}
.about-video-copy h3,
.about-block-heading h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.25;
}
.about-video-copy h3 {
  margin-bottom: 14px;
}
.about-video-copy p:last-child {
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  font-size: 0.98rem;
}
.video-frame {
  position: relative;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0) 42%),
    #050505;
  border: 1px solid rgba(254,221,0,0.42);
  box-shadow:
    0 18px 34px rgba(0,0,0,0.38),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}
.video-frame::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
}
.video-frame video {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}
.about-block-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}
.beginner-panel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
  background: var(--black);
  color: var(--white);
  text-align: left;
  border-top: 5px solid var(--gold);
  box-shadow: 0 24px 48px rgba(0,0,0,0.14);
}
.beginner-copy,
.beginner-list {
  padding: 34px;
}
.beginner-copy h3 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.2;
  margin-bottom: 14px;
}
.beginner-copy > p,
.beginner-list li {
  color: rgba(255,255,255,0.76);
  line-height: 1.85;
  font-size: 0.95rem;
}
.beginner-cta {
  display: inline-block;
  margin-top: 22px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 13px 28px;
  transition: transform 0.2s, background 0.2s;
}
.beginner-cta:hover {
  background: #e6c900;
  transform: translateY(-2px);
}
.beginner-list {
  background: #242424;
}
.beginner-list h4 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
}
.beginner-list ul {
  list-style: none;
}
.beginner-list li {
  position: relative;
  padding-left: 18px;
}
.beginner-list li + li {
  margin-top: 8px;
}
.beginner-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 7px;
  height: 7px;
  background: var(--gold);
}
.race-map {
  position: relative;
  overflow: hidden;
  background: #171717;
  padding: 28px;
  box-shadow: none;
}
.race-map-summary {
  display: none;
}
.race-map::before {
  display: none;
}
.race-map-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.race-start-flow {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  flex-shrink: 0;
}
.race-map-header p {
  color: var(--white);
  font-weight: 700;
  line-height: 1.7;
  text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}
.race-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 110px 1fr 110px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 18px;
}
.race-row--final {
  grid-template-columns: 1fr 110px 1fr 120px;
}
.race-item {
  position: relative;
  min-height: 229px;
  overflow: visible;
  padding: 10px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 38%),
    #0d0d0d;
  border: 1px solid rgba(254,221,0,0.42);
  box-shadow:
    0 18px 34px rgba(0,0,0,0.34),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  opacity: 0;
  transform: perspective(900px) rotateY(-34deg) translateY(42px);
}
.race-item::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,255,255,0.12);
  pointer-events: none;
  z-index: 2;
}
.race-map.is-visible .race-item {
  animation: cardDeal 0.8s cubic-bezier(.2,.8,.2,1) forwards;
}
.race-map.is-visible .race-row:nth-of-type(2) .race-item:nth-child(1) { animation-delay: 0.04s; }
.race-map.is-visible .race-row:nth-of-type(2) .race-item:nth-child(3) { animation-delay: 0.14s; }
.race-map.is-visible .race-row:nth-of-type(2) .race-item:nth-child(5) { animation-delay: 0.24s; }
.race-map.is-visible .race-row:nth-of-type(4) .race-item:nth-child(1) { animation-delay: 0.34s; }
.race-map.is-visible .race-row:nth-of-type(4) .race-item:nth-child(3) { animation-delay: 0.44s; }
.race-map.is-visible .race-row:nth-of-type(4) .race-item:nth-child(5) { animation-delay: 0.54s; }
.race-map.is-visible .race-row:nth-of-type(6) .race-item:nth-child(1) { animation-delay: 0.64s; }
.race-map.is-visible .race-row:nth-of-type(6) .race-item:nth-child(3) { animation-delay: 0.74s; }
@keyframes cardDeal {
  to {
    opacity: 1;
    transform: perspective(900px) rotateY(0deg) translateY(0);
  }
}
.race-item img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.08);
  cursor: zoom-in;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.1),
    0 10px 22px rgba(0,0,0,0.3);
  transition: transform 0.3s, filter 0.3s;
}
.race-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) contrast(1.05);
}
.race-label {
  position: absolute;
  left: 22px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 32px);
  background: var(--gold);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
  padding: 10px 14px;
  box-shadow: 0 8px 0 rgba(0,0,0,0.75);
  z-index: 3;
}
.race-label span {
  font-size: 1.45rem;
}
.race-run,
.race-turn {
  position: relative;
  background: var(--gold);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-align: center;
  padding: 8px 10px;
  z-index: 2;
}
.race-run::before,
.race-run::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38px;
  height: 8px;
  background: var(--gold);
  transform: translateY(-50%);
}
.race-run::before { left: -38px; }
.race-run::after { right: -38px; }
.race-run--start::before {
  display: none;
}
.race-run--start::after {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  width: 46px;
}
.race-row--right .race-run::after,
.race-row--left .race-run::before {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  width: 46px;
}
.race-row--left .race-run::before {
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.race-row--left {
  direction: rtl;
}
.race-row--left > * {
  direction: ltr;
}
.race-turn {
  width: 110px;
  margin: 0 0 18px auto;
}
.race-turn--left {
  margin: 0 auto 18px 0;
}
.race-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--white);
  color: #e00000;
  border: 4px solid #e00000;
  padding: 8px 18px;
  box-shadow: 0 8px 0 rgba(0,0,0,0.24);
}
.race-badge--goal {
  align-self: center;
}

.race-section {
  padding: 96px 0;
  background: #151515;
}
.race-section .section-label {
  color: var(--gold);
}
.race-section .about-block-heading h3 {
  color: var(--white);
}
.race-section-inner {
  border-top: 5px solid var(--gold);
  background: #111;
  padding: 44px 40px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.28);
}

.race-flow-lead {
  position: relative;
  z-index: 1;
  color: rgba(255,255,255,0.82);
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 28px;
  text-align: center;
}
.race-flow-track {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 40px 36px;
  overflow: hidden;
  background: #101010;
  border: 1px solid rgba(254,221,0,0.18);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.race-flow-track::before {
  display: none;
}
.race-route-row {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 0.58fr 0.32fr 1.55fr 0.32fr 1.55fr;
  gap: 14px;
  align-items: center;
}
.race-route-row::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  z-index: 0;
  height: 7px;
  background: var(--gold);
  transform: translateY(-50%);
}
.race-route-row > * {
  position: relative;
  z-index: 1;
}
.race-route-row--reverse {
  grid-template-columns: 1.55fr 0.32fr 1.55fr 0.32fr 1.55fr;
  direction: rtl;
  margin-left: auto;
  width: 100%;
}
.race-route-row--reverse > * {
  direction: ltr;
}
.race-route-row--final {
  grid-template-columns: 1.55fr 0.32fr 1.55fr 0.32fr 1.55fr 0.58fr;
  width: 100%;
}
.race-route-turn {
  position: relative;
  z-index: 3;
  width: 72px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--black);
  background: var(--gold);
  border: 3px solid #101010;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.05;
  box-shadow: 0 7px 0 rgba(0,0,0,0.35);
}
.race-route-turn::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: 7px;
  height: 132px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
.race-route-label {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 0.84rem;
  line-height: 1.05;
  letter-spacing: 0.08em;
  max-width: 44px;
  text-align: center;
  white-space: normal;
}
.race-route-arrow {
  display: none;
  font-size: 1.28rem;
  line-height: 0.9;
}
.race-route-turn--right {
  margin: -14px 4% -14px auto;
}
.race-route-turn--left {
  margin: -14px auto -14px 4%;
}
.race-flow-node,
.race-run-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 70px;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  border-radius: 999px;
}
.race-flow-node {
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  padding: 12px 16px;
  box-shadow: 0 10px 0 rgba(0,0,0,0.42), 0 16px 26px rgba(0,0,0,0.32);
}
.race-flow-node--terminal {
  background: #111;
  color: var(--gold);
  border-width: 3px;
}
.race-run-step {
  justify-self: center;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  background: rgba(254,221,0,0.94);
  color: var(--black);
  border: 3px solid #111;
  padding: 0 8px;
  font-size: 0.84rem;
  line-height: 1.05;
  box-shadow: 0 6px 0 rgba(0,0,0,0.32);
}
.race-flow-arrow {
  display: none;
}
.race-flow-card {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 38%),
    #0d0d0d;
  border: 2px solid rgba(254,221,0,0.62);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 16px 0 rgba(0,0,0,0.22),
    0 24px 34px rgba(0,0,0,0.3),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  opacity: 0;
  transform: perspective(900px) rotateX(12deg) rotateZ(-1.4deg) translateY(32px);
}
.race-flow-card:nth-of-type(even) {
  transform: perspective(900px) rotateX(12deg) rotateZ(1.2deg) translateY(32px);
}
.race-map.is-visible .race-flow-card {
  animation: cardDeal 0.72s cubic-bezier(.2,.8,.2,1) forwards;
}
.race-map.is-visible .race-flow-card:nth-of-type(1) { animation-delay: 0.04s; }
.race-map.is-visible .race-flow-card:nth-of-type(2) { animation-delay: 0.10s; }
.race-map.is-visible .race-flow-card:nth-of-type(3) { animation-delay: 0.16s; }
.race-map.is-visible .race-flow-card:nth-of-type(4) { animation-delay: 0.22s; }
.race-map.is-visible .race-flow-card:nth-of-type(5) { animation-delay: 0.28s; }
.race-map.is-visible .race-flow-card:nth-of-type(6) { animation-delay: 0.34s; }
.race-map.is-visible .race-flow-card:nth-of-type(7) { animation-delay: 0.40s; }
.race-map.is-visible .race-flow-card:nth-of-type(8) { animation-delay: 0.46s; }
.race-flow-card img {
  display: block;
  width: 100%;
  height: 156px;
  min-height: 156px;
  margin: 0;
  object-fit: cover;
  background: #050505;
  filter: grayscale(4%) contrast(1.08) saturate(1.06);
  cursor: zoom-in;
  border: 0;
}
.race-flow-body {
  position: static;
  min-height: 0;
  padding: 12px 14px 14px;
  text-align: left;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "number title distance"
    "button button button";
  gap: 8px 10px;
  align-items: center;
  background: #0b0b0b;
  border-left: 4px solid var(--gold);
  box-shadow: 0 8px 18px rgba(0,0,0,0.24);
}
.race-flow-number {
  grid-area: number;
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  line-height: 1;
  font-weight: 700;
  color: var(--gold);
}
.race-flow-body h4 {
  grid-area: title;
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  font-size: 1.08rem;
  line-height: 1.05;
}
.race-flow-body p:not(.race-flow-number) {
  grid-area: distance;
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}
.race-flow-body button {
  grid-area: button;
  justify-self: stretch;
  margin: 0;
  min-width: 0;
  background: var(--gold);
  color: var(--black);
  border: 2px solid var(--gold);
  font-weight: 700;
  padding: 9px 14px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-size: 0.88rem;
  border-radius: 999px;
  box-shadow: 0 5px 0 rgba(0,0,0,0.34);
}
.race-flow-body button:hover {
  background: var(--black);
  color: var(--gold);
}

.race-overview-panel {
  margin-top: 28px;
}
.race-overview-panel summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 360px);
  margin: 0 auto;
  min-height: 58px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 8px 0 rgba(0,0,0,0.34);
}
.race-overview-panel summary::-webkit-details-marker {
  display: none;
}
.race-overview-panel summary::after {
  content: '+';
  margin-left: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  line-height: 1;
}
.race-overview-panel[open] summary::after {
  content: '-';
}
.race-overview {
  margin-top: 28px;
  padding: 28px;
  background: #111;
  border-top: 4px solid var(--gold);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18);
}
.race-overview-head {
  display: grid;
  grid-template-columns: minmax(210px, 0.55fr) 1fr;
  gap: 18px 28px;
  align-items: end;
  margin-bottom: 20px;
}
.race-overview-head .section-label {
  grid-column: 1 / -1;
  margin-bottom: 0;
}
.race-overview-head h3 {
  color: var(--white);
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  line-height: 1.1;
}
.race-overview-head p:not(.section-label) {
  color: rgba(255,255,255,0.72);
  font-weight: 700;
  line-height: 1.8;
}
.race-overview-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(254,221,0,0.28);
}
.race-overview-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  color: var(--white);
  font-weight: 700;
}
.race-overview-table th,
.race-overview-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-align: left;
  white-space: nowrap;
}
.race-overview-table th {
  background: rgba(254,221,0,0.12);
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
.race-overview-table td:first-child {
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 1.18rem;
}
.race-overview-table tr:last-child td {
  border-bottom: 0;
}
.race-overview-table button {
  background: var(--gold);
  color: var(--black);
  border: 0;
  min-width: 112px;
  min-height: 44px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.92rem;
  box-shadow: 0 5px 0 rgba(0,0,0,0.24);
}
.race-overview-note {
  margin-top: 12px;
  color: rgba(255,255,255,0.58);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* ===== WHY ===== */
.why {
  padding: 100px 0;
  background: var(--gray);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.why-card { background: var(--white); overflow: hidden; }
.why-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  filter: grayscale(30%);
  transition: filter 0.3s, transform 0.3s;
  overflow: hidden;
}
.why-card:hover .why-img { filter: grayscale(0%); transform: scale(1.03); }
.why-text { padding: 24px 28px; border-left: 4px solid var(--gold); }
.why-num {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 6px;
}
.why-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--black);
}
.why-card p { color: var(--midgray); line-height: 1.7; font-size: 0.9rem; }
.usage-note {
  max-width: 820px;
  margin: 30px auto 0;
  padding: 16px 20px;
  background: var(--black);
  color: rgba(255,255,255,0.78);
  border-left: 5px solid var(--gold);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ===== STORES ===== */
.stores { padding: 80px 0; background: var(--black); }
.stores .section-label { color: var(--gold); }
.stores .section-title { color: var(--white); }
.section-title-with-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.store-count-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  background: var(--gold);
  color: var(--black);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}
.stores-note {
  max-width: 760px;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: -4px 0 28px;
}
.store-filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  margin-bottom: 26px;
  border: 2px solid var(--gold);
}
.store-filter-btn {
  min-width: 92px;
  border: 0;
  border-right: 1px solid rgba(254,221,0,0.45);
  background: transparent;
  color: rgba(255,255,255,0.86);
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.86rem;
  font-weight: 900;
  padding: 10px 18px;
}
.store-filter-btn:last-child {
  border-right: 0;
}
.store-filter-btn.active {
  background: var(--gold);
  color: var(--black);
}
.stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.store-order-hamamatsucho { order: 1; }
.store-order-ginza { order: 2; }
.store-order-harajuku-tokyo { order: 3; }
.store-order-harajuku-annex { order: 4; }
.store-order-toyocho { order: 5; }
.store-order-urayasu { order: 6; }
.store-order-chiba { order: 7; }
.store-order-makuhari { order: 8; }
.store-order-maebashi { order: 9; }
.store-order-saitama { order: 10; }
.store-order-hamamatsu { order: 11; }
.store-order-kashihara { order: 12; }
.store-order-hakata { order: 13; }
.store-card {
  background: #242424;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 36px rgba(0,0,0,0.26);
}
.store-card.is-hidden {
  display: none;
}
.store-card--soon {
  border: 1px solid rgba(254,221,0,0.24);
}
.store-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.plan-card--wide { grid-column: 1 / -1; }
.store-img--chiba-newtown {
  object-position: center 78%;
}
.store-img--saitama {
  object-position: center 58%;
}
.store-img-placeholder {
  background: #333;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px dashed #444;
}
.store-img-placeholder img {
  width: min(66%, 210px);
  height: auto;
}
.store-img-placeholder span {
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 700;
}
.store-coming {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2d2d2d;
  border-bottom: 1px solid rgba(254,221,0,0.22);
}
.store-coming span {
  font-family: 'Oswald', sans-serif;
  color: var(--black);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-align: center;
  border: 2px solid var(--gold);
  padding: 12px 18px;
  background: var(--gold);
}
.store-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.store-info h3 {
  font-family: 'WideLatinCustom', 'Oswald', sans-serif;
  font-size: 0.76rem;
  color: var(--gold);
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 1.35;
  margin-bottom: 6px;
  min-height: 72px;
}
.store-info h3 span {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-size: clamp(1.08rem, 1.3vw, 1.38rem);
  color: var(--white);
  display: block;
  line-height: 1.28;
  letter-spacing: 0;
  text-transform: none;
}
.store-affiliate {
  width: fit-content;
  margin: 0 0 10px;
  padding: 4px 7px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.64);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}
.store-affiliate--registered {
  border-color: rgba(254,221,0,0.55);
  color: var(--gold);
}
.store-phone {
  display: inline-flex;
  width: fit-content;
  color: var(--gold);
  font-family: 'Oswald', 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-decoration: none;
  margin: -2px 0 10px;
  transition: color 0.2s;
}
.store-phone:hover {
  color: var(--white);
}
.store-addr {
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  margin-bottom: 14px;
  line-height: 1.5;
  min-height: 44px;
}
.store-map-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.68);
  text-decoration: none;
  margin-bottom: 6px;
  transition: color 0.2s;
}
.store-map-link:hover { color: var(--white); }
.gmap-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.store-soon-text {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 14px;
}
.store-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.store-btn {
  display: block;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.82);
  transition: border-color 0.2s, color 0.2s;
}
.store-btn:hover { border-color: var(--gold); color: var(--white); }
.store-btn--availability {
  border-color: rgba(254,221,0,0.72);
  color: var(--gold);
  background: rgba(254,221,0,0.05);
  font-weight: 700;
}
.store-btn--availability:hover {
  background: rgba(254,221,0,0.12);
  color: var(--gold);
}
.store-btn--gold {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
  font-weight: 700;
}
.store-carousel-dots {
  display: none;
}

/* ===== EQUIPMENT ===== */
.equipment {
  padding: 100px 0;
  background: var(--white);
}
.equipment-lead {
  max-width: 760px;
  color: var(--midgray);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 24px;
}
.equipment-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}
.equipment-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--gray);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 700;
}
.equipment-legend strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  line-height: 1.05;
  text-align: center;
}
.equipment-legend strong[data-status="same"] {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f5c518;
  color: #f5c518;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  font-size: 0;
}
.equipment-legend strong[data-status="pending"] {
  color: #d3a600;
  font-size: 1.12rem;
  font-weight: 900;
}
.equipment-legend strong[data-status="none"] {
  color: #bbb;
  font-size: 0.86rem;
  font-weight: 900;
}
.equipment-legend strong[data-status="soon"] {
  padding: 4px 7px;
  border-radius: 999px;
  background: #747474;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
}
.equipment-table-wrap {
  position: relative;
  overflow-x: auto;
  border: 1px solid #ddd;
}
.equipment-scroll-hint {
  display: none;
}
.equipment-table {
  width: 100%;
  min-width: 900px;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--white);
}
.equipment-table thead th:first-child,
.equipment-table tbody th {
  width: 215px;
}
.equipment-table th,
.equipment-table td {
  border: 1px solid #ddd;
  padding: 14px 12px;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.5;
}
.equipment-table thead th {
  background: var(--black);
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  vertical-align: bottom;
}
.equipment-heading {
  display: grid;
  grid-template-rows: 88px 46px;
  align-items: center;
  justify-content: stretch;
  gap: 8px;
}
.equipment-heading img {
  width: 100%;
  height: 88px;
  display: block;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(245,197,24,0.42);
}
.equipment-heading span {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.equipment-table tbody th {
  text-align: left;
  color: var(--black);
  font-weight: 700;
  white-space: nowrap;
}
.equipment-table tbody tr:nth-child(even) > th,
.equipment-table tbody tr:nth-child(even) > td {
  background-color: #f7f7f7;
}
.equipment-table td[data-status] {
  position: relative;
  min-width: 92px;
  font-size: 0;
}
.equipment-table td[data-status]::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.equipment-table td[data-status="same"] {
  background: rgba(245,197,24,0.07);
}
.equipment-table td[data-status="same"]::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f5c518;
  box-shadow: 0 0 0 1px rgba(167,128,0,0.22);
}
.equipment-table td[data-note] {
  padding-bottom: 30px;
}
.equipment-table td[data-note]::after {
  content: attr(data-note);
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  padding: 3px 6px;
  border-radius: 999px;
  background: #777;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.52rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.equipment-table td[data-status="none"] {
  background: #f0f0f0;
}
.equipment-table td[data-status="none"]::before {
  content: "×";
  color: #c3c3c3;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}
.equipment-table td[data-status="pending"] {
  background: rgba(245,197,24,0.02);
}
.equipment-table td[data-status="pending"]::before {
  content: "△";
  color: #d3a600;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
}
.equipment-table td[data-status="soon"] {
  background: #fafafa;
}
.equipment-table td[data-status="soon"]::before {
  content: "導入予定";
  padding: 5px 8px;
  border-radius: 999px;
  background: #777;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  white-space: nowrap;
}
.equipment-table td.equipment-contact {
  background: #f3f3f3;
  color: #666;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}
@media (hover: hover) and (pointer: fine) {
  .equipment-table tbody tr:hover > th,
  .equipment-table tbody tr:hover > td {
    box-shadow: inset 0 0 0 999px rgba(245,197,24,0.1);
  }
}
.equipment-note {
  margin-top: 18px;
  color: var(--midgray);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===== ACCESS MAP ===== */
.access-map {
  padding: 100px 0;
  background: #111;
}
.access-map .section-title {
  color: var(--white);
}
.access-map-note {
  max-width: 760px;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: -4px 0 36px;
}
.map-area-tabs {
  display: inline-flex;
  border: 2px solid var(--gold);
  margin-bottom: 18px;
}
.map-area-btn {
  min-width: 110px;
  border: 0;
  border-right: 1px solid rgba(254,221,0,0.45);
  background: transparent;
  color: rgba(255,255,255,0.86);
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 900;
  padding: 10px 22px;
}
.map-area-btn:last-child {
  border-right: 0;
}
.map-area-btn.active {
  background: var(--gold);
  color: var(--black);
}
.google-map-shell {
  border: 1px solid rgba(254,221,0,0.35);
  background: #080808;
  box-shadow: 0 20px 42px rgba(0,0,0,0.34);
}
.hyrox-store-map {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
  background: #f5f5f5;
}
.map-selected-info {
  margin-top: 20px;
}
.map-selected-info h3 {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.map-selected-info p,
.map-fallback-note {
  color: rgba(255,255,255,0.78);
  font-size: 0.86rem;
  line-height: 1.7;
}
.map-fallback-note {
  margin: 10px 0;
}
.map-external-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
}
.map-store-buttons {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.map-store-button {
  border: 1px solid rgba(255,255,255,0.2);
  background: #242424;
  color: rgba(255,255,255,0.86);
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 10px 14px;
}
.map-store-button:hover,
.map-store-button.active {
  border-color: var(--gold);
  color: var(--gold);
}
.map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.map-card {
  background: #242424;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.map-card--soon {
  border-color: rgba(254,221,0,0.24);
}
.map-frame {
  height: 260px;
  background: #1a1a1a;
  border-bottom: 4px solid var(--gold);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(18%) contrast(1.05);
}
.map-info {
  padding: 22px 24px 24px;
}
.map-info h3 {
  font-family: 'Oswald', sans-serif;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.map-info p {
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.map-info a {
  display: inline-flex;
  color: var(--gold);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}
.map-info a:hover {
  color: var(--white);
}

/* ===== PRICING ===== */
.pricing { padding: 100px 0; background: var(--white); text-align: center; }
.pricing-lead {
  max-width: 680px;
  margin: 0 auto 18px;
  color: var(--black);
  font-weight: 700;
  line-height: 1.85;
}
.pricing-note { color: var(--midgray); font-size: 0.85rem; margin-bottom: 40px; }
.pricing-select-label,
.pricing-select {
  display: none;
}

.pricing-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
  border: 2px solid var(--black);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.tab-btn {
  background: var(--white);
  color: var(--black);
  border: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.86rem;
  padding: 12px 22px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  font-weight: 500;
}
.tab-btn.active { background: var(--black); color: var(--gold); }
.tab-btn:hover:not(.active) { background: var(--gray); }

.pricing-table { display: none; }
.pricing-table.active {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plan-card {
  position: relative;
  border: 2px solid var(--gray);
  padding: 36px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}
.plan-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 12px;
  white-space: nowrap;
}
.plan-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 8px;
}
.plan-desc { color: var(--midgray); font-size: 0.8rem; margin-bottom: 20px; line-height: 1.5; }
.plan-price {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--black);
}
.plan-price--text {
  font-family: 'Noto Sans JP', sans-serif;
}
.plan-price small { font-size: 0.9rem; color: var(--midgray); }
.plan-visitor { background: var(--gray); }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--gray); }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-icon { font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform 0.2s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 20px; }
.faq-a.open { display: block; }
.faq-a p { color: var(--midgray); line-height: 1.8; font-size: 0.95rem; }

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  background: var(--black);
  text-align: center;
}
.cta-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}
.cta-desc { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.8; margin-bottom: 48px; }
.cta-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: #0a0a0a; padding: 48px 0; text-align: center; }
.footer-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0;
  display: block;
}
.footer-brand-cross {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.55);
}
.hyrox-logo-img--footer {
  height: 34px;
}
.footer-stores { color: #555; font-size: 0.85rem; margin-bottom: 20px; letter-spacing: 0.05em; }
.footer-copy { color: #333; font-size: 0.75rem; }

/* ===== LIGHTBOX ===== */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#lightbox.open { display: flex; }
#lightbox-img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
}
.event-img { cursor: zoom-in; }

/* ===== RULE MODAL ===== */
.rule-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.86);
  padding: 28px;
  overflow-y: auto;
}
.rule-modal.open {
  display: block;
}
.rule-modal-panel {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  background: #111;
  color: var(--white);
  border-top: 5px solid var(--gold);
  box-shadow: 0 28px 72px rgba(0,0,0,0.48);
}
.rule-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(254,221,0,0.58);
  background: #111;
  color: var(--gold);
  font-size: 1.35rem;
  cursor: pointer;
}
.rule-modal-grid {
  display: block;
}
.rule-modal-main {
  padding: 42px;
}
.rule-modal-main h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  margin-bottom: 8px;
}
.rule-modal-subtitle {
  color: rgba(255,255,255,0.68);
  font-weight: 700;
  margin-bottom: 24px;
}
.rule-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 28px;
}
.rule-spec {
  background: #202020;
  border-left: 4px solid var(--gold);
  padding: 12px 14px;
}
.rule-spec span {
  display: block;
  color: rgba(255,255,255,0.54);
  font-size: 0.78rem;
  margin-bottom: 4px;
}
.rule-spec strong {
  color: var(--white);
  font-size: 1rem;
}
.rule-modal-block {
  margin-top: 24px;
}
.rule-modal-block h3 {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
}
.rule-modal-block p,
.rule-modal-block li {
  color: rgba(255,255,255,0.76);
  line-height: 1.85;
  font-size: 0.95rem;
}
.rule-modal-block ul {
  padding-left: 18px;
}
.rule-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.rule-modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 58px;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  padding: 16px 24px;
  font-size: 1.05rem;
  box-shadow: 0 7px 0 rgba(0,0,0,0.28);
}
.rule-modal-actions a + a {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(254,221,0,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section-label {
    font-size: 0.68rem;
    margin-bottom: 6px;
  }
  .section-title {
    font-size: clamp(1.65rem, 7vw, 2rem);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .about,
  .why,
  .equipment,
  .access-map,
  .pricing,
  .faq {
    padding: 48px 0;
  }
  .about-subsection {
    margin-bottom: 34px;
  }
  .about-subsection--rules {
    padding: 20px 14px;
  }
  .about-video-block {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 16px;
  }
  .video-frame {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
  }
  .about-block-heading {
    margin-bottom: 18px;
  }
  .race-section {
    padding: 48px 0;
  }
  .race-section-inner {
    padding: 22px 12px;
  }
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .why-img {
    height: 92px;
  }
  .why-text {
    padding: 12px 10px;
    border-left-width: 3px;
  }
  .why-num {
    font-size: 0.82rem;
    margin-bottom: 4px;
  }
  .why-card h3 {
    font-size: 0.88rem;
    line-height: 1.35;
    margin-bottom: 6px;
  }
  .why-card p {
    font-size: 0.7rem;
    line-height: 1.55;
  }
  .usage-note {
    margin-top: 16px;
    padding: 12px 14px;
    font-size: 0.76rem;
    line-height: 1.55;
  }
  .stores {
    padding: 48px 0;
    overflow: hidden;
  }
  .stores-note {
    font-size: 0.78rem;
    line-height: 1.6;
    margin-bottom: 14px;
  }
  .section-title-with-badge {
    gap: 8px;
  }
  .store-count-badge {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.68rem;
  }
  .store-filter-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    margin-bottom: 14px;
  }
  .store-filter-btn {
    min-width: 0;
    padding: 8px 10px;
    font-size: 0.76rem;
  }
  .stores-grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .stores-grid::-webkit-scrollbar {
    display: none;
  }
  .store-card {
    flex: 0 0 85vw;
    scroll-snap-align: start;
  }
  .store-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
  }
  .store-carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.32);
    transition: width 0.2s, background 0.2s;
  }
  .store-carousel-dot.active {
    width: 20px;
    background: var(--gold);
  }
  .store-img,
  .store-coming,
  .store-img-placeholder {
    height: 122px;
  }
  .store-info {
    padding: 12px;
  }
  .store-info h3 {
    min-height: 46px;
    font-size: 0.56rem;
    margin-bottom: 5px;
  }
  .store-info h3 span {
    font-size: 0.92rem;
    line-height: 1.25;
  }
  .store-affiliate {
    margin-bottom: 7px;
    padding: 3px 5px;
    font-size: 0.58rem;
  }
  .store-phone,
  .store-map-link,
  .store-addr {
    font-size: 0.72rem;
  }
  .store-phone {
    margin-bottom: 7px;
  }
  .store-map-link {
    margin-bottom: 4px;
  }
  .store-addr {
    min-height: 36px;
    margin-bottom: 10px;
    line-height: 1.45;
  }
  .store-links {
    gap: 6px;
  }
  .store-btn {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 0.68rem;
  }
  .map-area-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-bottom: 14px;
  }
  .map-area-btn {
    min-width: 0;
    padding: 9px 12px;
    font-size: 0.78rem;
  }
  .hyrox-store-map {
    height: 420px;
  }
  .map-store-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }
  .map-store-button {
    min-height: 40px;
    padding: 8px 7px;
    font-size: 0.72rem;
    line-height: 1.25;
  }
  .access-map-note,
  .equipment-lead,
  .pricing-lead {
    font-size: 0.8rem;
    line-height: 1.6;
  }
  .access-map-note { margin-bottom: 18px; }
  .equipment-legend { gap: 6px; margin-bottom: 16px; }
  .equipment-legend span { padding: 6px 8px; font-size: 0.72rem; }
  .equipment-table-wrap {
    max-height: 68vh;
  }
  .equipment-scroll-hint {
    position: sticky;
    left: 8px;
    top: 8px;
    z-index: 8;
    display: table;
    width: max-content;
    margin: 8px 0 -38px 8px;
    padding: 8px 10px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.72rem;
    font-weight: 900;
  }
  .equipment-table-wrap.has-scrolled .equipment-scroll-hint {
    display: none;
  }
  .equipment-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
  }
  .equipment-heading {
    grid-template-rows: 60px 42px;
    gap: 6px;
  }
  .equipment-heading img {
    height: 60px;
  }
  .equipment-table thead th:first-child,
  .equipment-table tbody th {
    position: sticky;
  }
  .equipment-table thead th:first-child {
    left: 0;
    z-index: 7;
    background: var(--black);
  }
  .equipment-table tbody th {
    left: 0;
    z-index: 4;
    background: var(--white);
    white-space: normal;
    box-shadow: 8px 0 12px rgba(0,0,0,0.08);
  }
  .equipment-table thead th:first-child,
  .equipment-table tbody th {
    width: 148px;
    min-width: 148px;
    max-width: 148px;
  }
  .equipment-table tbody tr:nth-child(even) > th {
    background: #f7f7f7;
  }
  .equipment-table th,
  .equipment-table td {
    padding: 12px 10px;
    font-size: 0.78rem;
  }
  .equipment-note { margin-top: 12px; font-size: 0.76rem; line-height: 1.6; }
  .race-map {
    padding: 12px;
  }
  .race-map:not([open]) {
    padding-bottom: 12px;
  }
  .race-map-summary {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    background: var(--gold);
    color: var(--black);
    font-weight: 800;
    cursor: pointer;
    text-align: center;
  }
  .race-map-summary::-webkit-details-marker {
    display: none;
  }
  .race-map-summary::after {
    content: "+";
    margin-left: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    line-height: 1;
  }
  .race-map[open] .race-map-summary::after {
    content: "-";
  }
  .race-map-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .race-flow-lead {
    margin-bottom: 14px;
    font-size: 0.88rem;
    line-height: 1.6;
  }
  .race-flow-track {
    gap: 12px;
    padding: 18px 10px;
  }
  .race-flow-track::before {
    display: none;
  }
  .race-route-row,
  .race-route-row--reverse,
  .race-route-row--final {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    direction: ltr;
  }
  .race-route-row::before {
    display: none;
  }
  .race-route-turn,
  .race-route-turn--right,
  .race-route-turn--left {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    font-size: 0.78rem;
  }
  .race-route-turn::before {
    display: none;
  }
  .race-flow-node,
  .race-run-step {
    min-width: 0;
    min-height: 56px;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }
  .race-flow-node {
    padding: 8px 16px;
    box-shadow: 0 5px 0 rgba(0,0,0,0.36);
  }
  .race-run-step {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    padding: 0 8px;
    font-size: 0.78rem;
    line-height: 1.05;
  }
  .race-flow-arrow {
    font-size: 1.05rem;
  }
  .race-flow-card {
    width: 100%;
    min-height: 190px;
    opacity: 1;
    transform: none;
  }
  .race-flow-card img {
    display: block;
    height: 190px;
    min-height: 190px;
  }
  .race-flow-body {
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 0;
    gap: 5px;
    padding: 10px;
  }
  .race-flow-number {
    font-size: 1.45rem;
  }
  .race-flow-body h4 {
    font-size: 1.1rem;
  }
  .race-flow-body p:not(.race-flow-number) {
    font-size: 0.86rem;
  }
  .race-flow-body button {
    margin-top: 6px;
    min-width: 110px;
    padding: 9px 12px;
    font-size: 0.82rem;
  }
  .race-overview-panel {
    margin-top: 20px;
    padding: 12px;
    background: #171717;
  }
  .race-overview-panel summary {
    width: 100%;
    min-height: 52px;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: none;
  }
  .race-overview-panel summary::after {
    margin-left: 10px;
    font-size: 1.2rem;
  }
  .race-overview {
    margin-top: 18px;
    padding: 20px 14px;
  }
  .race-overview-head {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .race-overview-head h3 {
    font-size: 1.7rem;
  }
  .race-overview-head p:not(.section-label) {
    font-size: 0.9rem;
  }
  .race-overview-table {
    min-width: 760px;
  }
  .race-overview-table th,
  .race-overview-table td {
    padding: 11px 10px;
    font-size: 0.82rem;
  }
  .race-row,
  .race-row--final {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .race-row--left {
    direction: ltr;
  }
  .race-item {
    min-height: 225px;
  }
  .race-run {
    width: 112px;
    margin: 0 auto;
  }
  .race-run::before,
  .race-run::after {
    display: none;
  }
  .race-turn {
    margin: 0 auto 12px;
  }
  .race-turn--left {
    margin: 0 auto 12px;
  }
  .race-badge--goal {
    margin: 0 auto;
  }
  .pricing-table.active { grid-template-columns: repeat(2, 1fr); }
  .pricing-tabs { display: none; }
  .pricing-select-label {
    display: block;
    text-align: left;
    margin: 0 0 7px;
    color: var(--black);
    font-size: 0.74rem;
    font-weight: 900;
  }
  .pricing-select {
    display: block;
    width: 100%;
    margin-bottom: 22px;
    border: 2px solid var(--black);
    background: var(--white);
    color: var(--black);
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.86rem;
    font-weight: 900;
    padding: 11px 12px;
  }
  .tab-btn { width: 100%; min-height: 40px; padding: 9px 12px; text-align: center; font-size: 0.78rem; }
  .pricing-note { margin-bottom: 22px; font-size: 0.72rem; }
  .plan-card {
    padding: 24px 10px 16px;
  }
  .plan-badge {
    top: -11px;
    font-size: 0.58rem;
    padding: 3px 8px;
  }
  .plan-name {
    font-size: 1rem;
    line-height: 1.25;
    margin-bottom: 5px;
  }
  .plan-desc {
    min-height: 34px;
    margin-bottom: 10px;
    font-size: 0.66rem;
    line-height: 1.45;
  }
  .plan-price {
    font-size: 1.45rem;
  }
  .plan-price small {
    font-size: 0.68rem;
  }
  .faq-q { padding: 17px 0; font-size: 0.88rem; }
  .faq-a { padding-bottom: 14px; }
  .faq-a p { font-size: 0.8rem; line-height: 1.65; }
  .cta { padding: 58px 0; }
  .cta-title { font-size: 1.65rem; margin-bottom: 16px; }
  .cta-desc { font-size: 0.82rem; line-height: 1.65; margin-bottom: 26px; }
  .footer { padding: 32px 0; }
  .footer-stores { font-size: 0.68rem; line-height: 1.7; margin-bottom: 12px; }
  .rule-modal {
    padding: 16px;
  }
  .rule-modal-main {
    padding: 30px 22px;
  }
  .rule-spec-grid {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .header-logo-img { width: 116px; }
  .header-cta { font-size: 0.62rem; padding: 7px; }
  .pricing-table.active { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-content {
    padding: 22px 16px;
  }
  .hero-logo {
    width: 95vw;
    max-width: 370px;
    height: auto;
  }
  .hero-title--desktop {
    display: none;
  }
  .hero-title--mobile {
    display: block;
    font-size: clamp(2.2rem, 10vw, 2.75rem);
    line-height: 1.12;
    margin-bottom: 0;
  }
  .hero-title-jp {
    font-size: 0.98em;
  }
  .hero-title-hyrox {
    font-size: 1em;
    transform: none;
    margin-bottom: 0;
  }
  .hero-title-training {
    display: inline-block;
    font-size: 0.98em;
    margin-left: 0;
    transform: none;
  }
  .hero-brand-lockup {
    margin: 18px 0 22px;
  }
  .store-info h3 {
    font-size: 0.56rem;
  }
  .store-phone {
    font-size: 0.76rem;
  }
  .hero-sub {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .hero-buttons {
    gap: 8px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: min(100%, 260px);
    padding: 11px 18px;
    font-size: 0.78rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider img {
    animation: none;
  }
  .hero-slider img:first-child {
    opacity: 1;
    transform: none;
  }
}

/* Hakata's four verified regular/visitor plans; other stores remain unchanged. */
#store-hakata .plan-name { min-height: 2.6em; line-height: 1.3; }
#store-hakata .plan-desc { min-height: 3em; }
#store-hakata .plan-price { white-space: nowrap; }
.hakata-pricing-notes {
  grid-column: 1 / -1;
  color: #555;
  font-size: 0.8125rem;
  line-height: 1.75;
  text-align: left;
}
.hakata-pricing-notes p + p { margin-top: 8px; }
.hakata-pricing-notes a { color: #333; text-decoration: underline; text-underline-offset: 3px; }
.hakata-pricing-notes details { margin-top: 12px; }
.hakata-pricing-notes summary { cursor: pointer; color: #333; padding: 8px 0; }
.hakata-pricing-notes details[open] > p { margin-top: 6px; }
@media (max-width: 768px) {
  #store-hakata .plan-desc { font-size: 0.8125rem; }
}

@media (max-width: 360px) {
  #store-hakata .plan-name { font-size: 0.9375rem; }
}

/* Keep store-card primary actions to three rows; conditions are secondary. */
.store-condition-slot { min-height: 44px; margin-bottom: 8px; }
.store-condition-link,
.store-aux-link {
  font-family: 'Noto Sans JP', sans-serif;
  color: rgba(255,255,255,0.88);
  font-size: 0.75rem;
  line-height: 1.5;
  text-decoration: none;
}
.store-condition-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 0;
  background: transparent;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.store-condition-clock { flex-shrink: 0; }
.store-condition-link:hover { color: var(--white); }
.store-condition-link:focus-visible,
.store-aux-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.store-links > .store-btn { min-height: 42px; }
.store-links > .store-btn--gold { min-height: 64px; }
.store-aux-links { margin-top: 12px; }
.store-aux-link { display: inline-flex; gap: 6px; align-items: center; padding: 5px 0; text-decoration: underline; text-underline-offset: 3px; }
.store-aux-link:hover { color: var(--gold); }
.store-condition-dialog {
  margin: auto;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 24px;
  color: #fff;
  background: #222;
  border: 1px solid var(--gold);
  line-height: 1.75;
}
.store-condition-dialog::backdrop { background: rgba(0,0,0,0.72); }
.store-condition-dialog-head { display: flex; gap: 16px; align-items: start; justify-content: space-between; margin-bottom: 16px; }
.store-condition-dialog-head h2 { font-size: 1.1rem; }
.store-condition-dialog-head button { min-width: 44px; min-height: 44px; color: #fff; background: transparent; border: 1px solid #888; font-size: 1.5rem; cursor: pointer; }
.store-condition-dialog p { margin-bottom: 12px; }
.store-condition-dialog a { color: var(--gold); text-decoration: underline; }
.store-condition-dialog :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 768px) {
  .store-info h3 { min-height: 52px; }
  .store-condition-slot { min-height: 44px; margin-bottom: 6px; }
  .store-links > .store-btn { min-height: 44px; }
  .store-links > .store-btn--gold { min-height: 56px; }
  .store-aux-links { margin-top: 8px; }
}

/* Let store details use their natural height; align only the action block. */
.store-info h3 { min-height: 0; }
.store-condition-slot:empty { display: none; }
.store-links { margin-top: auto; }
@media (max-width: 768px) {
  .stores-grid { align-items: stretch; }
}

/* Three feature slides: native scrolling keeps touch and vertical page gestures intact. */
.why-grid { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.why-grid .why-card { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.why-grid .why-img { height: 100%; min-height: 260px; transition: none; transform: none; }
.why-grid .why-text { display: flex; flex-direction: column; justify-content: center; }
.why-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; }
.why-controls[hidden] { display: none; }
.why-arrow, .why-dots button { border: 1px solid var(--black); background: var(--white); color: var(--black); cursor: pointer; min-width: 44px; min-height: 44px; }
.why-arrow { font-size: 1.3rem; }
.why-arrow[aria-disabled="true"] { opacity: .35; cursor: default; }
.why-dots { display: flex; gap: 2px; }
.why-dots button { border: 0; background: transparent; display: grid; place-items: center; }
.why-dots button::after { content: ''; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--black); }
.why-dots button[aria-current="true"]::after { background: var(--black); }
.why-position { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .85rem; }
.why-grid:focus-visible, .why-controls button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 767px) {
  .why-grid .why-card { display: flex; flex-direction: column; }
  .why-grid .why-img { height: 170px; min-height: 170px; }
  .why-grid .why-text { flex: 1; padding: 20px; }
  .why-grid .why-card h3 { font-size: 1.15rem; }
  .why-grid .why-card p { font-size: .9rem; line-height: 1.7; }
  .why-controls { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .why-grid { scroll-behavior: auto; } }

/* New Hamamatsu/Tokai entry, October 2026 form update. */
.store-update-status { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); font-size: .75rem; line-height: 1.5; }
@media (min-width: 769px) { #store-hamamatsu.active { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .store-filter-btn { padding-left: 4px; padding-right: 4px; } }

/* Planned HYROX location: distinct from the 13 operational listings. */
.store-order-minamifunabashi { order: 14; }
.store-card--planned { border: 1px dashed rgba(254,221,0,.7); }
.store-planned-art { min-height: 190px; display: grid; place-content: center; background: #181818; color: var(--gold); font-family: 'Oswald', sans-serif; font-size: 2.5rem; font-weight: 700; line-height: 1.15; text-align: center; letter-spacing: .08em; }
.store-planned-status { margin: 12px 0 8px; color: var(--gold); font-size: .8rem; font-weight: 700; line-height: 1.6; }
.store-planned-note { margin-bottom: 14px; color: #ddd; font-size: .8rem; line-height: 1.7; }
.store-card--planned .store-links { margin-top: auto; }
.equipment-table .equipment-planned-cell { text-align: left; padding: 16px; font-size: .8rem; line-height: 1.8; color: #555; }
@media (max-width: 768px) { .store-planned-art { min-height: 150px; } }

section[id] { scroll-margin-top: 88px; }
.about .section-label, .race-section .section-label, .why .section-label, .equipment .section-label, .pricing .section-label, .faq .section-label { color: #795b00; }
/* P0 readability: unchanged gold/black identity, operational information first. */
.hero-guidance { color: #fff; font-size: .95rem; line-height: 1.7; margin: 0 0 24px; }
.hero-sub { font-size: clamp(.95rem, 1.3vw, 1.1rem); line-height: 1.8; margin-bottom: 10px; }
.store-summary { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: -8px 0 18px; }
.store-count-badge, .store-planned-badge { min-height: 32px; padding: 8px 12px; font-size: .85rem; font-weight: 700; line-height: 1.4; }
.store-planned-badge { border: 1px dashed var(--gold); color: var(--gold); }
.store-summary [hidden] { display: none; }
.store-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-bottom: 12px; }
.store-filter-btn { min-height: 44px; padding: 10px 16px; border: 1px solid var(--gold); font-size: .9rem; line-height: 1.5; }
.store-filter-btn:last-child { border-right: 1px solid var(--gold); }
.store-filter-feedback { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; color: #eee; font-size: .88rem; line-height: 1.7; }
#store-filter-reset, .store-empty button, #equipment-return { min-height: 44px; padding: 10px 16px; border: 1px solid currentColor; cursor: pointer; background: transparent; color: inherit; font: inherit; }
#store-filter-reset { color: var(--gold); }
.store-empty { border: 1px solid #777; padding: 24px; color: #fff; margin-bottom: 24px; }
.store-empty p { margin-bottom: 12px; }
.store-empty[hidden] { display: none; }
.stores-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.store-card { box-shadow: none; }
.store-info h3 { min-height: 0; }
.store-info h3 span { font-size: 1.2rem; line-height: 1.5; overflow-wrap: anywhere; }
.store-state { display: inline-block; margin: 4px 0 10px; color: var(--gold); font-size: .8rem; font-weight: 700; }
.store-nearest { color: #eee; font-size: .88rem; line-height: 1.7; margin-bottom: 12px; }
.store-critical { color: #ffe34d; font-size: .86rem; line-height: 1.7; margin-bottom: 14px; font-weight: 700; }
.store-primary { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 12px 14px; background: var(--gold); color: #111; text-decoration: none; font-size: .9rem; font-weight: 700; line-height: 1.5; }
.store-details { margin-top: 12px; border-top: 1px solid #666; }
.store-details summary { min-height: 46px; display: list-item; padding: 12px 2px; color: #eee; font-size: .9rem; cursor: pointer; }
.store-detail-body { padding-top: 6px; }
.store-detail-body .store-phone, .store-detail-body .store-map-link { min-height: 44px; align-items: center; padding: 6px 0; margin: 0 0 8px; font-size: .9rem; }
.store-detail-body .store-phone { display: flex; }
.store-detail-body .store-addr { font-size: .85rem; margin-bottom: 16px; min-height: 0; }
.store-detail-body .store-links { margin-top: 0; }
.store-detail-body .store-btn, .store-detail-body .store-btn--gold { min-height: 44px; }
.store-condition-slot { min-height: 0; margin-bottom: 10px; }
.store-carousel-dots { display: none !important; }
.equipment-selection { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 16px 0; color: #333; font-size: .88rem; line-height: 1.6; }
.equipment-table { min-width: 1250px; }
.equipment-table thead th:first-child, .equipment-table tbody th { position: sticky; left: 0; z-index: 2; }
.equipment-table tbody th { background: #fff; }
.equipment-table thead th:first-child { z-index: 4; background: var(--black); }
.equipment-selection { position: sticky; top: 72px; z-index: 6; padding: 10px 0; background: #fff; border-bottom: 1px solid #ccc; }
.store-card--planned .store-btn { min-height: 44px; font-size: .86rem; padding: 12px; }
.store-card--planned .store-phone { min-height: 44px; align-items: center; margin-bottom: 6px; }
.store-critical--general { color: #ccc; font-weight: 400; }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; }

.equipment-table tbody th { white-space: normal; min-width: 150px; }
.equipment-table td[data-status] { min-width: 128px; font-size: .8rem; color: #333; padding: 14px 10px; }
.equipment-table td[data-status]::before, .equipment-table td[data-note]::after { content: none; display: none; }
.equipment-symbol { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1.4; color: #555; }
.equipment-table td[data-status="same"] .equipment-symbol, .equipment-table td[data-status="pending"] .equipment-symbol { color: #795b00; }
.equipment-status-label { display: block; font-size: .78rem; line-height: 1.5; }
.equipment-cell-note { display: block; margin-top: 6px; color: #333; font-size: .72rem; font-weight: 700; line-height: 1.5; }
.equipment-table tr.is-selected > * { background: #fff1a8; border-top: 3px solid #7c6300; border-bottom: 3px solid #7c6300; }
.equipment-table tr.is-selected > th { background: #fff1a8; }
.pricing-store-note { grid-column: 1 / -1; padding: 18px; border-left: 3px solid #8d7100; background: #fff9da; color: #333; font-size: .88rem; line-height: 1.8; text-align: left; }
.store-primary:focus-visible, .store-details summary:focus-visible, .store-filter-btn:focus-visible, #store-filter-reset:focus-visible, #equipment-return:focus-visible, .store-empty button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
#equipment-return:focus-visible, .equipment-table-wrap:focus-visible { outline-color: #6d5700; }
.pricing .tab-btn { min-height: 44px; }
.map-area-btn { min-height: 44px; white-space: normal; line-height: 1.5; }
@media (max-width: 1023px) and (min-width: 769px) { .stores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) {
  .store-filter-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .store-filter-btn { padding: 9px 6px; min-width: 0; font-size: .83rem; }
  .stores-grid { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; scroll-snap-type: none; padding: 0; gap: 18px; }
  .stores-grid .store-card { flex: none; width: auto; min-width: 0; max-width: none; scroll-snap-align: none; }
  .store-img { height: 180px; }
  .store-planned-art { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .store-info { padding: 20px; }
  .store-info h3 span { font-size: 1.2rem; }
  .store-nearest { font-size: .9rem; }
  .equipment-table thead th:first-child, .equipment-table tbody th { min-width: 132px; width: 132px; max-width: 132px; }
  .equipment-table td[data-status] { font-size: .8rem; padding: 12px 10px; min-width: 128px; }
  .map-area-tabs { display: flex; flex-wrap: wrap; }
  .map-area-btn { flex: 1 1 30%; padding: 9px 6px; font-size: .84rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Store browsing: native horizontal scroll preserves touch and vertical page gestures. */
.stores-grid { display: flex; overflow-x: auto; overflow-y: hidden; gap: 24px; align-items: flex-start; scroll-snap-type: x proximity; overscroll-behavior-x: contain; padding: 4px 0 18px; scrollbar-width: auto; scrollbar-color: #fedd00 #444; }
.stores-grid .store-card { flex: 0 0 calc((100% - 48px) / 3); width: auto; min-width: 0; max-width: none; scroll-snap-align: start; }
.stores-grid .store-card.is-hidden { display: none; }
.stores-grid::-webkit-scrollbar { display: block; height: 8px; }
.stores-grid::-webkit-scrollbar-thumb { background: #fedd00; border-radius: 4px; }
.store-scroll-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; color: #eee; margin-bottom: 16px; font-size: .88rem; }
.store-scroll-actions { display: flex; align-items: center; gap: 12px; }
.store-scroll-actions button { width: 46px; min-height: 46px; border: 1px solid var(--gold); background: transparent; color: var(--gold); font-size: 1.3rem; cursor: pointer; }
.store-scroll-actions button:disabled { opacity: .4; cursor: default; }
#store-scroll-position { min-width: 92px; text-align: center; }
.store-scroll-actions button:focus-visible, .stores-grid:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
@media (max-width: 1023px) and (min-width: 769px) { .stores-grid .store-card { flex-basis: calc((100% - 24px) / 2); } }
@media (max-width: 768px) { .stores-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 18px; } .stores-grid .store-card { flex: 0 0 calc(100% - 24px); width: auto; min-width: 0; } .store-scroll-controls { align-items: flex-start; } }

/* Unified Gold's Gym interface: deliberate type, calm surfaces, native interaction. */
:root { --ui-ink: #171717; --ui-paper: #f5f5f3; --ui-line: #deded8; --ui-radius: 12px; --ui-card-radius: 20px; --ui-shadow: 0 8px 28px rgba(0,0,0,.09); }
body { font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif; line-height: 1.7; -webkit-font-smoothing: antialiased; }
section:not(.hero) { padding-block: clamp(64px, 7vw, 100px); }
.section-title { font-size: clamp(1.85rem, 3.4vw, 2.8rem); line-height: 1.35; letter-spacing: -.025em; margin-bottom: 20px; text-wrap: balance; }
.section-label { font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
.section-desc, .equipment-lead, .pricing-lead { line-height: 1.85; }
a, button, summary, select { -webkit-tap-highlight-color: rgba(254,221,0,.2); }
button, select { font-family: inherit; }
:where(a,button,summary,select,[tabindex]):focus-visible { outline: 3px solid #795b00; outline-offset: 4px; }
:where(.site-header,.stores,.access-map,.hero,.cta,.footer) :where(a,button,summary,select,[tabindex]):focus-visible { outline-color: #fedd00; }
.btn-primary, .btn-secondary, .header-cta, .store-primary, .store-btn, .store-btn--gold, #equipment-return, .store-empty button, #store-filter-reset, .rule-modal-actions a { border-radius: var(--ui-radius); min-height: 46px; display: inline-flex; align-items: center; justify-content: center; line-height: 1.5; box-shadow: none; }
.btn-primary, .btn-secondary { padding: 15px 28px; font-family: inherit; letter-spacing: 0; }
.btn-primary:hover, .plan-card:hover { transform: none; }
button:not(:disabled):active, .btn-primary:active, .store-primary:active { filter: brightness(.93); }
.site-header { background: #101010; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header.scrolled { background: #101010; box-shadow: 0 4px 18px rgba(0,0,0,.14); }
.header-inner { min-height: 72px; }
.header-nav a { display: flex; align-items: center; min-height: 44px; }
.nav-toggle { display: none; }
.skip-link { position: fixed; z-index: 300; top: 12px; left: 12px; padding: 12px 18px; border-radius: 10px; background: #fedd00; color: #111; transform: translateY(-180%); }
.skip-link { top: -100px; transform: none; }
.skip-link:focus { top: 12px; transform: none; }
.hero { min-height: 780px; min-height: min(900px, 100svh); padding: 120px 24px 72px; }
.hero-content { padding-inline: 0; }
.hero-sub, .hero-guidance { max-width: 660px; margin-inline: auto; }
.hero-buttons { gap: 14px; }
.store-filter-btn, .map-area-btn, .tab-btn { border-radius: 10px; }
.store-card { border: 1px solid #41413c; border-radius: var(--ui-card-radius); overflow: hidden; }
.store-info { padding: 24px; }
.store-primary { display: flex; justify-content: space-between; width: 100%; }
.store-details { margin-top: 16px; }
.store-detail-body .store-links { gap: 10px; }
.store-scroll-actions button, .why-arrow { border-radius: 50%; }
.store-scroll-controls { margin-top: 8px; }
.store-scroll-actions { font-variant-numeric: tabular-nums; }
#store-scroll-position { min-width: 100px; }
.store-count-badge, .store-planned-badge { border-radius: 8px; }
.about, .equipment { background: #fff; }
.about-video-copy .section-label { color: var(--gold); }
.about-video-block { border-radius: 20px; box-shadow: var(--ui-shadow); overflow: hidden; }
.why, .pricing { background: var(--ui-paper); }
.about-media, .about-video, .why-grid, .why-card, .plan-card, .race-map, .race-overview-panel, .map-frame, .map-card, .rule-modal-panel, .store-condition-dialog { border-radius: var(--ui-card-radius); }
.why-grid { background: #fff; border: 1px solid var(--ui-line); }
.why-grid:focus-visible, .why-controls button:focus-visible { outline-color: #795b00; }
.why-text { padding: clamp(24px, 4vw, 48px); }
.why-card h3 { line-height: 1.5; letter-spacing: -.02em; }
.why-card:hover .why-img { transform: none; }
.race-map, .race-overview-panel, .race-flow-card, .race-overview, .race-flow-node, .race-run-step, .race-route-turn, .race-route-label, .race-flow-number, .race-overview-head, .rule-modal-actions a { box-shadow: none; }
.race-flow-card, .race-flow-card:nth-of-type(even) { border-radius: 16px; opacity: 1; transform: none; }
.race-map.is-visible .race-flow-card { animation: none; }
.race-map { box-shadow: var(--ui-shadow); }
.race-section .section-label { color: var(--gold); }
.race-flow-body button { border-radius: 12px; min-height: 44px; box-shadow: none; }
.race-map-summary, .race-overview-panel > summary { min-height: 48px; }
.equipment-table-wrap { border: 1px solid var(--ui-line); border-radius: 16px; }
.equipment-selection { top: 72px; min-height: 64px; }
.equipment-legend { gap: 12px 22px; }
.pricing-tabs { gap: 8px; border: 0; padding: 0; }
.tab-btn { border: 1px solid #d1d1cb; font-size: .875rem; min-height: 44px; }
.plan-card { border: 1px solid var(--ui-line); padding: 32px 22px; background: #fff; }
.plan-card:hover { border-color: #8f7800; }
.plan-visitor { background: #eaeae5; }
.plan-name { font-size: 1.25rem; line-height: 1.5; }
.plan-desc { font-size: .875rem; line-height: 1.65; color: #555; }
.plan-price { font-size: 2rem; line-height: 1.4; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: .875rem; }
.plan-badge { border-radius: 8px; font-size: .75rem; }
.pricing-store-note { border-radius: 12px; font-size: .9rem; }
.pricing-select { min-height: 48px; border-radius: 12px; }
.pricing-note, .equipment-note, .usage-note { font-size: .875rem; line-height: 1.8; }
.footer-stores { font-size: .8125rem; line-height: 1.9; }
.faq-list { max-width: 800px; }
.faq-item { background: #fff; border: 1px solid var(--ui-line); border-radius: 16px; margin-bottom: 12px; padding-inline: 24px; }
.faq-q { font-size: 1rem; padding-block: 22px; min-height: 64px; line-height: 1.65; }
.faq-a { padding-bottom: 24px; }
.faq-a p { font-size: .9375rem; line-height: 1.85; color: #555; }
.faq-icon { color: #795b00; }
.cta-title { line-height: 1.45; letter-spacing: -.025em; text-wrap: balance; }
.footer { padding-block: 48px; }
.footer-stores { color: #aaa; }
.footer-copy { color: #aaa; }
.map-area-tabs { border: 0; padding: 0; gap: 8px; }
.map-area-btn { border: 1px solid #565650; }
.map-area-btn.active { border-color: var(--gold); }
[hidden] { display: none !important; }
#rule-modal, #lightbox { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; }
#rule-modal::backdrop, #lightbox::backdrop { background: rgba(0,0,0,.72); }
.rule-modal-panel { box-shadow: 0 24px 64px rgba(0,0,0,.3); }
.rule-modal-close, .lightbox-close { min-width: 46px; min-height: 46px; border-radius: 50%; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: #fedd00; color: #111; border: 0; font-size: 1.6rem; cursor: pointer; }
@media (max-width: 1023px) {
 .header-inner { gap: 8px; padding: 12px; }
 .header-logo-img { width: clamp(90px, 21vw, 150px); }
 .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; min-height: 44px; padding: 8px; background: transparent; border: 1px solid #777; border-radius: 10px; color: #fff; font-size: .6875rem; cursor: pointer; }
 .header-cta { margin-left: 0; padding: 8px; font-size: .6875rem; }
 .header-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; margin: 0; background: #242424; padding: 12px; border: 1px solid #555; border-radius: 16px; box-shadow: 0 12px 32px #0004; }
 .header-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
 .header-nav a { padding: 10px 14px; border-radius: 8px; color: #fff; }
 .header-nav a:hover { background: #383838; }
 .pricing-table.active { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 768px) {
 .hero { min-height: 740px; padding: 116px 20px 64px; }
 .hero-title { font-size: 2.7rem; }
 .hero-buttons { display: grid; grid-template-columns: 1fr; width: min(100%, 360px); margin-inline: auto; }
 .hero-buttons a { width: 100%; }
 .store-info { padding: 22px; }
 .plan-desc { font-size: .875rem; line-height: 1.65; }
 .plan-name { font-size: 1.25rem; }
 .plan-price { font-size: 2rem; }
 .faq-item { padding-inline: 18px; }
 .faq-q { font-size: .9375rem; }
 .section-desc { margin-bottom: 32px; }
}
@media (max-width: 440px) { .pricing-table.active { grid-template-columns: minmax(0,1fr); gap: 22px; } .plan-card { padding: 28px 22px; } .plan-card--wide { grid-column: auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* 2026-11-04: newly submitted stores, without unapproved photos. */
.store-order-tsudanuma { order: 14; }
.store-order-minamifunabashi { order: 15; }
.store-order-totsuka { order: 16; }
.store-art--no-photo { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 190px; padding: 20px; text-align: center; background: #191919; color: var(--gold); font-size: 1.3rem; font-weight: 700; line-height: 1.7; }

/* Confirmed conditions from the nine submitted stores only. */
.pricing-more { grid-column: 1 / -1; padding: 18px 20px; border: 1px solid #d8d8d2; border-radius: 12px; text-align: left; background: #fff; }
.pricing-more summary { cursor: pointer; min-height: 44px; display: list-item; padding-block: 10px; font-weight: 700; line-height: 1.6; }
.pricing-more p, .pricing-more dd, .pricing-confirmation { font-size: .875rem; line-height: 1.8; color: #555; }
.pricing-more dt { font-size: .9375rem; font-weight: 700; margin-top: 16px; line-height: 1.7; }
.pricing-more dd { margin-top: 4px; }
.pricing-confirmation { grid-column: 1 / -1; margin-top: 4px; text-align: left; }
.pricing-confirmation a { color: #594400; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.store-standard-fees { margin-block: 16px; padding: 14px; border: 1px solid #666; border-radius: 12px; font-size: .875rem; line-height: 1.8; color: #eee; }
.store-standard-fees h4 { margin-bottom: 10px; font-size: .9375rem; }
.store-standard-fees dt { margin-top: 12px; font-weight: 700; }
.store-standard-fees dd { color: #ccc; }

/* Official artwork replaces font-drawn card brand lines. */
.store-info h3 { display: flex; align-items: center; gap: 12px; font-family: inherit; text-transform: none; }
.store-info h3 .store-brand-logo { display: block; width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; background: #ffdc00; border-radius: 50%; }
.store-info h3 span { min-width: 0; }
.store-placeholder-logo { display: block; width: 64px; height: 64px; object-fit: contain; background: #ffdc00; border-radius: 50%; margin-bottom: 10px; }
.store-planned-art { font-size: clamp(1.3rem, 2.3vw, 2rem); letter-spacing: .04em; padding-inline: 10px; }

/* Keep event names visible when jumping to an individual store row. */
.equipment-cell-heading { display: none; }
.equipment-table tr.is-selected .equipment-cell-heading { display: block; font-size: .78rem; line-height: 1.4; font-weight: 700; margin-bottom: 8px; color: #333; }

/* November 2026: unified booking, area comparison, and map selection order. */
.equipment-area-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:28px 0 14px; }
.equipment-area-btn { min-height:48px; padding:12px 20px; border:1px solid #ccc; border-radius:14px; background:#fff; color:#1a1a1a; font:inherit; font-weight:800; cursor:pointer; }
.equipment-area-btn.active { background:#1a1a1a; color:var(--gold); border-color:#1a1a1a; }
.equipment-area-btn:focus-visible { outline:3px solid #8a6b00; outline-offset:3px; }
.equipment-area-status { font-weight:800; margin:0 0 12px; }
.equipment-table tr[hidden] { display:none !important; }
.map-area-tabs { margin-bottom:12px; }
.map-store-buttons { margin:0 0 24px; padding:0 0 20px; border-bottom:1px solid rgba(255,255,255,.16); }
.store-trial-note { color:rgba(255,255,255,.72); font-size:.85rem; line-height:1.8; margin:24px 0 0; }
@media(max-width:600px) { .equipment-area-tabs { gap:8px; } .equipment-area-btn { flex:1 1 calc(50% - 8px); padding:12px 10px; font-size:.875rem; } .map-store-buttons { gap:8px; } .map-store-button { text-align:left; min-height:44px; } }

/* Kanazawa review, 2026-11-10: consistent guidance and mobile table navigation. */
.store-condition-icon { flex: 0 0 auto; }
/* The corner must sit above both the sticky heading row and the store column. */
.equipment-table { border-collapse: separate; border-spacing: 0; }
.equipment-table thead th { z-index: 3; }
.equipment-table tbody th { z-index: 2; }
.equipment-table thead th:first-child { z-index: 4; background: var(--black); }
@media (max-width: 768px) {
  .stores-grid { scroll-snap-type: x mandatory; }
  .stores-grid .store-card { flex-basis: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .race-overview-table-wrap { position: relative; isolation: isolate; }
  .race-overview-table { min-width: 550px; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
  .race-overview-table th, .race-overview-table td { white-space: normal; }
  .race-overview-table button { min-width: 0; width: 100%; padding-inline: 5px; font-size: .75rem; white-space: normal; }
  .race-overview-table tr > :first-child { display: none; }
  .race-overview-table tr > :nth-child(2) { position: sticky; left: 0; width: 116px; min-width: 116px; max-width: 116px; white-space: normal; overflow-wrap: break-word; background: #242424; z-index: 2; box-shadow: 3px 0 0 #756622; }
  .race-overview-table thead tr > :nth-child(2) { background: #3c371a; z-index: 3; }
  .race-overview-table tr > :nth-child(3) { width: 92px; }
  .race-overview-table tr > :nth-child(4), .race-overview-table tr > :nth-child(5) { width: 76px; }
  .race-overview-table tr > :nth-child(6) { width: 94px; }
  .race-overview-table tr > :nth-child(7) { width: 96px; }
}

.store-use-note { color: #ddd; font-size: .8rem; line-height: 1.7; margin: 8px 0 14px; }
