/* 基本設定 */
.two-rider-page {
  --panel: #151a22;
  --panel2: #1b212b;
  --text: #f4f7fb;
  --muted: #aeb7c5;
  --line: #2a313d;
  --red: #ff3b30;
  --gold: #f7c653;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
  --radius: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.two-rider-page {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 80% 0%, rgba(255,59,48,.15), transparent 30%), linear-gradient(180deg,#080a0e 0%,#0d1117 55%,#090b0f 100%);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  line-height: 1.75;
}

.two-rider-page a {
  color: inherit;
  text-decoration: none;
}

.two-rider-page img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 800;
  letter-spacing: .12em;
  font-size: .82rem;
  color: #ff8a82;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red);
}

/* ヒーロー */
.two-rider-hero {
  min-height: 780px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.two-rider-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(7,9,13,.98) 0%,rgba(7,9,13,.9) 42%,rgba(7,9,13,.42) 72%,rgba(7,9,13,.75) 100%), repeating-linear-gradient(125deg,transparent 0 42px,rgba(255,255,255,.025) 43px 44px);
  z-index: -1;
}
.two-rider-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.24;
  pointer-events: none;
  z-index: -2;
  background-image: url("../Data-file/Images/two-rider-enduro-cta-draft01.jpg");
}

.promo-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.track-lines {
  position: absolute;
  right: -10%;
  bottom: -80px;
  width: 65%;
  height: 420px;
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 50%;
  transform: rotate(-10deg);
  z-index: -1;
}

.track-lines::before, .track-lines::after {
  content: "";
  position: absolute;
  inset: 45px;
  border: 2px solid rgba(255,255,255,.06);
  border-radius: 50%;
}

.track-lines::after {
  inset: 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}

.two-rider-page h1 {
  font-size: clamp(2.9rem,7vw,6.3rem);
  line-height: .98;
  margin: .24em 0 .3em;
  letter-spacing: -.055em;
}

.two-rider-page h1 span {
  display: block;
  color: var(--red);
}

.lead {
  font-size: clamp(1.08rem,2vw,1.38rem);
  color: #d5dbe5;
  max-width: 760px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.hero-pills-centered {
  justify-content: center;
  margin-bottom: 0;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  padding: 8px 13px;
  border-radius: 999px;
  font-weight: 700;
  color: #dfe5ed;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  border: 1px solid var(--line);
  transition: .2s ease;
}

.btn.primary {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 14px 35px rgba(255,59,48,.22);
}

.btn.secondary {
  background: rgba(255,255,255,.04);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-card {
  background: linear-gradient(180deg,rgba(27,33,43,.96),rgba(15,19,25,.96));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.statgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat {
  background: #0d1117;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.stat b {
  display: block;
  font-size: 1.7rem;
  color: #fff;
}

.stat span {
  color: var(--muted);
  font-size: .86rem;
}

/* コンテンツ共通 */
.two-rider-page main > section:not(.contact-section) {
  padding: 72px 0;
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-head h2 {
  font-size: clamp(2rem,4vw,3.6rem);
  line-height: 1.13;
  margin: .28em 0;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.two-rider-page .contact-section {
  padding-block: 52px;
}

.three {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.feature {
  background: linear-gradient(180deg,var(--panel),#11161d);
  border: 1px solid var(--line);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
}

.feature h3 {
  font-size: 1.25rem;
  margin: .5em 0;
}

.feature p {
  color: var(--muted);
  margin: 0;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.mode {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.mode.hot {
  border-color: rgba(255,59,48,.55);
}

.mode.hot::after {
  content: "OPTION";
  position: absolute;
  right: -30px;
  top: 18px;
  transform: rotate(35deg);
  background: var(--red);
  padding: 5px 38px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .14em;
}

.mode h3 {
  font-size: clamp(1.7rem,3vw,2.5rem);
  margin: .2em 0;
}

.mode .sub {
  color: #ff968f;
  font-weight: 800;
}

.mode ul {
  padding-left: 1.2em;
  color: #d6dce5;
}

.mode li+li {
  margin-top: 8px;
}

.scorebox {
  margin-top: 22px;
  background: #0c1016;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.scorebox strong {
  color: var(--gold);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.step {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.step b {
  color: var(--red);
  font-size: .85rem;
  letter-spacing: .08em;
}

.step h3 {
  margin: .45em 0 .3em;
}

.step p {
  color: var(--muted);
  margin: 0;
}

.rules {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.rules-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
}

.rules-list {
  display: grid;
  gap: 12px;
}

.rule {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  background: #0e1218;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.rule i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,59,48,.12);
  color: #ff7068;
  font-style: normal;
  font-weight: 900;
}

.rule h3 {
  margin: 0 0 3px;
}

.rule p {
  margin: 0;
  color: var(--muted);
}

/* Q&A */
.faq {
  display: grid;
  gap: 12px;
}

details {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0 20px;
}

summary {
  cursor: pointer;
  font-weight: 800;
  padding: 20px 0;
}

details p {
  color: var(--muted);
  margin: 0;
  padding: 0 0 20px;
}

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg,#1a1113,#2b1113 55%,#15191f);
  border: 1px solid rgba(255,59,48,.35);
  border-radius: 34px;
  padding: 64px 28px;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../Data-file/Images/two-rider-enduro-cta-draft.png") center / cover no-repeat;
  opacity: .28;
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(2rem,4vw,3.5rem);
  margin: .2em 0;
}

.cta p {
  color: #d1d7e0;
  max-width: 700px;
  margin: 0 auto 28px;
}

.notice {
  font-size: .8rem;
  color: #8d97a6;
  margin-top: 18px;
}

/* レスポンシブ */
@media(max-width:900px) {
  .two-rider-hero {
    min-height: auto;
    padding: 88px 0 70px;
  }

  .hero-grid, .rules {
    grid-template-columns: 1fr;
  }

  .three, .timeline {
    grid-template-columns: 1fr 1fr;
  }

}

@media(max-width:620px) {
  .hero-grid {
    gap: 30px;
  }

  .two-rider-page h1 {
    font-size: 3.2rem;
  }

  .statgrid, .three, .compare, .timeline {
    grid-template-columns: 1fr;
  }

  .two-rider-page main > section:not(.contact-section) {
    padding: 52px 0;
  }

  .two-rider-page .contact-section {
    padding-block: 44px;
  }

  .mode, .feature, .rules-card {
    padding: 24px;
  }

  .actions .btn {
    width: 100%;
  }

}

/* キーボード操作と動きの軽減 */
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }

}
