:root {
	--ink: #222;
	--text: #000;
	--muted: #777;
	--line: #d8d8d8;
	--soft: #f5f5f3;
	--dark: #242424;
	--lightdark: #e6e6e6;
	--white: #fff;
	--font-mincho: YuMincho, "Yu Mincho", "Noto Serif JP", serif;
	--max: 900px;
	--gutter: 15px;
}

#page-header {
	position: absolute;
}

:where(.recruit-page) img {
	display: block;
	width: 100%;
	height: auto;
}
form th .required {
	float: right;
}
@media (min-width: 720px) {
	form th .required {
		margin-right: 3em;
	}
}

/* =========================
   Common
========================= */
.recruit-container {
	width: 100%;
	max-width: var(--max);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.recruit-section,
.recruit-section#flow {
	padding: 120px 0;
}
.pc-only {
	display: block;
}
.sp-only {
	display: none;
}

/* =========================
   Hero
========================= */
.recruit-hero {
	position: relative;
	padding: 116px 0 100px;
	border-bottom: 1px solid #ececec;
	background-image: url("../asset/images/recruit/fv.jpg");
	background-size: cover;
	background-position: 80% center;
	background-repeat: no-repeat;
}
.recruit-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
}
.recruit-hero__inner {
	position: relative;
	z-index: 1;
}
.recruit-hero__inner {
	position: relative;
}
.recruit-eyebrow,
.section-heading__en,
.recruit-entry__en {
	margin-bottom: 18px;
	color: #777;
	font-family: inherit;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.24em;
}
.recruit-hero h1 {
	margin-bottom: 34px;
	font-family: var(--font-mincho);
	font-size: clamp(28px, 3.5vw, 46px);
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0.08em;
}
.recruit-hero__lead {
	margin-bottom: 22px;
	font-size: clamp(22px, 2.5vw, 32px);
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.08em;
}
.recruit-hero__text {
	max-width: 760px;
	margin-bottom: 0;
	font-size: 14px;
	line-height: 2;
}
.recruit-hero h1,
.recruit-hero__lead,
.recruit-hero__text,
.recruit-eyebrow {
	color: #fff;
}

/* =========================
   Local Navigation
========================= */
.recruit-localnav {
	position: sticky;
	top: 0;
	z-index: 10;
	border-bottom: 1px solid #fff;
	background: #000;
}
.recruit-localnav ul {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}
.recruit-localnav li + li {
	border-left: 1px solid #fff;
}
.recruit-localnav li.is-link-entry {
	background-color: #c8a242;
}

.recruit-localnav a {
	display: flex;
	min-height: 66px;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.06em;
	transition:
		background 0.25s,
		color 0.25s;
}
.recruit-localnav a:hover {
	background: #fff;
	color: #000;
}

/* =========================
   Section Heading
========================= */
.section-heading {
	margin-bottom: 64px;
	text-align: center;
}
.section-heading__en {
	margin-bottom: 10px;
	text-align: center;
}
.section-heading h2 {
	margin-bottom: 0;
	font-family: var(--font-mincho);
	font-size: clamp(20px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.08em;
	text-align: center;
}
.section-heading__lead {
	max-width: 650px;
	margin: 24px auto 0;
	font-size: 14px;
	line-height: 2;
	text-align: center;
}
.section-heading--light .section-heading__en {
	color: #777;
}

/* =========================
   Company
========================= */
.company-grid {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 40px;
	align-items: center;
}
.company-copy__catch {
	margin-bottom: 28px;
	font-family: var(--font-mincho);
	font-size: clamp(20px, 1.9vw, 26px);
	line-height: 1.5;
	letter-spacing: 0.08em;
}
.company-copy p:not(.company-copy__catch) {
	margin-bottom: 20px;
	font-size: 14px;
}
.company-image {
	margin: 0;
}
.company-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.company-points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 84px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.company-points article {
	padding: 38px 34px 36px 0;
}
.company-points article + article {
	padding-left: 34px;
	border-left: 1px solid var(--line);
}
.company-points__icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 20px;
}
.company-points span {
	display: block;
	margin-bottom: 18px;
	font-family: inherit;
	font-size: 14px;
	letter-spacing: 0.18em;
	text-align: center;
}
.company-points h3 {
	margin-bottom: 14px;
	text-align: center;
	font-size: 18px;
	font-weight: 500;
}
.company-points p {
	margin-bottom: 0;
	font-size: 14px;
	line-height: 2;
}

