body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.splide {
  width: 100%;
  padding: 100px 0;
}

.splide__slide img {
  width: 100%;
  aspect-ratio: 750 / 500;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 1.5s ease;
  transform: scale(0.9);
  /* opacity: 0.5; */
}

.splide__slide.is-active img {
  transform: scale(1.1);
  opacity: 1;
  z-index: 10;
}

.slide-label {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background-color: rgba(255, 255, 255, 0.95);
  color: #004a8d;
  padding: 12px 24px;
  white-space: nowrap;
  font-weight: bold;
  /* font-size: 1.1rem; */
  font-size: clamp(0.938rem, 0.786rem + 0.65vw, 1.563rem);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 20;
  transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
  min-width: 60%;
  text-align: center;
}

.splide__slide.is-active .slide-label {
  transform: translateX(-50%) scale(1);
}

/* --- 矢印カスタマイズ (向きの修正) --- */
.splide__arrow {
  background-color: #003060;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  opacity: 1;
  transition: background-color 0.3s;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splide__arrow svg {
  fill: #ffffff;
  width: 20px;
  height: 20px;
}

/* 左矢印ボタン：アイコンを左に向ける */
.splide__arrow--prev {
  left: 5%;
}
.splide__arrow--prev svg {
  transform: scaleX(-1);
}

/* 右矢印ボタン：アイコンを右に向ける */
.splide__arrow--next {
  right: 5%;
}
.splide__arrow--next svg {
  transform: scaleX(1);
}

.splide__arrow:hover {
  background-color: #001a35;
}

@media screen and (max-width: 768px) {
  .splide__arrow {
    width: 40px;
    height: 40px;
  }
}
