@charset "UTF-8";

/* ==========================================
 合格体験記 common
========================================== */

/* override
------------------------------------------ */

/* タイトル
--------------------------- */
#exp #contents_header {
	background-color: #ff0;
	background-image: url("../images/exp_ttl_bg.jpg");
}
#contents_header .title {
	background-image: url("/common/images/ttl_bg_story.png");
	background-size: 80px auto;
	padding-top: 6vw;
}

#contents_header .title h1 {
	line-height: 1.5;
}

@media only screen and (max-width: 1400px) {
	#contents_header .title {
		padding-top: 75px;
		background-size: 18% auto;
	}
}
@media only screen and (max-width: 767px) {
	#exp #contents_header {
		background-image: url("../images/exp_ttl_bg_sp.jpg");
	}
	#contents_header .title {
		padding-top: 13.5vw;
	}
}
@media only screen and (max-width: 480px) {
	#contents_header .title h1 .ttl_copy {
		font-size: 1.7rem;
	}
	#contents_header .title {
		padding-top: 14vw;
	}
}


#exp_page #contents_header {
	height: 290px;
	min-height: 290px;
	padding-top: 50px;
	background-color: #ff0;
	background-image: url("../images/exp_ttl_bg.jpg");
	background-size: auto;
	background-position: top right;
}
#exp_page #contents_header .title {
	height: 180px;
	padding-top: 85px;
	background-position: top 40px center;
}
@media only screen and (max-width: 1400px) {
	#exp_page #contents_header .title {
		padding-top: 85px;
	}
}
@media only screen and (max-width: 767px) {
	#exp_page #contents_header {
		height: 20vw;
		min-height: 290px;
		margin-bottom: max(8vw, 40px);
		padding-top: 55px;
		background-position: top center;
		background-size: cover;
	}
}
@media only screen and (max-width: 480px) {
	#exp_page #contents_header {
		height: 64vw;
		min-height: 240px;
		padding-top: 24vw;
		background-size: 100% auto;
	}
	#exp_page #contents_header .title {
		height: 120px;
		padding-top: 13vw;
		background-position: top 5vw center;
	}
}
@media only screen and (max-width: 400px) {
	#exp_page #contents_header {
	}
	#exp_page #contents_header .title {
		padding-top: 16vw;
		background-position: top 6.5vw center;
	}
}


.intro_txt {
	padding-bottom: 50px;
	text-align: center;
}
@media only screen and (max-width: 767px) {
	.intro_txt {
		padding-bottom: 2em;
		text-align: left;
	}
}


#exp_page .common_btn.back {
	padding: 0 50px 0 65px;
}



/* contents
------------------------------------------ */

/* 一覧
------------------------------------------ */
#exp_list_area {
	padding-top: 0;
}

#exp_list_area .exp_list {
	margin: 25px auto 0;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
.exp_list::after {
	display: block;
	content: "";
	width: 330px;
}
.exp_list > li {
	display: flex;
	flex-direction: column;
	width: 330px;
	margin: 0 0 60px;
	padding: 0 20px 20px;
	background-image: linear-gradient(90deg, #ff0 0%, #ff0 78%, #fff 78%, #fff 100%);
	box-sizing: border-box;
	position: relative;
}
.exp_list > li .exp_img {
	margin: 0 -20px;
}
.exp_list > li .exp_text_contents {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin-top: -45px;
	padding: 25px 25px 30px;
	background-color: #fff;
	z-index: 10;
}
.exp_list li .exp_ttl {
	margin-bottom: 0.6em;
	font-family: "Noto Serif JP";
	font-size: 1.9rem;
	font-weight: 700;
	line-height: 1.6;
}
.exp_list > li .exp_name {
	margin-bottom: 0.2em;
	display: block;
	font-size: 1.7rem;
	font-weight: 400;
}
.exp_list > li .exp_name img {
	padding-bottom: 0.3em;
}
.exp_list > li .exp_univ {
	margin-bottom: 1.2em;
	display: block;
	font-size: 1.7rem;
	font-weight: 400;
	line-height: 1.45;
}
.exp_list .more_btn_wrapper {
	margin-top: auto;
}
.exp_list > li .common_btn {
	height: 46px;
	font-size: 1.6rem;
	line-height: 46px;
}

@media only screen and (max-width: 1110px) {
	.exp_list > li {
		width: 32%;
	}
}
@media only screen and (max-width: 800px) {
	.exp_list > li {
		width: 48.5%;
		margin-bottom: 40px;
	}
	.exp_list > li {
		padding: 0 2.5vw 2.5vw;
	}
	.exp_list > li .exp_img {
		margin: 0 -2.5vw;
	}
	.exp_list > li .exp_text_contents {
		padding: 20px 20px 30px;
	}
}
@media only screen and (max-width: 480px) {
	.exp_list > li {
		width: 100%;
		padding: 0 3vw 3vw;
	}
	.exp_list > li .exp_img {
		margin: 0 -3vw;
	}
	.exp_list .common_btn {
		width: auto;
		height: 38px;
		padding: 0 20% 0 15%;
		font-size: 1.3rem;
		line-height: 38px;
	}
	.exp_list .common_btn::before,
	.exp_list .common_btn::after {
		right: 20px;
	}
}



/* メッセージ
------------------------------------------ */
#message {
	padding: 0 0 50px;
}
#message .wrapper_s {
	padding: 30px;
	position: relative;
}
#message .wrapper_s::before,
#message .wrapper_s::after {
	content: "";
	width: 240px;
	height: 240px;
	background-color: #ff0;
	position: absolute;
	z-index: 1;
}
#message .wrapper_s::before {
	top: 0;
	left: 0;
}
#message .wrapper_s::after {
	right: 0;
	bottom: 0;
}

