/*==================================================
スライダー共通
===================================*/
.slider {
	width: 94%;
	margin: 0 auto;
}
.slider .slick-slide {
	margin: 0 10px;
}
.slider .slick-list {
	overflow: hidden;
}

/*==================================================
カテゴリーカード
===================================*/
.category-cards {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	padding: 0 20px;
}
.category-cards .category-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	width: calc(25% - 20px);
	min-width: 220px;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
}
.category-card .card-header {
	padding: 14px 16px;
	text-align: center;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.category-card .card-header {
	background: #6DC4F9;
}
.category-card .card-header .card-title {
	font-size: 18px;
	font-weight: 900;
	line-height: 1.3;
	margin: 0;
	color: #fff;
}

.category-card .card-img {
	text-align: center;
	padding: 12px 16px;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}
.category-card .card-img img {
	max-width: 100%;
	max-height: 100%;
	height: auto;
	object-fit: contain;
}
.category-card .card-desc {
	padding: 0 16px 16px;
	font-size: 13px;
	line-height: 1.5;
	color: #1565C0;
	font-weight: bold;
	text-align: center;
	margin: 0;
	height: 60px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* スライダー内カード */
.slider li {
	color: inherit;
}
.slider li:hover {
	opacity: 1;
}
.slider .category-card {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.3s ease, transform 0.3s ease;
	display: flex;
	flex-direction: column;
	height: 100%;
}
.slider .category-card:hover {
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}
.slider .slick-track {
	display: flex;
}
.slider .slick-slide {
	height: auto;
}
.slider .slick-slide > div {
	height: 100%;
}
.slider .slick-slide li {
	height: 100%;
}

/*==================================================
職種メニュー（トップ カテゴリーセクション）
===================================*/
.recruitment .menu_left {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.recruitment .menu_cont3 {
	background: #fff;
	border-radius: 10px;
	padding: 20px 24px;
	box-sizing: border-box;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.recruitment .menu_cont3 > p:empty {
	display: none;
}
.recruitment .menu_cont3 .menu_ttl {
	font-size: 18px;
	font-weight: 900;
	color: #fff;
	background: #6DC4F9;
	margin: -20px -24px 0;
	padding: 14px 16px;
	line-height: 1.3;
	text-align: center;
	border-radius: 10px 10px 0 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 64px;
	box-sizing: border-box;
}
.recruitment .menu_cont3 .menu_ttl a {
	color: #fff;
	text-decoration: none;
}
.recruitment .menu_cont3_img {
	text-align: center;
	margin: 0 -24px 12px;
	overflow: hidden;
	background: #f8f9fb;
}
.recruitment .menu_cont3_img img {
	width: 100%;
	height: 180px;
	object-fit: contain;
	display: block;
	padding: 12px 0;
	box-sizing: border-box;
}
.recruitment .menu_cont3 ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.recruitment .menu_cont3 ul li {
	font-size: 12px;
	line-height: 1.5;
	padding: 5px 8px 5px 18px;
	position: relative;
	border-radius: 4px;
}
.recruitment .menu_cont3 ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 50%;
	transform: translateY(-50%);
	width: 5px;
	height: 5px;
	border-top: 2px solid #4F7AF1;
	border-right: 2px solid #4F7AF1;
	transform: translateY(-50%) rotate(45deg);
}
.recruitment .menu_cont3 ul li a {
	color: #555;
	text-decoration: none;
	display: block;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
	.category-cards {
		gap: 12px;
		padding: 0 16px;
	}
	.category-cards .category-card {
		width: calc(50% - 12px);
		min-width: 0;
	}
	.category-card .card-header {
		height: 52px;
		padding: 10px 8px;
	}
	.category-card .card-header .card-title {
		font-size: 14px;
	}
	.category-card .card-img {
		height: 100px;
		padding: 8px 12px;
	}
	.category-card .card-desc {
		font-size: 11px;
		padding: 0 8px 12px;
		height: 50px;
		-webkit-line-clamp: 3;
		line-clamp: 3;
	}
	/* 職種メニュー SP */
	.recruitment .menu_left {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
		align-items: start;
	}
	.recruitment .menu_cont3 {
		padding: 12px 16px;
	}
	.recruitment .menu_cont3 .menu_ttl {
		font-size: 13px;
		margin: -12px -16px 0;
		height: 44px;
		border-radius: 10px 10px 0 0;
		cursor: pointer;
		position: relative;
	}
	.recruitment .menu_cont3 .menu_ttl.sponly::after {
		content: "";
		display: block;
		width: 8px;
		height: 8px;
		border-right: 2px solid #fff;
		border-bottom: 2px solid #fff;
		transform: rotate(45deg);
		position: absolute;
		right: 12px;
		top: calc(50% - 6px);
		transition: transform 0.3s ease;
	}
	.recruitment .menu_cont3.is-open .menu_ttl.sponly::after {
		transform: rotate(-135deg);
		top: calc(50% - 2px);
	}
	.recruitment .menu_cont3_img {
		margin: 0 -16px 0;
		cursor: pointer;
	}
	.recruitment .menu_cont3_img img {
		height: 100px;
		padding: 6px 0;
	}
	.recruitment .menu_cont3_img::after {
		content: "職種一覧を見る ▾";
		display: block;
		text-align: center;
		font-size: 11px;
		color: #6DC4F9;
		padding: 8px 0;
		border-top: 1px dashed #e0e8f0;
		font-weight: bold;
		letter-spacing: 0.5px;
		transition: color 0.3s ease;
	}
	.recruitment .menu_cont3.is-open .menu_cont3_img::after {
		content: "閉じる ▴";
		color: #999;
	}
	.recruitment .menu_cont3 ul {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	.recruitment .menu_cont3.is-open ul {
		max-height: 600px;
	}
	.recruitment .menu_cont3 ul li {
		font-size: 12px;
		padding: 4px 6px 4px 16px;
	}
	.recruitment .menu_cont3 ul li::before {
		left: 2px;
		width: 4px;
		height: 4px;
	}
}
