/**
 * Recruit Header Styles
 *
 * Transparent header overlaying the hero, with white logo area and CTA buttons.
 *
 * @package Okayama
 */




.recruit-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: background-color 0.3s ease;
}


.recruit-header.is-scrolled,
.recruit-header--solid {
	position: fixed;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.recruit-header.is-scrolled::before,
.recruit-header--solid::before {
	content: '';
	position: absolute;
	inset: 0;
	background-color: #fff;
	border-radius: 0 0 30px 30px;
	z-index: -1;
}

.recruit-header__inner {
	position: relative;
	display: flex;
	align-items: center;
	height: 100px;
	margin: 0 auto;
}


.recruit-header__logo-area {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	width: 400px;
	height: 100px;
	background-color: #fff;
	border-radius: 30px;
	padding-left: 45px;
}

.recruit-header__logo-link {
	display: block;
	text-decoration: none;
}

.recruit-header__logo-img {
	display: block;
	width: 310px;
	height: 36px;
	object-fit: contain;
}


.recruit-header__nav {
	flex: 1;
	display: flex;
	align-items: center;
	padding-left: 50px;
}

.recruit-header__menu {
	display: flex;
	align-items: center;
	gap: 50px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.recruit-header__menu a {
	display: block;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 16px;
	font-weight: 900;
	color: #222;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.3s ease;
}

.recruit-header__menu a:hover {
	color: #6bb529;
}


.recruit-header__cta {
	flex-shrink: 0;
	display: flex;
	margin-left: auto;
}

.recruit-header__cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 190px;
	height: 100px;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 20px;
	font-weight: 900;
	text-decoration: none;
	text-align: center;
	white-space: nowrap;
	transition: opacity 0.3s ease;
}

.recruit-header__cta-btn--outline {
	background-color: #fff;
	color: #6bb529;
	border: 1px solid #6bb529;
	border-radius: 30px 0 0 30px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.recruit-header__cta-btn--outline:hover {
	background-color: #6bb529;
	color: #fff;
}

.recruit-header__cta-btn--filled {
	background-color: #6bb529;
	color: #fff;
	border: 1px solid #6bb529;
	border-radius: 0 30px 30px 0;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.recruit-header__cta-btn--filled:hover {
	background-color: #fff;
	color: #6bb529;
}




.recruit-header__toggle {
	display: none;
}


.recruit-header__mobile-menu {
	display: none;
}



@media (max-width: 1350px) {
	.recruit-header__logo-area {
		width: 340px;
		padding-left: 30px;
	}

	.recruit-header__logo-img {
		width: 260px;
	}

	.recruit-header__nav {
		padding-left: 30px;
	}

	.recruit-header__menu {
		gap: 30px;
	}

	.recruit-header__menu a {
		font-size: 14px;
	}

	.recruit-header__cta-btn {
		width: 150px;
		font-size: 16px;
	}
}



@media (max-width: 1099px) {
	.recruit-header {
		position: sticky;
		top: 0;
		background-color: #fff;
	}

	html, body {
		overflow-x: hidden;
		width: 100%;
		position: relative;
	}

	.recruit-header.is-scrolled {
		position: sticky;
	}

	.recruit-header__inner {
		height: 68px;
		justify-content: space-between;
		padding: 0;
	}


	.recruit-header__logo-area {
		width: 100%;
		height: 68px;
		border-radius: 0;
		padding-left: 20px;
		box-sizing: border-box;
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
	}

	.recruit-header__logo-img {
		width: 240px;
		height: 28px;
	}


	.recruit-header__nav {
		display: none;
	}

	.recruit-header__cta {
		display: none;
	}


	.recruit-header__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		right: 20px;
		top: 50%;
		transform: translateY(-50%);
		z-index: 10;
		background: none;
		border: none;
		cursor: pointer;
		padding: 8px;
	}

	.recruit-header__toggle-icon {
		display: flex;
		flex-direction: column;
		gap: 5px;
		width: 20px;
	}

	.recruit-header__toggle-icon span {
		display: block;
		width: 100%;
		height: 2px;
		background-color: #6bb529;
		border-radius: 7px;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}


	.recruit-header__toggle.is-open .recruit-header__toggle-icon span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	.recruit-header__toggle.is-open .recruit-header__toggle-icon span:nth-child(2) {
		opacity: 0;
	}

	.recruit-header__toggle.is-open .recruit-header__toggle-icon span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}


	.recruit-header__mobile-menu {
		display: block;
		position: fixed;
		top: 68px;
		left: 0;
		right: 0;
		bottom: 0;
		background-color: #fff;
		z-index: 999;
		transform: translateY(-100%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
		overflow-y: auto;
	}

	.recruit-header__mobile-menu.is-open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}


	.recruit-header__mobile-nav {
		padding: 0 20px;
	}

	.recruit-header__mobile-list {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.recruit-header__mobile-item {
		border-bottom: 1px solid #e5e7eb;
	}

	.recruit-header__mobile-item a {
		display: block;
		padding: 24px 0;
		font-family: 'Zen Kaku Gothic New', sans-serif;
		font-size: 16px;
		font-weight: 900;
		color: #333;
		text-decoration: none;
		line-height: 1.6;
	}

	.recruit-header__mobile-item a:hover {
		color: #6bb529;
	}


	.recruit-header__mobile-cta {
		display: flex;
		gap: 19px;
		padding: 24px 0;
	}

	.recruit-header__mobile-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 170px;
		padding: 10px 0;
		border-radius: 20px;
		font-family: 'Zen Kaku Gothic New', sans-serif;
		font-size: 14px;
		font-weight: 900;
		text-decoration: none;
		white-space: nowrap;
		transition: opacity 0.3s ease;
	}

	.recruit-header__mobile-btn:hover {
		opacity: 0.85;
	}

	.recruit-header__mobile-btn--outline {
		background-color: #fff;
		color: #6bb529;
		border: 1px solid #6bb529;
	}

	.recruit-header__mobile-btn--filled {
		background-color: #6bb529;
		color: #fff;
		border: 1px solid #6bb529;
	}
}
