/**
 * =====================================================
 * みつピタジョブ関西
 * トップページ：みつピタジョブ関西について
 * -----------------------------------------------------
 * 配置場所：
 * /wp-content/plugins/mitsupita-kansai/assets/front/css/about.css
 * =====================================================
 */

.mpk-about {
	position: relative;
	overflow: hidden;
	padding: 88px 20px 96px;
	background:
		linear-gradient(
			180deg,
			#f7fffb 0%,
			#ffffff 100%
		);
}

.mpk-about::before,
.mpk-about::after {
	position: absolute;
	z-index: 0;
	border-radius: 999px;
	content: "";
	pointer-events: none;
}

.mpk-about::before {
	top: -120px;
	left: -130px;
	width: 310px;
	height: 310px;
	background: rgba(31, 157, 104, 0.06);
}

.mpk-about::after {
	right: -150px;
	bottom: -170px;
	width: 380px;
	height: 380px;
	background: rgba(238, 178, 51, 0.07);
}

.mpk-about__inner {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	margin: 0 auto;
}

.mpk-about__header {
	max-width: 780px;
	margin: 0 auto 48px;
	text-align: center;
}

.mpk-about__eyebrow {
	margin: 0 0 8px;
	color: #c58f20;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.4;
}

.mpk-about__title {
	margin: 0;
	color: #10653f;
	font-size: clamp(28px, 3.5vw, 42px);
	font-weight: 800;
	letter-spacing: 0.03em;
	line-height: 1.45;
}

.mpk-about__lead {
	margin: 20px 0 0;
	color: #53645c;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 2;
}

.mpk-about__cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.mpk-about-card {
	position: relative;
	overflow: hidden;
	min-width: 0;
	padding: 34px 28px 32px;
	border: 1px solid #dceee5;
	border-radius: 20px;
	background: #ffffff;
	box-shadow:
		0 8px 26px rgba(17, 92, 60, 0.07);
	text-align: center;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.mpk-about-card:hover {
	border-color: #a8d8c0;
	box-shadow:
		0 14px 34px rgba(17, 92, 60, 0.12);
	transform: translateY(-4px);
}

.mpk-about-card__number {
	position: absolute;
	top: 16px;
	right: 18px;
	color: #dceee5;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1;
}

.mpk-about-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	margin: 0 auto 22px;
	border-radius: 50%;
	background: #ecf9f2;
	color: #15895a;
}

.mpk-about-card__icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.mpk-about-card__title {
	margin: 0;
	color: #126d46;
	font-size: 21px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.55;
}

.mpk-about-card__catch {
	margin: 14px 0 0;
	color: #263c32;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.7;
}

.mpk-about-card__text {
	margin: 12px 0 0;
	color: #64736c;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.9;
}

.mpk-about__button-wrap {
	display: flex;
	justify-content: center;
	margin-top: 44px;
}

.mpk-about__button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 270px;
	min-height: 58px;
	padding: 14px 54px 14px 28px;
	border: 1px solid #15895a;
	border-radius: 999px;
	background: linear-gradient(
		135deg,
		#1b9b68 0%,
		#087849 100%
	);
	box-shadow:
		0 8px 20px rgba(8, 120, 73, 0.2);
	color: #ffffff;
	font-size: 15px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.mpk-about__button:hover,
.mpk-about__button:focus-visible {
	box-shadow:
		0 12px 26px rgba(8, 120, 73, 0.28);
	color: #ffffff;
	opacity: 0.96;
	text-decoration: none;
	transform: translateY(-2px);
}

.mpk-about__button:focus-visible {
	outline: 3px solid rgba(21, 137, 90, 0.24);
	outline-offset: 4px;
}

.mpk-about__button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.mpk-about__button-icon svg {
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
}

.mpk-about__button-arrow {
	position: absolute;
	top: 50%;
	right: 24px;
	font-size: 25px;
	font-weight: 400;
	line-height: 1;
	transform: translateY(-52%);
}

@media screen and (max-width: 991px) {

	.mpk-about {
		padding-top: 76px;
		padding-bottom: 84px;
	}

	.mpk-about__cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mpk-about-card:last-child {
		grid-column: 1 / -1;
		width: calc(50% - 11px);
		margin: 0 auto;
	}

}

@media screen and (max-width: 767px) {

	.mpk-about {
		padding: 64px 16px 70px;
	}

	.mpk-about__header {
		margin-bottom: 34px;
	}

	.mpk-about__title {
		font-size: 28px;
		line-height: 1.45;
	}

	.mpk-about__lead {
		margin-top: 16px;
		font-size: 14px;
		line-height: 1.9;
	}

	.mpk-about__lead-break {
		display: none;
	}

	.mpk-about__cards {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.mpk-about-card,
	.mpk-about-card:last-child {
		grid-column: auto;
		width: 100%;
		margin: 0;
		padding: 30px 22px 28px;
		border-radius: 18px;
	}

	.mpk-about-card:hover {
		transform: none;
	}

	.mpk-about-card__number {
		top: 15px;
		right: 16px;
		font-size: 29px;
	}

	.mpk-about-card__icon {
		width: 66px;
		height: 66px;
		margin-bottom: 18px;
	}

	.mpk-about-card__icon svg {
		width: 30px;
		height: 30px;
	}

	.mpk-about-card__title {
		font-size: 19px;
	}

	.mpk-about__button-wrap {
		margin-top: 34px;
	}

	.mpk-about__button {
		width: 100%;
		min-width: 0;
		max-width: 360px;
		min-height: 56px;
		padding-right: 50px;
		padding-left: 24px;
	}

}

@media (prefers-reduced-motion: reduce) {

	.mpk-about-card,
	.mpk-about__button {
		transition: none;
	}

}