/* =========================================================
   巧進重工株式会社 採用サイト  styles.css
   Design: Industrial Charcoal × Amber-Orange
   ========================================================= */

:root {
  --ink: #14181c;          /* near-black charcoal      */
  --ink-2: #2b3640;        /* steel blue-gray          */
  --base: #f5f3ee;         /* warm off-white           */
  --base-2: #ece8df;       /* deeper off-white         */
  --line: #d9d4c8;         /* hairline                 */
  --accent: #ff5a00;       /* industrial orange        */
  --accent-d: #c63d00;     /* deep orange              */
  --caution: #ffce00;      /* caution yellow (sparing) */
  --muted: #6b7178;
  --white: #ffffff;

  --serif: "Zen Old Mincho", serif;
  --jp: "Zen Kaku Gothic New", system-ui, sans-serif;
  --en: "Oswald", "Barlow Semi Condensed", sans-serif;
  --display: "Anton", "Oswald", sans-serif;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 80px);
}

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

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

body {
  font-family: var(--jp);
  color: var(--ink);
  background: var(--base);
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- utilities ---------- */
.wrap { width: min(100% - calc(var(--gut) * 2), var(--maxw)); margin-inline: auto; }
.en { font-family: var(--en); font-weight: 600; letter-spacing: .06em; }
.display { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: .01em; }
.accent { color: var(--accent); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--en);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
}

