/* ===== 8. 画像カルーセル（1枚ずつ表示・無限ループ対応） ===== */
.image-carousel {
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border-radius: 15px; /* 親要素で角を丸くする */
}

.carousel-inner {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* 1枚ずつピタッと止める */
  scroll-behavior: smooth;
  scrollbar-width: none; /* スクロールバー非表示 */
  -ms-overflow-style: none;
}

.carousel-inner::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 100%; /* 必ず1枚が100%（全幅）になるように */
  scroll-snap-align: start;
}

.carousel-item img {
  width: 100%;
  height: 350px; /* お好みの高さに調整してください */
  object-fit: cover;
  display: block;
}

@media screen and (min-width: 500px) {
  .carousel-item img {
    height: 300; /* PC版では高さを出す */
  }

}

