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

body{
	background: url(../images/pc_bg.jpg) top center fixed;
	-webkit-background-size: cover;
	background-size: cover;
}
.page_title span{	color: #ff9a2e;}
main{	padding-bottom: 50px;}


/** cast **/

#cast{
	font-size: 0;
	line-height: 0;
	text-align: center;
	margin: 0;
	padding: 0 25px;
}

#cast .cbox{
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: calc(100% / 5 - 50px);
	color: #000;
	margin: 0 25px 50px 25px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#cast .cbox:hover{
	text-decoration: none;
}

#cast .cbox .img{
	position: relative;
	display: block;
	margin: 0 0 20px 0;
	box-shadow: 10px 10px 0px 0px rgba(255, 233, 59, 0.5);
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	-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{
	position: relative;
	width: 100%;
	height: auto;
	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{
	box-shadow: 10px 10px 0px 0px rgba(255, 130, 168, 0.5);
}

#cast .cbox .icon{
	display: inline-block;
	vertical-align: top;
	position: absolute;
	z-index: 2;
	bottom: 0;
	right: 0;
}
#cast .cbox .icon img{
	width: 80px;
	height: auto;
}

#cast .cbox .name{
	font-family: "Rounded Mplus 1c";
	font-weight: 800;
	font-size: 1vw;
	line-height: 1;
	text-align: left;
	margin: 0 0 5px 0;
}
#cast .cbox .name a{
	font-size: 1.5vw;
}

#cast .cbox .name span{ font-weight: 600;}

#cast .cbox .size{
	font-family: "Rounded Mplus 1c";
	font-weight: 400;
	font-size: 1.1vw;
	line-height: 1;
	text-align: left;
}
#cast .cbox .size span{color: #36cc95;}
#cast .cbox .size em,
#cast .cbox .size br{	display: none;}


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

@media screen and (max-width: 650px) {
	body{	background: none;}
	body:before{
		content: '';
		width: 100%;
		height: 100vh;
		-webkit-height: 100lvh;
		position: fixed;
		z-index: -2;
		top: 85px;
		left: 0;
		background: url(../images/sp_bg.jpg) no-repeat top center;
		background-size: cover;
	}
	main{	padding-bottom: 20px;}

	/** cast **/
	#cast{
		width: auto;
		margin: 0;
		padding: 0 7.5px;
	}
	#cast .cbox{
		width: calc(100% / 3 - 15px);
		margin: 0 7.5px 20px 7.5px;
	}
	#cast .cbox .img{
		width: 100%;
		height: auto;
		margin: 0 0 10px 0;
		box-shadow: 6px 6px 0px 0px rgba(255, 233, 59, 0.5);
	}
	#cast .cbox .img:hover{
		box-shadow: 6px 6px 0px 0px rgba(255, 233, 59, 0.5);
	}

	#cast .cbox .img img{
		width: 100%;
		height: auto;
	}
	#cast .cbox .icon{
	}
	#cast .cbox .icon img{
		width: 45px;
		height: auto;
	}
	#cast .cbox .name{
		margin: 0 0 3px 0;
	}
	#cast .cbox .name,
	#cast .cbox .name a{
		font-size: 3.5vw;
	}
	#cast .cbox .size{
		font-size: 2.5vw;
		line-height: 1.2;
	}
	#cast .cbox .name span{	display: none;}
	#cast .cbox .size em,
	#cast .cbox .size br{	display: inline;}
}
