@charset "utf-8";
/* ==========================================================
	2026.11 追加分
	・① メインビジュアルの文字（S BRICK / A BRICK）
	・クリスマスフェスタ特設セクション（.xmas）
	・② NEWS一覧の余白とリード文
	・⑤ 当施設について：施設の魅力・歴史ボタン
	・⑥ 「S BRICK・A BRICKでできること」見出し
	・⑦ 施設情報・アクセスセクション（.access）
	・⑧ サイト全体のアニメーション
	※PC/SPどちらにも読み込まれるので、SPは下の @media でまとめて上書き
========================================================== */

/* SPだけ改行したいところ */
.u-sp {
	display: none;
}
/* 文節で改行させたいところ */
.u-nw {
	display: inline-block;
}

/* ----------------------------------------------------------
	① メインビジュアル
---------------------------------------------------------- */
.mv__band--brand {
	max-width: 760px;
	padding: 36px 3% 34px;
}
.mv__band--brand .mv__title {
	font-size: 58px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.2;
	margin-bottom: 14px;
}
.mv__band--brand .mv__sub {
	font-size: 20px;
	letter-spacing: 0.06em;
	line-height: 1.6;
	margin-bottom: 0;
}

/* ----------------------------------------------------------
	クリスマスフェスタ特設セクション
---------------------------------------------------------- */
.xmas {
	--xmas-red: #cb3c3e;
	position: relative;
	overflow: hidden;
	padding: 120px 0;
	background-color: #fff8e9;
	background-image: url(../../assets/images/bg-brick.png);
	background-size: 185px;
	background-repeat: no-repeat;
	background-position: top left;
}
.xmas__inner {
	display: flex;
	align-items: center;
	gap: 5vw;
	padding: 0 8vw;
}
.xmas__copy {
	flex: 1;
	min-width: 0;
}
.xmas__label {
	font-family: 'Lexend Exa', sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--xmas-red);
	margin-bottom: 14px;
}
.xmas__title {
	font-size: 40px;
	font-weight: 900;
	color: var(--color-dark);
	line-height: 1.4;
	letter-spacing: 0.02em;
	margin-bottom: 18px;
}
.xmas__sub {
	font-size: 22px;
	font-weight: 700;
	color: var(--color-dark);
	line-height: 1.5;
	margin-bottom: 28px;
}
.xmas__date {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.9;
	margin-bottom: 14px;
}
.xmas__text {
	font-size: 15px;
	line-height: 2;
	margin-bottom: 36px;
}
.xmas__btns {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}
/* 赤の塗りボタン（チラシ）
   ※reset.css の a:visited { color: inherit; } に負けないよう :visited も指定 */
.c-btn--red,
.c-btn--red:visited,
.c-btn--red:hover,
.c-btn--red:active {
	background: var(--xmas-red);
	border-color: var(--xmas-red);
	color: #fff;
}
.c-btn--red .c-btn__arrow {
	filter: brightness(0) invert(1);
}
.c-btn--red:hover {
	background: #a92f31;
	border-color: #a92f31;
}
.xmas__visual {
	flex: 0 1 600px;
	min-width: 0;
}
.xmas__visual a {
	display: block;
	transition: transform 0.4s ease;
}
.xmas__visual a:hover {
	transform: translateY(-4px);
}
.xmas__visual img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 662 / 548;
	object-fit: cover;
	/* LPのイラストと同じ、ころんとした角丸 */
	border-radius: 32.48% / 39.23%;
}

/* ----------------------------------------------------------
	② NEWS一覧：見出しまわりの余白を詰めてリード文を追加
---------------------------------------------------------- */
.p-page-news .p-page__header-inner {
	padding-bottom: 0;
}
.p-page__lead {
	margin-top: 16px;
	font-size: 16px;
	line-height: 1.8;
}
.p-page-news .l-contents__body {
	padding-top: 40px;
}
.p-page-news .archive-news {
	padding-top: 0;
}
/* 記事本文用の ul の上マージン（60px）が効いてしまうので打ち消し */
.p-page-news .c-article .archive-news__list {
	margin-top: 0;
}

/* ----------------------------------------------------------
	⑤ 当施設について：ボタン
---------------------------------------------------------- */
.about__btn {
	align-self: flex-start;
	margin-top: 8px;
}

/* ----------------------------------------------------------
	⑥ S BRICK・A BRICKでできること
---------------------------------------------------------- */
.base__head {
	padding: 110px 8vw 0;
	text-align: center;
}
.base__head-title {
	display: inline-block;
	font-size: 36px;
	font-weight: 900;
	color: var(--color-dark);
	line-height: 1.5;
	letter-spacing: 0.04em;
}
.base__head-title::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin: 22px auto 0;
	border-radius: 2px;
	background: var(--color-accent);
}
/* 見出しの下は余白を少し詰める */
.base__head + .base__inner .base__block:first-child {
	padding-top: 70px;
}

