.bx-viewport {
	-moz-box-shadow: none !important;
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
	border: none !important;
	left: 0 !important;
}

/* ===== 動画ギャラリー用（自動取得＆自動スクロール） ===== */
.video-strip {
  display: flex;
  gap: 12px;
  overflow-x: hidden;
  padding: 8px 4px 12px;
  -webkit-overflow-scrolling: touch;
  position: relative;
  white-space: nowrap;
}

.video-thumb {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  background: #111;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .08);
  min-width: 180px;
  flex-shrink: 0;
}

.video-thumb button {
  all: unset;
  cursor: pointer;
  display: block;
}

.video-thumb img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  display: block;
  background: #000;
}

.video-title {
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 8px;
  white-space: normal;
  word-break: break-word;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 9999;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: min(960px, 100%);
  background: #0b0b0b;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .1);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
}

.modal-close {
  all: unset;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
}

.modal-body {
  aspect-ratio: 16/9;
  background: #000;
  position: relative;
}

.modal-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ===== ヒーロー動画用スタイル ===== */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 790px;
  margin: 0 auto 10px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #000; /* 読み込み中の背景 */
}

.hero-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 352px;
  object-fit: cover;
}

/* 動画の上に透明なリンクを重ねる */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
}

/* レスポンシブ対応 */
@media (max-width: 820px) {
  .hero-video-wrapper {
    max-width: 100%;
    border-radius: 0;
  }

  .hero-video {
    max-height: none;
    aspect-ratio: 790 / 352;
  }
}

/* ===== トップ：お客様レビュー・スライダー ===== */

.top-review-section {
  margin: 30px 0 40px;
  padding: 18px 16px 22px;
  border-top: 1px solid #333;
  border-bottom: 1px solid #222;
  background: #050505;
}

.top-review-heading {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: bold;
  color: #f5f0da;
}

.top-review-lead {
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.7;
  color: #c8c8c8;
}

.top-review-slider {
  position: relative;
  max-width: 790px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.top-review-window {
  overflow: hidden;
  flex: 1;
}

.top-review-track {
  display: flex;
  gap: 14px;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* レビューカード */

.top-review-card {
  flex: 0 0 250px;
  max-width: 250px;
  background: #111;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 12px 14px;
  box-sizing: border-box;
  color: #eee;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-review-stars {
  font-size: 13px;
  letter-spacing: 1px;
  color: #f2c94c;
  margin-bottom: 4px;
}

.top-review-meta {
  font-size: 11px;
  color: #aaa;
  margin-bottom: 8px;
}

.top-review-text {
  font-size: 12px;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 10px;

  /* 長文レビューは6行でカット */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.top-review-product {
  font-size: 11px;
  color: #d0b06a;
  margin-top: auto;
}

.top-review-product a {
  color: #d0b06a;
  text-decoration: none;
}

.top-review-product a:hover {
  text-decoration: underline;
}

/* ナビゲーションボタン */

.top-review-nav {
  width: 26px;
  border: none;
  background: transparent;
  color: #d0b06a;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-review-nav:hover {
  color: #f5e3a3;
}

.top-review-nav:disabled {
  opacity: 0.2;
  cursor: default;
}

/* スマートフォン調整 */

@media (max-width: 768px) {
  .top-review-section {
    margin: 20px 0 30px;
    padding: 14px 10px 18px;
  }

  .top-review-heading {
    font-size: 16px;
  }

  .top-review-slider {
    gap: 4px;
  }

  .top-review-card {
    flex: 0 0 80%;
    max-width: 80%;
  }

  .top-review-nav {
    font-size: 18px;
    width: 22px;
  }
}
