.nmt-filter-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 30px;
}

.nmt-filter-nav a {
	border: 1px solid var(--nmt-border);
	border-radius: 999px;
	color: var(--nmt-ink);
	font-size: 13px;
	padding: 6px 14px;
	text-decoration: none;
}

.nmt-filter-nav a:hover {
	background: var(--nmt-red-soft);
	border-color: var(--nmt-red);
	color: var(--nmt-red);
}

.nmt-public-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, 1fr);
}

.nmt-public-card {
	background: #fff;
	border: 1px solid var(--nmt-border);
	border-radius: 12px;
	overflow: hidden;
}

.nmt-public-card__image {
	align-items: center;
	background: var(--nmt-beige);
	color: var(--nmt-red);
	display: flex;
	height: 230px;
	justify-content: center;
}

.nmt-public-card__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.nmt-public-card__image .icon {
	height: 44px;
	width: 44px;
}

.nmt-public-card__body {
	padding: 22px;
}

.nmt-public-card__terms {
	color: var(--nmt-red);
	font-size: 12px;
	margin: 0 0 4px;
}

.nmt-public-card h2 {
	font-family: var(--nmt-serif);
	font-size: 21px;
	line-height: 1.5;
	margin: 0 0 9px;
}

.nmt-public-card h2 a {
	color: var(--nmt-ink);
	text-decoration: none;
}

.nmt-public-card__body > p {
	color: var(--nmt-muted);
	font-size: 14px;
}

.nmt-public-card__link {
	color: var(--nmt-red);
	font-size: 13px;
	font-weight: 700;
}

.nmt-detail__layout {
	align-items: start;
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(0, 1fr) 300px;
}

.nmt-detail__main {
	display: grid;
	gap: 48px;
}

.nmt-detail__main section h2,
.nmt-detail__aside h2 {
	font-family: var(--nmt-serif);
}

.nmt-detail__main-image {
	margin: 0;
}

.nmt-detail__main-image img {
	border-radius: 14px;
	width: 100%;
}

.nmt-detail__aside {
	position: sticky;
	top: calc(var(--nmt-header-height) + 22px);
}

.nmt-detail__aside > div {
	background: var(--nmt-beige);
	border: 1px solid var(--nmt-border);
	border-radius: 12px;
	padding: 22px;
}

.nmt-detail__aside .nmt-btn {
	margin-top: 9px;
	width: 100%;
}

.nmt-caution,
.nmt-owner-note {
	background: var(--nmt-beige);
	border-radius: 12px;
	padding: 24px;
}

.nmt-owner-note {
	border-left: 5px solid var(--nmt-red);
}

.content-narrow {
	margin-inline: auto;
	max-width: 800px;
}

@media (max-width: 767px) {
	.nmt-public-grid {
		grid-template-columns: 1fr;
	}

	.nmt-detail__layout {
		grid-template-columns: 1fr;
	}

	.nmt-detail__aside {
		position: static;
	}
}

