/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   Rspeed琉聖シリーズ LP専用スタイル

   カラースキーム:
   - Rspeed Red: #E31E24 (メイン)
   - Navy: #1A237E (サブ)
   - Gold: #FFD700 (アクセント)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

:root {
  /* Rspeedカラー */
  --rspeed-red: #E31E24;
  --rspeed-red-dark: #B71C1C;
  --rspeed-red-light: #FF5252;

  --rspeed-navy: #1A237E;
  --rspeed-navy-dark: #0D47A1;
  --rspeed-navy-light: #3F51B5;

  --rspeed-gold: #FFD700;
  --rspeed-gold-dark: #D4AF37;

  /* その他 */
  --rspeed-white: #FFFFFF;
  --rspeed-black: #000000;
  --rspeed-carbon: #1a1a1a;

  /* フォント */
  --rspeed-font-sans: Meiryo, "Hiragino Kaku Gothic Pro", Osaka, "MS PGothic", sans-serif;
  --rspeed-font-bold: "Noto Sans JP", sans-serif;
}

/* ページ全体の背景を黒に設定 */
html, body {
  background-color: #000000;
}

/* 全セクションの横スクロール防止 */
* {
  box-sizing: border-box;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HTMLから移動したインラインCSS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* モバイル版の仕切り線を完全に削除 */
@media (max-width: 767px) {
  .rspeed-hero-subtitle {
    padding: 30px 15px 30px 15px !important;
    margin: 0 !important;
    border: 0 !important;
    background-color: #f5f5f5 !important;
  }

  .rspeed-three-features {
    padding: 50px 15px 50px 15px !important;
    margin: -1px 0 0 0 !important;
    border: 0 !important;
    background-color: #f5f5f5 !important;
  }

  .rspeed-products,
  .rspeed-rider,
  .rspeed-features,
  .rspeed-technology,
  .rspeed-cta {
    margin: -1px 0 0 0 !important;
    border: 0 !important;
  }

  .footer {
    margin: -1px 0 0 0 !important;
    border: 0 !important;
  }

  .rspeed-hero-subtitle,
  .rspeed-three-features,
  .rspeed-products,
  .rspeed-rider,
  .rspeed-features,
  .rspeed-technology,
  .rspeed-cta,
  .rspeed-hero-subtitle *,
  .rspeed-three-features *,
  .rspeed-products *,
  .rspeed-rider *,
  .rspeed-features *,
  .rspeed-technology *,
  .rspeed-cta * {
    border-width: 0 !important;
    border-style: none !important;
    border-color: transparent !important;
    border-image: none !important;
    box-shadow: none !important;
    outline: none !important;
  }

  /* CTAセクションのボタンの枠線を復活 */
  .rspeed-btn--phone,
  .rspeed-btn--line {
    border: 3px solid #ffffff !important;
    border-width: 3px !important;
    border-style: solid !important;
    border-color: #ffffff !important;
    border-image: none !important;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   メインコンテナ
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-main {
  background: var(--rspeed-black);
  min-height: 100vh;
}

.rspeed-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ヒーローセクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-hero {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #000000;
}

.rspeed-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/rspeed/rspeed5.jpg');
  background-size: cover;
  background-position: center 90%;
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0;
  animation: heroFadeIn 2s ease-out 0.3s forwards;
}

@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.rspeed-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
  opacity: 0;
  animation: heroFadeIn 2s ease-out 0.3s forwards;
}

.rspeed-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  animation: fadeInUp 1.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rspeed-hero__subtitle-top {
  font-family: var(--rspeed-font-sans);
  font-size: clamp(14px, 2.5vw, 18px);
  color: var(--rspeed-white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
  font-weight: 400;
}

.rspeed-hero__title {
  font-family: 'Zen Dots', 'Anton', sans-serif !important;
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 400;
  color: var(--rspeed-white);
  text-shadow:
    0 4px 10px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(227, 30, 36, 0.6);
  margin-bottom: 16px;
  line-height: 1.1;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* 琉聖シリーズのフォント */
.rspeed-hero__title-series {
  font-family: 'Shippori Antique B1', serif;
}

/* モバイル版: Rspeedと琉聖シリーズを2行で表示 */
@media (max-width: 767px) {
  .rspeed-hero__title {
    white-space: normal;
  }

  .rspeed-hero__title-series {
    display: block;
  }
}

.rspeed-hero__title-r {
  color: var(--rspeed-red);
  text-shadow:
    0 4px 10px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(227, 30, 36, 0.9);
}

.rspeed-hero__official {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 800;
  color: var(--rspeed-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: 0.2em;
}

.rspeed-hero__brand {
  font-family: 'Zen Antique', serif;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--rspeed-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 32px;
}

/* ヒーローセクション タブレット対応 */
@media (min-width: 768px) and (max-width: 1024px) {
  .rspeed-hero__bg {
    background-position: left center;
    background-size: auto 100%;
    animation: heroFadeIn 2s ease-out 0.3s forwards, heroPanTablet 12s linear 2.5s infinite alternate;
  }

  @keyframes heroPanTablet {
    from {
      background-position: left center;
    }
    to {
      background-position: right center;
    }
  }
}

/* ヒーローセクション モバイル対応 */
@media (max-width: 767px) {
  .rspeed-hero {
    min-height: 70vh;
    height: 70vh;
    position: relative;
    background-color: #000000;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .rspeed-hero__bg {
    height: 100%;
    background-size: auto 100%;
    background-position: left center;
    width: 100%;
    max-width: 100%;
    animation: heroFadeIn 2s ease-out 0.3s forwards, heroPanMobile 12s linear 2.5s infinite alternate;
  }

  @keyframes heroPanMobile {
    from {
      background-position: left center;
    }
    to {
      background-position: right center;
    }
  }

  .rspeed-hero__content {
    padding: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .rspeed-hero__subtitle-top {
    font-size: clamp(11px, 3.5vw, 13px);
    margin-bottom: 8px;
  }

  .rspeed-hero__title {
    font-size: clamp(42px, 10vw, 56px);
    margin: 15px 0;
  }

  .rspeed-hero__title-series {
    font-size: clamp(24px, 6vw, 36px);
    display: block;
    margin-top: 5px;
  }

  .rspeed-hero__official {
    font-size: clamp(18px, 4.5vw, 22px);
    margin: 12px 0;
  }

  .rspeed-hero__brand {
    font-size: clamp(20px, 5vw, 28px);
    margin-top: 8px;
  }
}

.rspeed-hero__text {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--rspeed-white);
  line-height: 1.8;
  margin-bottom: 24px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  font-family: var(--rspeed-font-sans);
  white-space: nowrap;
}

.rspeed-hero__shop {
  font-family: var(--rspeed-font-bold);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 800;
  color: var(--rspeed-gold);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
  padding: 12px 32px;
  border: 2px solid var(--rspeed-gold);
  border-radius: 50px;
  display: inline-block;
  background: rgba(255, 215, 0, 0.1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   共通セクションスタイル
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.rspeed-section-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 400;
  color: var(--rspeed-white);
  text-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rspeed-section-subtitle {
  font-family: var(--rspeed-font-sans);
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.7);
}

/* ヒーローセクション下のサブタイトル */
.rspeed-hero-subtitle {
  background-color: #f5f5f5;
  padding: 80px 20px 60px 20px;
  text-align: center;
  border: none;
}

.rspeed-hero-subtitle p {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: #000;
  margin: 0;
  letter-spacing: 0.08em;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.7s ease-out, transform 1.7s ease-out;
}

.rspeed-hero-subtitle.visible p {
  opacity: 1;
  transform: translateY(0);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   スクロールアニメーション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* 遅延アニメーション */
.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* 左からスライドイン */
.slide-in-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 右からスライドイン */
.slide-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ズームイン効果 */
.zoom-in {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3つの特徴
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-three-features {
  padding: 250px 0;
  background: #f5f5f5;
  border: none;
}

.rspeed-three-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.rspeed-three-features__item {
  text-align: center;
  position: relative;
}

.rspeed-three-features__number {
  font-family: 'Zen Antique', serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 20px;
  color: #000000;
}

.rspeed-three-features__subtitle {
  font-size: 13px;
  color: #666666;
  margin: 0 0 15px 0;
  font-weight: 400;
  letter-spacing: 0.05em;
}

.rspeed-three-features__title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #000000;
  margin: 0 0 20px 0;
  letter-spacing: 0.02em;
}

.rspeed-three-features__description {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  margin: 0;
  font-weight: 400;
}

.rspeed-three-features__description--nowrap {
  white-space: nowrap;
}

/* モバイル対応 - 3つの特徴セクション */
@media (max-width: 767px) {
  .rspeed-three-features {
    padding: 60px 15px;
  }

  .rspeed-three-features__grid {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 0 10px;
  }

  .rspeed-three-features__item {
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }

  .rspeed-three-features__number {
    font-size: clamp(48px, 12vw, 60px);
    margin-bottom: 15px;
  }

  .rspeed-three-features__subtitle {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .rspeed-three-features__title {
    font-size: clamp(20px, 5vw, 26px);
    margin-bottom: 15px;
  }

  .rspeed-three-features__description {
    font-size: clamp(13px, 3.5vw, 14px);
    line-height: 1.7;
  }

  .rspeed-three-features__description--nowrap {
    white-space: normal;
  }
}

/* タブレット対応 - iPadを含む */
@media (min-width: 768px) and (max-width: 1024px) {
  /* タブレットではoverflowを調整してstickyを有効に */
  html {
    overflow-x: clip;
  }

  body {
    overflow-x: clip;
    max-width: 100%;
  }

  /* セクションのoverflow設定を調整 */
  .rspeed-products,
  .rspeed-features,
  .rspeed-technology {
    overflow: visible !important;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .rspeed-main {
    overflow-x: clip;
    overflow-y: visible;
  }

  /* ヒーローセクション調整 */
  .rspeed-hero__subtitle-top {
    font-size: clamp(12px, 2vw, 14px);
  }

  .rspeed-hero__title {
    font-size: clamp(42px, 6vw, 60px);
  }

  .rspeed-hero__title-series {
    font-size: clamp(28px, 4vw, 40px);
  }

  .rspeed-hero__official {
    font-size: clamp(18px, 2.5vw, 22px);
  }

  .rspeed-hero__brand {
    font-size: clamp(24px, 3.5vw, 32px);
  }

  /* サブタイトル調整 */
  .rspeed-hero-subtitle {
    padding: 50px 25px 40px 25px;
  }

  .rspeed-hero-subtitle p {
    font-size: clamp(28px, 4vw, 36px);
    line-height: 1.4;
  }

  /* 3つの特徴調整 */
  .rspeed-three-features {
    padding: 120px 25px;
  }

  .rspeed-three-features__grid {
    gap: 50px;
    padding: 0 15px;
    grid-template-columns: repeat(3, 1fr);
  }

  .rspeed-three-features__number {
    font-size: 54px;
  }

  .rspeed-three-features__title {
    font-size: 24px;
  }

  .rspeed-three-features__subtitle {
    font-size: 12px;
  }

  .rspeed-three-features__description {
    font-size: 13px;
  }
}


@media (max-width: 767px) {
  /* モバイル専用の横スクロール防止 */
  html, body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .rspeed-main {
    overflow-x: hidden;
    width: 100%;
  }

  .rspeed-main > * {
    border-top: none !important;
    border-bottom: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  /* サブタイトルのモバイル調整 */
  .rspeed-hero-subtitle {
    padding: 30px 15px;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    overflow-x: hidden;
    box-shadow: none !important;
  }

  .rspeed-hero-subtitle p {
    font-size: clamp(18px, 5.5vw, 26px);
    line-height: 1.5;
    font-weight: 700;
    margin: 0 !important;
  }

  .rspeed-three-features {
    padding: 50px 15px;
    margin: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-top: none !important;
    border-bottom: none !important;
  }

  .rspeed-three-features__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 0 !important;
    margin-top: 0 !important;
    border: none !important;
    outline: none !important;
  }

  .rspeed-three-features__item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
  }

  .rspeed-three-features__item:first-child {
    margin-top: 0 !important;
    padding-top: 20px !important;
    border-top: none !important;
  }

  .rspeed-three-features__number {
    font-size: clamp(40px, 10vw, 56px);
    margin-bottom: 15px;
  }

  .rspeed-three-features__subtitle {
    font-size: clamp(11px, 3vw, 13px);
    margin-bottom: 8px;
  }

  .rspeed-three-features__title {
    font-size: clamp(24px, 6vw, 32px);
    margin-bottom: 12px;
  }

  .rspeed-three-features__description {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.6;
    white-space: normal;
  }

  .rspeed-three-features__title {
    font-size: 24px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   製品ラインナップセクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-products {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 140px) 0;
  background-color: #f5f5f5;
  position: relative;
}

.rspeed-products .rspeed-container {
  position: relative;
  z-index: 1;
}

/* 製品アイテム */
.rspeed-product-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: start;
}

/* 左側：番号とタイトル */
.rspeed-product-item__left {
  position: sticky;
  top: 20px;
  margin-left: -60px;
}

.rspeed-product-item__number {
  font-size: clamp(100px, 12vw, 150px);
  font-weight: 900;
  font-family: 'Zen Antique', serif;
  color: #000;
  line-height: 0.85;
  margin-bottom: 10px;
}

.rspeed-product-item__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  font-family: 'Shippori Antique B1', serif;
  color: #000;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}

/* 右側：カードエリア */
.rspeed-product-item__right {
  display: flex;
  flex-direction: column;
}

.rspeed-product-item__card {
  position: relative;
  margin-bottom: 40px;
}

.rspeed-product-item__card:last-child {
  margin-bottom: 0;
}

.rspeed-product-item__label {
  font-size: 14px;
  color: #666;
  margin: 0 0 15px 0;
  font-family: 'Arial', sans-serif;
  text-align: left;
}

/* コンテンツラッパー（画像と説明文） */
.rspeed-product-item__content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.rspeed-product-item__image {
  width: 50%;
  aspect-ratio: 1/1;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.rspeed-product-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rspeed-product-item__image--top {
  object-position: center top;
}

/* テキストコンテンツエリア */
.rspeed-product-item__text-content {
  flex: 1;
  padding: 20px 20px 0 20px;
}

/* タイトル（本文の上） */
.rspeed-product-item__title-outside {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  color: #000;
  margin: 0 0 35px 0;
  line-height: 1.4;
  text-align: left;
}

/* 説明文（タイトルの下） */
.rspeed-product-item__description {
  padding: 0;
}

.rspeed-product-item__description p {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.7;
  color: #000;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
}

/* 製品セクション タブレット対応 */
@media (min-width: 768px) and (max-width: 1024px) {
  .rspeed-products {
    position: relative;
    overflow: visible !important;
  }

  .rspeed-products .rspeed-container {
    padding-left: 60px;
    padding-right: 30px;
  }

  .rspeed-product-item {
    grid-template-columns: 200px 1fr;
    gap: 40px;
    align-items: start;
  }

  .rspeed-product-item__left {
    margin-left: -30px;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 20px;
    height: fit-content;
    z-index: 10;
  }

  .rspeed-product-item__number {
    font-size: clamp(80px, 10vw, 120px);
  }

  .rspeed-product-item__title {
    font-size: clamp(28px, 3.5vw, 42px);
  }

  .rspeed-product-item__right {
    position: relative;
  }
}

/* 製品セクション モバイル対応 */
@media (max-width: 767px) {
  .rspeed-products {
    padding: 50px 0;
  }

  .rspeed-products .rspeed-container {
    padding: 0 15px;
  }

  .rspeed-product-item {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 50px;
  }

  .rspeed-product-item__left {
    position: static;
    margin-left: 0;
    text-align: center;
  }

  .rspeed-product-item__number {
    font-size: 80px;
    margin-bottom: 8px;
  }

  .rspeed-product-item__title {
    font-size: 28px;
    white-space: normal;
  }

  .rspeed-product-item__content-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .rspeed-product-item__image {
    width: 100%;
    border-radius: 8px;
  }

  .rspeed-product-item__text-content {
    padding: 10px 0;
  }

  .rspeed-product-item__title-outside {
    font-size: clamp(18px, 4.5vw, 24px);
    margin-bottom: 12px;
  }

  .rspeed-product-item__description {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.7;
  }

  .rspeed-product-item__card {
    grid-template-columns: 1fr;
  }
}

.rspeed-product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(227, 30, 36, 0.3);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: all 0.3s ease;
}

.rspeed-product-card:hover {
  transform: translateY(-10px);
  border-color: var(--rspeed-red);
  box-shadow:
    0 10px 30px rgba(227, 30, 36, 0.4),
    0 0 40px rgba(227, 30, 36, 0.2);
  background: rgba(227, 30, 36, 0.1);
}

.rspeed-product-card__image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.rspeed-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.rspeed-product-card:hover .rspeed-product-card__image img {
  transform: scale(1.1);
}

.rspeed-product-card__content {
  padding: 32px 24px;
}

.rspeed-product-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rspeed-red), var(--rspeed-red-dark));
  font-size: 36px;
  color: var(--rspeed-white);
  box-shadow: 0 4px 15px rgba(227, 30, 36, 0.4);
}

.rspeed-product-card__title {
  font-family: var(--rspeed-font-bold);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 800;
  color: var(--rspeed-white);
  margin-bottom: 16px;
}

.rspeed-product-card__text {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-family: var(--rspeed-font-sans);
}

.rspeed-product-card__note {
  font-size: 13px;
  color: var(--rspeed-gold);
  font-style: italic;
  font-family: var(--rspeed-font-sans);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   山中琉聖選手紹介セクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-rider {
  padding: clamp(80px, 10vw, 140px) 0;
  background-image: url('../images/rspeed/circuit.jpg');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.rspeed-rider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 245, 245, 0.7);
  z-index: 0;
}

.rspeed-rider__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  position: relative;
  z-index: 1;
}

/* 右側縦書きテキスト */
.rspeed-rider__side-text {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: 'Zen Dots', sans-serif;
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 400;
  letter-spacing: 0.1em;
  z-index: 10;
  pointer-events: none;
}

.rspeed-rider__side-r {
  color: var(--rspeed-red);
  opacity: 0.15;
}

.rspeed-rider__side-speed {
  color: var(--rspeed-black);
  opacity: 0.15;
}

/* モバイルで縦書きテキストを非表示 */
/* ライダーセクション モバイル対応 */
@media (max-width: 767px) {
  .rspeed-rider {
    padding: 60px 0;
    background-image: none;
    background-color: #f5f5f5;
  }

  .rspeed-rider::before {
    display: none;
  }

  .rspeed-rider__wrapper {
    padding: 0;
  }

  .rspeed-rider__side-text {
    display: none;
  }

  .rspeed-rider__content {
    padding: 0;
  }

  .rspeed-rider__number {
    font-size: clamp(50px, 13vw, 72px);
    text-align: center;
    color: var(--rspeed-red);
    margin-bottom: 10px;
    padding: 0;
  }

  .rspeed-rider__title {
    font-size: clamp(22px, 5.5vw, 28px);
    text-align: center;
    margin-bottom: 30px;
    padding: 0;
  }

  .rspeed-rider__images {
    background: transparent;
    padding: 30px 0;
    min-height: auto !important;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative !important;
    border-radius: 0;
    align-items: center;
  }

  .rspeed-rider__catchphrase {
    font-size: clamp(32px, 8vw, 42px) !important;
    text-align: center !important;
    margin-bottom: 30px !important;
    color: var(--rspeed-black) !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }

  .rspeed-rider__catchphrase br {
    display: block !important;
    content: "" !important;
    margin-top: 0.2em !important;
  }

  .rspeed-rider__images .rspeed-rider__catchphrase br {
    display: block !important;
  }

  .rspeed-rider__catchphrase-line {
    white-space: nowrap !important;
    display: inline-block !important;
  }

  /* 画像の共通スタイル */
  .rspeed-rider__image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    height: auto !important;
    max-width: none;
    margin: 0;
    overflow: visible !important;
    border-radius: 0 !important;
    box-shadow:
      0 25px 50px rgba(0, 0, 0, 0.5),
      0 15px 30px rgba(0, 0, 0, 0.4),
      0 8px 15px rgba(0, 0, 0, 0.3) !important;
  }

  .rspeed-rider__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    box-shadow:
      0 25px 50px rgba(0, 0, 0, 0.5),
      0 15px 30px rgba(0, 0, 0, 0.4),
      0 8px 15px rgba(0, 0, 0, 0.3) !important;
  }

  /* 各画像の個別設定 - ジグザグ配置 */
  .rspeed-rider__image--left {
    width: 92% !important;
    margin: 0 auto 0 0 !important;
    aspect-ratio: 3/4;
    align-self: flex-start;
  }

  .rspeed-rider__image--left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rspeed-rider__image--right-top {
    width: 88% !important;
    margin: -40px 0 0 auto !important;
    aspect-ratio: 4/3;
    z-index: 10 !important;
    position: relative !important;
    align-self: flex-end;
  }

  .rspeed-rider__images .rspeed-rider__image--right-top img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 60% !important;
  }

  .rspeed-rider__image--bottom {
    width: 130% !important;
    margin: 0 0 0 -15% !important;
    aspect-ratio: 3/2;
    align-self: flex-start;
  }

  .rspeed-rider__image--bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .rspeed-rider__description {
    font-size: 14px;
    line-height: 1.8;
    padding: 0;
    background: transparent;
    border-radius: 0;
    margin: 0 0 30px 0;
    box-shadow: none;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    width: 110% !important;
    max-width: 110% !important;
    box-sizing: border-box;
    z-index: 1;
    color: #333;
    font-weight: 600;
    letter-spacing: -0.02em;
    align-self: center !important;
  }

  .rspeed-rider__description::before {
    content: '';
    position: absolute;
    left: 15px;
    top: -15px;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--rspeed-red), transparent);
    border-radius: 3px;
  }

  .rspeed-rider__description p {
    margin: 0 0 20px 0;
    padding: 0;
    text-align: left;
    position: relative;
    max-width: 100%;
    width: 100%;
  }

  .rspeed-rider__description p:last-child {
    margin-bottom: 0;
  }

  .rspeed-rider__description p::after {
    display: none;
  }

  .rspeed-rider__description br {
    display: block;
  }

  /* 横スクロールを完全に防止 */
  body {
    position: relative;
    width: 100%;
  }
}

