/* ============================================================
   Master Class株式会社 — Corporate Site
   ============================================================ */

:root {
  /* palette — monochrome base, restrained indigo accent */
  --ink:        #0b0b0d;
  --ink-2:      #1b1c20;
  --paper:      #ffffff;
  --paper-2:    #f6f6f7;
  --paper-3:    #efeff1;
  --line:       #e4e4e7;
  --muted:      #6b6e76;
  --muted-2:    #9a9da6;

  --accent:     #4f46e5;   /* indigo */
  --accent-2:   #6366f1;
  --school-a:   #2563eb;   /* AI MasterClass: blue → cyan */
  --school-b:   #06b6d4;
  --app-a:      #4f46e5;   /* Opt4: indigo → slate */
  --app-b:      #1e293b;

  --maxw: 1140px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11,11,13,.04), 0 8px 30px rgba(11,11,13,.06);
  --shadow-lg: 0 24px 70px rgba(11,11,13,.14);

  --ff-jp: "Noto Sans JP", system-ui, -apple-system, sans-serif;
  --ff-en: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--ff-jp);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

/* keep anchored sections clear of the fixed header */
section[id], main[id] { scroll-margin-top: 92px; }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
}
.brand-logo { height: 40px; width: auto; }

.header-right { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--paper); flex: 0 0 auto; }
.lang-switch button {
  font-family: var(--ff-en); font-weight: 700; font-size: 12.5px; letter-spacing: .03em; line-height: 1;
  padding: 6px 11px; border: 0; background: transparent; color: var(--muted); cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-switch button.is-active { background: var(--ink); color: #fff; }
.lang-switch button:not(.is-active):hover { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 25px; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  position: relative; transition: color .2s ease;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1.5px; background: var(--ink);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.nav-cta):hover { color: var(--ink); }
.nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
.nav-cta:hover { background: var(--accent); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: 168px 0 96px;
  background: linear-gradient(180deg, #fbfbfc 0%, #ffffff 60%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,11,13,.05) 1px, transparent 0);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 90% at 50% 10%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 10%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb-1 { width: 460px; height: 460px; top: -120px; right: -80px;
  background: radial-gradient(circle, rgba(99,102,241,.45), transparent 70%); animation: float1 16s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; bottom: -140px; left: -60px;
  background: radial-gradient(circle, rgba(6,182,212,.30), transparent 70%); animation: float2 20s ease-in-out infinite; }
.hero-watermark {
  position: absolute; right: -40px; bottom: -60px; width: 360px; opacity: .04;
  transform: rotate(-4deg);
}
@keyframes float1 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-30px,30px); } }
@keyframes float2 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(30px,-24px); } }

.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.eyebrow {
  font-family: var(--ff-en); font-weight: 600; font-size: 12.5px;
  letter-spacing: .18em; color: var(--muted); margin-bottom: 26px;
}
.hero-title {
  font-weight: 900; font-size: clamp(40px, 7vw, 82px); line-height: 1.06;
  letter-spacing: -.01em; margin-bottom: 30px;
}
.hero-title .grad {
  background: linear-gradient(100deg, var(--accent), #06b6d4 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 640px; margin-bottom: 40px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; padding: 14px 28px; border-radius: 999px;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  border: 1.5px solid transparent;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(79,70,229,.28); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { padding: 17px 38px; font-size: 16px; }

/* ============================================================
   Sections (generic)
   ============================================================ */
.section { padding: 110px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-label {
  font-family: var(--ff-en); font-weight: 700; font-size: 12px; letter-spacing: .2em;
  color: var(--accent); display: inline-block; margin-bottom: 16px;
}
.section-title {
  font-weight: 900; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.18; letter-spacing: -.01em;
}
.section-sub { margin-top: 18px; color: var(--muted); font-size: 16px; }
.section-body { max-width: 720px; font-size: 17px; color: var(--ink-2); margin-bottom: 56px; }

/* About pillars */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pillar-mark {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--ink), var(--ink-2));
}
.pillar:nth-child(2) .pillar-mark { background: linear-gradient(135deg, var(--accent), #06b6d4); }
.pillar h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.pillar p { color: var(--muted); font-size: 15px; }

/* ============================================================
   Services
   ============================================================ */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.service-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--school-a), var(--school-b));
}
.service-card[data-accent="app"]::before { background: linear-gradient(90deg, var(--app-a), var(--app-b)); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d8d8dd; }

