/* --- site-design.css --- */
/* ═══════════════════════════════════════════════════════════
   LMS Frontend — Prime Japanese Language Institute
   Blue gradient · Japan red · White · JLPT-focused
   ═══════════════════════════════════════════════════════════ */

:root {
    --primary: #1d4ed8;
    --primary-hover: #1e40af;
    --accent: #dc2626;
    --accent-hover: #b91c1c;
    --primary-soft: rgba(239, 246, 255, 0.95);
    --primary-muted: #93c5fd;
    --violet: #1e3a8a;
    --blue: #0f172a;
    --cyan: #06b6d4;
    --dark: #0f172a;
    --dark-2: #020617;
    --text: #0f172a;
    --text-2: #1e3a8a;
    --muted: #64748b;
    --muted-2: #94a3b8;
    --border: rgba(15, 23, 42, 0.12);
    --border-2: rgba(29, 78, 216, 0.12);
    --surface: rgba(255, 255, 255, 0.9);
    --surface-solid: #ffffff;
    --surface-2: rgba(239, 246, 255, 0.65);
    --surface-3: rgba(219, 234, 254, 0.55);
    --glass: rgba(255, 255, 255, 0.82);
    --radius: 12px;
    --radius-lg: 18px;
    --radius-xl: 26px;
    --radius-full: 9999px;
    --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 0 40px rgba(29, 78, 216, 0.18);
    --font: 'Plus Jakarta Sans', 'Noto Sans JP', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
    --max: 1160px;
    --header-h: 72px;
    --ease: .22s cubic-bezier(.4,0,.2,1);
    --grad: linear-gradient(135deg, #1e40af 0%, #06b6d4 100%);
    --grad-accent: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    --grad-hero: linear-gradient(135deg, #0f172a 0%, #1e40af 45%, #06b6d4 100%);
    --grad-soft: linear-gradient(160deg, #eff6ff 0%, #ffffff 45%, #f8fafc 100%);
    /* student panel compat */
    --site-navy: var(--text);
    --site-navy-light: var(--text-2);
    --site-muted: var(--muted);
    --site-border: rgba(124, 58, 237, 0.15);
    --site-white: var(--surface-solid);
    --site-bg: #ede9fe;
    --site-teal: var(--primary);
    --site-text: var(--text-2);
    --site-radius: var(--radius);
    --site-shadow: var(--shadow);
    --brand: var(--primary);
    --brand-dark: var(--primary-hover);
    --brand-light: var(--primary-soft);
    --brand-soft: #f5f3ff;
    --ink: var(--text);
    --line: var(--border);
    --bg: transparent;
    --bg-alt: var(--surface-2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.site-body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-2);
    background:
        radial-gradient(ellipse 70% 45% at 95% 0%, rgba(29, 78, 216, 0.07) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 5% 100%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #eff6ff 100%);
    background-attachment: fixed;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

.pro-icon { flex-shrink: 0; display: block; }
.inline-form { display: inline; }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all var(--ease);
    white-space: nowrap;
    line-height: 1.2;
}

.btn-primary {
    background: var(--grad);
    color: #fff;
    box-shadow: 0 4px 18px rgba(29, 78, 216, 0.35);
}
.btn-primary:hover {
    filter: brightness(1.06);
    box-shadow: 0 8px 28px rgba(29, 78, 216, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.btn-secondary:hover {
    background: var(--surface-3);
    border-color: var(--primary-muted);
}

.btn-outline {
    background: var(--glass);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(6px);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
    box-shadow: var(--shadow-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--surface-3); }

.btn-white {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    box-shadow: var(--shadow);
}
.btn-white:hover { background: #fff; transform: translateY(-1px); }

.btn-dark {
    background: var(--dark);
    color: #fff;
}
.btn-dark:hover { background: var(--dark-2); }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 26px; font-size: 15px; }
.btn-block { width: 100%; }

/* legacy alias */
.btn-accent { background: var(--grad); color: #fff; box-shadow: 0 4px 18px rgba(124, 58, 237, 0.35); }
.btn-accent:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* ─── Header ─── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-h);
    background: rgba(237, 233, 254, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: border-color var(--ease), box-shadow var(--ease);
}

.site-header.scrolled {
    background: rgba(237, 233, 254, 0.92);
    box-shadow: var(--shadow-xs);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
    position: relative;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    letter-spacing: -.02em;
}

.site-logo-image { height: 32px; width: auto; border-radius: 8px; }
.site-logo-image--wide { height: 48px; max-width: min(280px, 52vw); object-fit: contain; }
.site-logo--brand:has(.site-logo-image--wide):not(:has(.site-logo-text)) { gap: 0; }

.site-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--grad);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Noto Sans JP', sans-serif;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.35);
}

.site-nav { display: flex; align-items: center; gap: 2px; }

.site-nav a {
    padding: 7px 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: all var(--ease);
}

.site-nav a:hover { color: var(--primary); background: var(--surface-3); }
.site-nav a.active { color: #fff; background: var(--grad); font-weight: 600; box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3); }

.site-nav-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.site-nav-mobile-actions {
    display: none;
    width: 100%;
    padding-top: 12px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 8px;
}

.site-nav-mobile-actions .btn-block { width: 100%; justify-content: center; }

.site-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.site-menu-toggle span {
    display: block; width: 20px; height: 2px;
    background: var(--text); border-radius: 1px;
}

/* ─── Hero (dark modern) ─── */
.mod-hero {
    background: var(--grad-hero);
    color: #fff;
    padding: 88px 0 108px;
    position: relative;
    overflow: hidden;
}

.mod-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 50%, rgba(236, 72, 153, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 85% 20%, rgba(34, 211, 238, 0.18) 0%, transparent 35%),
        radial-gradient(circle at 60% 90%, rgba(139, 92, 246, 0.25) 0%, transparent 45%);
}

.mod-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.mod-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: #e9d5ff;
    margin-bottom: 24px;
}

.mod-hero-badge-dot {
    width: 7px; height: 7px;
    background: #22d3ee;
    border-radius: 50%;
    box-shadow: 0 0 10px #22d3ee;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; box-shadow: 0 0 10px #22d3ee; }
    50% { opacity: 0.6; box-shadow: 0 0 4px #22d3ee; }
}

.mod-hero h1 {
    font-size: clamp(36px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 20%, #c4b5fd 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mod-hero h1 span { color: #c4b5fd; }

.mod-hero-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #c4b5fd;
    max-width: 460px;
    margin-bottom: 32px;
}

.mod-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.mod-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.1);
}

.mod-hero-meta div strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}
.mod-hero-meta div span { font-size: 12px; color: #a5b4fc; }

.mod-hero-preview {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-xl);
    padding: 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

/* ─── Hero image collage ─── */
.mod-hero-visual {
    position: relative;
    min-height: 420px;
}

.mod-hero-visual-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
    transform: rotate(1deg);
}

.mod-hero-visual-main .site-img,
.hero-img-main {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
}

.mod-hero-visual-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 160px;
}

.mod-hero-visual-float .site-img,
.hero-img-float {
    width: 100%;
    height: 88px;
    object-fit: cover;
    border-radius: var(--radius);
    display: block;
}

.mod-hero-visual-float span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    padding: 6px 4px 2px;
    text-align: center;
}

.mod-hero-visual-float-1 { top: 24px; right: -12px; transform: rotate(4deg); }
.mod-hero-visual-float-2 { bottom: 48px; left: -20px; transform: rotate(-3deg); }

.mod-hero-visual-badge-card {
    position: absolute;
    bottom: 20px;
    right: 24px;
    background: var(--grad);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.45);
    text-align: center;
}

.mod-hero-visual-badge-card strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}

.mod-hero-visual-badge-card span {
    font-size: 11px;
    opacity: 0.9;
    font-weight: 600;
}

.mod-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mod-preview-dot { width: 10px; height: 10px; border-radius: 50%; }
.mod-preview-dot:nth-child(1) { background: #ef4444; }
.mod-preview-dot:nth-child(2) { background: #eab308; }
.mod-preview-dot:nth-child(3) { background: #22c55e; }

.mod-preview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: var(--radius-lg);
    margin-bottom: 10px;
}

.mod-preview-item:last-child { margin-bottom: 0; }

.mod-preview-icon {
    width: 40px; height: 40px;
    background: var(--grad);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35);
}

.mod-preview-item strong { display: block; font-size: 14px; font-weight: 600; color: #fff; }
.mod-preview-item span { font-size: 12px; color: #71717a; }

/* ─── Sections ─── */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-muted {
    background: linear-gradient(180deg, rgba(196, 181, 253, 0.35) 0%, rgba(165, 180, 252, 0.2) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--surface-3);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
    border: 1px solid var(--border);
}

.section-head h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
    line-height: 1.15;
    margin-bottom: 10px;
}

.section-head p { font-size: 16px; color: var(--muted); line-height: 1.65; }

.section-head {
    margin-bottom: 48px;
}
.section-head.center { text-align: center; max-width: 520px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }

/* ─── Steps ─── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.step-item {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    transition: all var(--ease);
}
.step-item:hover {
    border-color: var(--primary-muted);
    box-shadow: var(--shadow-glow);
    transform: translateY(-3px);
}

.step-item-num {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--grad);
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: .08em;
    margin-bottom: 16px;
}

.step-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

.step-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.step-thumb {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 10;
}

.step-thumb .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ease);
}

.step-item:hover .step-thumb .site-img { transform: scale(1.04); }

/* ─── Categories ─── */
.cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.cat-item {
    padding: 8px 16px;
    background: var(--glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-2);
    transition: all var(--ease);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cat-item:hover {
    border-color: transparent;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.cat-item-count {
    font-size: 11px;
    font-weight: 700;
    background: var(--surface-3);
    color: var(--muted);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

/* ─── Course cards ─── */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.course-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--ease);
    color: inherit;
}

.course-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: translateY(-4px);
}

.course-thumb {
    height: 160px;
    background: var(--grad-soft);
    position: relative;
    overflow: hidden;
}

.course-thumb img,
.course-thumb .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--ease);
}

.course-card:hover .course-thumb img,
.course-card:hover .course-thumb .site-img { transform: scale(1.05); }

.course-thumb-ph {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-2);
}

.course-badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--grad);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.course-level {
    position: absolute;
    bottom: 10px; left: 10px;
    background: rgba(9,9,11,.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.course-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

.tag {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 3px 8px;
    border-radius: 6px;
}
.tag-muted { color: var(--muted); background: var(--surface-3); }

.course-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.45;
    margin-bottom: 8px;
    letter-spacing: -.01em;
}

.course-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border-2);
}

.course-price { font-size: 17px; font-weight: 800; color: var(--text); }
.course-price-old { font-size: 12px; color: var(--muted); text-decoration: line-through; margin-right: 4px; font-weight: 500; }

.course-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--surface-3);
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--ease);
}
.course-card:hover .course-arrow { background: var(--grad); color: #fff; box-shadow: 0 4px 12px rgba(124,58,237,.35); }

/* ─── Features ─── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.feat-item {
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--glass);
    backdrop-filter: blur(10px);
    transition: all var(--ease);
}
.feat-item:hover {
    border-color: var(--primary-muted);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.feat-num {
    width: 36px; height: 36px;
    background: var(--grad);
    color: #fff;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(124,58,237,.3);
}

.feat-item h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.feat-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ─── CTA ─── */
.mod-cta {
    background: var(--grad);
    border: none;
    border-radius: var(--radius-xl);
    padding: 64px 40px;
    text-align: center;
    color: #fff;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.mod-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(34,211,238,.12) 0%, transparent 40%);
    pointer-events: none;
}

.mod-cta-visual .mod-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mod-cta-visual .mod-cta-bg .site-img,
.mod-cta-visual .mod-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.mod-cta-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.85) 0%, rgba(99, 102, 241, 0.8) 100%);
    pointer-events: none;
}

.mod-cta h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}
.mod-cta p { font-size: 16px; color: rgba(255,255,255,.88); margin-bottom: 28px; max-width: 440px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.mod-cta-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; position: relative; z-index: 1; }

/* ─── Page header ─── */
.pg-head {
    padding: 56px 0 48px;
    background: linear-gradient(135deg, rgba(91, 33, 182, 0.15) 0%, rgba(59, 130, 246, 0.12) 100%);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
}

.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.breadcrumb a { color: var(--primary); font-weight: 500; }

.pg-head h1 {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: 8px;
}

.pg-head p { font-size: 16px; color: var(--muted); max-width: 520px; }

/* Page header with background image */
.pg-head-visual {
    position: relative;
    overflow: hidden;
    padding: 72px 0 56px;
    border-bottom: 1px solid var(--border);
}

.pg-head-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.pg-head-bg .site-img,
.pg-head-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pg-head-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(49, 46, 129, 0.88) 0%, rgba(91, 33, 182, 0.78) 50%, rgba(67, 56, 202, 0.82) 100%);
}

.pg-head-content {
    position: relative;
    z-index: 2;
}

.pg-head-visual .breadcrumb,
.pg-head-visual .breadcrumb a { color: #c4b5fd; }
.pg-head-visual .breadcrumb a:hover { color: #fff; }
.pg-head-visual h1 { color: #fff; }
.pg-head-visual p { color: #e9d5ff; }

/* ─── Filters ─── */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    box-shadow: var(--shadow-xs);
}

.filter-search {
    flex: 1; min-width: 180px;
    display: flex; align-items: center; gap: 8px;
    padding: 0 8px;
    color: var(--muted);
}

.filter-search input {
    flex: 1; border: none; background: transparent;
    font-family: var(--font); font-size: 14px;
    padding: 8px 0; outline: none; color: var(--text);
}

.filter-form select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 12px;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text-2);
    background: var(--surface-2);
    outline: none;
    cursor: pointer;
}
.filter-form select:focus { border-color: var(--primary); }

.result-meta { font-size: 13px; color: var(--muted); margin-bottom: 20px; font-weight: 500; }

/* ─── About ─── */
.about-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-panel {
    background: var(--grad-hero);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.about-panel h3 { font-size: 17px; font-weight: 700; margin-bottom: 20px; }
.about-panel li {
    padding: 10px 0;
    font-size: 14px;
    color: #d4d4d8;
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex; align-items: center; gap: 10px;
}
.about-panel li::before { content: '→'; color: #818cf8; font-weight: 700; }

.about-visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

.about-visual .site-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}

.about-visual-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--grad);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 16px 22px;
    box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.about-visual-badge strong {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
}

.about-visual-badge span { font-size: 12px; font-weight: 600; opacity: 0.92; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.stat-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
}
.stat-item strong { display: block; font-size: 30px; font-weight: 800; color: var(--primary); margin-bottom: 4px; letter-spacing: -.03em; }
.stat-item span { font-size: 13px; color: var(--muted); }

.content-h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 12px; letter-spacing: -.02em; }

/* ─── Contact ─── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 24px;
    align-items: start;
}

.contact-visual {
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.contact-visual .site-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.contact-info {
    background: var(--grad-hero);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 { font-size: 17px; font-weight: 700; margin-bottom: 24px; }

.contact-line {
    display: flex; gap: 14px;
    margin-bottom: 20px;
}

.contact-line-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    color: #a5b4fc; flex-shrink: 0;
}

.contact-line strong { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #c4b5fd; margin-bottom: 4px; }
.contact-line p, .contact-line a { font-size: 14px; color: #e4e4e7; }
.contact-line a:hover { color: #fff; }

.contact-form {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-form h2 { font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.form-intro { font-size: 14px; color: var(--muted); margin-bottom: 24px; }

/* ─── Forms ─── */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.form-group .required { color: #ef4444; }

.form-group input,
.form-group textarea,
.form-group select,
.form-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--surface-2);
    transition: border-color var(--ease), box-shadow var(--ease);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,.12);
    background: var(--surface);
}

