/* ==========================================================
   GALA KIDS SCHOOL
   ========================================================== */

:root {
	--cream: #fffaf0;
	--white: #ffffff;
	--ink: #3a3466;
	--ink-soft: #625c8c;
	--lav: #8e86d6;
	--lav-pale: #eeebfc;
	--lav-deep: #5b54a3;
	--lav-text: #6c63bf;
	--sky: #8fd5f7;
	--sky-pale: #e2f4fd;
	--pink: #f7b4cd;
	--pink-pale: #fde9f1;
	--mint: #5cc9b8;
	--mint-pale: #dcf5f0;
	--yellow: #ffd966;
	--yellow-pale: #fff4cf;
	--red: #e05a7a;

	--line: 3px solid var(--ink);
	--pop: 5px 5px 0 var(--ink);
	--pop-sm: 3px 3px 0 var(--ink);
	--r: 22px;

	--font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", sans-serif;
	--font-en: "Fredoka", "Zen Maru Gothic", sans-serif;

	--header-h: 76px;
	--ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::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;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: .04em;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }

:focus-visible {
	outline: 3px solid var(--lav);
	outline-offset: 3px;
	border-radius: 6px;
}

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 200;
	background: var(--ink); color: var(--white); padding: 8px 16px; border-radius: 999px;
	text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }

.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }

/* ---------- Buttons ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .6em;
	min-height: 56px; padding: 0 1.6em;
	border: var(--line); border-radius: 999px;
	font-weight: 900; font-size: 1.05rem; letter-spacing: .06em;
	text-decoration: none; white-space: nowrap;
	box-shadow: var(--pop-sm);
	transition: transform .15s, box-shadow .15s, background-color .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }

.btn--reserve { background: var(--yellow); }
.btn--reserve .btn__arrow {
	display: inline-grid; place-items: center;
	width: 1.7em; height: 1.7em; border-radius: 50%;
	background: var(--ink); color: var(--yellow); font-size: .85em;
	transition: transform .25s var(--ease-bounce);
}
.btn--reserve:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { background: var(--white); }

/* ---------- Header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 250, 240, .94);
	backdrop-filter: blur(8px);
	border-bottom: var(--line);
}
.site-header__inner {
	display: flex; align-items: center; gap: 24px;
	width: min(1240px, 100% - 32px); margin-inline: auto;
	height: var(--header-h);
}
.site-logo { flex: none; display: block; width: 128px; }
.site-logo img { width: 100%; }

.gnav { margin-left: auto; }
.gnav__list { display: flex; gap: 4px; }
.gnav__list a {
	display: block; padding: 8px 14px; border-radius: 999px;
	font-weight: 700; font-size: .95rem; text-decoration: none;
	transition: background-color .2s;
}
.gnav__list a:hover { background: var(--lav-pale); }
.gnav__sp-extra { display: none; }

.site-header__reserve { min-height: 48px; font-size: .95rem; padding: 0 1.2em; }

.menu-toggle { display: none; }

@media (max-width: 1080px) {
	:root { --header-h: 64px; }
	.site-logo { width: 96px; }
	.site-header__reserve { display: none; }

	.menu-toggle {
		display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
		margin-left: auto; width: 58px; height: 52px; padding: 8px 0 4px;
		background: var(--white); border: var(--line); border-radius: 16px;
		box-shadow: var(--pop-sm);
	}
	.menu-toggle__bars { display: grid; gap: 4px; width: 22px; }
	.menu-toggle__bars span {
		display: block; height: 3px; border-radius: 3px; background: var(--ink);
		transition: transform .3s var(--ease-bounce), opacity .2s;
	}
	.menu-toggle__label { font-size: .62rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
	.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.gnav {
		position: fixed; inset: var(--header-h) 0 auto 0;
		max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
		background: var(--cream); border-bottom: var(--line);
		padding: 16px 16px 28px;
		transform: translateY(-12px); opacity: 0; visibility: hidden;
		transition: transform .3s var(--ease-bounce), opacity .2s, visibility .2s;
	}
	.gnav.is-open { transform: none; opacity: 1; visibility: visible; }
	.gnav__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.gnav__list a {
		border: var(--line); border-radius: 16px; background: var(--white);
		padding: 14px 12px; text-align: center; font-size: 1rem;
	}
	.gnav__sp-extra { display: grid; gap: 14px; margin-top: 20px; text-align: center; }
	.gnav__sp-extra .btn { width: 100%; }
	.gnav__tel { font-size: .9rem; line-height: 1.6; }
	.gnav__tel a { font-family: var(--font-en); font-weight: 600; font-size: 1.2rem; }
}

/* ---------- Waves ---------- */

