@charset "UTF-8";
#phtwedding .splide_gallery.thumbnails {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 50px -10px 0 0;
  width: calc(100% + 10px);
}
#phtwedding .splide_gallery.thumbnails .thumbnail {
  width: calc(20% - 10px);
}
#phtwedding .splide_gallery.thumbnails .thumbnail {
  cursor: pointer;
  transition: opacity 0.3s ease;
}
#phtwedding .splide_gallery.thumbnails .thumbnail img {
  height: auto;
  vertical-align: bottom;
  width: 100%;
}

#phtwedding_modal {
  align-items: center;
  display: flex;
  height: calc(var(--vh, 1vh) * 100);
  justify-content: center;
  left: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  top: 0;
  transition: 0.15s;
  width: 100%;
  z-index: 0;
}
#phtwedding_modal.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 10000;
}
#phtwedding_modal .modal_close {
  background-color: transparent;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 3vw;
  top: 3vw;
  z-index: 1;
}
#phtwedding_modal .modal_close::before {
  color: #fff;
  content: "×";
  font-size: 3rem;
}
#phtwedding_modal .modal_background {
  background-color: #000;
  border: none;
  cursor: pointer;
  height: 100%;
  left: 0;
  opacity: 0.8;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
}
#phtwedding_modal .modal_body .splide {
  height: 100%;
  width: 100%;
}
#phtwedding_modal .modal_body .splide__track {
  height: 100%;
  width: 100%;
}
#phtwedding_modal .modal_body .splide__slide {
  align-items: center;
  display: flex;
  height: 100%;
  width: 100%;
}
#phtwedding_modal .modal_body .splide__slide img {
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  width: 100%;
}
#phtwedding_modal .modal_body .splide__arrow svg {
  fill: #fff;
}
#phtwedding_modal .modal_body .splide__arrow--prev {
  left: -60px;
}
#phtwedding_modal .modal_body .splide__arrow--next {
  right: -60px;
}
#phtwedding_modal .modal_body .splide__pagination {
  bottom: -26px;
}
#phtwedding_modal .modal_body .splide__pagination__page.is-active {
  opacity: 1;
}
@media screen and (max-width: 960px){
  #phtwedding_modal .modal_body {
    height: calc(100% - 24vw);
    width: 100%;
  }
  #phtwedding_modal .modal_body .splide__arrow {
    background: transparent;
    bottom: 0;
    height: 12vw;
    position: fixed;
    top: auto;
    -webkit-transform: none;
    transform: none;
    width: 9vw;
    z-index: 2;
  }
  #phtwedding_modal .modal_body .splide__arrow svg {
    height: 50%;
    width: 50%;
  }
}
@media screen and (max-width: 600px){
  #phtwedding .splide_gallery.thumbnails {
    margin-top: 7vw;
  }
  #phtwedding .splide_gallery.thumbnails .thumbnail {
    width: calc(33.333% - 10px);
  }
  #phtwedding_modal .modal_close {
    align-items: center;
    display: flex;
    height: 12vw;
    justify-content: center;
    right: 0;
    top: 0;
    width: 12vw;
  }
  #phtwedding_modal .modal_body .splide__arrow--prev {
    left: 0;
  }
  #phtwedding_modal .modal_body .splide__arrow--next {
    right: 0;
  }
  #phtwedding_modal .modal_body .splide__pagination {
    background: rgba(0, 0, 0, 0.65);
    bottom: 0;
    min-height: 12vw;
    padding: 0 9vw;
    position: fixed;
    z-index: 1;
  }
}
@media (-ms-high-contrast: none), (-ms-high-contrast: active), (-moz-touch-enabled: 0), (hover: hover){
  #phtwedding .splide_gallery.thumbnails .thumbnail:hover {
    opacity: 0.65;
  }
}
@media (hover: none){
  #phtwedding .splide_gallery.thumbnails .thumbnail {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }
  #phtwedding .splide_gallery.thumbnails .thumbnail:active {
    opacity: 0.65;
  }
}
@media screen and (min-width: 961px), print{
  #phtwedding_modal .modal_body {
    height: 80%;
    max-width: 1200px;
    padding: 40px 50px;
    width: 80%;
  }
  #phtwedding_modal .modal_body .splide__arrow {
    background-color: #000;
    height: 50px;
    width: 50px;
  }
}