/**
 * Top Page (Recruit Homepage) Styles
 *
 * Matching Figma design exactly.
 * Desktop: 1400px width
 * Mobile: 400px width
 *
 * Fonts: Zen Kaku Gothic New, Zen Maru Gothic, Ubuntu
 * Brand green: #6bb529
 * Text dark: #222
 * Background gray: #f4f4f4
 *
 * @package Okayama
 */



.page-top {
	background-color: #fff;
	overflow: hidden;
}




.hero {
	position: relative;
	width: 100%;
	border-radius: 80px;
	overflow: hidden;
}

.hero__bg {
	width: 100%;
}

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

.hero__overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 520px;
	height: 520px;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.hero__circle {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.hero__content {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: #fff;
	z-index: 2;
}

.hero__subtitle {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 28px;
	font-weight: 900;
	line-height: normal;
	margin: 0 0 12px;
}

.hero__title {
	font-family: 'Zen Maru Gothic', sans-serif;
	font-size: 56px;
	font-weight: 900;
	line-height: normal;
	margin: 0;
}

.hero__title-line {
	display: block;
}

.hero__accent {
	color: #6bb529;
}

.hero__lead {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 22px;
	font-weight: 900;
	line-height: normal;
	margin: 16px 0 0;
}



.introduction {
	position: relative;
	padding: 100px 20px 80px;
	background-color: #fff;
}

.introduction__dot {
	position: absolute;
	width: 400px;
	height: 400px;
	top: 4px;
	left: calc(50% + 440px);
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 0;
}

.introduction__dot-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.introduction__container {
	position: relative;
	z-index: 1;
	max-width: 940px;
	margin: 0 auto;
	text-align: center;
}

.introduction__text {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 32px;
	font-weight: 900;
	line-height: 60px;
	color: #222;
	margin: 0;
}



.news {
	padding: 0 20px 80px;
	background-color: #fff;
}

.news__container {
	max-width: 780px;
	margin: 0 auto;
}


.news__header {
	text-align: center;
	margin-bottom: 40px;
}

.news__label {
	display: block;
	font-family: 'Ubuntu', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #6bb529;
	line-height: 20px;
	margin-bottom: 10px;
}

.news__title {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 28px;
	font-weight: 900;
	color: #222;
	line-height: 36px;
	margin: 0;
}


.news__list {
	display: flex;
	flex-direction: column;
	gap: 40px;
	margin-bottom: 60px;
}

.news__item-meta {
	display: flex;
	align-items: center;
	gap: 20px;
}

.news__date {
	font-family: 'Ubuntu', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: #222;
	line-height: 20px;
	flex-shrink: 0;
}

.news__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 30px;
	padding: 0 18px;
	background-color: #6bb529;
	color: #fff;
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	border-radius: 20px;
	flex-shrink: 0;
	white-space: nowrap;
}

.news__item-title {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #222;
	line-height: 28px;
}

.news__item--link {
	display: block;
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

.news__item--link:hover .news__date,
.news__item--link:hover .news__item-title {
	color: #6bb529;
}

.news__divider {
	height: 1px;
	background-color: #e5e7eb;
	margin-top: 40px;
	position: relative;
}

.news__divider::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 2px;
	background-color: #6bb529;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.65s ease-in-out;
}

.news__item--link:hover .news__divider::after {
	transform: scaleX(1);
}

.news__action {
	text-align: center;
}



.showcases {
	position: relative;
}

.showcase {
	position: relative;
	padding: 80px 0;
	margin-top: 146px;
}

.showcase__dot {
	position: absolute;
	width: 400px;
	height: 400px;
	pointer-events: none;
	z-index: 0;
}

.showcase__dot-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}


.showcase__bg-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: calc(50% + 550px);
	background-color: #f4f4f4;
	border-radius: 50px 0 0 50px;
	z-index: 0;
}

.showcase__container {
	position: relative;
	z-index: 1;
	display: grid;
	column-gap: 40px;
	grid-template-rows: auto 1fr;
}


