﻿/**
 * #m-featureSlide
 */
.m-featureSlide {
  display: block;
  width: 100%;
  position: relative;
}

.m-featureSlide-container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
  position: relative;
}
@media screen and (max-width: 991px) {
  .m-featureSlide-container {
    position: relative;
  }
  .m-featureSlide-container::before,
  .m-featureSlide-container::after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    width: 5.5rem;
    height: 100%;
    z-index: 2;
  }
  .m-featureSlide-container::before {
    left: 0;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.4), rgba(84, 84, 84, 0));
  }
  .m-featureSlide-container::after {
    right: 0;
    background-image: linear-gradient(90deg, rgba(84, 84, 84, 0), rgba(0, 0, 0, 0.4));
  }
}

@media screen and (min-width: 992px) {
  .m-featureSlide {
    height: 20.64vw;
    position: relative;
  }
  /* .m-featureSlide::before,
  .m-featureSlide::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    width: 29.1vw;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
  }
  .m-featureSlide::before {
    left: 0;
  }
  .m-featureSlide::after {
    right: 0;
  } */
  .m-featureSlide-container {
    transform: translateX(-7.5px) scale(1.2057142857);
    transform: translateX(0) scale(1.2057142857);
    transform-origin: top center;
  }
  li.m-featureSlide-slider__item.swiper-slide.swiper-slide-duplicate.swiper-slide-duplicate-prev {
    
  }

  li.m-featureSlide-slider__item.swiper-slide.swiper-slide-duplicate.swiper-slide-active {

  }

}

.m-featureSlide-slider {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  transition-property: transform;
  box-sizing: content-box;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.m-featureSlide-slider__item {
  display: block;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #FFFFFF;
  transition-property: transform;
}

@media screen and (min-width: 992px) {
  .m-featureSlide-slider__item {
    width: 36.7rem;
  }
  .m-featureSlide-slider__item:not(.swiper-slide-next)::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
  }
}



.m-featureSlide-slider__picture {
  display: block;
  width: 100%;
}

  .m-featureSlide-slider__picture img {
    display: block;
    width: 100%;
    height: auto;
  }

.m-featureSlide-slider__link {
  display: block;
}

@media screen and (min-width: 992px) {
  .m-featureSlide-slider__link {
    transition: opacity 0.3s ease;
  }

    .m-featureSlide-slider__link:hover {
      opacity: var(--hover-opacity);
    }
}

@media screen and (min-width: 992px) {
  .m-featureSlide--mdNoSlide .m-featureSlide-container {
    display: block;
    max-width: calc(1140px + 4rem);
    padding-left: 2rem;
    padding-right: 2rem;
    margin: 0 auto;
    position: relative;
    overflow: visible;
  }

  .m-featureSlide--mdNoSlide .m-featureSlide-slider {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
    transition-property: none;
    box-sizing: border-box;
    gap: 2.5rem 2rem;
    height: auto;
    position: relative;
  }



  .m-featureSlide--mdNoSlide .m-featureSlide-slider__item {
    display: block;
    width: calc(33.3333% - 1.3333333333rem);
    height: auto;
    overflow: visible;
    background: #FFFFFF;
    transition-property: none;
  }
}

@media screen and (min-width: 992px) {
  .m-featureSlide--md2Slide {
    max-width: calc(1140px + 10rem);
    margin: 0 auto;
    padding: 0 5rem;
  }

    .m-featureSlide--md2Slide .m-featureSlide-container {
      margin: 0 auto;
      width: 100%;
      overflow: hidden;
    }
}

.m-featureSlide-slideController {
  display: block;
}

.m-featureSlide-slideController__prev, .m-featureSlide-slideController__next {
  top: calc(50% - 4.9rem);
  width: 3.5rem;
  height: 9.5rem;
  background: transparent;
  border-radius: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

  .m-featureSlide-slideController__prev > img, .m-featureSlide-slideController__next > img {
    width: 100%;
  }

.m-featureSlide-slideController__prev {
  left: 1rem;
  padding-right: 0.3rem;
}

.m-featureSlide-slideController__next {
  right: 1rem;
  padding-left: 0.3rem;
}

@media screen and (min-width: 992px) {
  .m-featureSlide-slideController__prev, .m-featureSlide-slideController__next {
    top: calc(50% - 2.2rem);
    z-index: 10;
  }

    .m-featureSlide-slideController__prev:hover, .m-featureSlide-slideController__next:hover {
      opacity: var(--hover-opacity);
    }

  .m-featureSlide-slideController__prev {
    left: 0;
    transform: translateX(calc( 29.54vw - 15px - min(3.21vw, 4.5rem) /1));
    transform: translateX(calc( 29.54vw - 7.5px - min(3.21vw, 4.5rem) / 1));
    padding-right: 0;
  }

  .m-featureSlide-slideController__prev--md2Slide {
    left: 0;
  }

  .m-featureSlide-slideController__next {
    right: 0;
    transform: translateX(calc(-28.25vw + min(3.21vw, 4.5rem) / 2));
    transform: translateX(calc( -29.54vw + 7.5px + min(3.21vw, 4.5rem)));
    padding-left: 0;
  }

  .m-featureSlide-slideController__next--md2Slide {
    right: 0;
  }
}

@media screen and (min-width: 992px) {
  
  .m-featureSlide-slideController__prev, .m-featureSlide-slideController__next {
    top: calc(50% - 2.2rem);
    width: min(3.21vw, 4.5rem);
    height: min(3.21vw, 4.5rem);
    background: transparent;
    border-radius: 0;
  }
  li.m-featureSlide-slider__item.swiper-slide.swiper-slide-duplicate.swiper-slide-duplicate-prev {

  }
}

.m-featureSlide-slideController__prev.swiper-button-disabled, .m-featureSlide-slideController__next.swiper-button-disabled {
  opacity: 0;
  pointer-events: none;
}

.m-featureSlide-slidePagination {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 992px) {
  .m-featureSlide-slidePagination {
    margin-top: 0rem;
    margin-bottom: 0;
    position: absolute;
    bottom: -1.5rem !important;
    
  }
}


.m-featureSlide-slidePagination__item {
  display: block;
  width: 3.8rem;
  height: .4rem;
  border-radius: 0;
  border: 1px solid var(--color-multiple-sub-1);
  background: var(--color-multiple-sub-1);
  opacity: .2;
  cursor: pointer;
  transform: skewX(-45deg);
}

@media screen and (min-width: 992px) {
  .m-featureSlide-slidePagination__item {
    transition: opacity 0.3s ease;
  }

    .m-featureSlide-slidePagination__item:hover {
      opacity: var(--hover-opacity);
    }
}
@media screen and (min-width: 992px) {
  
  .m-featureSlide-slidePagination__item {
    width: 6.4rem;
    height: .5rem;
    transform: skewX(-45deg);
  }
}


.m-featureSlide-slidePagination__item.swiper-pagination-bullet-active {
  cursor: default;
  background: var(--color-multiple-sub-1);
  opacity: 1;
}

/**
 * #m-featureSide
 */
.m-featureSide {
  display: flex;
  /* flex-wrap: wrap; 設定をAPIで追加 */
}

.m-featureSide-container {
  /* width: calc(〇% - 22px); 設定をAPIで追加 */
  margin: 1px;
  padding: 10px;
}

/**
 * #m-featureRandom
 */
.m-featureRandom {
}

.m-featureRandom-container {
}

/**
 * #m-featureVertical
 */
.m-featureVertical {
}

.m-featureVertical-container {
  margin-top: 3px;
  margin-bottom: 3px;
}