.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group .error, .field-error { display: block; font-size: 12px; color: #ef4444; margin-top: 4px; }

.alert { padding: 12px 14px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ─── Course detail ─── */
.course-detail-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.course-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 24px;
}
.course-detail-img img,
.course-detail-img .site-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.course-detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 24px; }

.enroll-card {
    background: var(--glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px;
    position: sticky;
    top: calc(var(--header-h) + 16px);
    box-shadow: var(--shadow-lg);
}

.enroll-card .course-price { font-size: 32px; margin-bottom: 4px; }

.enroll-list { margin-top: 20px; }
.enroll-list li {
    padding: 8px 0;
    font-size: 13px;
    color: var(--muted);
    border-bottom: 1px solid var(--border-2);
    display: flex; align-items: center; gap: 8px;
}
.enroll-list li::before { content: '✓'; color: var(--primary); font-weight: 700; }

.curriculum-list { display: grid; gap: 6px; }

.curriculum-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color var(--ease);
}
.curriculum-item:hover { border-color: #d4d4d8; }

.curriculum-icon {
    width: 32px; height: 32px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; flex-shrink: 0;
}

.curriculum-info { flex: 1; }
.curriculum-info strong { display: block; font-size: 14px; color: var(--text); }
.curriculum-info span { font-size: 12px; color: var(--muted); }

.curriculum-tag {
    font-size: 10px; font-weight: 700;
    padding: 4px 8px; border-radius: var(--radius-full);
}
.curriculum-tag.preview { background: var(--primary-soft); color: var(--primary); }
.curriculum-tag.locked { background: var(--surface-3); color: var(--muted); }

/* ─── Empty ─── */
.empty-box {
    text-align: center;
    padding: 60px 24px;
    border: 1px dashed var(--primary-muted);
    border-radius: var(--radius-xl);
    background: var(--glass);
    backdrop-filter: blur(8px);
}

.empty-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    background: var(--primary-soft);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}

.empty-box h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty-box p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* ─── Auth split layout ─── */
.auth-page.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    padding: 0;
    min-height: calc(100vh - var(--header-h));
    max-width: none;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    display: none;
}

.auth-visual .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 100%;
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(49, 46, 129, 0.75) 0%, rgba(124, 58, 237, 0.55) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 48px;
    color: #fff;
}

.auth-visual-overlay h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -.03em;
}

.auth-visual-overlay p {
    font-size: 15px;
    color: #e9d5ff;
    max-width: 320px;
    line-height: 1.65;
}

.auth-split .auth-card {
    max-width: 440px;
    margin: auto;
    align-self: center;
}

@media (min-width: 900px) {
    .auth-visual { display: block; }
}

/* ─── Gallery strip ─── */
.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-strip-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-xs);
    transition: transform var(--ease), box-shadow var(--ease);
}

.gallery-strip-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.gallery-strip-item .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── Testimonials ─── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.testimonial-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    text-align: center;
    transition: box-shadow var(--ease), transform var(--ease);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid var(--primary-muted);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.25);
}

.testimonial-avatar .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
}

.testimonial-author span {
    font-size: 12px;
    color: var(--muted);
}

.site-img { max-width: 100%; height: auto; }

/* ─── Auth ─── */
.auth-page {
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    background: transparent;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.auth-logo { display: flex; justify-content: center; margin-bottom: 24px; }
.auth-card h1 { font-size: 22px; font-weight: 800; text-align: center; color: var(--text); margin-bottom: 6px; letter-spacing: -.02em; }
.auth-card > p { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; }

.login-step { display: none; }
.login-step.active { display: block; }
.otp-input { font-size: 20px !important; letter-spacing: .25em; text-align: center; font-weight: 700; }

.auth-link { text-align: center; margin-top: 20px; font-size: 13px; }
.auth-link a { color: var(--primary); font-weight: 600; }
.auth-link.muted a { color: var(--muted); font-weight: 500; }

/* ─── Footer ─── */
.site-footer {
    background: var(--grad-hero);
    color: #c4b5fd;
    padding: 56px 0 0;
    border-top: 1px solid rgba(255,255,255,.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-grid .site-logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.65; max-width: 260px; }

.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a {
    padding: 5px 10px;
    background: rgba(255,255,255,.06);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #a1a1aa;
    text-transform: capitalize;
    transition: background var(--ease);
}
.footer-social a:hover { background: rgba(99,102,241,.25); color: #fff; }

.footer-col h4 {
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: #fff; margin-bottom: 14px;
}

.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: #71717a; transition: color var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-col li:not(:has(a)) { font-size: 14px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    font-size: 13px;
    text-align: center;
}

/* ─── Payment ─── */
.payment-result-card {
    max-width: 440px;
    margin: 0 auto;
    text-align: center;
    background: var(--glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 48px 32px;
    box-shadow: var(--shadow-lg);
}

.payment-result-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700;
    margin: 0 auto 20px;
}
.payment-result-icon.success { background: #f0fdf4; color: #16a34a; }
.payment-result-icon.error { background: #fef2f2; color: #dc2626; }

.payment-result-card h1 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.payment-result-card h1.success-title { color: #16a34a; }
.payment-result-card h1.error-title { color: #dc2626; }
.payment-result-card p { color: var(--muted); font-size: 15px; }

/* ─── Utils ─── */
.text-center { text-align: center; }
.mt-8 { margin-top: 32px; }

.pagination-wrap { margin-top: 40px; display: flex; justify-content: center; }
.pagination-wrap nav { display: flex; gap: 4px; flex-wrap: wrap; }
.pagination-wrap a, .pagination-wrap span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 10px;
    border-radius: var(--radius); font-size: 14px;
    border: 1px solid var(--border); color: var(--text-2);
}
.pagination-wrap a:hover { background: var(--primary-soft); border-color: var(--primary); color: var(--primary); }
.pagination-wrap .active span { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ─── Responsive ─── */
@media (max-width: 992px) {
    .mod-hero-grid, .about-layout, .contact-layout, .course-detail-grid { grid-template-columns: 1fr; }
    .mod-hero-visual { min-height: 320px; margin-top: 32px; }
    .mod-hero-visual-float-1 { right: 8px; }
    .mod-hero-visual-float-2 { left: 8px; }
    .gallery-strip { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .auth-page.auth-split { grid-template-columns: 1fr; }
    .enroll-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .site-menu-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute; top: var(--header-h); left: 0; right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column; padding: 12px 20px 16px;
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav-actions { display: none; }
    .site-nav-mobile-actions { display: flex; }
    .site-header-inner:has(.site-nav.open) .site-nav-actions {
        display: none;
    }
    .section { padding: 56px 0; }
    .mod-hero { padding: 56px 0 64px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .mod-cta { padding: 48px 24px; }
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    flex-shrink: 0;
}
.lang-switcher-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    line-height: 1.2;
    white-space: nowrap;
}
.lang-switcher-item[href*="locale/ja"] {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 10px;
    padding: 4px 6px;
}
.lang-switcher-item:hover { color: var(--primary); }
.lang-switcher-item.active {
    background: var(--primary);
    color: #fff;
}
.site-nav-mobile-actions .lang-switcher { margin-bottom: 8px; }

/* --- site-public.css --- */
/* ═══════════════════════════════════════════════════════════
   LMS Public Frontend — Prime Japanese Language Institute
   Teal #1ab69d · JLPT aesthetic
   ═══════════════════════════════════════════════════════════ */

.site-body:not(.student-panel-body) {
    --prime-blue: #1ab69d;
    --prime-blue-dark: #159a87;
    --prime-blue-soft: #e8f8f4;
    --prime-red: #dc2626;
    --prime-navy: #0f172a;
    --prime-navy-dark: #020617;
    --prime-indigo: #159a87;
    --prime-cyan: #3ecfb8;
    --prime-muted: #64748b;
    --prime-border: #c5efe6;
    --prime-radius: 14px;

    --primary: var(--prime-blue);
    --primary-hover: var(--prime-blue-dark);
    --primary-soft: var(--prime-blue-soft);
    --primary-muted: #c5efe6;
    --text: var(--prime-navy);
    --text-2: var(--prime-indigo);
    --muted: var(--prime-muted);
    --border: var(--prime-border);
    --surface-solid: #fff;
    --surface-2: #f8fafc;
    --surface-3: var(--prime-blue-soft);
    --glass: #fff;
    --grad: linear-gradient(135deg, #1ab69d 0%, #3ecfb8 100%);
    --grad-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(26, 182, 157, 0.88) 100%);
    --grad-soft: linear-gradient(160deg, #e8f8f4 0%, #ffffff 50%, #f8fffe 100%);
    --shadow-xs: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 48px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 32px rgba(26, 182, 157, 0.18);
    --radius: var(--prime-radius);
    --radius-lg: 16px;
    --radius-xl: 20px;
    --header-top-h: 88px;
    --header-nav-h: 52px;
    --header-h: calc(var(--header-top-h) + var(--header-nav-h));
    --max: 1200px;

    background: #ffffff;
    color: var(--prime-navy);
}

/* ─── Header (two-tier: top bar + nav bar) ─── */
.site-body:not(.student-panel-body) .site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.site-body:not(.student-panel-body) .site-header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.1);
}

.site-body:not(.student-panel-body) .site-header.is-top-hidden {
    --header-h: var(--header-nav-h);
}

/* Top tier — logo left (white curve) + actions right (teal) */
.site-body:not(.student-panel-body) .site-header-top {
    background: var(--prime-blue);
    overflow: hidden;
    max-height: var(--header-top-h);
    opacity: 1;
    transition:
        max-height 0.42s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.32s ease,
        transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    will-change: max-height, opacity, transform;
}

.site-body:not(.student-panel-body) .site-header.is-top-hidden .site-header-top {
    max-height: 0;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.site-body:not(.student-panel-body) .site-header-top-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: var(--header-top-h);
    gap: 0;
}

.site-body:not(.student-panel-body) .site-header-top-brand {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px 40px 18px 0;
    flex: 0 1 auto;
    min-width: 0;
    z-index: 2;
}

.site-body:not(.student-panel-body) .site-header-top-brand::after {
    content: '';
    position: absolute;
    right: -40px;
    top: 0;
    width: 80px;
    height: 100%;
    background: #fff;
    border-bottom-right-radius: 100% 85%;
    pointer-events: none;
}

.site-body:not(.student-panel-body) .site-header-top-brand .site-logo--brand {
    align-items: center;
    gap: 12px;
}

.site-body:not(.student-panel-body) .site-header-top-brand .site-logo {
    align-items: center;
}

.site-body:not(.student-panel-body) .site-header-top-brand .site-logo-image--wide {
    height: 72px;
    max-width: min(340px, 42vw);
    width: auto;
    object-fit: contain;
    object-position: left center;
    flex-shrink: 0;
}

.site-body:not(.student-panel-body) .site-header-top-brand .site-logo-text {
    min-width: 0;
}

.site-body:not(.student-panel-body) .site-header-top-brand .site-logo-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
    border-radius: 12px;
    flex-shrink: 0;
}

.site-body:not(.student-panel-body) .site-header-top-brand .site-logo-name {
    font-size: 18px;
}

.site-body:not(.student-panel-body) .site-header-top-brand .site-logo-sub {
    font-size: 11px;
}

.site-body:not(.student-panel-body) .site-header-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex: 1 1 auto;
    padding: 10px 0 10px 24px;
    min-width: 0;
}

.site-body:not(.student-panel-body) .btn-header-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: #fff;
    color: var(--prime-blue-dark);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
    transition: background 0.15s, transform 0.15s;
}

.site-body:not(.student-panel-body) .btn-header-light:hover {
    background: #f0fdfa;
    transform: translateY(-1px);
}

.site-body:not(.student-panel-body) .btn-header-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    transition: background 0.15s, border-color 0.15s;
}

.site-body:not(.student-panel-body) .btn-header-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
}

.site-body:not(.student-panel-body) .site-header-top-actions .lang-switcher {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.site-body:not(.student-panel-body) .hdr-btn-short {
    display: none;
}

.site-body:not(.student-panel-body) .site-header-top-actions .lang-switcher-item {
    color: rgba(255, 255, 255, 0.92);
}

.site-body:not(.student-panel-body) .site-header-top-actions .lang-switcher-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.site-body:not(.student-panel-body) .site-header-top-actions .lang-switcher-item.active {
    background: #fff;
    color: var(--prime-blue-dark);
}

/* Bottom tier — centered menu with dividers */
.site-body:not(.student-panel-body) .site-header-nav {
    background: #fff;
    border-bottom: 1px solid var(--prime-border);
    min-height: var(--header-nav-h);
}

.site-body:not(.student-panel-body) .site-header-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: var(--header-nav-h);
    position: relative;
}

.site-body:not(.student-panel-body) .site-header-mobile-logo {
    display: none;
}

.site-body:not(.student-panel-body) .site-header-nav .site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.site-body:not(.student-panel-body) .site-header-nav .site-nav > a,
.site-body:not(.student-panel-body) .site-header-nav .site-nav > .site-nav-dropdown {
    border-right: 1px solid #e2e8f0;
}

.site-body:not(.student-panel-body) .site-header-nav .site-nav > a:last-of-type,
.site-body:not(.student-panel-body) .site-header-nav .site-nav > .site-nav-dropdown:last-of-type {
    border-right: none;
}

.site-body:not(.student-panel-body) .site-header::before {
    display: none;
}

.site-body:not(.student-panel-body) .site-header.scrolled .site-header-nav {
    box-shadow: none;
}

.site-body:not(.student-panel-body) .site-logo {
    color: var(--prime-navy);
    font-size: 16px;
    gap: 12px;
}

.site-body:not(.student-panel-body) .site-logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.2;
}

