@charset "utf-8";

/* ============================================================
   働く環境 専用スタイル
============================================================ */
/* ─────────────────────────
   下層：最下部導線
───────────────────────── */
.rec-au-foot-item.about, .rec-au-foot-item.environment {
	display: none;
}

/* ─────────────────────────
   リード文
───────────────────────── */
.intro-area .icon-ttl-box {
	display: flex;
	gap: 10px;
	margin: 0 0 20px;
}

.intro-area .icon-ttl {
	font-size: 1.8rem;
	font-weight: 600;
	color: #fff;
	background: var(--main);
	width: fit-content;
	padding: 0 10px;
}

.intro-area .contents-catch {
	margin: 0 0 20px;
}

.intro-area .outline-area {
	margin: 40px 0 0;
}

@media screen and (max-width: 768px) {
	.intro-area .icon-ttl-box {
		gap: 5px;
		margin: 0 0 15px;
	}

	.intro-area .icon-ttl {
		font-size: 1.5rem;
		padding: 0 10px;
	}

	.intro-area .contents-catch {
		margin: 0 0 10px;
	}

	.intro-area .outline-area {
		margin: 30px 0 0;
	}
}

/* ─────────────────────────
   2. Charm 働く魅力
───────────────────────── */
.rec-env-charm-area {
	padding: 80px 0 50px;
}

.rec-env-charm-item {
	display: flex;
	gap: 0 50px;
	align-items: center;
	margin: 0 0 60px;
}

.rec-env-charm-img {
	width: 600px;
	height: 350px;
}

.rec-env-charm-img img {}

.rec-env-charm-body {
	flex: 1;
}

.rec-env-charm-num {
	font: italic 700 1.8rem/1 var(--en);
	color: var(--main);
	letter-spacing: .1em;
	display: block;
	position: absolute;
	top: -15px;
	z-index: 1;
}

.rec-env-charm-num .in {
	width: fit-content;
	background: #fff;
	margin: 0 10px 0 0;
	padding: 0 10px 0 0;
}

.rec-env-charm-num .num {
	font-size: 2.7rem;
	letter-spacing: -.02em;
}

.rec-env-charm-body .contents-ttl {
	font-size: 2.7rem;
	font-weight: bold;
	letter-spacing: .04em;
	line-height: 1.5;
	margin: 35px 0 20px;
}

.rec-env-charm-body .txt {
	line-height: 2;
}

@media screen and (max-width: 768px) {
	.rec-env-charm-area {
		padding: 50px 20px 10px;
	}

	.rec-env-charm-item {
		display: block;
		margin: 0 0 40px;
	}

	.rec-env-charm-img {
		width: 100%;
		height: 220px;
	}

	.rec-env-charm-img img {}

	.rec-env-charm-body {
		padding: 20px 0 0;
	}

	.rec-env-charm-num {
		font-size: 1.6rem;
		top: -13px;
	}

	.rec-env-charm-num .num {
		font-size: 2rem;
	}

	.rec-env-charm-body .contents-ttl {
		font-size: 2.4rem;
		margin: 20px 0 15px;
	}

	.rec-env-charm-body .txt {}
}

/* ─────────────────────────
   3. System&Benefits 制度・福利厚生
───────────────────────── */
.rec-env-system-area {
	background: var(--rec-bg);
	padding: 100px 0;
}

/* 各ブロック共通カード */
.rec-env-sys-block {
	background: #fff;
	padding: 40px 45px;
	margin: 40px 0 0;
	gap: 50px;
	display: flex;
}

.rec-env-sys-body {
	flex: 1;
}

.rec-env-sys-ttl {
	font-size: 2.5rem;
	font-weight: bold;
	letter-spacing: .04em;
	color: var(--main);
}

.rec-env-subcatch {
	font-size: 2.2rem;
	font-weight: bold;
	letter-spacing: .04em;
	line-height: 1.5;
	margin: 0 0 30px;
}

/* ── 教育制度・評価制度 ── */
.rec-env-edu-list {
	display: flex;
	gap: 0 30px;
}

.rec-env-edu-item {
	flex: 1;
}

.rec-env-edu-img {
	width: 100%;
	height: 215px;
	position: relative;
}