/* =========================
   Work
========================= */
.recruit-work {
	background: var(--lightdark);
}
/* 本文 */
.job-block__number {
	margin-bottom: 10px;
	color: #777;
	font-family: inherit;
	font-size: 11px;
	letter-spacing: 0.2em;
}
.job-block__body h3 {
	margin-bottom: 30px;
	color: #000;
	font-size: clamp(24px, 2.5vw, 34px);
	font-weight: 400;
	letter-spacing: 0.08em;
}
.job-block__catch {
	margin-bottom: 30px;
	font-family: var(--font-mincho);
	font-size: clamp(20px, 1.9vw, 26px);
	text-align: center;
	line-height: 1.75;
}
.job-block__body > p:not(.job-block__number):not(.job-block__catch) {
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 2;
}

/* =========================
   Work Tasks
========================= */
.job-tasks-heading {
	width: fit-content;
	margin: 50px auto 24px;
	text-align: center;
}
.job-tasks-heading span {
	display: block;
	margin-bottom: 4px;
	color: #777;
	font-size: 11px;
	letter-spacing: 0.18em;
}
.job-tasks-heading h4 {
	margin: 0;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
}
/* 仕事の流れ */
.job-tasks {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px 18px;
	width: 100%;
	margin: 0;
	padding: 0;
}
/* 各項目 */
.job-task {
	min-width: 0;
	padding: 0;
}
/* 画像 */
.job-task__image {
	margin-bottom: 14px;
	overflow: hidden;
}
.job-task__image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.4s ease;
}
.job-task:hover .job-task__image img {
	transform: scale(1.03);
}
/* テキスト */
.job-task__text {
	display: block;
}
.job-task__num {
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 0.16em;
}
.job-task__description {
	color: #000;
}
.job-task__description strong {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: bold;
	line-height: 1.6;
}
.job-task__description span {
	display: block;
	font-size: 13px;
	line-height: 1.8;
}

/* =========================
   Works
========================= */
.recruit-works {
	padding-bottom: 0;
	overflow: hidden;
}
.works-gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: min(22vw, 320px);
	gap: 4px;
}
.works-gallery__item {
	margin: 0;
	overflow: hidden;
	background: #ddd;
}
.works-gallery__item--wide {
	grid-column: span 2;
	grid-row: span 2;
}
.works-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition:
		transform 0.6s ease,
		filter 0.4s;
	filter: grayscale(12%);
}
.works-gallery__item:hover img {
	transform: scale(1.025);
	filter: grayscale(0);
}

/* =========================
   Selection Flow
========================= */
.selection-flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
.selection-flow li {
	position: relative;
	min-height: 280px;
	padding: 36px 15px 30px;
}
.selection-flow li + li {
	border-left: 1px solid #ccc;
}
.selection-flow__num {
	margin-bottom: 18px;
	color: #999;
	font-family: inherit;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-align: center;
}
/* アイコン */
.selection-flow__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	margin: 0 auto 22px;
	border: 1px solid #222;
	border-radius: 50%;
}
.selection-flow__icon i {
	display: inline-block;
	color: #222;
	font-size: 22px;
	font-style: normal;
}
/* Font Awesome */
.selection-flow__icon .fa-regular {
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 400 !important;
}
.selection-flow__icon .fa-solid {
	font-family: "Font Awesome 6 Free" !important;
	font-weight: 900 !important;
}
.selection-flow h3 {
	margin-bottom: 14px;
	color: #222;
	font-size: 18px;
	font-weight: 500;
	text-align: center;
}
.selection-flow p {
	margin-bottom: 0;
	font-size: 14px;
	line-height: 2;
}
.selection-flow p a {
	display: block;
	width: fit-content;
	margin: 0.5em auto;
	color: #c8a242;
	&::before {
		content: "＞";
		display: inline-block;
		margin-right: 0.25em;
	}
}
.selection-flow__note {
	margin: 18px 0 0;
	color: #888;
	font-size: 11px;
	text-align: right;
}

