@charset "UTF-8";

:root {
	--color-blue: #2477d4;
	--color-blue-deep: #174f91;
	--color-blue-dark: #123b66;
	--color-blue-soft: #eaf5ff;
	--color-mint: #58c7a4;
	--color-mint-soft: #e8f8f2;
	--color-yellow: #ffd85a;
	--color-yellow-soft: #fff7d8;
	--color-coral: #ff765f;
	--color-coral-dark: #dc5846;
	--color-coral-soft: #fff0ec;
	--color-cream: #fff9ec;
	--color-ink: #263640;
	--color-muted: #61737e;
	--color-line: #dce9ef;
	--color-white: #fff;
	--shadow-sm: 0 8px 24px rgba(28, 70, 96, 0.08);
	--shadow-md: 0 18px 48px rgba(28, 70, 96, 0.12);
	--shadow-blue: 0 16px 34px rgba(36, 119, 212, 0.22);
	--radius-sm: 12px;
	--radius-md: 20px;
	--radius-lg: 30px;
	--radius-xl: 44px;
	--shell: 1180px;
	--font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--color-white);
	color: var(--color-ink);
	font-family: var(--font-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

a {
	color: inherit;
	text-decoration: none;
}

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

img {
	height: auto;
}

p,
h1,
h2,
h3,
h4,
ul,
ol,
figure {
	margin-top: 0;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--color-yellow);
	outline-offset: 4px;
}

.site {
	min-height: 100vh;
	overflow: clip;
}

.shell {
	width: min(calc(100% - 48px), var(--shell));
	margin-inline: auto;
}

.site-main {
	min-height: 60vh;
}

.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;
}

.screen-reader-text:focus {
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--color-white);
	border-radius: 8px;
	box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.94);
	border-bottom: 1px solid rgba(220, 233, 239, 0.88);
	backdrop-filter: blur(14px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 84px;
	gap: 28px;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 11px;
	line-height: 1;
}

.site-brand__mark,
.site-brand__mark-image {
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
}

.site-brand__mark {
	display: grid;
	place-items: center;
	background: var(--color-blue);
	color: var(--color-white);
	border-radius: 15px;
	font-size: 14px;
	font-weight: 900;
}

.site-brand__image {
	width: auto;
	max-width: 260px;
	max-height: 58px;
}

.site-brand__image--theme {
	width: 210px;
	max-width: none;
	max-height: none;
}

.site-brand__text {
	display: grid;
	gap: 3px;
}