.site-body:not(.student-panel-body) .site-logo-name {
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.site-body:not(.student-panel-body) .site-logo-sub {
    font-size: 10px;
    font-weight: 700;
    color: var(--prime-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Noto Sans JP', sans-serif;
}

.site-body:not(.student-panel-body) .site-logo-icon {
    background: var(--grad);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 800;
    font-size: 16px;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(26, 182, 157, 0.35);
}

.site-body:not(.student-panel-body) .site-nav a {
    color: var(--prime-navy);
    font-weight: 700;
    padding: 14px 18px;
    border-radius: 0;
    font-size: 13px;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.site-body:not(.student-panel-body) .site-nav a:hover {
    color: var(--prime-blue);
    background: var(--prime-blue-soft);
}

.site-body:not(.student-panel-body) .site-nav a.active {
    color: var(--prime-blue);
    background: transparent;
    box-shadow: none;
    font-weight: 800;
}

/* Language Program dropdown */
.site-body:not(.student-panel-body) .site-nav-dropdown {
    position: relative;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--prime-navy);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-toggle:hover,
.site-body:not(.student-panel-body) .site-nav-dropdown.open .site-nav-dropdown-toggle,
.site-body:not(.student-panel-body) .site-nav-dropdown.is-active .site-nav-dropdown-toggle {
    color: var(--prime-blue);
    background: #fdf2f8;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-toggle.active {
    color: var(--prime-blue);
    font-weight: 800;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-chevron {
    transition: transform 0.2s;
}

.site-body:not(.student-panel-body) .site-nav-dropdown.open .site-nav-dropdown-chevron,
.site-body:not(.student-panel-body) .site-nav-dropdown:hover .site-nav-dropdown-chevron {
    transform: rotate(180deg);
}

.site-body:not(.student-panel-body) .site-nav-dropdown-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 300px;
    background: #fff;
    border: 1px solid #f3e8ff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
    z-index: 300;
    overflow: hidden;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-head {
    padding: 12px 16px;
    background: #fdf2f8;
    color: var(--prime-blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    color: var(--prime-navy);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-link:hover,
.site-body:not(.student-panel-body) .site-nav-dropdown-link.is-current {
    background: var(--prime-blue-soft);
    color: var(--prime-blue);
}

.site-body:not(.student-panel-body) .site-nav-dropdown-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--prime-blue-soft);
    color: #2563eb;
    flex-shrink: 0;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-icon-all {
    background: #fef2f2;
    color: #dc2626;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-label {
    flex: 1;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 999px;
    background: #fdf2f8;
    color: var(--prime-blue);
    letter-spacing: 0.02em;
}

.site-body:not(.student-panel-body) .site-nav-dropdown-badge.is-muted {
    background: #f1f5f9;
    color: #64748b;
    font-weight: 700;
}

@media (min-width: 901px) {
    .site-body:not(.student-panel-body) .site-nav-dropdown:hover .site-nav-dropdown-panel,
    .site-body:not(.student-panel-body) .site-nav-dropdown.open .site-nav-dropdown-panel {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.site-body:not(.student-panel-body) .lang-switcher {
    border-color: var(--prime-border);
    background: #fff;
}

.site-body:not(.student-panel-body) .lang-switcher-item.active {
    background: var(--prime-blue);
}

/* ─── Buttons ─── */
.site-body:not(.student-panel-body) .btn-primary {
    background: var(--prime-blue);
    box-shadow: 0 4px 14px rgba(26, 182, 157, 0.35);
}

.site-body:not(.student-panel-body) .btn-primary:hover {
    background: var(--prime-blue-dark);
    filter: none;
    box-shadow: 0 6px 20px rgba(26, 182, 157, 0.4);
}

.site-body:not(.student-panel-body) .btn-outline {
    border-color: var(--prime-border);
    color: var(--prime-navy);
    background: #fff;
}

.site-body:not(.student-panel-body) .btn-outline:hover {
    border-color: var(--prime-blue);
    color: var(--prime-blue);
    background: var(--prime-blue-soft);
    box-shadow: none;
}

.site-body:not(.student-panel-body) .btn-ghost:hover {
    color: var(--prime-blue);
    background: var(--prime-blue-soft);
}

.site-body:not(.student-panel-body) .btn-pj,
.site-body:not(.student-panel-body) .btn-pj.btn-pj {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    background: var(--prime-blue);
    color: #fff;
    transition: all 0.2s;
    text-decoration: none;
}

.site-body:not(.student-panel-body) .btn-pj:hover {
    background: var(--prime-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(26, 182, 157, 0.3);
}

.site-body:not(.student-panel-body) .btn-pj-lg { padding: 14px 28px; font-size: 15px; }

.site-body:not(.student-panel-body) .btn-pj-outline {
    background: transparent;
    color: var(--prime-blue);
    border: 1.5px solid var(--prime-blue);
}

.site-body:not(.student-panel-body) .btn-pj-outline:hover {
    background: var(--prime-blue-soft);
    color: var(--prime-blue-dark);
}

.site-body:not(.student-panel-body) .btn-pj-white {
    background: #fff;
    color: var(--prime-blue);
    border: 1.5px solid #fff;
}

.site-body:not(.student-panel-body) .btn-pj-white:hover {
    background: var(--prime-blue-soft);
}

/* ─── Footer ─── */
.site-body:not(.student-panel-body) .site-footer {
    background: var(--prime-navy-dark);
    color: #94a3b8;
    padding: 64px 0 0;
    margin-top: 0;
    border-top: 3px solid var(--prime-blue);
}

.site-body:not(.student-panel-body) .site-footer .site-logo { color: #fff; }
.site-body:not(.student-panel-body) .site-footer .site-logo-icon { background: var(--prime-blue); }
.site-body:not(.student-panel-body) .footer-brand p { color: #94a3b8; margin-top: 12px; font-size: 14px; line-height: 1.6; }
.site-body:not(.student-panel-body) .footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; text-transform: none; letter-spacing: 0; }
.site-body:not(.student-panel-body) .footer-col a { color: #94a3b8; font-size: 14px; }
.site-body:not(.student-panel-body) .footer-col a:hover { color: var(--prime-blue); }
.site-body:not(.student-panel-body) .footer-col li { margin-bottom: 10px; }
.site-body:not(.student-panel-body) .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 48px;
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #64748b;
}

.site-body:not(.student-panel-body) .footer-social a {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.06);
    margin-right: 0;
}

.site-body:not(.student-panel-body) .footer-social a:hover {
    background: rgba(26, 182, 157, 0.2);
    color: var(--prime-blue);
}

.site-body:not(.student-panel-body) .footer-contact-list {
    list-style: none;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.8;
}

.site-body:not(.student-panel-body) .footer-contact-list a { color: #94a3b8; }
.site-body:not(.student-panel-body) .footer-contact-list a:hover { color: var(--prime-blue); }

.site-body:not(.student-panel-body) .footer-newsletter-text {
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.site-body:not(.student-panel-body) .footer-subscribe {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.site-body:not(.student-panel-body) .footer-subscribe input {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-size: 13px;
}

.site-body:not(.student-panel-body) .footer-subscribe input::placeholder { color: #64748b; }
.site-body:not(.student-panel-body) .footer-subscribe .btn-primary { width: 100%; justify-content: center; }

/* ─── Sections ─── */
.site-body:not(.student-panel-body) .section { padding: 64px 0; }
.site-body:not(.student-panel-body) .section-muted { background: #f8fafc; }
.site-body:not(.student-panel-body) .section-sm { padding: 48px 0; }

.site-body:not(.student-panel-body) .section-head h2,
.site-body:not(.student-panel-body) .content-h2 {
    color: var(--prime-navy);
}

.site-body:not(.student-panel-body) .section-label {
    color: var(--prime-blue);
    background: var(--prime-blue-soft);
}

/* ─── Page header ─── */
.site-body:not(.student-panel-body) .pg-head {
    background: var(--grad-soft);
    border-bottom: 1px solid var(--prime-border);
}

.site-body:not(.student-panel-body) .pg-head-visual::after {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.84) 0%, rgba(26, 182, 157, 0.8) 100%);
}

.site-body:not(.student-panel-body) .pg-head-visual .breadcrumb,
.site-body:not(.student-panel-body) .pg-head-visual .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
}

.site-body:not(.student-panel-body) .pg-head-visual .breadcrumb a:hover { color: #fff; }

.site-body:not(.student-panel-body) .breadcrumb a { color: var(--prime-blue); }

/* ─── Filters ─── */
.site-body:not(.student-panel-body) .filter-form {
    background: #fff;
    border: 1px solid var(--prime-border);
    box-shadow: var(--shadow-xs);
}

.site-body:not(.student-panel-body) .filter-form select {
    background: #fff;
    border-color: var(--prime-border);
}

.site-body:not(.student-panel-body) .filter-form select:focus {
    border-color: var(--prime-blue);
}

/* ─── Course grid & cards ─── */
.site-body:not(.student-panel-body) .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.site-body:not(.student-panel-body) .pj-course-card,
.site-body:not(.student-panel-body) .course-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
    color: inherit;
    text-decoration: none;
}

.site-body:not(.student-panel-body) .pj-course-card:hover,
.site-body:not(.student-panel-body) .course-card:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.site-body:not(.student-panel-body) .pj-course-card-thumb,
.site-body:not(.student-panel-body) .course-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.site-body:not(.student-panel-body) .pj-course-card-thumb img,
.site-body:not(.student-panel-body) .course-thumb img,
.site-body:not(.student-panel-body) .course-thumb .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-body:not(.student-panel-body) .pj-course-badge,
.site-body:not(.student-panel-body) .course-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.site-body:not(.student-panel-body) .course-level {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.75);
    color: #fff;
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 4px;
}

.site-body:not(.student-panel-body) .pj-course-card-body,
.site-body:not(.student-panel-body) .course-body {
    padding: 16px;
}

.site-body:not(.student-panel-body) .pj-course-cat,
.site-body:not(.student-panel-body) .course-tags .tag:first-child {
    font-size: 12px;
    color: var(--prime-blue);
    font-weight: 600;
}

.site-body:not(.student-panel-body) .pj-course-card-body h3,
.site-body:not(.student-panel-body) .course-body h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--prime-navy);
    margin: 6px 0 8px;
    line-height: 1.35;
}

.site-body:not(.student-panel-body) .pj-course-rating,
.site-body:not(.student-panel-body) .course-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}

.site-body:not(.student-panel-body) .pj-stars,
.site-body:not(.student-panel-body) .course-stars {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: -1px;
}

.site-body:not(.student-panel-body) .pj-rating-count { font-size: 12px; color: var(--prime-muted); }

.site-body:not(.student-panel-body) .pj-course-meta,
.site-body:not(.student-panel-body) .course-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.site-body:not(.student-panel-body) .pj-course-price,
.site-body:not(.student-panel-body) .course-price {
    font-weight: 700;
    color: var(--prime-navy);
    font-size: 15px;
}

.site-body:not(.student-panel-body) .course-price-old {
    color: var(--prime-muted);
    font-size: 13px;
    text-decoration: line-through;
    margin-right: 4px;
}

.site-body:not(.student-panel-body) .pj-course-instructor { color: var(--prime-muted); font-size: 12px; }

.site-body:not(.student-panel-body) .pj-course-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--prime-blue);
}

.site-body:not(.student-panel-body) .course-desc {
    font-size: 13px;
    color: var(--prime-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.site-body:not(.student-panel-body) .course-arrow { color: var(--prime-blue); }

/* ─── About page ─── */
.site-body:not(.student-panel-body) .about-panel {
    background: var(--grad);
    box-shadow: 0 16px 40px rgba(26, 182, 157, 0.25);
}

.site-body:not(.student-panel-body) .about-panel li::before { color: #fef3c7; }

.site-body:not(.student-panel-body) .about-visual-badge {
    background: var(--prime-blue);
    box-shadow: 0 12px 32px rgba(26, 182, 157, 0.35);
}

.site-body:not(.student-panel-body) .stat-item {
    background: #fff;
    border: 1px solid var(--prime-border);
}

.site-body:not(.student-panel-body) .stat-item strong { color: var(--prime-blue); }

.site-body:not(.student-panel-body) .feat-item {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    padding: 28px;
}

.site-body:not(.student-panel-body) .feat-num { color: var(--prime-blue); }

/* ─── CTA ─── */
.site-body:not(.student-panel-body) .mod-cta {
    background: var(--grad);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(26, 182, 157, 0.25);
}

.site-body:not(.student-panel-body) .mod-cta-visual .mod-cta-bg { opacity: 0.15; }

/* ─── Contact ─── */
.site-body:not(.student-panel-body) .contact-form,
.site-body:not(.student-panel-body) .contact-info {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    box-shadow: var(--shadow-xs);
}

.site-body:not(.student-panel-body) .contact-line-icon {
    background: var(--prime-blue-soft);
    color: var(--prime-blue);
}

.site-body:not(.student-panel-body) .contact-form input,
.site-body:not(.student-panel-body) .contact-form textarea {
    border-color: var(--prime-border);
    border-radius: 8px;
}

.site-body:not(.student-panel-body) .contact-form input:focus,
.site-body:not(.student-panel-body) .contact-form textarea:focus {
    border-color: var(--prime-blue);
    box-shadow: 0 0 0 3px rgba(26, 182, 157, 0.12);
}

.site-body:not(.student-panel-body) .contact-visual {
    border-radius: var(--prime-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

/* ─── Course detail ─── */
.site-body:not(.student-panel-body) .enroll-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    box-shadow: var(--shadow);
    padding: 28px;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}

.site-body:not(.student-panel-body) .enroll-page-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
}

.site-body:not(.student-panel-body) .enroll-course-card {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.site-body:not(.student-panel-body) .enroll-course-thumb {
    width: 140px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    object-fit: cover;
}

.site-body:not(.student-panel-body) .enroll-course-desc {
    color: var(--prime-muted);
    margin: 8px 0 16px;
    line-height: 1.6;
}

.site-body:not(.student-panel-body) .enroll-student-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    padding: 20px 24px;
}

.site-body:not(.student-panel-body) .enroll-student-meta {
    color: var(--prime-muted);
    font-size: 14px;
    margin-top: 4px;
}

.site-body:not(.student-panel-body) .enroll-card-title {
    margin: 0 0 16px;
    font-size: 18px;
}

.site-body:not(.student-panel-body) .enroll-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 15px;
}

.site-body:not(.student-panel-body) .enroll-summary-note {
    font-size: 13px;
    color: var(--prime-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}

.site-body:not(.student-panel-body) .enroll-note {
    font-size: 12px;
    color: var(--prime-muted);
    margin-top: 10px;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .site-body:not(.student-panel-body) .enroll-page-grid {
        grid-template-columns: 1fr;
    }

    .site-body:not(.student-panel-body) .enroll-course-card {
        grid-template-columns: 1fr;
    }

    .site-body:not(.student-panel-body) .enroll-card {
        position: static;
    }
}

.site-body:not(.student-panel-body) .curriculum-item {
    border-color: var(--prime-border);
    border-radius: 8px;
}

.site-body:not(.student-panel-body) .curriculum-tag.preview {
    background: var(--prime-blue-soft);
    color: var(--prime-blue-dark);
}

.site-body:not(.student-panel-body) .tag {
    background: var(--prime-blue-soft);
    color: var(--prime-blue-dark);
}

.site-body:not(.student-panel-body) .tag-muted {
    background: #f1f5f9;
    color: var(--prime-muted);
}

/* ─── Auth pages ─── */
.site-body:not(.student-panel-body) .auth-page {
    background: #f8fafc;
}

.site-body:not(.student-panel-body) .auth-visual::after {
    background: linear-gradient(135deg, rgba(26, 31, 54, 0.82) 0%, rgba(159, 18, 57, 0.78) 100%);
}

.site-body:not(.student-panel-body) .auth-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    box-shadow: var(--shadow);
    padding: 40px 36px;
}

.site-body:not(.student-panel-body) .auth-card h1 { color: var(--prime-navy); }
.site-body:not(.student-panel-body) .auth-link a { color: var(--prime-blue); }

.site-body:not(.student-panel-body) .form-input,
.site-body:not(.student-panel-body) .auth-card input {
    border: 1px solid var(--prime-border);
    border-radius: 8px;
}

.site-body:not(.student-panel-body) .form-input:focus,
.site-body:not(.student-panel-body) .auth-card input:focus {
    border-color: var(--prime-blue);
    box-shadow: 0 0 0 3px rgba(26, 182, 157, 0.12);
}

/* ─── Payment result ─── */
.site-body:not(.student-panel-body) .payment-result-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    box-shadow: var(--shadow-lg);
    border-radius: var(--prime-radius);
}

.site-body:not(.student-panel-body) .payment-result-icon.success {
    background: var(--prime-blue-soft);
    color: var(--prime-blue-dark);
}

/* ─── Empty & alerts ─── */
.site-body:not(.student-panel-body) .empty-box {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
}

.site-body:not(.student-panel-body) .alert-success {
    background: var(--prime-blue-soft);
    color: var(--prime-blue-dark);
    border-color: #fecdd3;
}

/* ─── Pagination ─── */
.site-body:not(.student-panel-body) .pagination-wrap a,
.site-body:not(.student-panel-body) .pagination-wrap span {
    border-color: var(--prime-border);
    border-radius: 8px;
}

.site-body:not(.student-panel-body) .pagination-wrap .active span,
.site-body:not(.student-panel-body) .pagination-wrap a:hover {
    background: var(--prime-blue);
    border-color: var(--prime-blue);
    color: #fff;
}

/* ─── Mobile nav ─── */
@media (max-width: 900px) {
    .site-body:not(.student-panel-body) {
        --header-top-h: 64px;
        --header-nav-h: 52px;
    }

    .site-body:not(.student-panel-body) .site-header-top-inner {
        gap: 6px;
    }

    .site-body:not(.student-panel-body) .site-header-top-brand {
        padding: 5px 30px 10px 0;
        flex: 0 1 auto;
        min-width: 0;
        max-width: 48%;
    }

    .site-body:not(.student-panel-body) .site-header-top-brand::after {
        right: -22px;
        width: 44px;
    }

    .site-body:not(.student-panel-body) .site-header-top-brand .site-logo-image--wide {
        height: 65px;
        max-width: min(200px, 44vw);
    }

    .site-body:not(.student-panel-body) .site-header-top-brand .site-logo-text {
        min-width: 0;
        display: none;
    }

    .site-body:not(.student-panel-body) .site-header-top-brand .site-logo-icon {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .site-body:not(.student-panel-body) .site-header-top-brand .site-logo-name {
        font-size: 14px;
    }

    .site-body:not(.student-panel-body) .site-header-top-brand .site-logo-sub {
        display: none;
    }

    /* Login + Register beside logo — hides with top bar on scroll */
    .site-body:not(.student-panel-body) .site-header-top-actions {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        padding: 8px 0;
        min-width: 0;
        flex-wrap: nowrap;
    }

    .site-body:not(.student-panel-body) .site-header-top-actions .notification-dropdown {
        display: none;
    }

    .site-body:not(.student-panel-body) .site-header-top-lang {
        display: none;
    }

    .site-body:not(.student-panel-body) .site-header-top-actions .btn-header-light,
    .site-body:not(.student-panel-body) .site-header-top-actions .btn-header-ghost {
        padding: 7px 11px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .site-body:not(.student-panel-body) .site-nav-mobile-guest-btns {
        display: none;
    }

    .site-body:not(.student-panel-body) .site-header-nav-inner {
        justify-content: flex-end;
    }

    .site-body:not(.student-panel-body) .site-header.is-top-hidden .site-header-mobile-logo {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--prime-navy);
        font-weight: 800;
        font-size: 14px;
        text-decoration: none;
        max-width: 55vw;
    }

    .site-body:not(.student-panel-body) .site-header.is-top-hidden .site-header-mobile-logo .site-logo-image {
        height: 46px;
        width: auto;
        max-width: 55vw;
        object-fit: contain;
    }

    .site-body:not(.student-panel-body) .site-header-nav .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px;
        border-bottom: 1px solid var(--prime-border);
        display: none;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
        z-index: 210;
    }

    .site-body:not(.student-panel-body) .site-header-nav .site-nav > a,
    .site-body:not(.student-panel-body) .site-header-nav .site-nav > .site-nav-dropdown {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .site-body:not(.student-panel-body) .site-header-nav .site-nav > a,
    .site-body:not(.student-panel-body) .site-header-nav .site-nav .site-nav-dropdown-toggle {
        padding: 12px 8px;
        width: 100%;
        justify-content: space-between;
    }

    .site-body:not(.student-panel-body) .site-nav.open { display: flex; }
    .site-body:not(.student-panel-body) .site-nav-mobile-actions { display: flex; }
    .site-body:not(.student-panel-body) .site-menu-toggle { display: flex; }

    .site-body:not(.student-panel-body) .site-nav-dropdown {
        width: 100%;
    }

    .site-body:not(.student-panel-body) .site-nav-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 12px 8px;
    }

    .site-body:not(.student-panel-body) .site-nav-dropdown-panel {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid var(--prime-border);
        margin-top: 6px;
        display: none;
        min-width: 0;
        width: 100%;
    }

    .site-body:not(.student-panel-body) .site-nav-dropdown.open .site-nav-dropdown-panel {
        display: block;
    }
}

@media (max-width: 480px) {
    .site-body:not(.student-panel-body) .hdr-btn-long {
        display: none;
    }

    .site-body:not(.student-panel-body) .hdr-btn-short {
        display: inline;
    }

    .site-body:not(.student-panel-body) .site-header-top-brand {
        max-width: 42%;
    }

    .site-body:not(.student-panel-body) .site-header-top-actions .btn-header-light,
    .site-body:not(.student-panel-body) .site-header-top-actions .btn-header-ghost {
        padding: 6px 9px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .site-body:not(.student-panel-body) .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .site-body:not(.student-panel-body) .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── Branches ─── */
.site-body:not(.student-panel-body) .branch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.site-body:not(.student-panel-body) .branch-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    padding: 28px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-xs);
}

.site-body:not(.student-panel-body) .branch-card-main {
    border-color: var(--prime-blue);
    box-shadow: 0 12px 32px rgba(26, 182, 157, 0.12);
}

.site-body:not(.student-panel-body) .branch-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--prime-blue-soft);
    color: var(--prime-blue-dark);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.site-body:not(.student-panel-body) .branch-city {
    font-size: 12px;
    font-weight: 600;
    color: var(--prime-blue);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-body:not(.student-panel-body) .branch-card-head h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--prime-navy);
    margin-top: 4px;
}

.site-body:not(.student-panel-body) .branch-meta {
    list-style: none;
    font-size: 14px;
    color: var(--prime-muted);
    line-height: 1.7;
}

.site-body:not(.student-panel-body) .branch-meta li {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.site-body:not(.student-panel-body) .branch-meta a { color: var(--prime-blue); }

.site-body:not(.student-panel-body) .branch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ─── Blog ─── */
.site-body:not(.student-panel-body) .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.site-body:not(.student-panel-body) .blog-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    overflow: hidden;
    display: block;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.site-body:not(.student-panel-body) .blog-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.site-body:not(.student-panel-body) .blog-card-thumb {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.site-body:not(.student-panel-body) .blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-body:not(.student-panel-body) .blog-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--prime-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.site-body:not(.student-panel-body) .blog-card-body { padding: 20px; }

.site-body:not(.student-panel-body) .blog-card-date {
    font-size: 12px;
    color: var(--prime-muted);
}

.site-body:not(.student-panel-body) .blog-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--prime-navy);
    margin: 8px 0 10px;
    line-height: 1.35;
}

.site-body:not(.student-panel-body) .blog-card-body p {
    font-size: 14px;
    color: var(--prime-muted);
    line-height: 1.6;
    margin-bottom: 12px;
}

.site-body:not(.student-panel-body) .blog-hero-cat {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.site-body:not(.student-panel-body) .blog-hero-meta {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

/* Blog detail page */
.site-body.page-blog-detail .blog-detail-head {
    background: linear-gradient(180deg, var(--prime-blue-soft) 0%, #fff 100%);
    padding: 36px 0 28px;
    border-bottom: 1px solid var(--prime-border);
}

.site-body.page-blog-detail .blog-detail-head-inner {
    max-width: 920px;
    margin: 0 auto;
}

.site-body.page-blog-detail .blog-detail-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--prime-muted);
    margin-bottom: 18px;
}

.site-body.page-blog-detail .blog-detail-breadcrumb a {
    color: var(--prime-blue-dark);
    font-weight: 600;
    text-decoration: none;
}

.site-body.page-blog-detail .blog-detail-breadcrumb a:hover {
    text-decoration: underline;
}

.site-body.page-blog-detail .blog-detail-cat {
    display: inline-block;
    background: var(--prime-blue);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.site-body.page-blog-detail .blog-detail-title {
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 800;
    line-height: 1.15;
    color: var(--prime-navy);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.site-body.page-blog-detail .blog-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--prime-muted);
    font-weight: 600;
}

.site-body.page-blog-detail .blog-detail-meta-sep {
    opacity: 0.5;
}

.site-body.page-blog-detail .blog-detail-article {
    padding: 40px 0 72px;
}

.site-body.page-blog-detail .blog-detail-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.site-body.page-blog-detail .blog-detail-featured {
    margin: 0 0 32px;
    border-radius: var(--prime-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16 / 9;
    background: var(--prime-blue-soft);
}

.site-body.page-blog-detail .blog-detail-featured img,
.site-body.page-blog-detail .blog-detail-featured .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-body.page-blog-detail .blog-detail-lead {
    font-size: clamp(18px, 2.2vw, 22px);
    line-height: 1.65;
    color: var(--prime-navy);
    font-weight: 600;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--prime-border);
}

.site-body.page-blog-detail .blog-detail-content p {
    font-size: 18px;
    line-height: 1.85;
    color: var(--text-2);
    margin-bottom: 24px;
}

.site-body.page-blog-detail .blog-detail-content p:last-child {
    margin-bottom: 0;
}

.site-body.page-blog-detail .blog-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--prime-border);
}

.site-body.page-blog-detail .blog-related {
    padding-top: 56px;
    padding-bottom: 72px;
}

.site-body.page-blog-detail .blog-related-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 36px;
}

.site-body.page-blog-detail .blog-related-head h2 {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: var(--prime-navy);
    margin-bottom: 10px;
}

.site-body.page-blog-detail .blog-related-head p {
    color: var(--prime-muted);
    line-height: 1.6;
    margin: 0;
}

.site-body.page-blog-detail .blog-related-grid {
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .site-body.page-blog-detail .blog-detail-head {
        padding: 28px 0 22px;
    }

    .site-body.page-blog-detail .blog-detail-article {
        padding: 28px 0 48px;
    }

    .site-body.page-blog-detail .blog-detail-content p {
        font-size: 16px;
        line-height: 1.75;
    }

    .site-body.page-blog-detail .blog-related {
        padding-top: 40px;
        padding-bottom: 56px;
    }
}

.site-body:not(.student-panel-body) .blog-article { max-width: 760px; }

.site-body:not(.student-panel-body) .blog-article-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-2);
    margin-bottom: 20px;
}