/* =========================
   Requirements
========================= */
.recruit-requirements {
	background: var(--soft);
}
.requirements-note {
	margin-bottom: 34px;
	padding: 20px 24px;
	border: 1px solid #ddd;
	background: #fff;
	color: #666;
	font-size: 12px;
	line-height: 1.8;
}
.requirements-table {
	margin: 0;
	border-top: 1px solid #bbb;
}
.requirements-table > div {
	display: grid;
	grid-template-columns: 190px 1fr;
	border-bottom: 1px solid #ccc;
}
.requirements-table dt,
.requirements-table dd {
	padding: 25px 0;
}
.requirements-table dt {
	color: #222;
	font-size: 14px;
	font-weight: 500;
}
.requirements-table dd {
	margin: 0;
	font-size: 14px;
	line-height: 2;
}
.tbd {
	display: inline-block;
	padding: 0 8px;
	border: 1px solid #aaa;
	color: #777;
	font-size: 11px;
	line-height: 1.8;
}
.recruit-button {
	display: block;
	position: relative;
	width: min(90vw, 320px);
	margin: 60px auto 0;
	padding: 0.75em;
	border: solid 1px;
	color: #666;
	text-align: center;
	font-size: min(16px, 4vw);
}
.recruit-button::after {
	content: "＞";
	display: block;
	position: absolute;
	inset: 0.5em;
	margin: auto;
	margin-right: 0;
	width: 1em;
	height: auto;
	aspect-ratio: 1;
}

