/* ==========================================================================
   ジョブドラフト｜営業会社向け 高卒採用LP
   Blue planes, large curved section edges, oversized English headings,
   white plates behind the main catch. No shadows, borders or gradients.
   ========================================================================== */

:root {
  /* color */
  --blue: #0046e2;          /* brand blue: headings, planes, numbers */
  --blue-deep: #0035b0;     /* hover / pressed */
  --navy: #051b27;          /* text, circle arrows, footer */
  --ink: #051b27;
  --ink-2: #2b3a45;         /* body text */
  --ink-3: #5d6b76;         /* captions only */
  --orange: #ff7f00;        /* conversion CTA only */
  --orange-deep: #e86f00;
  --bg: #ffffff;
  --bg-soft: #e9eef4;       /* alternate section plane */
  --tint: #dce7ff;          /* pale blue chips */
  --blue-plane: #0137b4;    /* one step deeper than --blue: item planes on blue panels */
  --on-blue: #ffffff;
  --on-blue-2: #dfe8ff;
  --cta-ink: #ffffff;       /* text on the CTA colour */
  --accent-light: #8fb4ff;  /* light accent on the dark navy planes */
  --ph: #c9d6e6;            /* photo placeholder plane */

  /* type */
  --ff-en: "Outfit", "IBM Plex Sans JP", sans-serif;
  --ff-ja: "IBM Plex Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --ff-hand: "Klee One", "IBM Plex Sans JP", sans-serif;
  --ff-display: "Noto Sans JP", "IBM Plex Sans JP", sans-serif;   /* main catch only (weight 900) */
  --fs-display: 128px;
  --fs-h2: 48px;
  --fs-h3: 34px;
  --fs-h4: 23px;
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-small: 14px;
  --fs-caption: 12px;

  /* layout */
  --wrap: 1140px;
  --gut: 40px;
  --hdr-h: 96px;
  --r: 8px;
  --pg: 32px;               /* gap between photos */
  --sec-y: 160px;
  --arc: 140px;             /* height of the curved section edges */
}

@media (max-width: 1024px) {
  :root { --fs-display: 96px; --fs-h2: 40px; --fs-h3: 28px; --sec-y: 128px; --gut: 32px; --hdr-h: 80px; --arc: 100px; }
}
@media (max-width: 640px) {
  :root {
    --fs-display: 56px; --fs-h2: 28px; --fs-h3: 22px; --fs-h4: 19px; --fs-lead: 16px;
    --sec-y: 96px; --gut: 24px; --hdr-h: 64px; --arc: 48px; --pg: 16px;
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-variant-numeric: lining-nums; scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--ff-ja); font-weight: 500; font-size: var(--fs-body);
  line-height: 2; letter-spacing: .05em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
strong { font-weight: 700; color: var(--ink); }
p { text-wrap: pretty; }
/* main.js puts <wbr> between Japanese phrases; keep-all then breaks lines only there.
   overflow-wrap: anywhere is the safety net for a phrase longer than the line */
.phr main, .phr footer { word-break: keep-all; overflow-wrap: anywhere; }
/* paragraphs: break at each change of thought and leave one empty line between them */
.prose .pl { display: block; }
.prose > p + p, .prose > .pl + .pl { margin-top: 1.8em; margin-top: 1lh; }
/* headings break only between phrases (no mid-word breaks) */
h2, h3, .spoint__ttl, .qa__ttl, .tl__ttl, .step__ttl, .svcrow__ttl, .cta__lead, .nextband__ttl { word-break: auto-phrase; text-wrap: balance; }
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.sp-only { display: none; }
@media (max-width: 640px) { .sp-only { display: inline; } .pc-only { display: none; } }
.nw { white-space: nowrap; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 4px; }
.skip:focus { top: 12px; }

/* ---------- circle arrow ---------- */
.carr {
  flex: none; display: inline-grid; place-items: center;
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--navy); color: #fff;
  transition: background-color .25s, transform .25s;
}
.carr svg { width: 18px; height: 18px; }
.carr--sm { width: 44px; height: 44px; }
.carr--sm svg { width: 14px; height: 14px; }
.carr--white { background: #fff; color: var(--navy); }

/* VIEW MORE link */
.more {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--ff-en); font-weight: 500; font-size: 18px; letter-spacing: .02em; color: var(--navy);
  min-height: 64px;
}
.more:hover .carr { background: var(--blue); transform: translateX(4px); }
.more--light { color: #fff; }
.more--light .carr { background: var(--navy); }

/* header buttons */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em; white-space: nowrap;
  transition: background-color .25s, color .25s;
}
.pill--line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.pill--line:hover { background: var(--navy); color: #fff; }
.pill--cta { background: var(--orange); color: var(--cta-ink); }
.pill--cta:hover { background: var(--orange-deep); }

/* large CTA buttons */
.bigbtn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 120px; padding: 20px 20px 20px 36px; border-radius: var(--r);
  background: #fff; color: var(--navy);
  font-weight: 700; font-size: 22px; letter-spacing: .06em; line-height: 1.5;
  transition: background-color .25s;
}
.bigbtn small { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--ink-2); letter-spacing: .04em; }
.bigbtn--cta { background: var(--orange); color: var(--cta-ink); }
.bigbtn--cta small { color: var(--cta-ink); }
.bigbtn:hover .carr { transform: translateX(4px); }
.bigbtn--cta:hover { background: var(--orange-deep); }

/* inline buttons (MV, sections) */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  min-height: 64px; padding: 8px 8px 8px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; letter-spacing: .06em; white-space: nowrap;
  transition: background-color .25s;
}
.btn .carr { width: 48px; height: 48px; }
.btn--cta { background: var(--orange); color: var(--cta-ink); }
.btn--cta:hover { background: var(--orange-deep); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy .carr { background: #fff; color: var(--navy); }
.btn--navy:hover { background: var(--blue); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr-h);
  display: flex; align-items: center; gap: 32px; padding: 0 24px 0 40px;
  background: transparent; transition: background-color .3s;
  will-change: transform;
}
.hdr.is-solid { background: #fff; }
.hdr__logo { flex: none; display: flex; align-items: center; gap: 14px; }
.hdr__logo img { width: 190px; }
.hdr__nav { display: flex; gap: 28px; margin-inline: auto; }
.hdr__nav a { position: relative; font-weight: 700; font-size: 15px; color: var(--navy); white-space: nowrap; padding: 8px 0; }
.hdr__nav a::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--orange); opacity: 0; transition: opacity .2s; }
.hdr__nav a:hover::after, .hdr__nav a.is-current::after { opacity: 1; }
.hdr__btns { display: flex; gap: 12px; }
.hdr__menu { display: none; }

