/* 職種紹介セクションのプレミアムグリッド＆カードデザイン */
#job {
	padding: 60px 0;
}

.section-main-title {
	font-size: 28px;
	font-weight: 700;
	color: #333;
	text-align: center;
	margin-bottom: 40px;
	position: relative;
	padding-bottom: 15px;
}

.section-main-title::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 3px;
	background-color: #000;
}

/* CSS Gridを使用したレイアウト */
.job-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px 30px;
	margin-bottom: 50px;
}

@media (min-width: 992px) {
	.job-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ジョブカード全体のプレミアム化 */
.job-card {
	background: #ffffff;
	border: 1px solid #eef2f5;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	display: flex;
	flex-direction: column;
}

.job-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* 画像コンテナ */
.job-card__image-container {
	width: 100%;
	height: 240px;
	overflow: hidden;
	position: relative;
}

.job-card__image-container img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%;
	transition: transform 0.5s ease;
	display: block;
}

.job-card:hover .job-card__image-container img {
	transform: scale(1.05);
}

/* カードコンテンツ */
.job-card__body {
	padding: 30px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

/* カテゴリ英語表記 */
.job-card__category {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.15em;
	color: #888;
	margin-bottom: 8px;
	text-transform: uppercase;
	display: block;
}

/* タイトル（日本語） */
.job-card__title {
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin-top: 0;
	margin-bottom: 12px;
	line-height: 1.4;
	border: none;
	padding: 0;
}

/* リード文 */
.job-card__lead {
	font-size: 15px;
	font-weight: 600;
	color: #d32f2f;
	margin-top: 0;
	margin-bottom: 16px;
	line-height: 1.5;
}

/* 本文 */
.job-card__desc {
	font-size: 14px;
	line-height: 1.7;
	color: #555;
	margin-bottom: 0;
}

/* 応募資格（メカニック用）のサブボックス */
.job-card__sub-box {
	margin-top: 20px;
	background-color: #f7f9fa;
	border-left: 4px solid #333;
	padding: 15px 20px;
	border-radius: 0 8px 8px 0;
}

.job-card__sub-title {
	font-size: 14px;
	font-weight: 700;
	color: #222;
	margin-top: 0;
	margin-bottom: 8px;
}

.job-card__sub-text {
	font-size: 13px;
	line-height: 1.6;
	color: #555;
	margin-bottom: 0;
}

/* ページ内アンカーメニューのプロクオリティデザイン */
.recruit-job-menu {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 15px;
	list-style: none;
	padding: 0;
	margin: 40px auto;
	max-width: 800px;
	width: 90%;
}

.recruit-job-menu li {
	flex: 1;
	min-width: 120px;
	margin: 0;
}

.recruit-job-menu a {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 54px;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	color: #333333;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-sizing: border-box;
}

.recruit-job-menu a:hover {
	background-color: #1a1a1a;
	border-color: #1a1a1a;
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

@media (max-width: 600px) {
	.recruit-job-menu {
		flex-wrap: wrap;
		gap: 10px;
	}

	.recruit-job-menu li {
		flex: 0 0 calc(50% - 5px);
		min-width: calc(50% - 5px);
	}

	.recruit-job-menu a {
		height: 48px;
		font-size: 14px;
	}
}

/* 店舗マップのプレミアム化 */
.map-container {
	position: relative;
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
	border: 1px solid #edf2f7;
	background: #f7f8fb;
	margin-top: 30px;
	margin-bottom: 50px;
	line-height: 0;
	/* 下部ギャップの解消 */
	-webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.map-container iframe {
	width: 100%;
	height: 600px;
	border: 0;
	display: block;
}

@media screen and (max-width: 767px) {
	.map-container {
		border-radius: 12px;
		margin-top: 20px;
		margin-bottom: 30px;
	}

	.map-container iframe {
		height: 400px;
		/* スマホでスクロールしやすくする適切な高さ */
	}
}