/* TEAM Sugi Recommended — site styles */

:root {
	--ink: #142a3e;
	--ink-2: #33475b;
	--muted: #5a6876;
	--paper: #f6f3ec;
	--paper-2: #efeadf;
	--surface: #ffffff;
	--line: #ddd6c8;
	--line-2: #e9e4d9;
	--teal: #0a6b68;
	--teal-soft: #e3f1ef;
	--indigo: #2f4b86;
	--indigo-soft: #e6ebf6;
	--gold: #f0b23c;
	--focus: #d9480f;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(20, 42, 62, .06), 0 6px 20px rgba(20, 42, 62, .06);
	--font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "BIZ UDPGothic", "Yu Gothic UI", Meiryo, system-ui, sans-serif;
	--wrap: 1160px;
	--gutter: 20px;
	--header-h: 64px;
}

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

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
	margin: 0;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.85;
	letter-spacing: .02em;
	overflow-wrap: anywhere;
	line-break: strict;
}
@media (min-width: 768px) {
	body { font-size: 1.0625rem; }
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--teal); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3, h4 {
	word-break: auto-phrase;
	line-height: 1.4;
	letter-spacing: .03em;
	font-feature-settings: "palt";
	margin: 0;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

.screen-reader-text {
	position: absolute !important;
	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: 12px; top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
	font-weight: 700;
}
.skip-link:focus { top: 12px; }

.site-main:focus { outline: none; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.wrap--narrow { max-width: 820px; }

@media (max-width: 480px) {
	:root { --gutter: 16px; }
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 48px;
	padding: .7em 1.4em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.4;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { flex: none; width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: #075653; }
.btn--ghost { background: var(--surface); color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal-soft); }
.btn--accent { background: var(--gold); color: var(--ink); }
.btn--accent:hover { background: #f5c464; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn--small { min-height: 40px; padding: .45em 1.1em; font-size: .9375rem; }
.btn--large { min-height: 54px; padding: .8em 1.7em; }
.btn--block { display: flex; width: 100%; }

.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; }
.text-link .icon { width: 1.1em; height: 1.1em; }

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line-2);
	backdrop-filter: saturate(1.2) blur(6px);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: var(--header-h);
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	min-width: 0;
}
.brand__mark { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand__name { font-weight: 800; font-size: 1.0625rem; letter-spacing: .04em; font-feature-settings: "palt"; }
.brand__sub { font-size: .75rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .06em; }
.brand__name { word-break: auto-phrase; }
@media (max-width: 600px) {
	.brand__mark { width: 34px; height: 34px; border-radius: 9px; }
	.brand__name { font-size: .9375rem; line-height: 1.35; }
	.brand__sub { display: none; }
}
@media (max-width: 420px) {
	.nav-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
	.nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.brand__name { font-size: .875rem; letter-spacing: .02em; }
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font: inherit;
	font-size: .875rem;
	font-weight: 700;
	cursor: pointer;
}
.nav-toggle .icon { width: 20px; height: 20px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; }
.site-nav__list a {
	display: block;
	padding: 8px 10px;
	border-radius: var(--radius-sm);
	color: var(--ink);
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
}
.site-nav__list a:hover { background: var(--paper); color: var(--teal); }

@media (max-width: 1023px) {
	.js .nav-toggle { display: inline-flex; flex: none; }
	.js .site-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		padding: 12px var(--gutter) 20px;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 12px 24px rgba(20, 42, 62, .1);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	.js .site-nav.is-open { display: flex; }
	.site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav__list a { padding: 12px 8px; border-bottom: 1px solid var(--line-2); border-radius: 0; font-size: 1rem; }
	.site-nav__cta { min-height: 48px; }
	/* Without JS the menu stays visible as a wrapped row. */
	html:not(.js) .site-header__inner { flex-wrap: wrap; padding-bottom: 8px; }
	html:not(.js) .site-nav { flex-wrap: wrap; flex-direction: row; }
	html:not(.js) .site-nav__list { flex-direction: row; flex-wrap: wrap; }
	html:not(.js) .site-nav__list a { border-bottom: 0; padding: 6px 8px; }
}

/* Common section */
.section { padding: 72px 0; }
.section--tight { padding: 40px 0; }
.section--paper { background: var(--paper); }
@media (max-width: 767px) {
	.section { padding: 52px 0; }
}
.section-head { max-width: 760px; margin-bottom: 36px; }
.eyebrow {
	margin: 0 0 .6em;
	color: var(--teal);
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .12em;
}
.eyebrow--light { color: var(--gold); }
.section-title { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); font-weight: 800; }
.section-title--small { font-size: 1.25rem; margin-bottom: .8em; }
.section-lead { margin-top: 1em; color: var(--ink-2); }

/* Hero */
.hero {
	position: relative;
	padding: 64px 0 72px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0) 70%, var(--surface) 100%),
		repeating-linear-gradient(90deg, transparent 0 79px, rgba(20, 42, 62, .045) 79px 80px),
		var(--paper);
	overflow: hidden;
}
.hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
}
.hero__title {
	font-size: clamp(2rem, 1.1rem + 3.6vw, 3.25rem);
	font-weight: 800;
	line-height: 1.32;
	letter-spacing: .04em;
}
.hero__lead { margin-top: 1.4em; max-width: 36em; font-size: 1.0625rem; color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.index-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 24px 24px 20px;
}
.index-card__title {
	margin: 0 0 12px;
	font-size: .8125rem;
	font-weight: 800;
	letter-spacing: .12em;
	color: var(--muted);
}
.index-card__group + .index-card__group { margin-top: 16px; }
.index-card__kind {
	display: inline-block;
	margin: 0 0 4px;
	font-size: .8125rem;
	font-weight: 800;
}
.index-card__group--cc .index-card__kind { color: var(--teal); }
.index-card__group--univ .index-card__kind { color: var(--indigo); }
.index-card ul { list-style: none; }
.index-card li a {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 12px;
	padding: 10px 4px;
	border-bottom: 1px dashed var(--line);
	color: var(--ink);
	text-decoration: none;
}
.index-card li:last-child a { border-bottom: 0; }
.index-card li a:hover .index-card__name { color: var(--teal); text-decoration: underline; }
.index-card__name { font-weight: 700; }
.index-card__place { font-size: .8125rem; color: var(--muted); }
.index-card__note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: .8125rem; color: var(--muted); line-height: 1.7; }