/* =========================
   Entry
========================= */
.recruit-entry {
	padding: 100px 0;
	color: #fff;
	border-top: #c8a242 solid 1px;
}
.recruit-entry__inner {
	text-align: center;
}
.recruit-entry__inner a {
	display: block;
	border: #c8a242 solid 1px;
}
.recruit-entry__en {
	color: #999;
}
.recruit-entry h2 {
	margin-bottom: 22px;
	font-size: clamp(20px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.1em;
	font-family: var(--font-mincho);
}
.recruit-entry p:not(.recruit-entry__en) {
	margin-bottom: 34px;
	color: #ccc;
	font-size: 14px;
}
.recruit-entry__button {
	display: inline-flex;
	min-width: 330px;
	min-height: 68px;
	padding: 0 30px;
	border: 1px solid #777;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	transition: 0.25s;
}
.recruit-entry__button:hover {
	background: #fff;
	color: #222;
}
.recruit-entry__button span {
	margin-left: 35px;
	font-size: 18px;
}

/* =========================
   Tablet
   901px - 1199px
========================= */
@media (min-width: 901px) and (max-width: 1199px) {
	.recruit-container {
		max-width: 850px;
	}
}

/* =========================
   Tablet
   641px - 900px
========================= */
@media (min-width: 641px) and (max-width: 900px) {
	.recruit-container {
		max-width: 750px;
	}
}

/* =========================
   900px以下
========================= */
@media (max-width: 900px) {
	.recruit-section {
		padding: 90px 0;
	}
	/* Company */
	.company-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
	.company-image {
		order: -1;
	}
	.company-points {
		grid-template-columns: 1fr;
		margin-top: 55px;
	}
	.company-points article,
	.company-points article + article {
		padding: 28px 0;
		border-left: 0;
	}
	.company-points article + article {
		border-top: 1px solid var(--line);
	}
	/* Work */
	.job-block {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.job-tasks {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 14px;
	}
	/* Works */
	.works-gallery {
		grid-template-columns: repeat(2, 1fr);
		grid-auto-rows: 42vw;
	}
	/* Requirements */
	.requirements-table > div {
		grid-template-columns: 150px 1fr;
	}
	/* Flow */
	.selection-flow {
		grid-template-columns: repeat(2, 1fr);
	}
	.selection-flow li:nth-child(3) {
		border-left: 0;
		border-top: 1px solid #ccc;
	}
	.selection-flow li:nth-child(4) {
		border-top: 1px solid #ccc;
	}
}

/* =========================
   Smartphone
   640px以下
========================= */
@media (max-width: 640px) {
	body {
		font-size: 14px;
		line-height: 2;
	}
	.recruit-container {
		width: 100%;
		padding-inline: var(--gutter);
	}
	.recruit-section {
		padding: 72px 0;
	}
	.pc-only {
		display: none;
	}
	.sp-only {
		display: block;
	}
	/* Hero */
	.recruit-hero {
		padding: 72px 0 60px;
		background-position: right center;
	}
	.recruit-hero h1 {
		margin-bottom: 25px;
		font-size: 28px;
	}
	.recruit-hero__lead {
		font-size: 22px;
	}
	.recruit-hero__text {
		font-size: 14px;
		line-height: 2;
	}
	.recruit-hero::before {
		content: "";
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
	}
	/* Navigation */
	.recruit-localnav {
		overflow-x: visible; /* スクロール無効化 */
	}
	.recruit-localnav .recruit-container {
		width: 100%;
		max-width: none;
		margin: 0;
		padding-inline: 0;
	}
	.recruit-localnav ul {
		display: grid;
		grid-template-columns: repeat(3, 1fr); /* 3列 → 上3・下2になる */
	}
	.recruit-localnav li {
		border-left: 1px solid #fff; /* PC用の指定を継承しているのでリセット対象 */
	}
	.recruit-localnav li:nth-child(3n + 1) {
		border-left: none; /* 各行の先頭(1番目・4番目)は左線なし */
	}
	.recruit-localnav li:nth-child(n + 4) {
		border-top: 1px solid #fff; /* 2行目の要素に上線を追加 */
	}
	.recruit-localnav a {
		min-width: 0;
		min-height: 54px;
		padding: 0 10px;
		font-size: 11px;
	}
	/* Section Heading */
	.section-heading {
		margin-bottom: 42px;
	}
	.section-heading h2 {
		font-size: 26px;
	}
	.section-heading__lead {
		text-align: left;
	}
	/* Company */
	.company-copy__catch {
		font-size: 21px;
	}
	.company-copy p:not(.company-copy__catch) {
		font-size: 14px;
	}
	.company-image img {
		aspect-ratio: 4 / 3;
	}
	/* Work */
	.job-block {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.job-block__catch {
		font-size: 20px;
		text-align: left;
	}
	.job-block__body > p:not(.job-block__number):not(.job-block__catch) {
		font-size: 14px;
	}
	/* Work Tasks */
	.job-tasks-heading {
		width: fit-content;
		margin: 45px auto 20px;
		text-align: center;
	}
	.job-tasks-heading h4 {
		font-size: 17px;
	}
	.job-tasks {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
		width: 100%;
		margin: 0;
		padding: 0;
	}
	.job-task {
		width: 100%;
		padding: 24px 0;
		border-bottom: 1px solid #bbb;
	}
	.job-task:first-child {
		border-top: 1px solid #bbb;
	}
	.job-task__image {
		margin-bottom: 14px;
	}
	.job-task__image img {
		width: 100%;
		aspect-ratio: 16 / 9;
		object-fit: cover;
	}
	.job-task__num {
		margin-bottom: 6px;
	}
	.job-task__description strong {
		display: block;
		margin-bottom: 8px;
		font-size: 15px;
	}
	.job-task__description span {
		display: block;
		font-size: 13px;
		line-height: 1.8;
	}
	/* Works */
	.works-gallery {
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: 50vw;
		gap: 2px;
	}
	.works-gallery__item--wide {
		grid-column: span 2;
		grid-row: auto;
		aspect-ratio: 16 / 10;
	}
	/* Flow */
	.selection-flow {
		display: block;
		border-top: 1px solid #ccc;
		border-bottom: 0;
	}
	.selection-flow li,
	.selection-flow li + li,
	.selection-flow li:nth-child(2),
	.selection-flow li:nth-child(3),
	.selection-flow li:nth-child(4) {
		display: block;
		min-height: auto;
		padding: 30px 15px;
		border-top: 0;
		border-left: none !important;
		border-right: 0;
		border-bottom: 1px solid #ccc;
	}
	.selection-flow__num {
		margin-bottom: 14px;
		text-align: center;
	}
	.selection-flow__icon {
		width: 50px;
		height: 50px;
		margin: 0 auto 16px;
	}
	.selection-flow__icon i {
		font-size: 20px;
	}
	.selection-flow h3 {
		margin-bottom: 10px;
		text-align: center;
	}
	.selection-flow p {
		margin-bottom: 0;
	}
	.selection-flow__note {
		text-align: left;
	}
	/* Requirements */
	.requirements-note {
		padding: 16px;
	}
	.requirements-table > div {
		grid-template-columns: 1fr;
		padding: 20px 0;
	}
	.requirements-table dt,
	.requirements-table dd {
		padding: 0;
	}
	.requirements-table dt {
		margin-bottom: 8px;
	}
	.requirements-table dd {
		font-size: 14px;
	}
	/* Entry */
	.recruit-entry {
		padding: 35px 0;
	}
	.recruit-entry__button {
		width: 100%;
		min-width: 0;
	}
}

.recruit-entry__button {
	display: block;
	width: fit-content;
	min-width: 330px;
	min-height: 68px;
	padding: 0 30px;
	border: 1px solid #777;
	align-content: center;
	margin-inline: auto;
	font-size: 18px;
	transition: 0.25s;
	color: #fff;
	font-size: min(1.25rem, 5vw);
}