.showcase--image-right .showcase__container {
	grid-template-columns: 366px 1fr;
	padding-left: calc(max(150px, (100vw - 1100px) / 2) + 80px);
	padding-right: 0;
}

.showcase--image-right .showcase__heading {
	grid-column: 1;
	grid-row: 1;
}

.showcase--image-right .showcase__content {
	grid-column: 1;
	grid-row: 2;
	align-self: end;
}

.showcase--image-right .showcase__image {
	grid-column: 2;
	grid-row: 1 / -1;
	align-self: end;
}

.showcase--image-right .showcase__img {
	width: 100%;
	height: 378px;
	object-fit: cover;
	border-radius: 30px 0 0 30px;
}



.showcase:nth-child(1) .showcase__dot {
	top: -110px;
	left: calc(50% - 125px);
	transform: translateX(-50%);
}


.showcase:nth-child(2) .showcase__dot {
	top: -74px;
	left: calc(50% + 150px);
	transform: translateX(-50%);
}


.showcase:nth-child(3) .showcase__dot {
	top: -57px;
	left: calc(50% - 554px);
	transform: translateX(-50%);
}


.showcase:nth-child(4) .showcase__dot {
	top: -60px;
	left: calc(50% + 444px);
	transform: translateX(-50%);
}


.showcase--image-left .showcase__container {
	grid-template-columns: 1fr 366px;
	padding-right: max(150px, calc((100vw - 1100px) / 2));
	padding-left: 0;
}

.showcase--image-left .showcase__heading {
	grid-column: 2;
	grid-row: 1;
}

.showcase--image-left .showcase__content {
	grid-column: 2;
	grid-row: 2;
	align-self: end;
}

.showcase--image-left .btn-more {
	margin-left: auto;
}

.showcase--image-left .showcase__image {
	grid-column: 1;
	grid-row: 1 / -1;
	align-self: end;
}

.showcase--image-left .showcase__img {
	width: 100%;
	height: 378px;
	object-fit: cover;
	border-radius: 0 30px 30px 0;
}



.showcase__heading {
	margin-bottom: 30px;
}

.showcase__label {
	display: block;
	font-family: 'Ubuntu', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #6bb529;
	line-height: 20px;
	margin-bottom: 10px;
}

.showcase__title {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 56px;
	font-weight: 900;
	color: #222;
	line-height: 70px;
	margin: 0;
}

.showcase__title-accent {
	color: #6bb529;
}

.showcase__description {
	font-family: 'Zen Kaku Gothic New', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #222;
	line-height: 28px;
	margin: 0 0 80px;
}

.showcase--image-left .showcase__description {
	margin-bottom: 80px;
}




.entry-cta-wrap {
	position: relative;
}

.entry-cta__dot {
	position: absolute;
	width: 400px;
	height: 400px;
	top: -80px;
	left: -120px;
	pointer-events: none;
	z-index: 0;
}

.entry-cta__dot-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}



@media (max-width: 1200px) {
	.showcase--image-right .showcase__container {
		padding-left: 60px;
		grid-template-columns: 300px 1fr;
	}

	.showcase--image-left .showcase__container {
		padding-right: 60px;
		grid-template-columns: 1fr 300px;
	}

	.showcase__bg-panel {
		width: calc(50% + 400px);
	}

	.showcase--image-right .showcase__img,
	.showcase--image-left .showcase__img {
		height: 320px;
	}

	.showcase__title {
		font-size: 44px;
		line-height: 56px;
	}

}