.rspeed-rider__content {
  position: relative;
  z-index: 1;
  padding-bottom: 20px;
}

/* 左側：番号とタイトル */
.rspeed-rider__left {
  margin-left: -60px;
}

.rspeed-rider__number {
  font-size: clamp(100px, 12vw, 150px);
  font-weight: 900;
  font-family: 'Zen Antique', serif;
  color: #000;
  line-height: 0.85;
  margin-bottom: 10px;
}

.rspeed-rider__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  font-family: 'Shippori Antique B1', serif;
  color: #000;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}

/* テキストコンテナ */
.rspeed-rider__text-container {
  position: relative;
  max-width: 480px;
  margin-bottom: 40px;
}

.rspeed-rider__main-text {
  font-size: clamp(13px, 1.8vw, 15px);
  line-height: 2;
  color: #333;
  font-family: var(--rspeed-font-sans);
}

/* グレー背景コンテナ（テキストと画像を含む） */
.rspeed-rider__images {
  position: relative;
  min-height: 1200px;
  margin-top: 100px;  /* テキストがはみ出る分の余白を追加 */
  background-color: #e8e8e8;  /* 薄いグレーの背景色 */
  padding: 20px 50px 80px;
  border-radius: 16px;
  box-sizing: border-box;
  overflow: visible;  /* はみ出しを許可 */
}