.site-brand__prefix {
	color: var(--color-muted);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.site-brand__name {
	color: var(--color-blue-dark);
	font-size: 21px;
	font-weight: 900;
	letter-spacing: 0.02em;
}

.primary-nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.primary-menu,
.footer-menu {
	display: flex;
	align-items: center;
	gap: 25px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu a {
	position: relative;
	display: block;
	padding: 12px 0;
	color: var(--color-blue-dark);
	font-size: 14px;
	font-weight: 800;
}

.primary-menu a::after {
	position: absolute;
	right: 0;
	bottom: 7px;
	left: 0;
	height: 3px;
	content: "";
	background: var(--color-yellow);
	border-radius: 999px;
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 180ms ease;
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item > a::after,
.primary-menu .current_page_item > a::after {
	transform: scaleX(1);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	padding: 0;
	color: var(--color-blue-dark);
	background: var(--color-blue-soft);
	border: 0;
	border-radius: 17px;
	cursor: pointer;
}

.menu-toggle__lines {
	display: grid;
	width: 22px;
	gap: 5px;
}

.menu-toggle__lines span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Shared headings and controls */
.section {
	padding: 104px 0;
}

.section--soft {
	background: var(--color-blue-soft);
}

.section-heading {
	max-width: 760px;
	margin-bottom: 44px;
}

.section-heading--split {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	max-width: none;
	gap: 44px;
}

.section-heading--split > p {
	max-width: 430px;
	margin-bottom: 5px;
	color: var(--color-muted);
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading h2,
.classroom-intro h2,
.home-cta h2,
.media-promise h2 {
	margin-bottom: 0;
	color: var(--color-blue-dark);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1.35;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 13px;
	color: var(--color-blue);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 24px;
	height: 4px;
	content: "";
	background: var(--color-yellow);
	border-radius: 999px;
}

.eyebrow span {
	display: inline-flex;
	padding: 6px 10px;
	color: var(--color-blue-dark);
	background: var(--color-yellow);
	border-radius: 8px;
	letter-spacing: 0.04em;
}

.eyebrow span + span,
.eyebrow span ~ * {
	margin-left: 0;
}

.eyebrow:has(> span)::before {
	display: none;
}

.eyebrow--light {
	color: var(--color-white);
}

.button-row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}

.button-row--center {
	justify-content: center;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 13px 23px;
	gap: 13px;
	color: var(--color-white);
	background: var(--color-blue);
	border: 2px solid var(--color-blue);
	border-radius: 15px;
	box-shadow: var(--shadow-blue);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.4;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.button:hover {
	background: var(--color-blue-deep);
	border-color: var(--color-blue-deep);
	box-shadow: 0 18px 36px rgba(23, 79, 145, 0.26);
	transform: translateY(-2px);
}

.button--outline {
	color: var(--color-blue-deep);
	background: var(--color-white);
	border-color: var(--color-line);
	box-shadow: var(--shadow-sm);
}

.button--outline:hover {
	color: var(--color-blue-deep);
	background: var(--color-yellow-soft);
	border-color: var(--color-yellow);
}

.button--coral {
	color: var(--color-blue-dark);
	background: var(--color-coral);
	border-color: var(--color-coral);
	box-shadow: 0 16px 34px rgba(255, 118, 95, 0.24);
}

.button--coral:hover {
	color: var(--color-blue-dark);
	background: var(--color-coral-dark);
	border-color: var(--color-coral-dark);
}

.button--small {
	min-height: 46px;
	padding: 10px 18px;
	border-radius: 13px;
	font-size: 13px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--color-blue-deep);
	font-weight: 900;
	text-decoration: underline;
	text-decoration-color: var(--color-yellow);
	text-decoration-thickness: 4px;
	text-underline-offset: 6px;
}

.text-link:hover {
	color: var(--color-blue);
}

/* Home hero */
.media-hero,
.hero-slider {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(circle at 7% 18%, rgba(255, 216, 90, 0.55) 0 5px, transparent 6px),
		radial-gradient(circle at 94% 82%, rgba(88, 199, 164, 0.36) 0 6px, transparent 7px),
		linear-gradient(135deg, var(--color-cream) 0%, #f5fbff 68%, #eef9f5 100%);
}

.media-hero::after,
.hero-slider::after {
	position: absolute;
	right: -80px;
	bottom: -130px;
	z-index: -1;
	width: 360px;
	height: 260px;
	content: "";
	background: rgba(36, 119, 212, 0.08);
	border-radius: 48% 52% 62% 38%;
	transform: rotate(-8deg);
}

.media-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
	grid-template-areas:
		"intro visual"
		"actions visual";
	grid-template-rows: auto auto;
	align-content: center;
	align-items: start;
	min-height: 650px;
	padding-block: 68px;
	column-gap: 36px;
	row-gap: 0;
}

.media-hero__content {
	position: relative;
	z-index: 2;
	grid-area: intro;
	align-self: end;
}

.media-hero__actions {
	position: relative;
	z-index: 2;
	grid-area: actions;
	align-self: start;
}

.media-hero h1,
.hero-slide h1,
.hero-slide h2 {
	margin-bottom: 26px;
	color: var(--color-blue-dark);
	font-size: clamp(46px, 5.4vw, 76px);
	font-weight: 900;
	letter-spacing: -0.065em;
	line-height: 1.22;
}

.media-hero h1 > span {
	position: relative;
	z-index: 0;
	color: var(--color-blue);
	white-space: nowrap;
}

.media-hero h1 > span::after {
	position: absolute;
	right: -4px;
	bottom: 4px;
	left: -4px;
	z-index: -1;
	height: 14px;
	content: "";
	background: var(--color-yellow);
	border-radius: 999px;
	opacity: 0.85;
}

.media-hero__lead {
	max-width: 600px;
	margin-bottom: 29px;
	color: #465d69;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.95;
}

.media-hero__assurances {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 27px 0 0;
	gap: 10px 18px;
	list-style: none;
}

.media-hero__assurances li {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--color-blue-dark);
	font-size: 13px;
	font-weight: 800;
}

.media-hero__assurances li span {
	display: grid;
	place-items: center;
	width: 23px;
	height: 23px;
	color: var(--color-white);
	background: var(--color-mint);
	border-radius: 50%;
	font-size: 12px;
}

.media-hero__visual {
	position: relative;
	grid-area: visual;
	align-self: center;
}

.media-hero__visual::before,
.media-hero__visual::after {
	position: absolute;
	z-index: 2;
	content: "";
	border-radius: 50%;
}

.media-hero__visual::before {
	top: -15px;
	right: 30px;
	width: 34px;
	height: 34px;
	background: var(--color-coral);
	box-shadow: 43px 15px 0 -12px var(--color-yellow);
}

.media-hero__visual::after {
	bottom: 25px;
	left: -18px;
	width: 45px;
	height: 45px;
	background: var(--color-mint);
	box-shadow: -20px -32px 0 -14px var(--color-blue);
}

.media-hero__image-frame {
	position: relative;
	overflow: hidden;
	background: var(--color-white);
	border: 9px solid var(--color-white);
	border-radius: var(--radius-xl) var(--radius-xl) 90px var(--radius-xl);
	box-shadow: var(--shadow-md);
	transform: rotate(1.2deg);
}

.media-hero__image-frame img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 68% center;
}

.media-hero__image-label {
	position: absolute;
	right: 20px;
	bottom: 20px;
	padding: 11px 16px;
	color: var(--color-blue-dark);
	background: var(--color-yellow);
	border-radius: 13px;
	box-shadow: var(--shadow-sm);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.04em;
}

/* Featured article slider */
.hero-swiper {
	position: relative;
}

.hero-slide__link {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1.08fr);
	align-items: center;
	min-height: 650px;
	padding-block: 72px 92px;
	gap: 46px;
}

.hero-slide__content > p:not(.eyebrow) {
	max-width: 580px;
	margin-bottom: 28px;
	color: var(--color-muted);
	font-size: 17px;
}

.hero-slide__terms,
.post-card__terms {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 14px;
	gap: 8px;
}

.hero-slide__visual {
	overflow: hidden;
	background: var(--color-white);
	border: 9px solid var(--color-white);
	border-radius: var(--radius-xl) var(--radius-xl) 90px var(--radius-xl);
	box-shadow: var(--shadow-md);
}

.hero-slide__visual img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
}

.hero-swiper__controls {
	position: absolute;
	right: 0;
	bottom: 25px;
	left: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	pointer-events: none;
}

.hero-swiper__prev,
.hero-swiper__next {
	display: grid;
	place-items: center;
	width: 45px;
	height: 45px;
	padding: 0;
	color: var(--color-blue-dark);
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: 50%;
	box-shadow: var(--shadow-sm);
	font-weight: 900;
	cursor: pointer;
	pointer-events: auto;
}

.hero-swiper__pagination {
	width: auto !important;
	pointer-events: auto;
}

.hero-swiper__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: var(--color-blue-deep);
	opacity: 0.26;
}

.hero-swiper__pagination .swiper-pagination-bullet-active {
	width: 25px;
	background: var(--color-blue);
	border-radius: 999px;
	opacity: 1;
}

