@charset "UTF-8";

/* page-recruiting_team_message 採用チームからのメッセージ
------------------------------*/
@media all and (max-width: 600px) {
	main.rec_team_message.under_layer .ttl_box p {
		width: 30%;
	}

	.rec_team_message .medium_ttl {
		display: block;
		margin-bottom: 40px;
	}

	.rec_team_message .medium_ttl h3 {
		width: 100%;
	}

	.rec_team_message .medium_ttl h3::before {
		content: none;
	}

	.rec_team_message .medium_ttl p {
		padding-left: 10px;
		margin-left: 40px;
	}

	.rec_team_message .medium_ttl p::before {
		width: 35px;
		height: 1px;
		background-color: #707070;
		position: absolute;
		top: 48%;
		left: -35px;
		z-index: -1;
	}

	.rec_team_message .medium_ttl p::after {
		content: "";
		width: 100%;
		height: 100%;
		background-color: #fff;
		position: absolute;
		top: 0;
		left: 0;
		z-index: -1;
	}
}

section.first_sec {
	display: flex;
	position: relative;
}

section.first_sec figure {
	width: 50vw;
	margin-right: calc(50% - 50vw);
	border-radius: 10px 0 0 10px;
	overflow: hidden;
	position: absolute;
	top: 0;
	right: -10px;
	z-index: 1;
}

section.first_sec figure span {
	max-width: 840px;
	border-radius: 10px;
	overflow: hidden;
}

section.first_sec div {
	width: 42%;
}

section.first_sec div h3 {
	font-size: 4rem;
	line-height: 1.4;
}

section.first_sec div h3 span.teko_l {
	display: inline-block;
	color: #2B71C0;
	font-size: 3rem;
	letter-spacing: 0.04em;
	position: relative;
	z-index: 10;
}

section.first_sec div h3 span.teko_l::before {
	content: "";
	width: 400%;
	height: 1px;
	background-color: #707070;
	position: absolute;
	top: 43%;
	left: 0;
	z-index: -1;
}

section.first_sec div h3 span.teko_l::after {
	content: "";
	width: 110%;
	height: 100%;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

section.first_sec div p {
	padding-top: 35px;
	font-size: 1.6rem;
	line-height: 1.8;
}

section.first_sec div p .note {
	display: block;
	padding-top: 1em;
	font-size: 14px;
}

@media all and (max-width: 900px) {
	div.first_sec_wrap {
		width: 100%;
	}

	section.first_sec {
		display: block;
	}

	section.first_sec figure {
		width: 100vw;
		margin-right: 0;
		border-radius: 0px;
		position: relative;
	}

	section.first_sec figure {
		right: 0;
	}

	section.first_sec figure span {
		display: block;
		max-width: 100%;
		border-radius: 0;
	}

	section.first_sec div {
		width: 87%;
		margin: 0 auto;
	}

	section.first_sec div h3 {
		padding-top: 25px;
	}
}

@media all and (max-width: 600px) {
	section.first_sec div h3 {
		font-size: 3rem;
	}

	section.first_sec div p {
		padding-top: 20px;
	}
}




/* メッセージリスト */
section.list_sec {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	padding-top: 110px;
}

/* @media all and (min-width: 1500px){
	section.list_sec{
		padding-top: 20%;
	}
} */

section.list_sec dl {
	width: 46%;
	border-radius: 10px;
	background-color: #F4F4F4;
	overflow: hidden;
	position: relative;
	z-index: 1;
}

section.list_sec dl dd {
	padding: 20px 5.5% 50px;
	background-color: #F4F4F4;
}

section.list_sec dl dd h4 {
	padding-bottom: 3px;
	border-bottom: 10px solid #FFDE26;
	font-size: 2.4rem;
}

section.list_sec dl dd p {
	padding-top: 10px;
	font-size: 1.6rem;
	line-height: 1.8;
}

@media all and (max-width: 900px) {
	section.list_sec {
		margin-bottom: 90px;
	}
}

@media all and (max-width: 600px) {
	section.list_sec {
		display: block;
		padding-top: 60px;
		margin-bottom: 60px;
	}

	section.list_sec dl {
		width: 100%;
		margin-top: 30px;
	}

	section.list_sec dl:first-of-type {
		margin-top: 0;
	}

	section.list_sec dl dd {
		padding: 20px 5.5% 20px;
	}

	section.list_sec dl dd h4 {
		padding-bottom: 5px;
		font-size: 2rem;
		border-bottom: 6px solid #FFDE26;
	}
}