.message_contents {
	width: 100%;
	margin: 0 auto;
	padding: 0;
	background-color: #fff;
	position: relative;
	z-index: 10;
}

.message_header {
	margin-right: -30px;
}
.message_header::after {
	clear: both;
	content: "";
	display: block;
	height: 0;
}

.message_header figure {
	float: left;
	width: min(34vw, 360px);
	/*flex-shrink: 0;*/
}

.message_header h2 {
	float: right;
	width: 600px;
	margin: 0.1em 0 1em;
	font-size: 3rem;
	font-family: 'Noto Serif JP';
	font-weight: 600;
	line-height: 1.8;
	letter-spacing: 0.02em;
}
.message_header .exp_name_wrapper {
	float: right;
	width: 600px;
}
.message_header .exp_name {
	display: block;
	margin-bottom: 5px;
	font-size: 2rem;
}
.message_header .exp_name img {
	margin-bottom: 6px;
}
.message_header .exp_univ {
	float: right;
	width: 600px;
	font-size: 2rem;
}

.message_contents .text {
	margin-bottom: 1em;
}
.message_contents .text_last {
	padding-bottom: 4em;
}

.message_contents .message_contents_inner {
	padding: 0 40px;
}

.message_contents .border_ttl {
	margin-top: 2.5em;
	margin-bottom: 1.3em;
	padding-bottom: 20px;
	font-size: 2.8rem;
	font-family: 'Noto Serif JP';
	font-weight: 600;
	line-height: 1.7;
	letter-spacing: 0.06em;
	text-align: center;
	position: relative;
}
.message_contents .border_ttl::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	margin: 0 auto;
	display: inline-block;
	width: 40px;
	height: 1px;
	background-color: #222;
}

.message_contents .profile {
	margin: 0;
	padding: 40px;
	border: 1px solid #222;
}
.message_contents .profile h3,
.message_contents .profile dt {
	margin-bottom: 0.5em;
}
.message_contents .profile figure {
	width: 200px;
	margin: 0 2em 1.5em 0;
}


@media only screen and (max-width: 1090px) {
	.message_header {
		margin-right: 0;
	}
	.message_header figure {
		width: 32vw;
	}
	.message_header h2 {
		width: 57vw;
		font-size: min(3vw, 3rem);
	}
	.message_header .exp_name_wrapper {
		width: 57vw;
	}
	.message_header .exp_univ {
		width: 57vw;
	}
	.message_contents .border_ttl {
		font-size: min(2.8vw, 2.6rem);
	}
}
@media only screen and (max-width: 768px) {
	#message .wrapper_s {
		padding: 25px;
	}
	.message_contents {
		padding: 0 0 50px 0;
	}
	
	.message_header {
		display: flex;
		flex-wrap: wrap;
	}
	.message_header::after {
		display: none;
	}
	
	.message_header figure {
		float: none;
		width: 45%;
		order: 1;
	}
	
	.message_header h2 {
		float: none;
		width: 100%;
		order: 0;
		padding: 1em;
		margin-bottom: 0;
		font-size: min(4.5vw, 2.8rem);
	}
	.message_header .exp_name_wrapper {
		float: none;
		width: 55%;
		padding: 3em 0 0 30px;
		order: 2;
	}
	.message_header .exp_name img {
		width: auto;
		height: 18px;
	}
	.message_header .exp_univ {
		float: none;
		width: 100%;
		font-size: 1.8rem;
	}
	.message_contents .border_ttl {
		font-size: 2.6rem;
	}
}
@media only screen and (max-width: 480px) {
	#message .wrapper_s {
		padding: 6.6vw 3vw 0 6.6vw;
	}
	#message .wrapper_s::before {
		width: 76.6vw;
		height: 100%;
	}
	#message .wrapper_s::after {
		display: none;
	}
	.message_contents {
		padding: 0 0 30px;
	}
	.message_header {
		margin-left: -2vw;
	}
	.message_header h2 {
		padding: 1em 0 1.2em 0;
		font-size: 2.3rem;
	}
	.message_header figure {
		width: 100%;
	}
	.message_header .exp_name_wrapper {
		width: 100%;
		min-height: 20vw;
		padding: 1.5em 0 0.5em 0;
	}
	
	.message_contents .message_contents_inner {
		margin-left: -2vw;
		padding: 0;
	}
	.message_contents .border_ttl {
		margin-left: -2vw;
		font-size: 2.1rem;
		line-height: 1.6;
	}
	.message_contents .text,
	.message_contents .text_last {
		line-height: 1.7;
	}
}
@media only screen and (max-width: 380px) {
	.message_header h2 {
		padding: 0.5em 0 0.8em 0;
		line-height: 1.5;
	}
}