/* メインキャッチフレーズ */
.rspeed-rider__catchphrase {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  text-align: center;
  z-index: 4;
  letter-spacing: 0.05em;
  width: 100%;
  line-height: 1.3;
}

/* 説明文 */
.rspeed-rider__description {
  position: absolute;
  top: 130px;
  left: 30px;
  z-index: 4;
  max-width: 450px;
  text-align: left;
  width: auto;
}

.rspeed-rider__description p {
  font-size: clamp(15px, 1.8vw, 16px);
  line-height: 1.8;
  color: #333;
  font-family: var(--rspeed-font-sans);
  font-weight: 600;
  text-shadow:
    2px 2px 4px rgba(255, 255, 255, 0.9),
    -2px -2px 4px rgba(255, 255, 255, 0.9),
    2px -2px 4px rgba(255, 255, 255, 0.9),
    -2px 2px 4px rgba(255, 255, 255, 0.9),
    0 0 10px rgba(255, 255, 255, 0.8);
}

/* 各画像の配置 */
.rspeed-rider__image {
  position: absolute;
  overflow: hidden;
}

.rspeed-rider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* r-speed-1.jpg - 中央右寄りの縦長画像 */
.rspeed-rider__image--left {
  left: 40%;
  top: 5%;
  width: 40%;
  height: 50%;
  z-index: 2;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 15px 30px rgba(0, 0, 0, 0.5),
    0 5px 10px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
}

