@charset "UTF-8";

/*----////////----FIRSTVIEW----////////----*/

@media only screen and (max-width: 480px){	
	#firstview{
	width:100%;
	height: 325px;
	position: relative;
	overflow: hidden;
	background-color:#fff;
	}
	
}

@media only screen and (min-width: 481px){	
	#firstview{
	width:100%;
	height: 350px;
	position: relative;
	overflow: hidden;
	background-color:#fff;
    }
	
}

@media only screen and (min-width: 960px){	
	#firstview{
	width:100%;
	height: 475px;
	position: relative;
	overflow: hidden;
	background-color:#fff;
	}
	
}



#firstview div.bg-container{
	height:100%;
	
	opacity: 0.5;
}

#firstview div.bg-container p.thumbnail{
	width:100%;
	height:100%;
	
	background-image: url("../images/bg-cover.jpg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

#firstview div.message{
	position: absolute;
	top:0;
	left:0;
	
	width:100%;
	height:100%;
}

#firstview div.message div.wrap{
	width:100%;
	height:100%;
	margin:0 auto;
	/* max-width: 960px; */
	box-sizing: border-box;
	/* padding:40px 20px; */
	display:flex;
	flex-flow: row wrap;
	align-items: center;
	justify-content: center;
	align-content: flex-start;
}

#firstview div.message div.content{
	text-align: center;
	color:#fff;
}

#firstview div.message h2{	
	margin-bottom:20px;
}

#firstview div.message h2 img{
	display:block;
	width: 100%;
	max-width: 640px;
	margin:0 auto;
}

#firstview div.message p.caption{
	font-size:0.8rem;
	line-height:1.75em;
	font-weight:bold;
	color:#000;
	
	text-align:center;
}

/*//////////----- PICKUP-CAST -----//////////*/

#pickup-cast-top div.content{	
	width:100%;
}

#slider-pickup-cast{
	line-height: 0;
}

#slider-pickup-cast div.slick-slide{
	height:100%!important;
}

#slider-pickup-cast div.slick-slide > div{
	height:100%;
}

#slider-pickup-cast div.slick-slide > div > article{
	height:100%;
}

/*//////////----- PICKUP -----//////////*/

#pickup{
	background-color:#fff;
}

#pickup div.content{
	box-sizing: border-box;
	padding:20px 0 40px;
}

#slider-pickup{
	line-height: 0;
}

#slider-pickup p.slider-child a{
	display:block;
}

#slider-pickup p.slider-child img{
	width:100%;
	vertical-align: bottom;
}

@media only screen and (min-width: 720px){
	
	#slider-pickup p.slider-child{
		box-sizing: border-box;
		padding:0 5px;
	}
	
}

/*//////////----- NEWS -----//////////*/

#news-top div.content{
	box-sizing: border-box;
	padding:5px;
	
	display:flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: flex-start;
	
	width:100%;
}

#news-top article{
	width:100%;
}

@media only screen and (min-width: 720px){
	
	#news-top article{
		width:50%;
	}
	
}

@media only screen and (min-width: 960px){
	
	#news-top article{
		width:calc(100%/3);
	}
	
}

/*//////////----- CAST -----//////////*/

#cast-top div.content{
	box-sizing: border-box;
	padding:5px;
	
	display:flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: flex-start;
	
	width:100%;
}

#cast-top article{
	width:50%;
}

@media only screen and (min-width: 720px){
	
	#cast-top article{
		width:calc(100%/3);
	}
	
}

@media only screen and (min-width: 960px){
	
	#cast-top article{
		width:25%;
	}
	
}

/*//////////----- DIARY -----//////////*/

#diary-top div.content{
	box-sizing: border-box;
	padding:5px;
	
	display:flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: flex-start;
	
	width:100%;
}

#diary-top article{
	width:50%;
}

@media only screen and (min-width: 720px){
	
	#diary-top article{
		width:25%;
	}
	
}

@media only screen and (min-width: 960px){
	
	#diary-top article{
		width:20%;
	}
	
}

/*//////////----- BANNER -----//////////*/

#banner{
	background-color:#fff;
}

#banner div.content{
	max-width: 800px;
	
	display:flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: flex-start;
	
	width:100%;
}

.banner-child{
	width:100%;
	margin-bottom:10px;
}

.banner-child:last-child{
	margin-bottom:0;
}

.banner-child a{
	display:block;
}

.banner-child a:hover{
	opacity: 0.5;
}

.banner-child img{
	width:100%;
	vertical-align: bottom;
}

@media only screen and (min-width: 720px){
	
	#banner div.content{
		padding:20px;
	}
	
	.banner-child{
		width:50%;
		margin-bottom:20px;
	}
	
	.banner-child:nth-child(odd){
		box-sizing: border-box;
		padding-right:10px;
	}
	
	.banner-child:nth-child(even){
		box-sizing: border-box;
		padding-left:10px;
	}
	
	.banner-child:nth-last-child(-n+2){
		margin-bottom:0;
	}
	
}