@media (max-width: 1180px) {
  .hdr { padding: 0 16px 0 24px; gap: 12px; }
  .hdr__nav { display: none; }
  .hdr__btns { margin-left: auto; }
  .hdr__btns .pill--line { display: none; }
  .hdr__menu {
    display: grid; place-items: center; align-content: center; gap: 5px;
    width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff;
    font-family: var(--ff-en); font-size: 10px; font-weight: 600; letter-spacing: .08em; line-height: 1;
  }
  .hdr__menu i { display: block; width: 20px; height: 2px; background: #fff; transition: transform .25s; }
  .hdr__menu i + i { margin-top: 0; }
  .is-menu .hdr__menu i:first-child { transform: translateY(3.5px) rotate(45deg); }
  .is-menu .hdr__menu i:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
}
@media (max-width: 640px) {
  .hdr { padding: 0 10px 0 16px; }
  .hdr__logo img { width: 132px; }
  .hdr__btns .pill { height: 44px; padding: 0 16px; font-size: 13px; }
  .hdr__menu { width: 48px; height: 48px; }
}

/* drawer */
.drawer {
  position: fixed; inset: 0; z-index: 90; background: var(--blue); color: #fff;
  padding: calc(var(--hdr-h) + 24px) var(--gut) 40px; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.is-menu .drawer { opacity: 1; visibility: visible; }
.is-menu .hdr { background: #fff; }
.drawer__nav { display: grid; gap: 4px; max-width: 560px; margin-inline: auto; }
.drawer__nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; min-height: 44px; }
.drawer__nav b { font-family: var(--ff-en); font-weight: 600; font-size: 34px; line-height: 1.2; letter-spacing: .01em; }
.drawer__nav span { font-size: 13px; font-weight: 700; color: var(--on-blue-2); }
.drawer__btns { display: grid; gap: 12px; max-width: 560px; margin: 32px auto 0; }
.drawer__btns .bigbtn { min-height: 88px; font-size: 18px; }
body.is-menu { overflow: hidden; }

/* ---------- section heading ---------- */
/* centered, extra-bold: ROUND label -> big English word -> Japanese tag -> title -> lead */
.shead { position: relative; z-index: 2; text-align: center; }
.shead__round { display: block; margin-bottom: 14px; font-family: var(--ff-en); font-weight: 700; font-size: 16px; letter-spacing: .24em; color: var(--blue); }
.shead__en {
  display: inline-block; font-family: var(--ff-en); font-weight: 800;
  font-size: calc(var(--fs-display) * 1.12); line-height: .95; letter-spacing: -.02em; color: var(--blue);
  white-space: nowrap; font-variant-numeric: lining-nums;
}
.shead__ja { display: table; margin: 18px auto 0; padding: 5px 16px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .1em; line-height: 1.6; white-space: nowrap; }
.shead__ttl {
  margin-top: 36px; font-size: calc(var(--fs-h3) * 1.06); font-weight: 700; color: var(--ink);
  line-height: 1.55; letter-spacing: .06em; word-break: auto-phrase;
}
.shead__lead { margin: 28px auto 0; max-width: 720px; font-size: var(--fs-lead); line-height: 2.1; color: var(--ink-2); }
.shead--light .shead__en, .shead--light .shead__ttl, .shead--light .shead__round { color: #fff; }
.shead--light .shead__ja { background: #fff; color: var(--blue); }
.shead--light .shead__lead { color: var(--on-blue-2); }
.shead--left { text-align: left; }
.shead--left .shead__ja { margin-left: 0; }
@media (max-width: 640px) {
  .shead__round { font-size: 13px; margin-bottom: 10px; }
  .shead__en { font-size: var(--fs-display); }
  .shead__ja { margin-top: 12px; font-size: 13px; padding: 4px 12px; }
  .shead__ttl { margin-top: 24px; font-size: var(--fs-h3); }
  .shead__lead { margin-top: 20px; line-height: 2; }
}

/* curved section edges: an ellipse in the section's own color rises above its top edge */
.arc-top { position: relative; }
.arc-top::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: -20%; right: -20%; top: calc(var(--arc) * -1); height: calc(var(--arc) * 2);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0; background: inherit;
}
.arc-top--left::before { left: -40%; right: 0; border-radius: 0 100% 0 0 / 0 100% 0 0; }
.arc-top--right::before { left: 0; right: -40%; border-radius: 100% 0 0 0 / 100% 0 0 0; }
.arc-top > * { position: relative; z-index: 1; }

/* photo with placeholder plane */
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ph); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* temporary stock photos: one navy-blue duotone until the generated image (data-local) replaces them */
img[data-local]:not(.is-final) { filter: url(#duo); }
.tlink { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.note { font-size: var(--fs-caption); color: var(--ink-3); letter-spacing: .04em; line-height: 1.7; }
.note--light { color: var(--on-blue-2); }

/* ==========================================================================
   MV
   ========================================================================== */
.mv { position: relative; height: 100svh; min-height: 600px; max-height: 1080px; background: var(--navy); overflow: hidden; }
.mv__ph { position: absolute; inset: 0; }
.mv__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; }
.mv__body {
  position: absolute; z-index: 2; left: 40px; bottom: calc(var(--arc) + 32px);
  display: grid; justify-items: start; gap: 0;
}
.mv__img--sp { display: none; }
.mv__kicker { margin-bottom: 24px; font-size: 18px; font-weight: 700; letter-spacing: .1em; line-height: 1.5; color: #fff; }
.mv__kicker span { display: inline-block; background: var(--blue); padding: 6px 14px; border-radius: 4px; }
.mv__catch { display: grid; justify-items: start; }
.plate {
  display: inline; background: #fff; color: var(--blue);
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.mv__big {
  position: relative; font-family: var(--ff-display); font-weight: 900;
  font-size: min(8.6vw, 11.5svh, 150px); line-height: 1.16; letter-spacing: .02em; white-space: nowrap;
  display: grid; justify-items: start;   /* 超超 / 若手採用！ : one plate per line */
}
.mv__big .plate { padding: 0 .08em; }
/* MV plates are one line each: draw them as boxes. On iPhone (WebKit) an inline plate with the
   clip-path reveal loses its white background, so never animate clip-path on inline plates */
.mv__big .plate, .mv__sub .plate { display: inline-block; }
.mv__sub { margin-top: 14px; display: grid; justify-items: start; gap: 10px; }
.mv__sub span { font-size: min(2.6vw, 4svh, 40px); font-weight: 700; line-height: 1.3; letter-spacing: .06em; padding: 4px 10px; white-space: nowrap; }
.mv__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: min(28px, 2.6svh); }
.mv__chips li { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.mv__chips b { font-family: var(--ff-en); font-size: 20px; font-weight: 600; line-height: 1; color: #fff; }
.mv__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: min(24px, 2.4svh); }
.mv__scroll { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 1px; height: 64px; background: rgba(255,255,255,.5); overflow: hidden; }
.mv__scroll::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes drip { to { top: 100%; } }
/* the blue plane under the photo, curved */
.mv::after {
  content: ""; position: absolute; z-index: 1; left: -20%; right: -20%; bottom: 0; height: calc(var(--arc) * 2);
  transform: translateY(50%); border-radius: 50%; background: var(--blue);
}

/* short screens (laptops with browser bars, zoomed pages): keep the whole catch on screen */
@media (max-height: 780px) and (min-width: 641px) {
  .mv__kicker { margin-bottom: 12px; font-size: 16px; }
  .mv__sub { margin-top: 10px; gap: 8px; }
  .mv__sub span { font-size: min(2.6vw, 3.6svh, 40px); }
  .btn { min-height: 56px; }
  .btn .carr { width: 42px; height: 42px; }
}
@media (max-width: 640px) {
  .mv { height: 100svh; min-height: 620px; max-height: 900px; }
  .mv__img--pc { display: none; }
  .mv__img--sp { display: block; }
  .mv__ph img { object-position: 50% 20%; }
  .mv__body { left: var(--gut); right: var(--gut); bottom: calc(var(--arc) + 24px); }
  .mv__kicker { font-size: 14px; margin-bottom: 12px; }
  .mv__kicker span { padding: 4px 10px; }
  .mv__big { font-size: min(16.5vw, 10svh, 92px); line-height: 1.12; }
  .mv__sub { margin-top: 10px; gap: 8px; }
  .mv__sub span { font-size: min(5vw, 22px); padding: 2px 8px; }
  .mv__chips { margin-top: 16px; gap: 6px; }
  .mv__chips li { font-size: 12px; padding: 4px 10px; min-height: 36px; }
  .mv__chips b { font-size: 16px; }
  .mv__btns { display: none; }
}

/* ==========================================================================
   MESSAGE (blue plane, photo columns on both sides)
   ========================================================================== */
.msg { position: relative; background: var(--blue); color: #fff; padding: 120px 0 calc(var(--sec-y) + var(--arc) - 40px); overflow: hidden; }
.msg__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px) minmax(0, 1fr); gap: 0 56px; align-items: start; width: min(100% - 80px, 1360px); margin-inline: auto; }
.msg__col { display: grid; gap: var(--pg); }
.msg__col--l { padding-top: 0; }
.msg__col--r { padding-top: 220px; }
.msg__col .ph { border-radius: 4px; }
.msg__col .ph:nth-child(1) { aspect-ratio: 4 / 5; }
.msg__col .ph:nth-child(2) { aspect-ratio: 1 / 1; width: 78%; }
.msg__col--l .ph:nth-child(2) { margin-left: auto; }
.msg__col--r .ph:nth-child(1) { aspect-ratio: 1 / 1; width: 78%; }
.msg__col--r .ph:nth-child(2) { aspect-ratio: 4 / 5; width: 100%; }
.msg__body { text-align: center; padding-top: 40px; }
.msg__lines { display: grid; gap: 22px; }
.msg__lines p { font-size: 22px; font-weight: 700; line-height: 1.7; letter-spacing: .08em; }
.msg__lines p.is-dim { color: var(--on-blue-2); }
.msg__turn { margin-top: 64px; font-family: var(--ff-hand); font-weight: 600; font-size: 52px; line-height: 1.55; letter-spacing: .04em; }
.msg__turn span { display: block; white-space: nowrap; }
/* centred message: one line per phrase (span.ln), breaks only between phrases */
.msg__txt { margin-top: 48px; font-size: var(--fs-body); line-height: 2.2; color: #fff; text-align: center; }
/* a phrase line: one line per meaning unit; if the screen is too narrow it wraps only between phrases */
.ln { display: block; text-wrap: pretty; }
/* centred text and headings: even lines; left-aligned body text keeps natural (pretty) wrapping */
.shead .ln, .msg__txt .ln, .step .ln, .spoint .ln, .nextband .ln, .cta__lead .ln, .svcrow__ttl .ln, .tl__ttl .ln, .ccard__co .ln { text-wrap: balance; }
.msg__more { margin-top: 48px; }
.msg__note { margin-top: 24px; text-align: center; }

@media (max-width: 1180px) {
  .msg__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 520px) minmax(0, 1fr); gap: 0 32px; width: min(100% - 48px, 1360px); }
  .msg__turn { font-size: 44px; }
}
@media (max-width: 960px) {
  .msg { padding-top: 80px; }
  .msg__grid { grid-template-columns: minmax(0, 1fr); width: 100%; }
  .msg__body { order: 1; width: min(100% - var(--gut) * 2, 560px); margin-inline: auto; padding-top: 0; }
  .msg__col { order: 2; grid-auto-flow: column; grid-auto-columns: 62%; gap: var(--pg); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); padding: 56px var(--gut) 0; scrollbar-width: none; }
  .msg__col::-webkit-scrollbar { display: none; }
  .msg__col--r { order: 3; padding-top: var(--pg); }
  .msg__col .ph, .msg__col--l .ph:nth-child(2), .msg__col--r .ph:nth-child(1) { width: 100%; aspect-ratio: 4 / 3; margin: 0; scroll-snap-align: start; }
}
@media (max-width: 640px) {
  .msg__lines { gap: 14px; }
  .msg__lines p { font-size: 17px; }
  .msg__turn { margin-top: 44px; font-size: min(7vw, 34px); }
  .msg__col { grid-auto-columns: 76%; }
}

/* ==========================================================================
   WHY (pale plane -> white card with blue number panel)
   ========================================================================== */
.why { background: #fff; padding: var(--sec-y) 0; }
.whycard { margin-top: 72px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); border-radius: var(--r); overflow: hidden; background: var(--bg-soft); }
.whycard__l { padding: 64px 40px 56px 56px; display: grid; align-content: center; justify-items: start; gap: 24px; }
.whycard__kicker { display: flex; align-items: baseline; gap: 6px; color: var(--blue); font-weight: 700; line-height: 1.1; white-space: nowrap; }
.whycard__kicker b { font-family: var(--ff-en); font-weight: 600; font-size: 96px; line-height: .9; }
.whycard__kicker span { font-size: 32px; letter-spacing: .04em; }
.whycard__ttl { font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1.35; letter-spacing: .06em; }
.whycard__ttl .plate { background: var(--tint); padding: 0 6px; }
.whycard__txt { font-size: var(--fs-body); line-height: 2; color: var(--ink-2); }
.whycard__r {
  position: relative; background: var(--blue); color: #fff; padding: 56px 40px 56px 88px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-content: center;
  clip-path: ellipse(100% 140% at 100% 50%);
}
/* one card per figure: a deeper blue plane on the blue panel, content centered */
.stat { min-width: 0; display: grid; justify-items: center; align-content: start; padding: 26px 10px 26px; border-radius: var(--r); background: var(--blue-plane); text-align: center; }
.stat__num { justify-content: center; }
/* each figure gets an icon that says what it measures (DESIGN_RULES 5) */
.stat__icon { width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.stat__icon svg { width: 26px; height: 26px; }
.stat__label { display: inline-block; font-size: 14px; font-weight: 700; color: var(--on-blue-2); letter-spacing: .06em; line-height: 1.5; }
.stat__num { font-variant-numeric: tabular-nums lining-nums; display: flex; align-items: baseline; gap: 4px; margin-top: 4px; font-family: var(--ff-en); font-weight: 600; font-size: 56px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.stat__num small { font-family: var(--ff-ja); font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.stat__num .pre { font-family: var(--ff-ja); font-size: 22px; font-weight: 700; margin-right: 4px; }
.stat__sub { display: block; margin-top: 8px; font-size: 13px; line-height: 1.7; color: var(--on-blue-2); }
.why__note { margin-top: 16px; }

.reasons { margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.reason { position: relative; display: block; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--ph); color: #fff; }
.reason img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.reason:hover img { transform: scale(1.04); }
.reason__cap { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; justify-items: start; gap: 6px; }
.reason__no { font-family: var(--ff-en); font-weight: 600; font-size: 14px; letter-spacing: .1em; background: var(--blue); padding: 2px 10px; border-radius: 3px; }
.reason__ttl { font-size: var(--fs-h4); font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.reason__ttl .plate { background: var(--navy); color: #fff; padding: 2px 10px; }
.reason__txt { margin-top: 18px; font-size: var(--fs-small); line-height: 1.9; color: var(--ink-2); }
.reasons__item { min-width: 0; }
/* tablets: three narrow cards, keep each title on one line */
@media (min-width: 641px) and (max-width: 1024px) {
  .reason__cap { left: 14px; right: 14px; bottom: 14px; }
  .reason__ttl { font-size: 18px; }
}

@media (max-width: 1024px) {
  .whycard { grid-template-columns: minmax(0, 1fr); }
  .whycard__l { padding: 48px 40px; }
  .whycard__r { padding: 64px 40px 56px; clip-path: ellipse(160% 100% at 50% 100%); }
}
@media (max-width: 640px) {
  .whycard { margin-top: 48px; }
  .whycard__l { padding: 36px 24px; gap: 16px; }
  .whycard__kicker b { font-size: 72px; }
  .whycard__kicker span { font-size: 30px; }
  .whycard__ttl { font-size: 26px; }
  .whycard__r { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 56px 16px 16px; }
  .stat { padding: 24px 16px 20px; }
  .stat__num { font-size: 60px; }
  .reasons { grid-template-columns: minmax(0, 1fr); gap: 40px; }   /* stacked: nobody has to swipe */
  .reason__cap { left: 14px; right: 14px; bottom: 14px; }
  .reason__ttl { font-size: 18px; }
}

/* ==========================================================================
   SERVICE (alternating big photo + text)
   ========================================================================== */
.svc { background: var(--bg-soft); padding: var(--sec-y) 0; }
.svc__list { margin-top: 96px; display: grid; gap: 120px; }
.svcrow { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.svcrow:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.svcrow:nth-child(even) .svcrow__ph { order: 2; }
.svcrow__ph { aspect-ratio: 16 / 11; }
.svcrow__no { font-family: var(--ff-en); font-weight: 600; font-size: 18px; letter-spacing: .1em; color: var(--blue); }
.svcrow__name { margin-top: 8px; font-family: var(--ff-en); font-weight: 500; font-size: 44px; line-height: 1.15; color: var(--navy); letter-spacing: 0; }
.svcrow__name span { display: block; margin-top: 10px; font-family: var(--ff-ja); font-size: 14px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.svcrow__ttl { margin-top: 28px; font-size: var(--fs-h3); font-weight: 700; color: var(--blue); line-height: 1.5; letter-spacing: .04em; }
.svcrow__txt { margin-top: 20px; line-height: 2.1; }
.svcrow__pts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.svcrow__pts li { padding: 6px 14px; border-radius: 4px; background: var(--tint); color: var(--blue); font-size: 14px; font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
@media (max-width: 960px) {
  .svc__list { margin-top: 56px; gap: 72px; }
  .svcrow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .svcrow:nth-child(even) { grid-template-columns: minmax(0, 1fr); }
  .svcrow:nth-child(even) .svcrow__ph { order: 0; }
  .svcrow__name { font-size: 34px; }
}

/* ==========================================================================
   CASE (cards carousel)
   ========================================================================== */
.case { background: #fff; padding: var(--sec-y) 0; overflow: hidden; }
.case__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
/* three cases side by side on PC, stacked on phones (no sideways swiping) */
.case__list { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ccard { min-width: 0; }
.ccard__ph { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--ph); }
.ccard__ph img { width: 100%; height: 100%; object-fit: cover; }
.ccard__quote { position: absolute; left: 20px; right: 20px; bottom: 22px; font-size: 21px; font-weight: 700; line-height: 1.75; letter-spacing: .04em; color: #fff; }
.ccard__quote .plate { background: var(--navy); color: #fff; padding: 3px 10px; }
.ccard__meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ccard__tag { padding: 3px 10px; border-radius: 4px; background: var(--tint); color: var(--blue); font-size: 13px; font-weight: 700; line-height: 1.6; }
.ccard__co { margin-top: 10px; font-size: var(--fs-lead); font-weight: 700; color: var(--ink); line-height: 1.6; }
.ccard__txt { margin-top: 8px; font-size: var(--fs-small); line-height: 1.9; }
.ccard__res { margin-top: 14px; display: flex; gap: 10px; align-items: baseline; color: var(--blue); font-weight: 700; font-size: 14px; }
.ccard__res b { font-family: var(--ff-en); font-size: 36px; font-weight: 600; line-height: 1; }
.case__note { margin-top: 32px; }
/* company cases: three results side by side (visits -> applications -> offers) */
.ccard__nums { margin-top: 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ccard__nums li { display: grid; justify-items: center; align-content: center; gap: 2px; padding: 12px 6px; border-radius: var(--r); background: rgba(255, 255, 255, .08); text-align: center; }
.ccard__nums span { font-size: 13px; font-weight: 700; color: #c9d4dc; letter-spacing: .04em; white-space: nowrap; }
.ccard__nums b { font-family: var(--ff-en); font-size: 40px; font-weight: 600; line-height: 1; color: var(--accent-light); }
.ccard__nums small { font-size: 13px; font-weight: 700; color: var(--accent-light); }
/* "next case" = a slim consultation band under the cases */
.nextband {
  margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px;
  padding: 36px 40px 36px 48px; border-radius: var(--r); background: var(--blue); color: #fff;
  transition: background-color .25s;
}
.nextband:hover { background: var(--blue-deep); }
.nextband__body { display: grid; gap: 6px; min-width: 0; }
.nextband__en { font-family: var(--ff-en); font-weight: 700; font-size: 15px; letter-spacing: .24em; color: var(--on-blue-2); }
.nextband__ttl { font-size: 34px; font-weight: 900; line-height: 1.4; letter-spacing: .04em; }
.nextband__txt { font-size: var(--fs-small); line-height: 1.8; color: var(--on-blue-2); word-break: auto-phrase; }
.nextband__btn { flex: none; display: inline-flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 8px 8px 28px; border-radius: 999px; background: var(--orange); color: var(--cta-ink); font-weight: 700; font-size: 16px; letter-spacing: .06em; white-space: nowrap; transition: background-color .25s; }
.nextband:hover .nextband__btn { background: var(--orange-deep); }
.nextband__btn .carr { width: 48px; height: 48px; }
.svc__note { margin-top: 56px; }
.msg__note.wrap { margin-top: 56px; }
@media (max-width: 960px) {
  .case__list { grid-template-columns: minmax(0, 1fr); gap: 48px; max-width: 560px; margin-inline: auto; }
  .ccard__ph { aspect-ratio: 4 / 3; }
  .nextband { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .nextband__btn { align-self: stretch; justify-content: space-between; }
}
@media (max-width: 640px) {
  .case__list { margin-top: 40px; width: auto; margin-inline: var(--gut); }
  .ccard__quote { font-size: 17px; left: 14px; right: 14px; bottom: 16px; }
  .nextband { margin-top: 40px; }
  .nextband__ttl { font-size: 24px; }
}

/* ==========================================================================
   SCHEDULE + FLOW
   ========================================================================== */
.sched { background: var(--bg-soft); padding: var(--sec-y) 0; }
.timeline { margin-top: 72px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 35px; height: 2px; background: var(--blue); opacity: .25; }
.tl { position: relative; padding-right: 24px; }
.tl__dot { position: relative; z-index: 1; display: flex; align-items: baseline; justify-content: center; padding-top: 24px; width: 72px; height: 72px; border-radius: 50%; background: #fff; color: var(--blue); font-family: var(--ff-en); font-weight: 600; font-size: 22px; line-height: 1; transition: background-color .4s, color .4s; }
.tl__dot small { font-family: var(--ff-ja); font-size: 11px; font-weight: 700; }
.tl.is-on .tl__dot, .tl--key .tl__dot { background: var(--blue); color: #fff; }
.tl__ttl { margin-top: 20px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.5; letter-spacing: .04em; }
.tl__txt { margin-top: 8px; font-size: var(--fs-small); line-height: 1.9; }
.sched__point { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.spoint { padding: 36px 36px 38px; border-radius: var(--r); background: #fff; display: grid; justify-items: center; align-content: start; text-align: center; }
.spoint__icon { width: 72px; height: 72px; margin-bottom: 18px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.spoint__icon svg { width: 34px; height: 34px; }
.spoint__k { display: inline-block; padding: 2px 10px; border-radius: 4px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .06em; line-height: 1.7; }
.spoint__ttl { margin-top: 14px; font-size: var(--fs-h4); font-weight: 700; color: var(--ink); line-height: 1.6; letter-spacing: .04em; }
.spoint__txt { margin-top: 10px; font-size: var(--fs-small); line-height: 1.95; word-break: auto-phrase; text-wrap: balance; }
.spoint__txt > p + p { margin-top: .6em; }
@media (max-width: 960px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .timeline::before { left: 35px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 20px; padding: 0; }
  .tl__dot { grid-row: span 2; }
  .tl__ttl { margin-top: 10px; }
  .sched__point { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .timeline { margin-top: 48px; }
  .spoint { padding: 28px 24px; }
}

.flow { background: #fff; padding: var(--sec-y) 0; }
.steps { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: st; }
/* short feature cards: icon, title and 2-3 lines centred (DESIGN_RULES 3) */
.step { padding: 32px 24px 36px; border-radius: var(--r); background: var(--blue); color: #fff; min-width: 0; display: grid; justify-items: center; align-content: start; text-align: center; }
.step__no { font-family: var(--ff-en); font-weight: 600; font-size: 15px; letter-spacing: .12em; color: var(--on-blue-2); }
.step__icon { margin-top: 18px; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: var(--blue); display: grid; place-items: center; }
.step__icon svg { width: 30px; height: 30px; }
.step__ttl { margin-top: 18px; font-size: 21px; font-weight: 700; line-height: 1.55; letter-spacing: .04em; }
.step__txt { margin-top: 10px; font-size: var(--fs-small); line-height: 1.9; color: var(--on-blue-2); word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 1024px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .steps { grid-template-columns: minmax(0, 1fr); margin-top: 48px; } .step { padding: 28px 22px 30px; } }

/* FAQ */
.faq { background: var(--bg-soft); padding: var(--sec-y) 0; }
.faq__list { margin-top: 64px; display: grid; gap: 12px; }
.qa { border-radius: var(--r); background: #fff; }
.qa summary { list-style: none; display: grid; grid-template-columns: 48px minmax(0, 1fr) 44px; gap: 16px; align-items: center; padding: 22px 24px 22px 28px; cursor: pointer; min-height: 72px; }
.qa summary::-webkit-details-marker { display: none; }
.qa__q { font-family: var(--ff-en); font-weight: 600; font-size: 30px; line-height: 1; color: var(--blue); }
.qa__ttl { font-size: var(--fs-lead); font-weight: 700; color: var(--ink); line-height: 1.6; letter-spacing: .04em; }
.qa__ic { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; transition: transform .3s, background-color .3s; }
.qa__ic svg { width: 14px; height: 14px; color: #fff; }
.qa[open] .qa__ic { transform: rotate(45deg); background: var(--navy); }
.qa__a { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 0 92px 28px 28px; }
.qa__a b { font-family: var(--ff-en); font-weight: 600; font-size: 30px; line-height: 1.1; color: var(--orange); }
.qa__a p { line-height: 2; }
@media (max-width: 640px) {
  .qa summary { grid-template-columns: 32px minmax(0, 1fr) 36px; gap: 10px; padding: 18px 14px 18px 18px; }
  .qa__q, .qa__a b { font-size: 24px; }
  .qa__ic { width: 36px; height: 36px; }
  .qa__ttl { font-size: 16px; }
  .qa__a { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 0 18px 22px; }
}

/* ==========================================================================
   CONTACT (blue plane, photo grid)
   ========================================================================== */
.cta { background: var(--blue); color: #fff; padding: calc(var(--sec-y) - 20px) 0 0; overflow-x: clip; }
.cta .shead__ja { display: block; margin: 14px 0 0; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 540px); gap: 64px; width: min(100% - var(--gut) - max(var(--gut), (100% - var(--wrap)) / 2), 1360px); margin-left: max(var(--gut), (100% - var(--wrap)) / 2); }
.cta__body { padding-bottom: var(--sec-y); }
.cta__lead { margin-top: 40px; font-size: 30px; font-weight: 700; line-height: 1.75; letter-spacing: .06em; }
.cta__txt { margin-top: 20px; font-size: var(--fs-body); line-height: 2.1; color: var(--on-blue-2); max-width: 560px; }
.cta__btns { margin-top: 48px; display: grid; gap: 16px; max-width: 560px; }
.cta__tel { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: baseline; color: #fff; }
.cta__tel b { font-family: var(--ff-en); font-weight: 600; font-size: 34px; letter-spacing: .02em; }
.cta__tel span { font-size: 13px; color: var(--on-blue-2); }
.cta__photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--pg); align-items: start; }
.cta__photos .col { display: grid; gap: var(--pg); }
.cta__photos .col:nth-child(1) { margin-top: -40px; }
.cta__photos .col:nth-child(2) { margin-top: 120px; }
.cta__photos .ph { border-radius: 4px; }
.cta__photos .ph--t { aspect-ratio: 3 / 4; }
.cta__photos .ph--w { aspect-ratio: 4 / 3; }
@media (max-width: 1024px) {
  .cta__grid { grid-template-columns: minmax(0, 1fr); width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; gap: 0; }
  .cta__photos { order: -1; display: flex; gap: var(--pg); overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut) 56px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); }
  .cta__photos::-webkit-scrollbar { display: none; }
  .cta__photos .col { display: contents; }
  .cta__photos .col:nth-child(n) { margin: 0; }
  .cta__photos .ph { flex: none; width: 46%; scroll-snap-align: start; aspect-ratio: 4 / 3 !important; }
}
@media (max-width: 640px) {
  .cta__lead { font-size: 21px; margin-top: 28px; }
  .cta__photos .ph { width: 76%; }
  .bigbtn { min-height: 88px; padding: 14px 14px 14px 22px; font-size: 16px; letter-spacing: .04em; }
  .bigbtn small { font-size: 12px; }
  .bigbtn .carr { width: 52px; height: 52px; }
  .cta__tel b { font-size: 28px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.ft { background: var(--navy); color: #fff; padding: 96px 0 40px; }
.ft__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.ft__logo { display: inline-grid; padding: 14px 18px; border-radius: 6px; background: #fff; }
.ft__logo img { width: 200px; }
.ft__by { margin-top: 18px; font-size: 14px; font-weight: 700; color: #c9d4dc; }
.ft__nav { margin-top: 48px; display: grid; grid-template-columns: repeat(3, max-content); gap: 26px 56px; }
.ft__nav a { display: grid; }
.ft__nav b { font-family: var(--ff-en); font-weight: 500; font-size: 26px; line-height: 1.2; letter-spacing: .01em; }
.ft__nav span { font-size: 12px; font-weight: 700; color: #c9d4dc; }
.ft__nav a:hover b { color: var(--accent-light); }
.ft__catch { justify-self: end; text-align: right; }
.ft__big { font-family: var(--ff-display); font-size: 96px; font-weight: 900; line-height: 1.18; letter-spacing: .02em; white-space: nowrap; }
.ft__big .plate { background: var(--blue); color: #fff; padding: 0 .06em; }
.ft__sub { margin-top: 16px; font-size: 20px; font-weight: 700; letter-spacing: .06em; line-height: 1.6; }
.ft__bottom { margin-top: 88px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: #c9d4dc; line-height: 1.8; }
.ft__bottom a:hover { color: #fff; }
.ft__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.ft__credit { margin-top: 24px; font-size: 12px; color: #9fb0bc; }
.ft__credit summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.ft__credit p { line-height: 1.8; }
@media (max-width: 960px) {
  .ft__grid { grid-template-columns: minmax(0, 1fr); }
  .ft__catch { justify-self: start; text-align: left; }
  .ft__big { font-size: 64px; }
}
@media (max-width: 640px) {
  .ft { padding: 64px 0 calc(40px + 88px + env(safe-area-inset-bottom)); }
  .ft__nav { grid-template-columns: repeat(2, max-content); gap: 20px 40px; }
  .ft__nav b { font-size: 22px; }
  .ft__big { font-size: 56px; }
  .ft__sub { font-size: 16px; }
  .ft__bottom { margin-top: 56px; }
}

/* ---------- phone CTA bar ---------- */
.spbar { display: none; }
@media (max-width: 640px) {
  .spbar {
    position: fixed; z-index: 95; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fff;
    will-change: transform;
  }
  .spbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; border-radius: 6px; font-size: 14px; font-weight: 700; line-height: 1.3; letter-spacing: .04em; text-align: center; }
  .spbar svg { width: 18px; height: 18px; flex: none; }
  .spbar a { white-space: nowrap; }
  .spbar__dl { background: var(--navy); color: #fff; }
  .spbar__cv { background: var(--orange); color: var(--cta-ink); }
}

/* ==========================================================================
   Speed bands: big type running sideways; JS speeds them up with the scroll
   ========================================================================== */
.band { position: relative; z-index: 1; overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(255, 255, 255, .45); user-select: none; }
.band__track { display: flex; width: max-content; will-change: transform; }
.band__group { display: flex; align-items: center; flex: none; }
.band__group span { padding: 0 .35em; font-family: var(--ff-en); font-weight: 600; font-size: clamp(48px, 7.2vw, 112px); line-height: 1.1; letter-spacing: -.01em; white-space: nowrap; color: #fff; }
.band__group span.ja { font-family: var(--ff-display); font-weight: 900; }
.band__group i { flex: none; width: .32em; height: .32em; margin: 0 .25em; border-radius: 50%; background: #fff; font-size: clamp(48px, 7.2vw, 112px); }
.band--msg { margin: -40px 0 96px; }
.band--cta { margin: 0 0 96px; }
@media (max-width: 640px) {
  .band { padding: 12px 0; }
  .band--msg { margin: -24px 0 56px; }
  .band--cta { margin: 0 0 56px; }
}

/* ==========================================================================
   Header: hidden over the MV, slides in once the page is scrolled
   ========================================================================== */
.js .hdr { transform: translate3d(0, -110%, 0); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.js .hdr.is-shown { transform: none; }

/* ==========================================================================
   Motion (only when JS runs; everything visible without it)
   ========================================================================== */
/* MV opening: two colour panels race across, then the catch slams in */
.mv__curtain { display: none; }
.js .mv__curtain { display: block; position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.js .mv__curtain i { position: absolute; inset: 0; transform: translate3d(0, 0, 0); animation: curtain .9s cubic-bezier(.77, 0, .18, 1) forwards; }
.js .mv__curtain i:nth-child(1) { background: var(--navy); animation-delay: .05s; }
.js .mv__curtain i:nth-child(2) { background: var(--blue); animation-delay: .22s; }
@keyframes curtain { to { transform: translate3d(101%, 0, 0); } }
.js .mv__ph img { animation: mvzoom 6s cubic-bezier(.2, .8, .2, 1) .3s both; }
@keyframes mvzoom { from { transform: scale(1.25); } to { transform: scale(1); } }
.js .mv__kicker span { clip-path: inset(0 100% 0 0); animation: plate .45s cubic-bezier(.7, 0, .2, 1) .75s forwards; }
.js .mv__big .plate { clip-path: inset(0 100% 0 0); animation: plate .5s cubic-bezier(.7, 0, .2, 1) .85s forwards; }
.js .mv__big .plate + .plate { animation-delay: 1s; }
.js .mv__big .slam { display: inline-block; opacity: 0; transform: translate3d(-.5em, 0, 0) scale(1.7); animation: slam .5s cubic-bezier(.2, 1.3, .35, 1) forwards; animation-delay: calc(1s + var(--ci) * 90ms); }
@keyframes slam { to { opacity: 1; transform: none; } }
.js .mv__sub span { clip-path: inset(0 100% 0 0); animation: plate .5s cubic-bezier(.7, 0, .2, 1) forwards; }
.js .mv__sub span:nth-child(1) { animation-delay: 1.35s; }
.js .mv__sub span:nth-child(2) { animation-delay: 1.5s; }
@keyframes plate { to { clip-path: inset(0 0 0 0); } }
.js .mv__chips li, .js .mv__btns > * { opacity: 0; transform: translate3d(60px, 0, 0); animation: dashin .55s cubic-bezier(.2, .9, .2, 1) forwards; }
.js .mv__chips li:nth-child(1) { animation-delay: 1.65s; }
.js .mv__chips li:nth-child(2) { animation-delay: 1.72s; }
.js .mv__chips li:nth-child(3) { animation-delay: 1.79s; }
.js .mv__btns > *:nth-child(1) { animation-delay: 1.86s; }
.js .mv__btns > *:nth-child(2) { animation-delay: 1.93s; }
@keyframes dashin { to { opacity: 1; transform: none; } }
.mv__ph { will-change: transform; }

/* section headings: letters dash in from the right, the Japanese title wipes in */
.js .chars .ch { display: inline-block; opacity: 0; transform: translate3d(0, .45em, 0) scale(.3); transition: transform .6s cubic-bezier(.3, 1.7, .45, 1), opacity .25s; transition-delay: calc(var(--ci) * 45ms); }
.js .chars.is-in .ch { transform: none; opacity: 1; }
.js .wipe { clip-path: inset(0 100% 0 0); transition: clip-path .7s cubic-bezier(.77, 0, .18, 1) .15s; }
.js .wipe.is-in { clip-path: inset(0 0 0 0); }

/* photos: a colour block sweeps across, the photo appears behind it */
.js .rvimg { position: relative; overflow: hidden; }
.js .rvimg::after { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: var(--blue); transform: scaleX(0); transform-origin: 0 50%; }
.msg .rvimg::after, .cta .rvimg::after { background: var(--navy); }
.js .rvimg.is-in::after { animation: sweep .85s cubic-bezier(.77, 0, .18, 1) forwards; }
@keyframes sweep {
  0% { transform: scaleX(0); transform-origin: 0 50%; }
  48% { transform: scaleX(1); transform-origin: 0 50%; }
  52% { transform: scaleX(1); transform-origin: 100% 50%; }
  100% { transform: scaleX(0); transform-origin: 100% 50%; }
}
.js .rvimg > img { opacity: 0; transform: scale(1.18); transition: opacity 0s .42s, transform 1.3s cubic-bezier(.2, .8, .2, 1) .42s; }
.js .rvimg.is-in > img { opacity: 1; transform: scale(1); }
.js .rvimg .reason__cap, .js .rvimg .ccard__quote { opacity: 0; transform: translate3d(-40px, 0, 0); transition: opacity .4s .7s, transform .6s cubic-bezier(.2, .9, .2, 1) .7s; }
.js .rvimg.is-in .reason__cap, .js .rvimg.is-in .ccard__quote { opacity: 1; transform: none; }

/* blocks: dash in from the right, one after another */
.js .rv { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .5s, transform .7s cubic-bezier(.2, .9, .2, 1); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity .5s, transform .7s cubic-bezier(.2, .9, .2, 1); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > *:nth-child(2) { transition-delay: .08s; }
.js .stagger.is-in > *:nth-child(3) { transition-delay: .16s; }
.js .stagger.is-in > *:nth-child(4) { transition-delay: .24s; }
.js .stagger.is-in > *:nth-child(5) { transition-delay: .32s; }

/* schedule: the line runs ahead of the dots */
.timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 35px; height: 2px; background: var(--blue); transform: scaleX(1); transform-origin: 0 50%; }
.js .timeline::after { transform: scaleX(0); transition: transform 1.7s cubic-bezier(.6, 0, .2, 1); }
.js .timeline.is-in::after { transform: scaleX(1); }
@media (max-width: 960px) {
  .timeline::after { left: 35px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: 50% 0; }
  .js .timeline::after { transform: scaleY(0); }
  .js .timeline.is-in::after { transform: scaleY(1); }
}

/* arrows dash out and come back on hover */
.carr { overflow: hidden; }
.btn:hover .carr svg, .bigbtn:hover .carr svg, .more:hover .carr svg, .nextband:hover .carr svg, .mv__btns a:hover .carr svg { animation: arrowdash .5s cubic-bezier(.7, 0, .2, 1); }
@keyframes arrowdash { 45% { transform: translateX(160%); } 46% { transform: translateX(-160%); } 100% { transform: none; } }

.par { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .mv__curtain { display: none; }
  .js .chars .ch, .js .wipe, .js .rvimg > img, .js .rvimg::after, .js .rvimg .reason__cap, .js .rvimg .ccard__quote, .js .rv, .js .stagger > *,
  .js .mv__kicker span, .js .mv__big .plate, .js .mv__big .slam, .js .mv__sub span, .js .mv__ph img, .js .mv__chips li, .js .mv__btns > *, .js .timeline::after {
    opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; transition: none !important;
  }
  .js .rvimg::after { display: none; }
  .mv__scroll::after { animation: none; }
  .band__track { transform: none !important; }
}

/* ==========================================================================
   Case on a dark plane (one strong colour change in the middle of the page)
   ========================================================================== */
.case--dark { background: var(--navy); }
.case--dark .case__head { flex-direction: column; align-items: center; }
.case--dark .ccard__co { color: #fff; }
.case--dark .ccard__txt { color: #c9d4dc; }
.case--dark .ccard__res { color: var(--accent-light); }
.case--dark .case__note { color: #9fb0bc; }

/* ==========================================================================
   Phones/tablets: photo rows flow by themselves so every photo is seen
   ========================================================================== */
.is-marquee { display: block !important; overflow: hidden !important; padding: 0 !important; scroll-snap-type: none !important; }
.is-marquee > figure, .is-marquee > .col { display: none !important; }
.mq__track { display: flex; gap: var(--pg); width: max-content; will-change: transform; }
.mq__track > figure { flex: none !important; margin: 0 !important; width: min(62vw, 360px) !important; aspect-ratio: 4 / 3 !important; border-radius: 6px; }
.msg__col--l.is-marquee { margin-top: 56px; }
.msg__col--r.is-marquee { margin-top: var(--pg); }
.cta__photos.is-marquee { margin: 0 calc(var(--gut) * -1) 56px; }
.cta__photos .mq__track > figure { width: min(64vw, 360px) !important; }

/* ==========================================================================
   Playful touches
   ========================================================================== */
/* cards lift a little under the pointer */
@media (hover: hover) {
  .reason, .ccard__ph, .svcrow__ph { transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
  .reason:hover, .ccard:hover .ccard__ph, .svcrow:hover .svcrow__ph { transform: translateY(-8px); }
}
/* numbers pop when they finish counting */
.pop { animation: pop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes pop { 40% { transform: scale(1.18); } 100% { transform: none; } }
.stat__num > span { display: inline-block; }

/* small phones (360px): keep each bar button on one line */
@media (max-width: 374px) {
  .spbar a { font-size: 12px; gap: 4px; letter-spacing: 0; }
  .spbar svg { display: none; }
}

/* ==========================================================================
   Job-type themes (jobs/<slug>/ pages set <html data-theme="...">)
   ========================================================================== */
[data-theme="inside-sales"] {     /* violet: phone, online, IT */
  --blue: #5b2bd9; --blue-deep: #4a1fbd; --blue-plane: #3e17a3; --tint: #ebe4ff; --on-blue-2: #e4dcff;
  --bg-soft: #eeebf7; --accent-light: #c3b0ff; --ph: #d9d0f2;
}
[data-theme="office"] {           /* teal: calm, clean office */
  --blue: #00808c; --blue-deep: #006a74; --blue-plane: #005962; --tint: #d6f1f3; --on-blue-2: #d2f0f2;
  --bg-soft: #e6f1f2; --accent-light: #7fd6dd; --ph: #cfe3e5;
}
[data-theme="visit-sales"] {      /* red: energy; the CTA turns yellow so it stays visible on red planes */
  --blue: #d61f2c; --blue-deep: #b5161f; --blue-plane: #9e121a; --tint: #ffe0e2; --on-blue-2: #ffdadd;
  --bg-soft: #f6ebeb; --accent-light: #ff9aa1; --ph: #efd2d4;
  --orange: #ffc41f; --orange-deep: #f2b400; --cta-ink: #051b27;
}
[data-theme="visit-sales"] .qa__a b { color: var(--blue); }
[data-theme="corporate-sales"] {  /* navy: trust, proposals */
  --blue: #173a8a; --blue-deep: #102c6c; --blue-plane: #0d2459; --tint: #dde5f6; --on-blue-2: #d6e0f5;
  --bg-soft: #e8ecf4; --accent-light: #9fb8ee; --ph: #d2dbec;
}
[data-theme="logistics"] {        /* green: field, safety, the road ahead */
  --blue: #0f8a3c; --blue-deep: #0b7232; --blue-plane: #09622a; --tint: #d9f2e2; --on-blue-2: #d4f1de;
  --bg-soft: #e7f2ea; --accent-light: #86dca4; --ph: #d0e6d7;
}
[hidden] { display: none !important; }
