/**
 * 採用ページ用スタイル
 * ヒーロー（ヘッダー）・本文エリア
 */

/* 採用ページ：グローバルメニューの下に画像が透けるよう一番上から配置（トップ同様） */
.page-recruit {
	max-width: none;
	margin: 0;
	padding: 0;
	margin-top: -150px;
}

/* 採用ページ ヒーロー（トップFVと同じ高さ・配置） */
.recruit-header {
	position: relative;
	min-height: 700px;
}

.recruit-header__image-wrap {
	position: relative;
	height: 700px;
	overflow: hidden;
}

.recruit-header__image-wrap picture {
	display: block;
	width: 100%;
	height: 100%;
}

.recruit-header__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

/* トップFVと同じ：白いもやもや＋青文字のキャッチコピー（メニュー高さ除いた範囲の中央） */
.recruit-header__overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding-left: 5%;
	padding-right: 100px;
	pointer-events: none;
}

.recruit-header__overlay::before {
	content: "";
	position: absolute;
	width: 560px;
	height: 280px;
	left: 54px;
	/* グローバルメニュー高さ100pxを引いた範囲の中央に配置 */
	top: calc(100px + (700px - 100px) / 2);
	transform: translateY(-50%);
	background: radial-gradient(29.6% 84.45% at 50% 50%,
			#ffffff 0%,
			rgba(255, 255, 255, 0.5) 100%);
	filter: blur(25px);
	z-index: 0;
}

.recruit-header__copy {
	position: absolute;
	/* 白いもやもや（::before）の中央に合わせる：left 54px + width 560px の中央 */
	left: calc(54px + 560px / 2);
	top: calc(100px + (700px - 100px) / 2);
	transform: translate(-50%, -50%);
	pointer-events: auto;
	max-width: 520px;
	z-index: 1;
	text-align: left;
}

