@charset "UTF-8";


/*  modelroom.css  */
/*---------------------------
共通
---------------------------*/
.imagephoto .cap {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  margin-top: 0.2em;
}

.imagephoto .cap.cap_r {
  text-align: right;
}

.imagephoto .cap.cap_l {
  text-align: left;
}

#top_mainimg img {
  border-radius: 1.5vw;
}

/*共通*/
.main_ttl {
  line-height: 1.0;
  letter-spacing: 0.1em;
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: italic;
}

.main_ttl p {
  opacity: 0;
  animation: mainCopy 1s ease 0.3s forwards;
}

@keyframes mainCopy {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#modelroom li {
  list-style: none;
}
#modelroom #topCon {
  /*padding: 4em 0;*/
  padding: 10.5em 0 3em;
  margin-top: -6em;
}
.font01 {
  line-height: 1.0;
  letter-spacing: 0.1em;
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
}
.bot_sub {
  width: 100%;
  max-width: 1140px;
  margin: 1em auto 0;
}
.bot_sub p {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  text-align: left;
}

/* sp */
@media only screen and (max-width: 768px) {
  .imagephoto .cap {
    font-size: 10px;
  }
#modelroom #topCon {
  /*padding: 2em 0;*/
  padding: 6em 0 2em;
  margin-top: -3.5em;
}
.bot_sub p {
  font-size: 10px;
}
}


/*---------------------------
#model_typeCon 【モデルルームタイプ】
---------------------------*/
#model_typeCon {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}
/* Tab */
@media screen and (max-width: 1170px) {

}

/* sp */
@media only screen and (max-width: 768px) {

}



/*---------------------*/
/*スライダー*/
/*---------------------*/
#modelr {
  width: 100%;
  margin: 0 auto 2em;
}
.swiper-container {
  margin-bottom: 0;
}

.swiper-wrapper {
  padding: 0;
}

.swiper-slide {
  display: block;
}

.swiper-slide.m_2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #FFF;
}

.swiper-slide.m_2 .imageCap {
  width: 50%;
}

.slider-thumb {
  display: block;
  padding: 0;
  margin: 0.5em auto 0;
}

.slider-thumb .swiper-wrapper {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5em;
  padding: 0;
}

.slider-thumb .swiper-slide {
  width: calc((100% - 3.5em) / 8) !important;
  background: #000;
  padding: 0;
}

.slider-thumb .swiper-slide img {
  display: block;
  width: 100%;
  opacity: .5;
  transition: opacity .5s;
}

.slider-thumb .swiper-slide.swiper-slide-thumb-active img {
  opacity: 1;
}

/* 前・次ボタンの共通スタイル */
.swiper-button-prev,
.swiper-button-next {
  width: 45px;
  height: 80px;
  background-repeat: no-repeat;
  background-size: cover;
}

/* 次ボタンのスタイル */
.swiper-button-next {
  background-image: url("../images/modelroom/slider_next.svg");
}

.swiper-button-next {
  right: 0 !important;
}

/* 前ボタンのスタイル */
.swiper-button-prev {
  background-image: url("../images/modelroom/slider_prev.svg");
}

.swiper-button-prev {
  left: 0 !important;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  text-rendering: initial;
  display: none;
}

@media screen and (max-width: 768px) {
#modelr {
    margin: 0 auto 1em;
  }
  /* 前・次ボタンの共通スタイル */
  .swiper-button-prev,
  .swiper-button-next {
    width: 4vw;
    height: 8vw;
  }
}

@media screen and (max-width: 430px) {
  .slider-thumb {
    display: block;
    padding: 0;
  }

  .slider-thumb .swiper-wrapper {
    justify-content: space-between;
  }

  .slider-thumb .swiper-slide {
    width: 23% !important;
    background: #000;
  }

  /* 前・次ボタンの共通スタイル */
  .swiper-button-prev,
  .swiper-button-next {
    width: 6vw;
    height: 10vw;
  }
}