/* =========================================================
   Lightning station page layout reset
========================================================= */
body.niagara-station-manager-active .page-header,
body.niagara-station-manager-active .breadcrumb,
body.niagara-station-manager-active .entry-header,
body.niagara-station-manager-active .entry-footer,
body.niagara-station-manager-active .sub-section {
	display: none !important;
}

body.niagara-station-manager-active .site-body {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

body.niagara-station-manager-active .site-body-container.container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.niagara-station-manager-active .main-section {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.niagara-station-manager-active .entry-body,
body.niagara-station-manager-active .entry-content {
	margin: 0 !important;
	padding: 0 !important;
}

/* =========================================================
   Niagara Station
========================================================= */
.niagara-station {
	--ns-yellow: #f6cf18;
	--ns-yellow-dark: #b88d00;
	--ns-ink: #181818;
	--ns-paper: #fffdf6;
	--ns-cream: #f6f0e2;
	--ns-blue: #e4f5fa;
	--ns-line: #ddd5c5;
	--ns-muted: #69645c;
	position: relative;
	width: 100vw;
	margin: 0 calc(50% - 50vw);
	background: var(--ns-paper);
	color: var(--ns-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	overflow: hidden;
}

.niagara-station *,
.niagara-station *::before,
.niagara-station *::after {
	box-sizing: border-box;
}

.niagara-station img {
	display: block;
	max-width: 100%;
	height: auto;
}

.niagara-station p,
.niagara-station li,
.niagara-station dt,
.niagara-station dd {
	margin: 0;
	padding: 0;
	color: inherit;
	font-size: var(--niagara-body-font-pc, 18px);
	line-height: 1.9;
}

.niagara-station a,
.niagara-station p a,
.niagara-station p a:visited {
	color: inherit;
	text-decoration: none;
}

.niagara-station a:focus-visible,
.niagara-station summary:focus-visible {
	outline: 3px solid #1477a8;
	outline-offset: 4px;
}

.niagara-station h1,
.niagara-station h2,
.niagara-station h3,
.niagara-station h4 {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.35;
}

.niagara-station h1 {
	font-size: clamp(40px, 6vw, 76px);
}

.niagara-station h2 {
	font-size: clamp(25px, 3.8vw, 40px);
}

.niagara-station h3 {
	font-size: clamp(21px, 2.4vw, 30px);
}

.niagara-station h4 {
	font-size: 1.08rem;
}

.niagara-station dl,
.niagara-station ol,
.niagara-station ul,
.niagara-station dd {
	margin: 0;
	padding: 0;
}

.niagara-station-inner {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
}

.niagara-station-inner-narrow {
	width: min(900px, calc(100% - 48px));
}

.niagara-station-section {
	padding: 104px 0;
}

.niagara-station-section-heading {
	max-width: 790px;
	margin: 0 auto 52px;
	text-align: center;
}

.niagara-station-section-lead {
	width: 100%;
	margin-top: 18px !important;
	color: var(--ns-muted) !important;
	text-align: left;
}

.niagara-station-kicker {
	margin-bottom: 10px !important;
	color: #8a6a00 !important;
	font-size: 0.78rem !important;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.4 !important;
}

.niagara-station-kicker-light {
	color: var(--ns-yellow) !important;
}

/* Hero
--------------------------------------------------------- */
.niagara-station-hero {
	position: relative;
	display: grid;
	min-height: clamp(430px, 58vh, 620px);
	align-items: end;
	isolation: isolate;
	background: #111;
}

.niagara-station-hero-media,
.niagara-station-hero-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.niagara-station-hero-media img {
	object-fit: cover;
	object-position: center;
}

.niagara-station-hero-shade {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.46) 50%, rgba(0, 0, 0, 0.08) 100%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 66%);
}

.niagara-station-hero-inner {
	position: relative;
	z-index: 2;
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
	padding: 80px 0 68px;
	color: #fff;
}

.niagara-station-hero h1 {
	color: #fff;
	text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45);
}

.niagara-station-hero-lead {
	max-width: 720px;
	margin-top: 20px !important;
	color: rgba(255, 255, 255, 0.94) !important;
	font-size: var(--niagara-body-font-pc, 18px) !important;
	font-weight: 600;
}

