/**
 * =====================================================
 * みつピタジョブ
 * 全国版求人検索ページ
 * 基本レイアウト
 * -----------------------------------------------------
 * ・上部HERO画像を切らずに表示
 * ・下部ビジュアルを切らずに表示
 * ・画像本来の縦横比を維持
 * ・スマホ〜PC大画面まで自動リサイズ
 * =====================================================
 */

.mpj-job-search-page {
	width: 100%;
	margin: 0;
	padding: 0;
	background: #f6f9f7;
	color: #26352f;
}

.mpj-job-search {
	width: 100%;
	margin: 0;
	padding: 0;
}

.mpj-job-search__body {
	width: 100%;
	margin: 0;
	padding: 48px 0 0;
}

.mpj-job-search__inner {
	width: min(100% - 40px, 1240px);
	margin: 0 auto;
}

/* =====================================================
 * 上部HERO
 * =====================================================
 */

.mpj-job-search-hero {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0;
	padding: 0;
	background: #ffffff;
	box-sizing: border-box;
	overflow: visible;
}

.mpj-job-search-hero__picture {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	overflow: visible;
	line-height: 0;
}

.mpj-job-search-hero__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0 auto;
	padding: 0;
	border: 0;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: center;
	transform: none;
	vertical-align: top;
}

/* =====================================================
 * HERO画像がない場合
 * =====================================================
 */

.mpj-job-search-hero__fallback {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: min(100% - 40px, 1240px);
	min-height: 320px;
	margin: 0 auto;
	padding: 48px;
	box-sizing: border-box;
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#edf7f1 58%,
			#f5efe2 100%
		);
}