/* Theme cards */
.theme-section {
	position: relative;
	background: var(--color-white);
}

.theme-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 17px;
}

.theme-card {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	min-height: 132px;
	padding: 25px 27px;
	gap: 18px;
	overflow: hidden;
	background: var(--color-blue-soft);
	border: 1px solid rgba(36, 119, 212, 0.08);
	border-radius: var(--radius-md);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.theme-card::after {
	position: absolute;
	right: -23px;
	bottom: -36px;
	width: 95px;
	height: 95px;
	content: "";
	background: rgba(255, 255, 255, 0.52);
	border-radius: 50%;
}

.theme-card:hover {
	box-shadow: var(--shadow-sm);
	transform: translateY(-4px);
}

.theme-card__number {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	color: var(--color-white);
	background: var(--color-blue);
	border-radius: 15px;
	font-size: 12px;
	font-weight: 900;
}

.theme-card strong {
	color: var(--color-blue-dark);
	font-size: 18px;
	font-weight: 900;
	line-height: 1.5;
}

.theme-card > span:last-child {
	position: relative;
	z-index: 2;
	font-size: 21px;
	font-weight: 900;
}

.theme-card--2,
.theme-card--5 {
	background: var(--color-yellow-soft);
}

.theme-card--2 .theme-card__number,
.theme-card--5 .theme-card__number {
	color: var(--color-blue-dark);
	background: var(--color-yellow);
}

.theme-card--3,
.theme-card--6 {
	background: var(--color-mint-soft);
}

.theme-card--3 .theme-card__number,
.theme-card--6 .theme-card__number {
	color: var(--color-blue-dark);
	background: var(--color-mint);
}

.theme-card--4 {
	background: var(--color-coral-soft);
}

.theme-card--4 .theme-card__number {
	background: var(--color-coral);
}

/* Article cards */
.pickup-section {
	padding-top: 24px;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 22px;
}

.post-card {
	min-width: 0;
	overflow: hidden;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.post-card:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-5px);
}

.post-card__media {
	display: block;
	overflow: hidden;
	background: var(--color-blue-soft);
}

.post-card__image,
.post-card__media > img {
	width: 100%;
	aspect-ratio: 5 / 3;
	object-fit: cover;
	transition: transform 350ms ease;
}

.post-card:hover .post-card__image,
.post-card:hover .post-card__media > img {
	transform: scale(1.035);
}

.post-card__placeholder {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	aspect-ratio: 5 / 3;
	overflow: hidden;
	color: var(--color-blue-deep);
	background:
		radial-gradient(circle at 80% 28%, var(--color-yellow) 0 22px, transparent 23px),
		radial-gradient(circle at 18% 78%, rgba(88, 199, 164, 0.72) 0 34px, transparent 35px),
		linear-gradient(145deg, #f8fcff, var(--color-blue-soft));
}

.post-card__placeholder::before {
	width: 98px;
	height: 74px;
	content: "";
	background: var(--color-white);
	border: 5px solid var(--color-blue);
	border-radius: 20px 20px 28px 20px;
	box-shadow: 19px 20px 0 -2px var(--color-coral-soft);
	transform: rotate(-5deg);
}

.post-card__placeholder span {
	position: absolute;
	right: 16px;
	bottom: 13px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.16em;
}

.post-card__body {
	padding: 22px 22px 20px;
}

.post-card__category,
.post-card__theme,
.article-header__category {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 9px;
	color: var(--color-blue-deep);
	background: var(--color-blue-soft);
	border-radius: 7px;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.4;
}

.post-card__theme {
	color: #286d59;
	background: var(--color-mint-soft);
}

.post-card__title {
	margin-bottom: 11px;
	color: var(--color-blue-dark);
	font-size: 19px;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.58;
}

.post-card__title a:hover {
	color: var(--color-blue);
}

.post-card__excerpt {
	display: -webkit-box;
	margin-bottom: 18px;
	overflow: hidden;
	color: var(--color-muted);
	font-size: 13px;
	line-height: 1.75;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.post-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	gap: 12px;
	color: #7d8d96;
	border-top: 1px solid var(--color-line);
	font-size: 11px;
	font-weight: 700;
}

/* Learning flow */
.learning-flow {
	background:
		radial-gradient(circle at 10% 20%, rgba(255, 216, 90, 0.4) 0 5px, transparent 6px),
		var(--color-cream);
}

.learning-flow__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding: 0;
	margin: 0;
	gap: 24px;
	list-style: none;
}

.learning-flow__grid li {
	position: relative;
	min-height: 286px;
	padding: 35px 31px;
	overflow: hidden;
	background: var(--color-white);
	border: 1px solid rgba(36, 119, 212, 0.1);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.learning-flow__grid li::after {
	position: absolute;
	right: -28px;
	bottom: -42px;
	width: 140px;
	height: 140px;
	content: "";
	background: var(--color-blue-soft);
	border-radius: 47% 53% 63% 37%;
	transform: rotate(-16deg);
}

.learning-flow__grid li:nth-child(2)::after {
	background: var(--color-yellow-soft);
}

.learning-flow__grid li:nth-child(3)::after {
	background: var(--color-mint-soft);
}

.learning-flow__grid li > span {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	margin-bottom: 42px;
	color: var(--color-white);
	background: var(--color-blue);
	border-radius: 16px;
	font-size: 12px;
	font-weight: 900;
}

.learning-flow__grid li:nth-child(2) > span {
	color: var(--color-blue-dark);
	background: var(--color-yellow);
}

.learning-flow__grid li:nth-child(3) > span {
	color: var(--color-blue-dark);
	background: var(--color-mint);
}

.learning-flow__grid strong {
	display: block;
	margin-bottom: 10px;
	color: var(--color-blue-dark);
	font-size: 28px;
	font-weight: 900;
}

.learning-flow__grid p {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	color: var(--color-muted);
	font-size: 14px;
}

/* Classroom and CTA */
.classroom-intro {
	background: var(--color-white);
}

.classroom-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(500px, 1.12fr);
	align-items: center;
	gap: 64px;
}

