/* splide カスタムCSS */

/* メインイメージ中央整列 */
.main-splide .splide__slide {
    display : flex;
    justify-content: center;
    align-items: center;
}

/* メインイメージサイズ設定 */
.main-splide .splide__slide img {
    object-fit: contain;
    width: 80%;
    aspect-ratio: 1 / 1;
}

/* 矢印コンテイナー */
.splide__arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 10;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

/* 矢印 */
.splide__arrow {
  pointer-events: all;
  background-color: #CCCCCC;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 18px;
  border-radius: 50%;
}

/* 前矢印 */
.splide__arrow--prev {
  cursor: pointer;
  margin-left: 10px;
}

/* 次矢印 */
.splide__arrow--next {
  cursor: pointer;
  margin-right: 10px;
}

/* thumbnail コンテイナー */
.thumbnail-splide .splide__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* thumbnail イメージ */
.thumbnail-splide .splide__slide {
  width: calc(33.33% - 10px);
  box-sizing: border-box;
}

/* thumbnail イメージ */
.thumbnail-splide .splide__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius:0;
}

/* 画面の横が768px 以上の場合 */
@media (min-width: 768px) {
  .thumbnail-splide .splide__slide {
    width: calc(20% - 10px);
  }
}

/* thumbnailのイメージ中focusされていると枠表示 */
.thumbnail-splide .splide__list .is-active {
    border-width: 1px;
    border-color: black;
    border-style: solid;
}