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

/** cast **/

#cast{
	font-size: 0;
	line-height: 0;
}

#cast .cbox{
	display: inline-block;
	vertical-align: top;
	width: 250px;
	color: #fff;
	margin: 0 10px 20px 10px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#cast .cbox:hover{
	text-decoration: none;
}

#cast .cbox .course{
	position: relative;
}
#cast .cbox .course em{
	position: relative;
	z-index: 2;
	font-family: "FontA";
	display: inline-block;
	vertical-align: top;
	width: 120px;
	font-size: 16px;
	line-height: 22px;
	text-align: center;
	border-radius: 11px;
}
#cast .cbox .course:before{
	content: '';
	width: 100%;
	border-bottom-width: 3px;
	border-bottom-style: double;
	position: absolute;
	z-index: -1;
	left: 0;
	top: 10px;
}

#cast .cbox .img_bg{
	position: relative;
	display: block;
	margin: 0 0 5px 0;
	z-index: 3;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#cast .cbox .img{
	display: block;
	width: 250px;
	height: 333px;
	-webkit-transition	: 0.4s ease-in-out;
	-moz-transition	: 0.4s ease-in-out;
	-o-transition	: 0.4s ease-in-out;
	transition		: 0.4s ease-in-out;
}

#cast .cbox .img > img{
	width: 250px;
	height: auto;
	-webkit-transition	: 0.4s ease-in-out;
	-moz-transition	: 0.4s ease-in-out;
	-o-transition	: 0.4s ease-in-out;
	transition		: 0.4s ease-in-out;
}

#cast .cbox .img:hover > img{
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	-ms-transform: scale(1.1);
	transform: scale(1.1);
	box-shadow: 0 0 5px 5px rgba(0,0,0,0.5);
}

#cast .cbox .img .icon{
	display: inline-block;
	vertical-align: top;
	width: 80px;
	font-size: 11px;
	line-height: 16px;
	text-align: center;
	position: absolute;
	left: calc(50% - 40px);
	bottom: 5px;
	-webkit-transition	: 0.4s ease-in-out;
	-moz-transition	: 0.4s ease-in-out;
	-o-transition	: 0.4s ease-in-out;
	transition		: 0.4s ease-in-out;
}

#cast .cbox .img:hover > .icon{
	opacity: 0.0;
	filter: alpha(opacity=0);
}

#cast .cbox .data{
}

#cast .cbox .name{
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	font-size: 16px;
	line-height: 34px;
}
#cast .cbox .name a{	color: #fff;}

#cast .cbox .size{
	font-family: 'Noto Serif JP', serif;
	font-size: 11px;
	line-height: 16px;
	margin: 0 0 10px 0;
}
#cast .cbox .size:last-child{	margin-bottom: 0;}

#cast .cbox .size span{
	color: #f9fc8b;
}

#cast .cbox .time{
	font-family: 'Noto Serif JP', serif;
	display: flex;
	align-items: center;
	align-content: center;
	justify-content: center;
	height: 16px;
	font-family: 'Noto Serif JP', serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	border-top: 1px solid #333;
	border-bottom: 1px solid #333;
	padding: 2px 0;
	width: 100%;
	margin: 0 auto;
}

#cast .cbox .time span{
	width: 62px;
	font-size: 11px;
	margin-right: 5px;
	color: #fff;
	background: #333;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#cast .cbox .time em{
	font-size: 15px;
	width: calc(100% - 67px);
	text-align: center;
}

#cast .cbox .time span.on{
	color: #000;
	background: #fff;
}
#cast .cbox .time br{	display: none;}


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

@media screen and (max-width: 650px) {

	/** cast **/
	#cast{	padding: 0 5px;}
	#cast .cbox{
		width: calc(100% / 2 - 10px);
		margin: 0 5px 15px 5px;
	}
	#cast .cbox .course{
		position: relative;
	}
	#cast .cbox .course em{
		width: 100px;
		font-size: 13px;
		line-height: 16px;
		text-align: center;
		border-radius: 8px;
	}
	#cast .cbox .course:before{
		position: absolute;
		z-index: -1;
		left: 0;
		top: 6px;
	}
	#cast .cbox .img_bg{
		position: relative;
		display: block;
		margin: 0 0 2px 0;
		-webkit-background-size: cover;
		background-size: cover;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#cast .cbox .img{
		width: 100%;
		height: auto;
		overflow: hidden;
	}
	#cast .cbox .img img{
		width: 100%;
		height: auto;
	}
	#cast .cbox .img:hover img{
	    -webkit-transform: scale(1);
	    -moz-transform: scale(1);
	    -o-transform: scale(1);
	    -ms-transform: scale(1);
	    transform: scale(1);
	    box-shadow: 0 0 0 0 rgba(0,0,0,0.5);
	}
	#cast .cbox .img .icon{
		width: 70px;
		font-size: 10px;
		line-height: 14px;
		left: calc(50% - 35px);
		bottom: 2px;
	}
	#cast .cbox .img:hover > .icon{
		opacity: 1;
		filter: alpha(opacity=100);
	}
	#cast .cbox .name{
		font-size: 14px;
		line-height: 24px;
	}
	#cast .cbox .size{
		font-size: 11px;
		line-height: 14px;
		margin: 0 0 5px 0;
	}
	#cast .cbox .time{
		justify-content: flex-start;
		height: 24px;
		font-size: 12px;
		line-height: 12px;
		text-align: left;
	}
	#cast .cbox .time span{
		width: 52px;
		height: 24px;
		font-size: 11px;
		line-height: 22px;
		text-align: center;
	}
	#cast .cbox .time em{
		font-size: 13px;
		line-height: 13px;
		width: calc(100% - 57px);
	}
	#cast .cbox .time br{	display: inline;}
}
@media screen and (max-width: 345px) {
	#cast .cbox .name{	font-size: 13px;}
	#cast .cbox .size{	font-size: 10px;}
}
