
#cast_dt {
    font-family: "m-plus-1p", sans-serif;
	font-weight: 400;
	font-style: normal;
	color: #000;	
}

div.character {box-shadow: 3px 3px 10px 5px rgba(0, 0, 0, 0.1);}
div.charaBox {position: relative;}
.phArea{ position: relative;}

div.character .ph_cut span img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.data {background-position: top left; background-repeat: no-repeat;}
.chara_01 .data {background-image: url("../img/chart/name_01.png");}
.chara_02 .data {background-image: url("../img/chart/name_02.png");}
.chara_03 .data {background-image: url("../img/chart/name_03.png");}
.chara_04 .data {background-image: url("../img/chart/name_04.png");}
.chara_05 .data {background-image: url("../img/chart/name_05.png");}
.chara_06 .data {background-image: url("../img/chart/name_06.png");}
.chara_07 .data {background-image: url("../img/chart/name_07.png");}
.chara_08 .data {background-image: url("../img/chart/name_08.png");}
.chara_09 .data {background-image: url("../img/chart/name_09.png");}
.chara_10 .data {background-image: url("../img/chart/name_10.png");}
.chara_11 .data {background-image: url("../img/chart/name_11.png");}
.chara_12 .data {background-image: url("../img/chart/name_12.png");}

p.name, p.actor, p.degree {
	height: 0; width: 0; text-indent: -9999px;
}

#cast_dt .txtArea h2 { color: #037e3f; font-weight: 800; padding-bottom: 0.5em; font-size: 1.25em;}
#cast_dt .txtArea .txt { text-align: left;}
.profArea{ position:relative;} 

@media all and (min-width: 768px) {
	div.character {width: 730px; height: 470px; padding: 0px;
	border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;}
	.sizeM div.character {height: 400px;}
	/*.sizeS div.character {height: 385px;}*/
	div.character .charaBox {
	height: 468px; border: solid 1px #000;
	border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
	background-position: top center; background-image: url("../img/chart/bg_character.png");
	display: flex;
    flex-direction: row; /* 横並びに切り替え */
  }

.profArea {
     position: relative; width:340px; padding-top: 20px;
  }

.phArea {
    width: 364px; height: 468px;
	
  }

	#cast_dt .ph_cut, #cast_dt .ph_cut span, #cast_dt .ph_cut span img {
		width: 364px; height: 468px; padding-top:0;
		background-position: center top;
		border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
	}
	#cast_dt.sizeM div.character .charaBox, #cast_dt.sizeM .phArea, #cast_dt.sizeM .ph_cut, #cast_dt.sizeM .ph_cut span, #cast_dt.sizeS .ph_cut span img {height: 400px;}
	/*#cast_dt.sizeS div.character .charaBox, #cast_dt.sizeS .phArea, #cast_dt.sizeS .ph_cut, #cast_dt.sizeS .ph_cut span, #cast_dt.sizeS .ph_cut span img {height: 385px;}*/
	.data { width:340px; height: 160px; background-size: cover;}
	#cast_dt .txtArea {padding: 25px 5px 0; font-size: 1.0em;}
	#cast_dt .txtArea .txt {padding:0 0 0.5em; line-height: 1.6em; width: 100%;}
	/*#cast_dt.chara_04 .txtArea .txt, #cast_dt.chara_17 .txtArea .txt { line-height: 1.5em;}*/
	

}
@media all and (max-width: 767px) {
	div.character {
		margin: 8px; padding: 0;
		position: relative;
		border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
	}
	div.character .charaBox {
		background-repeat: no-repeat; background-position: center bottom; background-image: url("../img/chart/bg_character_sp.png"); background-size: contain; background-color: #f0fbca;
	border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
	 border: solid 1px #000;}

	#cast_dt .ph_cut {
		width: 100%;
		margin: 0 auto 0em;
		border: none; padding: 0;
	}
	#cast_dt .ph_cut span {
	padding-top: -webkit-calc(400 / 364* 100%);
	padding-top: calc(400 / 364 * 100%);
	}
	/*#cast_dt.sizeM .ph_cut span {
	padding-top: -webkit-calc(400 / 350 * 100%);
	padding-top: calc(400 / 350 * 100%);
	}
	#cast_dt.sizeS .ph_cut span {
	padding-top: -webkit-calc(385 / 350 * 100%);
	padding-top: calc(385 / 350 * 100%);
	}*/
	#cast_dt .ph_cut, #cast_dt .ph_cut span, #cast_dt .ph_cut span img {border-top-left-radius: 30px;
	border-top-right-radius: 30px;
	}
	
	div.character .profArea { width:90%; margin: 1em auto 0;}
	.data { width:90%; height: 0;
	padding-top: -webkit-calc(160 / 340 * 100%);
	padding-top: calc(160 / 340 * 100%);
	background-position: top center; background-size: contain; margin: 0 auto;}
	#cast_dt .txtArea { padding:0.5em 0 1.5em;}
	#cast_dt .txtArea .txt { line-height: 1.6em; padding:0em 0em 3em; font-size: 1.0em; }
	.profArea .txtArea a{right:10px;} 

}
