/* ============================
	サムネイルスライダー
============================ */
.gallery__sliders-wrapper {
  margin: 6.4rem 0;
  user-select: none;
}

@media screen and (max-width: 767px) {
  .gallery__sliders-wrapper {
    margin: 4.8rem 0;
  }
}

.gallery__main-slider {
  padding: 0 80px;
}

@media screen and (min-width: 768px) and (max-height: 859px) {
  .gallery__main-slider {
    width: calc(1028 / 860 * (100vh - 40px));
    max-width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .gallery__main-slider {
    margin: 0 -2rem;
    padding: 0 4rem;
  }
}

.gallery__main-slide {
  position: relative;
  z-index: 0;
}

.gallery__main-slide::before {
  content: "";
  display: block;
  padding-top: calc(614 / 960 * 100%);
}

@media screen and (max-width: 767px) {
  .gallery__main-slide::before {
    padding-top: calc(188.45 / 295 * 100%);
  }
}

.gallery__main-img,
.gallery__sub-img {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) and (max-height: 859px) {
  .gallery__sub-slider-wrapper {
    width: calc(1028 / 860 * (100vh - 40px));
    max-width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 767px) {
  .gallery__sub-slider-wrapper {
    padding: 0;
  }
}

.gallery__sub-slider {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .gallery__sub-slider {
    margin-top: 1rem;
    margin-right: -1rem;
    margin-left: -1rem;
  }
}

.gallery__sub-slide {
  position: relative;
  z-index: 0;
  width: calc((100% - 8rem) / 5);
  margin-right: 2rem;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media screen and (max-width: 767px) {
  .gallery__sub-slide {
    width: calc((100% - 2rem) / 3);
    margin-right: 1rem;
  }
}

.gallery__sub-slide::before {
  content: "";
  position: relative;
  display: block;
  padding-top: 64%;
  background-color: rgba(0 0 0 / 0.5);
  transition: background-color 0.3s ease;
}

.gallery__sub-slide.swiper-slide-thumb-active {
  cursor: default;
}

.gallery__sub-slide.swiper-slide-thumb-active::before {
  background-color: rgba(0 0 0 / 0);
}

@media (any-hover: hover) {
  .gallery__sub-slide:not(.swiper-slide-thumb-active):hover::before {
    background-color: rgba(0 0 0 / 0);
  }
}

.gallery__arrow {
  color: #728469;
  transition: opacity 0.3s;
}

@media screen and (max-width: 767px) {
  .gallery__arrow {
    width: 3.2rem;
    height: 3.2rem;
    margin-top: -1.6rem;
  }
}

@media (any-hover: hover) {
  .gallery__arrow:hover {
    opacity: 0.75;
  }
}

/* ============================
	EVENT
============================ */
.event-meta {
  font-size: 1.6rem;
  line-height: 1.75;
}

.event-meta p {
  margin: 0;
}

.event-form-section {
  margin: 8rem auto 0;
  padding: 3rem 2rem;
  border: 1px solid #C9C9C9;
  border-radius: 2rem;
}

.event-form-title {
  text-align: center;
  font-weight: 500;
}

.event-form__description {
  margin: 1em 0 2em;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .event-form-section {
    margin-top: 6.4rem;
    padding: 2rem;
    border-radius: 1rem;
  }

  .event-form-title {
    font-size: 2.2rem;
  }

  .event-form__description {
    font-size: 1.4rem;
  }
}