.service-top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.service-icon {
  width: 50px; height: 50px; border-radius: 13px; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--school-a), var(--school-b));
}
.service-card[data-accent="app"] .service-icon { background: linear-gradient(135deg, var(--app-a), var(--app-b)); }
.service-icon svg { width: 26px; height: 26px; }
/* Opt4 logo shown as an iOS-style app icon (rounded square) */
.service-icon-app { background: #fff !important; border: 1px solid var(--line); box-shadow: 0 4px 12px rgba(11,11,13,.12); overflow: hidden; }
.service-icon-app img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.service-tag { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: .02em; }

.service-name { font-family: var(--ff-en); font-weight: 800; font-size: 27px; letter-spacing: -.01em; margin-bottom: 8px; }
.service-name .service-jp { font-family: var(--ff-jp); font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 8px; letter-spacing: .04em; }
.service-tagline { font-weight: 700; color: var(--accent); margin-bottom: 12px; font-size: 15px; }
.service-desc { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }

.service-feats { list-style: none; display: grid; gap: 11px; margin-bottom: 26px; }
.service-feats li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--ink-2); }
.service-feats li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  background: var(--paper-3); border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.service-link {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--ff-en);
  font-weight: 700; font-size: 15px; color: var(--ink);
  border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.service-link:hover { color: var(--school-a); border-color: var(--school-a); }
.service-link span { transition: transform .2s ease; }
.service-link:hover span { transform: translate(2px,-2px); }

.service-foot { margin-top: 4px; }
.badge {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  background: var(--paper-3); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}

/* ============================================================
   Case Studies
   ============================================================ */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 30px 28px; transition: transform .3s ease, box-shadow .3s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent);
  background: #eef0ff; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.case-card h3 { font-size: 16.5px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.case-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.case-note { margin-top: 26px; font-size: 13px; color: var(--muted); }
.case-note a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.case-note a:hover { border-color: var(--accent); }

/* Featured case (app screenshot) */
.case-feature {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px 48px; margin-bottom: 22px; box-shadow: var(--shadow);
}
.case-feature-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.case-feature-tags .case-tag { margin-bottom: 0; }
.case-product { display: inline-block; font-family: "Inter", "Noto Sans JP", sans-serif; font-weight: 700; font-size: 13px; color: #fff; background: var(--ink); border: 1px solid var(--ink); padding: 5px 12px; border-radius: 999px; letter-spacing: .01em; }
.case-product--green { color: #15803d; background: #dcfce7; border-color: #bbf7d0; }
.case-feature-title { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; line-height: 1.4; margin: 0 0 12px; }
.case-feature-text p { font-size: 15px; color: var(--ink-2); }
.case-feature-meta {
  margin-top: 18px; font-size: 12.5px; font-weight: 600; color: var(--ink-2);
  display: inline-block; background: var(--paper-3); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}
.case-feature-img { display: flex; justify-content: center; }
.case-feature-img img {
  width: auto; max-height: 520px; border-radius: 30px;
  border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(11,11,13,.20);
}
.case-feature-img.poster img { max-height: 540px; border-radius: 16px; }
/* image on the left, text on the right */
.case-feature.reverse { grid-template-columns: .85fr 1.15fr; }
.case-feature.reverse .case-feature-img { order: -1; }
.case-feature-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-family: var(--ff-en); font-weight: 700; font-size: 14.5px; color: var(--ink);
  border-bottom: 2px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.case-feature-link:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================
   Company table
   ============================================================ */
.company-wrap { max-width: 820px; }
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--line); }
.company-table th, .company-table td { text-align: left; padding: 20px 8px; vertical-align: top; }
.company-table th {
  width: 180px; font-weight: 700; font-size: 14px; color: var(--muted);
  letter-spacing: .02em;
}
.company-table td { font-size: 15.5px; color: var(--ink); }
.company-table td .en {
  display: block; font-family: var(--ff-en); font-size: 13px; color: var(--muted); font-weight: 500; margin-top: 3px;
}

/* ============================================================
   Solutions (B2B / OEM)
   ============================================================ */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 32px; }
.sol-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease;
}
.sol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.sol-icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(135deg, var(--ink), var(--ink-2)); margin-bottom: 20px;
}
.sol-icon svg { width: 24px; height: 24px; }
.sol-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.sol-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 18px; }
.sol-target {
  display: inline-block; font-size: 12.5px; font-weight: 600; color: var(--accent);
  background: #eef0ff; padding: 6px 13px; border-radius: 999px;
}
.sol-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, #0b0b0d, #232433); color: #fff;
  border-radius: var(--radius); padding: 36px 44px;
}
.sol-cta-text h3 { font-size: 21px; font-weight: 700; margin-bottom: 6px; }
.sol-cta-text p { color: #b9bbc4; font-size: 14.5px; }
.sol-cta .btn-primary { background: #fff; color: var(--ink); white-space: nowrap; }
.sol-cta .btn-primary:hover { background: var(--accent); color: #fff; }

/* ---- 専門学校向け banner (priority target) ---- */
.school-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f4f5ff 0%, #edf6ff 100%);
  border: 1px solid #e2e4ff; border-radius: var(--radius);
  padding: 44px 48px; margin-bottom: 26px;
}
.school-banner::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--accent), #06b6d4);
}
.school-eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--accent);
  background: #fff; border: 1px solid #e2e4ff; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.school-title { font-size: clamp(21px, 2.8vw, 29px); font-weight: 900; line-height: 1.4; letter-spacing: -.01em; margin-bottom: 14px; }