/* ----------------------------------------------------------
	⑦ 施設情報・アクセス
---------------------------------------------------------- */
.access {
	padding: 140px 0;
	background-color: var(--color-bg);
	background-image: url(../../assets/images/bg-brick.png);
	background-size: 185px;
	background-repeat: no-repeat;
	background-position: top left;
	/* 追従ヘッダー（70px）に隠れないように */
	scroll-margin-top: 70px;
}
.access__inner {
	padding: 0 8vw;
}
.access__head {
	margin-bottom: 48px;
}
.access__label {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-accent);
	margin-bottom: 13px;
}
.access__title {
	font-family: 'Lexend Exa', sans-serif;
	/* 他の大見出し（NEWS・CALENDARなど）とそろえて 60px（狭い画面では1行に収まるよう縮める） */
	font-size: clamp(36px, 4.6vw, 60px);
	font-weight: 700;
	color: var(--color-dark);
	line-height: 1.2;
	letter-spacing: -0.04em;
}
.access__body {
	display: flex;
	align-items: flex-start;
	gap: 64px;
}
.access__info {
	flex: 1 1 0;
	min-width: 0;
	border-top: 1px solid var(--color-bg3);
}
.access__row {
	display: flex;
	gap: 24px;
	padding: 24px 0;
	border-bottom: 1px solid var(--color-bg3);
	font-size: 15px;
	line-height: 1.9;
}
.access__row dt {
	flex: 0 0 120px;
	font-size: 14px;
	font-weight: 700;
}
.access__row dd {
	flex: 1;
	min-width: 0;
}
.access__row dd p + p {
	margin-top: 4px;
}
.access__row dd .access__sub + p,
.access__row dd p + .access__sub {
	margin-top: 14px;
}
.access__sub {
	font-weight: 700;
}
.access__sub::before {
	content: "■ ";
}
.access__note {
	font-size: 13px;
	color: #6c6459;
}
.access__row a {
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-all;
}
.access__row a:hover {
	color: var(--color-accent);
}
.access__name {
	display: inline-block;
	min-width: 7em;
	font-weight: 700;
}
.access__venue {
	flex: 0 1 460px;
	min-width: 0;
	padding: 18px;
	background: #fff;
	border: 1px solid var(--color-bg3);
	border-radius: 24px;
}
.access__map {
	overflow: hidden;
	aspect-ratio: 460 / 380;
	border-radius: 16px;
	background: var(--color-bg2);
}
.access__map iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}
.access__venue-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px 12px 10px;
}
.access__venue-label {
	font-size: 14px;
	font-weight: 700;
	color: var(--color-accent);
	margin-bottom: 8px;
}
.access__venue-name {
	font-family: 'Lexend Exa', sans-serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.02em;
}
.access__venue-name:not(:first-of-type) {
	margin-top: 14px;
}
.access__venue-address {
	font-size: 14px;
}
.access__venue-address a {
	text-decoration: underline;
	text-underline-offset: 3px;
}
.access__venue-address a:hover {
	color: var(--color-accent);
}

/* ----------------------------------------------------------
	⑧ アニメーション
	・ページ表示時：ふわっとフェードイン（CSSだけ）
	・ページ移動時：フェードアウトしてから遷移（anim.js が .is-leaving を付ける）
	・スクロール：下からふわっと（anim.js が .js-reveal と .is-inview を付ける）
	※JSが動かない環境では何も隠さない（html.is-anim があるときだけ隠す）
---------------------------------------------------------- */
@keyframes sbPageIn {
	from { opacity: 0; }
	to   { opacity: 1; }
}
body {
	animation: sbPageIn 0.6s ease both;
}
body.is-leaving {
	opacity: 0;
	transition: opacity 0.25s ease;
}