.rspeed-rider__image--left img {
  object-position: center 0%;
}

/* ryu-2.jpg - 左下に配置（ryu-1とryu-3に重なる） */
.rspeed-rider__image--right-top {
  left: 5%;
  bottom: 20%;
  width: 42%;
  height: 45%;
  z-index: 1;
  box-shadow:
    0 25px 70px rgba(0, 0, 0, 0.6),
    0 12px 25px rgba(0, 0, 0, 0.5),
    0 5px 10px rgba(0, 0, 0, 0.4);
  transform: translateZ(0);
}

/* ryu-3.jpg - 右下の横長画像（ryu-1とryu-2に重なる） */
.rspeed-rider__image--bottom {
  right: 5%;
  bottom: 5%;
  width: 48%;
  height: 40%;
  z-index: 3;
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.7),
    0 20px 40px rgba(0, 0, 0, 0.6),
    0 8px 15px rgba(0, 0, 0, 0.5);
  transform: translateZ(0);
}

/* ライダーセクション タブレット対応 */
@media (min-width: 768px) and (max-width: 1023px) {
  .rspeed-rider__images {
    min-height: 1000px;
    margin-top: 80px;
    padding: 20px 40px 70px;
  }

  .rspeed-rider__catchphrase {
    font-size: 54px;
    top: -70px;
  }

  .rspeed-rider__description {
    top: 150px;
    left: 50px;
    max-width: 500px;
  }

  .rspeed-rider__description p {
    font-size: 16px;
  }

  .rspeed-rider__image--left {
    left: 38%;
    top: 32%;
    width: 37%;
    height: 52%;
  }

  .rspeed-rider__image--right-top {
    left: 8%;
    bottom: 20%;
    width: 40%;
    height: 46%;
  }

  .rspeed-rider__image--bottom {
    right: 7%;
    bottom: 5%;
    width: 46%;
    height: 38%;
  }
}

