@charset "utf-8";
/* ========================
  modelroom
======================== */

#contentWrap {
  margin: 80px 0 0;
}

/* common
--------------- */
.inner_1000 {
  max-width: 1000px;
  width: 90%;
  margin: 0 auto;
}

figure {
  position: relative;
  height: fit-content;
}

.caption {
  position: absolute;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  padding: 3px 5px;
  font-size: 10px;
  z-index: 5;
}

.title_Box {
  padding: 70px 0;
  color: #686d71;
  text-align: center;
}

.title_Box h2 {
  font-size: 26px;
  letter-spacing: 0.2em;
  padding: 0 0 20px;
}

.title_Box p {
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.12em;
}

.title_Box p.copy {
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  padding: 0 0 40px;
}

.title_Box p.copy02 {
  font-size: 22px;
  line-height: 1.8;
  letter-spacing: 0.12em;
  padding: 0 0 20px;
}

sup {
  font-size: 10px;
  vertical-align: super;
}





/* contents
--------------- */
.main {}

.main .title_Box p.copy {
  padding: 0 0 0px;
}


.modelroom_Wrap {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 80px;
}


/*スライド（プラグインなしに変更20250901）*/
.slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.slides {
  position: relative;
  aspect-ratio: 3/2;
}
.slide {
  opacity: 0;
  transition: opacity 0.8s ease;
  position: absolute;
  top: 0; left: 0; width: 100%;
  pointer-events: none; /* 非アクティブ時にクリック無効化 */
}
.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.slide_cap {
  position: absolute;
  bottom: 15px;
  left: 23px;
  color: #fff;
  font-size: 20px;
/*  letter-spacing: 3px;*/
  letter-spacing: 0.15em;
  font-style: normal;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 5;
  width: 34px;
  padding: 0;
  transition: .3s;
}
.prev { left: 20px; }
.next { right: 20px; }
.prev:hover { left: 10px; }
.next:hover { right: 10px; }

.thumbnails {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  gap: 10px;
}
.thumb {
  position: relative;
  width: calc((100% - 90px) / 10);
  padding: 5px;  
  text-align: center;
  cursor: pointer;
  background-color: transparent;
  overflow: hidden; /* はみ出し防止 */
  transition: .3s;
}
.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(55, 167, 202, 1) 0%, rgba(52, 165, 201, 1) 8%, rgba(0, 92, 162, 1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}
.thumb img {
  display: block;
}
.thumb p {
  font-size: 12px;
  margin: 5px 0 0;
  color: #686d71;
  transition: color 0.3s ease;
}
/* hover */
.thumb:hover {
  opacity: .6;
}
/* active */
.thumb.active {
  pointer-events: none;
}
.thumb.active::before {
  opacity: 1;
}
.thumb.active p {
  color: #FFF;
}
.thumb img,
.thumb p {
  position: relative;
  z-index: 1; /* 疑似要素の上に表示 */
}


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


}

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

  #contentWrap {
    margin: 40px 0 0;
  }


  /* common
  --------------- */

  .title_Box {
    padding: 40px 0;
    width: 94%;
    margin: 0 auto;
  }

  .title_Box h2 {
    /* font-size: 20px; */
    font-size: 16px;
    padding: 0 0 20px;
  }

  .title_Box p {
    font-size: 13px;
    /* text-align: left; */
    /* text-align: justify; */
    text-align: center;
  }

  .title_Box p.copy {
    /* font-size: 18px; */
    font-size: 15px;
    text-align: center;
    padding: 0 0 20px;
  }

  .title_Box p.copy02 {
    font-size: 18px;
    padding: 0 0 20px;
    text-align: center;
  }

  .inner .title_Box {
    width: 100%;
  }



  /* contents
  --------------- */
  .main .title_Box p.copy {
    padding: 0 0 20px;
  }


  .modelroom_Wrap {
    padding: 0 0 40px;
  }


/*スライド（プラグインなしに変更20250901）*/

.slide_cap {
  bottom: 5px;
  left: 10px;
  font-size: 16px;
}

.prev, .next {
  width: 25px;
}
.prev { left: 10px; }
.next { right: 10px; }

.thumbnails {
  margin-top: 15px;
  gap: 5px 10px;
  justify-content: normal;
}
.thumb {
  width: calc((100% - 30px) / 4);
  padding: 5px;  
}
.thumb p {
  font-size: 11px;
}


}