/* キャッチコピー：画面幅に合わせて縮小（トップFVと同様に clamp） */
.recruit-header__copy-main {
	margin: 0 0 8px;
	font-size: clamp(1.3rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.35;
	color: #0f3193;
	text-align: left;
}

/* 漢字は大きく、ひらがなは小さくメリハリ */
.recruit-header__copy-main__kanji {
	font-size: 1em;
}

.recruit-header__copy-main__hiragana {
	font-size: 0.72em;
}

.recruit-header__copy-line {
	display: block;
	margin: 16px 0;
	border: none;
	border-top: 1px solid rgba(15, 49, 147, 0.35);
	width: 100%;
	max-width: min(450px, 65vw);
}

.recruit-header__copy-sub {
	margin: 0;
	font-size: clamp(.7rem, 1.5vw, 1.375rem);
	font-weight: 500;
	line-height: 1.5;
	color: #0f3193;
	text-align: center;
}

/* 右側 CTA（スクロールしてもついてくる・他ページの「採用情報はこちら」と同様） */
.recruit-header__cta {
	position: fixed;
	top: 50%;
	right: 0;
	width: clamp(56px, 5.5vw, 70px);
	height: clamp(240px, 28vw, 300px);
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(90deg, #f4692d 0%, #ffbb5c 100%);
	box-shadow:
		inset 0 -2px 4px #8c3d1b,
		inset 0 4px 4px rgba(255, 243, 217, 0.8);
	border-radius: 20px 0 0 20px;
	text-decoration: none;
	pointer-events: auto;
	transition: opacity 0.2s ease;
	z-index: 50;
}

.recruit-header__cta:hover,
.recruit-header__cta:focus {
	opacity: 0.9;
}

.recruit-header__cta-text {
	writing-mode: vertical-rl;
	text-orientation: mixed;
	font-size: clamp(0.875rem, 1vw + 0.5rem, 1.375rem);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.2em;
	color: #ffffff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* 上150pxはインナーの padding で確保（パネルの margin と分離） */
.recruit-contents__inner {
	position: relative;
	width: 100%;
	max-width: none;
	padding-top: 150px;
}

/* あしらい：ヘッダー画像のすぐ下から左端まで（パネルの margin に左右されない） */
.recruit-contents__ashirai {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 50%;
	z-index: 0;
	background-image: url("../img/recruit-ashirai-1.png");
	background-size: contain;
	background-position: left top;
	background-repeat: no-repeat;
}

/* ボックスはあしらいと独立：左右中央寄せのみ */
.recruit-contents__panel {
	position: relative;
	z-index: 1;
	max-width: clamp(20rem, 9rem + 55vw, 75rem);
	margin: 0 auto;
	background-color: #ffffff;
	border-radius: 4px;
	box-shadow: 0 2px 8px rgba(15, 49, 147, 0.08);
}

.recruit-contents__body {
	padding: 40px 48px 48px;
}

.recruit-contents__title {
	margin-bottom: 32px;
	text-align: center;
}

.recruit-contents__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.recruit-contents__term {
	margin: 0 0 8px;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f3193;
	line-height: 1.4;
	padding-bottom: 8px;
	border-bottom: 1px solid #e0e8f0;
}

.recruit-contents__term:first-of-type {
	margin-top: 0;
}

.recruit-contents__desc {
	margin: 0 0 24px;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 500;
	color: #222222;
	line-height: 1.7;
	padding-left: 0;
}

.recruit-contents__desc:last-child {
	margin-bottom: 0;
}

/* テーブル：線なし、max-width 900px で中央 */
.recruit-contents__table-wrap {
	max-width: clamp(20rem, 17.75rem + 11.25vw, 31.25rem);
	margin: 0 auto;
	overflow-x: auto;
}

.recruit-contents__table-wrap table {
	width: 100%;
	border-collapse: collapse;
	border: none;
}

.recruit-contents__table-wrap thead {
	display: none;
}

.recruit-contents__table-wrap tbody td {
	padding: 0 0 8px 0;
	vertical-align: top;
	border: none;
}

.recruit-contents__table-wrap tbody td:first-child {
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #0f3193;
	line-height: 1.4;
	padding-bottom: 8px;
	padding-right: 16px;
	white-space: nowrap;
}

.recruit-contents__table-wrap tbody td:last-child {
	font-size: 16px;
	font-size: 1rem;
	font-weight: 500;
	color: #222222;
	line-height: 1.7;
	padding-bottom: 24px;
}

.recruit-contents__table-wrap tbody tr:last-child td {
	padding-bottom: 0;
}

/* 働く環境セクション */
.recruit-environment {
	position: relative;
	padding: 120px 20px 80px;
}

/* 背面あしらい（募集内容と同素材を回転して配置） */
.recruit-environment::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 360px;
	height: 320px;
	background-image: url("../img/recruit-ashirai-1.png");
	background-size: cover;
	background-position: left top;
	background-repeat: no-repeat;
	transform: rotate(180deg);
	opacity: 0.9;
	pointer-events: none;
	z-index: 0;
}

.recruit-environment__inner {
	position: relative;
	max-width: 1200px;
	margin: 0 auto;
	z-index: 1;
}

.recruit-environment__title {
	margin-bottom: 28px;
}

.recruit-environment__lead {
	margin: 0 0 18px;
	width: 50%;
	text-align: center;
	font-size: 28px;
	font-size: clamp(1.3rem, 1.21rem + 0.45vw, 1.75rem);
	font-weight: 700;
	line-height: 1.4;
	color: #0f3193;
}

.recruit-environment__content {
	position: relative;
	min-height: 540px;
}

.recruit-environment__cards {
	position: relative;
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 14px;
	z-index: 2;
}

.recruit-environment__card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px 26px;
	background-color: rgba(255, 255, 255, 0.88);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(15, 49, 147, 0.1);
	justify-content: center;
}

.recruit-environment__card-icon {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
}

.recruit-environment__card-title {
	margin: 0 0 6px;
	font-size: 30px;
	font-size: clamp(1rem, 0.825rem + 0.88vw, 1.875rem);
	font-weight: 700;
	line-height: 1.4;
	color: #0f3193;
}

.recruit-environment__card-desc {
	margin: 0;
	font-size: 22px;
	font-size: clamp(1rem, 0.925rem + 0.38vw, 1.375rem);
	font-weight: 500;
	line-height: 1.5;
	color: #222222;
}

.recruit-environment__slider {
	position: absolute;
	top: 0px;
	right: -24px;
	width: 62%;
	height: 460px;
	margin: 0;
	overflow: hidden;
	clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
	z-index: 1;
}

.recruit-environment__track {
	display: flex;
	height: 100%;
	animation: recruit-environment-slide 10s linear infinite;
}

.recruit-environment__slide {
	flex: 0 0 100%;
	height: 100%;
}

.recruit-environment__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.recruit-environment__dots {
	position: absolute;
	top: 480px;
	right: -24px;
	display: flex;
	justify-content: center;
	gap: 12px;
	width: 62%;
	margin: 0;
	z-index: 2;
}

.recruit-environment__dot {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background-color: #d6d6d6;
}

.recruit-environment__dot--1 {
	animation: recruit-environment-dot-1 10s linear infinite;
}

.recruit-environment__dot--2 {
	animation: recruit-environment-dot-2 10s linear infinite;
}

@keyframes recruit-environment-slide {

	0%,
	38% {
		transform: translateX(0);
	}

	46%,
	84% {
		transform: translateX(-100%);
	}

	100% {
		transform: translateX(-200%);
	}
}

@keyframes recruit-environment-dot-1 {

	0%,
	42% {
		background-color: #0f3193;
	}

	46%,
	100% {
		background-color: #d6d6d6;
	}
}

@keyframes recruit-environment-dot-2 {

	0%,
	42% {
		background-color: #d6d6d6;
	}

	46%,
	88% {
		background-color: #0f3193;
	}

	100% {
		background-color: #d6d6d6;
	}
}

/* 技術力セクション */
.recruit-technology {
	position: relative;
	padding: 80px 20px 80px;
	background-image: url("../img/bg-top-business.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.recruit-technology__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.recruit-technology__title {
	margin-bottom: 24px;
}

.recruit-technology__lead {
	margin: 0 auto 40px;
	max-width: 800px;
	text-align: center;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.7;
	color: #0f3193;
}

.recruit-technology__cards {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
	justify-content: center;
}

.recruit-technology__card {
	flex: 1 1 280px;
	max-width: 360px;
	background-color: #ffffff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(15, 49, 147, 0.1);
	padding: 24px 20px 28px;
	box-sizing: border-box;
	overflow: hidden;
}

.recruit-technology__card-title {
	margin: 0 0 16px;
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0f3193;
	text-align: center;
}

/* 画像は白枠の横幅いっぱい・余白ナシ */
.recruit-technology__card-img-wrap {
	width: calc(100% + 40px);
	margin: 0 -20px 16px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.recruit-technology__card-img-wrap img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.recruit-technology__card-desc {
	margin: 0;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.6;
	color: #555555;
	text-align: center;
}

/* ご応募セクション */
.recruit-waiting {
	padding: 80px 20px 0px;
	background-color: #ffffff;
}

.recruit-waiting__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0;
	max-width: 900px;
	margin: 0 auto;
}

.recruit-waiting__img-wrap {
	flex: 0 0 50%;
	max-width: 560px;
}

.recruit-waiting__img-wrap img {
	display: block;
	width: 100%;
	height: auto;
}

/* テキストを少し画像に重ねつつ、テキスト・ボタンは中央揃え */
.recruit-waiting__body {
	flex: 1;
	margin-left: -60px;
	text-align: center;
	z-index: 1;
}

.recruit-waiting__title {
	margin: 0 0 16px;
	font-size: 28px;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.4;
	color: #0f3193;
}

.recruit-waiting__lead {
	margin: 0 0 24px;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.6;
	color: #222222;
}

.recruit-waiting__cta {
	display: inline-block;
	padding: 14px 32px;
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	transition: opacity 0.2s ease;
	background: linear-gradient(360deg, #F56F31 0%, #FFBB5C 100%);
	box-shadow: inset 0px -4px 4px #F56F31, inset 0px 4px 4px #FFBB5C;
	border-radius: 10px;
}

.recruit-waiting__cta:hover,
.recruit-waiting__cta:focus {
	opacity: 0.9;
}

.recruit-waiting__cta-arrow {
	margin-left: 8px;
}

.page-recruit__body {
	max-width: 1200px;
	margin: 0 auto;
	padding: 48px 20px 64px;
}