.classroom-intro__card {
	padding-block: 38px;
	border-radius: var(--radius-xl);
	transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.classroom-intro__card:hover {
	background: linear-gradient(135deg, rgba(255, 249, 236, 0.85), rgba(234, 245, 255, 0.75));
	box-shadow: var(--shadow-sm);
	transform: translateY(-3px);
}

.classroom-intro__card:focus-visible {
	outline-offset: 6px;
}

.classroom-intro__content > p:not(.eyebrow) {
	margin: 25px 0 24px;
	color: var(--color-muted);
}

.classroom-intro__content ul {
	display: grid;
	padding: 0;
	margin: 0 0 28px;
	gap: 10px;
	list-style: none;
}

.classroom-intro__button {
	pointer-events: auto;
}

.classroom-intro__actions {
	align-items: stretch;
}

.classroom-intro__actions .button {
	min-height: 54px;
	padding-inline: 18px;
	font-size: 13px;
}

.classroom-intro__content li {
	position: relative;
	padding-left: 31px;
	color: var(--color-blue-dark);
	font-size: 14px;
	font-weight: 800;
}

.classroom-intro__content li::before {
	position: absolute;
	top: 4px;
	left: 0;
	display: grid;
	place-items: center;
	width: 20px;
	height: 20px;
	content: "✓";
	color: var(--color-white);
	background: var(--color-mint);
	border-radius: 50%;
	font-size: 10px;
}

.classroom-intro__visual {
	position: relative;
	overflow: hidden;
	background: var(--color-blue-soft);
	border: 8px solid var(--color-white);
	border-radius: 80px var(--radius-xl) var(--radius-xl) var(--radius-xl);
	box-shadow: var(--shadow-md);
}

.classroom-intro__visual:focus-visible {
	outline: 3px solid rgba(36, 119, 212, 0.36);
	outline-offset: 6px;
}

.classroom-intro__visual::after {
	position: absolute;
	top: 18px;
	left: 20px;
	padding: 9px 13px;
	content: "OSAKI SCHOOL";
	color: var(--color-blue-dark);
	background: var(--color-yellow);
	border-radius: 10px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.15em;
}

.classroom-intro__visual img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 68% center;
	transition: transform 240ms ease;
}

.classroom-intro__card:hover .classroom-intro__visual img {
	transform: scale(1.025);
}

.news-section {
	padding-top: 48px;
}

.news-list {
	padding: 0;
	margin: 0;
	border-top: 1px solid var(--color-line);
	list-style: none;
}

.news-list li {
	border-bottom: 1px solid var(--color-line);
}

.news-list a {
	display: grid;
	grid-template-columns: 120px 1fr auto;
	align-items: center;
	min-height: 76px;
	padding: 16px 8px;
	gap: 22px;
	transition: color 180ms ease, padding 180ms ease;
}

.news-list a:hover {
	padding-right: 0;
	padding-left: 16px;
	color: var(--color-blue);
}

.news-list time {
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 800;
}

.news-list a > span:nth-child(2) {
	font-weight: 800;
}

.news-section__empty {
	padding: 25px 28px;
	margin-bottom: 0;
	color: var(--color-muted);
	background: var(--color-blue-soft);
	border-radius: var(--radius-sm);
}

.home-cta {
	padding-top: 50px;
}

.home-cta__inner {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	padding: 52px 58px;
	gap: 42px;
	overflow: hidden;
	color: var(--color-white);
	background: var(--color-blue-dark);
	border-radius: var(--radius-lg);
}

.home-cta__inner::after {
	position: absolute;
	right: 22%;
	bottom: -100px;
	width: 230px;
	height: 230px;
	content: "";
	background: rgba(88, 199, 164, 0.2);
	border-radius: 46% 54% 63% 37%;
}

.home-cta .eyebrow,
.home-cta h2 {
	color: var(--color-white);
}

.home-cta h2 {
	font-size: clamp(28px, 3.4vw, 44px);
}

.home-cta p:not(.eyebrow) {
	margin: 15px 0 0;
	color: #d9e8f4;
}

.home-cta .button-row {
	position: relative;
	z-index: 1;
}

.home-cta .button--outline {
	color: var(--color-white);
	background: transparent;
	border-color: rgba(255, 255, 255, 0.45);
	box-shadow: none;
}

/* Archive, media page, search */
.archive-hero,
.media-index__hero,
.taxonomy-theme__hero,
.page-header {
	background:
		radial-gradient(circle at 83% 20%, rgba(255, 216, 90, 0.5) 0 6px, transparent 7px),
		linear-gradient(135deg, var(--color-cream), var(--color-blue-soft));
}

.archive-hero__inner,
.media-index__hero .shell,
.taxonomy-theme__hero .shell,
.page-header .article-shell {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	min-height: 310px;
	padding-block: 76px 62px;
	gap: 45px;
}

.archive-hero h1,
.media-index__hero h1,
.taxonomy-theme__hero h1,
.page-header h1 {
	max-width: 800px;
	margin-bottom: 0;
	color: var(--color-blue-dark);
	font-size: clamp(38px, 5vw, 62px);
	font-weight: 900;
	letter-spacing: -0.05em;
	line-height: 1.3;
}

.archive-description {
	max-width: 720px;
	margin-top: 16px;
	color: var(--color-muted);
}

.archive-description p {
	margin-bottom: 0;
}

.archive-hero__search,
.sidebar-panel--search {
	min-width: 300px;
}

