#gallery p {
  margin-top: 40px;
}

#gallery .g-logo > img {
  width: 50%;
}

.sub-gallery {
  padding-top: 80px;
}

@media screen and (min-width: 768px) {
  .sub-gallery {
    padding-top: 160px;
  }
}

.sub-gallery h2 {
  border: none;
}

.sub-gallery > p {
  font-size: 16px;
}

@media screen and (min-width: 764px) {
  .sub-gallery > p {
    margin-top: 64px;
    font-size: 20px;
    line-height: 2.5;
  }
}

.sub-gallery > p:last-of-type {
  font-size: 13px;
  margin-top: 15px;
}

@media screen and (min-width: 764px) {
  .sub-gallery > p:last-of-type {
    font-size: 15px;
  }
}

.sub-gallery-container.mt {
  margin-top: 70px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-container.mt {
    margin-top: 140px;
  }
}

.sub-gallery-contents {
  padding-top: 0;
}

@media screen and (min-width: 768px) {
  .sub-gallery-contents {
    padding-bottom: 160px;
  }
}

.sub-gallery-contents .section-title {
  border-bottom: none;
}

@media screen and (min-width: 764px) {
  .sub-gallery-contents {
    padding-bottom: 40px;
  }
}

.sub-gallery-contents .left-v {
  right: 20px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-contents .left-v {
    right: 40px;
  }
}

.sub-gallery-contents .right-v {
  left: 20px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-contents .right-v {
    left: 40px;
  }
}

.sub-gallery-wrap {
  margin-top: 70px;
}

.sub-gallery-wrap:first-of-type {
  margin-top: 40px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-wrap {
    margin-top: 140px;
  }
}

.sub-content-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

@media screen and (min-width: 764px) {
  .sub-content-title {
    padding: 0 50px;
  }
}

.sub-content-title span {
  text-align: center;
  letter-spacing: .1em;
  font-size: clamp(2rem, 3.2vw, 4.6rem);
}

@media screen and (min-width: 764px) {
  .sub-content-title span {
    letter-spacing: .4em;
  }
}

.sub-content-title span:nth-of-type(2) {
  margin-top: 8px;
  font-size: 14px;
}

@media screen and (min-width: 764px) {
  .sub-content-title span:nth-of-type(2) {
    font-size: 16px;
  }
}

@media screen and (min-width: 764px) {
  .sub-gallery-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}

.sub-gallery-list.kimono {
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.sub-gallery-list.western {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

/*
.sub-gallery-list.western .gallery-kimono:last-of-type {
  margin-top: 60px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-list.western .gallery-kimono:last-of-type {
    margin-top: 100px;
  }
}
*/

.sub-gallery-list.kimono, .sub-gallery-list.western {
  margin-top: 48px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-list.kimono, .sub-gallery-list.western {
    margin-top: 80px;
  }
}

.sub-gallery-list.kimono .sub-gallery-swiper, .sub-gallery-list.western .sub-gallery-swiper {
  margin-top: 20px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-list.kimono .sub-gallery-swiper, .sub-gallery-list.western .sub-gallery-swiper {
    margin-top: 40px;
  }
}

.sub-gallery-swiper {
  position: relative;
  max-width: 1100px;
  width: 80%;
  margin: 40px auto 0;
}

@media screen and (min-width: 764px) {
  .sub-gallery-swiper {
    width: 100%;
    margin: 80px auto 0;
  }
}

.gallery-kimono + .gallery-kimono {
  margin-top: 60px;
}

@media screen and (min-width: 764px) {
  .gallery-kimono {
    width: 40%;
    margin: 0;
  }
  .gallery-kimono + .gallery-kimono {
    margin-top: 0;
  }
}

.gallery-kimono h4 {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-bottom: 40px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  font-family: 'Noto Serif JP', sans-serif;
}

.gallery-kimono h4 span:nth-of-type(1) {
  font-size: 20px;
  line-height: 1;
  letter-spacing: .2em;
}

@media screen and (min-width: 764px) {
  .gallery-kimono h4 span:nth-of-type(1) {
    font-size: 33px;
  }
}

.gallery-kimono h4 span:nth-of-type(2) {
  margin-left: 24px;
  font-size: 14px;
}

@media screen and (min-width: 764px) {
  .gallery-kimono h4 span:nth-of-type(2) {
    margin-left: 48px;
    font-size: 20px;
  }
}

.gallery-kimono h4::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 60%;
  height: 20px;
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
}

@media screen and (min-width: 764px) {
  .gallery-kimono h4::after {
    width: 70%;
  }
}

.sub-gallery-text {
  margin-top: 40px;
}

@media screen and (min-width: 764px) {
  .sub-gallery-text {
    margin-top: 80px;
  }
}

.sub-gallery-card p {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .2em;
}

.sub-gallery-card img {
  height: 171px;
  -o-object-fit: cover;
     object-fit: cover;
}

@media screen and (min-width: 764px) {
  .sub-gallery-card img {
    height: 313px;
  }
}

.deco-line-wrap {
  width: 80%;
  margin: 50px auto;
}

.deco-line-wrap img {
  width: 100%;
}

.swiper-controller .swiper-button-prev,
.swiper-controller .swiper-button-next {
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  color: #231815;
}

.swiper-controller .swiper-button-prev::after,
.swiper-controller .swiper-button-next::after {
  font-size: 24px;
}

@media screen and (min-width: 764px) {
  .swiper-controller .swiper-button-prev::after,
  .swiper-controller .swiper-button-next::after {
    font-size: 30px;
  }
}

.swiper-controller .swiper-button-prev {
  left: -40px;
}

.swiper-controller .swiper-button-next {
  right: -40px;
}

.modal {
  position: fixed;
  display: none;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.modal > .image-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100vh;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.modal > .image-wrap > img {
  width: 90%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .modal > .image-wrap > img {
    width: 60%;
  }
}

.mfp-container {
  position: fixed !important;
}
