
.copy2 {
   border-top : 1px solid var(--color-green);
    background-image : url(../img/modelhouse/09.jpg);
    background-size : cover;
    background-position: 50% 65%;
    width : 100%;
    height : 250px;
    position : relative;
    z-index : 1;
    margin-top : 40px;
}

.copy2::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 100));
    z-index: -1; 
}


.slider-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1rem;
}

.main-image img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.caption {
  font-size: 24px;
  color: #539379;
  margin-top: 150px;
  margin-bottom:60px;
  text-align: center;
}



.thumbnail_tile {
  width: 100px;
  height: 70px;
  min-width : 100px;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
  cursor: pointer;
  border: 2px solid #ffffff;
  transition: border 0.3s;
}

.thumbnail-list {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding-left: 0;     /* ブラウザ既定の左余白を削除 */
  list-style: none;
}

.thumbnail-list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.thumbnail_tile:hover {
  border: 2px solid #95b58d;
  opacity : 0.8;
}

.gaisou-top {
  margin-top: 80px
}

.naisou-top {
  margin-top: 80px;
}

#video {
  text-align: center;
  margin-top: 100px;
  margin-bottom:70px;
}

#video .video-inner {
  display: block;       /* 中央寄せに対して幅をもたせる .video-inner が コンテンツに応じた幅の箱になる */
  text-align: left;            /* 中身を左寄せに */
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

#video .video-inner p {
  margin-bottom: 0.5rem;       /* 動画との余白 */
}

#video h3 {
  color:#539379;
  text-align:center;
  margin-bottom:60px;
  font-size:24px;
}

.video-wrapper {
 position: relative;
  width: 100%;
  max-width: 700px; /* ← PCでは最大700px */
  margin: 0 auto;    /* 中央揃え */
  padding-bottom: 56.25%; /* 16:9比率 */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.image-caption {
  text-align:right;
  font-size:13px;
}

.madori {
  width: 900px;
  max-width: 100%;
  display: block;
  margin: 0 auto;
}


.model-content {
  max-width: 900px; /* 画像に合わせて調整 */
  margin: 0 auto;    /* 中央寄せ */
}

.model-content img {
  width: 100%;       /* 親に合わせる */
  height: auto;
  display: block;
}

.model-content p {
  line-height: 1.8;
  max-width: 760px;
  margin: 0px auto 120px auto;
}

.model-content h3 {
 text-align: center;
}

section:first-of-type h2 {
  margin-bottom: 0px;
}


section:first-of-type h3 {
  margin-top: 0px;
  margin-bottom: 30px;
}

section:nth-of-type(2) h3 {
  margin-top: 180px;
}


@media (max-width: 767px) {
  .video-padding-wrapper {
    padding: 0 1.5rem;
    box-sizing: border-box;
  }
  #video h3 {
    font-size:20px;
  }
  .model-content p {
    font-size: 0.9rem;
  }
}
  
  



