/* メインビジュアル 16:9 バランス最適化 & シネマティックスライドショー */
.recruithome-mainimage#contentsheaderblock {
	position: relative;
	width: 100%;
	height: 56.25vw !important;
	/* 厳密な 16:9 比率 */
	min-height: 600px;
	max-height: 800px;
	overflow: hidden;
	display: flex;
	align-items: center;
	margin-top: -60px;
	padding: 60px 0 0;
	box-sizing: border-box;
}

@media (max-width: 768px) {
	.recruithome-mainimage#contentsheaderblock {
		height: auto !important;
		min-height: 540px;
		padding: 70px 0 50px;
		margin-top: 0;
	}
}

.recruithome-mainimage__slideshow {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	padding-top: 0 !important;
	overflow: hidden;
	background-color: #0b0f19;
}

.recruithome-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.8s;
	will-change: opacity;
}

.recruithome-slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.recruithome-slide.is-previous {
	opacity: 0;
	visibility: visible;
	z-index: 1;
}

.recruithome-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 25%;
	/* 人物の顔・表情が切れず中央に美しく収まるように調整 */
	display: block;
	will-change: transform;
}

.recruithome-slide:nth-child(even) img {
	transform: scale(1.08);
}

@keyframes kenburns-in {
	0% {
		transform: scale(1);
	}

	100% {
		transform: scale(1.08);
	}
}

@keyframes kenburns-out {
	0% {
		transform: scale(1.08);
	}

	100% {
		transform: scale(1);
	}
}

/* is-previous（フェードアウト中）もアニメーションを継続させ、元のサイズへ一瞬戻る跳ね返りを防止 */
.recruithome-slide.is-active:nth-child(odd) img,
.recruithome-slide.is-previous:nth-child(odd) img {
	animation: kenburns-in 8s ease-out forwards;
}

.recruithome-slide.is-active:nth-child(even) img,
.recruithome-slide.is-previous:nth-child(even) img {
	animation: kenburns-out 8s ease-out forwards;
}

/* シネマティックオーバーレイ */
.recruithome-slideshow__cover {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 2;
	background: linear-gradient(180deg,
			rgba(15, 23, 42, 0.3) 0%,
			rgba(15, 23, 42, 0.45) 45%,
			rgba(15, 23, 42, 0.72) 100%);
	pointer-events: none;
}

/* キャッチコピーとボタンの配置バランス調整（下端のはみ出し・切れを解消） */
.recruithome-mainimage .contentswidth {
	padding-top: 0 !important;
	position: relative;
	z-index: 3;
	width: 100%;
}

.recruithome-catch {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	-webkit-transform: none !important;
	transform: none !important;
	width: 100% !important;
	max-width: 860px;
	margin: 0;
	padding: 20px 0;
}

.recruithome-catch p {
	margin-bottom: 24px !important;
	font-size: 1.8rem;
	line-height: 1.6;
}

.recruithome-catch__button {
	margin-top: 10px;
}

/* 採用ポータル プレミアムメニューデザイン */
.recruit-content-menu {
	padding: 80px 0;
	background-color: #f8fafc;
}

/* セクション共通見出しスタイル（RECRUIT NEWS / RECRUIT MENU で統一） */
.home-topics__header {
	text-align: center;
	margin-bottom: 20px;
	font-family: 'Outfit', 'Inter', Avenir, 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.home-topics__header span {
	display: inline-block;
	position: relative;
	padding-bottom: 15px;
	font-size: 32px;
	font-weight: 300;
	letter-spacing: 0.2em;
	color: #0f172a;
}

.home-topics__header span::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 40px;
	height: 1px;
	background-color: #0f172a;
}

.home-topics__subheader {
	text-align: center;
	margin-top: 0;
	font-size: 13px;
	color: #64748b;
	letter-spacing: 0.1em;
	margin-bottom: 50px;
}

/* RECRUIT NEWS セクション */
.home-recruit-news {
	background: #ffffff;
	padding: 80px 0;
}

.recruit-widget-container {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 10px 0 20px;
}

.recruit-embed-grid {
	display: flex;
	gap: 30px;
	justify-content: center;
	flex-wrap: wrap;
}

.recruit-post-link {
	display: block;
	width: 320px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	text-decoration: none !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	color: #1a202c !important;
	text-align: left;
}

.recruit-post-link:hover {
	transform: translateY(-6px);
	border-color: #cbd5e1;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.recruit-post-img-wrapper {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #f1f5f9;
	position: relative;
}

.recruit-post-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease, filter 0.3s ease;
}

.recruit-post-link:hover .recruit-post-img {
	transform: scale(1.05);
	filter: brightness(0.95);
}

.recruit-post-body {
	padding: 20px;
}

.recruit-post-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.recruit-post-date {
	font-size: 12px;
	color: #64748b;
	font-weight: 500;
	font-family: 'Inter', "Helvetica Neue", Arial, sans-serif;
}

.recruit-post-title {
	font-size: 14px;
	line-height: 1.6;
	font-weight: bold;
	margin: 0;
	color: #1e293b !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	height: 44px;
	word-break: break-all;
}

/* グリッドレイアウト */
.recruit-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	max-width: 1000px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.recruit-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* カードデザイン */
.recruit-card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
	text-decoration: none !important;
	transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	border: 1px solid #f1f5f9;
	box-sizing: border-box;
}

.recruit-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

/* カードの左端のカラーアクセント */
.recruit-card--graduate {
	border-left: 6px solid #1e3a8a;
}

.recruit-card--mid-career {
	border-left: 6px solid #d97706;
	/* 黄色 (落ち着いたゴールドイエロー) */
}

.recruit-card--interview {
	border-left: 6px solid #d32f2f;
	/* 赤色 (上品なディープレッド) */
}

.recruit-card--job {
	border-left: 6px solid #064e3b;
}

/* カード内テキスト */
.recruit-card__body {
	padding: 30px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.recruit-card__tag {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: #94a3b8;
	margin-bottom: 8px;
}

.recruit-card__title {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	margin-top: 0;
	margin-bottom: 12px;
	line-height: 1.4;
}

.recruit-card__text {
	font-size: 14px;
	line-height: 1.6;
	color: #475569;
	margin-bottom: 24px;
	flex-grow: 1;
}

.recruit-card__more {
	font-size: 13px;
	font-weight: 700;
	color: #0f172a;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: gap 0.3s ease;
}

.recruit-card__more i {
	font-size: 12px;
}

.recruit-card:hover .recruit-card__more {
	gap: 12px;
}