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

/* ===== 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: 24px;
  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 { 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;
  margin-bottom: 28px;
}
.hero-logo {
  width: clamp(129px, 15vw, 192px);
  height: clamp(129px, 15vw, 192px);
  object-fit: contain;
  margin: 0;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.34));
}
.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: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.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:last-child,
.beginner-list li {
  color: rgba(255,255,255,0.76);
  line-height: 1.85;
  font-size: 0.95rem;
}
.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:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    #171717;
  padding: 28px;
  box-shadow: none;
}
.race-map::before {
  content: 'HYROX';
  position: absolute;
  top: -58px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: 0.32em;
  color: rgba(254,221,0,0.14);
  pointer-events: none;
}
.race-map-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.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-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;
}

/* ===== 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; }

/* ===== STORES ===== */
.stores { padding: 80px 0; background: var(--black); }
.stores .section-label, .stores .section-title { color: var(--white); }
.stores .section-title { color: var(--white); }
.stores-note {
  max-width: 760px;
  color: rgba(255,255,255,0.68);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: -4px 0 28px;
}
.stores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.store-card {
  background: #2a2a2a;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.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;
}
.store-img-placeholder {
  background: #333;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #444;
}
.store-img-placeholder span { color: #555; font-size: 0.9rem; }
.store-coming {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(254,221,0,0.16), rgba(0,0,0,0.08)),
    #202020;
  border-bottom: 1px solid rgba(254,221,0,0.22);
}
.store-coming span {
  font-family: 'Oswald', sans-serif;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 2px solid var(--gold);
  padding: 12px 18px;
}
.store-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.store-info h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 6px;
  min-height: 72px;
}
.store-info h3 span {
  font-size: clamp(1.18rem, 1.35vw, 1.42rem);
  color: var(--white);
  display: block;
  line-height: 1.28;
  letter-spacing: 0;
  text-transform: none;
}
.store-addr {
  color: #fff;
  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: #aaa;
  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 #444;
  color: #aaa;
  transition: border-color 0.2s, color 0.2s;
}
.store-btn:hover { border-color: var(--gold); color: var(--white); }
.store-btn--gold {
  border-color: var(--gold);
  color: var(--black);
  background: var(--gold);
  font-weight: 700;
}

/* ===== 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-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-tabs {
  display: flex;
  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.9rem;
  padding: 12px 28px;
  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 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; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .about-subsection {
    margin-bottom: 48px;
  }
  .about-subsection--beginner,
  .about-subsection--rules {
    padding: 24px 16px;
  }
  .about-video-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px 22px;
  }
  .video-frame {
    max-width: 340px;
    width: 100%;
    margin: 0 auto;
  }
  .about-block-heading {
    margin-bottom: 18px;
  }
  .beginner-panel {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .beginner-copy,
  .beginner-list {
    padding: 28px 22px;
  }
  .why-grid { grid-template-columns: 1fr; }
  .stores-grid { grid-template-columns: 1fr; }
  .map-grid { grid-template-columns: 1fr; }
  .map-frame { height: 220px; }
  .race-map { padding: 18px; }
  .race-map-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .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 { flex-direction: column; width: 100%; }
  .tab-btn { width: 100%; text-align: center; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  .stores-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .header-logo-img { width: 130px; }
  .header-cta { font-size: 0.68rem; padding: 8px; }
  .pricing-table.active { grid-template-columns: 1fr; }
  .hero-content {
    padding: 28px 20px;
  }
  .hero-logo {
    width: 126px;
    height: 126px;
  }
  .hero-title--desktop {
    display: none;
  }
  .hero-title--mobile {
    display: block;
    font-size: clamp(2.05rem, 9.8vw, 2.85rem);
    line-height: 1.12;
    margin-bottom: 22px;
  }
  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 28px;
  }
  .hero-buttons {
    gap: 12px;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: min(100%, 280px);
    padding: 14px 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider img {
    animation: none;
  }
  .hero-slider img:first-child {
    opacity: 1;
    transform: none;
  }
}
