@charset "UTF-8";
/* ---------------------------------------------------------

  Category   カテゴリー

---------------------------------------------------------- */
.category {
  position: relative;
  padding: 0 12px 37px;
  background-color: var(--primary);
}

@media (min-width: 1024px) {
  .category {
    padding: 0;
  }
}

.category {
    .container {
      padding: 40px 12px;
    }
  }

.category h2 {
  color: var(--white)
}

@media (min-width: 1024px) {
  .category {
    .container {
      padding: 60px 24px;
    }
  }
}

@media (min-width: 1366px) {
  .category {
    .container {
      padding: 60px 12px;
    }
  }
}

.category__container {
  position: relative;
  margin-inline: auto;
  /* max-width: 1520px; */
  max-width: 1232px;
  /* max-width: 1024px; */
  padding: 8vw 4.2666666667% 10.6666666667vw;
  padding: 0;
  overflow: hidden;
  /* margin-top: -72px; */
  margin-top: -28px;
}

/*  PC（画面幅 768px 以上）
--------------------------------------------- */
/* @media (min-width: 768px) {
  .category__container {
    padding: 54px 41px;
  }
} */

/*  PC（画面幅 1024px 以上）
--------------------------------------------- */
@media (min-width: 1024px) {
  .category__container {
    /* margin-top: -160px;
    padding-bottom: 24px; */
    margin-top: -100px;
    padding-bottom: 34px;
  }
}

/*  PC（画面幅 1396px 以上）
--------------------------------------------- */
@media (max-width: 1396px) {
  .category__container {
    padding-inline: 2.9369627507%;
    /* padding-inline: 3%; */
  }
}



/* ---------------------------------------------------------

  Category Slider  カテゴリー スライダー

---------------------------------------------------------- */
.category__slide {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .category__slide {
        margin-top: 6.4vw;
    }
}

.category-slider .splide__track {
    overflow: visible;
}

.category-slider .splide__slide {
    position: relative;
    opacity: 0;
    /* width: 467px; */
    width: 350px;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.6s;
    transition: opacity 0.3s, -webkit-transform 0.6s;
    -o-transition: transform 0.6s, opacity 0.3s;
    transition: transform 0.6s, opacity 0.3s;
    transition: transform 0.6s, opacity 0.3s, -webkit-transform 0.6s;
    -webkit-transform-origin: bottom;
    -ms-transform-origin: bottom;
    transform-origin: bottom;
}

@media screen and (max-width: 1396px) {
    .category-slider .splide__slide {
        /* width: 33.452722063vw; */
        width: 25.63vw;
    }
}

@media screen and (max-width: 768px) {
    .category-slider .splide__slide {
        /* width: 59.4666666667vw; */
        width: 54vw;
    }
}

@media screen and (max-width: 1416px) {
    .windows .category-slider .splide__slide {
        /* width: 32.9802259887vw; */
        /* width: 32.9802259887vw; */
    }
}

@media screen and (max-width: 768px) {
    .windows .category-slider .splide__slide {
        /* width: 57.9220779221vw; */
        width: 57.9220779221vw;
    }
}

.category-slider .splide__slide.is-active {
    opacity: 1;
    z-index: 10;
}

.category-slider .splide__slide.is-prev,
.category-slider .splide__slide.is-next {
    opacity: 1;
    z-index: 5;
}

@media screen and (max-width: 768px) {

    .category-slider .splide__slide.is-prev,
    .category-slider .splide__slide.is-next {
        opacity: 0.7;
    }
}

@media screen and (min-width: 769px) {

    .category-slider .splide__slide.is-prev-before,
    .category-slider .splide__slide.is-next-after {
        opacity: 0.7;
        /* 完全に隠す→3枚しか見せない */
        /* opacity: 0; */
    }
}

.category-slider .splide__arrows {
    position: absolute;
    /* bottom: 264px; */
    bottom: 230px;
    left: 50%;
    translate: -50% 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    z-index: 1;
    /* width: 1300px; */
    /* width: 1232px; */
    width: 1080px;
    /* width: 86%; */
    margin-inline: auto;
}

@media screen and (max-width: 1396px) {
    .category-slider .splide__arrows {
        /* width: 99%; */
        /* width: 90%; */
        /* width: 86%; */
    }
}

@media screen and (max-width: 1365px) {
    .category-slider .splide__arrows {
        bottom: 18vw;
        /* width: 86%; */
        width: 76vw;
    }
}

