@charset "utf-8";

.area-page .area-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin: 24px 0 40px;
}

.area-page .area-card {
	margin: 0;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.area-page .area-card:hover {
	transform: translateY(-2px);
	border-color: #cfcfcf;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.08);
}

.area-page .area-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 18px 20px;
	color: inherit;
	text-decoration: none;
}

.area-page .area-card__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 1.08rem;
	font-weight: 600;
	line-height: 1.5;
}

.area-page .area-card__title img {
	width: 40px;
	height: 40px;
	flex: 0 0 40px;
	object-fit: contain;
}

.area-page .area-card p {
	margin: 0 0 14px;
	font-size: 0.94rem;
	line-height: 1.8;
}

.area-page .area-card__more {
	display: inline-block;
	margin-top: auto;
	padding-top: 4px;
	font-size: 0.88rem;
	font-weight: 600;
	text-align: right;
}

.area-page .area-card__more::after {
	content: " →";
}


.area-page .area-category-nav {
	margin: 20px 0 36px;
}

.area-page .area-category-nav ul {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.area-page .area-category-nav li {
	margin: 0;
}

.area-page .area-category-nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 48px;
	padding: 10px 8px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	text-align: center;
	text-decoration: none;
	transition:
		background 0.2s ease,
		border-color 0.2s ease;
}

.area-page .area-category-nav a:hover {
	background: #f7f7f7;
	border-color: #c8c8c8;
}


.area-page > figure {
	margin-bottom: 24px;
}

.area-page > figure img {
	border-radius: 8px;
}


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

	.area-page .area-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin: 18px 0 32px;
	}

	.area-page .area-card__link {
		padding: 15px 16px;
	}

	.area-page .area-card__title {
		font-size: 1rem;
	}

	.area-page .area-card p {
		font-size: 0.92rem;
		line-height: 1.7;
	}

	.area-page .area-category-nav ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.area-page .area-category-nav li:last-child {
		grid-column: 1 / -1;
	}

	.area-page .area-card:hover {
		transform: none;
	}

}
