.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  z-index: 9999;
}
.modal-overlay.is-open {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal {
  width: 100%;
  max-width: 747px;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 12px;
  position: relative;
  box-sizing: border-box;
}
.modal-close {
  position: fixed;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.modal-close:hover {
  background: rgba(0,0,0,.06);
  border-radius: 8px;
}
/* xボタンデザイン */
.modal-close > span {
  font-size: 24px;
  color: white;
}

.modal-swiper {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}
.modal-swiper .swiper-slide {
  display:flex;
  align-items:center;
  justify-content:center;
}
.modal-swiper img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  display:block;
}

/* ページング要素カスタマイズ */
.swiper-pagination-in {
  bottom: var(--swiper-pagination-bottom, 24px) !important;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.swiper-pagination .swiper-pagination-bullet {
  background: white;
}

/* 親画面側のページング要素 */
.swiper-pagination-outer {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.swiper-pagination-outer .swiper-pagination-bullet {
  background: black;
}

@media screen and (max-height: 820px) and (min-width: 768px) {
  .swiper-pagination .swiper-pagination-bullet {
    background: blue;
  }
}