.site-body:not(.student-panel-body) .blog-article-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--prime-border);
}

/* ─── FAQ ─── */
.site-body:not(.student-panel-body) .faq-layout {
    max-width: 800px;
    margin: 0 auto;
}

.site-body:not(.student-panel-body) .faq-group { margin-bottom: 40px; }

.site-body:not(.student-panel-body) .faq-group-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--prime-navy);
    margin-bottom: 16px;
}

.site-body:not(.student-panel-body) .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-body:not(.student-panel-body) .faq-item {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    overflow: hidden;
}

.site-body:not(.student-panel-body) .faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 15px;
    color: var(--prime-navy);
    cursor: pointer;
    list-style: none;
}

.site-body:not(.student-panel-body) .faq-item summary::-webkit-details-marker { display: none; }

.site-body:not(.student-panel-body) .faq-item summary::after {
    content: '+';
    float: right;
    color: var(--prime-blue);
    font-weight: 700;
}

.site-body:not(.student-panel-body) .faq-item[open] summary::after { content: '−'; }

.site-body:not(.student-panel-body) .faq-item p {
    padding: 0 20px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--prime-muted);
}

@media (max-width: 1100px) {
    .site-body:not(.student-panel-body) .site-nav a {
        padding: 8px 7px;
        font-size: 12px;
    }
}

/* --- animations.css --- */
/* ═══════════════════════════════════════════════════════════
   Site-wide scroll reveal & motion (respects reduced motion)
   ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    .pj-hero-ring,
    .pj-hero-float-card,
    .pj-hero-img,
    .pj-play-btn,
    .sij-hero-ring,
    .sij-hero-float {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }

    [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] {
        opacity: 0;
        transition:
            opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    [data-reveal="fade-up"] { transform: translate3d(0, 36px, 0); }
    [data-reveal="fade-down"] { transform: translate3d(0, -28px, 0); }
    [data-reveal="fade-left"] { transform: translate3d(42px, 0, 0); }
    [data-reveal="fade-right"] { transform: translate3d(-42px, 0, 0); }
    [data-reveal="zoom-in"] { transform: scale(0.9); }
    [data-reveal="fade"] { transform: none; }

    [data-reveal].is-revealed {
        opacity: 1;
        transform: none;
    }

    /* Homepage — continuous hero motion */
    .page-home .pj-hero-ring-1 {
        animation: pj-spin-slow 18s linear infinite;
    }

    .page-home .pj-hero-ring-2 {
        animation: pj-float-y 5s ease-in-out infinite;
    }

    .page-home .pj-hero-dots-1 {
        animation: pj-float-y 7s ease-in-out infinite reverse;
    }

    .page-home .pj-hero-dots-2 {
        animation: pj-float-y 6s ease-in-out infinite;
    }

    .page-home .pj-hero-img-main {
        animation: pj-float-y 8s ease-in-out infinite;
    }

    .page-home .pj-hero-img-side {
        animation: pj-float-y 6.5s ease-in-out infinite reverse;
    }

    .page-home .pj-hero-rate {
        animation: pj-float-card 4.5s ease-in-out infinite;
    }

    .page-home .pj-hero-contact {
        animation: pj-float-card 5.2s ease-in-out infinite reverse;
    }

    .page-home .pj-play-btn {
        animation: pj-pulse-play 2.4s ease-in-out infinite;
    }

    .page-home .pj-level-card.is-revealed:hover,
    .page-home .cr-course-card.is-revealed:hover,
    .page-public .team-card.is-revealed:hover,
    .page-public .branch-card.is-revealed:hover,
    .page-public .blog-card.is-revealed:hover {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Study in Japan hero motion */
    .page-study-japan .sij-hero-ring-1 {
        animation: pj-spin-slow 20s linear infinite;
    }

    .page-study-japan .sij-hero-ring-2 {
        animation: pj-float-y 5.5s ease-in-out infinite;
    }

    .page-study-japan .sij-hero-float-1 { animation: pj-float-card 4s ease-in-out infinite; }
    .page-study-japan .sij-hero-float-2 { animation: pj-float-card 5s ease-in-out infinite reverse; }
    .page-study-japan .sij-hero-float-3 { animation: pj-float-card 4.8s ease-in-out infinite 0.5s; }

    /* Public page hero subtle zoom */
    .page-public .pp-hero .pg-head-bg .site-img,
    .page-study-japan .sij-hero-photo .site-img {
        transform: scale(1.06);
        transition: transform 8s ease-out;
    }

    .page-public .pp-hero.is-revealed .pg-head-bg .site-img,
    .page-study-japan .sij-hero.is-revealed .sij-hero-photo .site-img {
        transform: scale(1);
    }
}

@keyframes pj-float-y {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -12px, 0); }
}

@keyframes pj-float-card {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -8px, 0); }
}

@keyframes pj-spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pj-pulse-play {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.45);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 0 0 14px rgba(20, 184, 166, 0);
    }
}

/* Stats counter pop */
.page-home .pj-stat-card.is-revealed .pj-stat-value {
    display: inline-block;
    animation: pj-stat-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pj-stat-pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* CTA banner shine on reveal */
.page-public .pp-cta-banner.is-revealed::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.18) 50%, transparent 60%);
    transform: translateX(-120%);
    animation: pj-shine 1.1s ease-out 0.2s forwards;
    pointer-events: none;
}

.page-public .pp-cta-banner {
    position: relative;
    overflow: hidden;
}

@keyframes pj-shine {
    to { transform: translateX(120%); }
}

/* --- home.css --- */
/* ═══════════════════════════════════════════════════════════
   Home — PJ Institute style (teal · mint · clean)
   Scoped to .page-home — navbar unchanged
   ═══════════════════════════════════════════════════════════ */

.site-body.page-home {
    --pj-teal: #14b8a6;
    --pj-teal-light: #2dd4bf;
    --pj-teal-dark: #0d9488;
    --pj-teal-soft: #f0fdfa;
    --pj-teal-muted: #ccfbf1;
    --pj-navy: #1e293b;
    --pj-navy-dark: #0f172a;
    --pj-muted: #64748b;
    --pj-border: #e2e8f0;
    --pj-radius: 16px;
    --pj-radius-lg: 20px;
    --pj-play: #f97066;

    --prime-blue: var(--pj-teal);
    --prime-blue-dark: var(--pj-teal-dark);
    --prime-blue-soft: var(--pj-teal-soft);
    --prime-navy: var(--pj-navy);
    --prime-muted: var(--pj-muted);
    --prime-border: var(--pj-border);
    --prime-radius: var(--pj-radius);
    --grad: linear-gradient(135deg, var(--pj-teal) 0%, var(--pj-teal-light) 100%);
}