@media (min-width: 1024px) {
  .rspeed-rider__images {
    min-height: 1250px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 20px 100px 100px;
  }

  .rspeed-rider__catchphrase {
    font-size: 64px;
    top: -70px;
  }

  .rspeed-rider__description {
    top: 170px;
    left: 70px;
    max-width: 550px;
  }

  .rspeed-rider__description p {
    font-size: 17px;
  }

  .rspeed-rider__image--left {
    left: 42%;
    top: 30%;
    width: 33%;
    height: 55%;
  }

  .rspeed-rider__image--right-top {
    left: 12%;
    bottom: 18%;
    width: 36%;
    height: 48%;
  }

  .rspeed-rider__image--bottom {
    right: 10%;
    bottom: 5%;
    width: 43%;
    height: 36%;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   製品特徴セクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-features {
  padding: clamp(80px, 10vw, 140px) 0;
  background-color: #f5f5f5;
  position: relative;
}

.rspeed-features .rspeed-container {
  position: relative;
  z-index: 1;
}

/* 特徴アイテム */
.rspeed-feature-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  margin-bottom: 100px;
  align-items: start;
}

/* 左側：番号とタイトル */
.rspeed-feature-item__left {
  position: sticky;
  top: 20px;
  margin-left: -60px;
}

.rspeed-feature-item__number {
  font-size: clamp(100px, 12vw, 150px);
  font-weight: 900;
  font-family: 'Zen Antique', serif;
  color: #000;
  line-height: 0.85;
  margin-bottom: 10px;
}

.rspeed-feature-item__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  font-family: 'Shippori Antique B1', serif;
  color: #000;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}

/* 右側：カードエリア */
.rspeed-feature-item__right {
  display: flex;
  flex-direction: column;
  gap: 150px;
  padding-bottom: 20px;
}

.rspeed-feature-item__card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: start;
}