html.is-anim .js-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition:
		opacity 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
		transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1);
	transition-delay: var(--reveal-delay, 0s);
}
html.is-anim .js-reveal.is-inview {
	opacity: 1;
	transform: none;
}
/* 画像はほんの少しだけズームしながら */
html.is-anim .js-reveal--img img {
	transform: scale(1.04);
	transition: transform 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html.is-anim .js-reveal--img.is-inview img {
	transform: none;
}
/* メインビジュアルの帯は読み込み直後に */
html.is-anim .mv__band {
	animation: sbBandIn 1.1s 0.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
@keyframes sbBandIn {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: none; }
}

/* 動きを減らす設定の人には動かさない */
@media (prefers-reduced-motion: reduce) {
	body,
	html.is-anim .mv__band {
		animation: none;
	}
	body.is-leaving {
		opacity: 1;
	}
	html.is-anim .js-reveal,
	html.is-anim .js-reveal--img img {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ==========================================================
	2026.11.26 追加修正
========================================================== */

/* フォント統一：英語の大見出しと同じ Lexend Exa に（日本語は Noto Sans JP で表示） */
.mv__band--brand {
	/* 文字の長さに合わせて帯を広げる */
	width: auto;
	max-width: none;
	padding-left: 56px;
	padding-right: 56px;
}
.mv__band--brand .mv__title {
	font-family: 'Lexend Exa', 'Noto Sans JP', sans-serif;
	font-size: clamp(36px, 4.2vw, 58px);
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.mv__band--brand .mv__sub {
	font-size: clamp(15px, 1.6vw, 20px);
	white-space: nowrap;
}
/* 2. 「S BRICK・A BRICKでできること」も英語部分を Lexend Exa に */
.base__head-title {
	font-family: 'Lexend Exa', 'Noto Sans JP', sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
}
.about__head {
	/* Lexend Exa は横幅が広いので、見出しに合わせて列幅を広げる */
	width: auto;
	min-width: 291px;
}
.about__title {
	font-family: 'Lexend Exa', 'Noto Sans JP', sans-serif;
	font-size: 44px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: -0.04em;
	white-space: nowrap;
}

/* ① 当施設について：建物の画像 */
.about__img {
	overflow: hidden;
	border-radius: 24px;
	/* 横長にトリミング（空を少なめにして建物を見せる） */
	aspect-ratio: 2 / 1;
	background: var(--color-bg2);
}
.about__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 62%;
}


/* メインビジュアルの背景ループ：画像が画面幅に縮められて左右が切れ、つなぎ目で写真が混ざる問題の修正
   （reset.css の img{max-width:100%} と object-fit:cover が原因。画像は本来の比率のまま並べる） */
.mv__track img {
	max-width: none;
	object-fit: fill;
}

/* ==========================================================
	SP（768px以下）
========================================================== */
@media screen and (max-width: 768px) {
	.u-sp {
		display: inline;
	}

	/* ① メインビジュアル */
	.mv__band--brand {
		padding: 24px 5%;
	}
	.mv__band--brand .mv__title {
		font-size: 30px;
		margin-bottom: 8px;
	}
	.mv__band--brand .mv__sub {
		font-size: 13px;
	}

	/* クリスマス */
	.xmas {
		padding: 72px 0;
		background-size: 120px;
	}
	.xmas__inner {
		flex-direction: column-reverse;
		gap: 36px;
		padding: 0 5vw;
	}
	.xmas__visual {
		flex: none;
		width: 100%;
	}
	.xmas__label {
		font-size: 12px;
	}
	.xmas__title {
		font-size: 26px;
		margin-bottom: 12px;
	}
	.xmas__sub {
		font-size: 17px;
		margin-bottom: 20px;
	}
	.xmas__date,
	.xmas__text {
		font-size: 14px;
	}
	.xmas__text {
		margin-bottom: 28px;
	}
	.xmas__btns {
		flex-direction: column;
		gap: 12px;
	}
	.xmas__btns .c-btn {
		width: 100%;
	}

	/* ② NEWS一覧 */
	.p-page__lead {
		margin-top: 8px;
		font-size: 14px;
	}
	.p-page-news .l-contents__body {
		padding-top: 24px;
	}

	/* ⑤ ボタン */
	.about__btn {
		margin-top: 0;
	}

	/* ⑥ 見出し */
	.base__head {
		padding: 64px 5vw 0;
	}
	.base__head-title {
		font-size: 24px;
	}
	.base__head-title::after {
		width: 40px;
		height: 3px;
		margin-top: 16px;
	}
	.base__head + .base__inner .base__block:first-child {
		padding-top: 40px;
	}

	/* ⑦ 施設情報・アクセス */
	.access {
		padding: 80px 0;
		background-size: 120px;
	}
	.access__inner {
		padding: 0 5vw;
	}
	.access__head {
		margin-bottom: 28px;
	}
	.access__label {
		font-size: 14px;
	}
	.access__title {
		font-size: 30px;
	}
	.access__body {
		flex-direction: column;
		gap: 36px;
	}
	.access__info,
	.access__venue {
		flex: none;
		width: 100%;
	}
	.access__row {
		flex-direction: column;
		gap: 6px;
		padding: 18px 0;
		font-size: 14px;
	}
	.access__row dt {
		flex: none;
	}
	.access__venue {
		padding: 12px;
		border-radius: 18px;
	}
	.access__venue-name {
		font-size: 19px;
	}

	/* ⑧ SPは移動量を控えめに */
	html.is-anim .js-reveal {
		transform: translateY(18px);
	}
	/* 2026.11.26 追加修正 */
	.mv__band--brand {
		width: 100%;
		max-width: 660px;
		padding-left: 5%;
		padding-right: 5%;
	}
	.mv__band--brand .mv__title {
		font-size: 26px;
		white-space: normal;
	}
	.mv__band--brand .mv__sub {
		font-size: 13px;
		white-space: normal;
	}
	.base__head-title {
		font-size: 22px;
	}
	.about__head {
		width: auto;
		min-width: 0;
	}
	.about__title {
		font-size: 34px;
	}
	.about__img {
		border-radius: 16px;
	}
}