.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .num {
  font-family: var(--en);
  font-size: 13px; letter-spacing: .2em; color: var(--muted);
}
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4.6vw, 60px);
  line-height: .96;
  margin-top: 8px;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-head .ja {
  display: block;
  font-family: var(--jp);
  font-weight: 800;
  font-size: clamp(21px, 3.4vw, 34px);
  letter-spacing: .08em;
  margin-top: 10px;
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--en);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 14px;
  padding: 18px 30px;
  background: var(--ink);
  color: var(--base);
  border: 1px solid var(--ink);
  transition: .35s;
}
.btn .arw { transition: transform .35s; }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn:hover .arw { transform: translateX(6px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gut);
  mix-blend-mode: normal;
  transition: background .4s, padding .4s, box-shadow .4s;
}
.site-header.scrolled {
  background: rgba(245,243,238,.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; line-height: 1; }
.brand__logo { height: 40px; width: auto; display: block; transition: height .4s, filter .4s; }
.site-header.scrolled .brand__logo { height: 32px; }
.site-header:not(.scrolled).on-dark .brand__logo { filter: brightness(0) invert(1); }
.brand__mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: #fff;
  font-family: var(--display); font-size: 20px;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.brand__txt b { font-family: var(--jp); font-weight: 800; font-size: 17px; letter-spacing: .08em; display: block; }
.brand__txt span { font-family: var(--en); font-size: 10px; letter-spacing: .18em; color: var(--muted); }
.site-header:not(.scrolled).on-dark .brand__txt b { color: #fff; }
.site-header:not(.scrolled).on-dark .brand__txt span { color: rgba(255,255,255,.6); }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-size: 14px; font-weight: 600; letter-spacing: .04em; position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent); transition: width .3s;
}
.nav a:hover::after { width: 100%; }
.site-header:not(.scrolled).on-dark .nav > a { color: #fff; }
.nav .nav-cta {
  background: var(--accent); color: #fff; padding: 12px 22px;
  font-family: var(--en); letter-spacing: .12em; text-transform: uppercase;
}
.nav .nav-cta::after { display: none; }
.nav .nav-cta:hover { background: var(--ink); }

.burger { display: none; flex-direction: column; gap: 6px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; }
.burger span { height: 2px; width: 26px; background: var(--ink); transition: .3s; }
.site-header:not(.scrolled).on-dark .burger span { background: #fff; }

/* ---------- hero (white editorial / Shinmei-style framing) ---------- */
.hero { position: relative; background: #fff; padding: clamp(94px, 13vh, 140px) var(--gut) clamp(44px, 6vw, 78px); overflow: hidden; }
.hero__eyebrow {
  font-family: var(--en); font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  font-size: 13px; color: var(--accent); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
}
.hero__eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
.hero__en {
  font-family: var(--display); color: var(--ink); text-transform: uppercase;
  font-size: clamp(17px, 5.3vw, 92px); line-height: .92; letter-spacing: -.01em; white-space: nowrap;
}
.hero__en .accent { color: var(--accent); }
.hero__media {
  position: relative; margin-top: clamp(16px, 2.4vw, 32px);
  height: clamp(320px, 56vh, 600px); overflow: hidden; background: #1b2026;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s ease;
}
.hero__slide.active { opacity: 1; transform: scale(1); }
.hero__fade { position: absolute; left: 0; right: 0; bottom: 0; height: 48%; background: linear-gradient(to top, #fff 8%, rgba(255,255,255,0)); pointer-events: none; z-index: 2; }
.hero__scroll {
  position: absolute; top: clamp(16px, 2.4vw, 28px); right: clamp(12px, 1.8vw, 24px); z-index: 3;
  writing-mode: vertical-rl; font-family: var(--en); font-size: 11px; letter-spacing: .25em;
  color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 12px; text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.hero__scroll i { display: block; width: 1px; height: 56px; background: rgba(255,255,255,.55); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrollline 2.2s infinite; }
@keyframes scrollline { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(100%)} }
.hero__ja {
  position: relative; z-index: 2; font-family: var(--jp); font-weight: 900; color: var(--ink);
  font-size: clamp(26px, 6vw, 100px); line-height: 1.04; letter-spacing: .02em; white-space: nowrap;
  margin-top: clamp(-84px, -6.4vw, -42px);
}
.hero__ja .accent { color: var(--accent); }
@media (max-width: 760px) {
  .hero__ja { margin-top: clamp(-44px, -9vw, -22px); }
  .hero__scroll { display: none; }
}

/* ---------- concept ---------- */
.concept { padding: clamp(90px, 14vw, 180px) 0; position: relative; }
.concept__lead {
  font-family: var(--serif);
  font-size: clamp(23px, 4vw, 46px);
  line-height: 1.55; font-weight: 600; letter-spacing: .03em;
}
.concept__lead .mk { background: linear-gradient(transparent 62%, rgba(255,90,0,.22) 0); }
.concept__body { max-width: 800px; margin-top: 44px; font-family: var(--serif); font-weight: 400; font-size: clamp(18px, 2.1vw, 23px); line-height: 2.05; letter-spacing: .03em; color: var(--ink-2); }
.concept__body p + p { margin-top: 1.4em; }
.concept__end { margin-top: 1.7em !important; font-weight: 600; color: var(--ink); }
.concept__watermark {
  position: absolute; right: -2%; top: 0; font-family: var(--display);
  font-size: clamp(120px, 26vw, 360px); color: var(--ink); opacity: .035;
  pointer-events: none; line-height: 1; white-space: nowrap;
}

/* ---------- job information ---------- */
.jobs { padding: clamp(70px, 10vw, 130px) 0; background: var(--ink); color: var(--base); }
.jobs .sec-head h2 { color: #fff; }
.jobs .sec-head .ja { color: rgba(255,255,255,.7); }
.job-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.job-card { position: relative; overflow: hidden; min-height: clamp(380px, 44vw, 560px); display: flex; align-items: flex-end; isolation: isolate; }
.job-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s; }
.job-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,14,.1), rgba(10,12,14,.85)); }
.job-card:hover img { transform: scale(1.06); }
.job-card__in { padding: clamp(26px, 4vw, 46px); width: 100%; }
.job-card__no { font-family: var(--en); letter-spacing: .2em; font-size: 13px; color: var(--caution); }
.job-card__en { font-family: var(--display); font-size: clamp(34px, 5vw, 60px); text-transform: uppercase; line-height: 1; margin: 8px 0 6px; }
.job-card__name { font-family: var(--jp); font-weight: 900; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; letter-spacing: .05em; margin: 8px 0 8px; }
.job-card__ja { font-weight: 700; font-size: clamp(15px, 1.9vw, 18px); letter-spacing: .06em; color: rgba(255,255,255,.9); }
.job-card__txt { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 14px; max-width: 42ch; }
.job-card__link { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font-family: var(--en); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: #fff; }
.job-card__link .arw { transition: transform .35s; }
.job-card:hover .job-card__link .arw { transform: translateX(6px); }

/* ---------- reason / special banner ---------- */
.reason { position: relative; min-height: 70vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.reason__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.reason::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(10,12,14,.9) 0%, rgba(10,12,14,.5) 60%, rgba(255,90,0,.35) 100%); }
.reason__in { padding: clamp(80px, 12vw, 150px) 0; }
.reason h2 { font-family: var(--display); font-size: clamp(40px, 8vw, 110px); line-height: .95; text-transform: uppercase; }
.reason p { max-width: 560px; margin: 22px 0 34px; color: rgba(255,255,255,.85); }
.reason .reason__lead { font-family: var(--jp); font-weight: 800; font-size: clamp(18px, 2.4vw, 24px); color: #fff; margin: 24px 0 6px; letter-spacing: .04em; }

/* ---------- numbers ---------- */
.numbers { padding: clamp(80px, 12vw, 150px) 0; }
.num-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.num-cell { background: var(--base); padding: clamp(22px, 3vw, 38px) clamp(18px, 2.4vw, 30px); }
.num-cell .lbl { font-size: 12px; letter-spacing: .12em; color: var(--muted); }
.num-cell .val { font-family: var(--display); font-size: clamp(40px, 6vw, 72px); line-height: 1; margin-top: 10px; }
.num-cell .val small { font-family: var(--jp); font-weight: 700; font-size: 20px; margin-left: 4px; }
.num-cell .val .u { color: var(--accent); }

/* ---------- information links ---------- */
.info { padding: clamp(70px, 10vw, 120px) 0; background: var(--base-2); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 10px; transition: .35s; }
.info-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(20,24,28,.5); }
.info-card .no { font-family: var(--en); color: var(--accent); letter-spacing: .2em; font-size: 13px; }
.info-card .en { font-family: var(--display); font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; line-height: 1; }
.info-card .ja { font-weight: 700; }
.info-card .arw { margin-top: auto; align-self: flex-end; font-family: var(--en); }

/* ---------- entry ---------- */
.entry { padding: clamp(80px, 12vw, 150px) 0; background: var(--ink); color: var(--base); position: relative; overflow: hidden; }
.entry .sec-head h2 { color: #fff; }
.entry__watermark { position: absolute; left: 50%; top: 0; transform: translateX(-50%); font-family: var(--display); font-size: clamp(140px, 30vw, 420px); opacity: .04; pointer-events: none; }
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.entry-card { border: 1px solid rgba(255,255,255,.18); padding: clamp(30px, 4vw, 48px); display: flex; flex-direction: column; min-height: 280px; transition: .35s; }
.entry-card:hover { background: var(--accent); border-color: var(--accent); }
.entry-card .tag { font-family: var(--en); letter-spacing: .2em; font-size: 12px; color: var(--caution); }
.entry-card:hover .tag { color: #fff; }
.entry-card h3 { font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; margin: 14px 0 10px; letter-spacing: .04em; }
.entry-card p { font-size: 14px; color: rgba(255,255,255,.7); }
.entry-card:hover p { color: rgba(255,255,255,.9); }
.entry-card .go { margin-top: auto; font-family: var(--en); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; display: inline-flex; align-items: center; gap: 10px; }

/* ---------- footer ---------- */
.site-footer { background: #0d1013; color: rgba(255,255,255,.7); padding: clamp(60px, 8vw, 90px) 0 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand b { font-family: var(--jp); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: .08em; }
.footer-brand span { display: block; font-family: var(--en); letter-spacing: .18em; font-size: 11px; margin-top: 6px; }
.footer-brand .cc { margin-top: 18px; font-size: 13px; max-width: 38ch; }
.footer-cols { display: flex; gap: clamp(30px, 6vw, 80px); flex-wrap: wrap; }
.footer-cols h4 { font-family: var(--en); letter-spacing: .16em; font-size: 12px; color: var(--accent); margin-bottom: 16px; text-transform: uppercase; }
.footer-cols ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-cols a { font-size: 14px; color: rgba(255,255,255,.72); }
.footer-cols a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 12px; letter-spacing: .04em; }
.footer-bottom .en { color: rgba(255,255,255,.5); }

/* ---------- sub page hero ---------- */
.page-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,14,.5), rgba(10,12,14,.85)); }
.page-hero__in { padding: 0 var(--gut) clamp(50px, 7vw, 90px); width: 100%; }
.page-hero .num { font-family: var(--en); letter-spacing: .2em; color: var(--caution); font-size: 13px; }
.page-hero h1 { font-family: var(--display); font-size: clamp(48px, 10vw, 130px); line-height: .92; text-transform: uppercase; margin-top: 10px; }
.page-hero .ja { font-weight: 700; font-size: clamp(16px, 2.4vw, 22px); letter-spacing: .1em; margin-top: 14px; }

.breadcrumb { padding: 18px var(--gut); font-size: 12px; color: var(--muted); letter-spacing: .06em; background: var(--base-2); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- generic content ---------- */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section--alt { background: var(--base-2); }
.section--ink { background: var(--ink); color: var(--base); }
.section--ink .sec-head h2 { color: #fff; }
.section--ink .sec-head .ja { color: rgba(255,255,255,.7); }

.lead-row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.lead-row.rev { direction: rtl; } .lead-row.rev > * { direction: ltr; }
.lead-row__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.lead-row h3 { font-size: clamp(22px, 3.4vw, 34px); font-weight: 800; line-height: 1.4; letter-spacing: .03em; margin-bottom: 20px; }
.lead-row h3 .accent { display: block; font-family: var(--en); font-size: 14px; letter-spacing: .2em; margin-bottom: 12px; }
.lead-row p { color: var(--ink-2); }
.lead-row p + p { margin-top: 1.2em; }

/* feature list (pillars / wanted) */
.feature-list { display: grid; gap: 24px; }
.feature-item { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); padding: clamp(26px, 3.4vw, 44px); background: var(--white); border: 1px solid var(--line); }
.section--ink .feature-item { background: #1b2026; border-color: rgba(255,255,255,.1); }
.feature-item .idx { font-family: var(--display); font-size: clamp(44px, 6vw, 84px); color: var(--accent); line-height: .8; }
.feature-item h4 { font-size: clamp(18px, 2.6vw, 24px); font-weight: 800; margin-bottom: 12px; letter-spacing: .03em; }
.section--ink .feature-item p { color: rgba(255,255,255,.78); }

/* pillars 3col */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 3vw, 38px); }
.pillar .pn { font-family: var(--display); font-size: 30px; color: var(--accent); }
.pillar h4 { font-size: 19px; font-weight: 800; margin: 8px 0 12px; }
.pillar p { font-size: 14px; color: var(--ink-2); }

/* voice / message cards */
.voices { display: grid; gap: 28px; }
.voice { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.voice:nth-child(even) { grid-template-columns: 1.2fr .8fr; }
.voice:nth-child(even) .voice__media { order: 2; }
.voice__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.voice__body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.voice__cat { font-family: var(--en); letter-spacing: .18em; font-size: 12px; color: var(--accent); text-transform: uppercase; }
.voice__title { font-family: var(--serif); font-size: clamp(22px, 3vw, 32px); font-weight: 600; line-height: 1.45; margin: 14px 0 18px; }
.voice__txt { font-size: 14.5px; color: var(--ink-2); }
.voice__txt p + p { margin-top: 1em; }
.voice__who { margin-top: 22px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.voice__who::before { content: "── "; }

/* spec table */
.spec { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: 14.5px; }
.spec th, .spec td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 200px; background: var(--base-2); font-weight: 700; letter-spacing: .04em; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* two-col compare table (募集要項) */
.compare { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: 14px; }
.compare th, .compare td { padding: 15px 18px; border: 1px solid var(--line); vertical-align: top; text-align: left; }
.compare thead th { background: var(--ink); color: #fff; font-family: var(--jp); font-weight: 700; letter-spacing: .04em; }
.compare thead th:first-child { background: var(--ink-2); }
.compare tbody th { background: var(--base-2); width: 150px; font-weight: 700; }

/* benefits groups */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.benefit { background: var(--white); border: 1px solid var(--line); padding: clamp(24px, 3vw, 36px); }
.benefit h4 { font-size: 18px; font-weight: 800; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; letter-spacing: .04em; }
.benefit h4 .ic { width: 36px; height: 36px; flex: none; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--display); font-size: 18px; clip-path: polygon(0 0,100% 0,100% 72%,72% 100%,0 100%); }
.benefit ul { list-style: none; display: grid; gap: 9px; }
.benefit li { position: relative; padding-left: 18px; font-size: 14px; color: var(--ink-2); }
.benefit li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 7px; background: var(--accent); }

/* cta strip */
.cta-strip { background: var(--accent); color: #fff; padding: clamp(50px, 7vw, 80px) 0; }
.cta-strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-strip h2 { font-family: var(--display); font-size: clamp(30px, 5vw, 56px); text-transform: uppercase; line-height: 1; }
.cta-strip p { margin-top: 10px; font-weight: 700; }
.cta-strip .btn { background: #fff; color: var(--ink); border-color: #fff; }
.cta-strip .btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(82vw, 360px); background: var(--ink); flex-direction: column; align-items: flex-start; justify-content: center; gap: 26px; padding: 80px 36px; transform: translateX(100%); transition: transform .4s; }
  .nav.open { transform: none; }
  .nav > a { color: #fff !important; font-size: 18px; }
  .burger { display: flex; }
  body.nav-open { overflow: hidden; }
  .job-grid, .num-grid, .info-grid, .entry-grid, .pillars, .benefits { grid-template-columns: 1fr; }
  .num-grid { grid-template-columns: 1fr 1fr; }
  .lead-row, .lead-row.rev { grid-template-columns: 1fr; direction: ltr; }
  .voice, .voice:nth-child(even) { grid-template-columns: 1fr; }
  .voice:nth-child(even) .voice__media { order: 0; }
  .spec th { width: 130px; }
  .footer-top { flex-direction: column; }
}
@media (max-width: 520px) {
  .num-grid { grid-template-columns: 1fr; }
  .feature-item { grid-template-columns: 1fr; }
}

/* ---------- WHY page ---------- */
.why-lead { font-family: var(--serif); font-weight: 600; font-size: clamp(24px, 4vw, 46px); line-height: 1.5; letter-spacing: .03em; }
.why-lead .mk { background: linear-gradient(transparent 60%, rgba(255,90,0,.24) 0); }
.why-q { display: inline-block; margin-top: 18px; font-family: var(--display); text-transform: uppercase; color: var(--accent); font-size: clamp(20px, 3vw, 32px); letter-spacing: .02em; }
.prose { max-width: 780px; font-family: var(--serif); font-weight: 400; font-size: clamp(16px, 1.9vw, 20px); line-height: 2.05; letter-spacing: .02em; color: var(--ink-2); }
.prose.center { margin-inline: auto; }
.prose p + p { margin-top: 1.45em; }
.prose strong { font-weight: 700; color: var(--ink); }
.section--ink .prose { color: rgba(255,255,255,.84); }
.section--ink .prose strong { color: #fff; }

.pullquote { margin: clamp(40px, 6vw, 76px) 0 0; padding-left: clamp(20px, 3vw, 34px); border-left: 4px solid var(--accent); font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3.4vw, 40px); line-height: 1.5; color: var(--ink); }
.section--ink .pullquote { color: #fff; }

.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(36px, 5vw, 56px); }
.usecase { background: var(--white); border: 1px solid var(--line); padding: clamp(26px, 3vw, 40px); text-align: center; transition: .35s; }
.usecase:hover { transform: translateY(-6px); box-shadow: 0 24px 40px -28px rgba(20,24,28,.5); }
.usecase .ic { width: 68px; height: 68px; margin: 0 auto 18px; color: var(--accent); }
.usecase .ic svg { width: 100%; height: 100%; display: block; }
.usecase h4 { font-size: 19px; font-weight: 800; margin-bottom: 8px; letter-spacing: .04em; }
.usecase p { font-size: 14px; color: var(--muted); }
.usecase-note { margin-top: 26px; font-family: var(--serif); font-size: clamp(16px, 1.9vw, 19px); color: var(--ink-2); }

.timeline { margin-top: clamp(36px, 5vw, 52px); }
.tl-item { display: grid; grid-template-columns: 160px 1fr; gap: clamp(20px, 3vw, 44px); padding: clamp(20px, 2.6vw, 30px) 0; border-top: 1px solid rgba(255,255,255,.16); align-items: baseline; }
.tl-item:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.tl-year { font-family: var(--display); font-size: clamp(26px, 3.4vw, 44px); color: var(--accent); line-height: 1; }
.tl-body h4 { font-size: clamp(17px, 2.2vw, 21px); font-weight: 800; margin-bottom: 6px; }
.tl-body p { font-size: 14.5px; color: rgba(255,255,255,.7); }

.countries { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vw, 40px); }
.country { border: 1px solid rgba(255,255,255,.24); padding: 12px 20px; min-width: 132px; }
.country b { font-weight: 700; font-size: 15px; letter-spacing: .04em; }
.country span { display: block; font-family: var(--en); font-size: 10px; color: var(--accent); letter-spacing: .16em; margin-top: 3px; }

.why-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(36px, 5vw, 52px); }
.why-stats .num-cell { background: var(--base); text-align: center; }

.why-closing { background: #0d1013; color: #fff; text-align: center; padding: clamp(80px, 12vw, 150px) 0; }
.why-closing .lead { font-family: var(--serif); font-weight: 700; font-size: clamp(24px, 4vw, 44px); line-height: 1.5; }
.why-closing .lead .accent { color: var(--accent); }
.why-closing .q { font-family: var(--display); text-transform: uppercase; color: var(--accent); font-size: clamp(22px, 3.4vw, 38px); margin: 16px 0 0; letter-spacing: .02em; }
.why-closing .prose { color: rgba(255,255,255,.78); margin: clamp(34px, 5vw, 50px) auto; }
.why-closing .big { font-family: var(--jp); font-weight: 900; font-size: clamp(34px, 6vw, 72px); letter-spacing: .04em; margin-bottom: 8px; }
.why-closing .sign { font-family: var(--en); letter-spacing: .14em; color: rgba(255,255,255,.5); font-size: 13px; margin-bottom: 38px; }

@media (max-width: 760px) {
  .usecases, .why-stats { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 90px 1fr; }
}

/* ---------- BUSINESS / 事業紹介 page ---------- */
.usecases--4 { grid-template-columns: repeat(4, 1fr); }
.anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: clamp(34px, 5vw, 52px); }
.a-card { border: 1px solid var(--line); background: var(--white); padding: clamp(26px, 3vw, 40px); display: flex; gap: 20px; align-items: flex-start; }
.a-card .a-ic { width: 48px; height: 48px; flex: none; color: var(--accent); }
.a-card .a-ic svg { width: 100%; height: 100%; }
.a-label { font-family: var(--en); letter-spacing: .16em; font-size: 12px; color: var(--accent); text-transform: uppercase; }
.a-title { font-size: clamp(19px, 2.4vw, 24px); font-weight: 800; margin: 6px 0 10px; letter-spacing: .03em; }
.a-jp { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

.pillar-block { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.pillar-block + .pillar-block { margin-top: clamp(54px, 8vw, 100px); }
.pillar-block:nth-child(even) { direction: rtl; }
.pillar-block:nth-child(even) > * { direction: ltr; }
.pillar-block__media { position: relative; }
.pillar-block__media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pillar-block__media .bignum { position: absolute; left: -10px; top: -28px; font-family: var(--display); font-size: clamp(64px, 9vw, 132px); color: var(--accent); line-height: .8; opacity: .9; }
.pillar-block .pno { font-family: var(--en); color: var(--accent); letter-spacing: .2em; font-size: 13px; }
.pillar-block .verb { font-family: var(--display); font-size: clamp(32px, 4.6vw, 60px); line-height: 1; text-transform: uppercase; margin: 10px 0 16px; }
.pillar-block .verb b { display: block; font-family: var(--jp); font-weight: 900; font-size: clamp(22px, 3vw, 34px); letter-spacing: .08em; color: var(--ink); margin-bottom: 8px; }
.pillar-block h3 { font-size: clamp(18px, 2.3vw, 24px); font-weight: 800; margin-bottom: 14px; color: var(--accent); letter-spacing: .04em; }
.pillar-block p { color: var(--ink-2); }
.pillar-block p + p { margin-top: 1.1em; }

.lifecycle { display: flex; align-items: stretch; gap: 14px; margin-top: clamp(36px, 5vw, 54px); flex-wrap: wrap; }
.lc-step { flex: 1 1 200px; background: #1b2026; border: 1px solid rgba(255,255,255,.12); padding: clamp(24px, 3vw, 36px); }
.lc-step .n { font-family: var(--display); color: var(--accent); font-size: 30px; line-height: 1; }
.lc-step .vb { font-family: var(--display); text-transform: uppercase; font-size: 22px; margin: 6px 0 4px; }
.lc-step h4 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.lc-step p { font-size: 13.5px; color: rgba(255,255,255,.72); }
.lc-arrow { display: grid; place-items: center; color: var(--accent); font-family: var(--en); font-size: 26px; }
.lc-loop { margin-top: 22px; font-family: var(--en); letter-spacing: .14em; font-size: 12px; color: var(--accent); display: flex; align-items: center; gap: 10px; }

@media (max-width: 860px) {
  .usecases--4 { grid-template-columns: 1fr 1fr; }
  .pillar-block, .pillar-block:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .pillar-block__media .bignum { font-size: 72px; top: -22px; }
  .anatomy { grid-template-columns: 1fr; }
  .lc-arrow { transform: rotate(90deg); }
}
