@charset "UTF-8";
/* =====================================================================
   CHC site.css — 2026 リニューアル試作
   構成：固定ヘッダー → ヒーロー → 概要カード → お知らせ → CHCとは
         → 過去の開催 → お問い合わせ帯 → フッター（最下部固定）
   色・ロゴ・写真は現行サイトを継承（ティール #00A696 / #33B9AB）
===================================================================== */
:root {
	--teal: #00A696;
	--teal-light: #33B9AB;
	--teal-deep: #0A5D55;
	--teal-tint: #E8F6F4;
	--blue: #00A0E9;
	--ink: #1E2A2B;
	--muted: #5C6968;
	--line: #DFE6E4;
	--bg: #F4F7F6;
	--surface: #FFFFFF;
	--footer: #333333;
	--font-ja: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	--font-display: "Barlow Condensed", "Arial Narrow", "Noto Sans JP", sans-serif;
	--header-h: 72px;
	--radius: 10px;
	--wrap: 1120px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	min-height: 100vh;
	min-height: 100dvh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-ja);
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: 0.02em;
}
main { flex: 1 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.35; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding-left: max(20px, env(safe-area-inset-left, 0px));
	padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.num { font-family: var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.96);
	backdrop-filter: saturate(150%) blur(8px);
	-webkit-backdrop-filter: saturate(150%) blur(8px);
	border-bottom: 1px solid transparent;
	transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(14, 50, 46, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { width: 168px; height: auto; }
.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.gnav a {
	display: block;
	padding: 8px 14px;
	color: var(--ink);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
	border-radius: 999px;
	transition: background .2s ease, color .2s ease;
}
.gnav a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.gnav a[aria-current="page"] { color: var(--teal); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #FFF; box-shadow: 0 6px 16px rgba(0, 166, 150, .28); }
.btn-primary:hover { background: var(--teal-deep); color: #FFF; }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: #FFF; background: rgba(255, 255, 255, .06); }
.btn-ghost:hover { background: #FFF; color: var(--teal-deep); }
.btn-outline { border-color: var(--teal); color: var(--teal); background: var(--surface); }
.btn-outline:hover { background: var(--teal); color: #FFF; }
.btn-sm { min-height: 38px; padding: 6px 16px; font-size: 14px; }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.lang {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--blue);
	color: #FFF;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .08em;
	text-decoration: none;
}
.lang:hover { color: #FFF; background: #0088C7; }

/* hamburger */
.menu-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--teal-tint);
	cursor: pointer;
}
.menu-toggle span {
	position: absolute;
	left: 12px;
	right: 12px;
	height: 2px;
	border-radius: 2px;
	background: var(--teal-deep);
	transition: transform .25s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* drawer (mobile) */
.drawer {
	position: fixed;
	inset: var(--header-h) 0 0 0;
	z-index: 49;
	padding: 28px max(20px, env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px));
	background: linear-gradient(160deg, var(--teal-deep), var(--teal) 70%);
	color: #FFF;
	overflow-y: auto;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.menu-open .drawer { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
.drawer ul { list-style: none; margin: 0 0 28px; padding: 0; }
.drawer li { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.drawer li a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 4px;
	color: #FFF;
	font-size: 19px;
	font-weight: 700;
	text-decoration: none;
}
.drawer li a small { font-family: var(--font-display); font-weight: 500; font-size: 13px; letter-spacing: .14em; opacity: .75; }
.drawer .drawer-actions { display: grid; gap: 12px; }
.drawer .btn-primary { background: #FFF; color: var(--teal-deep); box-shadow: none; }
.drawer .lang { justify-self: start; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	isolation: isolate;
	color: #FFF;
	background: var(--teal-deep);
	overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.04); }
/* メイン写真：ゆっくり寄って、ゆっくり引くを繰り返す */
.hero-media img { will-change: transform; animation: heroBreathe 18s ease-in-out infinite alternate; }
@keyframes heroBreathe { from { transform: scale(1.02); } to { transform: scale(1.1); } }
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(100deg, rgba(6, 52, 48, .94) 0%, rgba(6, 70, 64, .82) 38%, rgba(0, 120, 108, .35) 75%, rgba(0, 120, 108, .15) 100%);
}
.hero .wrap { padding-top: clamp(56px, 10vw, 112px); padding-bottom: clamp(56px, 9vw, 104px); }
.hero-tag {
	display: inline-block;
	margin-bottom: 20px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .14);
	border: 1px solid rgba(255, 255, 255, .35);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .06em;
}
.hero-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(44px, 8.4vw, 92px);
	line-height: .98;
	letter-spacing: .01em;
	text-transform: none;
}
.hero-title .ordinal { display: block; font-size: .52em; letter-spacing: .08em; color: #9FE6DD; margin-bottom: 6px; }
.hero-title sup { font-size: .5em; vertical-align: .9em; }
.hero-date {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	margin: 28px 0 6px;
	font-family: var(--font-display);
	font-size: clamp(28px, 4.6vw, 44px);
	font-weight: 500;
	line-height: 1.1;
}
.hero-date .dow { font-size: .5em; letter-spacing: .12em; opacity: .85; margin-left: 4px; }
.hero-date .sep { opacity: .6; }
.hero-venue { margin: 0 0 28px; font-size: 16px; opacity: .92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-status {
	display: none;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	font-size: 14px;
	font-weight: 700;
}
.js .hero-status { display: inline-flex; }
.hero-status .dot { width: 9px; height: 9px; border-radius: 50%; background: #7CF2C4; box-shadow: 0 0 0 0 rgba(124, 242, 196, .7); animation: pulse 2.2s infinite; }
.hero-status.is-closed .dot { background: #C9D3D1; animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124, 242, 196, .6); } 70% { box-shadow: 0 0 0 10px rgba(124, 242, 196, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 242, 196, 0); } }
.hero-status { flex-wrap: wrap; row-gap: 2px; }
.hero-status .count { font-family: var(--font-display); font-size: 22px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section + .section { padding-top: 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.eyebrow {
	display: block;
	margin-bottom: 6px;
	color: var(--teal);
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .2em;
	text-transform: uppercase;
}
.section-title { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; letter-spacing: .06em; }
.lead { color: var(--muted); max-width: 46em; }

/* facts (overlaps hero) */
.facts { position: relative; z-index: 2; margin-top: -44px; }
.facts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: 0 18px 40px rgba(14, 50, 46, .12);
	overflow: hidden;
}
.fact { padding: 24px 26px; border-right: 1px solid var(--line); min-width: 0; }
.fact:last-child { border-right: 0; }
.fact dt { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.fact dd { margin: 6px 0 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
.fact dd .big { font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1; color: var(--teal-deep); margin-right: 2px; }
.fact dd small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; font-weight: 400; }

/* news */
.news-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-radius: var(--radius); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-list a {
	display: grid;
	grid-template-columns: 9.5em 1fr auto;
	align-items: center;
	gap: 8px 20px;
	padding: 20px 24px;
	color: var(--ink);
	text-decoration: none;
	transition: background .2s ease;
}
.news-list a:hover { background: var(--teal-tint); }
.news-list time { color: var(--muted); font-family: var(--font-display); font-size: 17px; letter-spacing: .04em; }
.news-list .chev { color: var(--teal); font-size: 20px; transition: transform .2s ease; }
.news-list a:hover .chev { transform: translateX(4px); }

/* about */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-figure { position: relative; }
.about-figure img { border-radius: var(--radius); box-shadow: 0 18px 40px rgba(14, 50, 46, .14); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.about-figure figcaption { margin-top: 10px; color: var(--muted); font-size: 13px; }
.milestones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 28px; padding: 0; list-style: none; }
.milestones li { padding: 16px; border-radius: var(--radius); background: var(--teal-tint); }
.milestones .k { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; line-height: 1.05; color: var(--teal-deep); }
.milestones .v { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* past (horizontal scroll) */
.past-scroller {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(260px, 30%);
	gap: 18px;
	overflow-x: auto;
	padding: 4px 4px 18px;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.past-card {
	scroll-snap-align: start;
	display: block;
	overflow: hidden;
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(14, 50, 46, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.past-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(14, 50, 46, .14); color: var(--ink); }
.past-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.past-card:hover img { transform: scale(1.04); }
.past-card .body { padding: 14px 18px 18px; }
.past-card .no { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--teal-deep); }
.past-card .meta { display: block; color: var(--muted); font-size: 13px; }

/* contact band */
.contact-band {
	border-radius: calc(var(--radius) + 6px);
	padding: clamp(28px, 5vw, 48px);
	background: linear-gradient(135deg, var(--teal-deep), var(--teal) 80%);
	color: #FFF;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 20px 40px;
	align-items: center;
}
.contact-band .section-title { color: #FFF; }
.contact-band .eyebrow { color: #9FE6DD; }
.contact-band p { margin: 10px 0 0; opacity: .92; }
.contact-band .tel { font-family: var(--font-display); font-size: 28px; font-weight: 600; letter-spacing: .04em; }
.contact-band .btn-primary { background: #FFF; color: var(--teal-deep); box-shadow: none; }
.contact-band .btn-primary:hover { background: var(--teal-tint); }

/* ---------- Page (inner) ---------- */
.page-hero {
	position: relative;
	isolation: isolate;
	color: #FFF;
	background: linear-gradient(120deg, var(--teal-deep), var(--teal) 85%);
	overflow: hidden;
}
/* 輪：波紋のようにゆっくり広がって消える。2つを半周期ずらして常にどちらかが見える */
.page-hero::before,
.page-hero::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -80px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 40px solid rgba(255, 255, 255, .09);
	z-index: -1;
	pointer-events: none;
	transform-origin: center;
	animation: ringSpread 12s cubic-bezier(.22, .61, .36, 1) infinite;
}
.page-hero::after { animation-delay: -6s; }
@keyframes ringSpread {
	0%   { transform: scale(.55); opacity: 0; }
	15%  { opacity: 1; }
	70%  { opacity: .55; }
	100% { transform: scale(1.75); opacity: 0; }
}
.page-hero .wrap { padding-top: 44px; padding-bottom: 40px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 13px; opacity: .9; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumb a { color: #FFF; }
.page-title { font-size: clamp(28px, 4.4vw, 40px); font-weight: 700; letter-spacing: .08em; }
.page-sub { margin: 8px 0 0; font-family: var(--font-display); font-size: 18px; letter-spacing: .12em; opacity: .85; }

.subnav {
	position: sticky;
	top: var(--header-h);
	z-index: 20;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
}
.subnav ul { display: flex; gap: 8px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
	display: block;
	white-space: nowrap;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--teal-tint);
	color: var(--teal-deep);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.subnav a:hover, .subnav a.is-active { background: var(--teal); color: #FFF; }

.panel {
	background: var(--surface);
	border-radius: var(--radius);
	padding: clamp(22px, 4vw, 40px);
	box-shadow: 0 6px 18px rgba(14, 50, 46, .06);
}
.panel + .panel { margin-top: 24px; }
.panel h2 { font-size: clamp(21px, 2.6vw, 26px); letter-spacing: .06em; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.panel h2::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--teal); }

.info { margin: 0; display: grid; grid-template-columns: 11em 1fr; }
.info > dt, .info > dd { padding: 16px 0; border-top: 1px solid var(--line); margin: 0; }
.info > dt:first-of-type, .info > dt:first-of-type + dd { border-top: 0; }
.info > dt { color: var(--teal-deep); font-weight: 700; padding-right: 16px; }
.info ul { margin: 0; padding-left: 1.2em; }
.info ul li + li { margin-top: 4px; }
.info .sub { display: grid; grid-template-columns: 6em 1fr; gap: 2px 12px; }
.info .sub dt { font-weight: 700; }
.info .sub dd { margin: 0; }
.info .sub.stack { grid-template-columns: 1fr; }
.info .sub.stack dt { margin-top: 6px; }
.info .sub.stack dd ul { margin-top: 2px; }
.schedule { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.schedule li { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 14px 16px; border-radius: 8px; background: var(--bg); }
.schedule .day { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--teal-deep); line-height: 1.2; }
.schedule .rows { font-size: 15px; }
.price { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--teal-deep); line-height: 1.1; }
.note { color: var(--muted); font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.callout { margin-top: 18px; padding: 14px 16px; border-left: 4px solid var(--teal); background: var(--teal-tint); border-radius: 0 8px 8px 0; font-size: 15px; }
.file-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	transition: border-color .2s ease, background .2s ease;
}
.file-link:hover { border-color: var(--teal); background: var(--teal-tint); color: var(--ink); }
.file-link .badge { flex-shrink: 0; padding: 4px 8px; border-radius: 6px; background: #D9443B; color: #FFF; font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .06em; }
.file-link .chev { margin-left: auto; color: var(--teal); }

/* ---------- Footer (sticks to bottom on short pages) ---------- */
.site-footer { flex-shrink: 0; margin-top: clamp(56px, 8vw, 96px); background: var(--footer); color: #C9D3D1; font-size: 14px; }
.site-footer .wrap { padding-top: 48px; padding-bottom: 24px; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; }
.footer-brand img { width: 170px; }
.footer-brand p { margin: 16px 0 0; line-height: 1.8; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h3 { color: #FFF; font-size: 14px; letter-spacing: .1em; margin-bottom: 10px; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin: 6px 0; }
.footer-nav a, .footer-bottom a { color: #C9D3D1; text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover { color: #FFF; text-decoration: underline; }
.footer-bnr { display: inline-block; margin-top: 20px; border-radius: 6px; overflow: hidden; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 36px; padding-top: 20px; border-top: 1px solid #4A4A4A; font-size: 13px; color: #A3ABAA; }

/* back to top */
.to-top {
	position: fixed;
	right: max(16px, env(safe-area-inset-right, 0px));
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	z-index: 40;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: var(--teal);
	color: #FFF;
	font-size: 20px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
.to-top:hover { background: var(--teal-deep); }

/* toast (sample only) */
.toast {
	position: fixed;
	left: 50%;
	bottom: calc(24px + env(safe-area-inset-bottom, 0px));
	z-index: 60;
	transform: translate(-50%, 20px);
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: #FFF;
	font-size: 14px;
	opacity: 0;
	pointer-events: none;
	transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.js .reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .08s; }
.js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .16s; }
.js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .24s; }
.js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: .32s; }
.js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal, .js .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
	.gnav, .header-actions .btn, .header-actions .lang { display: none; }
	.menu-toggle { display: inline-block; }
	.header-actions { margin-left: auto; }
	.facts-grid { grid-template-columns: repeat(2, 1fr); }
	.fact:nth-child(2) { border-right: 0; }
	.fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.about-grid { grid-template-columns: 1fr; }
	.about-figure { order: -1; }
	.footer-top { grid-template-columns: 1fr; }
	.past-scroller { grid-auto-columns: minmax(240px, 46%); }
}
@media (max-width: 600px) {
	:root { --header-h: 64px; }
	body { font-size: 15px; }
	.brand img { width: 148px; }
	.hero-cta .btn { flex: 1 1 100%; }
	.hero-tag { font-size: 12px; border-radius: 14px; }
	.hero-status .count { flex-basis: 100%; padding-left: 19px; }
	.facts { margin-top: -32px; }
	.fact { padding: 18px 16px; }
	.fact dd { font-size: 15px; }
	.fact dd .big { font-size: 26px; }
	.news-list a { grid-template-columns: 1fr auto; padding: 16px 18px; }
	.news-list time { grid-column: 1 / -1; font-size: 15px; }
	.milestones { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.milestones li { padding: 12px 10px; }
	.milestones .k { font-size: 24px; }
	.past-scroller { grid-auto-columns: 78%; }
	.contact-band { grid-template-columns: 1fr; }
	.contact-band .btn { width: 100%; }
	.info { grid-template-columns: 1fr; }
	.info > dt { padding: 16px 0 2px; }
	.info > dd { border-top: 0; padding-top: 4px; }
	.info .sub { grid-template-columns: 1fr; }
	.info .sub dt { margin-top: 8px; }
	.schedule li { grid-template-columns: 1fr; }
	.footer-nav { grid-template-columns: 1fr 1fr; }
}

/* =====================================================================
   下層ページ共通：本文＋ページ内メニュー
===================================================================== */
.page-body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 260px;
	grid-template-areas: "content nav";
	gap: 28px;
	align-items: start;
	padding-top: 32px;
}
.page-body.no-nav { grid-template-columns: minmax(0, 1fr); grid-template-areas: "content"; max-width: 920px; }
.page-content { grid-area: content; min-width: 0; }
.localnav { grid-area: nav; position: sticky; top: calc(var(--header-h) + 16px); }
.localnav .nav-title { margin: 0 0 8px; padding: 0 4px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.localnav ul { list-style: none; margin: 0; padding: 8px; background: var(--surface); border-radius: var(--radius); box-shadow: 0 6px 18px rgba(14, 50, 46, .06); }
.localnav a {
	display: block;
	padding: 9px 12px;
	border-radius: 8px;
	color: var(--ink);
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1.5;
}
.localnav a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.localnav a[aria-current="page"] { background: var(--teal); color: #FFF; font-weight: 700; }

/* 旧サイトの本文をそのまま新デザインで表示するための整形 */
.prose > :first-child { margin-top: 0; }
.prose h2 {
	margin: 0 0 22px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--teal-tint);
	color: var(--teal-deep);
	font-size: clamp(22px, 3vw, 28px);
	letter-spacing: .04em;
}
.prose h3 {
	margin: 36px 0 14px;
	padding-left: 14px;
	border-left: 5px solid var(--teal);
	font-size: clamp(18px, 2.4vw, 21px);
	letter-spacing: .04em;
}
.prose h3 span { color: var(--muted); font-size: .72em; font-weight: 400; letter-spacing: 0; }
.prose h4 { margin: 26px 0 10px; color: var(--teal-deep); font-size: 17px; }
.prose h5 { margin: 18px 0 8px; font-size: 16px; }
.prose section + section { margin-top: 12px; }
.prose figure { margin: 0 0 22px; }
.prose figure img, .prose > section > img { border-radius: var(--radius); }
.prose img { height: auto; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose .center, .prose center { text-align: center; }
.prose .p_btn { text-align: center; }
.prose a.alpha:hover img { opacity: .8; }
.prose table { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; margin: 0 0 20px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--teal-tint); }

.prose ul.ul_line, .prose ul.ul_list { list-style: none; margin: 0 0 18px; padding: 0; }
.prose ul.ul_line li, .prose ul.ul_list li { position: relative; padding: 10px 4px 10px 22px; line-height: 1.7; }
.prose ul.ul_line li { border-bottom: 1px dashed var(--line); }
.prose ul.ul_line li::before, .prose ul.ul_list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 1.15em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--teal);
}

.prose dl.dl_table { display: grid; grid-template-columns: 11em 1fr; margin: 0 0 18px; border-top: 1px solid var(--line); }
.prose dl.dl_table > dt, .prose dl.dl_table > dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.prose dl.dl_table > dt { color: var(--teal-deep); font-weight: 700; padding-right: 16px; }
.prose dl.dl_table dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; }
.prose dl.dl_table dl dt { font-weight: 700; }
.prose dl.dl_table dl dd { margin: 0; }
.prose dl.dl_table dl dt:empty { display: none; }
.prose dl.dl_table dl dt:empty + dd { grid-column: 1 / -1; }
.prose dl.dl_table ul { margin: 0; }
.prose dl.dl_table + dl.dl_table { border-top: 0; margin-top: -18px; }
.prose dl.dl_parallel { display: grid; grid-template-columns: 7em 1fr; gap: 6px 14px; margin: 0 0 18px; }
.prose dl.dl_parallel dt { font-weight: 700; color: var(--teal-deep); }
.prose dl.dl_parallel dd { margin: 0; }

.prose ul.ul_ph { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; }
.prose ul.ul_ph li { font-size: 14px; line-height: 1.6; color: var(--muted); }
.prose ul.ul_ph li br:first-of-type { display: none; }
.prose ul.ul_ph img { width: 100%; aspect-ratio: 155 / 170; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; box-shadow: 0 6px 14px rgba(14, 50, 46, .1); }
.prose ul.ul_ph strong { display: block; color: var(--ink); font-size: 16px; }

.prose ul.ul_btn, .prose ul.ul_pdf { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.prose ul.ul_btn a, .prose ul.ul_pdf a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 18px;
	border-radius: var(--radius);
	background: var(--teal);
	color: #FFF;
	font-weight: 700;
	text-decoration: none;
	transition: background .2s ease, transform .2s ease;
}
.prose ul.ul_btn a::after, .prose ul.ul_pdf a::after { content: "→"; }
.prose ul.ul_btn a:hover, .prose ul.ul_pdf a:hover { background: var(--teal-deep); transform: translateY(-2px); color: #FFF; }

/* 過去の開催：一覧カード、前後リンク */
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.archive-grid .past-card .no { font-size: 22px; }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-top: 24px; }
.pager a { display: block; padding: 14px 16px; border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: 0 4px 12px rgba(14, 50, 46, .06); }
.pager a:hover { background: var(--teal-tint); color: var(--teal-deep); }
.pager .prev { justify-self: start; }
.pager .next { justify-self: end; text-align: right; }
.pager .all { background: transparent; box-shadow: none; color: var(--teal); font-weight: 700; }
.pager small { display: block; color: var(--muted); font-size: 12px; }

@media (max-width: 960px) {
	.page-body { grid-template-columns: minmax(0, 1fr); grid-template-areas: "nav" "content"; padding-top: 0; gap: 20px; }
	.localnav {
		position: sticky;
		top: var(--header-h);
		z-index: 20;
		margin: 0 calc(-1 * max(20px, env(safe-area-inset-left, 0px))) 0 calc(-1 * max(20px, env(safe-area-inset-right, 0px)));
		background: rgba(255, 255, 255, .96);
		border-bottom: 1px solid var(--line);
	}
	.localnav .nav-title { display: none; }
	.localnav ul {
		display: flex;
		gap: 8px;
		padding: 10px max(20px, env(safe-area-inset-left, 0px));
		background: transparent;
		box-shadow: none;
		border-radius: 0;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.localnav ul::-webkit-scrollbar { display: none; }
	.localnav a { white-space: nowrap; padding: 6px 14px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-deep); font-weight: 700; }
}
@media (max-width: 600px) {
	.prose dl.dl_table { grid-template-columns: 1fr; }
	.prose dl.dl_table > dt { padding: 14px 0 2px; border-bottom: 0; }
	.prose dl.dl_table > dd { padding-top: 4px; }
	.prose dl.dl_table dl { grid-template-columns: 1fr; }
	.prose dl.dl_table dl dt { margin-top: 6px; }
	.prose dl.dl_parallel { grid-template-columns: 1fr; gap: 0; }
	.prose dl.dl_parallel dd { margin-bottom: 8px; }
	.pager { grid-template-columns: 1fr 1fr; }
	.pager .all { grid-column: 1 / -1; grid-row: 2; text-align: center; }
}

/* 本文内の見出しは横並びにしない（上付き文字 13th などを崩さない） */
.panel.prose h2 { display: block; }
.panel.prose h2::before { display: none; }
@media (max-width: 600px) {
	.prose ul.ul_ph { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
