@charset "utf-8";


@media (min-width:481px) {
	.cast dl dt {
		display: block;
		width: 40%;
		padding-right: 1em;
		text-align: right;
		float: left;
		clear: left;
	}
	.cast dl dd {
		padding-left: calc(40% + 1em);
		margin-bottom: .5em;
		position: relative;
	}
	.cast dl dd:last-child {
		margin-bottom: 0;
	}
	.cast dl dd::after {
		z-index: -1;
		content: '';
		width: .4em;
		top: 0;
		height: 100%;
		position: absolute;
		left: calc(40% - .2em);
		background-color: var(--contents-light-color);
	}
}
@media (max-width:480px) {
	/*.cast dl dt {
		width: 50%;
		clear: both;
	}
	.cast dl dd {
		padding-left: calc(50% + 1em);
	}
	.cast dl dd::after {
		left: calc(50% - .2em);
	}*/
	#staff.cast dl dt {
		display: block;
		font-weight: 600;
		text-align: center;
		width: fit-content;
		margin: 0 auto;
		border-bottom: 1px solid var(--contents-light-color);
		padding: 0 20px 3px;
	}
	#staff.cast dl dd {
		text-align: center;
		padding: 3px 0 13px;
	}
	#cast.cast dl dt {
		display: block;
		width: 50%;
		padding-right: 1em;
		text-align: right;
		float: left;
		clear: left;
	}
	#cast.cast dl dd {
		padding-left: calc(50% + 1em);
		margin-bottom: .5em;
		position: relative;
	}
	#cast.cast dl dd:last-child {
		margin-bottom: 0;
	}
	#cast.cast dl dd::after {
		z-index: -1;
		content: '';
		width: .4em;
		top: 0;
		height: 100%;
		position: absolute;
		left: calc(50% - .2em);
		background-color: var(--contents-light-color);
	}
}
.cast dl dd.spacer {
	height: 1em;
}
.cast dl dd.spacer::after {
	background-color: transparent;
}





/*.cast2 dt {
	display: block;
	text-align: center;
	font-weight: 600;
	margin-bottom: 10px;
}
.cast2 dt span {
	display: block;
	font-weight: 400;
	font-size: 80%;
	text-align: center;
}
.cast2 div {
	display: flex;
	justify-content: center;
	margin-bottom: 60px;
}
.cast2 dd.spacer {
	height: 1em;
}
.cast2 dd {
	min-width: 6em;
	text-align: center;
	margin: 0 1em;
}
.cast2 dl dd img {
	display: block;
	width: 100%;
	max-width: 200px;
	margin-bottom: 20px;
	border-radius: 5px;
}
@media(max-width:504px) {
	.cast2 dl dd img {
		max-width:calc((100vw - 20px - 6em) / 2);
	}	
}*/


.cast ul {
	display: flex;
	flex-wrap: wrap;
	max-width: calc(600px + 8em);
	margin: 0 auto;
}
.cast ul li {
	width: calc(100% / 4);
	text-align: center;
	margin: 0 0 3em;
	padding: 0 1em;
}
@media (max-width:480px) {
	.cast ul li {
		width: calc(100% / 3);
	}
}
.cast ul li img {
	display: block;
	width: 100%;
	max-width: 150px;
	margin-bottom: 20px;
	border-radius: 5px;
}




.cast2 .cast_wrap .name {
	width: 100%;
	font-size: 120%;
	text-align: center;
	font-weight: 600;
	margin-bottom: 10px;
}
.cast2 .cast_wrap .name span {
	display: block;
	font-weight: 400;
	font-size: 80%;
	text-align: center;
}
.cast2 .cast_wrap .castimg img {
	display: block;
	width: 100%;
	max-width: 180px;
	border-radius: 5px;
	margin: auto auto 15px;
}
.cast2 .cast_wrap .line1,
.cast2 .cast_wrap .line2 {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
@media(min-width:768px) {
	.cast2 .cast_wrap {
		display: flex;
		justify-content: center;
		margin-bottom: 30px;
	}
	.cast2 .cast_wrap .name {
		height: 2.7em;
	}
	.cast2 .cast_wrap .line1,
	.cast2 .cast_wrap .line2 {
		width: 50%;
	}
	.cast2 .cast_wrap .castimg {
		width: 50%;
		text-align: center;
	}
}
@media(max-width:767px) {
	.cast2 .cast_wrap {
		display: block;
	}
	.cast2 .cast_wrap .line1,
	.cast2 .cast_wrap .line2 {
		width: 100%;
		gap: 10px;
		margin-bottom: 30px;
	}
	.cast2 .cast_wrap .castimg {
		width: calc(50% - 5px);
		text-align: center;
	}
}