/* Home-only buttons & cards */
.site-body.page-home .btn-pj {
    background: var(--pj-teal);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.28);
}
.site-body.page-home .btn-pj:hover {
    background: var(--pj-teal-dark);
    box-shadow: 0 12px 28px rgba(20, 184, 166, 0.35);
}
.site-body.page-home .btn-pj-outline {
    color: var(--pj-teal);
    border-color: var(--pj-teal);
    border-radius: 999px;
    background: #fff;
}
.site-body.page-home .btn-pj-outline:hover {
    background: var(--pj-teal-soft);
    color: var(--pj-teal-dark);
}
.site-body.page-home .pj-course-cat { color: var(--pj-teal); }
.site-body.page-home .pj-course-price { color: #ef4444; font-weight: 800; }
.site-body.page-home .pj-course-link { color: var(--pj-teal); }
.site-body.page-home .pj-course-card {
    border-radius: var(--pj-radius);
    border-color: #f1f5f9;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}
.site-body.page-home .pj-course-card:hover {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border-color: var(--pj-teal-muted);
}
.site-body.page-home .pj-course-badge {
    background: var(--pj-teal);
    border-radius: 6px;
    font-size: 10px;
}

/* Footer on home — teal accents only */
.site-body.page-home .site-footer {
    border-top-color: var(--pj-teal);
    background: var(--pj-navy-dark);
}
.site-body.page-home .footer-col a:hover,
.site-body.page-home .footer-contact-list a:hover { color: var(--pj-teal-light); }
.site-body.page-home .footer-subscribe .btn-primary {
    background: var(--pj-teal);
    border-radius: 8px;
}
.site-body.page-home .footer-subscribe .btn-primary:hover { background: var(--pj-teal-dark); }

/* ─── Hero ─── */
.page-home .pj-hero {
    position: relative;
    background:
        radial-gradient(ellipse 70% 60% at 90% 10%, rgba(45, 212, 191, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 10% 90%, rgba(20, 184, 166, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #f0fdfa 0%, #ffffff 55%, #f8fffe 100%);
    padding: 56px 0 72px;
    overflow: hidden;
}

.page-home .pj-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-home .pj-hero-badge {
    display: inline-block;
    padding: 8px 18px;
    background: var(--pj-teal-soft);
    color: var(--pj-teal-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 999px;
    margin-bottom: 22px;
    border: 1px solid var(--pj-teal-muted);
}
.page-home .pj-hero-badge::before { display: none; }

.page-home .pj-hero-content h1 {
    font-size: clamp(34px, 4.8vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--pj-navy);
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    max-width: 520px;
}
.page-home .pj-hero-content h1 span { color: var(--pj-teal); }

.page-home .pj-hero-content p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--pj-muted);
    max-width: 440px;
    margin-bottom: 32px;
}

.page-home .pj-hero-visual {
    position: relative;
    min-height: 440px;
}

.page-home .pj-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(20, 184, 166, 0.25);
    pointer-events: none;
}
.page-home .pj-hero-ring-1 { width: 80px; height: 80px; top: 8%; right: 8%; }
.page-home .pj-hero-ring-2 { width: 48px; height: 48px; bottom: 18%; left: 6%; border-style: solid; background: rgba(45, 212, 191, 0.12); }

.page-home .pj-hero-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--pj-teal) 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.35;
}
.page-home .pj-hero-dots-1 { top: 4%; right: 28%; }
.page-home .pj-hero-dots-2 { bottom: 12%; left: 2%; }

.page-home .pj-hero-img {
    border-radius: var(--pj-radius-lg);
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.12);
}
.page-home .pj-hero-img img { width: 100%; height: 100%; object-fit: cover; }

.page-home .pj-hero-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 68%;
    height: 360px;
    z-index: 2;
    border: 4px solid #fff;
}

.page-home .pj-hero-img-side {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46%;
    height: 210px;
    z-index: 3;
    border: 4px solid #fff;
}

.page-home .pj-hero-float-card {
    position: absolute;
    background: #fff;
    border-radius: var(--pj-radius);
    padding: 14px 18px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    z-index: 4;
    border: 1px solid #f1f5f9;
}

.page-home .pj-hero-rate {
    top: 12%;
    left: 4%;
    text-align: center;
    min-width: 100px;
}
.page-home .pj-hero-rate strong {
    display: block;
    font-size: 26px;
    color: var(--pj-teal);
    line-height: 1.1;
    font-weight: 800;
}
.page-home .pj-hero-rate span {
    font-size: 11px;
    color: var(--pj-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.page-home .pj-hero-contact {
    bottom: 18%;
    right: -4px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-home .pj-hero-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pj-teal-soft);
    color: var(--pj-teal);
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-home .pj-hero-contact small { display: block; font-size: 11px; color: var(--pj-muted); font-weight: 600; }
.page-home .pj-hero-contact strong { font-size: 14px; color: var(--pj-navy); }

.page-home .pj-hero-content .btn.is-revealed {
    animation: pj-hero-btn-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pj-hero-btn-in {
    0% { transform: translateY(12px) scale(0.96); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.page-home .pj-checklist li {
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.page-home .pj-about-content.is-revealed .pj-checklist li {
    opacity: 1;
    transform: none;
}

.page-home .pj-about-content.is-revealed .pj-checklist li:nth-child(1) { transition-delay: 0.15s; }
.page-home .pj-about-content.is-revealed .pj-checklist li:nth-child(2) { transition-delay: 0.28s; }
.page-home .pj-about-content.is-revealed .pj-checklist li:nth-child(3) { transition-delay: 0.41s; }

.page-home .pj-about-ring {
    animation: pj-spin-slow 24s linear infinite;
}

.page-home .pj-about-badge {
    animation: pj-float-card 5s ease-in-out infinite;
}

.page-home .pj-testimonial-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.page-home .pj-testimonial-card:hover {
    transform: translateY(-4px);
}

/* ─── Sections ─── */
.page-home .pj-section { padding: 80px 0; }
.page-home .pj-section-soft {
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.page-home .pj-eyebrow {
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pj-teal);
    margin-bottom: 10px;
}
.page-home .pj-about-content .pj-eyebrow { text-align: left; }

.page-home .pj-section-title {
    text-align: center;
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    color: var(--pj-navy);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.page-home .pj-section-title span { color: var(--pj-teal); }

.page-home .pj-section-desc,
.page-home .pj-section-sub {
    text-align: center;
    color: var(--pj-muted);
    font-size: 15px;
    line-height: 1.65;
    max-width: 560px;
    margin: 0 auto 40px;
}

.page-home .pj-section-cta { text-align: center; margin-top: 44px; }

/* ─── Level cards ─── */
.page-home .pj-level-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.page-home .pj-level-card {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--pj-radius-lg);
    padding: 36px 28px 32px;
    text-align: center;
    transition: box-shadow 0.25s, transform 0.25s;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}
.page-home .pj-level-card:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
    transform: translateY(-6px);
}

.page-home .pj-level-icon--square {
    width: 72px;
    height: 72px;
    margin: 0 auto 22px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--level-color) 14%, white);
    color: var(--level-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    font-family: 'Noto Sans JP', 'Plus Jakarta Sans', sans-serif;
}

.page-home .pj-level-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--pj-navy);
    margin-bottom: 12px;
}
.page-home .pj-level-card p {
    font-size: 14px;
    color: var(--pj-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    min-height: 68px;
}

/* ─── Course tabs & grid ─── */
.page-home .pj-course-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 36px;
}
.page-home .pj-tab {
    padding: 10px 24px;
    border-radius: 999px;
    border: 1.5px solid var(--pj-border);
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--pj-muted);
    cursor: pointer;
    transition: all 0.2s;
}
.page-home .pj-tab.active,
.page-home .pj-tab:hover {
    background: var(--pj-teal);
    border-color: var(--pj-teal);
    color: #fff;
}

.page-home .pj-course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.page-home .pj-empty { text-align: center; padding: 56px; color: var(--pj-muted); }

/* ─── Stats ─── */
.page-home .pj-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.page-home .pj-stat-card {
    border-radius: var(--pj-radius-lg);
    padding: 32px 20px;
    text-align: center;
}
.page-home .pj-stat-card strong,
.page-home .pj-stat-card .pj-stat-value {
    display: block;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}
.page-home .pj-stat-mint .pj-stat-value { color: #059669; }
.page-home .pj-stat-pink .pj-stat-value { color: #ec4899; }
.page-home .pj-stat-purple .pj-stat-value { color: #8b5cf6; }
.page-home .pj-stat-yellow .pj-stat-value { color: #f59e0b; }

.page-home .pj-stat-card span {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.page-home .pj-stat-mint { background: #ecfdf5; }
.page-home .pj-stat-pink { background: #fdf2f8; }
.page-home .pj-stat-purple { background: #f5f3ff; }
.page-home .pj-stat-yellow { background: #fefce8; }

/* ─── About ─── */
.page-home .pj-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-home .pj-about-visual { position: relative; }
.page-home .pj-about-visual img {
    width: 100%;
    border-radius: var(--pj-radius-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.page-home .pj-about-shape {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 90px;
    height: 90px;
    background: var(--pj-teal-soft);
    border-radius: var(--pj-radius);
    z-index: 0;
}

.page-home .pj-about-ring {
    position: absolute;
    bottom: 10%;
    left: -24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 3px solid var(--pj-teal-muted);
    z-index: 0;
}

.page-home .pj-about-badge {
    position: absolute;
    bottom: 28px;
    right: -20px;
    background: #fff;
    padding: 16px 22px;
    border-radius: var(--pj-radius);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    text-align: center;
    z-index: 2;
    border: 1px solid #f1f5f9;
}
.page-home .pj-about-badge strong { display: block; font-size: 24px; color: var(--pj-teal); font-weight: 800; }
.page-home .pj-about-badge span { font-size: 12px; color: var(--pj-muted); font-weight: 600; }

.page-home .pj-about-content h2 {
    font-size: clamp(28px, 3.2vw, 38px);
    font-weight: 800;
    color: var(--pj-navy);
    line-height: 1.2;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    text-align: left;
}
.page-home .pj-about-content h2 span { color: var(--pj-teal); }
.page-home .pj-about-content > p { color: var(--pj-muted); line-height: 1.75; margin-bottom: 28px; font-size: 15px; }

.page-home .pj-checklist { list-style: none; margin-bottom: 32px; }
.page-home .pj-checklist li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--pj-navy);
    font-weight: 600;
}
.page-home .pj-check {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background: var(--pj-teal-soft);
    color: var(--pj-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

/* ─── Student Stories ─── */
.page-home .pj-section-stories {
    background: linear-gradient(180deg, #fff 0%, #f8fffe 100%);
}

.page-home .pj-stories-head {
    text-align: center;
    margin-bottom: 40px;
}

.page-home .pj-stories-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--pj-teal-soft);
    color: var(--pj-teal);
    margin-bottom: 14px;
}

.page-home .pj-stories-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
}

.page-home .pj-stories-dots span {
    width: 10px;
    height: 5px;
    border-radius: 999px;
    background: var(--pj-teal);
    opacity: 0.35;
}

.page-home .pj-stories-dots span:nth-child(3) {
    opacity: 1;
    width: 14px;
}

.page-home .pj-stories-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-home .pj-stories-viewport {
    flex: 1;
    overflow: hidden;
}

.page-home .pj-stories-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.page-home .pj-story-card {
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--pj-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    cursor: pointer;
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.page-home .pj-story-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.page-home .pj-story-photo {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--pj-teal-soft);
}

.page-home .pj-story-photo .site-img,
.page-home .pj-story-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-home .pj-story-photo-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--pj-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.35);
}

.page-home .pj-story-body {
    padding: 18px 18px 22px;
}

.page-home .pj-story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-bottom: 12px;
}

.page-home .pj-story-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--pj-muted);
}

.page-home .pj-story-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.45;
    color: var(--pj-navy);
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-home .pj-story-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--pj-teal);
}

.page-home .pj-stories-arrow {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--pj-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
    transition: transform 0.2s, background 0.2s;
}

.page-home .pj-stories-arrow:hover {
    background: var(--pj-teal-dark);
    transform: scale(1.05);
}

.page-home .pj-stories-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

/* Story modal */
.page-home .pj-story-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.page-home .pj-story-modal[hidden] {
    display: none;
}

body.pj-story-modal-open {
    overflow: hidden;
}

.page-home .pj-story-modal.is-open {
    display: flex;
}

.page-home .pj-story-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.page-home .pj-story-modal-dialog {
    position: relative;
    width: min(720px, 100%);
    max-height: min(88vh, 820px);
    overflow: auto;
    background: #fff;
    border-radius: var(--pj-radius-lg);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.2);
}

.page-home .pj-story-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--pj-navy);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.page-home .pj-story-modal-photo {
    aspect-ratio: 16/7;
    overflow: hidden;
    background: var(--pj-teal-soft);
}

.page-home .pj-story-modal-photo .site-img,
.page-home .pj-story-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-home .pj-story-modal-content {
    padding: 24px 28px 32px;
}

.page-home .pj-story-meta--modal {
    margin-bottom: 10px;
}

.page-home .pj-story-modal-content h2,
.page-home .pj-story-modal-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: var(--pj-navy);
    margin-bottom: 16px;
    line-height: 1.3;
    padding-right: 36px;
}

.page-home .pj-story-modal-text {
    color: var(--pj-muted);
    line-height: 1.75;
    font-size: 15px;
}

/* YouTube embeds */
.page-home .pj-section-youtube {
    padding-top: 0;
}

.page-home .pj-youtube-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.page-home .pj-youtube-embed {
    position: relative;
    border-radius: var(--pj-radius-lg);
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    aspect-ratio: 16/9;
}

.page-home .pj-youtube-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.page-home .pj-youtube-caption {
    margin: 12px 4px 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--pj-navy);
    line-height: 1.45;
}

/* ─── Consultation modal ─── */
.pj-consultation-modal {
    position: fixed;
    inset: 0;
    z-index: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.pj-consultation-modal[hidden] {
    display: none;
}

body.pj-consultation-open {
    overflow: hidden;
}

.pj-consultation-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
}

.pj-consultation-dialog {
    position: relative;
    width: min(520px, 100%);
    background: #fff;
    border-radius: 12px;
    padding: 28px 28px 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.pj-consultation-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #1e3a5f;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.15s, background 0.15s;
}

.pj-consultation-close:hover {
    background: #0f2744;
    transform: scale(1.05);
}

.pj-consultation-title {
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 800;
    color: #1e3a5f;
    margin: 0 48px 22px 0;
    line-height: 1.2;
}

.pj-consultation-form .form-group {
    margin-bottom: 14px;
}

.pj-consultation-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 15px;
    color: var(--pj-navy);
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pj-consultation-input:focus {
    outline: none;
    border-color: var(--pj-teal);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.pj-consultation-input::placeholder {
    color: #9ca3af;
}

.pj-consultation-field-error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #dc2626;
    font-weight: 600;
}

.pj-consultation-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pj-consultation-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--pj-muted);
    max-width: 58%;
    cursor: pointer;
}

.pj-consultation-check input {
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--pj-teal);
}

.pj-consultation-submit {
    border: none;
    border-radius: 8px;
    background: #f97066;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 22px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(249, 112, 102, 0.35);
    transition: background 0.15s, transform 0.15s, opacity 0.15s;
}