.mpj-job-search-hero__fallback-label {
	margin: 0 0 12px;
	color: #b18a43;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.mpj-job-search-hero__fallback-title {
	max-width: 620px;
	margin: 0;
	color: #176247;
	font-size: clamp(30px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.45;
}

.mpj-job-search-hero__fallback-error {
	margin: 14px 0 0;
	color: #65736d;
	font-size: 14px;
	line-height: 1.7;
}

/* =====================================================
 * 導入
 * =====================================================
 */

.mpj-job-search-introduction {
	width: min(100%, 800px);
	margin: 0 auto 36px;
	text-align: center;
}

.mpj-job-search-introduction__label {
	margin: 0 0 8px;
	color: #b18a43;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.mpj-job-search-introduction__heading {
	margin: 0;
	color: #176247;
	font-size: clamp(27px, 3.6vw, 40px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.mpj-job-search-introduction__text {
	margin: 14px 0 0;
	color: #53635c;
	font-size: 16px;
	line-height: 1.9;
}

/* =====================================================
 * 検索フォーム全体
 * =====================================================
 */

.mpj-job-search-form-section {
	width: 100%;
	margin: 0 0 40px;
	padding: 32px;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid #dce7e1;
	border-radius: 22px;
	box-shadow:
		0 10px 30px rgba(38, 53, 47, 0.07);
}

.mpj-job-search-form-section__header {
	margin: 0 0 26px;
	text-align: center;
}

.mpj-job-search-form-section__heading {
	margin: 0;
	color: #176247;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.5;
}

.mpj-job-search-form-section__description {
	margin: 8px 0 0;
	color: #607169;
	font-size: 14px;
	line-height: 1.7;
}

/* =====================================================
 * 検索結果
 * =====================================================
 */

.mpj-job-search-results {
	width: 100%;
	margin: 0;
}

.mpj-job-search-results__header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin: 0 0 20px;
}

.mpj-job-search-results__heading {
	margin: 0;
	color: #176247;
	font-size: 25px;
	font-weight: 700;
	line-height: 1.5;
}

.mpj-job-search-results__status {
	margin: 0;
	color: #607169;
	font-size: 14px;
}

.mpj-job-search-results__placeholder {
	width: 100%;
	padding: 44px 24px;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px dashed #b9cdc2;
	border-radius: 18px;
	color: #607169;
	text-align: center;
}

.mpj-job-search-results__placeholder p {
	margin: 0;
	line-height: 1.8;
}

/* =====================================================
 * 検索ページ下部ビジュアル
 * -----------------------------------------------------
 * ・画面幅に合わせて自動リサイズ
 * ・固定高さを使用しない
 * ・画像全体を切らずに表示
 * ・PC大画面でも横幅いっぱい
 * =====================================================
 */

.mpj-job-search-footer-visual {
	width: 100%;
	max-width: none;
	height: auto;
	margin: 72px 0 0;
	padding: 0;
	box-sizing: border-box;
	background: #f6f9f7;
	overflow: visible;
}

.mpj-job-search-footer-visual__picture {
	display: block;
	width: 100%;
	max-width: none;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0;
	padding: 0;
	line-height: 0;
	overflow: visible;
}

.mpj-job-search-footer-visual__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	min-height: 0;
	max-height: none;
	margin: 0 auto;
	padding: 0;
	border: 0;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: center;
	transform: none;
	vertical-align: top;
}

/* =====================================================
 * コンポーネント読込エラー
 * =====================================================
 */

.mpj-job-search-component-error {
	width: 100%;
	margin: 24px 0;
	padding: 20px;
	box-sizing: border-box;
	border: 1px solid #e4d7bd;
	border-radius: 14px;
	background: #fffaf0;
	color: #755c2a;
	text-align: center;
}

.mpj-job-search-component-error p {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
}

/* =====================================================
 * タブレット
 * =====================================================
 */

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

	.mpj-job-search__body {
		padding-top: 40px;
	}

	.mpj-job-search-hero,
	.mpj-job-search-hero__picture {
		width: 100%;
		max-width: none;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.mpj-job-search-hero__image {
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
		aspect-ratio: auto;
		object-fit: contain;
		object-position: center;
	}

	.mpj-job-search-hero__fallback {
		width: calc(100% - 32px);
		min-height: 280px;
		padding: 40px;
	}

	.mpj-job-search-footer-visual {
		width: 100%;
		margin-top: 56px;
		padding: 0;
	}

	.mpj-job-search-footer-visual__picture,
	.mpj-job-search-footer-visual__image {
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
	}

}

/* =====================================================
 * スマートフォン
 * =====================================================
 */

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

	.mpj-job-search__body {
		padding-top: 32px;
	}

	.mpj-job-search__inner {
		width: min(100% - 24px, 1240px);
	}

	.mpj-job-search-hero,
	.mpj-job-search-hero__picture {
		display: block;
		width: 100%;
		max-width: none;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.mpj-job-search-hero__image {
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0;
		padding: 0;
		aspect-ratio: auto;
		object-fit: contain;
		object-position: center;
		transform: none;
	}

	.mpj-job-search-hero__fallback {
		width: calc(100% - 16px);
		min-height: 180px;
		padding: 28px 20px;
	}

	.mpj-job-search-hero__fallback-label {
		margin-bottom: 8px;
		font-size: 11px;
	}

	.mpj-job-search-hero__fallback-title {
		font-size: 25px;
		line-height: 1.4;
	}

	.mpj-job-search-introduction {
		margin-bottom: 28px;
	}

	.mpj-job-search-introduction__heading {
		font-size: 26px;
	}

	.mpj-job-search-introduction__text {
		font-size: 15px;
	}

	.mpj-job-search-form-section {
		margin-bottom: 30px;
		padding: 24px 18px;
		border-radius: 17px;
	}

	.mpj-job-search-form-section__heading {
		font-size: 21px;
	}

	.mpj-job-search-results__header {
		display: block;
		margin-bottom: 16px;
	}

	.mpj-job-search-results__heading {
		font-size: 22px;
	}

	.mpj-job-search-results__status {
		margin-top: 6px;
	}

	.mpj-job-search-footer-visual {
		width: 100%;
		margin-top: 42px;
		padding: 0;
	}

	.mpj-job-search-footer-visual__picture {
		display: block;
		width: 100%;
		max-width: none;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0;
		padding: 0;
		overflow: visible;
	}

	.mpj-job-search-footer-visual__image {
		display: block;
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
		margin: 0;
		padding: 0;
		aspect-ratio: auto;
		object-fit: contain;
		object-position: center;
		transform: none;
	}

}

/* =====================================================
 * 小さいスマートフォン
 * =====================================================
 */

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

	.mpj-job-search-hero,
	.mpj-job-search-hero__picture,
	.mpj-job-search-hero__image {
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
	}

	.mpj-job-search-footer-visual {
		width: 100%;
		margin-top: 34px;
		padding: 0;
	}

	.mpj-job-search-footer-visual__picture,
	.mpj-job-search-footer-visual__image {
		width: 100%;
		max-width: 100%;
		height: auto;
		min-height: 0;
		max-height: none;
	}

}