@charset "utf-8";
/* CSS Document */

/*〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓
スライダー
〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓〓*/
/* 事例のスライダー */
.case_splide {
  /* アロー */
  .splide__arrows {
    position: absolute;
    top: 0;
    right: 0;
    width: 15.8rem;
    height: 6.6rem;
    @media screen and (max-width: 768px) {
      position: static;
      margin: 2.1rem auto 0;
    }
    .splide__arrow {
      width: 6.6rem;
      height: 6.6rem;
      background-color: #fff;
      position: absolute;
      top: -18rem;
      border: 1px solid var(--color-navy);
      transform: none;
      background-repeat: no-repeat;
      background-position: center center;
      background-size: 3.6rem auto;
      @media screen and (max-width: 768px) {
        top: 0;
      }
      span {
        display: none;
      }
      &.splide__arrow--prev {
        left: 0;
        background-image: url(../img/common/splide_arrow_left.svg);
      }
      &.splide__arrow--next {
        right: 0;
        background-image: url(../img/common/splide_arrow_right.svg);
      }
    }
  }

  & + .button_wrap {
    margin-top: 8rem;
    @media screen and (max-width: 480px) {
      margin-top: 4rem;
    }
  }
}

/* ブログのピックアップ */
.pickup_slider_wrap {
  max-width: 109rem;
  margin: auto;
  position: relative;
  @media screen and (max-width: 480px) {
    margin-bottom: 11rem;
  }
  .entry_item {
    a {
      display: flex;
      align-items: center;
      text-decoration: none;
      gap: min(3.67%, 4rem);
      color: #000;
      @media screen and (max-width: 480px) {
        flex-direction: column;
      }
      .thumb {
        max-width: 62rem;
        width: 56.9%;
        aspect-ratio: 16 / 9;
        position: relative;
        overflow: hidden;
        > img {
          object-fit: contain;
        }
        @media screen and (max-width: 480px) {
          width: 100%;
          margin-bottom: 1.8rem;
        }
        &.movie {
          &::after {
            content: "";
            display: block;
            width: 7.4rem;
            aspect-ratio: 1/1;
            background-image: url(../img/common/icon-play.svg);
            background-repeat: no-repeat;
            background-size: contain;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 5;
          }
          @media screen and (max-width: 480px) {
            &::after {
              width: 4.8rem;
            }
          }
        }
      }
      .entry_data_wrap {
        width: 39.43%;
        @media screen and (max-width: 480px) {
          width: 100%;
        }
        .term_list {
          .term_wrap {
            .term {
              @media screen and (max-width: 480px) {
                font-size: 1.6rem;
              }
            }
          }
        }
        .title {
          font-size: 3.2rem;
          line-height: 1.4;
          margin-top: 1.8rem;
          margin-bottom: 2.9rem;
          @media screen and (max-width: 480px) {
            font-size: 2rem;
            margin-top: 1.3rem;
            margin-bottom: 1rem;
          }
        }
        .excerpt {
          font-size: 1.6rem;
          line-height: 1.875;
          color: #a6a6a6;
        }
      }
    }
  }
  /* 左右矢印 */

  .splide__arrow {
    width: 5.2rem;
    height: 5.2rem;
    box-sizing: border-box;
    border: 1px solid var(--color-navy);
    border-radius: 9999px;
    position: absolute;
    background: #fff;
    svg {
      display: none;
    }
    &::after {
      content: "";
      display: block;
      position: absolute;
      width: 2.8rem;
      aspect-ratio: 28 / 3;
      left: 50%;
      top: 50%;
    }
    @media screen and (max-width: 480px) {
      bottom: -7rem;
      top: auto;
      transform: none;
    }
  }

  .splide__arrow--prev {
    left: -8rem;
    @media screen and (max-width: 480px) {
      left: 0;
    }
    &::after {
      border-bottom: 1px solid #000;
      border-left: 1px solid #000;
      transform: translate(-45%, -50%) skew(-45deg);
    }
  }

  .splide__arrow--next {
    right: -8rem;
    @media screen and (max-width: 480px) {
      right: 0;
    }
    &::after {
      border-bottom: 1px solid #000;
      border-right: 1px solid #000;
      transform: translate(-55%, -50%) skew(45deg);
    }
  }

  /* ページネーション全体 */
  .splide__pagination {
    bottom: -3.2rem;
    @media screen and (max-width: 480px) {
      bottom: -5rem;
    }
  }

  /* 各ドット */
  .splide__pagination__page {
    background-color: #d9d9d9;
  }

  /* 現在位置 */
  .splide__pagination__page.is-active {
    background-color: var(--color-navy);
    transform: scale(1);
  }
}