/* Intro
--------------------------------------------------------- */
.niagara-station-intro {
	background: var(--ns-paper);
}

.niagara-station-welcome {
	display: grid;
	grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(30px, 5vw, 62px);
	align-items: center;
	margin-bottom: 52px;
	padding: clamp(28px, 4vw, 46px);
	border: 1px solid var(--ns-line);
	border-left: 9px solid var(--ns-yellow);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(34, 26, 9, 0.08);
}

.niagara-station-welcome-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 200px;
	padding: 20px;
	border-radius: 8px;
	background: var(--ns-cream);
}

.niagara-station-welcome-image img {
	max-height: 220px;
	width: auto;
}

.niagara-station-welcome-copy h3 {
	margin-bottom: 18px;
}

.niagara-station-welcome-copy p {
	color: var(--ns-muted);
}

.niagara-station-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 52px !important;
	border-top: 1px solid var(--ns-line);
	border-left: 1px solid var(--ns-line);
	background: #fff;
}

.niagara-station-facts > div:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

.niagara-station-facts > div {
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	min-height: 106px;
	border-right: 1px solid var(--ns-line);
	border-bottom: 1px solid var(--ns-line);
}

.niagara-station-facts dt,
.niagara-station-facts dd {
	padding: 20px;
}

.niagara-station-facts dt {
	display: flex;
	align-items: center;
	background: #252525;
	color: #fff;
	font-weight: 800;
}

.niagara-station-facts dd {
	display: flex;
	align-items: center;
	background: #fff;
}

.niagara-station-ticket {
	display: grid;
	grid-template-columns: minmax(200px, 0.8fr) minmax(0, 1.2fr);
	gap: 36px;
	align-items: center;
	padding: clamp(26px, 4vw, 44px);
	border-radius: 12px;
	background: var(--ns-blue);
}

.niagara-station-ticket img {
	width: 100%;
	max-height: 210px;
	object-fit: contain;
}

.niagara-station-ticket h3 {
	margin-bottom: 12px;
}

.niagara-station-ticket p {
	color: var(--ns-muted);
}

/* Origin and history
--------------------------------------------------------- */
.niagara-station-origin {
	position: relative;
	background: var(--ns-cream);
}

.niagara-station-origin::before,
.niagara-station-origin::after {
	position: absolute;
	left: 0;
	width: 100%;
	height: 8px;
	background: repeating-linear-gradient(90deg, #222 0, #222 30px, var(--ns-yellow) 30px, var(--ns-yellow) 60px);
	content: "";
}

.niagara-station-origin::before { top: 0; }
.niagara-station-origin::after { bottom: 0; }

.niagara-station-origin-block {
	padding: clamp(30px, 5vw, 56px);
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(37, 27, 8, 0.08);
}

.niagara-station-origin-block > h3,
.niagara-station-history > h3 {
	position: relative;
	margin-bottom: 22px;
	padding-left: 20px;
}

.niagara-station-origin-block > h3::before,
.niagara-station-history > h3::before {
	position: absolute;
	top: 0.12em;
	bottom: 0.12em;
	left: 0;
	width: 6px;
	border-radius: 999px;
	background: var(--ns-yellow);
	content: "";
}

.niagara-station-origin-lead {
	color: var(--ns-muted);
}

.niagara-station-reasons {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin: 34px 0;
}

.niagara-station-reasons article {
	position: relative;
	padding: 28px 22px 24px;
	border: 1px solid var(--ns-line);
	border-radius: 10px;
	background: var(--ns-paper);
}

.niagara-station-reasons article > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--ns-yellow);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
}

.niagara-station-reasons h4 {
	margin-bottom: 10px;
}

.niagara-station-reasons p {
	color: var(--ns-muted);
	font-size: var(--niagara-body-font-pc, 18px);
}

.niagara-station-origin-closing {
	padding: 18px 20px !important;
	border-left: 5px solid var(--ns-yellow-dark);
	background: #fff8d2;
	font-weight: 700;
}

.niagara-station-history {
	margin-top: 64px;
}

.niagara-station-history ol {
	position: relative;
	list-style: none;
}