.pj-consultation-submit:hover:not(:disabled) {
    background: #ef5a4f;
    transform: translateY(-1px);
}

.pj-consultation-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

.pj-consultation-alert {
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.pj-consultation-alert--success {
    background: var(--pj-teal-soft);
    color: var(--pj-teal-dark);
    border: 1px solid var(--pj-teal-muted);
}

.pj-consultation-alert--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* ─── Testimonials ─── */
.page-home .pj-testimonials-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.5fr;
    gap: 48px;
    align-items: center;
}

.page-home .pj-testimonials-intro h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--pj-navy);
    margin-bottom: 16px;
    line-height: 1.2;
    text-align: left;
}
.page-home .pj-testimonials-intro p {
    color: var(--pj-muted);
    margin-bottom: 28px;
    line-height: 1.65;
    font-size: 15px;
}

.page-home .pj-testimonials-slider-wrap { overflow: hidden; }
.page-home .pj-testimonials-track { display: flex; gap: 20px; transition: transform 0.4s ease; }

.page-home .pj-testimonial-card {
    flex: 0 0 calc(50% - 10px);
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: var(--pj-radius-lg);
    padding: 28px;
    min-width: 0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
.page-home .pj-stars-top {
    display: block;
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 14px;
    letter-spacing: 1px;
}
.page-home .pj-testimonial-card > p {
    font-size: 14px;
    color: var(--pj-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.page-home .pj-testimonial-head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-home .pj-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--pj-teal-muted);
}
.page-home .pj-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.page-home .pj-testimonial-head strong { display: block; font-size: 14px; color: var(--pj-navy); font-weight: 700; }
.page-home .pj-testimonial-head span { font-size: 12px; color: var(--pj-teal-dark); font-weight: 600; }

.page-home .pj-slider-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.page-home .pj-slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s;
}
.page-home .pj-slider-dots button.active {
    background: var(--pj-teal);
    width: 28px;
    border-radius: 4px;
}

/* ─── Japan Pathways (Visa · Services · Jobs) ─── */
.page-home .pj-pathways {
    --path-card-bg: #fff;
    --path-card-border: #f1f5f9;
    --path-card-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --path-card-shadow-hover: 0 20px 48px rgba(15, 23, 42, 0.1);
}

.page-home .pj-pathways-row {
    padding: 72px 0;
}

.page-home .pj-pathways-row--services {
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.page-home .pj-pathways-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.page-home .pj-pathways-head .pj-section-desc {
    margin-top: 12px;
}

/* Visa hub — agency-style split showcases */
.page-home #stats,
.page-home #about,
.page-home #programs,
.page-home #courses,
.page-home #student-visa,
.page-home #job-visa,
.page-home #our-services,
.page-home #pjStoriesSection,
.page-home #testimonials {
    scroll-margin-top: calc(var(--header-h, 140px) + 16px);
}

.page-home .pj-visa-hub {
    background: linear-gradient(180deg, #f8fffe 0%, #ffffff 100%);
}

.page-home .pj-visa-hub-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 64px 0 16px;
}

.page-home .pj-visa-showcase {
    padding: 32px 0 48px;
}

.page-home .pj-visa-showcase--job {
    padding-bottom: 64px;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 100%);
}

.page-home .pj-visa-showcase-grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 420px;
    border-radius: var(--pj-radius-lg);
    overflow: hidden;
    border: 1px solid var(--path-card-border);
    box-shadow: var(--path-card-shadow-hover);
    background: #fff;
}

.page-home .pj-visa-showcase-grid--reverse {
    direction: rtl;
}

.page-home .pj-visa-showcase-grid--reverse > * {
    direction: ltr;
}

.page-home .pj-visa-showcase-media {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    background: var(--pj-teal-soft);
}

.page-home .pj-visa-showcase-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 320px;
}

.page-home .pj-visa-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.75) 0%, rgba(20, 184, 166, 0.35) 55%, transparent 100%);
    pointer-events: none;
}

.page-home .pj-visa-showcase-overlay--job {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(13, 148, 136, 0.45) 60%, transparent 100%);
}

.page-home .pj-visa-showcase-watermark {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 40px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
    pointer-events: none;
}

.page-home .pj-visa-showcase-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 44px;
}

.page-home .pj-visa-showcase-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--pj-teal-soft);
    color: var(--pj-teal-dark);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
}

.page-home .pj-visa-showcase-badge--job {
    background: #ecfdf5;
    color: #0f766e;
}

.page-home .pj-visa-showcase-content h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--pj-navy);
    margin-bottom: 10px;
    line-height: 1.15;
}

.page-home .pj-visa-showcase-lead {
    font-size: 15px;
    color: var(--pj-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.page-home .pj-visa-showcase-perks {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-home .pj-visa-showcase-perks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--pj-navy);
    line-height: 1.45;
    font-weight: 500;
}

.page-home .pj-visa-showcase-perks li span {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--pj-teal-soft);
    color: var(--pj-teal-dark);
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.page-home .pj-visa-showcase-sectors {
    margin-bottom: 22px;
    padding: 16px;
    border-radius: var(--pj-radius);
    background: #f8fffe;
    border: 1px solid #e6f7f3;
}

.page-home .pj-visa-showcase-sectors-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pj-teal-dark);
    margin-bottom: 10px;
}

.page-home .pj-visa-sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.page-home .pj-visa-sector-tag {
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--pj-teal-muted);
    font-size: 12px;
    font-weight: 700;
    color: var(--pj-navy);
}

.page-home .pj-visa-showcase-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

/* Services — clean chip grid */
.page-home .pj-pathways-services {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.page-home .pj-pathways-service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    background: var(--path-card-bg);
    border: 1px solid var(--path-card-border);
    border-radius: var(--pj-radius);
    box-shadow: var(--path-card-shadow);
    font-size: 13px;
    font-weight: 600;
    color: var(--pj-navy);
    line-height: 1.45;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-home .pj-pathways-service-item:hover {
    border-color: var(--pj-teal-muted);
    box-shadow: 0 8px 24px rgba(20, 184, 166, 0.1);
}

.page-home .pj-pathways-service-item .pj-check {
    flex-shrink: 0;
    margin-top: 1px;
}

.page-home .pj-pathways-tagline {
    max-width: 600px;
    margin: 28px auto 0;
    text-align: center;
    font-size: 14px;
    font-style: italic;
    color: var(--pj-muted);
    line-height: 1.6;
}

.page-home .pj-pathways-actions {
    margin-top: 24px;
    text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
    .page-home .pj-course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .page-home .pj-hero-grid,
    .page-home .pj-about-grid,
    .page-home .pj-testimonials-grid { grid-template-columns: 1fr; }
    .page-home .pj-hero-visual { min-height: 380px; margin-top: 40px; }
    .page-home .pj-level-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .page-home .pj-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .page-home .pj-testimonial-card { flex: 0 0 100%; }
    .page-home .pj-about-badge { right: 8px; }
    .page-home .pj-story-card { flex: 0 0 calc((100% - 24px) / 2); }
    .page-home .pj-visa-showcase-grid,
    .page-home .pj-visa-showcase-grid--reverse { grid-template-columns: 1fr; direction: ltr; min-height: 0; }
    .page-home .pj-visa-showcase-media { min-height: 260px; }
    .page-home .pj-visa-showcase-content { padding: 32px 28px; }
}

@media (max-width: 768px) {
    .page-home .pj-section { padding: 56px 0; }
    .page-home .pj-course-grid { grid-template-columns: 1fr; }
    .page-home .pj-hero-img-main { width: 82%; height: 300px; }
    .page-home .pj-hero-img-side { width: 52%; height: 170px; }
    .page-home .pj-hero-contact { right: 0; bottom: 24px; }
    .page-home .pj-hero-rate { left: 0; }
    .page-home .pj-stats-grid { grid-template-columns: 1fr 1fr; }
    .page-home .pj-story-card { flex: 0 0 100%; }
    .page-home .pj-stories-arrow { width: 38px; height: 38px; }
    .page-home .pj-youtube-grid { grid-template-columns: 1fr; }
    .page-home .pj-pathways-row { padding: 56px 0; }
    .page-home .pj-visa-hub-intro { padding: 48px 0 8px; }
    .page-home .pj-visa-showcase { padding: 20px 0 32px; }
    .page-home .pj-visa-showcase-photo { min-height: 220px; }
    .page-home .pj-visa-showcase-content { padding: 28px 22px; }
    .page-home .pj-visa-showcase-actions { flex-direction: column; }
    .page-home .pj-visa-showcase-actions .btn { width: 100%; text-align: center; }
    .page-home .pj-pathways-services { grid-template-columns: 1fr; }

    .pj-consultation-foot {
        flex-direction: column;
        align-items: stretch;
    }

    .pj-consultation-check {
        max-width: none;
    }

    .pj-consultation-submit {
        width: 100%;
        justify-content: center;
    }
}

/* --- courses.css --- */
/* ─── Course catalog & detail (teal theme) ─── */
.page-courses,
.page-course-detail {
    --cr-teal: #14b8a6;
    --cr-teal-dark: #0d9488;
    --cr-cream: #f7f3ed;
    --cr-ink: #0f172a;
    --cr-muted: #64748b;
    --cr-border: #e8e2d8;
    --cr-price: #e11d48;
    --cr-radius: 16px;
    --cr-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.page-courses .section,
.page-course-detail .section {
    background: var(--cr-cream);
}

.cr-breadcrumb {
    font-size: 13px;
    color: var(--cr-muted);
    margin-bottom: 12px;
}

.cr-breadcrumb a {
    color: var(--cr-teal-dark);
    text-decoration: none;
}

.cr-page-head {
    background: linear-gradient(135deg, #ecfdf5 0%, #f7f3ed 60%);
    padding: 48px 0 32px;
}

.cr-page-head h1 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--cr-ink);
    margin: 0 0 8px;
}

.cr-page-head p {
    color: var(--cr-muted);
    margin: 0;
    max-width: 640px;
}

/* Catalog layout */
.cr-catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
}

.cr-filter-card {
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    padding: 18px;
    margin-bottom: 16px;
    box-shadow: var(--cr-shadow);
}

.cr-filter-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: var(--cr-ink);
    margin: 0 0 14px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cr-search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--cr-border);
    border-radius: 10px;
    padding: 10px 12px;
    background: #faf8f5;
}

.cr-search-field input {
    border: 0;
    background: transparent;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.cr-filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--cr-ink);
}

.cr-filter-option input {
    accent-color: var(--cr-teal);
    width: 16px;
    height: 16px;
}

.cr-filter-option span {
    flex: 1;
}

.cr-filter-option em {
    font-style: normal;
    font-size: 12px;
    color: var(--cr-muted);
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 999px;
}

.cr-filter-form .btn-block {
    width: 100%;
    margin-top: 8px;
}

.btn-pj {
    background: var(--cr-teal);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-pj:hover {
    background: var(--cr-teal-dark);
    color: #fff;
}

.cr-catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.cr-catalog-toolbar p {
    margin: 0;
    font-weight: 600;
    color: var(--cr-ink);
}

.cr-sort-form select {
    border: 1px solid var(--cr-border);
    border-radius: 10px;
    padding: 10px 14px;
    background: #fff;
    font-size: 14px;
    min-width: 180px;
}

.cr-course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cr-course-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Course card */
.cr-course-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: var(--cr-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--cr-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cr-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.cr-course-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.cr-course-thumb img,
.cr-course-thumb .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cr-badge {
    position: absolute;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1;
}

.cr-badge-cat {
    top: 12px;
    left: 12px;
    background: #fce7f3;
    color: #be185d;
}

.cr-badge-duration {
    top: 12px;
    right: 12px;
    background: var(--cr-teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.cr-badge-featured {
    bottom: 12px;
    left: 12px;
    background: #f59e0b;
    color: #fff;
}

.cr-course-body {
    padding: 16px 18px 12px;
    flex: 1;
}

.cr-course-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.cr-level {
    font-size: 12px;
    font-weight: 700;
}

.cr-course-body h3 {
    font-size: 16px;
    line-height: 1.4;
    margin: 0 0 10px;
    color: var(--cr-ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cr-instructor {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--cr-muted);
    margin: 0 0 12px;
}

.cr-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--cr-price);
}

.cr-price-old {
    font-size: 14px;
    color: var(--cr-muted);
    text-decoration: line-through;
    margin-right: 6px;
    font-weight: 500;
}

.cr-course-foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px 16px;
    border-top: 1px solid var(--cr-border);
    font-size: 12px;
    color: var(--cr-muted);
}

.cr-course-foot span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Star rating */
.cr-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.cr-star {
    color: #e2e8f0;
    font-size: 14px;
    line-height: 1;
}

.cr-stars-lg .cr-star { font-size: 18px; }
.cr-stars-sm .cr-star { font-size: 12px; }

.cr-star.filled { color: #fbbf24; }
.cr-star.half {
    background: linear-gradient(90deg, #fbbf24 50%, #e2e8f0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cr-rating-count {
    font-size: 12px;
    color: var(--cr-muted);
    margin-left: 4px;
}

/* Empty state */
.cr-empty {
    text-align: center;
    padding: 60px 24px;
    background: #fff;
    border-radius: var(--cr-radius);
    border: 1px solid var(--cr-border);
}

.cr-empty-icon {
    color: var(--cr-teal);
    margin-bottom: 16px;
}

.cr-empty h3 {
    margin: 0 0 8px;
}

.cr-empty p {
    color: var(--cr-muted);
    margin: 0 0 20px;
}

/* Detail page */
.page-course-detail {
    background: var(--cr-cream);
}

.page-course-detail .cr-detail {
    padding: 28px 0 72px;
}

.page-course-detail .cr-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.page-course-detail .cr-breadcrumb-current {
    color: var(--cr-muted);
}

/* Hero header */
.cr-detail-hero {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 28px;
    align-items: start;
    margin-bottom: 28px;
    padding: 28px;
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: 20px;
    box-shadow: var(--cr-shadow);
}

.cr-detail-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.cr-pill {
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: color-mix(in srgb, var(--pill-color, var(--cr-teal)) 12%, white);
    color: var(--pill-color, var(--cr-teal-dark));
}

.cr-pill-cat {
    --pill-color: #db2777;
    background: #fce7f3;
    color: #be185d;
}

.cr-pill-featured {
    --pill-color: #d97706;
    background: #fef3c7;
    color: #b45309;
}

.cr-detail-hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.15rem);
    line-height: 1.25;
    color: var(--cr-ink);
    margin: 0 0 12px;
}

.cr-detail-lead {
    font-size: 16px;
    line-height: 1.65;
    color: var(--cr-muted);
    margin: 0 0 18px;
    max-width: 720px;
}

.cr-detail-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.cr-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--cr-muted);
    background: none;
    border: none;
    padding: 0;
    cursor: default;
    font-family: inherit;
}

.cr-meta-item strong {
    color: var(--cr-ink);
    font-weight: 600;
}

.cr-meta-rating {
    cursor: pointer;
    border-radius: 8px;
    padding: 4px 8px;
    margin: -4px -8px;
    transition: background 0.15s;
}

.cr-meta-rating:hover {
    background: #f8fafc;
}

.cr-no-rating {
    font-size: 13px;
    color: var(--cr-muted);
}

.cr-detail-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cr-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--cr-ink);
}

.cr-stat-chip svg {
    color: var(--cr-teal-dark);
    flex-shrink: 0;
}

.cr-detail-hero-aside .cr-preview-card {
    margin-bottom: 0;
}

.cr-preview-duration {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fbbf24;
    color: #78350f;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    z-index: 2;
}

.cr-play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.45) 100%);
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    font: inherit;
    padding: 0;
}

