/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   入荷車両ページ専用CSS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   カラー変数 & フォント変数
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  /* WordPress Customizer対応のCSS変数 */
  --arrivals-primary: var(--wp-arrivals-primary, #E31E24);
  --arrivals-primary-dark: var(--wp-arrivals-primary-dark, #B71C1C);
  --arrivals-black: var(--wp-arrivals-black, #0d0d0d);
  --arrivals-carbon: var(--wp-arrivals-carbon, #1a1a1a);
  --arrivals-white: var(--wp-arrivals-white, #ffffff);
  --arrivals-gray-light: var(--wp-arrivals-gray-light, #f5f5f5);
  --arrivals-gray: var(--wp-arrivals-gray, #666666);
  --arrivals-line-green: var(--wp-arrivals-line-green, #06c755);

  /* ブランドカラー */
  --arrivals-honda-red: #cc0000;
  --arrivals-yamaha-blue: #0033a1;
  --arrivals-suzuki-blue: #005baa;
  --arrivals-kawasaki-green: #00a651;
  --arrivals-harley-orange: #ff6600;

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

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   共通スタイル
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body {
  overflow-x: clip !important;
}

.arrivals-main {
  font-family: var(--arrivals-font-sans);
  background-color: var(--arrivals-white);
  overflow-x: clip !important;
}

.arrivals-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 600px) {
  .arrivals-container {
    padding: 0 40px;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ヒーローセクション（STMページと同じ設定）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.arrivals-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(80px, 12vw, 100px) 20px clamp(40px, 6vw, 60px);
  overflow: hidden;
}

@media (max-width: 599px) {
  .arrivals-hero {
    min-height: 70vh;
  }
}

/* 背景画像 */
.arrivals-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/new-arrivals/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  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);
  }
}

.arrivals-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;
}

.arrivals-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);
  }
}

.arrivals-hero__subtitle {
  font-family: 'Anton', sans-serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.arrivals-hero__title {
  font-family: var(--arrivals-font-bold);
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 800;
  color: var(--arrivals-white);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.arrivals-hero__text {
  font-family: var(--arrivals-font-sans);
  font-size: clamp(16px, 2.5vw, 20px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   車両一覧セクション
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.arrivals-vehicles {
  padding: clamp(60px, 8vw, 100px) 0;
  background-color: var(--arrivals-gray-light);
}

.arrivals-vehicles__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

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

@media (min-width: 1024px) {
  .arrivals-vehicles__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   車両カード ギャラリー
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vehicle-card__gallery {
  position: relative;
}

.vehicle-card__gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #e0e0e0;
}

.vehicle-card__gallery-slides {
  width: 100%;
  height: 100%;
}

.vehicle-card__gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.vehicle-card__gallery-slide.active {
  display: block;
}

.vehicle-card__gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vehicle-card:hover .vehicle-card__gallery-slide.active img {
  transform: scale(1.05);
}

/* 前後ナビボタン */
.vehicle-card__gallery-prev,
.vehicle-card__gallery-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease;
}

.vehicle-card__gallery-main:hover .vehicle-card__gallery-prev,
.vehicle-card__gallery-main:hover .vehicle-card__gallery-next {
  opacity: 1;
}

.vehicle-card__gallery-prev { left: 8px; }
.vehicle-card__gallery-next { right: 8px; }

.vehicle-card__gallery-prev:hover,
.vehicle-card__gallery-next:hover {
  background: rgba(4, 196, 245, 0.85);
}

/* ドット */
.vehicle-card__gallery-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  padding: 6px 0;
  background: #f0f0f0;
}

.vehicle-card__gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.vehicle-card__gallery-dot.active {
  background: var(--arrivals-primary);
  transform: scale(1.3);
}

/* 写真枚数カウンター */
.vehicle-card__photo-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--arrivals-font-bold);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   車両スペック
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vehicle-card__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  margin-bottom: 14px;
  padding: 12px;
  background: #f8f8f8;
  border-radius: 4px;
  border-left: 3px solid var(--arrivals-primary);
}

.vehicle-card__spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.vehicle-card__spec-label {
  font-size: 10px;
  color: #999;
  font-family: var(--arrivals-font-bold);
  font-weight: 700;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.vehicle-card__spec-label i {
  font-size: 9px;
  color: var(--arrivals-primary);
}

.vehicle-card__spec-value {
  font-size: 12px;
  font-weight: 700;
  color: var(--arrivals-black);
  font-family: var(--arrivals-font-bold);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   車両カード（WordPress Customizer対応）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vehicle-card {
  background: var(--arrivals-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.vehicle-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #e0e0e0;
}

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

.vehicle-card:hover .vehicle-card__image img {
  transform: scale(1.05);
}

.vehicle-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--arrivals-white);
  letter-spacing: 0.05em;
  z-index: 2;
}

.vehicle-card__badge--honda {
  background-color: var(--arrivals-honda-red);
}

.vehicle-card__badge--yamaha {
  background-color: var(--arrivals-yamaha-blue);
}

.vehicle-card__badge--suzuki {
  background-color: var(--arrivals-suzuki-blue);
}

.vehicle-card__badge--kawasaki {
  background-color: var(--arrivals-kawasaki-green);
}

.vehicle-card__badge--harley {
  background-color: var(--arrivals-harley-orange);
}

.vehicle-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-card__title {
  font-family: var(--arrivals-font-bold);
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 700;
  color: var(--arrivals-black);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-card__description {
  font-family: var(--arrivals-font-sans);
  font-size: clamp(13px, 1.5vw, 14px);
  color: var(--arrivals-gray);
  line-height: 1.7;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vehicle-card__meta {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.vehicle-card__date {
  font-size: 12px;
  color: var(--arrivals-gray);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.vehicle-card__date::before {
  content: "\f073";
  font-family: "Font Awesome 6 Free";
  font-weight: 400;
}

.vehicle-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.vehicle-card__price {
  font-family: var(--arrivals-font-bold);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--arrivals-primary);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.vehicle-card__price-tax {
  font-size: clamp(10px, 1.2vw, 12px);
  font-weight: 400;
  color: var(--arrivals-gray);
  margin-left: 2px;
  white-space: nowrap;
}

.vehicle-card__status {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.vehicle-card__status--available {
  background-color: #4caf50;
  color: var(--arrivals-white);
}

.vehicle-card__status--inquiry {
  background-color: #ff9800;
  color: var(--arrivals-white);
}

.vehicle-card__status--sold {
  background-color: #9e9e9e;
  color: var(--arrivals-white);
}

/* モバイル対応 */
@media (max-width: 767px) {
  .arrivals-vehicles {
    padding: 40px 0;
  }

  .arrivals-vehicles__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .vehicle-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .vehicle-card__status {
    align-self: flex-end;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CTAセクション（STMページと同じ構造）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.arrivals-cta {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 20px;
  background:
    linear-gradient(45deg, var(--arrivals-black) 25%, transparent 25%),
    linear-gradient(-45deg, var(--arrivals-black) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--arrivals-black) 75%),
    linear-gradient(-45deg, transparent 75%, var(--arrivals-black) 75%),
    linear-gradient(to bottom, var(--arrivals-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;
}

.arrivals-cta__bg-text {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(100px, 9vw, 180px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: -0.03em;
  white-space: nowrap;
  z-index: 1;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  width: 100%;
  text-align: center;
}

@media (max-width: 1200px) {
  .arrivals-cta__bg-text {
    font-size: clamp(60px, 6.5vw, 100px);
  }
}

@media (max-width: 768px) {
  .arrivals-cta__bg-text {
    font-size: clamp(40px, 5.5vw, 60px);
    bottom: 5px;
  }
}

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

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

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

.arrivals-cta__text {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.8;
}

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

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

/* ボタンスタイル */
.arrivals-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(--arrivals-white);
  color: var(--arrivals-white);
}

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

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

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

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

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

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

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

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

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

/* モバイル対応 */
@media (max-width: 767px) {
  .arrivals-cta {
    padding: 60px 15px;
  }

  .arrivals-cta__title {
    font-size: clamp(22px, 5.5vw, 28px);
    margin-bottom: 12px;
  }

  .arrivals-cta__text {
    font-size: clamp(13px, 3.5vw, 15px);
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .arrivals-cta__buttons {
    flex-direction: column;
    gap: 12px;
  }

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

  .arrivals-cta__hours {
    font-size: clamp(13px, 3.5vw, 15px);
  }
}

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

.arrivals-back-to-top__link {
  color: var(--arrivals-white);
  text-decoration: none;
  font-family: var(--arrivals-font-bold);
  transition: transform 0.3s ease;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
}

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

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

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

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

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

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

@media (max-width: 768px) {
  .arrivals-back-to-top {
    left: 15px;
    bottom: 20px;
  }

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

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

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

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   フローティングLINEボタン（STMページと同じ）
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.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 var(--arrivals-white);
  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: var(--arrivals-white);
  font-size: 14px;
}

.floating-line-close:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: var(--arrivals-white);
  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: var(--arrivals-font-bold);
  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: var(--arrivals-white);
}

.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: var(--arrivals-white);
}

/* パルスアニメーション */
@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;
  }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   画像最適化 - WebP/AVIF対応
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

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

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

/* ページネーション */
.arrivals-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.arrivals-pager {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #111;
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.arrivals-pager:hover:not(:disabled) {
  background: #D4AF37;
  color: #000;
}

.arrivals-pager:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.arrivals-page-info {
  font-size: 0.9rem;
  font-weight: 700;
  color: #444;
  min-width: 4em;
  text-align: center;
}

.arrivals-empty {
  text-align: center;
  color: #666;
  padding: 3rem;
  grid-column: 1 / -1;
}

@keyframes arrivals-fade-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.arrivals-vehicles__header {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  padding: 3rem 1rem;
  background: #29C4EF;
  overflow: hidden;
}

.arrivals-vehicles__subtitle,
.arrivals-vehicles__title,
.arrivals-vehicles__header-line {
  opacity: 0;
  transform: translateY(30px);
}

.arrivals-vehicles__header.is-visible .arrivals-vehicles__subtitle {
  animation: arrivals-fade-up 1.2s ease forwards;
}

.arrivals-vehicles__header.is-visible .arrivals-vehicles__title {
  animation: arrivals-fade-up 1.2s ease 0.3s forwards;
}

.arrivals-vehicles__header.is-visible .arrivals-vehicles__header-line {
  animation: arrivals-fade-up 1.2s ease 0.6s forwards;
}

.arrivals-vehicles__header::before {
  content: 'STOCK';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
}

.arrivals-vehicles__subtitle {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: #ffffff;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
}

.arrivals-vehicles__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 1.4rem;
  line-height: 1.1;
  position: relative;
}

.arrivals-vehicles__header-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.arrivals-vehicles__header-line::before,
.arrivals-vehicles__header-line::after {
  content: '';
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7));
}

.arrivals-vehicles__header-line::after {
  background: linear-gradient(90deg, rgba(255,255,255,0.7), transparent);
}

.arrivals-vehicles__header-line span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #ffffff;
  transform: rotate(45deg);
}