@media (max-width: 768px) {

	.hero {
		border-radius: 0 0 30px 30px;
		min-height: clamp(480px, 88vh, 720px);
	}

	.hero__bg {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		z-index: 0;
	}

	.hero__bg-img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	.hero__overlay {
		width: min(360px, 92vw);
		height: min(360px, 92vw);
		z-index: 1;
	}

	.hero__content {
		z-index: 2;
		width: calc(100% - 32px);
		max-width: 520px;
		padding: 0 16px;
		box-sizing: border-box;
	}

	.hero__subtitle {
		font-size: 20px;
	}

	.hero__title {
		font-size: clamp(24px, 5.8vw, 38px);
		line-height: 1.38;
	}

	.hero__lead {
		font-size: 16px;
		margin-top: 12px;
	}


	.introduction {
		padding: 60px 20px;
	}

	.introduction__text {
		font-size: 20px;
		line-height: 34px;
		font-weight: 900;
	}

	.introduction__text br {
		display: none;
	}


	.news {
		padding: 0 20px 60px;
	}

	.news__container {
		max-width: 100%;
	}

	.news__label {
		font-size: 12px;
	}

	.news__title {
		font-size: 18px;
		line-height: 26px;
	}

	.news__item-meta {
		flex-wrap: wrap;
		gap: 10px;
	}

	.news__date {
		font-size: 12px;
		line-height: 18px;
	}

	.news__badge {
		font-size: 12px;
		height: 30px;
		padding: 0 16px;
	}

	.news__item-title {
		font-size: 14px;
		line-height: 24px;
		width: 100%;
	}

	.news__divider {
		margin-top: 20px;
	}

	.news__list {
		gap: 20px;
		margin-bottom: 40px;
	}


	.showcase {
		padding: 50px 0;
		margin-top: 0;
	}

	.showcase__dot {
		width: 240px;
		height: 240px;
	}

	.showcase--has-bg {
		padding: 80px 0;
	}

	.showcase__bg-panel {
		width: 100%;
		height: auto;
		top: 0;
		bottom: 0;
		border-radius: 50px 0 0 50px;
	}

	.showcase__container,
	.showcase--image-right .showcase__container,
	.showcase--image-left .showcase__container {
		display: flex;
		flex-direction: column;
		padding: 0 20px;
		gap: 20px;
	}

	.showcase__heading {
		order: 1;
		margin-bottom: 0;
	}

	.showcase--image-right .showcase__heading {
		padding-top: 0;
	}

	.showcase__image {
		order: 2;
	}

	.showcase__content {
		order: 3;
		align-self: auto;
	}

	.showcase--image-left .btn-more {
		margin-left: 0;
	}

	.showcase__title {
		font-size: 34px;
		line-height: 44px;
	}

	.showcase__label {
		font-size: 12px;
	}

	.showcase__description {
		font-size: 14px;
		line-height: 24px;
		margin-bottom: 30px;
	}

	.showcase--image-left .showcase__description {
		margin-bottom: 30px;
	}


	.showcase--image-right .showcase__image {
		width: calc(100% + 20px);
		align-self: flex-end;
		margin-right: -20px;
	}

	.showcase--image-right .showcase__img {
		width: 100%;
		height: 188px;
	}


	.showcase--image-left .showcase__image {
		width: calc(100% + 20px);
		margin-left: -20px;
	}

	.showcase--image-left .showcase__img {
		width: 100%;
		height: 188px;
	}

	.showcase:nth-child(1) .showcase__dot,
	.showcase:nth-child(2) .showcase__dot,
	.showcase:nth-child(3) .showcase__dot,
	.showcase:nth-child(4) .showcase__dot {
		transform: translateX(-50%);
	}

	.showcase:nth-child(1) .showcase__dot {
		top: -30px;
		left: 20%;
	}

	.showcase:nth-child(2) .showcase__dot {
		top: -30px;
		left: 80%;
	}

	.showcase:nth-child(3) .showcase__dot {
		top: -30px;
		left: 10%;
	}

	.showcase:nth-child(4) .showcase__dot {
		top: -30px;
		left: 85%;
	}


	.introduction__dot {
		width: 240px;
		height: 240px;
		top: -20px;
		left: calc(50% + 160px);
	}


	.entry-cta__dot {
		width: 200px;
		height: 200px;
		top: -40px;
		left: -60px;
	}
}
