@charset "UTF-8";
/* Scss Document */
/* Scss Document */
.galleryPage {
  background: #FFF;
}

.galleryHero {
  height: 400px;
  position: relative;
}
.galleryHero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.galleryHero__title {
  width: 1em;
  margin: 0;
  padding: 0;
  font-size: 2.5rem;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", YuMincho, "Meiryo UI", "メイリオ", "Meiryo", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.galleryHero__title span {
  display: block;
  padding: 2px 0;
  color: #8373f3;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  background-image: linear-gradient(180deg, #e877ae, #8373f3);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.galleryHero__title::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(255, 255, 255, 0.85);
}
.galleryHero__cloud01 {
  position: absolute;
  top: 30px;
  left: -10px;
}
.galleryHero__cloud02 {
  position: absolute;
  bottom: -14px;
  right: 30px;
}

@media (max-width: 700px) {
  .galleryHero {
    height: 340px;
  }
  .galleryHero__title {
    font-size: 2rem;
  }
  .galleryHero__cloud01 {
    width: 150px;
    height: auto;
  }
  .galleryHero__cloud02 {
    width: 210px;
    height: auto;
    right: 15px;
  }
}
.galleryContents {
  padding: 100px 0 200px;
  padding-right: 80px;
  padding-left: 80px;
  padding-right: max(80px, calc((100% - 1090px) / 2));
  padding-left: max(80px, calc((100% - 1090px) / 2));
  background-image: url("../img/common/bg01.jpg");
  background-position: bottom 100px right;
  background-repeat: no-repeat;
}

.galleryGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 45px 20px;
  max-width: 1090px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.galleryGrid__item {
  width: calc((100% - 40px) / 3);
  min-width: 0;
}
.galleryGrid__anchor {
  display: block;
}
.galleryGrid__anchor:link, .galleryGrid__anchor:visited, .galleryGrid__anchor:active {
  color: #666;
}
.galleryGrid__anchor:hover, .galleryGrid__anchor:focus-visible {
  color: #8373f3;
  text-decoration: none;
}
.galleryGrid__figure {
  margin: 0;
}
.galleryGrid__photo {
  display: block;
  position: relative;
}
.galleryGrid__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 20px;
  height: 20px;
  padding: 10px;
  box-sizing: content-box;
  border-radius: 50%;
  background-color: rgba(51, 51, 51, 0.65);
  pointer-events: none;
}
.galleryGrid__anchor:focus-visible {
  outline: 2px solid #8373f3;
  outline-offset: 5px;
}
.galleryGrid__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.galleryGrid__caption {
  margin-top: 10px;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

@media (max-width: 1200px) {
  .galleryContents {
    padding-right: 40px;
    padding-left: 40px;
    padding-right: max(40px, calc((100% - 1090px) / 2));
    padding-left: max(40px, calc((100% - 1090px) / 2));
  }
}
@media (max-width: 900px) {
  .galleryGrid {
    max-width: 720px;
  }

  .galleryGrid__item {
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 700px) {
  .galleryContents {
    padding: 60px 0 100px;
    padding-right: 20px;
    padding-left: 20px;
    padding-right: max(20px, calc((100% - 1090px) / 2));
    padding-left: max(20px, calc((100% - 1090px) / 2));
    background-position: bottom 50px right;
    background-size: 100% auto;
  }

  .galleryGrid {
    gap: 30px 20px;
  }
  .galleryGrid__caption {
    font-size: 1rem;
  }
}
@media (max-width: 500px) {
  .galleryGrid {
    max-width: 350px;
  }

  .galleryGrid__item {
    width: 100%;
  }
}
.galleryPager {
  margin-top: 80px;
}
.galleryPager__list {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.galleryPager__item {
  font-size: 1rem;
  font-family: "Noto Serif JP", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "游明朝", YuMincho, "Meiryo UI", "メイリオ", "Meiryo", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  line-height: 1;
}
.galleryPager__anchor, .galleryPager__current, .galleryPager__disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #8373f3;
}
.galleryPager__anchor:link, .galleryPager__anchor:visited, .galleryPager__anchor:active {
  color: #8373f3;
}
.galleryPager__anchor:hover, .galleryPager__anchor:focus-visible {
  background-color: #DDD;
  border-radius: 50%;
  text-decoration: none;
}
.galleryPager__current {
  color: #FFF;
  background-color: #8373f3;
  border-radius: 50%;
}

@media (max-width: 700px) {
  .galleryPager {
    margin-top: 50px;
  }
}
.galleryLightboxOpen {
  overflow: hidden;
}

.galleryLightbox {
  --durationDismiss: 200ms;
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 30px;
  box-sizing: border-box;
  border: 0;
  background: transparent;
  color: #FFF;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Meiryo UI", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Verdana, sans-serif;
}
.galleryLightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.galleryLightbox::backdrop {
  background-color: rgba(0, 0, 0, 0.88);
  opacity: 0;
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.galleryLightbox__panel {
  position: relative;
  width: 100%;
  max-width: 1100px;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 360ms cubic-bezier(0.22, 1, 0.36, 1), transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.galleryLightbox.isVisible::backdrop {
  opacity: 1;
}
.galleryLightbox.isVisible .galleryLightbox__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.galleryLightbox.isClosing::backdrop, .galleryLightbox.isClosing .galleryLightbox__panel {
  transition-duration: 200ms;
}
.galleryLightbox__stage {
  position: relative;
}
.galleryLightbox__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 200px);
  max-height: calc(100dvh - 200px);
  object-fit: contain;
}
.galleryLightbox__close, .galleryLightbox__prev, .galleryLightbox__next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: rgba(51, 51, 51, 0.85);
  color: #FFF;
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "Meiryo UI", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", "MS PGothic", Verdana, sans-serif;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.galleryLightbox__close:hover, .galleryLightbox__prev:hover, .galleryLightbox__next:hover {
  background-color: #8373f3;
}
.galleryLightbox__close:focus-visible, .galleryLightbox__prev:focus-visible, .galleryLightbox__next:focus-visible {
  outline: 2px solid #FFF;
  outline-offset: 3px;
}
.galleryLightbox__close {
  position: absolute;
  top: -50px;
  right: 0;
}
.galleryLightbox__prev, .galleryLightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.galleryLightbox__prev::before, .galleryLightbox__next::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 14px;
  background-color: currentColor;
  clip-path: polygon(0 0, 25% 0, 100% 50%, 25% 100%, 0 100%, 75% 50%);
  transform: translate(-50%, -50%);
}
.galleryLightbox__prev::before {
  transform: translate(-50%, -50%) rotate(180deg);
}
.galleryLightbox__prev {
  left: 0;
}
.galleryLightbox__next {
  right: 0;
}
.galleryLightbox__caption {
  margin: 18px 0 0;
  color: #FFF;
  font-size: 1.125rem;
  line-height: 1.5;
  text-align: center;
  overflow-wrap: anywhere;
}
.galleryLightbox__counter {
  margin: 8px 0 0;
  color: #FFF;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 700px) {
  .galleryLightbox {
    padding: 20px;
  }
  .galleryLightbox__caption {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .galleryLightbox {
    --durationDismiss: 0ms;
  }
  .galleryLightbox::backdrop, .galleryLightbox__panel {
    transition: none;
  }
  .galleryLightbox__panel {
    transform: none;
  }
}
.galleryGrid__photo {
  overflow: hidden;
  border-radius: 8px;
}

.galleryGrid__anchor .galleryGrid__image {
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.galleryGrid__anchor:focus-visible {
  opacity: 1;
}
.galleryGrid__anchor:focus-visible .galleryGrid__image {
  transform: scale(1.035);
}
@media (hover: hover) and (pointer: fine) {
  .galleryGrid__anchor:hover {
    opacity: 1;
  }
  .galleryGrid__anchor:hover .galleryGrid__image {
    transform: scale(1.035);
  }
}
@media (prefers-reduced-motion: reduce) {
  .galleryGrid__anchor .galleryGrid__image {
    transition: none;
  }
  .galleryGrid__anchor:hover .galleryGrid__image, .galleryGrid__anchor:focus-visible .galleryGrid__image {
    transform: none;
  }
}