.cr-play-btn:hover {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.55) 100%);
}

.cr-play-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--cr-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s;
}

.cr-play-btn:hover .cr-play-icon {
    transform: scale(1.06);
}

/* Main grid */
.cr-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
}

.cr-detail-panel {
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: 20px;
    box-shadow: var(--cr-shadow);
    overflow: hidden;
}

.cr-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--cr-border);
    overflow-x: auto;
    background: #faf8f5;
    padding: 0 8px;
}

.cr-tab {
    background: none;
    border: none;
    padding: 16px 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cr-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cr-tab em {
    font-style: normal;
    font-size: 11px;
    background: #e2e8f0;
    color: var(--cr-ink);
    padding: 2px 7px;
    border-radius: 999px;
}

.cr-tab.active {
    color: var(--cr-teal-dark);
    border-bottom-color: var(--cr-teal);
    background: #fff;
}

.cr-tab.active em {
    background: #ccfbf1;
    color: var(--cr-teal-dark);
}

.cr-tab-panels {
    padding: 28px;
}

.cr-tab-panel {
    display: none;
}

.cr-tab-panel.active {
    display: block;
}

.cr-content-block {
    margin-bottom: 28px;
}

.cr-content-block:last-child {
    margin-bottom: 0;
}

.cr-tab-panel h2 {
    font-size: 18px;
    margin: 0 0 12px;
    color: var(--cr-ink);
}

.cr-prose {
    color: var(--cr-muted);
    line-height: 1.8;
    font-size: 15px;
}

.cr-learn-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.cr-learn-list li {
    position: relative;
    padding: 12px 14px 12px 42px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: var(--cr-ink);
    line-height: 1.55;
    font-size: 14px;
}

.cr-learn-list li::before {
    content: '✓';
    position: absolute;
    left: 14px;
    top: 50%;
    margin-top: -10px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    border-radius: 50%;
    background: #ccfbf1;
    color: var(--cr-teal-dark);
    font-size: 11px;
    font-weight: 800;
}

.cr-cert-block {
    display: flex;
    gap: 16px;
    padding: 18px;
    background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
    border: 1px solid #a7f3d0;
    border-radius: 14px;
}

.cr-cert-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    color: var(--cr-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cr-cert-block p {
    margin: 0;
    color: var(--cr-muted);
    line-height: 1.6;
    font-size: 14px;
}

.cr-curriculum-head {
    margin-bottom: 16px;
}

.cr-curriculum-head h2 {
    margin-bottom: 4px;
}

.cr-curriculum-head p {
    margin: 0;
    font-size: 14px;
    color: var(--cr-muted);
}

.cr-curriculum {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--cr-border);
    border-radius: 14px;
    overflow: hidden;
}

.cr-curriculum li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    transition: background 0.15s;
}

.cr-curriculum li:hover {
    background: #fafafa;
}

.cr-curriculum li:last-child {
    border-bottom: 0;
}

.cr-curriculum-num {
    font-size: 12px;
    font-weight: 800;
    color: var(--cr-teal);
    min-width: 28px;
}

.cr-curriculum-body strong {
    display: block;
    color: var(--cr-ink);
    font-size: 14px;
}

.cr-curriculum-body small {
    color: var(--cr-muted);
    font-size: 12px;
}

.cr-curriculum-tag {
    margin-left: auto;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.cr-curriculum-tag.preview {
    background: #ecfdf5;
    color: var(--cr-teal-dark);
}

.cr-curriculum-tag.locked {
    background: #f1f5f9;
    color: var(--cr-muted);
}

.cr-curriculum-desc {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--cr-muted);
}

.cr-curriculum-actions {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 2px;
}

.cr-curriculum-play {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 999px;
    padding: 7px 12px;
    background: #ecfdf5;
    color: var(--cr-teal-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
}

.cr-curriculum-play:hover {
    background: #ccfbf1;
    transform: translateY(-1px);
}

.cr-video-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.cr-video-modal.open {
    display: flex;
}

.cr-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
}

.cr-video-modal-dialog {
    position: relative;
    width: min(960px, 100%);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    z-index: 1;
}

.cr-video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--cr-border);
}

.cr-video-modal-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--cr-ink);
}

.cr-video-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--cr-ink);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.cr-video-modal-body {
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.cr-video-modal-body iframe,
.cr-video-modal-body video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    background: #000;
}

.cr-video-modal-body p {
    color: #cbd5e1;
    padding: 24px;
    margin: 0;
}

body.cr-modal-open {
    overflow: hidden;
}

.cr-instructor-card {
    display: flex;
    gap: 20px;
    padding: 22px;
    background: #f8fafc;
    border: 1px solid var(--cr-border);
    border-radius: 16px;
}

.cr-instructor-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    overflow: hidden;
    background: #ecfdf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--cr-teal-dark);
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.cr-instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cr-instructor-info h3 {
    margin: 0 0 4px;
    font-size: 20px;
    color: var(--cr-ink);
}

.cr-instructor-role {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--cr-teal-dark);
    font-weight: 600;
}

.cr-instructor-bio {
    margin: 0 0 14px;
    color: var(--cr-muted);
    line-height: 1.65;
    font-size: 14px;
}

.cr-instructor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cr-instructor-tags span {
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--cr-border);
    color: var(--cr-muted);
}

.cr-muted {
    color: var(--cr-muted);
}

/* Reviews */
.cr-review-summary {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid var(--cr-border);
    border-radius: 14px;
    margin-bottom: 20px;
}

.cr-review-score {
    text-align: center;
}

.cr-review-score strong {
    display: block;
    font-size: 44px;
    color: var(--cr-ink);
    line-height: 1;
    margin-bottom: 8px;
}

.cr-review-score > span {
    display: block;
    font-size: 13px;
    color: var(--cr-muted);
    margin-top: 8px;
}

.cr-review-bar-row {
    display: grid;
    grid-template-columns: 40px 1fr 28px;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12px;
    color: var(--cr-muted);
}

.cr-review-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.cr-review-bar span {
    display: block;
    height: 100%;
    background: #fbbf24;
    border-radius: 999px;
}

.cr-review-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cr-review-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--cr-border);
    border-radius: 14px;
}

.cr-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccfbf1;
    color: var(--cr-teal-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cr-review-content {
    flex: 1;
    min-width: 0;
}

.cr-review-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.cr-review-head time {
    margin-left: auto;
    font-size: 12px;
    color: var(--cr-muted);
}

.cr-review-content p {
    margin: 0;
    color: var(--cr-muted);
    line-height: 1.65;
    font-size: 14px;
}

.cr-empty-inline {
    padding: 40px 24px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px dashed var(--cr-border);
    text-align: center;
}

.cr-empty-stars {
    color: #e2e8f0;
    font-size: 22px;
    letter-spacing: 4px;
    margin-bottom: 12px;
}

.cr-empty-inline h3 {
    margin: 0 0 8px;
    color: var(--cr-ink);
}

.cr-empty-inline p {
    margin: 0;
    color: var(--cr-muted);
    font-size: 14px;
}

/* Sidebar */
.cr-detail-sidebar {
    position: sticky;
    top: 92px;
}

.cr-includes-card {
    background: #fff;
    border: 1px solid var(--cr-border);
    border-radius: 20px;
    padding: 22px;
    box-shadow: var(--cr-shadow);
}

.cr-includes-price {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.cr-includes-price strong {
    display: block;
    font-size: 32px;
    color: var(--cr-price);
    line-height: 1.1;
}

.cr-price-old {
    font-size: 15px;
    color: var(--cr-muted);
    text-decoration: line-through;
    margin-right: 8px;
}

.cr-price-save {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    background: #fef2f2;
    color: #dc2626;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.cr-price-note {
    display: block;
    font-size: 13px;
    color: var(--cr-muted);
    margin-top: 4px;
}

.cr-enroll-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.cr-enroll-alert {
    font-size: 13px;
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
}

.btn-pj-enroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background: var(--cr-teal);
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(20, 184, 166, 0.28);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-pj-enroll:hover {
    background: var(--cr-teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(20, 184, 166, 0.35);
    color: #fff !important;
}

.btn-ghost-enroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--cr-border);
    background: #fff;
    color: var(--cr-ink) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
}

.btn-ghost-enroll:hover {
    border-color: var(--cr-teal);
    background: #f0fdfa;
    color: var(--cr-teal-dark) !important;
}

.enroll-note {
    font-size: 12px;
    color: var(--cr-muted);
    margin: 0;
    line-height: 1.5;
}

.cr-includes-card h3 {
    font-size: 15px;
    margin: 0 0 14px;
    color: var(--cr-ink);
}

.cr-includes-list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.cr-includes-list li {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}

.cr-includes-list li:last-child {
    border-bottom: 0;
}

.cr-include-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f0fdfa;
    color: var(--cr-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-include-label {
    color: var(--cr-muted);
}

.cr-includes-list strong {
    color: var(--cr-ink);
    font-weight: 600;
    text-align: right;
}

.cr-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--cr-border);
    font-size: 13px;
    color: var(--cr-muted);
}

.cr-share-links {
    display: flex;
    gap: 8px;
}

.cr-share-links a {
    width: 34px;
    height: 34px;
    border: 1px solid var(--cr-border);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--cr-muted);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.cr-share-links a:hover {
    border-color: var(--cr-teal);
    color: var(--cr-teal-dark);
    background: #f0fdfa;
}

.cr-related {
    margin-top: 48px;
    padding-top: 8px;
}

.cr-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.cr-related-head h2 {
    font-size: 22px;
    margin: 0;
    color: var(--cr-ink);
}

.cr-related-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--cr-teal-dark);
    text-decoration: none;
}

.cr-related-link:hover {
    text-decoration: underline;
}

.cr-preview-card {
    position: relative;
    border-radius: var(--cr-radius);
    overflow: hidden;
    box-shadow: var(--cr-shadow);
}

.cr-preview-card img,
.cr-preview-card .site-img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}

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

/* Student review form */
.student-review-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 4px;
}

.student-review-stars label {
    cursor: pointer;
}

.student-review-stars input {
    display: none;
}

.student-review-stars span {
    font-size: 28px;
    color: #e2e8f0;
    transition: color 0.15s;
}

.student-review-stars label:hover span,
.student-review-stars label:hover ~ label span,
.student-review-stars input:checked + span,
.student-review-stars label:has(input:checked) ~ label span {
    color: #fbbf24;
}

/* Responsive */
@media (max-width: 1100px) {
    .cr-course-grid,
    .cr-course-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .cr-detail-hero {
        grid-template-columns: 1fr;
    }

    .cr-detail-hero-aside {
        order: -1;
    }

    .cr-detail-grid {
        grid-template-columns: 1fr;
    }

    .cr-detail-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 900px) {
    .cr-catalog-layout {
        grid-template-columns: 1fr;
    }

    .cr-filters {
        order: 2;
    }
}

@media (max-width: 640px) {
    .cr-course-grid,
    .cr-course-grid-3 {
        grid-template-columns: 1fr;
    }

    .cr-review-summary {
        grid-template-columns: 1fr;
    }
}

/* --- public-pages.css --- */
/* ═══════════════════════════════════════════════════════════
   Public pages — shared layout (#1ab69d · Prime JLPT)
   Used by About, Branches, FAQ, Blog, Contact, Our Team
   ═══════════════════════════════════════════════════════════ */

.site-body.page-public {
    --pp-primary: #1ab69d;
    --pp-primary-dark: #159a87;
    --pp-primary-soft: #e8f8f4;
    --pp-primary-muted: #c5efe6;
}

.site-body.page-public:not(.student-panel-body) .pp-hero.pg-head-visual::after {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.84) 0%, rgba(26, 182, 157, 0.8) 100%);
}

.site-body.page-public .pp-section-title {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: var(--prime-navy);
    text-align: center;
    margin-bottom: 12px;
}

.site-body.page-public .pp-section-desc {
    text-align: center;
    color: var(--prime-muted);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.65;
}

/* CTA banner */
.site-body.page-public .pp-cta-banner {
    background: linear-gradient(135deg, #1ab69d 0%, #3ecfb8 100%);
    border-radius: var(--prime-radius);
    padding: 40px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    color: #fff;
    box-shadow: 0 12px 40px rgba(26, 182, 157, 0.25);
}

.site-body.page-public .pp-cta-banner h2 {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    margin-bottom: 8px;
    color: #fff;
}

.site-body.page-public .pp-cta-banner p {
    margin: 0;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 520px;
}

.site-body.page-public .pp-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-body.page-public .pp-cta-actions .btn-pj-white {
    background: #fff;
    color: var(--pp-primary-dark);
    border-radius: 8px;
    font-weight: 700;
    padding: 12px 24px;
    text-decoration: none;
    border: none;
}

.site-body.page-public .pp-cta-actions .btn-pj-white:hover {
    background: var(--pp-primary-soft);
}

/* Team grid */
.site-body.page-public .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.site-body.page-public .team-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow-xs);
    transition: box-shadow 0.2s, transform 0.2s;
}

.site-body.page-public .team-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.site-body.page-public .team-card-photo {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--pp-primary-soft);
}

.site-body.page-public .team-card-photo .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-body.page-public .team-card-body {
    padding: 20px 16px 24px;
}

.site-body.page-public .team-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--prime-navy);
    margin-bottom: 4px;
}

.site-body.page-public .team-card-body p {
    font-size: 13px;
    color: var(--pp-primary);
    font-weight: 600;
    margin: 0;
}

/* Empty state */
.site-body.page-public .pp-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border: 1px dashed var(--prime-border);
    border-radius: var(--prime-radius);
}

.site-body.page-public .pp-empty p {
    color: var(--prime-muted);
    margin-bottom: 20px;
}

.site-body.page-public .pp-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--pp-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 14px;
}

.site-body.page-public .pj-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.site-body.page-public .pj-about-visual {
    position: relative;
}

.site-body.page-public .pj-about-visual .site-img {
    width: 100%;
    border-radius: var(--prime-radius);
    display: block;
    box-shadow: var(--shadow);
}

.site-body.page-public .pj-about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.site-body.page-public .pj-about-badge strong {
    display: block;
    font-size: 22px;
    color: var(--pp-primary);
}

.site-body.page-public .pj-about-badge span {
    font-size: 12px;
    color: var(--prime-muted);
}

.site-body.page-public .pj-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.site-body.page-public .pj-stat-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    padding: 24px;
    text-align: center;
}

.site-body.page-public .pj-stat-card strong {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--pp-primary);
    margin-bottom: 4px;
}

.site-body.page-public .pj-stat-card span {
    font-size: 13px;
    color: var(--prime-muted);
}

.site-body.page-public .pj-level-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.site-body.page-public .pj-level-card {
    background: #fff;
    border: 1px solid var(--prime-border);
    border-radius: var(--prime-radius);
    padding: 28px;
    box-shadow: var(--shadow-xs);
}

.site-body.page-public .pj-level-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--pp-primary-soft);
    color: var(--level-color, var(--pp-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.site-body.page-public .pj-level-icon svg {
    width: 24px;
    height: 24px;
}

.site-body.page-public .pj-level-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--prime-navy);
}