.niagara-station-history ol::before {
	position: absolute;
	top: 8px;
	bottom: 8px;
	left: 17px;
	width: 3px;
	background: var(--ns-yellow-dark);
	content: "";
}

.niagara-station-history li {
	position: relative;
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 30px;
	padding: 0 0 34px 56px;
}

.niagara-station-history li:last-child {
	padding-bottom: 0;
}

.niagara-station-history li::before {
	position: absolute;
	top: 7px;
	left: 8px;
	width: 21px;
	height: 21px;
	border: 5px solid var(--ns-cream);
	border-radius: 50%;
	background: var(--ns-yellow-dark);
	box-shadow: 0 0 0 2px var(--ns-yellow-dark);
	content: "";
}

.niagara-station-history time {
	font-weight: 800;
}

.niagara-station-history li p {
	color: var(--ns-muted);
}

/* Features
--------------------------------------------------------- */
.niagara-station-features {
	background: #fffdf6;
}

/*
 * 現行サイトの読みやすさを優先した横長の案内帯。
 * 写真を主役にし過ぎず、文章を無理なく読める比率にします。
 */
.niagara-station-features .niagara-station-inner {
	width: min(1120px, calc(100% - 48px));
}

.niagara-station-feature-list {
	display: grid;
	gap: 26px;
}

.niagara-station-feature-item {
	display: grid;
	grid-template-columns: minmax(250px, 31%) minmax(0, 69%);
	align-items: stretch;
	border: 1px solid #bfd8df;
	border-top: 7px solid #242424;
	border-radius: 0;
	background: #e8f6fa;
	box-shadow: none;
	overflow: hidden;
}

.niagara-station-feature-item:nth-child(even) {
	grid-template-columns: minmax(0, 69%) minmax(250px, 31%);
}

.niagara-station-feature-item:nth-child(even) .niagara-station-feature-image {
	order: 2;
}

.niagara-station-feature-item:nth-child(even) .niagara-station-feature-copy {
	order: 1;
}

/* 写真は最大約330px。余計な重なり・額縁・拡大演出を付けません。 */
.niagara-station-feature-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	padding: 14px;
	background: #fff;
}

.niagara-station-feature-image img {
	display: block;
	width: 100%;
	max-width: 330px;
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	object-position: center;
	border: 1px solid #ddd5c5;
	transition: none;
}

.niagara-station-feature-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: clamp(26px, 3.2vw, 42px);
	background: #e8f6fa;
}

.niagara-station-feature-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-width: 54px;
	height: 31px;
	margin-bottom: 14px;
	padding: 0 12px;
	background: var(--ns-yellow);
	color: #171717;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
}

.niagara-station-feature-copy h3 {
	position: relative;
	margin-bottom: 18px;
	padding-bottom: 12px;
	font-size: clamp(21px, 2.05vw, 27px);
	line-height: 1.45;
}

.niagara-station-feature-copy h3::after {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 78px;
	height: 2px;
	background: #2b7aa0;
	content: "";
}

.niagara-station-feature-copy p {
	color: #3e4548;
	font-size: var(--niagara-body-font-pc, 18px);
	line-height: 1.95;
}

.niagara-station-feature-copy p + p {
	margin-top: 10px;
}

.niagara-station-text-link {
	display: inline-flex;
	align-self: flex-start;
	margin-top: 20px;
	padding-bottom: 3px;
	border-bottom: 2px solid var(--ns-yellow-dark);
	font-weight: 800;
}

.niagara-station-text-link::after {
	margin-left: 10px;
	content: "→";
}

.niagara-station-text-link:hover {
	border-color: var(--ns-ink);
}

/* Media
--------------------------------------------------------- */
.niagara-station-media {
	background: var(--ns-blue);
}

.niagara-station-media-list {
	display: grid;
	gap: 12px;
}

