.gallerySect {
  margin: 0 auto;
}

@media print, screen and (min-width: 768px) {
  .gallerySect {
    width: 992px;
  }
}

@media print, screen and (min-width: 768px) and (max-width: 1200px) {
  .gallerySect {
    width: 100%;
  }
}

@media print, screen and (min-width: 768px) {
  .gallerySect__head + .gallerySect__cont {
    margin-top: 60px;
  }
}

@media screen and (max-width: 768px) {
  .gallerySect__head + .gallerySect__cont {
    margin-top: 24px;
  }
}

.gallerySlider {
  position: relative;
  z-index: 1;
}

.gallerySlider__ttl {
  letter-spacing: .1em;
  margin-top: 24px;
  text-align: center;
}

@media print, screen and (min-width: 768px) {
  .gallerySlider__ttl {
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .gallerySlider__ttl {
    font-size: 16px;
  }
}

.gallerySlider__ttl .inner {
  display: inline-block;
  line-height: 2;
}

.gallerySlider__ttl .inner:before {
  content: '';
  margin-top: calc((1 - 2) * .5em);
}

.gallerySlider__ttl .inner:after {
  margin-bottom: calc((1 - 2) * .5em);
}

.gallerySlider__ttl .inner:before, .gallerySlider__ttl .inner:after {
  content: '';
  display: block;
  height: 0;
  width: 0;
}

@media screen and (max-width: 768px) {
  .gallerySlider__ttl .caption {
    display: block;
  }
}

.gallerySlider__controller {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  left: 50%;
  position: absolute;
  z-index: 2;
}

@media print, screen and (min-width: 768px) {
  .gallerySlider__controller {
    max-width: calc(100% + 108px);
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
    width: 1104px;
  }
}

@media screen and (max-width: 768px) {
  .gallerySlider__controller {
    max-width: calc(100% + 40px);
    top: 88px;
    -webkit-transform: translate(-50%, 0);
            transform: translate(-50%, 0);
    width: 366px;
  }
}

.gallerySlider__dir {
  cursor: pointer;
  position: relative;
  z-index: 2;
}

@media print, screen and (min-width: 768px) {
  .gallerySlider__dir {
    width: 26px;
  }
}

@media screen and (max-width: 768px) {
  .gallerySlider__dir {
    width: 15px;
  }
}

.gallerySlider__dir .svgIcon {
  display: block;
  height: auto;
  width: 100%;
}

.galleryThumb {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 6px 7px;
}

.galleryThumb .photo {
  background: -webkit-gradient(linear, left top, right top, from(#a29740), color-stop(54.33%, #e8e0a1), to(#a29740));
  background: linear-gradient(90deg, #a29740 0%, #e8e0a1 54.33%, #a29740 100%);
  padding: 1px;
}

.galleryThumb__ttl {
  color: #ffffff;
  left: 50%;
  letter-spacing: .1em;
  position: absolute;
  text-align: center;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  white-space: nowrap;
  z-index: 3;
  line-height: 1.6;
}

.galleryThumb__ttl:before {
  content: '';
  margin-top: calc((1 - 1.6) * .5em);
}

.galleryThumb__ttl:after {
  margin-bottom: calc((1 - 1.6) * .5em);
}

.galleryThumb__ttl:before, .galleryThumb__ttl:after {
  content: '';
  display: block;
  height: 0;
  width: 0;
}

@media print, screen and (min-width: 768px) {
  .galleryThumb__ttl {
    font-size: 13px;
  }
}

@media screen and (max-width: 768px) {
  .galleryThumb__ttl {
    font-size: 12px;
  }
}

.galleryThumb__item {
  cursor: pointer;
  position: relative;
  z-index: 1;
}

@media print, screen and (min-width: 768px) {
  .galleryThumb__item {
    width: calc((100% - 35px) / 6);
  }
}

@media screen and (max-width: 768px) {
  .galleryThumb__item {
    width: calc((100% - 14px) / 3);
  }
}

.galleryThumb__item:after {
  background-color: rgba(0, 0, 0, 0.6);
  content: '';
  display: block;
  height: 100%;
  left: 0;
  mix-blend-mode: multiply;
  position: absolute;
  top: 0;
  -webkit-transition: opacity .2s ease-in-out;
  transition: opacity .2s ease-in-out;
  width: 100%;
  z-index: 2;
}

.galleryThumb__item.is-active {
  pointer-events: none;
}

.galleryThumb__item.is-active:after {
  opacity: 0;
}

.galleryThumb__item.is-active .galleryThumb__ttl {
  opacity: 0;
}

@media print, screen and (min-width: 768px) {
  .limited-gallery {
    padding: 100px 0 140px;
  }
}

@media screen and (max-width: 768px) {
  .limited-gallery {
    padding: 100px 0;
  }
}
