/* ==================================================================
 * 神保町を知る（エリアガイド）page-area.php 専用
 * 本体の style.css の色・フォント（--vt-*）をそのまま使う
 * ================================================================ */

.vt-area-page .vt-sec {
	padding: 104px 0;
}

/* ---- 見出し帯 ---- */
.vt-ahero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 520px;
	overflow: hidden;
	background: var(--vt-deep);
	color: #fff;
}
.vt-ahero__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vt-ahero::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(12, 22, 32, .82), rgba(12, 22, 32, .2) 70%);
	content: "";
}
.vt-ahero__body {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	padding: 0 24px 72px;
}
.vt-ahero__en {
	margin: 0 0 12px;
	color: #e6d3ad;
	font-family: var(--vt-en);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .4em;
}
.vt-ahero__ja {
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: #fff;
	font-family: var(--vt-serif);
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.2;
}
.vt-ahero__ja::before,
.vt-ahero__ja::after {
	display: none;
}
.vt-ahero__lead {
	max-width: 640px;
	margin: 20px 0 0;
	font-size: 15px;
	line-height: 2 !important;
	opacity: .92;
}
.vt-ahero__cap {
	position: absolute;
	right: 16px;
	bottom: 10px;
	z-index: 1;
	margin: 0;
	font-size: 10px;
	opacity: .7;
}

/* ---- 目次 ---- */
.vt-anav {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	max-width: 1160px;
	margin: -36px auto 0;
	position: relative;
	z-index: 2;
	padding: 0 24px;
}
.vt-anav a {
	display: block;
	padding: 22px 24px;
	background: #fff;
	box-shadow: var(--vt-shadow);
	color: var(--vt-ink);
	font-family: var(--vt-serif);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: .06em;
	text-decoration: none;
	transition: background .3s, color .3s;
}
.vt-anav a + a {
	border-left: 1px solid var(--vt-line);
}
.vt-anav a span {
	display: block;
	color: var(--vt-gold);
	font-family: var(--vt-en);
	font-size: 14px;
	letter-spacing: .2em;
}
.vt-anav a:hover {
	background: var(--vt-ink);
	color: #fff;
}

/* ---- ① 最寄り3駅 ---- */
.vt-st3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0 0 56px;
}
.vt-st3__item {
	padding: 28px 24px;
	background: var(--vt-paper);
	text-align: center;
}
.vt-st3__walk {
	margin: 0;
	color: var(--vt-muted);
	font-size: 13px;
	line-height: 1.2 !important;
}
.vt-st3__walk b {
	margin: 0 .1em;
	color: var(--vt-ink);
	font-family: var(--vt-en);
	font-size: 52px;
	font-weight: 500;
}
.vt-st3__name {
	margin: 6px 0 4px;
	color: var(--vt-ink);
	font-family: var(--vt-serif);
	font-size: 20px;
	font-weight: 600;
}
.vt-st3__lines {
	margin: 0;
	color: var(--vt-muted);
	font-size: 12px;
	line-height: 1.7 !important;
}

