/* Recruiting top: working environment highlights. */
/* Keep the hover photo over the portrait whenever .box-pc is visible (768px+). */
#mainvisual .target a {
	display: block;
	position: relative;
}

#mainvisual .target a img.surface {
	transform: rotateY(0deg);
	transition: transform 300ms 150ms;
}

#mainvisual .target a img.reverse {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	transform: rotateY(90deg);
	transition: transform 300ms;
}

@media screen and (min-width: 768px) {
	#mainvisual .target a:hover img.surface {
		transform: rotateY(90deg);
		transition: transform 300ms;
	}

	#mainvisual .target a:hover img.reverse {
		transform: rotateY(0deg);
		transition: transform 300ms 150ms;
	}
}

#recruiting.index #box-environment .environment-highlights {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	max-width: 1000px;
}

#recruiting.index #box-environment ul.environment-highlights.flex > li {
	box-sizing: border-box;
	width: auto;
	min-width: 0;
	min-height: 340px;
	margin: 0;
	padding: 28px 18px 30px;
	border: 1px solid #e5eaf0;
	border-radius: 14px;
	background: #f8fafc;
}

#recruiting.index #box-environment ul.environment-highlights.flex > li::before {
	content: none !important;
	display: none !important;
}

#recruiting.index #box-environment .environment-highlight-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 118px;
	height: 118px;
	margin: 0 auto 20px;
	border-radius: 30px;
	background: #e9eef5;
}

#recruiting.index #box-environment .environment-highlight-icon img {
	display: block;
	width: 82px;
	height: 82px;
}

#recruiting.index #box-environment ul.environment-highlights.flex > li div.j {
	min-height: 48px;
	font-size: 21px;
	line-height: 1.3;
}

#recruiting.index #box-environment ul.environment-highlights.flex > li div.j .small {
	font-size: 14px;
}

#recruiting.index #box-environment ul.environment-highlights.flex > li div.e {
	font-size: 56px;
	line-height: 1.1;
}

#recruiting.index #box-environment ul.environment-highlights.flex > li div.e .small {
	font-size: 21px;
}

#recruiting.index #box-environment ul.environment-highlights.flex > li p {
	line-height: 1.6;
}

/* Match the application mail icon to the thin Tabler icons above. */
#recruiting.index #box-application p.main::before {
	content: none !important;
	display: none !important;
}

#recruiting.index #box-application .application-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 118px;
	height: 118px;
	margin: 0 auto 20px;
	border-radius: 30px;
	background: #e9eef5;
}

#recruiting.index #box-application .application-icon img {
	display: block;
	width: 82px;
	height: 82px;
}

@media screen and (min-width: 768px) {
	#recruiting.index #box-application .application-icon {
		background: #fff;
	}
}

@media screen and (max-width: 767px) {
	#recruiting.index #box-environment .environment-highlights {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	#recruiting.index #box-environment ul.environment-highlights.flex > li {
		min-height: 0;
		padding: 24px 18px 28px;
	}

	#recruiting.index #box-environment .environment-highlight-icon {
		width: 106px;
		height: 106px;
		margin-bottom: 18px;
		border-radius: 27px;
	}

	#recruiting.index #box-environment .environment-highlight-icon img {
		width: 74px;
		height: 74px;
	}

	#recruiting.index #box-environment ul.environment-highlights.flex > li div.j {
		min-height: 0;
		font-size: 20px;
	}

	#recruiting.index #box-environment ul.environment-highlights.flex > li div.j .small {
		font-size: 13px;
	}

	#recruiting.index #box-environment ul.environment-highlights.flex > li div.e {
		font-size: 48px;
	}

	#recruiting.index #box-environment ul.environment-highlights.flex > li div.e .small {
		font-size: 18px;
	}

	#recruiting.index #box-environment p.box-btn {
		margin-top: 40px;
	}

	#recruiting.index #box-application .application-icon {
		width: 106px;
		height: 106px;
		margin-bottom: 18px;
		border-radius: 27px;
	}

	#recruiting.index #box-application .application-icon img {
		width: 74px;
		height: 74px;
	}
}
