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

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

/** cast **/

#cast{
	text-align: center;
}

#cast ul{
	font-size: 0;
	line-height: 0;
	text-align: left;
	padding: 0 75px;
}

#cast li{
	position: relative;
	display: inline-block;
	vertical-align: top;
	width: calc(100% / 4 - 50px);
	margin: 0 25px 50px 25px;
	background: rgba(255,255,255,0.8);
	box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

#cast li .photo{
	position: relative;
}
#cast li .photo a{
	display: block;
	position: relative;
	overflow: hidden;
	-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 a:hover img{
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}
#cast li .photo a > img{
	width: 100%;
	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 .icon{
	display: inline-block;
	vertical-align: top;
	position: absolute;
	top: -10px;
	right: -10px;
}
#cast .icon img{
	width: 50px;
	height: auto;
}
#cast .txt{
	position: relative;
	width: 100%;
	font-family: 'Noto Serif JP', serif;
	font-weight: 600;
	color: #000;
	text-align: center;
	padding: 0 0 10px 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
#cast .txt .course{
	font-family: "FontA";
	font-weight: normal;
	font-size:min(2.9vw, 16px);
	line-height: 1.3;
	background: #000;
}
#cast .txt .job{
	font-size:min(2.9vw, 16px);
	line-height: 1.8;
	border-bottom: 1px solid #000;
}
#cast .txt .name{
	font-size:min(2.8vw, 13px);
	line-height: 1.2;
	margin: 8px 0 0 0;
}
#cast .txt .name a{
	font-size:min(4vw, 20px);
	color: currentColor;
	font-weight: 700;
}
#cast .txt .size{
	font-size:min(2.5vw, 13px);
	line-height: 1.1;
	margin: 5px 0 0 0;
}
#cast .txt .size br{	display: none;}


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

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

	body:before{
		background: url(./img/sp_bg.jpg) no-repeat top center;
		-webkit-background-size: cover;
		background-size: cover;
	}

	#cast{
		text-align: center;
		padding: 0 7.5px;
	}
	#cast ul{	padding: 0;}
	#cast li{
		width: calc(100% / 2 - 15px);
		height: auto;
		box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.1);
		margin: 0 7.5px 15px 7.5px;
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
		        box-sizing: border-box;
	}
	#cast .icon{
		top: -5px;
		right: -5px;
	}
	#cast .icon img{
		width: 35px;
		height: auto;
	}
	#cast .txt .size br{	display: inline;}

}
