@charset "UTF-8";
/* ==========================================================================//
//
// GALLERYページ
//
// ========================================================================== */
/* モーダルが開いている時はスクロールできないようにする */
body.modal-open {
  overflow: hidden;
}

main {
  position: relative;
}
main::before {
  position: absolute;
  content: "";
  background-image: url(../../images/gallery/gallery_bg.svg);
  background-repeat: no-repeat;
  background-size: contain;
  top: 5%;
  right: 0;
  width: min(117px, 31.2%);
  height: 141px;
  z-index: -1;
}
@media all and (min-width: 751px) {
  main::before {
    top: 4.4%;
    width: min(365px, 26.75%);
    height: 440px;
  }
}

.page_head .page_ttl .en .small {
  text-transform: none;
}
.page_head .lead_ttl {
  margin: 60px 0 20px;
  font-size: 20px;
  letter-spacing: 0.05em;
  line-height: 1.9;
}
@media all and (min-width: 751px) {
  .page_head .lead_ttl {
    margin: 100px 0 25px;
    font-size: 28px;
  }
}
.page_head .lead_txt {
  line-height: 2;
}
@media all and (min-width: 751px) {
  .page_head .lead_txt {
    font-size: 15px;
    line-height: 1.86;
  }
}
.page_head .lead_txt p:not(:first-of-type) {
  margin-top: 25px;
}
@media all and (min-width: 751px) {
  .page_head .lead_txt p:not(:first-of-type) {
    margin-top: 28px;
  }
}

/* ギャラリー
---------------------------------------------------------- */
.post_list {
  -webkit-column-count: 2;
     -moz-column-count: 2;
          column-count: 2;
  -webkit-column-gap: 7px;
     -moz-column-gap: 7px;
          column-gap: 7px;
}
@media all and (min-width: 751px) {
  .post_list {
    -webkit-column-count: 3;
       -moz-column-count: 3;
            column-count: 3;
    -webkit-column-gap: 15px;
       -moz-column-gap: 15px;
            column-gap: 15px;
  }
}
.post_list .post_item {
  margin-bottom: 15px;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}
@media all and (max-width: 750px) {
  .post_list .post_item {
    margin-bottom: 7px;
  }
}
.post_list .post_item .thumb {
  overflow: hidden;
}
.post_list .post_item .thumb img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media (hover: hover) {
  .post_list .post_item .thumb:hover img {
    -webkit-transform: scale(1.07);
            transform: scale(1.07);
  }
}

