@charset "utf-8";
/* ==================================================
   採用フローページ
   基本設定 → 画面幅別の調整 → パーツ別の追加調整の順。
   同じ指定が複数ある場合は、後にある条件・指定も確認する。
   読み込み順と編集先の一覧：README.md「CSSの修正方法」
================================================== */
/* File: flow.css | Version: 1.1.0 | Update: 2026-10-23 */
.pageFlow {
	--flow-blue: #0c5085;
	--flow-wave-width: max(100vw, 2000px);
}

.pageFlow .companyTitle {
	color: #fff;
}

/* --- 導入文と背景の波 --- */
.flowIntroduction {
	position: relative;
	min-height: 620px;
	padding-top: 60px;
}

.flowIntroInner {
	position: relative;
	z-index: 1;
	width: var(--content-width);
	margin: 0 auto;
}

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

.flowIntroInner 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;
}

.flowLead {
	padding-top: 130px;
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 2;
	letter-spacing: .06em;
}

.flowWave {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: calc(var(--flow-wave-width) * .3);
	background: url("../recruitment/flow/img/thick-line-loop.svg?v=20261112-3") repeat-x center top / var(--flow-wave-width) 100%;
	animation: flowWaveSlide 45s linear infinite;
	pointer-events: none;
}

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

/* --- STEP一覧 --- */
.flowSteps {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* --- 各STEPの番号・見出し・本文 --- */
.flowStep {
	--flow-number-height: calc(12.5rem * .95 + 8px);
	--flow-arrow-size: 80px;
	--flow-number-column: 180px;
	position: relative;
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr);
	gap: 20px;
	min-height: 340px;
}

.flowStep:not(:last-child)::after {
	position: absolute;
	top: calc((100% + var(--flow-number-height) - var(--flow-arrow-size)) / 2);
	left: calc((var(--flow-number-column) - var(--flow-arrow-size)) / 2);
	width: var(--flow-arrow-size);
	height: var(--flow-arrow-size);
	background: url("../recruitment/flow/img/arrow_step.svg") center / contain no-repeat;
	content: "";
}

.flowStepNumber {
	align-self: start;
	color: var(--flow-blue);
	font-family: "Fraunces", var(--font-serif);
	font-weight: 800;
	line-height: .95;
	text-align: center;
	letter-spacing: .03em;
}

.flowStepNumber > span {
	display: block;
}

.flowStepNumber > span:first-child {
	font-size: 3.75rem;
	letter-spacing: .03em;
}

.flowStepNumber > span:last-child {
	padding-top: 8px;
	font-size: 8.75rem;
	letter-spacing: .03em;
}

.flowStepBody {
	position: relative;
	padding-top: 60px;
}

.flowStepBody h2 {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	margin: 0;
	padding: 16px 30px;
	border: 6px solid var(--ink);
	border-radius: 70px;
	background: var(--flow-blue);
	color: #fff;
	font-family: "M PLUS 1p", var(--font-jp);
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: .08em;
	text-align: center;
}

.flowDescription {
	padding: 48px 30px 0 54px;
	font-family: "Noto Sans JP", var(--font-jp);
	font-size: 1.0625rem;
	line-height: 1.9;
	overflow-wrap: anywhere;
}

.flowStepPhoto {
	position: absolute;
	z-index: 1;
	border: 7px solid var(--flow-blue);
	border-radius: 50%;
	background: #ccc;
}

.flowStepMeeting .flowStepPhoto {
	top: -45px;
	right: -50px;
	width: 230px;
	aspect-ratio: 1;
}

.flowStepInterview .flowStepPhoto {
	top: -35px;
	left: 30px;
	width: 190px;
	aspect-ratio: 1;
}

.flowEntryBanner {
	display: block;
	width: 100%;
	margin-top: 0;
}

.flowEntryBanner img {
	display: block;
	width: 100%;
	height: auto;
}

