/* 地域ページ専用：内部リンクセクションのスタイル */

.area-taxonomy-links {
	margin: 40px 0;
	padding: 30px 0;
	border-top: 2px solid #e0e0e0;
}

.taxonomy-section {
	margin-bottom: 30px;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 8px;
	border-left: 4px solid #3498db;
	transition: all 0.3s ease;
}

.taxonomy-section:hover {
	background: #f0f4f8;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.taxonomy-section.service-section {
	border-left-color: #e74c3c;
}

.taxonomy-section.prefecture-section {
	border-left-color: #2ecc71;
}

.taxonomy-section.city-section {
	border-left-color: #f39c12;
}

.taxonomy-section.related-area-section {
	border-left-color: #9b59b6;
}

.section-title {
	font-size: 20px;
	font-weight: bold;
	color: #333;
	margin: 0 0 15px 0;
	display: flex;
	align-items: center;
	gap: 10px;
}

.section-title .icon {
	font-size: 24px;
	line-height: 1;
}

.link-box {
	background: #fff;
	padding: 20px;
	border-radius: 6px;
	border: 1px solid #e0e0e0;
}

.section-desc {
	font-size: 14px;
	color: #666;
	margin: 0 0 15px 0;
	line-height: 1.6;
}

.taxonomy-link {
	display: inline-block;
	padding: 12px 24px;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 6px;
	font-weight: bold;
	font-size: 15px;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.taxonomy-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	opacity: 0.9;
}

/* 関連サービスグリッド */
.related-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 15px;
	margin-top: 15px;
}

.related-service-item {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 6px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.related-service-item:hover {
	border-color: #3498db;
	box-shadow: 0 2px 8px rgba(52, 152, 219, 0.2);
	transform: translateY(-2px);
}

.related-service-item a {
	display: block;
	padding: 15px;
	text-decoration: none !important;
	color: inherit;
}

.service-badge {
	display: inline-block;
	padding: 4px 12px;
	background: #3498db;
	color: #fff;
	font-size: 12px;
	border-radius: 4px;
	margin-bottom: 8px;
	font-weight: bold;
}

.service-title {
	display: block;
	font-size: 14px;
	color: #333;
	line-height: 1.5;
	font-weight: 500;
}

.related-service-item:hover .service-title {
	color: #3498db;
}

.no-related {
	text-align: center;
	color: #999;
	padding: 30px;
	font-size: 14px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	.area-taxonomy-links {
		margin: 30px 0;
		padding: 20px 0;
	}
	
	.taxonomy-section {
		padding: 20px 15px;
		margin-bottom: 20px;
	}
	
	.section-title {
		font-size: 18px;
	}
	
	.section-title .icon {
		font-size: 20px;
	}
	
	.link-box {
		padding: 15px;
	}
	
	.taxonomy-link {
		display: block;
		text-align: center;
		padding: 10px 20px;
		font-size: 14px;
	}
	
	.related-services-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
	
	.related-service-item a {
		padding: 12px;
	}
}

@media screen and (max-width: 480px) {
	.section-title {
		font-size: 16px;
		flex-direction: column;
		align-items: flex-start;
		gap: 5px;
	}
	
	.taxonomy-link {
		font-size: 13px;
		padding: 10px 16px;
	}
}
