/* ===== メインスライダーの親要素 ===== */
.swiper {
  width: 90%;
  max-width: 1200px;
  aspect-ratio: 2 / 1; /* 画像比率を維持：1000x500の比率 */
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-color: #fff; /* 余白対策 */
}

.swiper-wrapper{
	height:auto;
}

/* ===== スライド単体のスタイル（中央寄せ） ===== */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background-color: #fff;
  flex-shrink: 0;
}

.swiper-button-next:after, 
.swiper-button-prev:after{
	font-size:16px;
}

/* ===== メイン画像の表示比率維持・中央寄せ ===== */
.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

/* ===== サムネイルスライダー全体（下段） ===== */
.swiper-thumb {
  height: 220px;
  padding: 10px 0;
  box-sizing: border-box;
}

/* ===== サムネイル初期状態（薄め） ===== */
.swiper-thumb .swiper-slide {
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

/* ===== 選択中サムネイルは明るく ===== */
.swiper-thumb .swiper-slide-thumb-active {
  opacity: 1;
}

/* ===== ナビゲーション矢印：背景付き＆中央寄せ ===== */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  color: #333;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* 左矢印の位置 */
.swiper-button-prev {
  left: 10px;
}

/* 右矢印の位置 */
.swiper-button-next {
  right: 10px;
}

/* ===== レスポンシブ調整（スマホ用） ===== */
@media screen and (max-width: 768px) {
  .swiper-thumb {
    height: 160px;
  }

  .swiper-button-prev,
  .swiper-button-next {
	transform: translateY(0%);
    width: 30px;
    height: 30px;
  }
	
.swiper-button-next:after, 
.swiper-button-prev:after{
	font-size:16px;
}
}