.wave { display: block; width: 100%; height: 56px; }
.wave--hero { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; }
.wave--hero path { fill: var(--cream); stroke: var(--ink); stroke-width: 3; vector-effect: non-scaling-stroke; }
.wave--footer path { fill: var(--lav-deep); }

/* ---------- Hero ---------- */

.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(circle at 18px 18px, rgba(255,255,255,.9) 3px, transparent 3.5px) 0 0 / 36px 36px,
		var(--sky-pale);
	padding: 48px 0 110px;
}
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }

.hero__inner {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center;
	width: min(1180px, 100% - 32px); margin-inline: auto;
}
@media (min-width: 900px) {
	.hero { padding: 72px 0 140px; }
	.hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
}

.hero__place {
	display: inline-block; margin-bottom: 18px;
	padding: 4px 14px; border: 2px solid var(--ink); border-radius: 999px;
	background: var(--white); font-size: .85rem; font-weight: 700;
}
.hero__title {
	font-weight: 900; line-height: 1.32; letter-spacing: .02em;
	font-size: clamp(2rem, 8.4vw, 3.6rem);
}
.hero__line { display: block; white-space: nowrap; }
.hero__title em {
	font-style: normal; position: relative; display: inline-block;
	background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%);
	padding: 0 .08em;
}
.hero__lead { margin-top: 20px; font-size: 1.02rem; color: var(--ink-soft); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__note { margin-top: 14px; font-size: .88rem; color: var(--ink-soft); }
.hero__note strong { color: var(--ink); }

.hero__visual { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero__photo {
	border: var(--line); box-shadow: 8px 8px 0 var(--ink);
	border-radius: 999px 999px 28px 28px; overflow: hidden;
	aspect-ratio: 1 / 1.05; background: var(--white);
	transform: rotate(1.5deg);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__unicorn {
	position: absolute; width: 34%; left: -12%; bottom: -10%;
	animation: float 5s ease-in-out infinite;
}
.hero__badge {
	position: absolute; top: 4%; right: -2%;
	display: grid; place-items: center; align-content: center;
	width: 118px; height: 118px; border-radius: 50%;
	background: var(--pink); border: var(--line); box-shadow: var(--pop-sm);
	line-height: 1.1; text-align: center; transform: rotate(10deg);
	animation: wobble 4s ease-in-out infinite;
}
.hero__badge span { font-size: .8rem; font-weight: 700; }
.hero__badge strong { font-family: var(--font-en); font-size: 2.1rem; font-weight: 700; }
.hero__badge small { font-size: .55em; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes wobble { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-4deg) scale(1.04); } }

/* hero entrance */
.hero__line, .hero__lead, .hero__cta, .hero__note, .hero__place {
	animation: rise .8s var(--ease-bounce) both;
}
.hero__place { animation-delay: .05s; }
.hero__line:nth-child(1) { animation-delay: .15s; }
.hero__line:nth-child(2) { animation-delay: .28s; }
.hero__lead { animation-delay: .42s; }
.hero__cta { animation-delay: .55s; }
.hero__note { animation-delay: .62s; }
.hero__photo { animation: pop-in .9s var(--ease-bounce) .2s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.85) rotate(-4deg); } to { opacity: 1; transform: rotate(1.5deg); } }

/* ---------- Facts ---------- */

