/*====================
アーバンの現場日和（top-blog）— トップ / 部門ページ共通
（front-page.css の BLOG セクションと同一）
====================*/
/* --------------------------------------------------------------------------
   BLOG（アーバンの現場日和）
   -------------------------------------------------------------------------- */

.top-blog {
	position: relative;
	overflow: hidden;
	padding: 0 0 80px;
	background: #16346d;
}

.top-blog__bg {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 0;
	width: 100%;
	margin: 0;
	padding: 0;
	line-height: 0;
	pointer-events: none;
}

.top-blog__bg-picture,
.top-blog__bg picture {
	display: block;
	width: 100%;
}

.top-blog__bg-picture img,
.top-blog__bg picture img,
.top-blog__bg-img {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0.5;
}

.top-blog__inner {
	position: relative;
	z-index: 1;
}

.top-blog__inner.top-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1520px;
	margin-inline: auto;
	padding-inline: 16px;
}

.top-blog__label-en {
	margin: 0;
	color: rgba(255, 255, 255, 0.35);
	font-family: var(--font-en);
	font-size: clamp(48px, 13.28vw, 255px);
	font-style: italic;
	font-weight: 600;
	line-height: 0.8;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.top-blog__box1 {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	gap: 16px 8px;
	margin: 0 0 16px;
}

@media screen and (max-width: 600px) {
	.top-blog__box1 {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}
}

.top-blog__title {
	margin: 0 16px 0 0;
	color: #fff;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.13em;
}

.top-blog__title.js-anim-sweep {
	display: block;
	flex: 0 0 auto;
}

.top-blog__title .js-anim-sweep__content {
	display: block;
}

.top-blog__tabs {
	margin: 0;
}

.top-blog__tabs.js-anim-sweep {
	display: block;
	flex: 0 1 auto;
	min-width: 0;
}

.top-blog__tabs .js-anim-sweep__content {
	display: block;
}

.top-blog__tablist {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 8px;
	margin: 0;
	padding: 0;
}

@media screen and (max-width: 600px) {
	.top-blog__tablist {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		width: 100%;
	}
}

.top-blog__tab {
	box-sizing: border-box;
	width: 132px;
	height: 30px;
	margin: 0;
	padding: 0 8px;
	border: 1px solid #fff;
	background: transparent;
	color: #fff;
	font-family: var(--font-base);
	font-size: 16px;
	font-weight: 400;
	line-height: 28px;
	letter-spacing: 0.05em;
	text-align: center;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.top-blog__tab.is-active,
.top-blog__tab[aria-selected="true"] {
	border: 1px solid #fff;
	background: #fff;
	color: #16346d;
}

.top-blog__rule {
	display: block;
	width: 100%;
	height: 1px;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: #fff;
}

.top-blog__panels {
	position: relative;
}

.top-blog__panel[hidden] {
	display: none !important;
}

.top-blog-panel__body {
	position: relative;
}

.top-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 20px;
	margin: 0 0 64px;
	padding: 0;
	list-style: none;
}

.top-blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: transparent;
	color: inherit;
	text-decoration: none;
}

.top-blog-card__thumb {
	overflow: hidden;
	aspect-ratio: 480 / 270;
	margin-bottom: 14px;
	background: #fff;
}

.top-blog-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.top-blog-card__link:hover .top-blog-card__img,
.top-blog-card__link:focus-visible .top-blog-card__img {
	transform: scale(1.03);
}

.top-blog-card__body {
	box-sizing: border-box;
	padding: 0;
}

.top-blog-card__meta {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.top-blog-card__cat {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
	height: 30px;
	padding: 0 8px;
	border: 1px solid #fff;
	background: #fff;
	color: #16346d;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.05em;
	white-space: nowrap;
}

.top-blog-card__title {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.13em;
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	text-overflow: ellipsis;
}

.top-blog__empty {
	margin: 0 0 64px;
	padding: 32px 0;
	color: #fff;
	text-align: center;
	letter-spacing: 0.1em;
}

.top-blog__more {
	margin: 0;
	text-align: center;
}

.top-blog__more-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 340px;
	max-width: 100%;
	height: 60px;
	border: 1px solid #16346d;
	background: #fff;
	color: #16346d;
	font-family: var(--font-base);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.13em;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.top-blog__more-btn:hover {
	opacity: 0.88;
}

@media screen and (max-width: 600px) {
	.top-blog {
		padding: 14px 0 64px;
	}

	.top-blog__box1 {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.top-blog__title {
		margin-right: 0;
	}

	.top-blog__tabs {
		width: 100%;
	}

	.top-blog__tablist {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
		width: 100%;
	}

	.top-blog__tab {
		width: 100%;
		min-width: 0;
		padding-inline: 4px;
	}

	.top-blog-card__meta {
		gap: 16px;
	}

	.top-blog__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.civil-page__blog {
	margin-bottom: 0;
}

.civil-page__blog .top-blog__inner.top-inner {
	width: 1520px;
}

@media screen and (max-width: 1919px) {
	.civil-page__blog .top-blog__inner.top-inner {
		width: 100%;
		max-width: 1520px;
	}
}
