@charset "utf-8";

/* =========================================
   TOP 最新の設置事例
========================================= */

.top_case_list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	max-width: 1140px;
	margin: 0 auto;
}

.top_case_item {
	margin: 0;
}

.top_case_item > a {
	display: block;
	height: 100%;
	color: #222;
	text-decoration: none;
}

.top_case_image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f5f5;
}

.top_case_image img {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: translate(-50%, -50%);
	transition: transform .3s ease;
}

.top_case_item > a:hover .top_case_image img {
	transform: translate(-50%, -50%) scale(1.04);
}

.top_case_body {
	padding: 16px;
	background-color:#ffffff;
}

.article p.top_case_location {
	margin: 0 0 5px;
	font-size: 12px;
	color: #666;
}

.article h3.top_case_title {
	margin: 0 0 7px;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 700;
	padding:0;
}

.top_case_date {
	margin: 0;
	font-size: 12px;
	color: #666;
}

.top_case_more {
	margin-top: 32px;
	text-align: center;
}

.top_case_more a {
	display: inline-block;
	min-width: 240px;
	padding: 13px 30px;
	border-radius: 30px;
	background: #12aee8;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

@media screen and (max-width: 767px) {
	.top_case_list {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 0 20px;
	}

	.top_case_more {
		margin-top: 26px;
	}
}