/* --------------------------------------------------------------------------------------
   当社の魅力
--------------------------------------------------------------------------------------- */

.page-features .key-sub { background-image: url(../../img/recruit/features/key_image.jpg); }

.page-features .pankuzu,
.page-features .pankuzu a { color: #fff; }

.page-features .pankuzu > span::before { background-color: #fff; }

.page-features main { overflow: hidden; }

.features-wrap {
	margin-top: -54px;
	overflow: hidden;
	padding-top: 54px;
}

.features-wrap .lead {
	padding-bottom: 220px;
	padding-top: 80px;
	width: 1200px;
}

.features-wrap .lead::before {
	border-bottom: 96px solid rgba(255, 255, 255, .2);
	border-left: 96px solid rgba(255, 255, 255, .2);
	border-radius: 0 0 0 126px;
	content: '';
	height: 403px;
	left: -240px;
	position: absolute;
	top: -50px;
	width: 1480px;
	z-index: -1;
}

.features-wrap .lead::after {
	background-color: rgba(255, 255, 255, .2);
	border-radius: 0 126px 0 0;
	content: '';
	height: 403px;
	position: absolute;
	right: -136px;
	top: 257px;
	width: 96px;
	z-index: -1;
}

.features-wrap .lead ol {
	counter-reset: number 0;
	display: flex;
	justify-content: center;
	margin-top: 66px;
}

.features-wrap .lead li {
	align-items: center;
	background-color: #fff;
	border-radius: 100vw;
	display: flex;
	flex-direction: column;
	font-size: 2rem;
	font-weight: 700;
	height: 220px;
	justify-content: center;
	margin-left: 25px;
	text-align: center;
	width: 220px;
}

.features-wrap .lead li:first-child { margin-left: 0; }

.features-wrap .lead li::before {
	content: '0' counter(number);
	counter-increment: number 1;
	font-family: 'Barlow', sans-serif;
	font-size: 4.8rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 5px;
}

.features-details { background-color: #fff;}

.features-details-inner {
	background-color: #fff;
	border-radius: 32px 32px 0 0;
	counter-reset: number 0;
	margin-bottom: -120px;
	padding: 80px 140px 96px;
	position: relative;
	top: -120px;
	width: 1280px;
}

.features-details-inner section {
	display: flex;
	flex-direction: column;
	justify-content: center;
	margin-top: 60px;
	min-height: 400px;
	padding-left: 430px;
	position: relative;
}

.features-details-inner section::after {
	bottom: 0;
	clear: both;
	content: '';
	display: block;
	left: 0;
	position: absolute;
}

.features-details-inner section:nth-of-type(1) { margin-top: 0; }

.features-details-inner section picture,
.features-details-inner section .image {
	border-radius: 0 32px 0 32px;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
}

.features-details-inner section .image {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 400px;
	width: 400px;
}

.features-details-inner section .image a {
	display: block;
	height: 100%;
	width: 100%;
}

.features-details-inner section h2 {
	font-size: 3rem;
	font-weight: 700;
	letter-spacing: 1px;
	padding-left: 110px;
	position: relative;
}

.features-details-inner section h2::before {
	content: '0' counter(number)'.';
	counter-increment: number 1;
	font-family: 'Barlow', sans-serif;
	font-size: 7.2rem;
	font-weight: 800;
	left: 0;
	line-height: 1;
	margin-bottom: 5px;
	position: absolute;
	top: -25px;
}

.features-details-inner section p,
.features-details-inner section dl {
	line-height: 1.7;
	margin-top: 28px;
}

.features-details-inner section dt {
	font-size: 1.8rem;
	font-weight: 800;
	margin-bottom: 6px;
}

.features-details-inner section:nth-child(even) {
	padding-left: 0;
	padding-right: 430px;
}

.features-details-inner section:nth-child(even) picture {
	left: auto;
	right: 0;
}

.features-details-inner::before {
	border-radius: 0 126px 0 0;
	border-right-style: solid;
	border-right-width: 96px;
	border-top-style: solid;
	border-top-width: 96px;
	bottom: 0;
	content: '';
	display: block;
	height: 1010px;
	left: -100%;
	position: absolute;
	width: 100%;
	z-index: -1;
}

.features-details-inner::after {
	border-left: 96px solid #ebebeb;
	border-radius: 126px 0 0 0;
	border-top: 96px solid #ebebeb;
	bottom: 0;
	content: '';
	display: block;
	height: 365px;
	position: absolute;
	right: calc(-100% + 440px);
	width: 100%;
	z-index: -1;
}

.features-details-inner .corner {
	border-bottom-style: solid;
	border-bottom-width: 96px;
	border-left-style: solid;
	border-left-width: 96px;
	border-radius: 0 0 0 126px;
	content: '';
	display: block;
	height: 824px;
	position: absolute;
	right: -100%;
	top: 120px;
	width: 100%;
	z-index: -1;
}

@media (max-width: 1000px) {

	.page-features .key-sub { background-image: url(../../img/recruit/features/key_image_sp.jpg); }

	.features-wrap .lead {
		padding-bottom: 11.733vw;
		padding-top: 12vw;
		width: auto;
	}

	.features-wrap .lead::before {
		border-radius: 0 0 0 16.8vw;
		border-width: 12.8vw;
		height: 109.133vw;
		left: 2.267vw;
		top: -9.333vw;
		width: 82.667vw;
	}

	.features-wrap .lead::after {
		border-radius: 0 16.8vw 0 0;
		border-width: 12.8vw;
		height: 109.2vw;
		right: 2.267vw;
		top: 88.133vw;
		width: 12.8vw;
	}

	.features-wrap .lead ol {
		flex-wrap: wrap;
		justify-content: space-between;
		margin: 8vw 4.267vw auto;
	}

	.features-wrap .lead li {
		font-size: 4.8vw;
		height: 44vw;
		margin-left: 0;
		width: 44vw;
	}

	.features-wrap .lead li::before {
		font-size: 11.467vw;
		margin-bottom: 2.733vw;
	}

	.features-wrap .lead li:nth-child(n+3) { margin-top: 2.933vw; }

	.features-details-inner {
		margin-bottom: 0;
		padding: 13.333vw 4.267vw 12vw;
		top: auto;
		width: auto;
	}

	.features-details-inner section {
		margin-top: 13.333vw;
		overflow: inherit;
		padding-left: 0;
	}

	.features-details-inner section:nth-child(even) { padding-right: 0; }

	.features-details-inner section h2 {
		font-size: 7.2vw;
		order: 1;
		padding-left: 24.333vw;
	}

	.features-details-inner section h2::before {
		font-size: 16vw;
		top: calc(50% - 10.333vw);
	}

	.features-details-inner section picture,
	.features-details-inner section .image {
		border-radius: 0 4.267vw 0 4.267vw;
		margin-top: 5.6vw;
		order: 2;
		position: relative;
	}

	.features-details-inner section .image {
		height: 51.467vw;
		width: 100%;
	}

	.features-details-inner section p,
	.features-details-inner section > div { order: 3; }

	.features-details-inner section p,
	.features-details-inner section dl { margin-top: 4vw; }

	.features-details-inner section dt { font-size: 4.267vw; }

	.features-details-inner .corner {
		border-radius: 0 0 0 16.8vw;
		border-width: 12.8vw;
		height: 115.2vw;
		right: 0;
		top: 0;
		width: 39.467vw;
	}

	.features-details-inner::before {
		border-radius: 0 16.8vw 0 0;
		border-width: 12.8vw;
		bottom: 0;
		height: 157.867vw;
		left: 0;
		width: 25.733vw;
	}

	.features-details-inner::after {
		border-radius: 16.8vw 0 0 0;
		border-width: 12.8vw;
		bottom: 0;
		height: 39.733vw;
		right: 0;
		width: 34.933vw;
	}
}