.swiper-container-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper {
  width: 300px; /* ← 親に制限をかけるだけならOK */
  height: 600px;
  padding: 40px 0;
}

.swiper-slide {
  height: 600px; /* 高さだけは指定してOK */
  background: #f3f3f3;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* ナビゲーション矢印 */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.2);
  color: black;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 2rem;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

/* ドット（ページネーション） */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #dddddd;
  border-radius: 50%;
  margin: 0 4px;
  opacity: 1;
  padding-bottom: 0 !important;
}

.swiper-pagination-bullet-active {
  background: #777; /* アクティブなドットは黒などに */
}
/* スライドテキスト */
.slide-content {
  position: relative;
}

.slide-content img {
  width: 100%;
  display: block;
  border-radius: 10px;
}

.slide-text {
  position: absolute;
  width: 100%;
  bottom: 0;
  color: white;
  font-size: 18px;
  padding: 6px 12px;
  border-radius: 0 0 6px 6px;
  z-index: 1;
}

.slide-content::before {
  content: '';
  position: absolute;
  bottom:0;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.4));
  mix-blend-mode: multiply; /* 背景にだけ乗算で重ねる */
  z-index: 1;
  pointer-events: none;
}