.rspeed-feature-item__label {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #666;
  margin: 0 0 20px 0;
  font-family: 'Arial', sans-serif;
}

.rspeed-feature-item__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rspeed-gold-dark), var(--rspeed-gold));
  border-radius: 50%;
  font-size: 48px;
  color: var(--rspeed-black);
}

.rspeed-feature-item__content h4 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  color: #000;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

.rspeed-feature-item__content p {
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 1.8;
  color: #333;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 製品特徴セクション タブレット対応 */
@media (min-width: 768px) and (max-width: 1024px) {
  .rspeed-features {
    padding: 100px 0;
    position: relative;
    overflow: visible !important;
  }

  .rspeed-features .rspeed-container {
    padding-left: 60px;
    padding-right: 30px;
  }

  .rspeed-feature-item {
    grid-template-columns: 180px 1fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: start;
  }

  .rspeed-feature-item__left {
    margin-left: -30px;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 20px;
    align-self: start;
    height: fit-content;
    z-index: 10;
  }

  .rspeed-feature-item__number {
    font-size: clamp(80px, 10vw, 120px);
  }

  .rspeed-feature-item__title {
    font-size: clamp(28px, 3.5vw, 42px);
  }

  .rspeed-feature-item__right {
    gap: 100px;
  }

  .rspeed-feature-item__card {
    grid-template-columns: 80px 1fr;
    gap: 30px;
  }

  .rspeed-feature-item__icon {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }

  .rspeed-feature-item__content h4 {
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 20px;
  }

  .rspeed-feature-item__content p {
    font-size: 14px;
  }
}

/* 製品特徴セクション モバイル対応 */
@media (max-width: 767px) {
  .rspeed-features {
    padding: 50px 0;
  }

  .rspeed-features .rspeed-container {
    padding: 0 15px;
  }

  .rspeed-feature-item {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 50px;
  }

  .rspeed-feature-item__left {
    position: static;
    margin-left: 0;
    text-align: center;
  }

  .rspeed-feature-item__number {
    font-size: 80px;
    margin-bottom: 8px;
  }

  .rspeed-feature-item__title {
    font-size: 28px;
    white-space: normal;
  }

  .rspeed-feature-item__right {
    gap: 40px;
    padding: 0;
  }

  .rspeed-feature-item__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
  }

  .rspeed-feature-item__icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
    margin-bottom: 15px;
  }

  .rspeed-feature-item__content h4 {
    font-size: clamp(18px, 4.5vw, 22px);
    margin-bottom: 12px;
  }

  .rspeed-feature-item__content p {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.7;
  }

  .rspeed-feature-item__label {
    font-size: 11px;
    margin-bottom: 15px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   技術解説セクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-technology {
  padding: clamp(60px, 8vw, 100px) 0;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  position: relative;
}

.rspeed-technology .rspeed-container {
  position: relative;
  z-index: 1;
}

/* Features同様のレイアウト */
.rspeed-technology-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 60px;
  align-items: start;
}

.rspeed-technology-item__left {
  position: sticky;
  top: 20px;
  margin-left: -60px;
}

.rspeed-technology-item__number {
  font-size: clamp(100px, 12vw, 150px);
  font-weight: 900;
  font-family: 'Zen Antique', serif;
  color: #000;
  line-height: 0.85;
  margin-bottom: 10px;
}

.rspeed-technology-item__title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  font-family: 'Shippori Antique B1', serif;
  color: #000;
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
}

.rspeed-technology-item__right {
  display: flex;
  flex-direction: column;
  gap: 150px;
  padding-bottom: 20px;
}

.rspeed-technology-item__card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 40px;
  align-items: start;
}

.rspeed-technology-item__label {
  grid-column: 1 / -1;
  font-size: 14px;
  color: #666;
  margin: 0 0 20px 0;
  font-family: 'Arial', sans-serif;
}

.rspeed-technology-item__icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rspeed-gold-dark), var(--rspeed-gold));
  border-radius: 50%;
  font-size: 48px;
  color: var(--rspeed-black);
}

.rspeed-technology-item__content h4 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  font-family: 'Noto Sans JP', sans-serif;
  color: #000;
  margin: 0 0 30px 0;
  line-height: 1.4;
}

