/**
 * =====================================================
 * みつピタジョブ
 * トップページ：みつピタジョブ関西
 * -----------------------------------------------------
 * 配置場所：
 * /wp-content/themes/lightning-child/
 * assets/css/home/home-kansai.css
 *
 * 役割：
 * ・全国版トップから関西版への導線を表示する
 * ・関西版ロゴを大きく見やすく表示する
 * ・PC、タブレット、スマートフォンに対応する
 * =====================================================
 */

.mpj-home-kansai {
	width: 100%;
	padding: 72px 20px;
	background:
		linear-gradient(
			180deg,
			#fffaf4 0%,
			#ffffff 100%
		);
	box-sizing: border-box;
}

.mpj-home-kansai__inner {
	width: min(1180px, 100%);
	margin: 0 auto;
}

.mpj-home-kansai__content {
	position: relative;
	padding: 48px 36px 52px;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid #f4d8bf;
	border-radius: 24px;
	box-shadow:
		0 14px 36px
		rgba(74, 52, 32, 0.1);
	text-align: center;
	box-sizing: border-box;
}

.mpj-home-kansai__content::before {
	position: absolute;
	top: -90px;
	right: -80px;
	width: 220px;
	height: 220px;
	background:
		rgba(242, 138, 46, 0.1);
	border-radius: 50%;
	content: "";
}

.mpj-home-kansai__content::after {
	position: absolute;
	bottom: -110px;
	left: -80px;
	width: 240px;
	height: 240px;
	background:
		rgba(27, 139, 91, 0.07);
	border-radius: 50%;
	content: "";
}


/**
 * =====================================================
 * みつピタジョブ関西ロゴ
 * -----------------------------------------------------
 * 横長ロゴを大きく表示します。
 * =====================================================
 */

.mpj-home-kansai__logo {
	position: relative;
	z-index: 1;
	display: block;
	width: min(760px, 96%);
	max-width: 100%;
	height: auto;
	max-height: none;
	margin: 0 auto 26px;
	object-fit: contain;
	object-position: center;
}

.mpj-home-kansai__label {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #d96d17;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.18em;
}

.mpj-home-kansai__title {
	position: relative;
	z-index: 1;
	margin: 12px 0 0;
	color: #2f2f2f;
	font-size: clamp(27px, 3vw, 38px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
}

.mpj-home-kansai__description {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin: 14px auto 0;
	color: #555555;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.9;
}

.mpj-home-kansai__areas {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.mpj-home-kansai__areas li {
	min-width: 82px;
	padding: 8px 16px;
	background: #fff7ef;
	border: 1px solid #f2c79d;
	border-radius: 999px;
	color: #a95110;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	box-sizing: border-box;
}

.mpj-home-kansai__actions {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.mpj-home-kansai__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 310px;
	min-height: 58px;
	padding: 14px 30px;
	background:
		linear-gradient(
			135deg,
			#f28a2e 0%,
			#e96f1c 100%
		);
	border-radius: 999px;
	box-shadow:
		0 10px 24px
		rgba(233, 111, 28, 0.24);
	color: #ffffff;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		background 0.2s ease;
}

.mpj-home-kansai__button:hover {
	background:
		linear-gradient(
			135deg,
			#e97824 0%,
			#d95f10 100%
		);
	box-shadow:
		0 14px 30px
		rgba(233, 111, 28, 0.32);
	color: #ffffff;
	transform: translateY(-2px);
}

.mpj-home-kansai__button:focus-visible {
	outline: 3px solid #333333;
	outline-offset: 4px;
}

.mpj-home-kansai__button-icon {
	font-size: 30px;
	font-weight: 400;
	line-height: 1;
}


/**
 * =====================================================
 * タブレット
 * =====================================================
 */
@media screen and (max-width: 1024px) {

	.mpj-home-kansai {
		padding: 60px 20px;
	}

	.mpj-home-kansai__content {
		padding: 44px 28px 48px;
	}

	.mpj-home-kansai__logo {
		width: min(680px, 96%);
		margin-bottom: 24px;
	}

}


/**
 * =====================================================
 * スマートフォン
 * =====================================================
 */
@media screen and (max-width: 767px) {

	.mpj-home-kansai {
		padding: 48px 16px;
	}

	.mpj-home-kansai__content {
		padding: 34px 18px 38px;
		border-radius: 18px;
	}

	.mpj-home-kansai__logo {
		width: 100%;
		max-width: 100%;
		height: auto;
		max-height: none;
		margin: 0 auto 22px;
		object-fit: contain;
	}

	.mpj-home-kansai__label {
		font-size: 11px;
		letter-spacing: 0.14em;
	}

	.mpj-home-kansai__title {
		margin-top: 10px;
		font-size: 25px;
	}

	.mpj-home-kansai__description {
		margin-top: 12px;
		font-size: 15px;
		line-height: 1.8;
	}

	.mpj-home-kansai__areas {
		gap: 8px;
		margin-top: 22px;
	}

	.mpj-home-kansai__areas li {
		min-width: 76px;
		padding: 7px 13px;
		font-size: 13px;
	}

	.mpj-home-kansai__actions {
		margin-top: 26px;
	}

	.mpj-home-kansai__button {
		width: 100%;
		min-width: 0;
		min-height: 56px;
		padding: 13px 18px;
		font-size: 16px;
	}

}


/**
 * =====================================================
 * 小さいスマートフォン
 * =====================================================
 */
@media screen and (max-width: 420px) {

	.mpj-home-kansai {
		padding-right: 12px;
		padding-left: 12px;
	}

	.mpj-home-kansai__content {
		padding-right: 14px;
		padding-left: 14px;
	}

	.mpj-home-kansai__title {
		font-size: 23px;
	}

	.mpj-home-kansai__description {
		font-size: 14px;
	}

	.mpj-home-kansai__areas li {
		min-width: 72px;
		padding-right: 11px;
		padding-left: 11px;
	}

}