.rec-env-edu-name {
	position: absolute;
	left: 0;
	bottom: 0;
	font-size: 2.3rem;
	font-weight: bold;
	background: #fff;
	width: fit-content;
	padding: 15px 15px 5px 5px;
	line-height: 1.3;
}

.rec-env-edu-body {
	padding: 20px 0 0 0;
}

.rec-env-edu-txt {
	font-size: 1.6rem;
	line-height: 1.8;
	letter-spacing: .04em;
}

/* ── 福利厚生：タグ＋特別カード ── */
.rec-env-benefit-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 30px;
}

.rec-env-benefit-tags span {
	font-size: 1.6rem;
	padding: 5px 10px;
	border: 1px var(--sub) solid;
	line-height: 1.5;
}

.rec-env-benefit-cards {
	display: flex;
	gap: 30px;
}

.rec-env-benefit-card {
	flex: 1;
	display: flex;
	gap: 0 20px;
	border: 1px var(--sub) solid;
	padding: 20px;
}

.rec-env-benefit-card-img {
	width: 110px;
	height: 140px;
}

.rec-env-benefit-card-body {
	flex: 1;
}

.rec-env-benefit-card-ttl {
	font-size: 1.8rem;
	font-weight: bold;
	letter-spacing: .04em;
	margin: 0 0 10px;
	line-height: 1.6;
}

.rec-env-benefit-card-txt {
	font-size: 1.5rem;
	line-height: 1.7;
}

@media screen and (max-width: 768px) {
	.rec-env-system-area {
		padding: 50px 20px;
	}

	/* 各ブロック共通カード */
	.rec-env-sys-block {
		padding: 20px;
		margin: 20px 0 0;
		display: block;
	}

	.rec-env-sys-ttl {
		font-size: 2.4rem;
		margin: 0 0 20px;
		line-height: 1.4;
	}

	.rec-env-subcatch {
		font-size: 2rem;
		margin: 0 0 15px;
	}

	/* ── 教育制度・評価制度 ── */
	.rec-env-edu-list {
		flex-wrap: wrap;
		gap: 30px 0;
		flex-direction: column;
	}

	.rec-env-edu-img {
		aspect-ratio: 460/215;
		height: auto;
	}

	.rec-env-edu-img.ill img {
		object-fit: contain;
	}

	.rec-env-edu-name {
		padding: 15px 15px 5px 5px;
		font-size: 2rem;
	}

	.rec-env-edu-body {
		padding: 15px 0 0 0;
	}

	/* ── 福利厚生：タグ＋特別カード ── */
	.rec-env-benefit-tags {
		gap: 5px;
		margin: 0 0 20px;
	}

	.rec-env-benefit-tags span {
		font-size: 1.4rem;
		padding: 3px 8px;
		font-weight: 500;
	}

	.rec-env-benefit-cards {
		display: block;
	}

	.rec-env-benefit-card {
		gap: 0 15px;
		padding: 10px;
		margin: 10px 0 0;
	}

	.rec-env-benefit-card-img {
		aspect-ratio: 80/100;
		width: 80px;
		height:auto;
	}

	.rec-env-benefit-card-ttl {
		font-size: 1.6rem;
		margin: 0 0 5px;
	}

	.rec-env-benefit-card-txt {
		font-size: 1.4rem;
		line-height: 1.6;
	}
}

/* ─────────────────────────
   4. Factory 工場環境の魅力
───────────────────────── */
/* MV */
.rec-env-factory-mv {
	width: 100%;
	height: 440px;
	position: relative;
}

.rec-env-factory-mv img {}

.rec-env-factory-mv .txt-area {
	position: absolute;
	left: 0;
	background: #fff;
	bottom: 0;
	padding: 40px 40px 0 calc((100% - 1200px) / 2);
}

.rec-env-factory-mv .section-ttl-area {
	margin: 0 0 20px;
}

/* コンテンツ */
.rec-env-factory-area {
	padding: 100px 0 80px;
}

/* 特徴ブロック */
.rec-env-factory-features {
	display: flex;
	gap: 50px;
}

.rec-env-factory-feature {
	flex: 1;
	position: relative;
}

