/* =========================================================
   Global Necs 株式会社 — site stylesheet
   ========================================================= */
:root {
  --blue: #316ad5;
  --blue-dark: #1f4aa0;
  --navy: #0f1e3d;
  --crimson: #c8102e;           /* Nepal accent, used sparingly */
  --ink: #1b2333;
  --muted: #5b6577;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 30, 61, .08);
  --max: 1160px;
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  --font-en: "Outfit", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .02em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; color: var(--navy); }
p { margin: 0 0 1em; }
.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(15, 30, 61, .05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; }
.brand img { height: 44px; width: 44px; }
.brand .brand-text { font-family: var(--font-en); font-size: 1.15rem; letter-spacing: .04em; }
.brand .brand-text small { display: block; font-size: .62rem; font-weight: 500; color: var(--muted); letter-spacing: .12em; }

.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); font-size: .92rem; font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--blue); }
.nav .nav-cta a { background: var(--blue); color: #fff; padding: 10px 20px; }
.nav .nav-cta a:hover { background: var(--blue-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 10px; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform .25s, opacity .25s; content: "";
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; left: 0; }
.nav-toggle span::after { top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-open .nav { max-height: 420px; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 4px; }
  .nav a { padding: 12px 16px; border-radius: 10px; }
  .nav .nav-cta a { text-align: center; margin-top: 8px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; transition: transform .15s, background .2s, color .2s, border-color .2s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { color: var(--blue); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-ghost { border-color: var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); color: #fff; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(115deg, rgba(15,30,61,.92) 0%, rgba(31,74,160,.82) 55%, rgba(49,106,213,.55) 100%),
    url("../img/header-image.jpg") center / cover no-repeat,
    url("/wp-content/uploads/2024/03/header-image-2.jpg") center / cover no-repeat,
    var(--navy);
}
.hero::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px;
  border-radius: 50%; border: 70px solid rgba(255,255,255,.06); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 120px 0 130px; max-width: 760px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-en); font-size: .82rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero .eyebrow { color: #cfe0ff; }
.hero h1 {
  color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 900;
  letter-spacing: .04em; margin: 18px 0 22px;
}
.hero h1 .accent { color: #ffd166; }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.12rem); color: rgba(255,255,255,.88); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.hero-badges span {
  font-size: .8rem; padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #e8efff;
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--blue-dark) 70%, var(--blue));
  color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px;
  border-radius: 50%; border: 50px solid rgba(255,255,255,.06);
}
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 10px 0 0; }
.page-hero .eyebrow { color: #cfe0ff; }
.breadcrumb { font-size: .8rem; color: rgba(255,255,255,.7); margin-top: 14px; }
.breadcrumb a { color: rgba(255,255,255,.85); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; margin-top: 12px; }
.section-head p { color: var(--muted); }
.section-head .eyebrow { justify-content: center; }

/* ---------- Intro / strengths ---------- */
.intro-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.intro-grid h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.intro-grid .text p { color: var(--muted); }
.strengths { display: grid; gap: 16px; }
.strength {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.strength .num {
  flex: none; font-family: var(--font-en); font-weight: 700; font-size: 1.4rem; color: var(--blue);
  width: 52px; height: 52px; border-radius: 12px; background: var(--bg-soft);
  display: grid; place-items: center;
}
.strength h3 { font-size: 1.05rem; margin-bottom: 4px; }
.strength p { margin: 0; color: var(--muted); font-size: .93rem; }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,30,61,.12); }
.service .media {
  aspect-ratio: 16 / 10; background: linear-gradient(135deg, #dbe6fb, #f0f4fc);
  position: relative; overflow: hidden;
}
.service .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .media img { transform: scale(1.05); }
.service .tag {
  position: absolute; left: 16px; top: 16px; background: rgba(15,30,61,.85); color: #fff;
  font-size: .72rem; padding: 4px 12px; border-radius: 999px; letter-spacing: .08em;
}
.service .body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.service h3 { font-size: 1.2rem; }
.service p { color: var(--muted); font-size: .95rem; flex: 1; }
.service .more { font-weight: 700; font-size: .9rem; margin-top: 8px; }

/* ---------- Track record ---------- */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative;
}
.case::before {
  content: ""; position: absolute; left: 28px; top: 0; width: 46px; height: 4px;
  background: var(--blue); border-radius: 0 0 4px 4px;
}
.case .meta { font-size: .78rem; color: var(--blue); font-weight: 700; letter-spacing: .08em; }
.case h3 { font-size: 1.08rem; margin: 8px 0 12px; }
.case p { color: var(--muted); font-size: .93rem; }
.case .salary {
  display: flex; align-items: baseline; gap: 6px; padding-top: 16px; margin-top: 16px;
  border-top: 1px dashed var(--line); color: var(--navy);
}
.case .salary strong { font-family: var(--font-en); font-size: 1.9rem; color: var(--blue); line-height: 1; }
.case .salary small { color: var(--muted); font-size: .8rem; }
.center-cta { text-align: center; margin-top: 48px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { text-align: center; padding: 36px 26px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.member .photo {
  width: 136px; height: 136px; border-radius: 50%; margin: 0 auto 18px; overflow: hidden;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: 0 0 0 6px var(--bg-soft);
  display: grid; place-items: center; color: #fff; font-size: 2.4rem; font-weight: 700;
  position: relative;
}
.member .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.member .role { font-size: .78rem; color: var(--blue); font-weight: 700; letter-spacing: .1em; }
.member h3 { font-size: 1.25rem; margin: 4px 0 12px; }
.member p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- CEO message ---------- */
.ceo {
  display: grid; grid-template-columns: 340px 1fr; gap: 64px; align-items: center;
  background: #fff; border-radius: 24px; padding: 56px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.ceo::before {
  content: "“"; position: absolute; right: 40px; top: -30px;
  font-family: Georgia, serif; font-size: 16rem; line-height: 1; color: var(--bg-soft);
  pointer-events: none;
}
.ceo-photo { text-align: center; position: relative; z-index: 1; }
.photo-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden;
  background: linear-gradient(150deg, var(--blue), var(--navy));
  display: grid; place-items: center; color: #fff; font-size: 4.5rem; font-weight: 800;
  box-shadow: 18px 18px 0 var(--bg-soft);
}
.photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.ceo-name { margin-top: 30px; }
.ceo-name .role { display: block; font-size: .8rem; color: var(--blue); font-weight: 700; letter-spacing: .12em; }
.ceo-name strong { font-size: 1.5rem; color: var(--navy); }
.ceo-text { position: relative; z-index: 1; }
.ceo-text h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin: 12px 0 22px; }
.ceo-text p { color: #3a4456; }
.ceo-text .sign { margin-top: 26px; text-align: right; color: var(--navy); font-weight: 700; }
.ceo-history { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 40px; position: relative; z-index: 1; }
.ceo-history h3 { font-size: 1.1rem; margin-bottom: 24px; padding-left: 14px; border-left: 4px solid var(--blue); }
.timeline {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 48px;
  grid-template-rows: repeat(4, auto); grid-auto-flow: column;
}
.timeline li {
  display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline;
  padding: 14px 0 14px 22px; border-bottom: 1px dashed var(--line); position: relative;
}
.timeline li::before {
  content: ""; position: absolute; left: 0; top: 23px; width: 9px; height: 9px;
  border-radius: 50%; background: #fff; border: 2px solid var(--blue);
}
.timeline time { font-family: var(--font-en); font-weight: 600; color: var(--blue); font-size: .92rem; }
.timeline span { color: var(--ink); font-size: .95rem; }
.timeline li.now::before { background: var(--blue); }
.timeline li.now span { font-weight: 700; color: var(--navy); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 860px) {
  .ceo { grid-template-columns: 1fr; padding: 36px 26px; gap: 36px; }
  .ceo-photo { width: 100%; max-width: 240px; margin: 0 auto; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue), var(--blue-dark));
  color: #fff; border-radius: 24px; padding: 60px; display: grid;
  grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(255,255,255,.07);
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-contact { position: relative; z-index: 1; display: grid; gap: 12px; }
.cta-tel {
  display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25); border-radius: 14px; padding: 16px 20px; color: #fff;
}
.cta-tel:hover { background: rgba(255,255,255,.2); color: #fff; }
.cta-tel strong { font-family: var(--font-en); font-size: 1.6rem; letter-spacing: .04em; display: block; line-height: 1.2; }
.cta-tel small { font-size: .78rem; opacity: .85; }

/* ---------- Tables (company profile) ---------- */
.profile-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.profile-table th, .profile-table td { padding: 22px 28px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.profile-table tr:last-child th, .profile-table tr:last-child td { border-bottom: 0; }
.profile-table th { width: 28%; background: var(--bg-soft); color: var(--navy); font-weight: 700; font-size: .95rem; }
.profile-table td ul { margin: 0; padding-left: 1.2em; }
.profile-table td li { margin-bottom: 4px; }
.license { display: inline-block; font-size: .78rem; background: var(--bg-soft); color: var(--blue-dark); padding: 2px 10px; border-radius: 6px; margin-left: 6px; }
@media (max-width: 640px) {
  .profile-table th, .profile-table td { display: block; width: 100%; padding: 14px 20px; }
  .profile-table th { border-bottom: 0; padding-bottom: 6px; }
}

/* ---------- Map ---------- */
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; }

/* ---------- Principles (students) ---------- */
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { background: #fff; border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow); }
.principle .icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--blue); margin-bottom: 18px;
}
.principle .icon svg { width: 28px; height: 28px; }
.principle h3 { font-size: 1.12rem; }
.principle p { color: var(--muted); font-size: .94rem; margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; background: linear-gradient(135deg, #dbe6fb, #f0f4fc); }
.split .media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-card { background: var(--bg-soft); border-radius: var(--radius); padding: 24px 26px; }
.info-card h3 { font-size: .9rem; color: var(--blue); letter-spacing: .08em; margin-bottom: 6px; }
.info-card p { margin: 0; }
.info-card .big { font-family: var(--font-en); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.form { background: #fff; border-radius: 20px; padding: 40px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 22px; }
.form label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--navy); }
.req, .opt { font-size: .7rem; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; font-weight: 700; }
.req { background: var(--crimson); color: #fff; }
.opt { background: var(--line); color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 14px 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fbfcfe; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(49,106,213,.14); background: #fff;
}
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.form .consent input { width: 18px; height: 18px; margin-top: 5px; flex: none; }
.form .hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; font-size: .94rem; }
.alert-error { background: #fdecee; color: #8a1020; border: 1px solid #f6c6cd; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.2rem; margin-top: 2.4em; padding-left: 14px; border-left: 4px solid var(--blue); }
.prose p, .prose li { color: #3a4456; }
.prose ul { padding-left: 1.4em; }

/* ---------- Thanks / 404 ---------- */
.message-box { max-width: 640px; margin: 0 auto; text-align: center; padding: 40px 0; }
.message-box .icon-big {
  width: 84px; height: 84px; border-radius: 50%; background: var(--bg-soft); color: var(--blue);
  display: grid; place-items: center; margin: 0 auto 24px;
}
.message-box .icon-big svg { width: 40px; height: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 72px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.site-footer h4 { color: #fff; font-size: .85rem; letter-spacing: .14em; margin-bottom: 16px; font-family: var(--font-en); }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 44px; width: 44px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; font-family: var(--font-en); }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: rgba(255,255,255,.55);
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services, .cases, .team, .principles { grid-template-columns: 1fr 1fr; }
  .intro-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-band { grid-template-columns: 1fr; padding: 44px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .services, .cases, .team, .principles { grid-template-columns: 1fr; }
  .hero-inner { padding: 80px 0 90px; }
  .form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand .brand-text small { display: none; }
}

/* ---------- v2: placement flow ---------- */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li {
  display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; position: relative;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 44px; bottom: -15px; width: 2px; height: 14px; background: var(--blue); opacity: .4;
}
.step-no {
  flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-family: var(--font-en); font-weight: 700;
}
.steps h3 { font-size: 1.02rem; margin: 2px 0 2px; }
.steps p { margin: 0; color: var(--muted); font-size: .9rem; }
.steps-row { grid-template-columns: repeat(4, 1fr); }
.steps-row li { flex-direction: column; }
.steps-row li::after { display: none; }
.triangle { background: var(--bg-soft); border-radius: 24px; padding: 24px; }
.triangle svg { width: 100%; height: auto; font-family: var(--font); }

/* ---------- v2: partners ---------- */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.partner { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.partner .media { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #dbe6fb, #f0f4fc); overflow: hidden; }
.partner .media img { width: 100%; height: 100%; object-fit: cover; }
.partner .body { padding: 26px 28px 30px; }
.partner-tag { display: inline-block; font-size: .74rem; font-weight: 700; color: var(--crimson); background: #fdecee; padding: 3px 10px; border-radius: 6px; margin-bottom: 10px; }
.partner h3 { font-size: 1.15rem; margin-bottom: 2px; }
.partner .en { font-family: var(--font-en); color: var(--muted); font-size: .85rem; margin-bottom: 12px; }
.partner p { color: var(--muted); font-size: .94rem; }
.partner .more { font-weight: 700; font-size: .9rem; }

/* ---------- v2: job seekers ---------- */
.seeker {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: center;
  border: 2px solid var(--blue); border-radius: 24px; padding: 52px 56px; background: #fff;
}
.seeker h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 12px; }
.seeker p { color: var(--muted); }
.seeker-actions { display: grid; gap: 14px; }
.seeker-actions .btn { justify-content: center; }

/* ---------- v2: placeholders to fill in ---------- */
.todo { background: #fff3a8; color: #6b5300; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

@media (max-width: 980px) {
  .flow-grid, .partners, .seeker { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: 1fr 1fr; }
  .seeker { padding: 36px 28px; }
}
@media (max-width: 640px) {
  .steps-row { grid-template-columns: 1fr; }
  .steps-row li { flex-direction: row; }
}
img[src*="jlcc-school"] { object-position: center 22%; }
.fee-table th { width: auto; }
.fee-table tr:first-child th { background: var(--navy); color: #fff; }
.fee-table td small { color: var(--muted); }
@media (max-width: 640px) { .fee-table tr:first-child { display: none; } .fee-table td { border-bottom: 0; } .fee-table tr { display: block; border-bottom: 1px solid var(--line); padding: 8px 0; } }
.fee-table td:first-child, .fee-table th:first-child { white-space: nowrap; width: 150px; }
@media (max-width: 640px) { .fee-table td:first-child { width: auto; } }