.facts { position: relative; z-index: 3; margin-top: -20px; }
.facts__list { display: grid; gap: 14px; }
@media (min-width: 760px) { .facts__list { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.facts__item {
	display: grid; gap: 2px;
	padding: 18px 22px; border: var(--line); border-radius: var(--r);
	background: var(--white);
}
.facts__item:nth-child(1) { border-top: 10px solid var(--pink); }
.facts__item:nth-child(2) { border-top: 10px solid var(--mint); }
.facts__item:nth-child(3) { border-top: 10px solid var(--lav); }
.facts__label { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.facts__item strong { font-size: 1.4rem; font-weight: 900; line-height: 1.4; }
.facts__item small { font-size: .85rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Section ---------- */

.section { padding: 88px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 120px 0; } }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head__en {
	font-family: var(--font-en); font-weight: 600; letter-spacing: .2em;
	font-size: .9rem; color: var(--lav-text);
}
.section-head__title {
	font-weight: 900; font-size: clamp(1.75rem, 5vw, 2.5rem); line-height: 1.4;
	display: inline-block; position: relative; padding: 0 .3em;
}
.section-head__title::before, .section-head__title::after {
	content: ""; position: absolute; top: 50%; width: 14px; height: 14px;
	background: var(--yellow); border: 2px solid var(--ink);
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
	transform: translateY(-50%);
}
.section-head__title::before { right: 100%; }
.section-head__title::after { left: 100%; }
.section-head__lead { margin-top: 10px; color: var(--ink-soft); }

/* ---------- Quiz ---------- */

.quiz {
	max-width: 760px; margin: 0 auto 56px;
	padding: 24px; border: var(--line); border-radius: var(--r);
	background: var(--yellow-pale); box-shadow: var(--pop);
}
@media (min-width: 700px) { .quiz { padding: 32px 40px; } }
.quiz__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.quiz__mascot { width: 44px; flex: none; animation: hop 2.4s ease-in-out infinite; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-10px); } }
.quiz__kicker { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.quiz__title { font-size: 1.25rem; font-weight: 900; line-height: 1.4; }
.quiz__q { font-size: 1.1rem; font-weight: 700; line-height: 1.6; margin-bottom: 16px; }
.quiz__qnum {
	display: inline-block; margin-right: .6em; padding: 0 .55em;
	background: var(--ink); color: var(--yellow); border-radius: 8px;
	font-family: var(--font-en); font-weight: 600;
}
.quiz__answers { display: flex; flex-wrap: wrap; gap: 12px; }
.quiz__btn {
	flex: 1 1 140px; min-height: 54px; padding: 0 1em;
	background: var(--white); border: var(--line); border-radius: 16px;
	font-weight: 900; font-size: 1rem; text-decoration: none;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: var(--pop-sm); transition: transform .15s, box-shadow .15s, background-color .2s;
}
.quiz__btn:hover { background: var(--sky-pale); transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); }
.quiz__btn:active { transform: translate(3px, 3px); box-shadow: none; }
.quiz__btn--go { background: var(--yellow); }
.quiz__answer { font-size: 1.35em; background: linear-gradient(transparent 60%, var(--pink) 60%); padding: 0 .1em; }
.quiz__stage:not([hidden]) { animation: rise .45s var(--ease-bounce) both; }

/* ---------- Class cards ---------- */

.classes { display: grid; gap: 28px; counter-reset: cls; }
@media (min-width: 700px) { .classes { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1100px) { .classes { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.class-card {
	--c: var(--pink); --c-pale: var(--pink-pale);
	position: relative; display: flex; flex-direction: column;
	border: var(--line); border-radius: var(--r); overflow: hidden;
	background: var(--c-pale);
	transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.class-card--usagi { --c: var(--yellow); --c-pale: var(--yellow-pale); }
.class-card--kitsune { --c: var(--mint); --c-pale: var(--mint-pale); }
.class-card--ookami { --c: var(--lav); --c-pale: var(--lav-pale); }
.class-card:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--pop); }
.class-card.is-picked { box-shadow: 0 0 0 6px var(--c), var(--pop); transform: translateY(-6px); }

.class-card::before {
	counter-increment: cls; content: "STEP " counter(cls);
	position: absolute; top: 12px; left: 12px; z-index: 1;
	padding: 2px 12px; border: 2px solid var(--ink); border-radius: 999px;
	background: var(--white); font-family: var(--font-en); font-weight: 600; font-size: .8rem;
}
.class-card__photo { aspect-ratio: 1; border-bottom: var(--line); background: var(--white); }
.class-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.class-card__body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.class-card__level { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.class-card__level > span:last-child {
	padding: 0 10px; border-radius: 999px; background: var(--c); border: 2px solid var(--ink); font-size: .8rem;
}
.class-card__name { font-size: 1.6rem; font-weight: 900; line-height: 1.3; }
.class-card__name small { font-size: .55em; margin-left: .2em; }
.class-card__lead { font-size: .95rem; line-height: 1.7; }
.class-card__note { font-size: .82rem; font-weight: 700; color: var(--red); }

.stars { display: inline-flex; gap: 1px; }
.star { width: 18px; height: 18px; fill: var(--white); stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.star.is-on { fill: var(--yellow); }

/* ---------- Price ---------- */

.section--price {
	background:
		radial-gradient(circle at 14px 14px, rgba(142,134,214,.22) 2.5px, transparent 3px) 0 0 / 28px 28px,
		var(--lav-pale);
	border-block: var(--line);
}
.tickets { display: grid; gap: 24px; max-width: 880px; margin-inline: auto; }
@media (min-width: 700px) { .tickets { grid-template-columns: 1fr 1fr; gap: 32px; } }

.ticket {
	--c: var(--pink);
	position: relative; padding: 28px 28px 24px;
	background: var(--white); border: var(--line); border-radius: var(--r);
	box-shadow: var(--pop); text-align: center;
	/* チケットの切り欠き */
	-webkit-mask: radial-gradient(circle 16px at 0 62%, transparent 15px, #000 16px) left / 51% 100% no-repeat,
	              radial-gradient(circle 16px at 100% 62%, transparent 15px, #000 16px) right / 51% 100% no-repeat;
	mask: radial-gradient(circle 16px at 0 62%, transparent 15px, #000 16px) left / 51% 100% no-repeat,
	      radial-gradient(circle 16px at 100% 62%, transparent 15px, #000 16px) right / 51% 100% no-repeat;
	box-shadow: none;
}
.ticket--sky { --c: var(--sky); }
.ticket--yellow { --c: var(--yellow); }

.tickets--3 { max-width: 1040px; }
@media (min-width: 700px) { .tickets--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.tickets--3 .ticket { padding-inline: 20px; }
.tickets--3 .ticket__who { font-family: var(--font-en); font-size: 1.3rem; }
.tickets--3 .ticket__who small { font-family: var(--font); font-size: .7em; margin-left: .1em; }
.tickets--3 .ticket__price { font-size: clamp(2.4rem, 4.6vw, 3rem); }
@media (max-width: 699px) {
	.tickets--3 { gap: 14px; }
	.tickets--3 .ticket {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		padding: 22px 28px 16px;
	}
	.tickets--3 .ticket__who { margin-top: 0; }
	.tickets--3 .ticket__time { display: none; }
	.tickets--3 .ticket__price { font-size: 2.3rem; }
}
.timetable dt { white-space: nowrap; }
.timetable__row { flex-wrap: wrap; }
.timetable dd { margin-left: auto; }

.addon {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 32px;
	max-width: 1040px; margin: 28px auto 0; padding: 18px 24px;
	border: var(--line); border-radius: var(--r); background: var(--yellow-pale);
	text-align: center;
}
.addon__price { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: center; gap: 4px 12px; font-weight: 700; }
.addon__price strong { font-family: var(--font-en); font-size: 2rem; line-height: 1.1; }
.addon__price .yen { font-size: .6em; }
.addon__max { font-weight: 700; }
.addon__max strong { padding: 0 8px; border-radius: 6px; background: var(--white); border: 2px solid var(--ink); font-weight: 900; }
.ticket::before {
	content: ""; position: absolute; inset: 0 0 auto; height: 12px; background: var(--c); border-bottom: 2px solid var(--ink);
}
.ticket__who {
	display: inline-block; margin-top: 6px; padding: 2px 18px; border-radius: 999px;
	background: var(--c); border: 2px solid var(--ink); font-weight: 900; font-size: 1.05rem;
}
.ticket__time { margin-top: 10px; font-weight: 700; color: var(--ink-soft); }
.ticket__price { font-family: var(--font-en); font-weight: 700; font-size: clamp(2.6rem, 9vw, 3.4rem); line-height: 1.1; }
.ticket__price .yen { font-size: .5em; margin-right: .1em; }
.ticket__note { margin-top: 8px; font-size: .88rem; color: var(--ink-soft); }
.ticket__slots {
	margin-top: 22px; padding-top: 18px; border-top: 2px dashed var(--ink);
	display: grid; gap: 6px; text-align: left;
}
.ticket__slots div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ticket__slots dt { font-weight: 700; font-size: .9rem; padding: 0 10px; border-radius: 6px; background: var(--c); }
.ticket__slots dd { font-family: var(--font-en); font-weight: 600; font-size: 1.2rem; }

.timetable {
	display: grid; gap: 12px; max-width: 880px; margin: 32px auto 0;
}
@media (min-width: 700px) { .timetable { grid-template-columns: 1fr 1fr; gap: 32px; } }
.timetable__row {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 14px 22px; border: var(--line); border-radius: 16px; background: var(--white);
}
.timetable dt { font-weight: 700; line-height: 1.4; }
.timetable dt small { display: block; font-size: .75rem; color: var(--ink-soft); }
.timetable dd { font-family: var(--font-en); font-weight: 600; font-size: 1.25rem; text-align: right; }
.timetable dd strong { font-family: var(--font); font-size: .8em; }

/* ---------- Attention / CTA ---------- */

.section--attention { padding-block: 72px; }
.attention {
	display: grid; gap: 28px; align-items: center;
	padding: 32px 24px; border: var(--line); border-radius: var(--r);
	background: var(--white); box-shadow: var(--pop);
}
@media (min-width: 860px) {
	.attention { grid-template-columns: 1.4fr 1fr; padding: 44px 52px; gap: 48px; }
}
.attention__title { font-size: 1.6rem; font-weight: 900; margin: 4px 0 14px; }
.attention__list { display: grid; gap: 10px; }
.attention__list li { position: relative; padding-left: 1.6em; line-height: 1.7; }
.attention__list li::before {
	content: "!"; position: absolute; left: 0; top: .25em;
	width: 1.2em; height: 1.2em; border-radius: 50%;
	background: var(--pink); border: 2px solid var(--ink);
	display: grid; place-items: center; font-size: .8em; font-weight: 900; line-height: 1;
}
.attention__cta {
	display: grid; gap: 18px; justify-items: center; text-align: center;
	padding: 24px; border-radius: 18px; background: var(--sky-pale); border: 2px dashed var(--ink);
}
.attention__open { display: grid; line-height: 1.3; font-weight: 700; }
.attention__open strong { font-size: 1.35rem; font-weight: 900; }
.attention__open em { font-style: normal; font-family: var(--font-en); font-size: 2.3em; color: var(--lav); margin: 0 .05em; }
.attention__cta .btn { width: 100%; }

/* ---------- Flow ---------- */

.section--flow { background: var(--white); border-block: var(--line); }
.flow { display: grid; gap: 22px; max-width: 860px; margin-inline: auto; position: relative; }
.flow::before {
	content: ""; position: absolute; left: 31px; top: 30px; bottom: 30px;
	border-left: 4px dotted var(--lav);
}
.flow__step { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 18px; align-items: start; }
.flow__num {
	position: relative; z-index: 1;
	display: grid; place-items: center; width: 66px; height: 66px;
	border: var(--line); border-radius: 50%;
	font-family: var(--font-en); font-weight: 700; font-size: 1.8rem;
	background: var(--pink);
}
.flow__step:nth-child(2) .flow__num { background: var(--yellow); }
.flow__step:nth-child(3) .flow__num { background: var(--mint); }
.flow__step:nth-child(4) .flow__num { background: var(--sky); }
.flow__step:nth-child(5) .flow__num { background: var(--lav); color: var(--white); }
.flow__body {
	padding: 18px 22px; border: var(--line); border-radius: var(--r); background: var(--cream);
}
.flow__title { font-size: 1.2rem; font-weight: 900; line-height: 1.5; margin-bottom: 4px; }
.flow__notes { margin-top: 10px; display: grid; gap: 6px; }
.flow__notes li {
	position: relative; padding-left: 1.2em; font-size: .9rem; line-height: 1.7; color: var(--ink-soft);
}
.flow__notes li::before { content: "※"; position: absolute; left: 0; }
.flow__step:last-child .flow__body { background: var(--lav-pale); }

/* ---------- Checklist ---------- */

.checklist { display: grid; gap: 24px; max-width: 980px; margin-inline: auto; }
@media (min-width: 820px) { .checklist { grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: start; } }
.checklist__group {
	padding: 26px 22px; border: var(--line); border-radius: var(--r); background: var(--white);
}
.checklist__group--must { background: var(--mint-pale); box-shadow: var(--pop); }
.checklist__title { font-size: 1.2rem; font-weight: 900; margin-bottom: 14px; }
.checklist ul { display: grid; gap: 10px; }

.check {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 16px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white);
	cursor: pointer; transition: background-color .2s;
}
.check:hover { background: var(--cream); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box {
	flex: none; width: 28px; height: 28px; border: var(--line); border-radius: 8px; background: var(--white);
	position: relative; transition: background-color .2s;
}
.check__box::after {
	content: ""; position: absolute; left: 7px; top: 1px; width: 8px; height: 15px;
	border: solid var(--ink); border-width: 0 4px 4px 0;
	transform: rotate(45deg) scale(0); transition: transform .3s var(--ease-bounce);
}
.check input:checked + .check__box { background: var(--yellow); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--lav); outline-offset: 2px; }
.check__text { font-weight: 700; line-height: 1.5; }
.check__text small { display: block; font-size: .8rem; font-weight: 700; color: var(--red); }
.check input:checked ~ .check__text { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-soft); }

.checklist__progress { margin-top: 16px; font-weight: 700; text-align: right; }
.checklist__progress [data-count] { font-family: var(--font-en); font-size: 1.6rem; }
.checklist.is-complete .checklist__progress { color: var(--ink); }
.checklist.is-complete .checklist__progress::before { content: "じゅんびOK！ "; color: var(--red); }
.checklist__reset {
	margin-top: 16px; background: none; border: none; padding: 4px 0;
	font-size: .85rem; font-weight: 700; text-decoration: underline; color: var(--ink-soft);
}

/* ---------- Other lessons ---------- */

.others { display: grid; gap: 28px; max-width: 980px; margin-inline: auto; }
@media (min-width: 760px) { .others { grid-template-columns: 1fr 1fr; gap: 36px; } }
.other {
	display: grid; gap: 4px; padding: 16px 16px 24px;
	border: var(--line); border-radius: var(--r); background: var(--white);
	text-decoration: none; transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.other:hover { transform: translateY(-6px) rotate(.6deg); box-shadow: var(--pop); }
.other__photo {
	display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 14px;
	border: var(--line); border-radius: 999px 999px 16px 16px;
}
.other__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.other:hover .other__photo img { transform: scale(1.06); }
.other__kicker { font-family: var(--font-en); font-weight: 600; letter-spacing: .15em; font-size: .85rem; color: var(--lav-text); padding-inline: 8px; }
.other__title { font-size: 1.35rem; font-weight: 900; padding-inline: 8px; line-height: 1.4; }
.other__meta { font-size: .9rem; color: var(--ink-soft); padding-inline: 8px; }
.other__more {
	justify-self: start; margin: 10px 8px 0; padding: 4px 16px; border-radius: 999px;
	background: var(--yellow); border: 2px solid var(--ink); font-weight: 900; font-size: .9rem;
}
.other--board .other__more { background: var(--sky); }

/* ---------- Closure ---------- */

.section--closure { padding-top: 0; }
.closure {
	padding: 28px 24px; border: 3px dashed var(--ink); border-radius: var(--r); background: var(--white);
}
@media (min-width: 700px) { .closure { padding: 36px 44px; } }
.closure__title { font-size: 1.3rem; font-weight: 900; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.closure__badge { padding: 0 12px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: .8rem; }
.closure__steps { display: grid; gap: 10px; margin-top: 16px; }
.closure__steps li { padding: 12px 16px; border-radius: 14px; background: var(--cream); line-height: 1.7; font-size: .95rem; }
.closure__steps strong { color: var(--lav-deep); font-weight: 900; }

/* ---------- Page hero (sub pages) ---------- */

.page-hero {
	position: relative; overflow: hidden; padding: 40px 0 110px;
	background:
		radial-gradient(circle at 18px 18px, rgba(255,255,255,.9) 3px, transparent 3.5px) 0 0 / 36px 36px,
		var(--mint-pale);
}
.page-hero__inner {
	position: relative; z-index: 2;
	display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center;
	width: min(1120px, 100% - 32px); margin-inline: auto;
}
@media (min-width: 900px) { .page-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; } .page-hero { padding: 56px 0 130px; } }
.breadcrumb { font-size: .85rem; margin-bottom: 18px; color: var(--ink-soft); }
.breadcrumb a { font-weight: 700; color: var(--ink); }
.breadcrumb span { margin: 0 .4em; }
.page-hero__kicker { font-family: var(--font-en); font-weight: 600; letter-spacing: .2em; color: var(--lav-text); }
.page-hero__title { font-size: clamp(2rem, 6.4vw, 3.4rem); font-weight: 900; line-height: 1.3; animation: rise .8s var(--ease-bounce) both; }
.page-hero__age { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 1.25rem; font-weight: 900; }
.page-hero__age span { font-size: .75rem; padding: 2px 10px; border-radius: 999px; background: var(--pink); border: 2px solid var(--ink); }
.page-hero__agenote { margin-top: 6px; font-size: .9rem; color: var(--ink-soft); }
.page-hero__photo {
	border: var(--line); box-shadow: 8px 8px 0 var(--ink);
	border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 1;
	max-width: 500px; width: 100%; margin-inline: auto;
	animation: pop-in .9s var(--ease-bounce) .15s both;
}
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.recommend { display: grid; gap: 14px; }
.recommend li {
	position: relative; padding: 16px 20px 16px 64px;
	border: var(--line); border-radius: 18px; background: var(--white);
	font-weight: 700; font-size: 1.08rem;
}
.recommend li::before {
	content: ""; position: absolute; left: 18px; top: 50%; width: 30px; height: 30px; transform: translateY(-50%);
	background: var(--yellow); border: 2px solid var(--ink);
	clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ---------- Footer ---------- */

.site-footer { position: relative; margin-top: 40px; background: var(--lav-deep); color: var(--white); overflow: hidden; }
.wave--footer { position: absolute; top: -55px; height: 56px; }
.site-footer { overflow: visible; }
.site-footer__inner {
	display: grid; gap: 32px; padding: 56px 0 32px;
	width: min(1120px, 100% - 32px); margin-inline: auto;
}
@media (min-width: 860px) { .site-footer__inner { grid-template-columns: 1fr 1.2fr 1fr; gap: 48px; } }
.site-footer__brand img {
	width: 160px; background: var(--white); border-radius: 18px; padding: 8px 12px; border: var(--line);
}
.site-footer__brand p { margin-top: 14px; font-size: .9rem; line-height: 1.7; }
.site-footer__label { font-weight: 900; }
.site-footer__tel {
	display: inline-block; margin: 4px 0 6px; font-family: var(--font-en); font-weight: 700;
	font-size: 2rem; text-decoration: none; letter-spacing: .04em;
}
.site-footer__contact p { font-size: .9rem; line-height: 1.7; }
.site-footer__nav ul { display: grid; gap: 8px; }
.site-footer__nav a { font-weight: 700; text-decoration: none; }
.site-footer__nav a:hover { text-decoration: underline; }
.site-footer__copy {
	text-align: center; padding: 18px 0 24px; font-family: var(--font-en); font-size: .85rem;
	border-top: 2px solid rgba(255,255,255,.35); width: min(1120px, 100% - 32px); margin-inline: auto;
}
.site-footer__okojo { position: absolute; right: 4%; top: -96px; width: 52px; z-index: 1; animation: peek 6s ease-in-out infinite; transform-origin: bottom center; }
@keyframes peek { 0%, 70%, 100% { transform: translateY(18px); } 80%, 92% { transform: translateY(0) rotate(-4deg); } }

/* ---------- SP bar & to-top ---------- */

.sp-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 76px; }
	.sp-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		display: grid; grid-template-columns: 1fr 2fr; gap: 10px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--cream); border-top: var(--line);
		transform: translateY(110%); transition: transform .35s var(--ease-bounce);
	}
	.sp-bar.is-show { transform: none; }
	.sp-bar a {
		display: grid; place-items: center; min-height: 50px; border: var(--line); border-radius: 999px;
		font-weight: 900; text-decoration: none;
	}
	.sp-bar__tel { background: var(--white); }
	.sp-bar__reserve { background: var(--yellow); }
}

.to-top {
	position: fixed; right: 16px; bottom: 20px; z-index: 80;
	display: grid; place-items: center; width: 52px; height: 52px;
	border: var(--line); border-radius: 50%; background: var(--white); box-shadow: var(--pop-sm);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .2s, transform .3s var(--ease-bounce), visibility .2s;
}
.to-top svg { width: 24px; fill: var(--ink); }
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) { .to-top { bottom: 92px; width: 46px; height: 46px; } }

/* ---------- Generic entry ---------- */

.entry { padding-block: 40px; }
.entry__content { margin-top: 24px; }
.entry__content p { margin-bottom: 1em; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .6s, transform .7s var(--ease-bounce); }
.js .reveal.is-in { opacity: 1; transform: none; }

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