.site-body.page-public .pj-level-card p {
    font-size: 14px;
    color: var(--prime-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .site-body.page-public .pj-about-grid,
    .site-body.page-public .pj-level-grid {
        grid-template-columns: 1fr;
    }

    .site-body.page-public .pj-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .site-body.page-public .pp-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .site-body.page-public .pp-cta-actions {
        justify-content: center;
        width: 100%;
    }
}

/* --- study-japan.css --- */
/* Study in Japan — #1ab69d brand (overrides global blue on this page) */
.site-body.page-study-japan {
    --sij-primary: #1ab69d;
    --sij-primary-dark: #159a87;
    --sij-primary-light: #3ecfb8;
    --sij-primary-soft: #e8f8f4;
    --sij-primary-muted: #c5efe6;
    --sij-navy: #18181b;
    --sij-muted: #52525b;
    --sij-border: #e4e4e7;
    --sij-radius: 12px;
    --sij-process-bg: #fffbeb;
    --sij-grad: linear-gradient(135deg, #1ab69d 0%, #3ecfb8 100%);

    /* Replace site-wide blue tokens */
    --primary: #1ab69d;
    --primary-hover: #159a87;
    --primary-soft: #e8f8f4;
    --primary-muted: #c5efe6;
    --prime-blue: #1ab69d;
    --prime-blue-dark: #159a87;
    --prime-blue-soft: #e8f8f4;
    --prime-cyan: #3ecfb8;
    --text-2: #159a87;
    --grad: linear-gradient(135deg, #1ab69d 0%, #3ecfb8 100%);
    --grad-soft: linear-gradient(160deg, #e8f8f4 0%, #ffffff 45%, #f8fffe 100%);
    --border-2: rgba(26, 182, 157, 0.14);
    --surface-2: rgba(232, 248, 244, 0.7);
    --surface-3: rgba(197, 239, 230, 0.5);
    --shadow-glow: 0 0 40px rgba(26, 182, 157, 0.2);
}

/* Override site-public blue buttons on this page */
.site-body.page-study-japan:not(.student-panel-body) .btn-pj,
.site-body.page-study-japan:not(.student-panel-body) .btn-pj.btn-pj {
    background: var(--sij-primary);
    color: #fff;
    border-radius: 6px;
    font-weight: 700;
    border: none;
    box-shadow: 0 6px 20px rgba(26, 182, 157, 0.3);
}
.site-body.page-study-japan:not(.student-panel-body) .btn-pj:hover,
.site-body.page-study-japan:not(.student-panel-body) .btn-pj.btn-pj:hover {
    background: var(--sij-primary-dark);
    color: #fff;
    box-shadow: 0 8px 24px rgba(26, 182, 157, 0.35);
    transform: translateY(-1px);
}
.site-body.page-study-japan:not(.student-panel-body) .btn-pj-outline {
    color: var(--sij-primary);
    border-color: var(--sij-primary);
}
.site-body.page-study-japan:not(.student-panel-body) .btn-pj-outline:hover {
    background: var(--sij-primary-soft);
    color: var(--sij-primary-dark);
}
.site-body.page-study-japan:not(.student-panel-body) .btn-pj-white {
    color: var(--sij-primary-dark);
}
.site-body.page-study-japan:not(.student-panel-body) .btn-pj-white:hover {
    background: var(--sij-primary-soft);
}

.site-body.page-study-japan:not(.student-panel-body) .faq-item summary::after {
    color: var(--sij-primary);
}
.site-body.page-study-japan:not(.student-panel-body) .alert-success {
    background: var(--sij-primary-soft);
    color: var(--sij-primary-dark);
    border-color: var(--sij-primary-muted);
}
.site-body.page-study-japan:not(.student-panel-body) .contact-form input:focus,
.site-body.page-study-japan:not(.student-panel-body) .contact-form textarea:focus,
.site-body.page-study-japan:not(.student-panel-body) .sij-contact-form input:focus,
.site-body.page-study-japan:not(.student-panel-body) .sij-contact-form textarea:focus {
    border-color: var(--sij-primary);
    box-shadow: 0 0 0 3px rgba(26, 182, 157, 0.15);
}

.page-study-japan .btn-pj {
    background: var(--sij-primary);
    border-radius: 6px;
    font-weight: 700;
    color: #fff;
    border: none;
    padding: 14px 28px;
    box-shadow: 0 6px 20px rgba(26, 182, 157, 0.3);
    transition: background 0.2s, transform 0.2s;
}
.page-study-japan .btn-pj:hover {
    background: var(--sij-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}
.page-study-japan .btn-pj-lg { padding: 16px 32px; font-size: 15px; }

/* Nav active link on this page */
.site-body.page-study-japan:not(.student-panel-body) .site-nav a.active,
.site-body.page-study-japan:not(.student-panel-body) .site-nav-dropdown.is-active .site-nav-dropdown-toggle,
.site-body.page-study-japan:not(.student-panel-body) .site-nav-dropdown-toggle.active {
    color: var(--sij-primary);
    background: var(--sij-primary-soft);
}

/* ─── Hero ─── */
.page-study-japan .sij-hero {
    background: linear-gradient(180deg, #f7fdfb 0%, #ffffff 100%);
    padding: 40px 0 56px;
    overflow: hidden;
}

.page-study-japan .sij-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.page-study-japan .sij-hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #fff;
    color: var(--sij-primary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 18px;
    border: 1px solid var(--sij-primary-muted);
}

.page-study-japan .sij-hero-content h1 {
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--sij-navy);
    margin-bottom: 18px;
}

.page-study-japan .sij-hero-content p {
    font-size: 16px;
    color: var(--sij-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

.page-study-japan .sij-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 420px;
}

.page-study-japan .sij-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed var(--sij-primary-muted);
    pointer-events: none;
}
.page-study-japan .sij-hero-ring-1 { width: 380px; height: 380px; }
.page-study-japan .sij-hero-ring-2 {
    width: 320px; height: 320px;
    border-style: solid;
    border-color: var(--sij-primary-soft);
    background: var(--sij-primary-soft);
}

.page-study-japan .sij-hero-photo {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: 0 16px 48px rgba(26, 182, 157, 0.2);
}

.page-study-japan .sij-hero-photo .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-study-japan .sij-hero-float {
    position: absolute;
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--sij-primary-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-size: 22px;
}
.page-study-japan .sij-hero-float-1 { top: 12%; right: 8%; }
.page-study-japan .sij-hero-float-2 { top: 42%; right: 0; }
.page-study-japan .sij-hero-float-3 { bottom: 18%; right: 12%; }

.page-study-japan .sij-tag {
    display: inline-block;
    padding: 5px 12px;
    background: var(--sij-primary);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 14px;
}

/* ─── Sections ─── */
.page-study-japan .sij-section { padding: 56px 0; }
.page-study-japan .sij-section-soft { background: #fafafa; }

.page-study-japan .sij-section-head {
    text-align: center;
    margin-bottom: 32px;
}
.page-study-japan .sij-section-head h2,
.page-study-japan .sij-section-title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--sij-navy);
    margin-bottom: 10px;
    text-align: center;
}
.page-study-japan .sij-section-head p {
    color: var(--sij-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ─── Partner card ─── */
.page-study-japan .sij-partner-featured {
    max-width: 720px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--sij-border);
    border-radius: var(--sij-radius);
    padding: 36px 48px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.page-study-japan .sij-partner-featured .site-img {
    max-height: 64px;
    width: auto;
    margin: 0 auto 16px;
    object-fit: contain;
}
.page-study-japan .sij-partner-featured h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--sij-navy);
    margin-bottom: 8px;
}
.page-study-japan .sij-partner-featured p {
    font-size: 14px;
    color: var(--sij-muted);
    margin: 0;
}

/* ─── Split / Collage ─── */
.page-study-japan .sij-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.page-study-japan .sij-split-reverse .sij-split-visual { order: 2; }
.page-study-japan .sij-split-reverse .sij-split-content { order: 1; }

.page-study-japan .sij-split-content h2 {
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 800;
    color: var(--sij-navy);
    margin-bottom: 14px;
    line-height: 1.25;
}
.page-study-japan .sij-split-content p {
    color: var(--sij-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.page-study-japan .sij-split-visual {
    border-radius: var(--sij-radius);
    overflow: hidden;
}
.page-study-japan .sij-split-visual .site-img {
    width: 100%;
    display: block;
    object-fit: cover;
    border-radius: var(--sij-radius);
}

.page-study-japan .sij-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    min-height: 340px;
}
.page-study-japan .sij-collage-main {
    grid-row: 1 / 3;
    border-radius: var(--sij-radius);
    overflow: hidden;
}
.page-study-japan .sij-collage-main .site-img,
.page-study-japan .sij-collage-item .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 160px;
    border-radius: var(--sij-radius);
}
.page-study-japan .sij-collage-item { border-radius: var(--sij-radius); overflow: hidden; }

/* ─── Benefits box ─── */
.page-study-japan .sij-benefits-wrap { padding-top: 0; padding-bottom: 56px; }
.page-study-japan .sij-benefits {
    background: #fff;
    border: 1px solid var(--sij-border);
    border-radius: var(--sij-radius);
    padding: 32px 40px;
    max-width: 900px;
    margin: 0 auto;
}
.page-study-japan .sij-benefits h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--sij-navy);
    margin-bottom: 20px;
}
.page-study-japan .sij-benefits ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.page-study-japan .sij-benefits li {
    padding-left: 24px;
    position: relative;
    color: var(--sij-muted);
    line-height: 1.6;
}
.page-study-japan .sij-benefits li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--sij-primary);
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
}

/* ─── Career / Map ─── */
.page-study-japan .sij-map-visual {
    background: #fff;
    border: 1px solid var(--sij-border);
    border-radius: var(--sij-radius);
    padding: 16px;
}
.page-study-japan .sij-map-visual .site-img {
    object-fit: contain;
    aspect-ratio: 16/10;
}

/* ─── Process (yellow box) ─── */
.page-study-japan .sij-process-section {
    background: var(--sij-process-bg);
    padding: 56px 0;
}
.page-study-japan .sij-process-box {
    background: #fff;
    border-radius: var(--sij-radius);
    padding: 40px 48px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
}
.page-study-japan .sij-process-box .sij-section-title { margin-bottom: 28px; }

.page-study-japan .sij-process-list { display: grid; gap: 0; }

.page-study-japan .sij-process-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px 0;
    border-bottom: 1px solid var(--sij-border);
}
.page-study-japan .sij-process-item:last-child { border-bottom: none; padding-bottom: 0; }
.page-study-japan .sij-process-item:first-child { padding-top: 0; }

.page-study-japan .sij-process-num {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sij-primary);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-study-japan .sij-process-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--sij-navy);
    margin-bottom: 4px;
}
.page-study-japan .sij-process-item p {
    font-size: 14px;
    color: var(--sij-muted);
    line-height: 1.6;
    margin: 0;
}

/* ─── CTA center ─── */
.page-study-japan .sij-cta-center {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.page-study-japan .sij-cta-center h2 {
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    color: var(--sij-navy);
    margin-bottom: 24px;
    line-height: 1.3;
}

/* ─── Visa gallery ─── */
.page-study-japan .sij-visa-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}
.page-study-japan .sij-visa-item {
    border-radius: var(--sij-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.page-study-japan .sij-visa-item .site-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.page-study-japan .sij-visa-item:hover .site-img { transform: scale(1.04); }

/* ─── Inquiry ─── */
.page-study-japan .sij-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.page-study-japan .sij-contact-grid h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--sij-navy);
    margin-bottom: 12px;
    line-height: 1.25;
}
.page-study-japan .sij-contact-intro {
    color: var(--sij-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}
.page-study-japan .sij-contact-lines { display: grid; gap: 16px; }
.page-study-japan .sij-contact-line {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.page-study-japan .sij-contact-line-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sij-primary-soft);
    color: var(--sij-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.page-study-japan .sij-contact-line strong {
    display: block;
    font-size: 13px;
    color: var(--sij-navy);
    margin-bottom: 2px;
}
.page-study-japan .sij-contact-line p,
.page-study-japan .sij-contact-line a {
    font-size: 14px;
    color: var(--sij-muted);
    margin: 0;
    text-decoration: none;
}
.page-study-japan .sij-contact-line a:hover { color: var(--sij-primary); }

.page-study-japan .sij-contact-form {
    background: #fff;
    border: 1px solid var(--sij-border);
    border-radius: var(--sij-radius);
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.page-study-japan .sij-contact-form .form-group { margin-bottom: 16px; }
.page-study-japan .sij-contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sij-navy);
    margin-bottom: 6px;
}
.page-study-japan .sij-contact-form input,
.page-study-japan .sij-contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--sij-border);
    border-radius: 6px;
    font-size: 14px;
}
.page-study-japan .sij-contact-form input:focus,
.page-study-japan .sij-contact-form textarea:focus {
    outline: none;
    border-color: var(--sij-primary);
    box-shadow: 0 0 0 3px rgba(26, 182, 157, 0.15);
}
.page-study-japan .sij-contact-form .btn-pj { width: 100%; margin-top: 8px; }

/* ─── FAQ ─── */
.page-study-japan .sij-faq-list { max-width: 860px; margin: 32px auto 0; }
.page-study-japan .faq-item {
    background: #fff;
    border: 1px solid var(--sij-border);
    border-radius: var(--sij-radius);
    margin-bottom: 10px;
    overflow: hidden;
}
.page-study-japan .faq-item summary {
    padding: 18px 22px;
    font-weight: 700;
    color: var(--sij-navy);
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-right: 40px;
}
.page-study-japan .faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sij-primary);
    font-size: 20px;
    font-weight: 400;
}
.page-study-japan .faq-item[open] summary::after { content: '−'; }
.page-study-japan .faq-item summary::-webkit-details-marker { display: none; }
.page-study-japan .faq-item p {
    padding: 0 22px 18px;
    color: var(--sij-muted);
    line-height: 1.7;
    margin: 0;
}

.page-study-japan .sij-section {
    padding: 64px 0;
}

.page-study-japan .sij-section + .sij-section {
    border-top: 1px solid rgba(26, 182, 157, 0.08);
}

.page-study-japan .sij-partner-featured {
    border-color: var(--sij-primary-muted);
    box-shadow: 0 12px 40px rgba(26, 182, 157, 0.1);
}

.page-study-japan .sij-split-content p {
    font-size: 15px;
}

.page-study-japan .sij-hero-content h1 {
    letter-spacing: -0.02em;
}

.page-study-japan .sij-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.page-study-japan .sij-highlight-item {
    text-align: center;
    padding: 22px 16px;
    border-radius: var(--sij-radius);
    background: var(--sij-primary-soft);
    border: 1px solid var(--sij-primary-muted);
}

.page-study-japan .sij-highlight-item strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: var(--sij-primary-dark);
    line-height: 1.1;
}

.page-study-japan .sij-highlight-item span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--sij-muted);
}

.page-study-japan .sij-cta-text {
    max-width: 560px;
    margin: 0 auto 20px;
    color: var(--sij-muted);
    line-height: 1.6;
}

.page-study-japan .sij-section-lead,
.page-our-services .sij-section-lead {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.75;
    color: #64748b;
}

.page-our-services .sij-quote {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 32px;
    border-left: 4px solid #1ab69d;
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
}

@media (max-width: 900px) {
    .page-study-japan .sij-hero-grid,
    .page-study-japan .sij-split,
    .page-study-japan .sij-contact-grid {
        grid-template-columns: 1fr;
    }
    .page-study-japan .sij-split-reverse .sij-split-visual,
    .page-study-japan .sij-split-reverse .sij-split-content { order: unset; }
    .page-study-japan .sij-hero-visual { min-height: 320px; margin-top: 24px; }
    .page-study-japan .sij-hero-ring-1 { width: 300px; height: 300px; }
    .page-study-japan .sij-hero-ring-2 { width: 250px; height: 250px; }
    .page-study-japan .sij-hero-photo { width: 220px; height: 220px; }
    .page-study-japan .sij-visa-gallery { grid-template-columns: repeat(2, 1fr); }
    .page-study-japan .sij-collage { min-height: auto; }
    .page-study-japan .sij-collage-main { grid-row: auto; }
    .page-study-japan .sij-process-box { padding: 28px 24px; }
    .page-study-japan .sij-highlights { grid-template-columns: 1fr; max-width: 280px; }
}

