@charset "utf-8";
/* ==================================================
   募集要項ページ
   基本設定 → 画面幅別の調整 → パーツ別の追加調整の順。
   同じ指定が複数ある場合は、後にある条件・指定も確認する。
   読み込み順と編集先の一覧：README.md「CSSの修正方法」
================================================== */
/* File: job.css | Update: 2026-10-27 */
.pageJob {
	--job-blue: #0c5085;
}

.pageJob .companyTitle {
	color: #fff;
}

.pageJob .companyTitle > span[lang="en"] {
	text-shadow: 0 1px 6px rgb(4 0 0 / 18%);
}

.pageJob .heroPhoto > img {
	top: auto;
	bottom: 0;
	height: auto;
	min-height: min(36vw, 468px);
}

/* --- 導入見出し --- */
.jobIntroduction {
	width: var(--content-width);
	margin: 0 auto;
	padding: 60px 0 40px;
}

.jobIntroduction h1 > span:first-child {
	display: block;
	color: var(--job-blue);
	font-family: "Fraunces", var(--font-serif);
	font-size: 3.75rem;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: .03em;
}

.jobIntroduction h1 > span:last-child {
	display: block;
	padding-top: 18px;
	font-family: "Zen Kaku Gothic New", var(--font-jp);
	font-size: 1.2rem;
	font-weight: 700;
}

.jobBackground {
	padding: 64px 0 180px;
	background: url("../recruitment/job/img/bg_diagonal.svg") repeat;
}

.jobInner {
	width: var(--content-width);
	margin: 0 auto;
}

.jobLead {
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2;
}

.jobLead > .mplusCondensed {
	letter-spacing: .07em;
}

/* --- 職種を選ぶボタン --- */
.jobNavigationArea {
	position: relative;
	isolation: isolate;
	margin-top: 96px;
}

.jobBackdrop {
	position: absolute;
	top: 0;
	left: calc((100% - 100vw) / 2);
	z-index: -1;
	width: 100vw;
	overflow: hidden;
	color: var(--job-blue);
	opacity: .12;
	font-family: "Fraunces", var(--font-serif);
	font-size: 22rem;
	font-weight: 800;
	line-height: 1;
	pointer-events: none;
}

.jobBackdropTrack {
	display: flex;
	width: max-content;
	animation: jobBackdropSlide 80s linear infinite;
	animation-delay: -40s;
}

.jobBackdropTrack > span {
	flex: 0 0 auto;
	min-width: 100vw;
	padding-right: .15em;
	white-space: nowrap;
}

.jobNavigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 54px;
	max-width: 840px;
}

.jobNavigation a {
	--job-button-depth: 8px;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	padding: 16px 20px;
	border: 4px solid var(--job-blue);
	background: #fff;
	box-shadow: var(--job-button-depth) var(--job-button-depth) 0 var(--ink);
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 1.8125rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
	transition: transform .12s ease-out, box-shadow .12s ease-out;
}

.jobNavigation a:active {
	transform: translate(var(--job-button-depth), var(--job-button-depth));
	box-shadow: 0 0 0 var(--ink);
}

.jobNavigation a > span {
	flex: 1;
	min-width: 0;
}

.jobNavigation a > img {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
}

.jobRoles {
	margin-top: 200px;
}

.jobRole {
	position: relative;
	scroll-margin-top: 32px;
}

.jobRole + .jobRole {
	margin-top: 148px;
}

.jobRoleTitle {
	display: flex;
	align-items: center;
	width: min(100%, 476px);
	min-height: 96px;
	margin: 0;
	padding: 14px 32px;
	border: 4px solid var(--ink);
	border-radius: 60px;
	background: var(--job-blue);
	color: #fff;
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.5;
}

.jobSummary, .jobDuty p {
	font-family: "Noto Sans JP", var(--font-jp);
	font-size: 1.0625rem;
	font-weight: 400;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.jobSummary {
	margin-top: 48px;
}

.jobDuties {
	margin-top: 76px;
}

.jobDuty + .jobDuty {
	margin-top: 64px;
}

.jobDuty h3 {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 1.8125rem;
	font-weight: 700;
	line-height: 1.5;
}

.jobDuty h3 > img {
	flex: 0 0 42px;
	width: 42px;
	height: 42px;
}

.jobDutyLabel {
	min-width: 0;
	padding: 2px 24px;
	border: 4px solid var(--job-blue);
	background: #fff;
	color: var(--job-blue);
}

.jobDuty p {
	margin-top: 26px;
	padding-left: 12px;
}

.jobRolePhoto {
	position: absolute;
	right: -68px;
	width: 410px;
	aspect-ratio: 1;
	border: 12px solid var(--job-blue);
	border-radius: 50%;
}

.jobConstruction .jobRolePhoto {
	top: 640px;
}

.jobConstruction .jobDuty:nth-child(n+3), .jobElectrician .jobDuty {
	max-width: 55%;
}

.jobElectrician .jobRolePhoto {
	top: 250px;
}

.jobPlant {
	min-height: 410px;
}

.jobPlant .jobSummary {
	max-width: 55%;
}

.jobPlant .jobRolePhoto {
	top: -65px;
}

.jobBenefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 140px;
}

