/**
 * みつピタジョブ
 * トップページ：適職タイプ診断
 */

.mpj-home-career-analysis {
	width: 100%;
	margin: 0;
	padding: 76px 20px;
	background: #ffffff;
}

.mpj-home-career-analysis__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 64px;
	width: min(1120px, 100%);
	margin: 0 auto;
}

.mpj-home-career-analysis__image {
	min-width: 0;
	text-align: center;
}

.mpj-home-career-analysis__image img {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	margin: 0 auto;
	border-radius: 24px;
	box-shadow: 0 16px 40px rgba(20, 94, 62, 0.12);
}

.mpj-home-career-analysis__content {
	min-width: 0;
}

.mpj-home-career-analysis__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 18px;
	padding: 8px 18px;
	color: #087b43;
	background: #e8f5ee;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.08em;
}

.mpj-home-career-analysis__title {
	margin: 0 0 24px;
	color: #20372d;
	font-size: clamp(29px, 3.6vw, 44px);
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.02em;
}

.mpj-home-career-analysis__text {
	margin: 0;
	color: #5c6d65;
	font-size: 16px;
	line-height: 2;
}

.mpj-home-career-analysis__button-wrap {
	margin-top: 32px;
}

.mpj-home-career-analysis__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 290px;
	min-height: 58px;
	padding: 14px 30px;
	color: #ffffff;
	background: #087b43;
	border: 2px solid #087b43;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(8, 123, 67, 0.2);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition:
		color 0.2s ease,
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.2s ease;
}

.mpj-home-career-analysis__button::after {
	content: "→";
	margin-left: 10px;
	font-size: 18px;
	line-height: 1;
}

.mpj-home-career-analysis__button:hover {
	color: #087b43;
	background: #ffffff;
	border-color: #087b43;
	box-shadow: 0 10px 24px rgba(8, 123, 67, 0.24);
	text-decoration: none;
	transform: translateY(-2px);
}

.mpj-home-career-analysis__button:focus-visible {
	outline: 3px solid rgba(8, 123, 67, 0.24);
	outline-offset: 3px;
}

@media screen and (max-width: 991px) {
	.mpj-home-career-analysis {
		padding: 58px 20px 66px;
	}

	.mpj-home-career-analysis__inner {
		grid-template-columns: 1fr;
		gap: 40px;
		max-width: 760px;
	}

	.mpj-home-career-analysis__image {
		order: 1;
	}

	.mpj-home-career-analysis__content {
		order: 2;
		text-align: center;
	}

	.mpj-home-career-analysis__text {
		max-width: 640px;
		margin-right: auto;
		margin-left: auto;
	}

	.mpj-home-career-analysis__button-wrap {
		text-align: center;
	}
}

@media screen and (max-width: 767px) {
	.mpj-home-career-analysis {
		padding: 46px 15px 54px;
	}

	.mpj-home-career-analysis__inner {
		gap: 28px;
	}

	.mpj-home-career-analysis__image img {
		border-radius: 16px;
		box-shadow: 0 10px 28px rgba(20, 94, 62, 0.1);
	}

	.mpj-home-career-analysis__label {
		margin-bottom: 14px;
		padding: 7px 14px;
		font-size: 12px;
	}

	.mpj-home-career-analysis__title {
		margin-bottom: 18px;
		font-size: 28px;
		line-height: 1.5;
	}

	.mpj-home-career-analysis__title br {
		display: none;
	}

	.mpj-home-career-analysis__text {
		font-size: 15px;
		line-height: 1.9;
		text-align: left;
	}

	.mpj-home-career-analysis__button-wrap {
		margin-top: 26px;
	}

	.mpj-home-career-analysis__button {
		width: 100%;
		min-width: 0;
		min-height: 56px;
		padding-right: 20px;
		padding-left: 20px;
		font-size: 15px;
	}
}