.search-form {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.search-field {
	width: 100%;
	min-height: 52px;
	padding: 11px 15px;
	color: var(--color-ink);
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: 13px 0 0 13px;
}

.search-submit {
	padding: 11px 17px;
	color: var(--color-white);
	background: var(--color-blue);
	border: 0;
	border-radius: 0 13px 13px 0;
	font-size: 13px;
	font-weight: 900;
	cursor: pointer;
}

.content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	gap: 48px;
}

.content-with-sidebar__main {
	min-width: 0;
}

.media-index__pickup {
	padding-bottom: 20px;
}

.media-index__pickup .post-grid--pickup {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.media-index__articles {
	padding-top: 70px;
}

.editorial-sidebar {
	display: grid;
	position: sticky;
	top: 112px;
	gap: 18px;
}

.admin-bar .editorial-sidebar {
	top: 144px;
}

.sidebar-panel {
	padding: 23px;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.sidebar-panel h2 {
	margin-bottom: 17px;
	color: var(--color-blue-dark);
	font-size: 16px;
	font-weight: 900;
}

.sidebar-theme-list,
.sidebar-post-list {
	display: grid;
	padding: 0;
	margin: 0;
	gap: 0;
	list-style: none;
}

.sidebar-theme-list a,
.sidebar-post-list a {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 12px 0;
	gap: 10px;
	border-bottom: 1px solid var(--color-line);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.55;
}

.sidebar-post-list a {
	justify-content: flex-start;
}

.sidebar-post-list img {
	width: 60px;
	height: 48px;
	flex: 0 0 60px;
	object-fit: cover;
	border-radius: 9px;
}

.sidebar-post-list time,
.sidebar-post-list strong {
	display: block;
}

.sidebar-post-list time {
	margin-bottom: 3px;
	color: var(--color-muted);
	font-size: 10px;
}

.sidebar-theme-list li:last-child a,
.sidebar-post-list li:last-child a {
	border-bottom: 0;
}

.sidebar-theme-list a:hover,
.sidebar-post-list a:hover {
	color: var(--color-blue);
}

.sidebar-panel--classroom {
	color: var(--color-white);
	background: var(--color-blue-dark);
	border-color: var(--color-blue-dark);
}

.sidebar-panel--classroom h2,
.sidebar-panel--classroom .eyebrow {
	color: var(--color-white);
}

.sidebar-panel--classroom p {
	color: #d8e9f5;
	font-size: 13px;
}

.sidebar-panel--classroom .button {
	width: 100%;
}

.sidebar-panel__actions {
	display: grid;
	gap: 13px;
}

.sidebar-panel__entry-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 3px 2px;
	color: var(--color-yellow);
	font-size: 12px;
	font-weight: 900;
}

.sidebar-panel__entry-link:hover,
.sidebar-panel__entry-link:focus-visible {
	color: #fff;
}

.pagination {
	margin-top: 52px;
}

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 43px;
	height: 43px;
	padding: 0 12px;
	color: var(--color-blue-dark);
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: 11px;
	font-size: 13px;
	font-weight: 900;
}

.page-numbers.current,
.page-numbers:hover {
	color: var(--color-white);
	background: var(--color-blue);
	border-color: var(--color-blue);
}

.empty-state,
.not-found-panel {
	display: flex;
	align-items: center;
	padding: 35px;
	gap: 22px;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.not-found-panel {
	display: block;
}

.not-found-panel .search-form {
	max-width: 520px;
	margin-top: 24px;
}

.empty-state__mark {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	flex: 0 0 68px;
	color: var(--color-white);
	background: var(--color-blue);
	border-radius: 21px;
	font-size: 18px;
	font-weight: 900;
}

.empty-state h2,
.empty-state h3,
.not-found-panel h2 {
	margin-bottom: 5px;
	color: var(--color-blue-dark);
	font-size: 21px;
	font-weight: 900;
}

.empty-state p,
.not-found-panel p {
	margin-bottom: 0;
	color: var(--color-muted);
}

/* Single article and standard pages */
.article-header {
	padding: 66px 0 50px;
	background: linear-gradient(180deg, var(--color-cream), var(--color-white));
}

.article-shell {
	width: min(calc(100% - 48px), 920px);
	margin-inline: auto;
}

.article-shell--wide {
	width: min(calc(100% - 48px), 1080px);
	margin-inline: auto;
}

.breadcrumbs {
	margin-bottom: 30px;
	color: var(--color-muted);
	font-size: 11px;
	font-weight: 700;
}

.breadcrumbs ol {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	gap: 6px;
	list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
	margin-left: 6px;
	content: "/";
	color: #a9bac3;
}

.breadcrumbs a:hover {
	color: var(--color-blue);
}

.article-header h1 {
	margin: 17px 0 22px;
	color: var(--color-blue-dark);
	font-size: clamp(35px, 5vw, 60px);
	font-weight: 900;
	letter-spacing: -0.045em;
	line-height: 1.4;
}

.article-header__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 18px;
	color: var(--color-muted);
	font-size: 12px;
	font-weight: 700;
}

.article-header__terms {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.article-hero-image {
	margin-top: 0;
	margin-bottom: 0;
	overflow: hidden;
	background: var(--color-blue-soft);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
}

.article-hero-image img {
	width: 100%;
	aspect-ratio: 5 / 3;
	object-fit: cover;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) 280px;
	align-items: start;
	justify-content: center;
	padding-block: 70px 105px;
	gap: 50px;
}

.article-main {
	min-width: 0;
}

.article-aside {
	position: sticky;
	top: 112px;
}

.admin-bar .article-aside {
	top: 144px;
}

.article-aside__card {
	padding: 28px;
	overflow: hidden;
	background: var(--color-yellow-soft);
	border: 1px solid rgba(255, 216, 90, 0.5);
	border-radius: var(--radius-md);
}

.article-aside__mark {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	margin-bottom: 22px;
	color: var(--color-white);
	background: var(--color-blue);
	border-radius: 18px;
	font-size: 15px;
	font-weight: 900;
}

