@charset "utf-8";

/* =============================================
	高校生の宅建合格者インタビュー
============================================= */

/*****
記事ヘッダー
*****/
#page_header{
	padding: 2em 0;
	background-image: url("../img/header_bg.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}
.page_header{
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
}
.header_img{
	display: flex;
	justify-content: center;
}
.header_img li{
	flex-shrink: 0;
	width: 23.5%;
	max-width: 328px;
	margin-left: -4.5%;
}
.header_img li:first-of-type{
	margin-left: 0;
}
#page_header h1{
	max-width: 1080px;
	margin: 2em auto 0 auto;
}

.anim{
	clip-path: polygon(0 100%,30% 0,30% 0,0 100%);
	animation-name: floatin;
	animation-delay: 0.5s;
	animation-duration: 1s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

@keyframes floatin{
	0%{
		clip-path: polygon(0 100%,30% 0,30% 0,0 100%);
	}
	100%{
		clip-path: polygon(0 100%,30% 0,100% 0,70% 100%);
	}
}

/*****
記事内容
*****/
.section_wrap{}

.normal_section{
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	line-height: 1.6;
	width: 94%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

/*****
リード
*****/
.bn_btn{
	border-radius: 1em;
	border: solid 4px #fff;
	box-shadow: 2px 2px 3px 3px rgba(0,0,0,0.2);
	transition: transform 0.5s;
}
.bn_btn:hover{
	transform: translateY(10px);
}


/*****
学生インタビュー
*****/
.interview_bg{
	background-image: url("../img/interview_bg.png");
	background-position: center top;
	background-size: 100% auto
}
.student_section{
	font-size: clamp(1.4rem,1.8vw,1.8rem);
	line-height: 1.6;
	width: 94%;
	max-width: 1000px;
	margin: 8em auto 0 auto;
	padding: 2em;
	border-radius: 0.5em;
	background-color: #fff;
	box-shadow: 0 0 4px 4px rgba(159,238,216,0.5);
	position: relative;
}
.interview_bg .student_section:first-of-type{
	margin-top: 0;
}

.student_section::before{
	content: '';
	display: block;
	aspect-ratio: 334 / 318;
	max-width: 334px;
	background-image: url("../img/icon_sakura.png");
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
}

.ttl_type01{
	font-size: clamp(1.6rem,2.8vw,2.8rem);
	color: #14367b;
	margin-bottom: 1em;
	padding-left: 2em;
	position: relative;
	z-index: 3;
}

.cover_img{
	text-align: center;
	position: relative;
	z-index: 1;
}

.student_cmnt{
	display: flex;
	justify-content: space-between;
}
.student_cmnt .txt_area{}
.student_cmnt .sub_img{
	flex-shrink: 0;
	width: 20%;
	margin-left: 2em;
}

.name{
	font-size: clamp(1.6rem,2vw,2rem);
}
.readmore{
	display: inline-block;
	margin-left: 0.5em;
}
.btn_readmore{
	line-height: 1;
	text-align: right;
}
.btn_readmore a{
	display: inline-block;
	color: #ec5371;
	padding: 0.5em 2em;
	border: solid 1px #ec5371;
	border-radius: 1em;
	background-color: #fff;
	position: relative;
	transition: background 0.5s;
}
.btn_readmore a:hover{
	text-decoration: none;
	background-color: #fffce0;
}
.btn_readmore a::before{
	content: '';
	display: block;
	width: 0.5em;
	height: 0.75em;
	background-color: #ec5371;
	clip-path: polygon(0 0,2px 0,100% 50%,2px 100%,0 100%,calc(100% - 2px) 50%);
	position: absolute;
	top: 50%;
	left: 1em;
	transform: translateY(-50%);
	transition: left 0.5s;
}
.btn_readmore a:hover::before{
	left: calc(100% - 1.5em);
}

/*****
合格者のインタビューその他
*****/
.ttl_type02{
	font-size: clamp(1.6rem,2.4vw,2.4rem);
	text-align: center;
	margin-bottom: 1em;
	padding: 0.5em 3em;
	border: solid 1px #ec5371;
	border-radius: 0.5em;
	position: relative;
}
.ttl_type02::before,
.ttl_type02::after{
	content: '';
	display: block;
	aspect-ratio: 1 / 1;
	width: 3.5em;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
}
.ttl_type02::before{
	background-image: url("../img/ttl_type02_bg_lt.png");
	top: -0.5em;
	left: -0.5em;
}
.ttl_type02::after{
	background-image: url("../img/ttl_type02_bg_rb.png");
	bottom: -0.5em;
	right: -0.5em;
}

.bn_gakuwari{
	filter: drop-shadow(2px 2px 3px rgba(0,0,0,0.2));
	transition: transform 0.5s;
}
.bn_gakuwari:hover{
	transform: translateY(10px);
}

.article_list{
	font-size: 1.4rem;
}

/* ===========================================
	MediaQueries
=========================================== */
/* PC----------------------------- */
@media screen and (min-width: 768px){
	/*****
	記事ヘッダー
	*****/
	#page_header h1{
		width: 77.5%;
	}
	
	/*****
	記事内容
	*****/
	.section_wrap{
		padding: 6em 0;
	}
	
	/*****
	リード
	*****/
	/*****
	学生インタビュー
	*****/
	.student_section::before{
		width: 33.5%;
		transform: translate(-25%,-25%);
	}
	
}

/* スマホ----------------------------- */
@media screen and (max-width: 767px){
	/*****
	記事ヘッダー
	*****/
	#page_header h1{
		width: 90%;
	}
	
	/*****
	記事内容
	*****/
	.section_wrap{
		padding: 3em 0;
	}
	
	/*****
	リード
	*****/
	/*****
	学生インタビュー
	*****/
	.student_section{
		margin: 3em auto 0 auto;
		padding: 1em;
	}
	.student_section::before{
		width: 30%;
		transform: translate(-20%,-20%);
	}
	
	.student_cmnt .sub_img{
		width: 25%;
		margin-left: 1em;
		padding-top: 2.5em;
	}
	
}