@charset "utf-8";

/* swiper add class
============================================ */
.p-mvswiper {
  margin-top: 16px;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.6s ease;
  transition: opacity 0.6s ease;
}
@media screen and (max-width: 768px) {
  .p-mvswiper {
    width: 100vw;
    margin-left: -20px;
  }
}

.p-mvswiper.is-load {
  visibility: visible;
  opacity: 1;
}

.p-mvswiper__inner {
  position: relative;
  max-width: 1200px;
  padding: 0;
  margin: 0 auto;
  overflow: visible;
  list-style: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}

.p-mvswiper__lists {
  position: relative;
  z-index: 1;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
}

/* li content */
.p-mvswiper__item {
  position: relative;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.p-mvswiper__item img {
  width: 100%;
}

/* buttons */
.p-mvswiper__foot {
  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;
  max-width: 1200px;
  padding: 0 12px;
  margin: 15px 0 15px 32px;
}

.p-mvswiper__pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  -webkit-transform: none;
  transform: none;
}

.p-mvswiper .swiper-pagination-bullet {
  position: relative;
  margin: 0 5px;
  width: 10px;
  height: 10px;
  overflow: hidden;
  cursor: pointer;
  background-color: #dedede;
  border-radius: 100px;
  transition: ease;
}
.p-mvswiper .swiper-pagination-bullet-active {
  background-color: #313131;
}

/* prev, next */
.p-mvswiper__button {
  position: relative;
  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;
  /* width: 24px; */
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.p-mvswiper__button--prev {
  margin-right: 12px;
}

.p-mvswiper__button--next {
  margin-left: 12px;
}

.p-mvswiper__buttonIcon {
  position: relative;
  display: inline-block;
  width: auto;
  height: 21px;
  font-size: 0;
  line-height: 0;
  cursor: pointer;
}

.p-mvswiper__buttonIcon img {
  width: auto;
  height: 21px;
}

/* pause */
.p-mvswiper__pauseBtn{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
}

.p-mvswiper__pauseBtn-wrap{
  display: block;
  width: 24px;
  height: 24px;
  border: 1px solid #6e6e6e;
  border-radius: 50%;
}

/* 隣接余白調整 */
.p-mvswiper[data-module="mvswiper"] + .l-block[data-module="giftLeadbnr"] {
  padding-top: 30px;
}



/* (foot w) - ((leftbtn w) + (pagination w) + (rightbtn w)) = (pausebtn w)*2  */
/* (100vw - 20*2) - ((32+8) + (5+10+5)*N + (32+8)) = (32+8)*2 */
/* ↓ */
/* (100vw - 20*2) - ((32+4) + (3+10+3)*N + (32+4)) = (32+4)*2 */

/* N=9 -> 100vw=388px */
/* N=8 -> 100vw=368px */
/* N=7 -> 100vw=348px */
@media screen and (max-width: 768px) {
  /* 10 ~ */
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(10)) .swiper-pagination-bullet {
    margin: 0 3px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(10)) .p-mvswiper__button--prev {
    margin-right: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(10)) .p-mvswiper__button--next {
    margin-left: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(10)) .p-mvswiper__pauseBtn{
    margin-left: 4px;
    margin-right: -36px;
  }
}
@media screen and (max-width: 388px) {
  /* 9 */
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(9):last-child) .swiper-pagination-bullet {
    margin: 0 3px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(9):last-child) .p-mvswiper__button--prev {
    margin-right: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(9):last-child) .p-mvswiper__button--next {
    margin-left: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(9):last-child) .p-mvswiper__pauseBtn{
    margin-left: 4px;
    margin-right: -36px;
  }
}
@media screen and (max-width: 368px) {
  /* 8 */
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(8):last-child) .swiper-pagination-bullet {
    margin: 0 3px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(8):last-child) .p-mvswiper__button--prev {
    margin-right: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(8):last-child) .p-mvswiper__button--next {
    margin-left: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(8):last-child) .p-mvswiper__pauseBtn{
    margin-left: 4px;
    margin-right: -36px;
  }
}
@media screen and (max-width: 348px) {
  /* 7 */
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(7):last-child) .swiper-pagination-bullet {
    margin: 0 3px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(7):last-child) .p-mvswiper__button--prev {
    margin-right: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(7):last-child) .p-mvswiper__button--next {
    margin-left: 4px;
  }
  .p-mvswiper:has(.swiper-pagination-bullets > :nth-child(7):last-child) .p-mvswiper__pauseBtn{
    margin-left: 4px;
    margin-right: -36px;
  }
}