:root {
  --vh: 100vh;
}

html:has(.iziModal-overlay) {
  overflow: hidden;
}

.gallery_btn {
  cursor: pointer;
}

.iziModal-overlay {
  overscroll-behavior: contain;
}
.iziModal-overlay::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  width: 60px;
  height: auto;
  aspect-ratio: 1/1;
  background: rgba(0, 0, 0, 0) url(./modal_close.svg) center center/contain no-repeat;
  cursor: pointer;
}
@media screen and (max-width: 768px), screen and (max-height: 768px) {
  .iziModal-overlay::before {
    top: 0px;
    right: 0px;
    width: 50px;
    background-size: 30px 30px;
  }
}

.gallery_modal.iziModal {
  background: transparent;
  max-width: 1280px;
  width: calc(100% - 160px);
  margin: auto;
  box-shadow: none;
}
@media screen and (max-width: 768px), screen and (max-height: 768px) {
  .gallery_modal.iziModal {
    width: calc(100% - 80px);
  }
}
@media screen and (max-width: 768px) and (max-aspect-ratio: 1/1), screen and (max-height: 768px) and (max-aspect-ratio: 1/1) {
  .gallery_modal.iziModal {
    width: calc(100% - 20px);
  }
}
.gallery_modal.iziModal .iziModal-wrap {
  margin: 0;
  overflow: hidden;
}
.gallery_modal.iziModal .iziModal-wrap .iziModal-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.gallery_modal.iziModal figure {
  height: auto;
  width: auto;
  height: calc(100% - 60px);
  margin: 0;
}
@media screen and (max-width: 768px), screen and (max-height: 768px) {
  .gallery_modal.iziModal figure {
    height: calc(100% - 50px);
  }
}
.gallery_modal.iziModal figure img {
  box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.25);
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.gallery_modal.iziModal .usp08_slick_li_txt {
  text-align: center;
  color: #fff;
  font-size: 24px;
  line-height: 1.5;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
  height: 60px;
  flex-grow: 0;
  flex-shrink: 0;
}
@media screen and (max-width: 768px), screen and (max-height: 768px) {
  .gallery_modal.iziModal .usp08_slick_li_txt {
    font-size: 12px;
    height: 50px;
  }
}

.iziModal-header {
  z-index: 10000;
}
.iziModal-header .iziModal-header-title,
.iziModal-header .iziModal-header-subtitle {
  overflow: visible;
}
.iziModal-header .iziModal-button-close {
  position: fixed;
  width: 50px;
  height: auto;
  aspect-ratio: 1/1;
  top: 0;
  left: unset;
  right: -20px;
}

.iziModal-navigate .iziModal-navigate-caption {
  visibility: hidden;
}
.iziModal-navigate .iziModal-navigate-prev,
.iziModal-navigate .iziModal-navigate-next {
  width: 80px;
  height: 76px;
  top: calc(50dvh - 37px);
  left: calc(50% - 640px - 80px);
  bottom: unset;
  opacity: 1;
  background: url(./modal_left.svg) 50% center/contain no-repeat !important;
}
.iziModal-navigate .iziModal-navigate-next {
  right: calc(50% - 640px - 80px);
  left: unset;
  background-image: url(./modal_right.svg) !important;
}
@media screen and (max-width: 1440px) {
  .iziModal-navigate .iziModal-navigate-prev {
    left: 0;
  }
  .iziModal-navigate .iziModal-navigate-next {
    right: 0;
  }
}
@media screen and (max-width: 768px) and (max-aspect-ratio: 1/1), screen and (max-height: 768px) and (max-aspect-ratio: 1/1) {
  .iziModal-navigate .iziModal-navigate-prev,
.iziModal-navigate .iziModal-navigate-next {
    top: unset;
    bottom: 15px;
  }
}
@media screen and (max-width: 768px), screen and (max-height: 768px) {
  .iziModal-navigate .iziModal-navigate-prev,
.iziModal-navigate .iziModal-navigate-next {
    width: 40px;
    height: 37px;
  }
}

.iziModal-iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
/*# sourceMappingURL=gallery.css.map */