.pageFlow .relatedContents {
	margin-top: 160px;
	margin-bottom: 135px;
}

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

	.flowStep {
		--flow-number-height: calc(10.5rem * .95 + 8px);
		--flow-number-column: 150px;
		grid-template-columns: 150px minmax(0, 1fr);
		gap: 8px;
	}

	.flowStepNumber > span:first-child {
		font-size: 3rem;
	}

	.flowStepNumber > span:last-child {
		font-size: 7.5rem;
	}

	.flowStepBody h2 {
		font-size: 1.875rem;
	}

	.flowStepMeeting .flowStepPhoto {
		top: -20px;
		right: -28px;
		width: 175px;
	}

	.flowStepInterview .flowStepPhoto {
		top: -15px;
		left: 15px;
		width: 155px;
	}

	.flowDescription {
		padding-left: 30px;
		padding-right: 0;
	}

}

/* 画面幅・操作環境の条件：screen and (max-width: 896px) */
@media screen and (max-width: 896px) {
	.flowIntroduction {
		min-height: 400px;
		padding-top: 32px;
	}

	.flowIntroInner, .flowContents {
		width: 86%;
	}

	.flowIntroInner h1 > span:first-child {
		font-size: 2.875rem;
	}

	.flowIntroInner h1 > span:last-child {
		padding-top: 12px;
		font-size: 1.2rem;
	}

	.flowLead {
		padding-top: 90px;
		font-size: 1rem;
		line-height: 1.9;
		letter-spacing: .02em;
	}

	.flowWave {
		--flow-wave-width: max(180vw, 800px);
		top: 65px;
	}

	.flowStep {
		--flow-number-height: calc(4.75rem * .95 + 6px);
		--flow-arrow-size: 40px;
		--flow-number-column: 70px;
		grid-template-columns: 70px minmax(0, 1fr);
		gap: 12px;
		min-height: 0;
		padding-bottom: 90px;
	}

	.flowStepNumber > span:first-child {
		font-size: 1.5rem;
	}

	.flowStepNumber > span:last-child {
		padding-top: 6px;
		font-size: 3.25rem;
	}

	.flowStepBody {
		min-width: 0;
		padding-top: 24px;
	}

	.flowStepBody h2 {
		min-height: 62px;
		padding: 12px 10px;
		border-width: 3px;
		border-radius: 40px;
		font-size: 1.125rem;
		letter-spacing: .03em;
	}

	.flowDescription {
		padding: 22px 0 0;
		font-size: 1rem;
		line-height: 1.9;
	}

	.flowDescription br {
		display: none;
	}

	.flowStepPhoto {
		border-width: 4px;
	}

	.flowStepMeeting .flowStepPhoto {
		top: -90px;
		right: -8px;
		width: 100px;
	}

	.flowStepInterview .flowStepPhoto {
		top: -86px;
		left: -4px;
		width: 96px;
	}

	.flowEntryBanner {
		margin-top: -20px;
	}

	.pageFlow .relatedContents {
		margin-top: 64px;
		margin-bottom: 60px;
	}

}

/* 横長のメイン写真を半円の下端に合わせる。 */
.pageFlow .heroPhoto > img {
	top: auto;
	bottom: 0;
	height: auto;
}

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

}

@keyframes flowWaveSlide {
	from {
		background-position-x: 50%;
	}

	to {
		background-position-x: calc(50% - var(--flow-wave-width));
	}

}

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

}

/* Center 8rem numerals against the blue title. */
.flowStep {
	--flow-number-height: 170px;
	--flow-number-column: 180px;
	grid-template-columns: var(--flow-number-column) minmax(0,1fr);
}

.flowStepNumber {
	display: grid;
	grid-template-rows: 60px 110px;
	margin: 0;
	transform: none;
}

.flowStepNumber > span:first-child {
	align-self: start;
	text-align: center;
	letter-spacing: 0;
}

.flowStepNumber > .flowStepDigit:last-child {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0;
	font-size: 8rem;
	line-height: 1;
	letter-spacing: 0;
}

/* 画面幅・操作環境の条件：(max-width:896px) */
@media (max-width:896px) {
	.flowStep {
		--flow-number-height: 86px;
		--flow-number-column: 100px;
	}

	.flowStepNumber {
		grid-template-rows: 24px 62px;
	}

	.flowStepNumber > .flowStepDigit:last-child {
		font-size: 3.75rem;
	}

}

/* 画面幅・操作環境の条件：(max-width:896px) */
@media (max-width:896px) {
	.flowStep:nth-child(odd):not(:last-child) {
		padding-bottom: 110px;
	}

}