.rspeed-technology-item__content p {
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 1.8;
  color: #333;
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
}

/* 技術解説セクション タブレット対応 */
@media (min-width: 768px) and (max-width: 1024px) {
  .rspeed-technology {
    padding: 80px 0;
    position: relative;
    overflow: visible !important;
  }

  .rspeed-technology .rspeed-container {
    padding-left: 60px;
    padding-right: 30px;
  }

  .rspeed-technology-item {
    grid-template-columns: 180px 1fr;
    gap: 40px;
    align-items: start;
  }

  .rspeed-technology-item__left {
    margin-left: -30px;
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 20px;
    align-self: start;
    height: fit-content;
    z-index: 10;
  }

  .rspeed-technology-item__number {
    font-size: clamp(80px, 10vw, 120px);
  }

  .rspeed-technology-item__title {
    font-size: clamp(28px, 3.5vw, 42px);
  }

  .rspeed-technology-item__right {
    gap: 100px;
  }

  .rspeed-technology-item__card {
    grid-template-columns: 80px 1fr;
    gap: 30px;
  }

  .rspeed-technology-item__icon {
    width: 80px;
    height: 80px;
    font-size: 36px;
  }

  .rspeed-technology-item__content h4 {
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 20px;
  }

  .rspeed-technology-item__content p {
    font-size: 14px;
  }
}