.rec-env-factory-feature:nth-child(even) {
	margin: 60px 0 0;
}

.rec-env-factory-feature-img {
	width: 100%;
	height: 370px;
}

.rec-env-factory-feature-body {
	background: #F1F6F9;
	padding: 30px;
}

.rec-env-factory-feature-body .txt {
	line-height: 2;
}

/* マーク */
.rotating-icon {
	position: absolute;
	width: 190px;
	height: 190px;
	display: flex;
	align-items: center;
	justify-content: center;
	left: -40px;
	top: -60px;
}

.rotating-icon::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: url(../img/recruit-env-fac-mark01.svg);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	animation: spin 12s linear infinite;
}

.rotating-icon.point02::before {
	background-image: url(../img/recruit-env-fac-mark02.svg);
}

.rotating-icon.point03::before {
	background-image: url(../img/recruit-env-fac-mark03.svg);
}

.rotating-icon span {
	position: relative;
	color: #fff;
	font-weight: bold;
	font-size: 1.8rem;
	text-align: center;
	line-height: 1.5;
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@media screen and (max-width: 768px) {

	/* MV */
	.rec-env-factory-mv {
		height: auto;
		position: static;
	}

	.rec-env-factory-mv img {
		aspect-ratio: 1600/850;
		height: auto!important;
		object-fit: unset!important;
	}

	.rec-env-factory-mv .txt-area {
		position: unset;
		padding: 30px 20px 0;
	}

	.rec-env-factory-mv .section-ttl-area {
		margin: 0 0 10px;
	}

	/* コンテンツ */
	.rec-env-factory-area {
		padding: 0 20px 50px;
	}

	/* 特徴ブロック */
	.rec-env-factory-features {
		display: block;
	}

	.rec-env-factory-feature, .rec-env-factory-feature:nth-child(even) {
		margin: 50px 0 0;
	}

	.rec-env-factory-feature-img {
		height: 220px;
	}

	.rec-env-factory-feature-body {
		padding: 20px;
	}

	.rec-env-factory-feature-body .txt {
		font-size: 1.5rem;
		line-height: 1.8;
	}

	/* マーク */
	.rotating-icon {
		width: 120px;
		height: 120px;
		left: -20px;
		top: -30px;
	}

	.rotating-icon span {
		font-size: 1.3rem;
	}
}

/* ─────────────────────────
   5. 写真で工場見学
───────────────────────── */
.rec-env-photo-area {
	padding: 0 0 30px;
}

.rec-env-photo-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto;
	width: 100%;
	gap: 40px;
}

.rec-env-photo-item {
	width: calc((100% - 80px) / 3);
	position: relative;
}

.rec-env-photo-item a {
	display: block;
}

.rec-env-photo-item .img {
	width: 100%;
	overflow: hidden;
	position: relative;
}

.rec-env-photo-item .img::after {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	content: "\f00e";
	font: 900 1.6rem / 1 var(--webicon);
	position: absolute;
	right: 8px;
	bottom: 8px;
	color: #fff;
	transition: all 0.3s ease-in-out;
}

.rec-env-photo-item .img img {
	width: 100%;
	height: 240px;
	transition-duration: 0.3s;
}

.rec-env-photo-item .txt {
	font-size: 1.4rem;
	line-height: 1.5;
	margin: 10px 0 0;
	color: #777;
}

@media screen and (min-width: 769px) {
	.rec-env-photo-item a:hover .img img {
		transform: scale(1.05);
		transition-duration: 0.3s;
	}
}

@media screen and (max-width: 768px) {
	.rec-env-photo-area {
		padding: 0 20px;
	}

	.rec-env-photo-grid {
		flex-wrap: wrap;
		gap: 20px 10px;
	}

	.rec-env-photo-item {
		width: calc((100% - 10px) / 2);
	}

	.rec-env-photo-item .img img {
		height: 120px;
	}

	.rec-env-photo-item .img::after {
		font-size: 1.4rem;
		right: 4px;
		bottom: 4px;
	}

	.rec-env-photo-item .txt {
		font-size: 1.2rem;
		margin: 5px 0 0;
	}
}