.page-hero__img {
  width: 100%;
  height: 36.1111111111vw;
  max-height: 520px;
}
@media screen and (max-width: 1279px) {
  .page-hero__img {
    height: 380px;
  }
}
@media screen and (max-width: 768px) {
  .page-hero__img {
    height: 240px;
  }
}
.page-hero__img img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.gallery {
  padding: 80px 0 0;
  overflow: hidden;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery {
    padding: 60px 0 0;
  }
}
@media screen and (max-width: 768px) {
  .gallery {
    padding: 40px 0 0;
  }
}
.gallery__inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}
@media screen and (max-width: 768px) {
  .gallery__inner {
    padding: 0 24px;
  }
}
.gallery__catch {
  margin-top: 28px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.6;
  color: #E67C63;
  text-align: center;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__catch {
    font-size: 26px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__catch {
    margin-top: 20px;
    font-size: 20px;
  }
}
.gallery__lead {
  margin-top: 20px;
  font-size: 18px;
  line-height: 2;
  color: #333333;
  text-align: center;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__lead {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__lead {
    font-size: 14px;
    text-align: left;
  }
}
.gallery__intro {
  margin-top: 80px;
  padding: 80px 0;
  background: #f7f1e0;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__intro {
    margin-top: 60px;
    padding: 60px 0;
  }
}
@media screen and (max-width: 768px) {
  .gallery__intro {
    margin-top: 48px;
    padding: 44px 0;
  }
}
.gallery__intro-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}
@media screen and (max-width: 768px) {
  .gallery__intro-inner {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    padding: 0 24px;
  }
}
.gallery__intro-body {
  width: 400px;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .gallery__intro-body {
    display: contents;
  }
}
.gallery__intro-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__intro-title {
    font-size: 24px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__intro-title {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
    font-size: 22px;
  }
}
.gallery__intro-title-em {
  color: #E67C63;
}
.gallery__intro-text {
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.9;
  color: #333333;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__intro-text {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__intro-text {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    margin-top: 20px;
    font-size: 14px;
  }
}
.gallery__intro-img {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  max-width: 796px;
  margin-left: 48px;
  margin-right: -80px;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__intro-img {
    margin-left: 32px;
    margin-right: -40px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__intro-img {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-top: 20px;
  }
}
.gallery__intro-img img {
  display: block;
  width: 100%;
  height: 440px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  -webkit-box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.18);
          box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.18);
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__intro-img img {
    height: 360px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__intro-img img {
    height: 220px;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.18);
            box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.18);
  }
}
.gallery__grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 100px;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__grid {
    margin-top: 72px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__grid {
    margin-top: 48px;
  }
}
.gallery__item {
  width: calc((100% - 80px) / 3);
  margin-bottom: 40px;
}
.gallery__item:not(:nth-child(3n)) {
  margin-right: 40px;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__item {
    width: calc((100% - 40px) / 2);
    margin-bottom: 32px;
  }
  .gallery__item:not(:nth-child(3n)) {
    margin-right: 0;
  }
  .gallery__item:not(:nth-child(2n)) {
    margin-right: 40px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__item {
    width: 100%;
    margin-bottom: 24px;
  }
  .gallery__item:not(:nth-child(3n)) {
    margin-right: 0;
  }
  .gallery__item:not(:nth-child(2n)) {
    margin-right: 0;
  }
}
.gallery__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
.gallery__thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}
.gallery__thumb:hover img {
  opacity: 0.85;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__thumb img {
    aspect-ratio: auto;
    height: 260px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__thumb img {
    aspect-ratio: auto;
    height: 250px;
  }
}
.gallery__item-title {
  margin-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #C7C7C7;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  color: #333333;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__item-title {
    font-size: 21px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__item-title {
    margin-top: 12px;
    padding-bottom: 12px;
    font-size: 18px;
  }
}
.gallery__item-text {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.8;
  color: #333333;
}
@media screen and (max-width: 1280px) and (min-width: 768px) {
  .gallery__item-text {
    font-size: 16px;
  }
}
@media screen and (max-width: 768px) {
  .gallery__item-text {
    margin-top: 12px;
    font-size: 15px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1600;
  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;
  padding: 40px 80px;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
@media screen and (max-width: 768px) {
  .lightbox {
    padding: 20px;
  }
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  cursor: pointer;
}
.lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  max-height: 80vh;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  -webkit-box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
          box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  background: #fff;
  border: none;
  border-radius: 50%;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .lightbox__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
}
.lightbox__close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #E67C63;
}
@media screen and (max-width: 768px) {
  .lightbox__close span {
    width: 18px;
  }
}
.lightbox__close span:nth-child(1) {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}
.lightbox__close span:nth-child(2) {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}
.lightbox__nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 2;
  width: 42px;
  height: 42px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  -webkit-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}
.lightbox__nav:hover {
  opacity: 0.85;
}
@media screen and (max-width: 1279px) {
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }
}
@media screen and (max-width: 768px) {
  .lightbox__nav {
    width: 34px;
    height: 34px;
  }
}
.lightbox__nav::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 14px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9.462 7.974'%3E%3Cpath fill='%23C7912A' d='M9.462,4.112a.586.586,0,0,0-.126-.636l-3.3-3.3A.584.584,0,0,0,5.209,1L7.516,3.306H.584a.583.583,0,1,0,0,1.167H7.516L5.209,6.782a.584.584,0,1,0,.825.825l3.3-3.3a.59.59,0,0,0,.126-.19'/%3E%3C/svg%3E") no-repeat center/contain;
}
@media screen and (max-width: 768px) {
  .lightbox__nav::before {
    width: 12px;
    height: 10px;
  }
}
.lightbox__nav--prev {
  left: -60px;
}
.lightbox__nav--prev::before {
  -webkit-transform: translate(-50%, -50%) rotate(180deg);
          transform: translate(-50%, -50%) rotate(180deg);
}
@media screen and (max-width: 1279px) {
  .lightbox__nav--prev {
    left: -52px;
  }
}
@media screen and (max-width: 768px) {
  .lightbox__nav--prev {
    left: 6px;
  }
}
.lightbox__nav--next {
  right: -60px;
}
@media screen and (max-width: 1279px) {
  .lightbox__nav--next {
    right: -52px;
  }
}
@media screen and (max-width: 768px) {
  .lightbox__nav--next {
    right: 6px;
  }
}