/* 技術解説セクション モバイル対応 */
@media (max-width: 767px) {
  .rspeed-technology {
    padding: 50px 0;
  }

  .rspeed-technology .rspeed-container {
    padding: 0 15px;
  }

  .rspeed-technology-item {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .rspeed-technology-item__left {
    position: static;
    margin-left: 0;
    text-align: center;
  }

  .rspeed-technology-item__number {
    font-size: 80px;
    margin-bottom: 8px;
  }

  .rspeed-technology-item__title {
    font-size: 28px;
    white-space: normal;
    line-height: 1.3;
  }

  .rspeed-technology-item__right {
    gap: 40px;
    padding: 0;
  }

  .rspeed-technology-item__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
  }

  .rspeed-technology-item__icon {
    width: 70px;
    height: 70px;
    font-size: 32px;
    margin-bottom: 15px;
  }

  .rspeed-technology-item__content h4 {
    font-size: clamp(18px, 4.5vw, 22px);
    margin-bottom: 12px;
  }

  .rspeed-technology-item__content p {
    font-size: clamp(13px, 3.5vw, 15px);
    line-height: 1.7;
  }

  .rspeed-technology-item__label {
    font-size: 11px;
    margin-bottom: 15px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTAセクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-cta {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 20px;
  background:
    linear-gradient(45deg, #0d0d0d 25%, transparent 25%),
    linear-gradient(-45deg, #0d0d0d 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #0d0d0d 75%),
    linear-gradient(-45deg, transparent 75%, #0d0d0d 75%),
    linear-gradient(to bottom, var(--rspeed-carbon), #000000);
  background-size: 20px 20px, 20px 20px, 20px 20px, 20px 20px, 100% 100%;
  background-position: 0 0, 0 10px, 10px -10px, -10px 0px, 0 0;
  text-align: center;
  overflow: hidden;
}

.rspeed-cta__bg-text {
  position: absolute;
  top: 72%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(160px, 28vw, 360px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.02em;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  width: 100%;
  text-align: center;
}

.rspeed-cta__bg-text-r {
  color: rgba(227, 30, 36, 0.15);
}

.rspeed-cta__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
}

.rspeed-cta__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.rspeed-cta__title {
  font-family: var(--rspeed-font-bold);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--rspeed-white);
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.rspeed-cta__text {
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.8;
}

.rspeed-cta__buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}

/* CTAセクション タブレット対応 */
@media (min-width: 768px) and (max-width: 1024px) {
  .rspeed-cta {
    padding: 80px 30px;
  }

  .rspeed-cta__bg-text {
    font-size: clamp(120px, 20vw, 280px);
    bottom: -20px;
  }

  .rspeed-cta__title {
    font-size: clamp(28px, 4vw, 40px);
  }

  .rspeed-cta__text {
    font-size: clamp(15px, 2vw, 18px);
    padding: 0 20px;
  }

  .rspeed-cta__buttons {
    flex-direction: row;
    justify-content: center;
    gap: 20px;
  }

  .rspeed-btn {
    padding: 14px 28px;
    font-size: 16px;
  }
}

/* CTAセクション モバイル対応 */
@media (max-width: 767px) {
  .rspeed-cta {
    padding: 60px 15px 80px 15px;
    overflow: visible;
    position: relative;
  }

  .rspeed-cta__bg-text {
    font-size: clamp(60px, 15vw, 120px);
    bottom: 20px;
    letter-spacing: -0.02em;
  }

  .rspeed-cta__title {
    font-size: clamp(22px, 5.5vw, 30px);
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .rspeed-cta__text {
    font-size: clamp(13px, 3.5vw, 16px);
    margin-bottom: 25px;
    line-height: 1.7;
    padding: 0 10px;
  }

  .rspeed-cta__buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
  }

  .rspeed-btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
    font-size: clamp(14px, 3.5vw, 16px);
  }

  .rspeed-btn i {
    font-size: 16px;
  }

  .rspeed-cta__hours {
    font-size: clamp(13px, 3.5vw, 15px);
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    display: inline-block;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
  }

  .rspeed-back-to-top {
    left: auto !important;
    right: 0px !important;
    top: auto !important;
    bottom: 5px !important;
    font-size: 12px;
  }

  .rspeed-back-to-top__arrow {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }
}

@media (min-width: 600px) {
  .rspeed-cta__buttons {
    flex-direction: row;
    justify-content: center;
    gap: 24px;
  }
}

.rspeed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  background: transparent;
  border: 3px solid var(--rspeed-white);
  color: var(--rspeed-white);
}

.rspeed-btn i {
  font-size: 20px;
}

.rspeed-btn--phone {
  background: transparent;
  color: var(--rspeed-white);
  border: 3px solid var(--rspeed-white);
}

.rspeed-btn--phone:hover {
  background: var(--rspeed-white);
  color: var(--rspeed-red);
  border: 3px solid var(--rspeed-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.rspeed-btn--line {
  background: transparent;
  color: var(--rspeed-white);
  border: 3px solid var(--rspeed-white);
}

.rspeed-btn--line:hover {
  background: var(--rspeed-white);
  color: #06C755;
  border: 3px solid var(--rspeed-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.rspeed-btn--large {
  padding: 18px 36px;
  font-size: 18px;
}

@media (min-width: 600px) {
  .rspeed-btn {
    padding: 16px 32px;
    font-size: 18px;
  }

  .rspeed-btn--large {
    padding: 20px 40px;
    font-size: 20px;
  }
}

.rspeed-cta__hours {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOPに戻るリンク
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.rspeed-back-to-top {
  position: absolute;
  left: 20px;
  bottom: 40px;
  z-index: 10;
}

.rspeed-back-to-top__link {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  transition: transform 0.3s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}

.rspeed-back-to-top__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transition: transform 0.3s ease;
}

.rspeed-back-to-top__chevron {
  width: 20px;
  height: 20px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: rotate(-45deg);
  display: block;
}

.rspeed-back-to-top__chevron:last-child {
  margin-top: -8px;
}

.rspeed-back-to-top__text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  display: block;
}

.rspeed-back-to-top__link:hover {
  transform: translateY(-3px);
}

.rspeed-back-to-top__link:hover .rspeed-back-to-top__arrow {
  transform: translateY(-2px);
}

/* スマートフォン対応 */
@media (max-width: 768px) {
  .rspeed-back-to-top {
    left: 15px;
    bottom: 20px;
  }

  .rspeed-back-to-top__chevron {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  .rspeed-back-to-top__chevron:last-child {
    margin-top: -6px;
  }

  .rspeed-back-to-top__text {
    font-size: 12px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   フローティングLINEボタン
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.floating-line-wrapper {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 閉じるボタン */
.floating-line-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  padding: 0;
}

.floating-line-close i {
  color: #ffffff;
  font-size: 14px;
}

.floating-line-close:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: #ffffff;
  transform: rotate(90deg) scale(1.1);
}

.floating-line-text {
  color: #000000;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: color 0.3s ease;
}

/* ヘッダー・ヒーロー・CTAセクションで白文字に */
.floating-line-wrapper.dark-mode .floating-line-text {
  color: #FFFFFF;
}

.floating-line-text__line1,
.floating-line-text__line2 {
  display: block;
  white-space: nowrap;
}

.floating-line-button {
  width: 110px;
  height: 110px;
  background: linear-gradient(135deg, #00C300 0%, #00B900 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(0, 195, 0, 0.5),
    0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  animation: pulseFloat 3s ease-in-out infinite;
}

.floating-line-button:hover {
  transform: scale(1.1);
  box-shadow:
    0 6px 25px rgba(0, 195, 0, 0.6),
    0 3px 12px rgba(0, 0, 0, 0.4);
}

.floating-line-button i {
  font-size: 70px;
  color: #FFFFFF;
}

/* パルスアニメーション */
@keyframes pulseFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* スマートフォン・タブレット対応 */
@media (max-width: 768px) {
  .floating-line-wrapper {
    bottom: 20px;
    right: 20px;
  }

  .floating-line-close {
    width: 24px;
    height: 24px;
    top: -6px;
    right: -6px;
  }

  .floating-line-close i {
    font-size: 12px;
  }

  .floating-line-text {
    font-size: 11px;
  }

  .floating-line-button {
    width: 90px;
    height: 90px;
  }

  .floating-line-button i {
    font-size: 55px;
  }
}

/* ========================================
   価格表示スタイル
   ======================================== */
.rspeed-product-item__price {
  margin-top: 16px;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 400;
  color: #000000;
  font-family: 'Noto Sans JP', sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.rspeed-product-item__price-tax {
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 400;
  color: #666666;
  font-family: 'Noto Sans JP', sans-serif;
  margin-left: 8px;
  letter-spacing: 0;
}

/* タブレット以上 */
@media (min-width: 768px) {
  .rspeed-product-item__price {
    margin-top: 20px;
  }
}

/* ========================================
   背景画像最適化 - WebP/AVIF対応
   ======================================== */

/* WebPサポートブラウザ用 */
@supports (background-image: url('test.webp')) {
  .rspeed-hero-bg::before {
    background-image: url('../images/rspeed/rspeed5.webp');
  }

  .rspeed-performance::before {
    background-image: url('../images/rspeed/circuit.webp');
  }
}

/* AVIFサポートブラウザ用（最優先） */
@supports (background-image: url('test.avif')) {
  .rspeed-hero-bg::before {
    background-image: url('../images/rspeed/rspeed5.avif');
  }

  .rspeed-performance::before {
    background-image: url('../images/rspeed/circuit.avif');
  }
}

/* ========================================
   ライダー説明文 幅調整
   ======================================== */
.rspeed-rider__description {
  width: 110%;
  max-width: 110%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  left: -5%;
}
