@charset "utf-8";

/**
 *
 *  ページ用CSS
 *　modelroom
 */

/*--------------------------------------------------------------------------
   Overwright
---------------------------------------------------------------------------*/
.page-ttl{
	background-image: url(../img/modelroom/ttl_bg.jpg);	
}

/*--------------------------------------------------------------------------
   Content
---------------------------------------------------------------------------*/

/* modelroom
-----------------------------------------------------------------*/
.modelroom{
  padding: 100px 0 160px;   
}
.modelroom h2{
	margin-bottom: 60px;
	text-align: center;
	font-size: 4rem;
}
.modelroom-gallery{
	margin-bottom: 80px;
	line-height: 0;
}
.gallery-slider{
	margin-bottom: 15px;
}
.gallery-slider .slider-item{
	position: relative;		
}
.gallery-slider .slider-item h3{
	position: absolute;
	right: 0;
	bottom: 0;	
}
.gallery-slider .slider-item h3 span{
	display: inline-block;
	padding: 12px 30px 12px 50px;
	background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.6) 100%);
	font-size: 1.8rem;
	line-height: 1;
	font-weight: normal;
	letter-spacing: .08em;	
}
.gallery-thumb .slider-item{
	position: relative;
	margin-bottom: 10px;
	cursor: pointer;
}
.gallery-thumb .slider-item::before{
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	content: "";
	border: 6px solid transparent;
	background: rgba(0,0,0,.5);
}
.gallery-thumb .slider-item:hover::before,
.gallery-thumb .slick-current .slider-item::before{
	border-color: #99811e;
	background: rgba(0,0,0,0);
}
.gallery-thumb .slick-track {
	width: calc(100% + 10px) !important;
  transform: unset !important;
}
.gallery-thumb .slick-slide{
  width: calc(100% / 5) !important;
	padding-right: 10px;
}
.page-notes{
	margin-bottom: 60px;
	font-size: 1.8rem;
}
.model3d{
    text-align: center;
    margin-bottom: 50px;
}

.page-ttl .cap1{
	position: absolute;
	right: 20px;
	bottom: 20px;
	text-shadow: 3px 3px 10px #000000;
  }










/*--------------------------------------------------------------------------
   mobile
---------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {

/* modelroom
-----------------------------------------------------------------*/
	.modelroom{
		padding: 40px 0 80px;   
	}
	.modelroom h2{
		margin-bottom: 50px;
		font-size: 3.5rem;
	}
	.modelroom-gallery{
		margin-bottom: 40px;
		line-height: 0;
	}
	.gallery-slider{
		margin-bottom: 10px;
	}
	.gallery-slider .slider-item h3 span{
		padding: 10px 10px 10px 30px;
		font-size: 1.8rem;
	}
	.gallery-thumb .slider-item{
		margin-bottom: 5px;
	}
	.gallery-thumb .slider-item::before{
		border-width: 3px;
	}
	.gallery-thumb .slick-track {
		width: calc(100% + 5px) !important;
	}
	.gallery-thumb .slick-slide{
		width: calc(100% / 4) !important;
		padding-right: 5px;
	}
	.page-notes{
		margin-bottom: 40px;
		font-size: 1.2rem;
		text-align: justify;
	}
    .model3d iframe{
        max-width: 100%;
    }

}