/* ============================================================
   MY VOXELS — 教育・コミュニティ（edu/）2026-12-05 TM #2745
   Sits on top of the company stylesheet (style.css): same white ground, thin rules, Murecho, nav, buttons and footer.
   The one thing it adds is a calm green (--edu), used for the small marks, the rules over each table,
   the main button and a light wash behind the first screen. The game studio's vivid colours are not used here.
   ============================================================ */

:root {
    --edu: #2E6B57;
    --edu-deep: #1F4F40;
    --edu-soft: #EEF5F1;
    --edu-line: #C9DDD3;
}

/* ---------- nav: the page name next to the logo ---------- */
.brand__sub { margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--edu); }
@media (max-width: 420px) { .brand__sub { display: none; } }

/* ---------- buttons ---------- */
.btn--edu { background: var(--edu); border-color: var(--edu); color: #fff; }
.btn--edu:hover { background: var(--edu-deep); border-color: var(--edu-deep); }
:focus-visible { outline-color: var(--edu); }

/* small mark before a section's English label (the company page uses the logo yellow; this page uses the green) */
.edu-k { color: var(--ink); }
.edu-k::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--edu); margin-right: 10px; vertical-align: 1px; }

/* ---------- first screen: a light green wash, the headline and facts on the left, the classroom photo on the right ---------- */
.edu-hero { padding-top: calc(var(--nav-h) + clamp(36px, 5vw, 72px)); padding-bottom: clamp(48px, 6vw, 88px); background: linear-gradient(180deg, var(--edu-soft) 0%, var(--edu-soft) 55%, #fff 100%); }
.edu-hero__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 22px; align-items: center; }
@media (min-width: 960px) { .edu-hero__row { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }
.edu-hero__text { min-width: 0; }
.edu-kicker { margin-top: 20px; font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.edu-hero__title { margin-top: 10px; font-size: clamp(28px, 3.7vw, 52px); font-weight: 500; line-height: 1.28; letter-spacing: .01em; }
.edu-hl { background-image: linear-gradient(transparent 64%, rgba(46, 107, 87, .2) 64%, rgba(46, 107, 87, .2) 92%, transparent 92%); }
.edu-hero__lead { margin-top: 22px; max-width: 32em; font-size: clamp(15px, 1.15vw, 16px); line-height: 2; color: var(--ink-2); }
.edu-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.edu-hero__photo { margin: 0; min-width: 0; }
.edu-hero__photo img { width: 100%; height: auto; border-radius: var(--r); box-shadow: 0 18px 40px rgba(31, 79, 64, .14); }
.edu-hero__photo figcaption { margin-top: 10px; font-size: 12.5px; color: var(--mute); }

/* the facts: a ruled list with a green rule on top (who runs it, what we do, for whom, when) */
.edu-facts { margin-top: 26px; max-width: 36em; border-top: 1px solid var(--edu); font-size: 14.5px; line-height: 1.8; }
.edu-facts > div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.edu-facts dt { font-size: 13px; font-weight: 600; color: var(--mute); padding-top: .1em; }
.edu-facts dd { font-weight: 500; }

/* ---------- sections ---------- */
.edu-sec { padding-block: var(--sec); border-top: 1px solid var(--line); }
.edu-sec--alt { background: var(--bg-alt); }
.edu-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 56px; align-items: end; }
@media (min-width: 960px) { .edu-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.edu-title { margin-top: 14px; font-size: clamp(26px, 3.6vw, 46px); font-weight: 500; line-height: 1.32; letter-spacing: .005em; }
.edu-title--sm { font-size: clamp(22px, 2.6vw, 32px); }
.edu-head__intro { max-width: 34em; font-size: 15px; line-height: 2; color: var(--ink-2); }

/* ---------- the five worlds: one ruled row each (pictures on the left, words on the right; one column under 960px) ---------- */
.edu-worlds { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--ink); }
.edu-w { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 48px; padding-block: clamp(28px, 3.6vw, 48px); border-bottom: 1px solid var(--line); }
@media (min-width: 960px) { .edu-w { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; } }
.edu-w__pics, .edu-w__info { min-width: 0; }
.edu-fig { margin: 0; min-width: 0; }
.edu-w__main { overflow: hidden; border-radius: var(--r); }
.edu-w__main img, .edu-w__shots img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.edu-w__shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.edu-cap { margin-top: 6px; font-size: 12px; letter-spacing: .04em; line-height: 1.5; color: var(--mute); }
.edu-w__k { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.edu-w__k span { font-size: 11.5px; letter-spacing: .14em; color: var(--edu); }
.edu-w__name { margin-top: 8px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; line-height: 1.4; }
.edu-w__catch { margin-top: 10px; font-size: 16px; font-weight: 600; line-height: 1.6; color: var(--edu-deep); }
.edu-w__desc { margin-top: 12px; font-size: 15px; line-height: 2; color: var(--ink-2); }
.edu-spec { margin-top: 20px; border-top: 1px solid var(--edu); font-size: 14px; line-height: 1.8; }
.edu-spec > div { display: grid; grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.edu-spec dt { font-size: 12.5px; font-weight: 600; color: var(--mute); padding-top: .1em; }
.edu-spec dd { font-weight: 500; }
.edu-note { margin-top: 20px; font-size: 13px; line-height: 1.9; color: var(--mute); }
/* when the play switch in js/vt-worlds.js is turned on: the big picture becomes a link and a button appears under the facts */
.edu-w a.game__media img { transition: transform .5s var(--ease); }
.edu-w a.game__media:hover img { transform: scale(1.02); }
.edu-w .game__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.edu-w .btn--yel { background: var(--edu); border-color: var(--edu); color: #fff; }
.edu-w .btn--yel:hover { background: var(--edu-deep); }
.edu-w .game__note { font-size: 12.5px; color: var(--mute); }

/* ---------- 2025: the first year (text on the left, the four works 2×2 on the right; one column under 1100px) ---------- */
.edu-past { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 56px; margin-top: clamp(28px, 3.4vw, 44px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--ink); }
@media (min-width: 1100px) { .edu-past { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: start; } }
.edu-past__text { min-width: 0; }
.edu-past__k { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; color: var(--edu); }
.edu-past__name { margin-top: 8px; font-size: clamp(22px, 2.3vw, 30px); font-weight: 500; line-height: 1.4; }
.edu-past__p { margin-top: 14px; max-width: 34em; font-size: 15px; line-height: 2; color: var(--ink-2); }
.edu-past .edu-facts { margin-top: 20px; }
.edu-past__works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.edu-work { min-width: 0; }
.edu-work img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }
.edu-work__name { margin-top: 10px; font-size: 14.5px; font-weight: 600; line-height: 1.55; }
.edu-work__what { margin-top: 2px; font-size: 12.5px; line-height: 1.7; color: var(--mute); }
@media (max-width: 560px) { .edu-past__works { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* ---------- community: one line and the Discord link ---------- */
.edu-com { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px 48px; align-items: end; }
@media (min-width: 900px) { .edu-com { grid-template-columns: minmax(0, 1fr) auto; } }
.edu-com > div { min-width: 0; }
.edu-com__line { margin-top: 14px; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; line-height: 1.6; }
.edu-com .btn { justify-self: start; }

/* ---------- closing band: a light green wash, a headline, a few sentences and two buttons (the form itself is on the company page) ---------- */
.edu-ask { background: var(--edu-soft); border-top-color: var(--edu-line); }
.edu-ask__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px 56px; align-items: end; }
@media (min-width: 900px) { .edu-ask__in { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); } }
.edu-ask__in > div { min-width: 0; }
.edu-ask__p { margin-top: 18px; max-width: 34em; font-size: 15px; line-height: 2; color: var(--ink-2); }
.edu-ask__btns { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.edu-ask .btn:not(.btn--edu) { background: #fff; }

/* footer: mark the current page in the SITES list */
.footer__nav a[aria-current="page"] { color: var(--edu); font-weight: 600; }