.article-aside h2 {
	margin-bottom: 12px;
	color: var(--color-blue-dark);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.55;
}

.article-aside p {
	color: var(--color-muted);
	font-size: 13px;
}

.entry-content {
	color: #344a55;
	font-size: 16px;
	line-height: 2;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2 {
	position: relative;
	padding: 19px 22px 19px 30px;
	margin: 64px 0 25px;
	color: var(--color-blue-dark);
	background: var(--color-blue-soft);
	border-radius: 0 15px 15px 0;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.55;
}

.entry-content h2::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 7px;
	content: "";
	background: var(--color-blue);
	border-radius: 7px;
}

.entry-content h3 {
	padding-bottom: 12px;
	margin: 46px 0 20px;
	color: var(--color-blue-dark);
	border-bottom: 4px solid var(--color-yellow);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.55;
}

.entry-content h4 {
	margin: 35px 0 15px;
	color: var(--color-blue-dark);
	font-size: 18px;
	font-weight: 900;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 25px;
}

.entry-content li + li {
	margin-top: 8px;
}

.entry-content a {
	color: var(--color-blue-deep);
	font-weight: 800;
	text-decoration: underline;
	text-decoration-color: rgba(36, 119, 212, 0.35);
	text-underline-offset: 4px;
}

.entry-content blockquote {
	padding: 25px 27px;
	margin: 35px 0;
	color: var(--color-blue-dark);
	background: var(--color-cream);
	border-left: 6px solid var(--color-yellow);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.entry-content blockquote > *:last-child {
	margin-bottom: 0;
}

.entry-content img {
	border-radius: var(--radius-md);
}

.entry-content table {
	width: 100%;
	margin: 32px 0;
	overflow: hidden;
	border-collapse: collapse;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
}

.entry-content th,
.entry-content td {
	padding: 13px 15px;
	border: 1px solid var(--color-line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	color: var(--color-blue-dark);
	background: var(--color-blue-soft);
	font-weight: 900;
}

.article-school-entry-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	padding: 30px;
	margin-top: 52px;
	gap: 28px;
	background: linear-gradient(135deg, var(--color-yellow-soft), #fff 48%, var(--color-blue-soft));
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.article-school-entry-cta .eyebrow {
	margin-bottom: 8px;
}

.article-school-entry-cta h2 {
	margin-bottom: 8px;
	color: var(--color-blue-dark);
	font-size: 22px;
	font-weight: 900;
	line-height: 1.55;
}

.article-school-entry-cta p:not(.eyebrow) {
	margin-bottom: 0;
	color: var(--color-muted);
	font-size: 13px;
}

.article-school-entry-cta .button {
	white-space: nowrap;
}

.article-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	padding-top: 25px;
	margin-top: 55px;
	gap: 8px;
	border-top: 1px solid var(--color-line);
}

.article-tags > span,
.article-tags a {
	padding: 6px 10px;
	color: var(--color-muted);
	background: #f5f8fa;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 800;
}

.article-tags > span {
	color: var(--color-blue);
	background: transparent;
}

.article-credits {
	display: grid;
	padding-top: 32px;
	margin-top: 34px;
	gap: 13px;
	border-top: 1px solid var(--color-line);
}

.article-credit {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	padding: 20px;
	gap: 18px;
	background: #f8fbfd;
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
}

.article-credit__avatar,
.article-credit__icon {
	width: 60px;
	height: 60px;
	flex: 0 0 60px;
}

.article-credit__avatar img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: 18px;
}

.article-credit__icon {
	display: grid;
	place-items: center;
	color: var(--color-white);
	background: var(--color-mint);
	border-radius: 18px;
	font-size: 21px;
	font-weight: 900;
}

.article-credit__label {
	margin-bottom: 3px;
	color: var(--color-blue);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.08em;
}

.article-credit h2 {
	margin-bottom: 4px;
	color: var(--color-blue-dark);
	font-size: 16px;
	font-weight: 900;
}

.article-credit p:last-child {
	margin-bottom: 0;
	color: var(--color-muted);
	font-size: 12px;
}

.article-credit--reviewer {
	background: var(--color-mint-soft);
	border-color: rgba(88, 199, 164, 0.28);
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 45px;
	gap: 13px;
}

.post-navigation a {
	display: block;
	min-height: 100%;
	padding: 17px;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-sm);
}

.post-navigation small {
	display: block;
	margin-bottom: 6px;
	color: var(--color-muted);
	font-size: 10px;
}

.post-navigation span {
	display: block;
	color: var(--color-blue-dark);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.55;
}

.related-posts {
	border-top: 1px solid var(--color-line);
}

.standard-page__content,
.error-page__inner {
	width: min(calc(100% - 48px), 860px);
	padding-block: 76px 110px;
	margin-inline: auto;
}

.error-page {
	display: grid;
	place-items: center;
	min-height: 65vh;
	text-align: center;
}

.error-page__code {
	display: block;
	margin-bottom: 12px;
	color: var(--color-blue);
	font-size: 90px;
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 1;
}

/* Footer */
.site-footer {
	padding-top: 76px;
	color: #dbe9f3;
	background: #102f50;
}

.site-footer__top {
	display: grid;
	grid-template-columns: 1fr auto;
	padding-bottom: 58px;
	gap: 70px;
}

.site-footer .site-brand__prefix,
.site-footer .site-brand__name {
	color: var(--color-white);
}

.site-footer .site-brand {
	padding: 4px 10px;
	background: var(--color-white);
	border-radius: 16px;
}

.site-footer .site-brand__image--theme {
	width: 230px;
}

.site-footer__brand > p {
	max-width: 460px;
	margin: 20px 0 0;
	color: #bfd2e1;
	font-size: 13px;
}

