@charset "utf-8";
/*======================================
合格者の声
========================================*/
.voice_section{
	margin-top: 3.5em;
}

.box_section .voice_section:first-of-type{
	margin-top: 0;
}

.n_ttl{
	font-size: clamp(2rem,2.8vw,2.8rem);
	font-weight: bold;
	color: var(--red_color);
	text-decoration: underline;
}

/*****
合格者の声
*****/
.voice_area_wrap{
	margin-top: 2em;
}
.voice_section .voice_area_wrap:first-of-type{
	margin-top: 0;
}

.voice_area{}
.voice_box{
	padding: 0.65em;
	border-radius: 0.75em;
	background-color: #ce3534;
}

.thum_area{
	position: relative;
}
.thum_area::after{
	content: '';
	aspect-ratio: 15 / 9;
	display: block;
	width: 15%;
	background-image: url("../../../img/icon_play.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
.thum_area .thum{}
.thum_area .thum img{
	border-radius: 0.65em;
}

.voice_txt_area{
	margin-top: 0.65em;
	padding: 1.2em 0.8em;
	border-radius: 0.65em;
	background-color: #fff;
}
.voice_txt_area .voice_name{
	width: fit-content;
	font-size: 1.9rem;
	font-weight: bold;
	margin-bottom: 1em;
}
.voice_txt_area .voice_name > span{
	position: relative;
	z-index: 2;
}
.voice_txt_area .voice_name::after{
	content: '';
	display: block;
	width: 100%;
	height: 0.65em;
	border-radius: 1em;
	background-color: #faa2a2;
	transform: translateY(-0.3em);
	position: relative;
	z-index: 1;
}
.voice_txt_area p{
	font-size: 1.5rem;
	margin-bottom: 2em;
}


/* ===========================================
	MediaQueries
=========================================== */
/* PC----------------------------- */
@media (min-width: 768px){
	/*****
	合格者の声
	*****/
	.voice_area{
		display: flex;
		flex-wrap: wrap;
	}
	.voice_box{
		display: flex;
		flex-direction: column;
		width: calc((100% - 2em) / 3);
		margin: 1em 1em 0 0;
	}
	.voice_box:nth-of-type(3n){
		margin-right: 0;
	}
	
	.thum_area{
		flex-shrink: 0;
	}
	.thum_area .thum{}
	
	.voice_txt_area{
		flex-grow: 1;
	}
	.voice_txt_area .voice_name{}
	.voice_txt_area p{}
}

/*****
モーダル表示
*****/
.js-modal-video{
	cursor: pointer;
}

/* スマホ----------------------------- */
@media (max-width: 767px){
	/*****
	合格者の声
	*****/
	.voice_area{}
	.voice_box{
		width: 100%;
	}
	
	.thum_area{}
	.thum_area .thum{}
	
	.voice_txt_area{}
	.voice_txt_area .voice_name{}
	.voice_txt_area p{}
}