/**
 * =====================================================
 * みつピタジョブ メディカル求人詳細
 * 求人詳細ページCSS
 * =====================================================
 */

.mpmjd-job-detail {
	margin: 32px 0;
	color: #20342d;
}

.mpmjd-section {
	margin: 24px 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e3ece7;
	border-radius: 18px;
	box-shadow: 0 7px 22px rgba(26, 90, 66, 0.06);
}

.mpmjd-section h2 {
	margin: 0;
	padding: 18px 22px;
	color: #176b4d;
	font-size: 1.15rem;
	line-height: 1.5;
	background: linear-gradient(
		135deg,
		#f1fbf6,
		#fffaf0
	);
	border-bottom: 1px solid #e3ece7;
}

.mpmjd-section h2 span {
	margin-right: 8px;
}

.mpmjd-section-body {
	padding: 22px;
	line-height: 1.9;
}

.mpmjd-section-body p:first-child {
	margin-top: 0;
}

.mpmjd-section-body p:last-child {
	margin-bottom: 0;
}

.mpmjd-info-table {
	margin: 0;
}

.mpmjd-info-row {
	display: grid;
	grid-template-columns:
		minmax(140px, 28%)
		1fr;
	border-bottom: 1px solid #edf2ef;
}

.mpmjd-info-row:last-child {
	border-bottom: 0;
}

.mpmjd-info-row dt {
	padding: 15px 18px;
	color: #176b4d;
	font-weight: 700;
	background: #f7fbf9;
}

.mpmjd-info-row dd {
	margin: 0;
	padding: 15px 18px;
	line-height: 1.75;
}

.mpmjd-cta {
	margin: 32px 0;
	padding: 28px;
	text-align: center;
	background: linear-gradient(
		135deg,
		#eaf8f1,
		#fff9e8
	);
	border-radius: 20px;
}

.mpmjd-cta p {
	margin: 0 0 14px;
	font-weight: 700;
}

.mpmjd-cta a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 260px;
	padding: 14px 26px;
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none;
	background: #168354;
	border-radius: 999px;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.mpmjd-cta a:hover,
.mpmjd-cta a:focus {
	color: #ffffff !important;
	background: #116b44;
	box-shadow: 0 8px 20px rgba(22, 131, 84, 0.24);
	transform: translateY(-1px);
}

.mpmjd-related {
	margin: 38px 0;
}

.mpmjd-related h2 {
	color: #176b4d;
	font-size: 1.35rem;
}

.mpmjd-related-grid {
	display: grid;
	grid-template-columns:
		repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.mpmjd-related-card {
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #e3ece7;
	border-radius: 16px;
	box-shadow: 0 7px 22px rgba(26, 90, 66, 0.06);
}

.mpmjd-related-image {
	display: block;
	overflow: hidden;
}

.mpmjd-related-image img {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.mpmjd-related-image:hover img {
	transform: scale(1.03);
}

.mpmjd-related-card h3 {
	margin: 16px;
	font-size: 1rem;
	line-height: 1.55;
}

.mpmjd-related-card h3 a {
	color: #20342d;
	text-decoration: none;
}

.mpmjd-related-link {
	display: block;
	margin: 16px;
	padding: 11px 14px;
	color: #ffffff !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	background: #168354;
	border-radius: 999px;
}

.mpmjd-related-link:hover,
.mpmjd-related-link:focus {
	color: #ffffff !important;
	background: #116b44;
}

@media (max-width: 767px) {

	.mpmjd-job-detail {
		margin: 24px 0;
	}

	.mpmjd-info-row {
		grid-template-columns: 1fr;
	}

	.mpmjd-info-row dt {
		padding-bottom: 8px;
	}

	.mpmjd-info-row dd {
		padding-top: 8px;
	}

	.mpmjd-related-grid {
		grid-template-columns: 1fr;
	}

	.mpmjd-section {
		border-radius: 14px;
	}

	.mpmjd-section h2,
	.mpmjd-section-body {
		padding: 17px;
	}

	.mpmjd-cta {
		padding: 22px 18px;
	}

	.mpmjd-cta a {
		width: 100%;
		min-width: 0;
	}
}