﻿/**
 * #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;
}

.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: 768px) {
  .m-featureSlide-slider__item {
    width: 36.7rem;
  }
}

.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: 768px) {
  .m-featureSlide-slider__link {
    transition: opacity 0.3s ease;
  }

    .m-featureSlide-slider__link:hover {
      opacity: var(--hover-opacity);
    }
}

@media screen and (min-width: 768px) {
  .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;
  }

  .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: 768px) {
  .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 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
  top: calc(50% - 4.9rem);
  width: 5rem;
  height: 5rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  opacity: 1;
  transition: opacity 0.3s ease;
  outline: none;
}

  .m-featureSlide-slideController__prev > img, .m-featureSlide-slideController__next > img {
    width: 1.2rem;
  }

.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: 768px) {
  .m-featureSlide-slideController__prev, .m-featureSlide-slideController__next {
    top: calc(50% - 2.5rem);
  }

    .m-featureSlide-slideController__prev:hover, .m-featureSlide-slideController__next:hover {
      opacity: var(--hover-opacity);
    }

  .m-featureSlide-slideController__prev {
    left: 3rem;
  }

  .m-featureSlide-slideController__prev--md2Slide {
    left: 0;
  }

  .m-featureSlide-slideController__next {
    right: 3rem;
  }

  .m-featureSlide-slideController__next--md2Slide {
    right: 0;
  }
}

.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: 1rem 2rem;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 768px) {
  .m-featureSlide-slidePagination {
    margin-top: 2rem;
  }
}

.m-featureSlide-slidePagination__item {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  border: 1px solid var(--color-black);
  background: var(--color-white);
  opacity: 1;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .m-featureSlide-slidePagination__item {
    transition: opacity 0.3s ease;
  }

    .m-featureSlide-slidePagination__item:hover {
      opacity: var(--hover-opacity);
    }
}

.m-featureSlide-slidePagination__item.swiper-pagination-bullet-active {
  cursor: default;
  background: var(--color-black);
}

/**
 * #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;
}


/**************************/
#homeContents .m-featureSlide-slidePagination{
  gap: 0 1rem;
}
#homeContents .m-featureSlide-slidePagination__item {
  display: block;
  width: 3rem;
  height: 0.2rem;
  border-radius: 0;
  border: none;
  background: #D8D8D8;
  opacity: 1;
  cursor: pointer;
}

#homeContents .swiper-pagination-bullet-active{
  background: #17448D;
  border: none;
}


#homeBannerArea .m-featureSlide{}

@media screen and (min-width: 768px) {

  #homeBannerArea .m-featureSlide-slideController__prev,
  #homeBannerArea .m-featureSlide-slideController__next{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 4.3rem;
    height: 3.5rem;
    position: absolute;
    z-index: 1;
    top: calc(50% - 2.7rem);
    background: none;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    outline: none;
  }


  @media (hover: hover) {
    #homeBannerArea .m-featureSlide-slideController__prev:hover,
    #homeBannerArea .m-featureSlide-slideController__next:hover{
      opacity: .6;
    }
  }

  #homeBannerArea .m-featureSlide-slideController__prev > img,
  #homeBannerArea .m-featureSlide-slideController__next > img{
    display: block;
    width: 100%;
    height: auto;
  }

  #homeBannerArea .m-featureSlide-slideController__prev.swiper-button-disabled,
  #homeBannerArea .m-featureSlide-slideController__next.swiper-button-disabled{
    opacity: 0;
    pointer-events: none;
  }


  #homeBannerArea .m-featureSlide-slideController__prev{
    left: -5.1rem;
  }

  #homeBannerArea .m-featureSlide-slideController__next{
    right: -5.1rem;
  }


  #homeBannerArea .m-featureSlide-slider .m-featureSlide-slider__item{
    width: 100%;
    padding: 0 1.2rem;
  }
  
}/*pc*/

@media screen and (max-width: 767px) {
  #homeBannerArea .m-featureSlide{
    padding: 0 0.75rem;
  }

  #homeBannerArea .m-featureSlide-slideController__prev,
  #homeBannerArea .m-featureSlide-slideController__next{
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 2.849rem;
    position: absolute;
    z-index: 1;
    top: calc(50% - 1.7rem);
    background: none;
    border-radius: 0;
    opacity: 1;
    transition: opacity 0.3s ease;
    outline: none;
  }


  #homeBannerArea .m-featureSlide-slideController__prev{
    left: 0;
  }

  #homeBannerArea .m-featureSlide-slideController__next{
    right: 0;
  }
  
  #homeBannerArea .m-featureSlide-slideController__prev > img,
  #homeBannerArea .m-featureSlide-slideController__next > img{
    display: block;
    width: 100%;
    height: auto;
  }

  #homeBannerArea .m-featureSlide-slideController__prev.swiper-button-disabled,
  #homeBannerArea .m-featureSlide-slideController__next.swiper-button-disabled{
    opacity: 0;
    pointer-events: none;
  }


  #homeBannerArea .m-featureSlide-slider .m-featureSlide-slider__item{
    width: 100%;
    padding: 0 0.75rem;
  }
  
}/*sp*/


