@charset "utf-8";
/* 共通 */
#gallery .sub_ttl {
  font-size: 64px;
  line-height: 1;
  margin-bottom: 45px;
  text-align: center;
}
#gallery .sub_txt {
  font-size: 32px;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
}
#gallery .sub_txt01 {
  font-size: 18px;
  text-align: center;
  margin-bottom: 80px;
}
/* mv */
#gallery .mv {
  position: relative;
}
#gallery .mvArea::after {
  position: absolute;
  content: "";
  background: url(../../img/modelroom/mv_ttl.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 306px;
  height: 222px;
  bottom: -114px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
#gallery .mv_info {
  padding-top: 5px;
}
#gallery .mv_info p {
  max-width: 1200px;
  width: 90%;
  font-size: 10px;
  text-align: right;
  margin: 0 auto -1px;
}
.model_top {
  padding-top: 220px;
}
/* gallery_top */
.gallery_top {
	padding: 60px 0 0;
	text-align: center;
}
.gallery_top h2 {
  font-size: 30px;
  color: #1f286f;
  margin-bottom: 30px;
  font-weight: normal;
}
.gallery_top p {
	font-size: 16px;
	line-height: 2;
	letter-spacing: 0;
  margin-bottom: 80px;
}
/* slider */
.modelroomGallery {
  position: relative;
  z-index: 0;
  margin-bottom: 240px;
}
#slideshow {
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  text-align: left;
}
#slideshow div {
  width: 100%;
  height: 640px;
  overflow: hidden;
  position: relative;
}
#slideshow div div {
  top: 0;
  left: 0;
  position: absolute;
}
#slideshow div div img{
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
#slideshow .active {
  filter: alpha(opacity=100) !important;
  -moz-opacity: 1 !important;
  opacity: 1 !important;
}
.thumBox {
  width: 1000px;
  background-color: rgba(0, 0, 0, 0.6);
  margin: 0 auto;
}
.thumBox ul {
  width: 1000px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 15px 0px;
  margin: auto;
}
.thumBox ul::after{
  content: "";
  display: block;
  clear: both;
}
.thumBox ul li {
  width: 100px;
  margin-right: 12px;
}
.thumBox ul li:nth-child(9){
  margin-right: 0;
}
.thumBox ul li:nth-child(n+9){
  margin-bottom: 0;
} 
.thumBox ul li img {
  width: 100%;
  height: auto;
  cursor: pointer;
}
.model_caption{
  max-width: 1000px;
  margin: auto;
  font-size: 10px;
  margin-bottom: 120px;
}
@media screen and (max-width: 750px) {
  /* 共通 */
  #gallery .sub_ttl {
    font-size: 38px;
    margin-bottom: 40px;
  }
  #gallery .sub_txt {
    font-size: 20px;
    margin-bottom: 30px;
  }
  #gallery .sub_txt01 {
    font-size: 16px;
  }
  /* mv */
  #gallery .mvArea::after {
  width: 139px;
  height: 100px;
  bottom: -51px;
  }
  .model_top {
    padding-top: 100px;
  }
  /* gallery */
  .gallery_top {
    padding: 50px 0 0;
  }
  .gallery_top h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }
  .gallery_top p {
    font-size: 15px;
    margin-bottom: 60px;
  }
  /* slider */
  .modelroomGallery{
    margin-bottom: 80px;
  }
  #slideshow{
    width: 320px;
    height: auto;
    margin: auto;
  }
  #slideshow div{
    width: 320px;
    height: 205px;
    margin: auto;
  }
  #slideshow div img{
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }
  .thumBox{
    width: 100%;
  }
  .thumBox ul{
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-bottom: 0;
  }
  .thumBox ul li{
    width: calc((100% - 24px)/3);
    float: none;
    margin-left: 0;
    margin-bottom: 10px;
  }
  .thumBox ul li:nth-child(3n){
    margin-right: 0;
  }
  .thumBox ul li:nth-child(n+9){
    margin-bottom: 15px;
  }
  .thumBox ul::after{
    content: "";
    display: none;
    clear: both;
  }
  .model_caption {
    margin-bottom: 80px
  }
}