@media screen and (max-width: 768px) {
  .galleryBlock {
    margin-left: -25px;
    width: 100vw;
  }
}

.galleryBlock__slider {
  position: relative;
}

.galleryBlock__slider .swiper-slide {
  position: relative;
}

@media print, screen and (min-width: 768px) {
  .galleryBlock__slider .swiper-slide .photo__capIn {
    bottom: 23px;
    font-size: 12px;
    right: 24px;
  }
}

@media screen and (max-width: 768px) {
  .galleryBlock__slider .swiper-slide .photo__capIn {
    bottom: calc(20 / 750 * 100vw);
    font-size: calc(24 / 750 * 100vw);
    right: calc(24 / 750 * 100vw);
  }
}

@media print, screen and (min-width: 768px) {
  .galleryBlock__slider + .thumbnailFeature {
    margin-top: 47px;
  }
}

@media screen and (max-width: 768px) {
  .galleryBlock__slider + .thumbnailFeature {
    margin-top: calc(40 / 750 * 100vw);
  }
}

.galleryBlock__ttl {
  color: #ffffff;
  font-family: "Cinzel", serif;
  position: absolute;
  text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 10px, rgba(0, 0, 0, 0.7) 1px 1px 10px, rgba(0, 0, 0, 0.7) 1px 1px 10px;
  z-index: 3;
}

@media print, screen and (min-width: 768px) {
  .galleryBlock__ttl {
    bottom: 47px;
    font-size: 30px;
    right: 24px;
  }
}

@media screen and (max-width: 768px) {
  .galleryBlock__ttl {
    bottom: calc(59 / 750 * 100vw);
    font-size: calc(36 / 750 * 100vw);
    right: calc(24 / 750 * 100vw);
  }
}

.galleryBlock__controller {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 100%;
  z-index: 2;
}

@media screen and (max-width: 768px) {
  .galleryBlock__controller {
    padding: 0 calc(23 / 750 * 100vw);
  }
}

.galleryBlock__dir {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background-color: #efefef;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

@media print, screen and (min-width: 768px) {
  .galleryBlock__dir {
    height: 60px;
    width: 60px;
  }
}

@media screen and (max-width: 768px) {
  .galleryBlock__dir {
    -webkit-box-shadow: 0 1px 11.04px 0.96px rgba(0, 0, 0, 0.2);
            box-shadow: 0 1px 11.04px 0.96px rgba(0, 0, 0, 0.2);
    height: calc(60 / 750 * 100vw);
    width: calc(60 / 750 * 100vw);
  }
}

.galleryBlock__dir .generalArrow {
  opacity: .5;
}

@media print, screen and (min-width: 768px) {
  .galleryBlock__dir .generalArrow {
    width: 9px;
  }
}

@media screen and (max-width: 768px) {
  .galleryBlock__dir .generalArrow {
    width: calc(9/ 750 * 100vw);
  }
}

@media print, screen and (min-width: 768px) {
  .galleryBlock__dir--prev {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
}

@media screen and (max-width: 768px) {
  .galleryBlock__dir--prev {
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
}

.thumbnailFeature {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media print, screen and (min-width: 768px) {
  .thumbnailFeature {
    gap: 16px;
    padding: 0 190px;
  }
}

@media screen and (max-width: 768px) {
  .thumbnailFeature {
    gap: calc(19 / 750 * 100vw);
    padding: 0 calc(40 / 750 * 100vw);
  }
}

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

.thumbnailFeature__item:after {
  background-color: #000000;
  content: '';
  height: 100%;
  left: 0;
  opacity: .68;
  position: absolute;
  top: 0;
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  width: 100%;
  z-index: 2;
}

@media print, screen and (min-width: 768px) {
  .thumbnailFeature__item {
    height: auto;
    width: 190px;
  }
}

@media screen and (max-width: 768px) {
  .thumbnailFeature__item {
    width: calc(210 / 750 * 100vw);
  }
}

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

.thumbnailFeature__item.is-active .photo {
  opacity: 1;
}

.thumbnailFeature__item .photo {
  opacity: 1;
  -webkit-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
}

.thumbnailFeature__item .photo__capIn {
  display: none;
}

.thumbnailFeature__itemTtl {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Cinzel", serif;
  height: 100%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  left: 0;
  position: absolute;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
  top: 0;
  width: 100%;
  z-index: 3;
  line-height: 1.5;
}

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

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

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

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

@media screen and (max-width: 768px) {
  .thumbnailFeature__itemTtl {
    font-size: calc(26 / 750 * 100vw);
  }
}

@media print, screen and (min-width: 768px) {
  .modelroom-gallery {
    margin-top: 120px;
    padding-bottom: 4px;
  }
}

@media screen and (max-width: 768px) {
  .modelroom-gallery {
    margin-top: calc(100 / 750 * 100vw);
  }
}
