@charset "utf-8";

/*----------------------------------------------------------------------------------------------
	modelroom
----------------------------------------------------------------------------------------------*/

.page_modelroom_ttl {
  width: 100%;
  padding-top: 240px;
  position: relative;
  text-align: center;
}
.modelroom_contents {
  width: clamp(300px, 90%, 1200px);
  margin: 50px auto 0;
}

.modelroom_contents figure {
  position: relative;
}


.swiper-button-next, .swiper-button-prev {
  color: white !important;
}

.slider-thumbnail .swiper-wrapper {
  justify-content: space-between;
  flex-wrap: wrap;
}
@media screen and (max-width: 768px) {
  .slider-thumbnail .swiper-wrapper {
    margin: 10px 0 0;
  }
}
.slider-thumbnail .swiper-slide {
  width: calc((100% - 6%) / 7) !important;
}
@media screen and (max-width: 768px) {
  .slider-thumbnail .swiper-slide {
    width: 32.3333333333% !important;
  }
}
.slider-thumbnail .swiper-slide .thumb {
  position: relative;
  margin: 15px 0 0;
  cursor: pointer;
}
.slider-thumbnail .swiper-slide .thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block !important;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.slider-thumbnail .swiper-slide .thumb .thumbTxt {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: white;
  text-align: center;
  letter-spacing: 0.3px;
  font-size: 12px;
  z-index: 2;
}

.p_fgr-cptnW {
  position: absolute;
  display: block;
  bottom: 3px;
  left: 5px;
  color: white;
  font-size: 12px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 2px 4px;
}
@media screen and (max-width: 768px) {
  .slider-thumbnail .swiper-slide .thumb {
    margin: 5px 0 0;
  }
}

.slider-thumbnail .swiper-slide.swiper-slide-thumb-active .thumb::after {
  background-color: rgba(0, 0, 0, 0);
}

.bottomNotes {
  width: clamp(300px, 90%, 1200px);
  margin: 20px auto 100px;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .page_modelroom_ttl {
    width: 100%;
    padding-top: 120px;
    position: relative;
    text-align: center;
  }
  
  .page_modelroom_ttl img {
    height: 6vw;
    width: auto;
  }
}