/* Swiper本体 */
.swip{
  height:480px;
}
.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  flex-direction: column; /* 縦スライド時。横なら row */
  height: auto;           /* 中のスライドの高さに応じて調整 */
}
.swiper-slide {
  height: auto;       /* 画像の高さに合わせる */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;     /* 縮まないようにする */
}
.swiper-slide img {
  width: 97%;
  height: auto;
  display: block;
}

/* ページネーション（●●●）を右中央に縦配置 */
.swiper-pagination {
  top: 50%;
  right: 10px;
  left: auto;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

/* ページネーションの見た目 */
.swiper-pagination-bullet {
  background: white;
  opacity: 0.6;
  margin: 6px 0;
}

.swiper-pagination-bullet-active {
  background: #ff4081;
  opacity: 1;
}


/* レスポンシブ調整 */
@media (max-width: 1200px) {
.swip{
  height:320px;
}
}
@media (max-width: 420px) {
.swip{
  height:200px;
}
  .slide-overlay h2 {
    font-size: 1.5rem;
  }

  .slide-overlay button {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    width: 32px;
    height: 32px;
  }
.swiper-slide img {
  width: 93%;
}
.swiper-pagination {
  right: 0;
}
}



