html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-size: 16px;
}

body {
  width: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #29394E;
  background-color: #ffffff;
  font-family: "Montserrat", sans-serif;
}

main {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}

.is-pc {
  display: block;
}

.is-sp {
  display: none;
}

.footer {
  text-align: right;
  padding: 16px 0px 20px;
}

.gallery-page {
  margin-top: 72px;
}

.galleries {
  display: grid;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  grid-template-columns: repeat(auto-fit, 163px);
  gap: 6px;
  border-bottom: 1px solid #666666;
  padding-bottom: 42px;
  margin: 50px auto 0px;
}

.gallery {
  width: 163px;
  cursor: pointer;
}

.gallery img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 163/113;
}

.head {
  font-size: 21px;
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
}

.inner {
  width: 100%;
  max-width: 879px;
  padding: 0 20px;
  margin: 0 auto;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  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;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s, visibility 0.3s;
  transition: opacity 0.3s, visibility 0.3s;
  padding: 20px 0;
}

.modal__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #333;
  opacity: 0.7;
  z-index: -1;
}

.modal__container {
  width: 80%;
  height: 100%;
  max-height: 608px;
  position: relative;
  z-index: 1;
  background-color: white;
  padding: 5.8125rem 0 13px;
  overflow-y: auto;
}

.modal__container p {
  font-size: 1rem;
  line-height: 1.75rem;
  padding: 40px;
}

.modal__close {
  width: 40px;
  background-color: transparent;
  border: none;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.modal__close img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 1/1;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.slider {
  width: 100%;
}

.slider__area {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  max-width: 844px;
  padding: 0 20px;
  margin: 0 auto;
  position: relative;
}

.swiper {
  width: 100%;
  max-width: 564px;
  margin: 0 20px;
}

.swiper-wrapper {
  width: 100%;
}

.swiper-slide {
  width: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 564/390;
}

.swiper-button-prev,
.swiper-button-next {
  width: 3.7313432836%;
  width: 30px;
  position: inherit;
  top: initial;
  bottom: initial;
  left: initial;
  right: initial;
  margin-top: 0;
}

.swiper-button-prev img,
.swiper-button-next img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  aspect-ratio: 30/21;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper-button-next {
  -webkit-transform: rotate(180deg);
          transform: rotate(180deg);
}

.thumb-wrapper {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2px;
  padding-bottom: 20px;
  margin-top: 3.75rem;
  overflow-x: auto;
}

.thumb-media {
  width: 100%;
  min-width: 46px;
  max-width: 100px;
  cursor: pointer;
}

.thumb-media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  aspect-ratio: 46/32;
}

.thumb-media-active {
  -webkit-filter: brightness(0.3);
          filter: brightness(0.3);
}

@media screen and (min-width: 768px) {
  html {
    font-size: 1.1713030747vw;
  }
}

@media screen and (min-width: 1366px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-width: 767px) {
  .is-pc {
    display: none;
  }

  .is-sp {
    display: block;
  }

  .gallery-page {
    margin-top: 29px;
  }

  .galleries {
    grid-template-columns: repeat(auto-fit, 107px);
    gap: 4px;
    margin: 27px auto 0;
  }

  .gallery {
    width: 107px;
  }

  .gallery img {
    aspect-ratio: 107/74;
  }

  .inner {
    max-width: 767px;
  }

  .modal__container p {
    font-size: 1rem;
    line-height: 1.75rem;
    padding: 20px 30px 20px 20px;
  }

  .modal__close {
    width: 1.75rem;
    top: 20px;
    right: 20px;
  }

  .swiper {
    margin: 0;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .thumb-wrapper {
    margin-top: 7.1875rem;
  }
}

@media screen and (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
/*# sourceMappingURL=style.css.map */