/* =========================================================
   Splide カルーセル カスタムスタイル
   （矢印のオリジナルデザイン ＆ ページネーション調整）
========================================================= */

/* 矢印（recommendPopular_top.css と同じデザイン） */
#report-carousel {
  position: relative;
}
.splide__arrow {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  height: 2em;
  justify-content: center;
  opacity: .7;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  z-index: 1;
}
.splide__arrow svg {
  fill: #000;
  height: 1.2em;
  width: 1.2em;
}
.splide__arrow:hover:not(:disabled) {
  opacity: .9;
}
.splide__arrow:disabled {
  opacity: .3;
}
.splide__arrow:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
.splide__arrow--prev {
  left: -32px;
}
.splide__arrow--prev svg {
  transform: scaleX(-1);
}
.splide__arrow--next {
  right: -32px;
}
.splide.is-focus-in .splide__arrow:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}
/* タブレット幅は左右余白が24pxのため、はみ出さないよう調整 */
@media screen and (max-width: 1023px) {
  .splide__arrow--prev {
    left: -24px;
  }
  .splide__arrow--next {
    right: -24px;
  }
}

/* ページネーション（ドット）のデザイン */
.splide__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.splide__pagination__page {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1; /* slate-300 */
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.2s ease;
}
.splide__pagination__page.is-active {
  background: #00023c; /* brandカラー */
  transform: scale(1.2);
}