@media (max-width: 899px) {
	.hero { padding: 40px 0 52px; }
	.hero__inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
	.hero__actions .btn { width: 100%; }
}

/* Perspectives */
.perspectives {
	list-style: none;
	counter-reset: persp;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
.perspective {
	counter-increment: persp;
	position: relative;
	padding: 24px 20px 22px;
	background: var(--surface);
	border-radius: var(--radius);
	border: 1px solid var(--line-2);
}
.perspective::before {
	content: counter(persp, decimal-leading-zero);
	display: block;
	margin-bottom: 10px;
	color: var(--teal);
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.perspective__title { font-size: 1.125rem; font-weight: 800; margin-bottom: .5em; }
.perspective p { font-size: .9375rem; color: var(--ink-2); line-height: 1.8; }
@media (max-width: 1023px) {
	.perspectives { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
	.perspectives { grid-template-columns: 1fr; gap: 12px; }
	.perspective { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px 16px; }
	.perspective::before { grid-row: span 2; margin: 2px 0 0; font-size: 1.25rem; }
}

.routes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-top: 40px;
}
.route {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 26px 24px;
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	border: 2px solid transparent;
	transition: border-color .15s, transform .15s;
}
.route:hover { transform: translateY(-2px); }
.route--cc { background: var(--teal-soft); }
.route--cc:hover { border-color: var(--teal); }
.route--univ { background: var(--indigo-soft); }
.route--univ:hover { border-color: var(--indigo); }
.route__kind { font-size: .8125rem; font-weight: 800; letter-spacing: .08em; }
.route--cc .route__kind, .route--cc .route__more { color: var(--teal); }
.route--univ .route__kind, .route--univ .route__more { color: var(--indigo); }
.route__title { font-size: 1.375rem; font-weight: 800; }
.route__text { color: var(--ink-2); font-size: .9375rem; line-height: 1.8; }
.route__more { display: inline-flex; align-items: center; gap: .35em; margin-top: 6px; font-weight: 800; }
.route__more .icon { width: 1.1em; height: 1.1em; }
@media (max-width: 720px) {
	.routes { grid-template-columns: 1fr; }
}

/* School cards */
.section--univ { background: linear-gradient(180deg, var(--surface), #f7f8fc); }
.section--univ .eyebrow { color: var(--indigo); }
.school-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	align-items: stretch;
}
@media (max-width: 1023px) {
	.school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
	.school-grid { grid-template-columns: 1fr; }
}
.school-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px 24px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 6px solid var(--teal);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.school-card--univ { border-top-color: var(--indigo); }
.school-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 10px;
	font-size: .8125rem;
}
.kind-badge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 800;
	line-height: 1.7;
	white-space: nowrap;
}
.kind-badge--cc { background: var(--teal-soft); color: var(--teal); }
.kind-badge--univ { background: var(--indigo-soft); color: var(--indigo); }
.school-card__place { display: inline-flex; align-items: center; gap: 3px; color: var(--muted); }
.school-card__place .icon { width: 16px; height: 16px; }
.school-card__name { font-size: 1.375rem; font-weight: 800; }
.school-card__name a { color: var(--ink); text-decoration: none; }
.school-card__name a:hover { color: var(--teal); text-decoration: underline; }
.school-card__en { margin: 2px 0 0; color: var(--muted); font-size: .875rem; letter-spacing: .01em; }
.school-card__headline { font-weight: 700; line-height: 1.75; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.tag-list li {
	padding: 3px 10px;
	border: 1px solid var(--line);
	border-radius: 6px;
	background: var(--paper);
	font-size: .8125rem;
	line-height: 1.6;
	color: var(--ink-2);
}
.school-card__block { padding-top: 14px; border-top: 1px solid var(--line-2); }
.school-card__label { margin-bottom: 8px; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; color: var(--muted); }
.reason-list { list-style: none; display: grid; gap: 8px; }
.reason-list li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: .9375rem; line-height: 1.7; font-weight: 600; }
.reason-list .icon { width: 20px; height: 20px; margin-top: 3px; color: var(--teal); }
.school-card--univ .reason-list .icon { color: var(--indigo); }
.fit-list { list-style: none; display: grid; gap: 4px; }
.fit-list li { position: relative; padding-left: 1.1em; font-size: .9375rem; line-height: 1.7; color: var(--ink-2); }
.fit-list li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.school-card__actions { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 6px; }
.school-card__actions .btn { width: 100%; }
.school-card--univ .btn--primary { background: var(--indigo); }
.school-card--univ .btn--primary:hover { background: #233b6d; }
.school-card--univ .btn--ghost { color: var(--indigo); border-color: var(--indigo); }
.school-card--univ .btn--ghost:hover { background: var(--indigo-soft); }

/* Compare */
.compare + .compare { margin-top: 32px; }
.compare__scroll {
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	-webkit-overflow-scrolling: touch;
}
.compare__table {
	width: 100%;
	min-width: 680px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: .9375rem;
	line-height: 1.65;
}
.compare__table caption {
	padding: 16px 20px 12px;
	text-align: left;
	font-weight: 800;
	font-size: 1.0625rem;
}
.compare__table--cc caption { color: var(--teal); }
.compare__table--univ caption { color: var(--indigo); }
.compare__table th, .compare__table td {
	padding: 12px 14px;
	border-top: 1px solid var(--line-2);
	vertical-align: top;
	text-align: left;
}
.compare__table thead th {
	background: var(--paper);
	font-size: 1rem;
	white-space: nowrap;
}
.compare__table thead th a { color: var(--ink); }
.compare__corner { background: var(--paper); }
.compare__table tbody th {
	width: 8.5em;
	color: var(--muted);
	font-size: .8125rem;
	font-weight: 800;
	white-space: nowrap;
}
.compare__table td + td, .compare__table th + td, .compare__table th + th, .compare__table td + th { border-left: 1px solid var(--line-2); }
.compare__table tbody th, .compare__corner {
	position: sticky;
	left: 0;
	z-index: 1;
	background: var(--surface);
	box-shadow: 1px 0 0 var(--line-2);
}
.compare__corner { background: var(--paper); }
.compare__links td { display: table-cell; }
.compare__links a { display: inline-block; margin: 0 12px 4px 0; font-weight: 700; font-size: .875rem; }
.compare__hint { margin-top: 12px; font-size: .8125rem; color: var(--muted); }
@media (min-width: 900px) {
	.compare__hint { display: none; }
}
@media (max-width: 560px) {
	.compare__table { min-width: 620px; font-size: .875rem; }
	.compare__table tbody th { width: 5.6em; white-space: normal; word-break: keep-all; font-size: .75rem; }
	.compare__table th, .compare__table td { padding: 10px; }
}

/* Comfortable tap targets for list links */
.index-card li a { min-height: 44px; }
.compare__links a { padding: 8px 0; }
.sources li a { padding: 6px 0; }
.others + p a, .text-link { min-height: 44px; }
.side-links__official { min-height: 44px; }
@media (max-width: 760px) {
	.site-footer__list a { padding: 10px 0; }
}

/* Other schools TEAM Sugi introduces */
.more__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	gap: 28px 48px;
	align-items: start;
}
.more__text p:not(.eyebrow) { color: var(--ink-2); }
.more__text .section-title { margin-bottom: .8em; }
.more__lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.more-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px;
	border: 1px solid var(--line);
	border-top: 5px solid var(--teal);
	border-radius: var(--radius);
	background: var(--surface);
}
.more-card--univ { border-top-color: var(--indigo); }
.more-card__kind { margin: 0; font-weight: 800; font-size: .9375rem; }
.more-card__count { margin: 0; color: var(--muted); font-size: .875rem; }
.more-card__num { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1; margin-right: 2px; font-variant-numeric: tabular-nums; }
.more-card--univ .btn--ghost, .more-card--univ .more-card__sub { color: var(--indigo); border-color: var(--indigo); }
.more-card--univ .btn--ghost:hover { background: var(--indigo-soft); }
.more-card__sub { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; font-weight: 700; }
.more__cta {
	grid-column: 1 / -1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	padding: 22px 24px;
	border-radius: var(--radius);
	background: var(--teal-soft);
}
.more__cta-text { margin: 0; font-weight: 700; }
@media (max-width: 900px) {
	.more__inner { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.more__lists { grid-template-columns: 1fr; }
	.more__cta .btn { width: 100%; }
}
.others__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }

/* Consult */
.consult {
	background: var(--ink);
	color: #fff;
	padding: 64px 0;
	background-image: radial-gradient(circle at 85% 20%, rgba(10, 107, 104, .45), transparent 45%);
}
.consult__inner {
	width: 100%;
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	gap: 40px;
	align-items: center;
}
.consult__title { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2rem); font-weight: 800; margin-bottom: .7em; }
.consult__text p:not(.eyebrow) { color: rgba(255, 255, 255, .88); }
.consult__actions { display: flex; flex-direction: column; gap: 12px; }
.consult__actions .btn { width: 100%; }
.consult__hours { margin: 4px 0 0; font-size: .875rem; color: rgba(255, 255, 255, .8); text-align: center; }
.consult__more { margin: 0; text-align: center; font-size: .875rem; }
.consult__more a { color: #fff; }
@media (max-width: 860px) {
	.consult { padding: 52px 0; }
	.consult__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* About */
.section--about { padding: 56px 0 64px; }
.section--about p { color: var(--ink-2); font-size: .9375rem; }
.about__date { margin-top: 1em; font-size: .875rem; color: var(--muted) !important; }

/* School page */
.school-hero { padding: 28px 0 44px; background: var(--paper); border-bottom: 1px solid var(--line-2); }
.school-hero--univ { background: #f2f4fa; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; font-size: .8125rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb li + li::before { content: "/"; margin: 0 6px 0 2px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.school-hero__grid { display: grid; gap: 32px; }
.school-hero__grid.has-image { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.school-hero__title { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; }
.school-hero__en { margin: 4px 0 0; color: var(--muted); }
.school-hero__headline { margin: 18px 0 18px; max-width: 40em; font-size: 1.125rem; font-weight: 700; line-height: 1.75; }
.school-hero__figure { margin: 0; }
.school-hero__figure img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 10; object-fit: cover; }
.school-hero__figure figcaption { margin-top: 6px; font-size: .75rem; color: var(--muted); }
@media (max-width: 860px) {
	.school-hero__grid.has-image { grid-template-columns: 1fr; }
}

.school__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 48px;
	padding-top: 48px;
	padding-bottom: 64px;
	align-items: start;
}
@media (max-width: 960px) {
	.school__body { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; padding-bottom: 52px; }
}
.school-section + .school-section { margin-top: 48px; }
.school-section__title {
	position: relative;
	margin-bottom: 20px;
	padding-left: 16px;
	font-size: 1.375rem;
	font-weight: 800;
}
.school-section__title::before {
	content: "";
	position: absolute;
	left: 0; top: .25em; bottom: .25em;
	width: 5px;
	border-radius: 3px;
	background: var(--teal);
}
.is-kind-univ .school-section__title::before { background: var(--indigo); }
.school-section__note { margin-top: 14px; font-size: .9375rem; color: var(--muted); }

.reasons { list-style: none; counter-reset: reason; display: grid; gap: 16px; }
.reason {
	counter-increment: reason;
	position: relative;
	padding: 22px 22px 22px 70px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.reason::before {
	content: counter(reason);
	position: absolute;
	left: 20px; top: 20px;
	display: grid;
	place-items: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--teal);
	color: #fff;
	font-weight: 800;
	font-size: 1rem;
	line-height: 1;
}
.is-kind-univ .reason::before { background: var(--indigo); }
.reason__title { font-size: 1.125rem; font-weight: 800; margin-bottom: .45em; }
.reason p { color: var(--ink-2); }
@media (max-width: 480px) {
	.reason { padding: 18px 16px 18px 58px; }
	.reason::before { left: 14px; top: 17px; width: 30px; height: 30px; font-size: .9375rem; }
}

.fit-panel, .check-panel { list-style: none; display: grid; gap: 10px; }
.fit-panel li, .check-panel li {
	display: grid;
	grid-template-columns: 24px 1fr;
	gap: 12px;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	line-height: 1.75;
}
.fit-panel li { background: var(--teal-soft); }
.is-kind-univ .fit-panel li { background: var(--indigo-soft); }
.check-panel li { background: #fff7e6; border: 1px solid #f3dfb2; }
.fit-panel .icon, .check-panel .icon { width: 22px; height: 22px; margin-top: 2px; }
.fit-panel .icon { color: var(--teal); }
.is-kind-univ .fit-panel .icon { color: var(--indigo); }
.check-panel .icon { color: #9a6200; }

.cost-list { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cost-list__row { display: grid; grid-template-columns: 12em minmax(0, 1fr); border-top: 1px solid var(--line-2); }
.cost-list__row:first-child { border-top: 0; background: var(--paper); }
.cost-list__row:first-child dd { font-weight: 800; font-size: 1.0625rem; }
.cost-list dt { padding: 12px 16px; font-size: .8125rem; font-weight: 800; color: var(--muted); background: var(--paper); }
.cost-list dd { margin: 0; padding: 12px 16px; line-height: 1.75; }
@media (max-width: 560px) {
	.cost-list__row { grid-template-columns: 1fr; }
	.cost-list dt { padding-bottom: 2px; }
	.cost-list dd { padding-top: 4px; }
}

.school__side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
@media (max-width: 960px) {
	.school__side { position: static; }
}
.facts { padding: 20px 20px 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.facts__title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; }
.facts dl { margin: 0; }
.facts__row { padding: 10px 0; border-top: 1px solid var(--line-2); }
.facts dt { font-size: .75rem; font-weight: 800; color: var(--muted); letter-spacing: .06em; }
.facts dd { margin: 2px 0 0; font-size: .9375rem; line-height: 1.65; }
.side-links { display: grid; gap: 10px; }
.side-links__official { display: inline-flex; align-items: center; justify-content: center; gap: .3em; padding: 6px; font-size: .875rem; }
.side-links__official .icon, .sources .icon { width: 1em; height: 1em; }
.is-kind-univ .side-links .btn--primary { background: var(--indigo); }
.is-kind-univ .side-links .btn--ghost { color: var(--indigo); border-color: var(--indigo); }

.school__foot { padding-top: 48px; padding-bottom: 64px; display: grid; gap: 48px; }
.sources { padding: 22px; border-radius: var(--radius); background: var(--paper); font-size: .875rem; color: var(--ink-2); }
.sources__title { font-size: 1rem; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.sources ul { list-style: none; display: grid; gap: 6px; margin-top: 10px; }
.sources a { display: inline-flex; align-items: center; gap: .3em; overflow-wrap: anywhere; }
.others__title { font-size: 1.25rem; font-weight: 800; margin-bottom: 16px; }
.others__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-bottom: 16px; }
.others__list a {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 10px;
	align-items: center;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink);
	text-decoration: none;
	background: var(--surface);
}
.others__list a:hover { border-color: var(--teal); }
.others__name { font-weight: 800; }
.others__place { grid-column: 2; font-size: .8125rem; color: var(--muted); }

/* Generic entries (fallback templates and the home page free area) */
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 1.5rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry + .entry { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line-2); }

/* Footer */
.site-footer { background: #0e1f2f; color: rgba(255, 255, 255, .85); padding: 44px 0 32px; font-size: .875rem; }
.site-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; }
.site-footer__name { font-weight: 800; color: #fff; margin-bottom: .3em; }
.site-footer__note { color: rgba(255, 255, 255, .7); }
.site-footer__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; max-width: 520px; justify-content: flex-end; }
.site-footer a { color: #fff; }
.site-footer__copy { grid-column: 1 / -1; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); font-size: .75rem; }
@media (max-width: 760px) {
	.site-footer__inner { grid-template-columns: 1fr; }
	.site-footer__list { justify-content: flex-start; }
	.site-footer__list a { display: inline-block; padding: 6px 0; }
}

/* School photos */
.school-card.has-photo { padding-top: 0; overflow: hidden; }
.school-card__photo {
	margin: 0 -24px 4px;
	aspect-ratio: 16 / 10;
	background: var(--paper-2);
	overflow: hidden;
}
.school-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.school-card.has-photo { border-top-width: 6px; }
.school-hero__figure img { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
@media (max-width: 860px) {
	.school-hero__grid.has-image .school-hero__figure { order: -1; }
	.school-hero__figure img { aspect-ratio: 16 / 10; }
}

/* Consultation page and form */
.consult-page__head { padding: 28px 0 32px; background: var(--paper); border-bottom: 1px solid var(--line-2); }
.consult-page__head .section-title { margin-bottom: 16px; }
.consult-page__intro { color: var(--ink-2); }
.consult-page__body { padding-top: 40px; padding-bottom: 72px; display: grid; gap: 40px; }
.consult-page__alt { padding: 22px; border-radius: var(--radius); background: var(--paper); }
.consult-page__alt h2 { font-size: 1.0625rem; margin-bottom: 8px; }
.consult-form { display: grid; gap: 24px; }
.field { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.field > label, .field > legend { font-weight: 800; font-size: .9375rem; padding: 0; }
.req, .opt { display: inline-block; margin-left: 6px; padding: 0 8px; border-radius: 4px; font-size: .6875rem; font-weight: 800; line-height: 1.8; vertical-align: 2px; }
.req { background: #b4232c; color: #fff; }
.opt { background: var(--paper-2); color: var(--muted); }
.consult-form input[type="text"], .consult-form input[type="email"], .consult-form input[type="tel"], .consult-form select, .consult-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid #b9b2a3;
	border-radius: var(--radius-sm);
	background: #fff;
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	line-height: 1.6;
}
.consult-form textarea { min-height: 0; resize: vertical; }
.consult-form [aria-invalid="true"], .consult-form fieldset[aria-invalid="true"] .choices { border-color: #b4232c; box-shadow: 0 0 0 1px #b4232c; }
.choices { display: grid; gap: 8px; }
.choices--inline { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.choices--schools { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.choice {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr);
	align-items: center;
	gap: 2px 10px;
	min-height: 48px;
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: #fff;
	font-weight: 500;
	cursor: pointer;
}
.choice:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.choice input { width: 20px; height: 20px; margin: 0; accent-color: var(--teal); flex: none; }
.choice__sub { grid-column: 2; font-size: .75rem; color: var(--muted); line-height: 1.4; }
.field--agree .choice { display: flex; flex-wrap: wrap; gap: 4px 10px; border: 0; padding: 0; min-height: 44px; background: none; }
.field__error { margin: 0; color: #b4232c; font-size: .875rem; font-weight: 700; }
.form-errors { padding: 16px 20px; border: 2px solid #b4232c; border-radius: var(--radius-sm); background: #fdf1f1; }
.form-errors ul { margin-top: 6px; padding-left: 1.2em; }
.form-errors a { color: #b4232c; }
.consult-form__submit { margin: 8px 0 0; }
.consult-form__submit .btn { width: 100%; max-width: 420px; }
.consult-form__note { font-size: .8125rem; color: var(--muted); }
.form-done { padding: 28px 24px; border: 2px solid var(--teal); border-radius: var(--radius); background: var(--teal-soft); }
.form-done h2 { font-size: 1.375rem; margin-bottom: 12px; }
.form-done:focus { outline: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media print {
	.site-header, .consult, .site-footer, .hero__actions, .school-card__actions, .side-links { display: none !important; }
	.compare__table { min-width: 0; }
}