.niagara-station-media-year {
	border: 1px solid #bdd5dc;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}

.niagara-station-media-year summary {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 20px 58px 20px 24px;
	cursor: pointer;
	list-style: none;
}

.niagara-station-media-year summary::-webkit-details-marker {
	display: none;
}

.niagara-station-media-year summary::after {
	position: absolute;
	top: 50%;
	right: 24px;
	width: 12px;
	height: 12px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	content: "";
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.2s ease;
}

.niagara-station-media-year[open] summary::after {
	transform: translateY(-30%) rotate(225deg);
}

.niagara-station-media-year summary span {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.25rem;
	font-weight: 700;
}

.niagara-station-media-year summary small {
	color: var(--ns-muted);
	font-size: 0.78rem;
}

.niagara-station-media-year ul {
	padding: 0 24px 22px 48px;
	border-top: 1px solid #e1e9eb;
}

.niagara-station-media-year li {
	padding-top: 14px;
}

.niagara-station-media-year li + li {
	margin-top: 10px;
	border-top: 1px dashed #d7d7d7;
}

.niagara-station-media-year a {
	color: #075f86;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Navigation
--------------------------------------------------------- */
.niagara-station-navigation {
	background: var(--ns-ink);
	color: #fff;
}

.niagara-station-navigation .niagara-station-section-heading h2 {
	color: #fff;
}

.niagara-station-navigation .niagara-station-kicker {
	color: var(--ns-yellow) !important;
}

.niagara-station-navigation-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 12px;
	overflow: hidden;
}

.niagara-station-navigation-grid a {
	display: flex;
	min-height: 132px;
	align-items: center;
	gap: 18px;
	padding: 24px 28px;
	border-right: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	transition: background 0.2s ease, color 0.2s ease;
}

.niagara-station-navigation-grid a:last-child {
	border-right: 0;
}

.niagara-station-navigation-grid a:hover {
	background: var(--ns-yellow);
	color: #111;
}

.niagara-station-navigation-grid span {
	color: var(--ns-yellow);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
}

.niagara-station-navigation-grid a:hover span {
	color: #111;
}

.niagara-station-navigation-grid strong {
	font-size: 1.02rem;
}

@media (min-width: 768px) {
	.niagara-station-hide-pc {
		display: none !important;
	}
}

@media (max-width: 920px) {
	.niagara-station-facts {
		grid-template-columns: 1fr;
	}

	/* タブレットでは重なりを浅くして読みやすさを維持 */
	.niagara-station-feature-item {
		grid-template-columns: minmax(0, 52%) minmax(330px, 48%);
	}

	.niagara-station-feature-item:nth-child(even) {
		grid-template-columns: minmax(330px, 48%) minmax(0, 52%);
	}

	.niagara-station-feature-copy {
		min-height: 270px;
		margin-left: -38px;
		padding: 34px 30px 38px;
	}

	.niagara-station-feature-item:nth-child(even) .niagara-station-feature-copy {
		margin-right: -38px;
	}

	.niagara-station-navigation-grid {
		grid-template-columns: 1fr;
	}

	.niagara-station-navigation-grid a {
		min-height: 90px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	}

	.niagara-station-navigation-grid a:last-child {
		border-bottom: 0;
	}
}

@media (max-width: 767px) {
	.niagara-station p,
	.niagara-station li,
	.niagara-station dt,
	.niagara-station dd {
		font-size: var(--niagara-body-font-sp, 17px);
	}

	.niagara-station-hide-sp {
		display: none !important;
	}

	.niagara-station-inner,
	.niagara-station-inner-narrow,
	.niagara-station-hero-inner {
		width: min(100% - 32px, 1120px);
	}

	.niagara-station-section {
		padding: 72px 0;
	}

	.niagara-station-section-heading {
		margin-bottom: 36px;
		text-align: left;
	}

	.niagara-station-hero {
		min-height: 500px;
	}

	.niagara-station-hero-media img {
		object-position: center top;
	}

	.niagara-station-hero-inner {
		padding: 210px 0 52px;
	}

	.niagara-station-hero h1 {
		font-size: clamp(39px, 12vw, 56px);
	}

	.niagara-station-hero-lead {
		font-size: var(--niagara-body-font-sp, 17px) !important;
	}

	.niagara-station-welcome,
	.niagara-station-ticket {
		grid-template-columns: 1fr;
		padding: 24px 20px;
	}

	.niagara-station-welcome-image {
		min-height: 160px;
	}

	.niagara-station-facts > div {
		grid-template-columns: 104px minmax(0, 1fr);
		min-height: 92px;
	}

	.niagara-station-facts dt,
	.niagara-station-facts dd {
		padding: 16px 14px;
		font-size: var(--niagara-body-font-sp, 17px);
	}

	.niagara-station-reasons {
		grid-template-columns: 1fr;
	}

	.niagara-station-history li {
		grid-template-columns: 1fr;
		gap: 7px;
		padding-left: 52px;
	}

	.niagara-station-feature-list {
		gap: 64px;
	}

	.niagara-station-feature-item,
	.niagara-station-feature-item:nth-child(even) {
		display: flex;
		flex-direction: column;
	}

	.niagara-station-feature-item::before,
	.niagara-station-feature-item:nth-child(even)::before {
		top: 28px;
		right: 0;
		bottom: -20px;
		left: 18px;
	}

	.niagara-station-feature-item:nth-child(even) .niagara-station-feature-image {
		order: 0;
	}

	.niagara-station-feature-image {
		width: calc(100% - 18px);
		margin-right: 18px;
		padding: 7px;
		aspect-ratio: 16 / 10;
	}

	.niagara-station-feature-image::after,
	.niagara-station-feature-item:nth-child(even) .niagara-station-feature-image::after {
		top: 12px;
		right: -12px;
		bottom: -12px;
		left: 12px;
	}

	.niagara-station-feature-image img {
		aspect-ratio: 16 / 10;
	}

	.niagara-station-feature-copy,
	.niagara-station-feature-item:nth-child(even) .niagara-station-feature-copy {
		order: 1;
		width: calc(100% - 28px);
		min-height: 0;
		margin: -26px 14px 0 !important;
		padding: 32px 22px 36px;
		border-top: 6px solid var(--ns-yellow);
		border-right: 0;
		border-left: 0;
	}

	.niagara-station-media-year summary {
		padding: 17px 48px 17px 18px;
	}

	.niagara-station-media-year summary::after {
		right: 18px;
	}

	.niagara-station-media-year summary small {
		display: none;
	}

	.niagara-station-media-year ul {
		padding: 0 18px 20px 38px;
	}
}

@media (max-width: 420px) {
	.niagara-station-facts > div {
		grid-template-columns: 1fr;
	}

	.niagara-station-facts dt {
		padding: 10px 14px;
	}

	.niagara-station-facts dd {
		padding: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.niagara-station *,
	.niagara-station *::before,
	.niagara-station *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}


/* =========================================================
   Feature layout responsive overrides v1.2.3
========================================================= */
@media (max-width: 900px) and (min-width: 768px) {
	.niagara-station-feature-item,
	.niagara-station-feature-item:nth-child(even) {
		grid-template-columns: minmax(220px, 34%) minmax(0, 66%);
	}

	.niagara-station-feature-item:nth-child(even) {
		grid-template-columns: minmax(0, 66%) minmax(220px, 34%);
	}

	.niagara-station-feature-copy,
	.niagara-station-feature-item:nth-child(even) .niagara-station-feature-copy {
		min-height: 0;
		margin: 0;
		padding: 26px;
		border: 0;
		background: #e8f6fa;
	}
}

@media (max-width: 767px) {
	.niagara-station-feature-list {
		gap: 22px;
	}

	.niagara-station-feature-item,
	.niagara-station-feature-item:nth-child(even) {
		display: flex;
		flex-direction: column;
	}

	.niagara-station-feature-item .niagara-station-feature-image,
	.niagara-station-feature-item:nth-child(even) .niagara-station-feature-image {
		order: 1;
		width: 100%;
		margin: 0;
		padding: 12px;
		aspect-ratio: auto;
	}

	.niagara-station-feature-item .niagara-station-feature-copy,
	.niagara-station-feature-item:nth-child(even) .niagara-station-feature-copy {
		order: 2;
		width: 100%;
		min-height: 0;
		margin: 0 !important;
		padding: 24px 20px 28px;
		border: 0;
		background: #e8f6fa;
	}

	.niagara-station-feature-image img {
		max-width: 100%;
		aspect-ratio: 16 / 10;
	}
}
