/*=================================================
 * CSS for PC
 * ================================================= */

body{
	background: url(/img/all/pc_bg.jpg) no-repeat top center #000 fixed;
	background-size: cover;
}


/** cast **/

#cast{
	text-align: center;
}

#cast ul{
	font-size: 0;
	line-height: 0;
	padding: 0 115px;
}

#cast li{
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: calc(100% / 4 - 50px);
	margin: 0 25px 60px 25px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#cast li .class{
	font-size: 0;
	line-height: 0;
	text-align: center;
}
#cast li .class img{
	width: auto;
	height: 25px;
}

#cast li .photo{
	position: relative;
}

#cast li .photo a{
	display: block;
}

#cast li .photo img{
	width: 100%;
	height: auto;
	-webkit-transition	: 0.2s ease-in-out;
	-moz-transition	: 0.2s ease-in-out;
	-o-transition	: 0.2s ease-in-out;
	transition		: 0.2s ease-in-out;
}
#cast li .photo img:nth-of-type(1){
	position: relative;
	z-index: 2;
}
#cast li .photo a:hover img:nth-of-type(1){
	opacity: 0;
	filter: alpha(opacity=0);
}
#cast li .photo img:nth-of-type(2){
	position: absolute;
	top: 0;
	left: 0;
}

#cast li .today{
	display: inline-block;
	vertical-align: top;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 11px;
	line-height: 18px;
	color: #fff;
	background: #ea102b;
	padding: 0 4px;
	position: absolute;
	z-index: 3;
	bottom: 10px;
	left: 10px;
}
#cast li .icon{
	display: inline-block;
	vertical-align: top;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 11px;
	line-height: 18px;
	color: #fff;
	background: #000;
	padding: 0 4px;
	position: absolute;
	z-index: 3;
	bottom: 10px;
	right: 10px;
}

#cast .txt{
	width: 100%;
	height: 110px;
	color: #fff;
	text-align: left;
	background: #000;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#cast .txt .come{
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 30px;
	border-bottom: 1px solid #c09475;
	padding: 0 10px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#cast .txt > div{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	align-content: center;
	justify-content: flex-start;
	height: 80px;
	padding: 0 10px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

#cast .txt .name{
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 22px;
	line-height: 24px;
}
#cast .txt .name a{	color: #fff;}

#cast .txt .size{
	width: 100%;
	font-size: 12px;
	line-height: 16px;
	margin: 5px 0 0 0;
}


/*=================================================
 * CSS for SP
 * ================================================= */

@media screen and (max-width: 650px) {
	body:before{
		background: url(/img/all/sp_bg.jpg) no-repeat top center;
		background-size: cover;
	}

	/** cast **/
	#cast{
		text-align: center;
		padding: 0 5px;
	}
	#cast ul{	padding: 0;}
	#cast li{
		width: calc(100% / 2 - 10px);
		height: auto;
		margin: 0 5px 20px 5px;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#cast li .class img{
		width: auto;
		height: 15px;
	}

	#cast li .photo a:hover img:nth-of-type(1){
		opacity: 1;
		filter: alpha(opacity=100);
	}
	#cast li .photo img:nth-of-type(2){	display: none;}

	#cast li .today{
		font-size: 10px;
		line-height: 15px;
		padding: 0 2px;
		bottom: 5px;
		left: 5px;
	}
	#cast li .icon{
		font-size: 10px;
		line-height: 15px;
		padding: 0 2px;
		bottom: 5px;
		right: 5px;
	}

	#cast .txt{
		height: auto;
	}
	#cast .txt .come{
		    font-size: 10px;
		line-height: 1.2;
		padding: 5px 5px;
	}
	#cast .txt .come:empty{ padding: 0;}
	#cast .txt > div{
		height: auto;
		padding: 5px 5px;
	}
	#cast .txt .name{
		width: 100%;
		font-family: 'Noto Serif JP', serif;
		font-weight: 600;
		font-size: 13px;
		line-height: 1.2;
		margin-bottom: 2px;
	}
	#cast .txt .name a{	color: #fff;}
	#cast .txt .size{
		width: 100%;
		font-size: 10px;
		line-height: 1.2;
		margin: 2px 0 0 0;
	}
}