@media screen and (max-width: 768px) {
    .category-slider .splide__arrows {
        top: auto;
        /* bottom: 37.0666666667vw; */
        /* bottom: 42vw; */
        bottom: 50%;
        /* width: 94.0666666667vw; */
        width: 91.8vw;
    }
}

.category-slider .splide__arrows .splide__arrow {
    border: 1px solid var(--white);
    border-radius: 50%;
    background-color: var(--white);
    width: 48px;
    height: 48px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

@media (hover: hover) and (pointer: fine) {
    .category-slider .splide__arrows .splide__arrow {
        -webkit-transition: opacity 300ms;
        -o-transition: opacity 300ms;
        transition: opacity 300ms;
    }

    .category-slider .splide__arrows .splide__arrow:hover {
        opacity: 0.6;
    }
}

@media screen and (max-width: 1280px) {
    .category-slider .splide__arrows .splide__arrow {
        /* width: 4.6875vw;
        height: 4.6875vw; */
        width: 48px;
        height: 48px;
    }
}

@media screen and (max-width: 768px) {
    .category-slider .splide__arrows .splide__arrow {
        /* width: 10.6666666667vw;
        height: 10.6666666667vw; */
        width: 32px;
        height: 32px;
    }
}

.category-slider .splide__arrows .splide__arrow img {
    width: 21px;
}

@media screen and (max-width: 1280px) {
    .category-slider .splide__arrows .splide__arrow {
        width: 48px;
        height: 48px;
    }
    .category-slider .splide__arrows .splide__arrow img {
        /* width: 1.953125vw; */
        width: 21px;
    }
}

@media screen and (max-width: 768px) {
    .category-slider .splide__arrows .splide__arrow {
        width: 32px;
        height: 32px;
    }
    .category-slider .splide__arrows .splide__arrow img {
        /* width: 5.0666666667vw; */
        width: 14px;
    }
}

.category-slider .splide__arrows .splide__arrow--prev img {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

/*  category-card
--------------------------------------------- */
.category-card {
    position: relative;
    display: block;
    width: 100%;
    /* max-height: 702px;
    height: 54.84375vw; */
    max-height: 548px;
    height: 42.8vw;
    overflow: hidden;
    -webkit-transform: translateY(30px);
    -ms-transform: translateY(30px);
    transform: translateY(30px);
    opacity: 0;
    -webkit-transition-property: opacity, scale, -webkit-transform;
    transition-property: opacity, scale, -webkit-transform;
    -o-transition-property: transform, opacity, scale;
    transition-property: transform, opacity, scale;
    transition-property: transform, opacity, scale, -webkit-transform;
    -webkit-transition-duration: 0.6s, 0.6s, 0.3s;
    -o-transition-duration: 0.6s, 0.6s, 0.3s;
    transition-duration: 0.6s, 0.6s, 0.3s;
}

@media screen and (max-width: 768px) {
    .category-card {
        height: 89.3333333333vw;
    }
}

.splide__slide.is-before .category-card,
.splide__slide.is-after .category-card {
    scale: 0.48;
    /* scale: 0.384; */
    translate: 0 57px;
    -webkit-transition-delay: 0.7s, 0.7s, 0s;
    -o-transition-delay: 0.7s, 0.7s, 0s;
    transition-delay: 0.7s, 0.7s, 0s;
}

@media screen and (max-width: 1280px) {

    .splide__slide.is-before .category-card,
    .splide__slide.is-after .category-card {
        translate: 0 4.453125vw;
    }
}

@media screen and (max-width: 768px) {

    .splide__slide.is-before .category-card,
    .splide__slide.is-after .category-card {
        translate: 0 0;
    }
}

.splide__slide.is-prev .category-card,
.splide__slide.is-next .category-card {
    scale: 0.74;
    /* scale: 0.592; */
    z-index: 1;
    translate: 0 40px;
    -webkit-transition-delay: 0.5s, 0.5s, 0s;
    -o-transition-delay: 0.5s, 0.5s, 0s;
    transition-delay: 0.5s, 0.5s, 0s;
}

@media screen and (max-width: 1280px) {

    .splide__slide.is-prev .category-card,
    .splide__slide.is-next .category-card {
        translate: 0 3.125vw;
    }
}

@media screen and (max-width: 768px) {

    .splide__slide.is-prev .category-card,
    .splide__slide.is-next .category-card {
        scale: 0.78;
        /* scale: 0.592; */
        translate: 0 3%;
    }
}

.splide__slide.is-active .category-card {
    scale: 1;
    /* scale: 0.8; */
    z-index: 2;
    translate: 0 0;
    -webkit-transition-delay: 0.3s, 0.3s, 0s;
    -o-transition-delay: 0.3s, 0.3s, 0s;
    transition-delay: 0.3s, 0.3s, 0s;
}

@media screen and (min-width: 1396px) {
    .splide__slide.is-active .category-card {
        /* translate: -5% 0; */
        translate: -1% 0;
    }
}

@media screen and (max-width: 1280px) {
    .splide__slide.is-active .category-card {
        translate: 0 0;
    }
}

@media screen and (max-width: 768px) {
    .splide__slide.is-active .category-card {
        /* translate: -5% 0; */
        translate: -1% 0;
    }
}

.category-card::before {
    display: block;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-transform: scaleY(1);
    -ms-transform: scaleY(1);
    transform: scaleY(1);
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.6s;
    -o-transition-duration: 0.6s;
    transition-duration: 0.6s;
    -webkit-transition-timing-function: cubic-bezier(1, 0, 1, 1);
    -o-transition-timing-function: cubic-bezier(1, 0, 1, 1);
    transition-timing-function: cubic-bezier(1, 0, 1, 1);
    z-index: 1;
}

.splide__slide.is-before .category-card::before,
.splide__slide.is-after .category-card::before {
    -webkit-transition-delay: 1.2s !important;
    -o-transition-delay: 1.2s !important;
    transition-delay: 1.2s !important;
}

.splide__slide.is-prev .category-card::before,
.splide__slide.is-next .category-card::before {
    -webkit-transition-delay: 1s !important;
    -o-transition-delay: 1s !important;
    transition-delay: 1s !important;
}

.splide__slide.is-active .category-card::before {
    -webkit-transition-delay: 0.8s !important;
    -o-transition-delay: 0.8s !important;
    transition-delay: 0.8s !important;
}

.category-card {
    opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.category-card::before {
    -webkit-transform: scaleY(0);
    -ms-transform: scaleY(0);
    transform: scaleY(0);
}

.category-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    outline-offset: -2px;
    opacity: 1;
}

.splide__slide.is-active .category-card__link {
    opacity: 1;
}

.category-card__link::before {
    display: block;
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 293px;
    background: linear-gradient(180deg, rgba(3, 39, 72, 0.00) 19.61%, #2478BB 99.92%);
    z-index: 1;
}

@media screen and (max-width: 768px) {
    .category-card__link::before {
        height: 44.5333333333vw;
    }
}

@media (hover: hover) and (pointer: fine) {
    .category-card__img img {
        -webkit-transition: -webkit-transform 0.6s ease;
        transition: -webkit-transform 0.6s ease;
        -o-transition: transform 0.6s ease;
        transition: transform 0.6s ease;
        transition: transform 0.6s ease, -webkit-transform 0.6s ease;
        /* ← ゆっくり */
    }

    .category-card__link:hover .category-card__img img {
        -webkit-transform: scale(1.2);
        -ms-transform: scale(1.2);
        transform: scale(1.2);
        /* ← 少し拡大 */
    }
}

.category-card__img {
    display: block;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.category-card__img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: top;
    object-position: top;
}

.category-card__content {
    display: block;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5.4131054131% 8.7794432548%;
    z-index: 2;
}

@media screen and (max-width: 768px) {
    .category-card__content {
        padding: 4.5333333333vw 5.0666666667vw;
    }
}

.category-card__num {
    display: block;
    font-size: 3.3125rem;
    font-family: "ClashDisplay", sans-serif;
    color: #DDE7EF;
}

@media screen and (max-width: 1024px) {
    .category-card__num {
        font-size: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .category-card__num {
        font-size: 8.2666666667vw;
    }
}

.category-card__ttl {
    display: block;
    font-family: "NotoSerifJpSB";
    /* font-size: 18px; */
    font-size: 24px;
    line-height: 1.4;
    color: var(--white);
}

@media screen and (max-width: 1024px) {
    .category-card__ttl {
        /* font-size: 1.25rem; */
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .category-card__ttl {
        font-size: 4.5333333333vw;
        /* text-shadow: 0 0.2666666667vw 0.2666666667vw rgba(0, 0, 0, 0.25); */
    }
}


/* 中央（アクティブ） */
.category-slider .splide__slide.is-active .category-card {
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
    opacity: 1;
    z-index: 3;
}

/* ページネーション */
.category-slider__pagination {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
    color: var(--white);
}

.category-slider__pagination span {
    display: inline-block;
}


/* .splide__slide img {
    width: auto;
    height: auto;
    display: block;
} */