/* RideWorks — バイク買取LP（比較査定対策） */
:root {
  --red: #e22126;
  --red-dark: #c41a1f;
  --navy: #1a2b3c;
  --navy-light: #2d4158;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #5b6573;
  --line: #06c755;
  --border: #e5e9ef;
  --shadow: 0 8px 28px rgba(26, 43, 60, 0.08);
  --radius: 12px;
  --header-h: 64px;
  --max: 1080px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  padding-bottom: 72px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(92%, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1rem;
  background: var(--navy);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo img {
  height: 36px;
  width: auto;
}

.header-cta {
  display: none;
  gap: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-outline {
  background: #fff;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.btn-line {
  background: var(--line);
  color: #fff;
}

.btn-line:hover {
  filter: brightness(0.95);
}

.btn-block {
  width: 100%;
}

.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 480px) {
  .cta-group--row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cta-group--row .btn {
    flex: 1 1 auto;
    min-width: 140px;
  }
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--navy) center / cover no-repeat;
  min-height: auto;
  display: flex;
  align-items: stretch;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 43, 60, 0.88) 0%,
    rgba(26, 43, 60, 0.78) 45%,
    rgba(26, 43, 60, 0.92) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 2rem;
}

.hero-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(226, 33, 38, 0.45);
}

.hero-alert-icon {
  display: grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-aside {
  order: -1;
}

@media (min-width: 900px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 360px);
    gap: 1.5rem;
  }

  .hero-aside {
    order: 0;
  }

  .hero-inner {
    padding: 1.75rem 0 2.5rem;
  }
}

.hero-hook {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.1rem, 4vw, 1.45rem);
  color: #ffd86b;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 5.2vw, 2.1rem);
  line-height: 1.3;
  font-weight: 800;
}

.sp-only {
  display: inline;
}

.hero-lead {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.94);
  max-width: 38em;
}

.hero-points {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #7dffb0;
  font-weight: 800;
}

.hero-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
}

.btn-lg {
  min-height: 52px;
  font-size: 1rem;
}

/* Hero offer card */
.hero-aside {
  display: grid;
  gap: 0.85rem;
}

.hero-offer {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(165deg, #fff 0%, #fff8e8 100%);
  color: var(--navy);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  border: 3px solid #ffd86b;
}

.hero-offer-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero-offer-eyebrow strong {
  color: var(--navy);
}

.hero-offer-price {
  margin: 0;
  line-height: 1;
  color: var(--red);
  font-weight: 900;
}

.hero-offer-plus {
  display: block;
  font-size: clamp(0.85rem, 3vw, 1rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.hero-offer-num {
  font-size: clamp(3rem, 14vw, 4.25rem);
  letter-spacing: -0.03em;
}

.hero-offer-yen {
  font-size: clamp(1.25rem, 5vw, 1.75rem);
}

.hero-offer-choice,
.hero-offer-bonus {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.hero-offer-bonus {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(26, 43, 60, 0.08);
  font-size: 0.85rem;
}

.btn-offer {
  display: flex;
  width: 100%;
  margin-top: 0.85rem;
  min-height: 48px;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--line);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  justify-content: center;
  align-items: center;
}

.btn-offer:hover {
  filter: brightness(0.95);
}

.hero-offer-legal {
  margin: 0.65rem 0 0;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  background: rgba(226, 33, 38, 0.08);
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--navy);
  text-align: left;
}

.hero-offer-note {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}

.legal-note {
  margin: -1rem 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  background: #fff3f3;
  border: 1px solid rgba(226, 33, 38, 0.25);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}

.hero-staff {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-staff img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
}

.hero-staff-text {
  font-size: 0.8rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.hero-staff-text p {
  margin: 0;
}

.hero-staff-label {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.15rem !important;
  color: #ffd86b;
}

.hero-staff-catch {
  font-weight: 800;
  font-size: 0.88rem;
  margin-bottom: 0.35rem !important;
  color: #fff;
}

/* Hero steps */
.hero-steps {
  padding: 1.25rem 0 !important;
  border-bottom: 1px solid var(--border);
}

.step-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .step-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.step-list li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-self: center;
  justify-self: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.step-list strong {
  font-size: 0.95rem;
  color: var(--navy);
}

.step-list span:last-child {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Sections */
section {
  padding: 3.25rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.4;
  color: var(--navy);
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 40em;
}

.surface {
  background: var(--surface);
}

/* Cards & grid */
.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.point-list {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .point-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .point-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.point-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.point-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(226, 33, 38, 0.1);
  color: var(--red);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
}

/* Worry section */
.worry-list li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.worry-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* Campaign */
.campaign-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 1.75rem 1.25rem;
  text-align: center;
}

.campaign-eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.campaign-price {
  margin: 0 0 0.5rem;
  font-size: clamp(2.5rem, 10vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  color: #ffd86b;
}

.campaign-price span {
  letter-spacing: -0.03em;
}

.campaign-box h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
}

.campaign-highlight {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.campaign-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
}

.campaign-item strong {
  display: block;
  font-size: 1.15rem;
  color: #ffd86b;
  margin-bottom: 0.25rem;
}

.campaign-or {
  font-size: 0.9rem;
  opacity: 0.85;
}

.conditions {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--border);
}

.conditions h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--navy);
}

.conditions ul {
  padding-left: 1.2rem;
}

.conditions li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* Reviews */
.stars {
  color: #f5a623;
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.review-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.review-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Worry section */
.worry-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .worry-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: start;
  }
}

.worry-main {
  display: grid;
  gap: 1.25rem;
}

.worry-figure {
  margin: 0;
}

.worry-figure img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/3;
}

.worry-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Slider */
.slider {
  max-width: 720px;
  margin-inline: auto;
}

.slider-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  background: #f0f2f5;
  border: 1px solid var(--border);
}

.slider-track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.35s ease;
}

.slider-slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 1rem;
}

.slider-slide img {
  max-height: min(52vw, 320px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.slider-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.slider-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.slider-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
}

.slider-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--red);
}

.slider-caption {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 700;
}

.footer-logo {
  display: block;
  width: 160px;
  height: auto;
  margin-bottom: 1rem;
  background: #fff;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

/* Staff */
.staff-block {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .staff-block {
    grid-template-columns: 220px 1fr;
  }
}

.staff-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.staff-photo img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.65rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 1.1rem;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--red);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.1rem 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* CTA band */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 2.5rem 0;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 4vw, 1.6rem);
}

.cta-band p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
}

.cta-band .cta-group {
  max-width: 520px;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: #111820;
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer-grid dt {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.footer-grid dd {
  margin: 0 0 1rem;
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

/* Fixed mobile CTA */
.fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
}

.fixed-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
}

.fixed-cta .cta-tel {
  background: var(--navy);
}

.fixed-cta .cta-line {
  background: var(--line);
}

.fixed-cta .cta-form {
  background: var(--red);
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .fixed-cta {
    display: none;
  }

  .header-cta {
    display: flex;
  }
}

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

  .btn {
    transition: none;
  }
}
