.swiper-slide.modalInSlider img {
  width: 100%;
}
.swiper-button-next, .swiper-button-prev {
  color: #222222!important;
}


/* ---------------------------- */
/* --- Base --- */
/* ---------------------------- */
.swiperModalButton {
  /* display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around; */
}

/* モーダル */
.modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
padding: 30px;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.3s;
pointer-events: none;
opacity: 0;
z-index: 100;
background-color: rgba(0,0,0, 0.3);
}

/* モーダルがactiveの時 */
.modal.is-active {
opacity: 1;
pointer-events: auto;
}

/* モーダル背景のオーバーレイ部分 */
.modal__overlay {
position: absolute;
width: 100%;
height: 100%;
cursor: pointer;
}

/* モーダルのコンテンツ */
.modal__content {
  position: relative;
  width: 100%;
  max-width: 800px;
}
.modal_inner {
  filter: drop-shadow(0px 0px 4px #ddd);
  background: #FFF;
  width: 80%;
  margin: 0 auto;
  border-radius: 2px;
  padding: 20px 25px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .modal_inner {
    width: 100%;
    padding: 10px;
  }
  .swiper-button-next, .swiper-rtl .swiper-button-prev {
    right: -10px!important;
  }
  .swiper-button-prev, .swiper-rtl .swiper-button-next {
    left: -10px!important;
  }
}

/* 閉じるボタン */
.modal__close-btn {
  position: absolute;
  right: 0;
  top: -40px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 20;
}
.modal__close-btn:hover {
  opacity: 0.8;
}

/* 閉じるボタンのX */
.lineClose {
  display: inline-block;
  vertical-align: middle;
  color: #313131;
  line-height: 1;
  width: 2rem;
  height: 0.1rem;
  background: currentColor;
  border-radius: 0.1rem;
  position: relative;
  transform: rotate(45deg);
}
.lineClose::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: inherit;
border-radius: inherit;
transform: rotate(90deg);
}
p.swiperText {
  margin: 0;
  text-align: center;
}