/* ---- ① 所要時間（横棒） ---- */
.vt-acc-legend {
	display: flex;
	justify-content: flex-end;
	gap: 20px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
	font-size: 12px;
}
.vt-acc-legend li::before {
	display: inline-block;
	width: 18px;
	height: 8px;
	margin-right: 6px;
	vertical-align: 1px;
	content: "";
}
.vt-acc-legend .is-rush::before {
	background: var(--vt-ink);
}
.vt-acc-legend .is-day::before {
	background: #c9b48c;
}
.vt-acc {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--vt-ink);
}
.vt-acc__row {
	display: grid;
	grid-template-columns: 170px 1fr 150px;
	grid-template-areas:
		"dest bar min"
		"dest route min";
	gap: 6px 32px;
	align-items: center;
	padding: 16px 0;
	border-bottom: 1px solid var(--vt-line);
}
.vt-acc__dest {
	grid-area: dest;
	margin: 0;
	color: var(--vt-ink);
	font-family: var(--vt-serif);
	font-size: 20px;
	font-weight: 600;
	line-height: 1.4 !important;
}
.vt-acc__dest small {
	margin-left: .1em;
	font-size: 13px;
}
.vt-acc__bar {
	grid-area: bar;
	align-self: end;
	display: grid;
	gap: 4px;
}
.vt-acc__bar span {
	display: block;
	height: 8px;
	border-radius: 0 4px 4px 0;
}
.vt-acc__bar .is-rush {
	background: var(--vt-ink);
}
.vt-acc__bar .is-day {
	background: #c9b48c;
}
.vt-acc__min {
	grid-area: min;
	margin: 0;
	color: var(--vt-muted);
	font-size: 12px;
	line-height: 1.5 !important;
	text-align: right;
	white-space: nowrap;
}
.vt-acc__min b {
	margin: 0 .1em 0 .3em;
	color: var(--vt-ink);
	font-family: var(--vt-en);
	font-size: 30px;
	font-weight: 500;
}
.vt-acc__min .is-day b {
	color: #8a6a3c;
	font-size: 20px;
}
.vt-acc__min span {
	display: block;
}
.vt-acc__route {
	grid-area: route;
	align-self: start;
	margin: 0;
	color: var(--vt-muted);
	font-size: 12px;
	line-height: 1.7 !important;
}

