.p-carousel {
  margin-inline: auto;
  margin-bottom: 50px;
  max-width: 1285px;
  width: 100%;
}

.p-carousel__img-wrapper {
  position: relative;
  line-height: 0;
  transition: transform 0.7s;
  transform: scale(0.68);
}

.p-carousel__img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
  transition: opacity 0.7s;
  opacity: 1;
}

.splide__slide img {
  width: 100%;
  height: auto;
  display: block;
}

.splide__slide.is-active .p-carousel__img-wrapper {
  transform: scale(1);
  z-index: 2;
}

.splide__slide.is-active .p-carousel__img-wrapper::before {
  opacity: 0;
}

.p-carousel .splide__pagination {
  bottom: -30px;
  padding: 0;
}

.p-carousel .splide__pagination__page {
  width: 13px;
  height: 13px;
  background: #a1a1a1;
  border: none;
  border-radius: 50%;
  margin: 0 5px;
  opacity: 1;
}

.p-carousel .splide__pagination__page.is-active {
  background: #03a9f4;
  transform: scale(1);
}

.p-carousel .splide__pagination {
  /* 
   * Splide ではスライドが足りていてスクロールする必要がない場合に
   * display: none; を自動で付与する可能性があるため、設定を無効化して強制的に表示する
   */
  display: flex !important;
}