.site-footer__brand .site-footer__company {
	margin-top: 8px;
	color: #8eabc1;
	font-size: 11px;
}

.footer-menu {
	align-items: flex-start;
	flex-direction: column;
	gap: 12px;
}

.footer-menu a {
	font-size: 13px;
	font-weight: 800;
}

.footer-menu a:hover {
	color: var(--color-yellow);
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 76px;
	color: #8eabc1;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 11px;
}

.site-footer__bottom p {
	margin-bottom: 0;
}

.site-footer__bottom a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 800;
}

/* Legacy helper sections retained for editorial continuity */
.media-promise__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 70px;
}

.media-promise__intro > p:not(.eyebrow) {
	color: var(--color-muted);
}

.promise-list {
	display: grid;
	padding: 0;
	margin: 0;
	gap: 12px;
	list-style: none;
}

.promise-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	padding: 23px;
	gap: 18px;
	background: var(--color-white);
	border: 1px solid var(--color-line);
	border-radius: var(--radius-md);
}

.promise-list li > span {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	color: var(--color-white);
	background: var(--color-blue);
	border-radius: 13px;
	font-size: 11px;
	font-weight: 900;
}

.promise-list strong {
	color: var(--color-blue-dark);
	font-size: 17px;
	font-weight: 900;
}

.promise-list p {
	margin: 4px 0 0;
	color: var(--color-muted);
	font-size: 13px;
}