/* ---- ② 買い物の見どころ ---- */
.vt-shop {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.vt-shop__item {
	padding: 28px 24px;
	background: var(--vt-ink);
	color: #fff;
}
.vt-shop__tag {
	display: inline-block;
	margin: 0 0 14px;
	padding: 2px 12px;
	border: 1px solid #c9b48c;
	color: #e6d3ad;
	font-size: 13px;
	letter-spacing: .08em;
	line-height: 1.8 !important;
}
.vt-shop__name {
	margin: 0 0 10px;
	font-family: var(--vt-serif);
	font-size: 21px;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.4 !important;
}
.vt-shop__text {
	margin: 0;
	font-size: 13px;
	line-height: 1.8 !important;
	opacity: .88;
}
.vt-shop__note {
	margin: 12px 0 48px;
}

/* ---- ② 暮らしの施設 ---- */
.vt-life {
	column-count: 2;
	column-gap: 24px;
}
.vt-life__card {
	break-inside: avoid;
	margin: 0 0 24px;
	padding: 28px 32px;
	background: #fff;
	border-top: 3px solid var(--vt-ink);
}
.vt-life__cat {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	color: var(--vt-ink);
	font-family: var(--vt-serif);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: .06em;
}
.vt-life__cat .vt-ico {
	width: 44px;
	height: 44px;
	margin: 0;
}
.vt-life__cat .vt-ico svg {
	width: 22px;
	height: 22px;
}
.vt-life__card ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.vt-life__card li {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: baseline;
	padding: 12px 0;
	border-bottom: 1px dashed var(--vt-line);
	font-size: 14px;
}
.vt-life__dist {
	color: var(--vt-ink);
	font-weight: 600;
	white-space: nowrap;
}
.vt-life__dist em {
	margin-left: .6em;
	color: var(--vt-cta);
	font-style: normal;
}
.vt-life__note {
	margin: 10px 0 0;
	color: var(--vt-muted);
	font-size: 12px;
	line-height: 1.7 !important;
}

/* ---- ③ 町の歴史（年表） ---- */
.vt-hist {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}
.vt-hist::before {
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 132px;
	border-left: 1px solid var(--vt-gold);
	content: "";
}
.vt-hist__item {
	position: relative;
	display: grid;
	grid-template-columns: 132px 1fr;
	gap: 0 40px;
	padding: 0 0 48px;
}
.vt-hist__item::before {
	position: absolute;
	top: 12px;
	left: 127px;
	width: 11px;
	height: 11px;
	border: 2px solid var(--vt-gold);
	border-radius: 50%;
	background: #fff;
	content: "";
}
.vt-hist__year {
	margin: 0;
	padding-right: 24px;
	color: var(--vt-ink);
	font-family: var(--vt-en);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.1 !important;
	text-align: right;
}
.vt-hist__year small {
	display: block;
	margin-top: 6px;
	color: var(--vt-muted);
	font-family: var(--vt-serif);
	font-size: 12px;
}
.vt-hist__body h3 {
	margin: 4px 0 8px;
	padding: 0;
	background: none;
	border: 0;
	color: var(--vt-ink);
	font-family: var(--vt-serif);
	font-size: 20px;
	font-weight: 600;
	letter-spacing: .06em;
}
.vt-hist__body h3::before,
.vt-hist__body h3::after {
	display: none;
}
.vt-hist__body p {
	margin: 0;
	font-size: 14px;
}
.vt-hist__body figure {
	margin: 16px 0 0;
}
.vt-hist__body img {
	display: block;
	width: 100%;
	max-width: 520px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.vt-hist__body figcaption {
	margin-top: 6px;
	color: var(--vt-muted);
	font-size: 11px;
}

/* ---- スマホ ---- */
@media (max-width: 1080px) and (min-width: 768px) {
	.vt-shop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.vt-area-page .vt-sec {
		padding: 72px 0;
	}
	.vt-ahero {
		min-height: 440px;
	}
	.vt-ahero__body {
		padding: 0 16px 64px;
	}
	.vt-ahero__lead br.pc {
		display: none;
	}
	.vt-anav {
		grid-template-columns: 1fr;
		margin-top: -28px;
		padding: 0 16px;
	}
	.vt-anav a {
		padding: 14px 18px;
		font-size: 15px;
	}
	.vt-anav a + a {
		border-top: 1px solid var(--vt-line);
		border-left: 0;
	}
	.vt-anav a span {
		display: inline;
		margin-right: .8em;
	}
	.vt-st3 {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.vt-st3__item {
		display: grid;
		grid-template-columns: 90px 1fr;
		gap: 0 12px;
		align-items: center;
		padding: 16px;
		text-align: left;
	}
	.vt-st3__walk {
		grid-row: 1 / span 2;
	}
	.vt-st3__walk b {
		font-size: 38px;
	}
	.vt-st3__name {
		margin: 0;
		font-size: 17px;
	}
	.vt-acc__row {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"dest min"
			"bar bar"
			"route route";
		gap: 6px 12px;
		padding: 16px 0;
	}
	.vt-acc__dest {
		font-size: 18px;
	}
	.vt-acc__min span {
		display: inline-block;
		margin-left: 10px;
	}
	.vt-acc__min b {
		font-size: 26px;
	}
	.vt-acc__min .is-day b {
		font-size: 18px;
	}
	.vt-acc-legend {
		justify-content: flex-start;
	}
	.vt-shop {
		grid-template-columns: 1fr;
		gap: 10px;
	}
	.vt-shop__item {
		padding: 20px 18px;
	}
	.vt-shop__name {
		font-size: 19px;
	}
	.vt-life {
		column-count: 1;
	}
	.vt-life__card {
		margin-bottom: 16px;
		padding: 22px 18px;
	}
	.vt-hist::before {
		left: 6px;
	}
	.vt-hist__item {
		grid-template-columns: 1fr;
		padding: 0 0 36px 32px;
	}
	.vt-hist__item::before {
		left: 1px;
	}
	.vt-hist__year {
		padding: 0;
		font-size: 26px;
		text-align: left;
	}
	.vt-hist__year small {
		display: inline;
		margin-left: .6em;
	}
}

/* 最寄り駅が2つ（同じ神保町駅の2路線）のとき */
.vt-st3--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-left: auto; margin-right: auto; }
@media (max-width: 599px) { .vt-st3--2 { grid-template-columns: minmax(0, 1fr); } }