/* VIEW MOREボタン */
.more_btn_back {
  margin: 50px 0 0;
  text-align: center;
}
@media all and (min-width: 751px) {
  .more_btn_back {
    margin: 80px 0 0;
  }
}
.more_btn_back .more_btn {
  margin: 0 auto;
  cursor: pointer;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
.more_btn_back .more_btn span {
  padding-right: 46px;
  position: relative;
  font-family: "Lato", sans-serif;
  letter-spacing: 0.025em;
  font-size: 12px;
  letter-spacing: 0.075em;
}
@media all and (min-width: 751px) {
  .more_btn_back .more_btn span {
    padding-right: 55px;
    font-size: 15px;
  }
}
.more_btn_back .more_btn span::before, .more_btn_back .more_btn span::after {
  position: absolute;
  content: "";
  background-color: #505050;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 7px;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
@media all and (min-width: 751px) {
  .more_btn_back .more_btn span::before, .more_btn_back .more_btn span::after {
    right: 0;
  }
}
.more_btn_back .more_btn span::before {
  width: 23px;
  height: 1px;
}
@media all and (min-width: 751px) {
  .more_btn_back .more_btn span::before {
    width: 32px;
  }
}
.more_btn_back .more_btn span::after {
  width: 1px;
  height: 23px;
  right: 18px;
}
@media all and (min-width: 751px) {
  .more_btn_back .more_btn span::after {
    height: 32px;
    right: 15px;
  }
}
@media (hover: hover) {
  .more_btn_back .more_btn:hover span::before, .more_btn_back .more_btn:hover span::after {
    -webkit-transform: translateY(-50%) rotate(-180deg);
            transform: translateY(-50%) rotate(-180deg);
  }
}

/*モーダル
---------------------------------------------------------- */
.modal {
  padding: 0 20px;
  background: #fff;
  position: fixed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 9999;
  left: 0;
  top: 0;
  background: #fff;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  opacity: 0;
  visibility: hidden;
  /* 閉じるボタン */
}
@media all and (min-width: 751px) {
  .modal {
    padding: 0 25px;
  }
}
.modal.is-active {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.modal .modal_close {
  position: absolute;
  cursor: pointer;
  top: 5px;
  right: 19px;
  z-index: 100;
}
@media all and (min-width: 751px) {
  .modal .modal_close {
    top: 9px;
    right: 28px;
  }
}
.modal .modal_close .arrow::before, .modal .modal_close .arrow::after {
  position: absolute;
  content: "";
  background-color: #505050;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
          transform: translateY(-50%) rotate(45deg);
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
}
.modal .modal_close .arrow::before {
  width: 25px;
  height: 1px;
  left: 7px;
}
@media all and (min-width: 751px) {
  .modal .modal_close .arrow::before {
    width: 32px;
    left: 7px;
  }
}
.modal .modal_close .arrow::after {
  width: 1px;
  height: 25px;
  right: 19px;
}
@media all and (min-width: 751px) {
  .modal .modal_close .arrow::after {
    height: 32px;
    right: 22px;
  }
}
.modal .modal_close .txt {
  margin-top: 50px;
  display: inline-block;
  font-family: "Lato", sans-serif;
  letter-spacing: 0.025em;
  font-size: 10px;
  letter-spacing: 0.15em;
}
@media all and (min-width: 751px) {
  .modal .modal_close .txt {
    margin-top: 63px;
    font-size: 12px;
  }
}
@media (hover: hover) {
  .modal .modal_close:hover .arrow::before, .modal .modal_close:hover .arrow::after {
    -webkit-transform: translateY(-50%) rotate(-45deg);
            transform: translateY(-50%) rotate(-45deg);
  }
}
.modal .modal_content {
  width: 100%;
  position: relative;
}
.modal .modal_content .modal_thumb {
  margin-inline: auto;
  width: 100%;
  opacity: 1;
  -webkit-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
}
.modal .modal_content .modal_thumb.is-fadeout {
  opacity: 0;
}
@media all and (min-width: 751px) {
  .modal .modal_content .modal_thumb {
    width: 54.87%;
  }
}
.modal .modal_content .modal_thumb img {
  aspect-ratio: 1.332/1;
  -o-object-fit: cover;
     object-fit: cover;
}
.modal .modal_content .modal_title {
  margin-top: 125px;
  padding: 0 20px;
  text-align: center;
  font-size: 15px;
}
@media all and (min-width: 751px) {
  .modal .modal_content .modal_title {
    margin-top: 40px;
    padding: 0 25px;
    font-size: 20px;
  }
}
.modal .modal_content .modal_prev,
.modal .modal_content .modal_next {
  position: absolute;
  cursor: pointer;
  background-image: url(../../images/gallery/modal_arrow.svg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 10;
  bottom: -56px;
  width: 36px;
  height: 36px;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}
@media all and (min-width: 751px) {
  .modal .modal_content .modal_prev,
  .modal .modal_content .modal_next {
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
            transform: translateY(-50%);
    width: 50px;
    height: 50px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
  }
}
@media (hover: hover) {
  .modal .modal_content .modal_prev:hover,
  .modal .modal_content .modal_next:hover {
    opacity: 0.4;
  }
}
.modal .modal_content .modal_prev {
  left: 0;
  -webkit-transform: rotateY(-180deg);
          transform: rotateY(-180deg);
}
@media all and (min-width: 751px) {
  .modal .modal_content .modal_prev {
    -webkit-transform: translateY(-50%) rotateY(-180deg);
            transform: translateY(-50%) rotateY(-180deg);
  }
}
.modal .modal_content .modal_next {
  right: 0;
}