.jobBenefits dt {
	padding: 18px;
	background: var(--job-blue);
	color: #fff;
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

.jobBenefits dd {
	padding-top: 20px;
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
}

/* 画面幅・操作環境の条件：screen and (min-width: 897px) and (max-width: 1199px) */
@media screen and (min-width: 897px) and (max-width: 1199px) {
	.jobIntroduction, .jobInner {
		width: 86%;
	}

	.jobNavigation a {
		font-size: 1.5rem;
	}

	.jobNavigation {
		gap: 36px;
	}

	.jobRolePhoto {
		right: -20px;
		width: 34%;
		border-width: 10px;
	}

	.jobConstruction .jobDuty:nth-child(n+3), .jobElectrician .jobDuty, .jobPlant .jobSummary {
		max-width: 62%;
	}

	.jobDuty h3 {
		gap: 10px;
		font-size: 1.5rem;
	}

	.jobDutyLabel {
		padding-right: 16px;
		padding-left: 16px;
	}

	.jobRoleTitle {
		font-size: 2.125rem;
	}

}

/* 画面幅・操作環境の条件：screen and (max-width: 896px) */
@media screen and (max-width: 896px) {
	.pageJob .heroPhoto > img {
		min-height: 260px;
	}

	.jobIntroduction {
		width: 86%;
		padding: 32px 0;
	}

	.jobIntroduction h1 > span:first-child {
		font-size: clamp(1.75rem, 7.3vw, 2.875rem);
	}

	.jobIntroduction h1 > span:last-child {
		padding-top: 12px;
	}

	.jobBackground {
		padding: 40px 0 80px;
		background-size: 36px 36px;
	}

	.jobInner {
		width: 86%;
		max-width: 640px;
	}

	.jobLead {
		font-size: 1rem;
		line-height: 1.9;
	}

	.jobNavigationArea {
		margin-top: 48px;
	}

	.jobBackdrop {
		top: 20px;
		font-size: 9rem;
	}

	.jobNavigation {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.jobNavigation a {
		--job-button-depth: 5px;
		padding: 12px 18px;
		border-width: 3px;
		font-size: 1.125rem;
	}

	.jobNavigation a > img {
		flex-basis: 24px;
		width: 24px;
		height: 24px;
	}

	.jobRoles {
		margin-top: 88px;
	}

	.jobRole + .jobRole {
		margin-top: 80px;
	}

	.jobRoleTitle {
		width: 100%;
		min-height: 66px;
		padding: 12px 20px;
		border-width: 3px;
		font-size: clamp(1.25rem, 5.5vw, 1.5rem);
	}

	.jobSummary, .jobDuty p {
		font-size: 1rem;
		line-height: 1.9;
	}

	.jobSummary {
		margin-top: 28px;
	}

	.jobDesktopBreak {
		display: none;
	}

	.jobDuties {
		margin-top: 40px;
	}

	.jobDuty + .jobDuty {
		margin-top: 36px;
	}

	.jobDuty h3 {
		gap: 8px;
		font-size: 1.125rem;
	}

	.jobDuty h3 > img {
		flex-basis: 28px;
		width: 28px;
		height: 28px;
	}

	.jobDutyLabel {
		padding: 4px 12px;
		border-width: 3px;
	}

	.jobDuty p {
		margin-top: 18px;
		padding-left: 0;
	}

	.jobConstruction .jobDuty:nth-child(n+3), .jobElectrician .jobDuty, .jobPlant .jobSummary {
		max-width: none;
	}

	.jobRole .jobRolePhoto {
		position: relative;
		top: auto;
		right: auto;
		width: min(72%, 300px);
		margin: 36px auto 0;
		border-width: 8px;
	}

	.jobPlant {
		min-height: 0;
	}

	.jobBenefits {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		margin-top: 64px;
	}

	.jobBenefits dt {
		padding: 14px;
		font-size: 1.5rem;
	}

	.jobBenefits dd {
		padding-top: 14px;
		font-size: 1.125rem;
	}

}

/* 画面幅・操作環境の条件：(prefers-reduced-motion: reduce) */
@media (prefers-reduced-motion: reduce) {
	.jobNavigation a {
		transition: none;
	}

}

/* PCでは指定した文章のまとまりを保ち、写真と重ならない幅を確保する。 */
/* 画面幅・操作環境の条件：screen and (min-width: 1200px) */
@media screen and (min-width: 1200px) {
	.jobElectrician .jobDuty:nth-child(2) {
		max-width: 58%;
	}

	.jobPlant .jobSummary {
		max-width: 620px;
	}

	.jobPlant .jobRolePhoto {
		right: -144px;
		width: clamp(330px, calc(100vw - 870px), 410px);
	}

}

@keyframes jobBackdropSlide {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}

}

/* 画面幅・操作環境の条件：(prefers-reduced-motion: reduce) */
@media (prefers-reduced-motion: reduce) {
	.jobBackdropTrack {
		animation: none;
	}

}