.school-lead { font-size: 15px; color: var(--ink-2); max-width: 780px; margin-bottom: 28px; }
.school-benefits { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 34px; margin-bottom: 30px; }
.school-benefits li { position: relative; padding-left: 34px; font-size: 14px; color: var(--muted); line-height: 1.65; }
.school-benefits li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.school-benefits strong { display: block; font-weight: 700; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
.school-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.school-note { font-size: 13px; color: var(--muted); }

/* ============================================================
   News
   ============================================================ */
.news-list { list-style: none; max-width: 840px; }
.news-item {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  padding: 20px 4px; border-bottom: 1px solid var(--line);
}
.news-item:first-child { border-top: 1px solid var(--line); }
.news-item time { font-family: var(--ff-en); font-weight: 700; font-size: 14px; color: var(--ink); min-width: 88px; }
.news-cat {
  font-size: 12px; font-weight: 600; color: var(--accent);
  background: #eef0ff; padding: 3px 11px; border-radius: 999px;
}
.news-item p { font-size: 15px; color: var(--ink-2); flex: 1 1 300px; margin: 0; }
.news-item a { color: var(--accent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.news-item a:hover { border-color: var(--accent); }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--ink); color: #fff; text-align: center; padding: 120px 0; }
.contact .section-label { color: var(--accent-2); }
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact-title { font-weight: 900; font-size: clamp(30px, 5vw, 50px); margin: 14px 0 18px; letter-spacing: -.01em; }
.contact-text { color: #b9bbc4; font-size: 16px; margin-bottom: 38px; }
.contact .btn-primary { background: #fff; color: var(--ink); }
.contact .btn-primary:hover { background: var(--accent); color: #fff; box-shadow: 0 12px 34px rgba(79,70,229,.45); }
.contact-tel { margin-top: 20px; font-size: 14.5px; color: #b9bbc4; }
.contact-tel a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.35); transition: border-color .2s; }
.contact-tel a:hover { border-color: #fff; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #060608; color: #c7c8cf; padding: 64px 0 30px; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-logo { height: 34px; filter: invert(1) brightness(2); margin-bottom: 16px; }
.footer-tag { font-size: 14px; color: var(--muted-2); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; }
.footer-nav a { font-size: 14px; color: #c7c8cf; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { padding-top: 26px; }
.footer-bottom small { font-family: var(--ff-en); font-size: 12.5px; color: var(--muted-2); letter-spacing: .02em; }

/* ============================================================
   Reveal animation  (progressive enhancement)
   Content is visible by default; the hidden/animated state only
   applies when JS is active (html.js), so a slow or failed script
   can never leave the page blank.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 880px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.scrolled, .nav.open ~ * { }
  .nav.open {
    display: flex; position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 12px 24px 24px;
    background: rgba(255,255,255,.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open a { padding: 14px 0; width: 100%; border-bottom: 1px solid var(--paper-3); font-size: 16px; }
  .nav.open a::after { display: none; }
  .nav.open .nav-cta { margin-top: 14px; text-align: center; border-bottom: 0; }

  .pillars, .services, .case-grid, .sol-grid { grid-template-columns: 1fr; }
  .case-grid { gap: 14px; }
  .case-feature, .case-feature.reverse { grid-template-columns: 1fr; gap: 26px; padding: 30px 24px; }
  .case-feature-img img, .case-feature-img.poster img { max-height: 460px; }
  .hero { padding: 132px 0 72px; }
  .section { padding: 78px 0; }
  .company-table th { width: 120px; font-size: 13px; }
  .footer-inner { flex-direction: column; gap: 28px; }
  .brand-logo { height: 34px; }
  .sol-cta { padding: 28px 24px; gap: 18px; }
  .sol-cta .btn { width: 100%; }
  .news-item time { min-width: 72px; }
  .school-banner { padding: 30px 24px; }
  .school-benefits { grid-template-columns: 1fr; gap: 14px; }
  .school-cta .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .service-card, .pillar { padding: 28px 24px; }
  .hero-actions .btn { flex: 1 1 auto; }
}

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

/* ============================================================
   Print / PDF (downloadable export)
   ============================================================ */
@media print {
  @page { margin: 0; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
  html, body { background: #fff; }
  .site-header { position: static; background: #fff; box-shadow: none; border-bottom: 1px solid var(--line); }
  .nav, .nav-toggle { display: none !important; }
  .orb, .hero-watermark { display: none !important; }
  .hero { padding: 48px 0 56px; }
  .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
  .service-card, .case-feature, .pillar, .sol-card, .school-banner,
  .news-item, .company-table tr, .sol-cta, .contact, .case-feature-img { break-inside: avoid; }
  a { text-decoration: none; }
}