/* Responsive */
@media (max-width: 1080px) {
	.site-header__inner {
		min-height: 76px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.primary-nav {
		position: fixed;
		top: 77px;
		right: 0;
		left: 0;
		display: grid;
		max-height: calc(100vh - 77px);
		padding: 20px 24px 32px;
		overflow: auto;
		gap: 15px;
		background: var(--color-white);
		border-bottom: 1px solid var(--color-line);
		box-shadow: var(--shadow-md);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translateY(-12px);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.admin-bar .primary-nav {
		top: 109px;
	}

	.primary-nav.is-open,
	.menu-toggle[aria-expanded="true"] + .primary-nav {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translateY(0);
	}

	.primary-menu {
		display: grid;
		gap: 0;
	}

	.primary-menu a {
		padding: 15px 4px;
		border-bottom: 1px solid var(--color-line);
		font-size: 15px;
	}

	.primary-menu a::after {
		display: none;
	}

	.primary-nav__cta {
		width: 100%;
	}

	.media-hero__inner,
	.hero-slide__link {
		grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
		min-height: 600px;
		gap: 22px;
	}

	.media-hero h1,
	.hero-slide h1,
	.hero-slide h2 {
		font-size: clamp(42px, 5.8vw, 62px);
	}

	.post-grid,
	.theme-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.classroom-intro__inner {
		grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
		gap: 38px;
	}

	.content-with-sidebar {
		grid-template-columns: 1fr;
	}

	.editorial-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.article-layout {
		grid-template-columns: minmax(0, 760px);
	}

	.article-aside {
		position: static;
	}

	.article-aside__card {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 22px;
	}

	.article-aside__card > *:not(.article-aside__mark) {
		grid-column: 2;
	}
}

@media (max-width: 1080px) and (scripting: none) {
	.menu-toggle {
		display: none;
	}

	.primary-nav {
		position: static;
		display: flex;
		max-height: none;
		padding: 0;
		background: transparent;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: none;
	}

	.primary-menu {
		display: flex;
		flex-wrap: wrap;
	}

	.primary-menu a {
		padding: 10px 0;
		border: 0;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}

	.admin-bar .primary-nav {
		top: 123px;
	}
}

@media (max-width: 767px) {
	body {
		font-size: 15px;
	}

	.shell,
	.article-shell,
	.article-shell--wide,
	.standard-page__content,
	.error-page__inner {
		width: min(calc(100% - 38px), var(--shell));
	}

	.site-header__inner {
		min-height: 70px;
	}

	.site-brand__mark,
	.site-brand__mark-image {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}

	.site-brand__image--theme {
		width: 174px;
	}

	.site-brand__name {
		font-size: 18px;
	}

	.site-brand__prefix {
		font-size: 9px;
	}

	.menu-toggle {
		width: 48px;
		height: 48px;
	}

	.primary-nav {
		top: 71px;
		max-height: calc(100vh - 71px);
	}

	.admin-bar .primary-nav {
		top: 117px;
	}

	.section {
		padding: 76px 0;
	}

	.section-heading {
		margin-bottom: 30px;
	}

	.section-heading--split {
		align-items: flex-start;
		flex-direction: column;
		gap: 14px;
	}

	.section-heading h2,
	.classroom-intro h2,
	.home-cta h2,
	.media-promise h2 {
		font-size: 31px;
	}

	.eyebrow {
		font-size: 10px;
	}

	.media-hero__inner,
	.hero-slide__link {
		grid-template-columns: 1fr;
		min-height: auto;
		padding-block: 58px 74px;
		gap: 38px;
	}

	.media-hero__inner {
		grid-template-areas:
			"intro"
			"visual"
			"actions";
		padding-block: 34px 48px;
		gap: 0;
	}

	.media-hero h1,
	.hero-slide h1,
	.hero-slide h2 {
		margin-bottom: 20px;
		font-size: clamp(39px, 11.5vw, 53px);
		line-height: 1.24;
	}

	.media-hero h1 > span {
		display: block;
		width: max-content;
	}

	.media-hero__lead,
	.hero-slide__content > p:not(.eyebrow) {
		font-size: 15px;
		line-height: 1.85;
	}

	.media-hero__lead {
		margin-bottom: 0;
	}

	.media-hero__visual {
		margin-block: 18px 20px;
	}

	.media-hero__image-frame,
	.hero-slide__visual {
		border-width: 6px;
		border-radius: 28px 28px 58px 28px;
		transform: none;
	}

	.media-hero__image-frame img,
	.hero-slide__visual img {
		aspect-ratio: 1.28 / 1;
	}

	.media-hero--static .media-hero__image-frame img {
		max-height: 210px;
		aspect-ratio: 16 / 9;
		object-position: center;
	}

	.media-hero__actions .button-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.media-hero__actions .button {
		min-height: 50px;
		padding: 10px 8px;
		gap: 7px;
		font-size: 13px;
	}

	.media-hero__image-label {
		right: 12px;
		bottom: 12px;
		padding: 8px 11px;
		font-size: 10px;
	}

	.media-hero__assurances {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		margin-top: 16px;
		gap: 7px;
	}

	.media-hero__assurances li {
		align-items: flex-start;
		font-size: 10px;
		line-height: 1.45;
	}

	.media-hero__assurances li span {
		width: 19px;
		height: 19px;
		flex: 0 0 19px;
	}

	.hero-swiper__controls {
		bottom: 18px;
		justify-content: center;
	}

	.hero-swiper__prev,
	.hero-swiper__next {
		width: 40px;
		height: 40px;
	}

	.theme-grid,
	.post-grid,
	.media-index__pickup .post-grid--pickup,
	.learning-flow__grid,
	.classroom-intro__inner,
	.media-promise__inner,
	.site-footer__top {
		grid-template-columns: 1fr;
	}

	.theme-grid {
		gap: 11px;
	}

	.theme-card {
		min-height: 100px;
		padding: 18px;
		gap: 13px;
	}

	.theme-card__number {
		width: 42px;
		height: 42px;
	}

	.theme-card strong {
		font-size: 16px;
	}

	.post-grid {
		gap: 18px;
	}

	.post-card__body {
		padding: 20px;
	}

	.post-card__title {
		font-size: 18px;
	}

	.learning-flow__grid {
		gap: 14px;
	}

	.learning-flow__grid li {
		min-height: 0;
		padding: 26px;
	}

	.learning-flow__grid li > span {
		margin-bottom: 22px;
	}

	.classroom-intro__inner {
		gap: 36px;
	}

	.classroom-intro__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.classroom-intro__visual {
		border-radius: 48px 25px 25px 25px;
		order: -1;
	}

	.classroom-intro__visual img {
		aspect-ratio: 1.25 / 1;
	}

	.news-section {
		padding-top: 30px;
	}

	.news-list a {
		grid-template-columns: 1fr auto;
		min-height: 86px;
		padding: 14px 2px;
		gap: 4px 15px;
	}

	.news-list time {
		grid-column: 1 / -1;
	}

	.home-cta {
		padding-top: 30px;
	}

	.home-cta__inner {
		grid-template-columns: 1fr;
		padding: 37px 26px;
		gap: 25px;
		border-radius: var(--radius-md);
	}

	.home-cta .button-row,
	.home-cta .button {
		width: 100%;
	}

	.article-school-entry-cta {
		grid-template-columns: 1fr;
		padding: 25px;
		gap: 20px;
	}

	.article-school-entry-cta .button {
		width: 100%;
	}

	.archive-hero__inner,
	.media-index__hero .shell,
	.taxonomy-theme__hero .shell,
	.page-header .article-shell {
		align-items: flex-start;
		flex-direction: column;
		min-height: 250px;
		padding-block: 57px 44px;
		gap: 25px;
	}

	.archive-hero h1,
	.media-index__hero h1,
	.taxonomy-theme__hero h1,
	.page-header h1 {
		font-size: 39px;
	}

	.archive-hero__search,
	.sidebar-panel--search {
		width: 100%;
		min-width: 0;
	}

	.editorial-sidebar {
		grid-template-columns: 1fr;
	}

	.empty-state,
	.not-found-panel {
		align-items: flex-start;
		padding: 24px;
		gap: 15px;
	}

	.empty-state__mark {
		width: 50px;
		height: 50px;
		flex-basis: 50px;
		border-radius: 15px;
		font-size: 13px;
	}

	.article-header {
		padding: 48px 0 35px;
	}

	.breadcrumbs {
		margin-bottom: 22px;
	}

	.article-header h1 {
		font-size: 34px;
		line-height: 1.45;
	}

	.article-hero-image {
		border-radius: var(--radius-md);
	}

	.article-hero-image img {
		aspect-ratio: 1.35 / 1;
	}

	.article-layout {
		padding-block: 48px 78px;
		gap: 42px;
	}

	.entry-content {
		font-size: 15px;
		line-height: 1.95;
	}

	.entry-content h2 {
		padding: 16px 16px 16px 23px;
		margin-top: 48px;
		font-size: 23px;
	}

	.entry-content h3 {
		font-size: 20px;
	}

	.entry-content table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.article-aside__card {
		display: block;
	}

	.article-aside__card > *:not(.article-aside__mark) {
		grid-column: auto;
	}

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

	.site-footer {
		padding-top: 58px;
	}

	.site-footer__top {
		padding-bottom: 42px;
		gap: 35px;
	}

	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		justify-content: center;
		padding-block: 20px;
		gap: 7px;
	}

	.error-page__code {
		font-size: 70px;
	}
}

@media (max-width: 390px) {
	.site-brand__text {
		gap: 2px;
	}

	.site-brand__name {
		font-size: 16px;
	}

	.media-hero h1,
	.hero-slide h1,
	.hero-slide h2 {
		font-size: 38px;
	}

	.button-row:not(.home-cta .button-row) {
		align-items: stretch;
		flex-direction: column;
	}

	.button-row:not(.home-cta .button-row) .button {
		width: 100%;
	}

	.media-hero .media-hero__actions .button-row {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		flex-direction: row;
		gap: 10px;
	}

	.media-hero .media-hero__actions .button-row .button {
		width: 100%;
	}
}

@media (max-width: 340px) {
	.media-hero .media-hero__actions .button-row {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
