.modelroomSlider__container {
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .modelroomSlider__container {
    width: 995px;
  }
}

.modelroomSlider__container .modelroomCard {
  text-align: center;
}

.modelroomSlider__container .modelroomCard__visual .photo__capIn {
  left: 0;
  right: auto;
}

@media screen and (min-width: 768px) {
  .modelroomSlider__container .modelroomCard__visual + .modelroomCard__note {
    margin-top: 10px;
  }
}

@media screen and (max-width: 768px) {
  .modelroomSlider__container .modelroomCard__visual + .modelroomCard__note {
    margin-top: 10px;
  }
}

.modelroomSlider__controller {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .modelroomSlider__controller {
    gap: 16px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 40px;
  }
  .modelroomSlider__controller:not(:has(.modelroomSlider__thumb:nth-child(11))) {
    width: 829px;
  }
}

@media screen and (max-width: 768px) {
  .modelroomSlider__controller {
    gap: 8px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-top: 28px;
    padding-inline: 43px;
  }
}

@media screen and (min-width: 768px) {
  .modelroomSlider__thumb {
    width: 100px;
  }
}

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

.modelroomSlider__dir {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.modelroomSlider__dir:after {
  background-color: rgba(0, 0, 0, 0.4);
  content: '';
  inset: 0;
  position: absolute;
  -webkit-transition: opacity .4s ease;
  transition: opacity .4s ease;
}

@media screen and (min-width: 768px) {
  .modelroomSlider__dir:hover:after {
    opacity: 0;
  }
}

@media (hover: hover) and (pointer: fine) {
  .modelroomSlider__dir:hover:after {
    opacity: 0;
  }
}

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

@media screen and (min-width: 768px) {
  .sliderBlock__item + .sliderBlock__item {
    padding-top: 140px;
  }
}

@media screen and (max-width: 768px) {
  .sliderBlock__item + .sliderBlock__item {
    padding-top: 60px;
  }
}

.sliderBlock__ttl {
  font-family: "Cormorant Infant", serif;
  letter-spacing: .07em;
  line-height: .7;
  position: relative;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .sliderBlock__ttl {
    font-size: 32px;
  }
}

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

@media screen and (min-width: 768px) {
  .sliderBlock__ttl .small {
    font-size: 19px;
  }
}

@media screen and (max-width: 768px) {
  .sliderBlock__ttl .small {
    display: block;
    font-size: 15px;
    margin-top: 16px;
  }
}

.sliderBlock__ttl .box {
  color: #333333;
  font-family: "Shippori Mincho", serif;
  font-size: 10px;
  letter-spacing: .08em;
  position: absolute;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

@media screen and (min-width: 768px) {
  .sliderBlock__ttl .box {
    bottom: 10px;
    font-size: 12px;
    left: 575px;
  }
}

@media screen and (max-width: 768px) {
  .sliderBlock__ttl .box {
    bottom: 10px;
    display: block;
    font-size: 10px;
    left: 0;
  }
}

@media screen and (min-width: 768px) {
  .sliderBlock__ttl + .sliderBlock__body {
    margin-top: 40px;
  }
}

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

@media screen and (min-width: 768px) {
  .sliderBlock__bnrArea {
    margin: 80px auto 0;
    max-width: 955px;
  }
}

@media screen and (max-width: 768px) {
  .sliderBlock__bnrArea {
    margin: calc(100 / 750 * 100vw) auto 0;
    max-width: calc(580 / 750 * 100vw);
  }
}

@media screen and (max-width: 768px) {
  .sliderBlock__bnrArea .generalBnr .photo__capIn {
    bottom: calc(310 / 750 * 100vw);
  }
}

@media screen and (min-width: 768px) {
  .sliderSect__head + .sliderSect__cont {
    margin-top: 80px;
  }
}

@media screen and (max-width: 768px) {
  .sliderSect__head + .sliderSect__cont {
    margin-top: 60px;
  }
}

@media screen and (min-width: 768px) {
  .sliderSect__head .headingUnit + .anchorBlock {
    margin-top: 96px;
  }
}

@media screen and (max-width: 768px) {
  .sliderSect__head .headingUnit + .anchorBlock {
    margin-top: 64px;
  }
}

@media screen and (max-width: 768px) {
  .sliderSect__head .anchorBlock__inner {
    padding-inline: 16px;
  }
}

@media screen and (min-width: 768px) {
  .sliderSect__head .anchorBtn {
    width: calc(100% / 2);
  }
}

@media screen and (max-width: 768px) {
  .sliderSect__head .anchorBtn {
    min-height: 71px;
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .sliderSect__head .anchorBtn__inner {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .sliderSect__head .anchorBtn__inner {
    font-size: 19px;
  }
}

.sliderSect__head .anchorBtn__inner .small {
  color: #333333;
  display: block;
  font-family: "Shippori Mincho", serif;
}

@media screen and (min-width: 768px) {
  .sliderSect__head .anchorBtn__inner .small {
    font-size: 15px;
  }
}

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

@media screen and (min-width: 768px) {
  .modelroom-slider {
    padding-top: 240px;
  }
}

@media screen and (max-width: 768px) {
  .modelroom-slider {
    padding-top: 100px;
  }
}

@media screen and (min-width: 768px) {
  .modelroom-gallery {
    margin-top: 200px;
    padding: 100px 0;
  }
}

@media screen and (max-width: 768px) {
  .modelroom-gallery {
    margin-top: 40px;
    padding: 40px 0;
  }
}
