/* LegalAgent service LP 2026 — v2「画像と大きな文字」 共通CSS (prefix lx-)
   Tokens follow styles-top-ja.css. Nav + footer come from the site CSS.
   v2: no canvas MV. Large editorial illustrations (white background, black suits, one red), large type, little text.
   Motion: entrance only (transform, never opacity on the H1 or the hero image), one-shot reveals on chapter heads. */

:root {
  --lx-max: 1440px; /* same as the top page (--max) */
  --lx-gutter: clamp(20px, 4vw, 64px);
  --lx-sec: clamp(72px, 8vw, 120px);
  --lx-serif: "Shippori Mincho", "Noto Serif JP", "YuMincho", "Hiragino Mincho ProN", serif;
  --lx-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --lx-en: "Space Grotesk", "Inter", system-ui, sans-serif;
  --lx-ink: #111312;
  --lx-mute: rgba(17, 19, 18, 0.74);
  --lx-faint: rgba(17, 19, 18, 0.56);
  --lx-line: rgba(17, 19, 18, 0.14);
  --lx-paper: #ffffff;
  --lx-paper-2: #f3f7f6;
  --lx-paper-3: #e4ecea;
  --lx-red: #d53953;
  --lx-red-deep: #b22743;
  --lx-r: 8px;
  --lx-ease: cubic-bezier(.16, 1, .3, 1);
}

html { scroll-padding-top: 92px; }
body.lx { margin: 0; background: var(--lx-paper); color: var(--lx-ink); font-family: var(--lx-sans); font-size: 18px; line-height: 1.9;
  letter-spacing: .02em; font-feature-settings: "palt"; line-break: strict; word-break: normal; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
.lx :where(h1, h2, h3) { text-wrap: balance; font-family: var(--lx-serif); font-weight: 600; letter-spacing: .02em; }
.lx :where(p, li, dt, dd, td, th) { text-wrap: pretty; }
:where(.lx a) { color: inherit; }
.lx main { display: block; }
.lx-wrap { width: min(var(--lx-max), calc(100% - var(--lx-gutter) * 2)); margin: 0 auto; }
.lx-nw { white-space: nowrap; }
.lx-sup { font-size: .7em; line-height: 0; vertical-align: super; color: var(--lx-faint); margin-left: 1px; }
.lx-skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 200; }
.lx-skip:focus { left: 8px; }
.lx-dot { color: var(--lx-red); font-style: normal; }

/* ---------- buttons (two kinds) ---------- */
.lx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 60px; padding: 0 34px; border-radius: var(--lx-r);
  border: 1px solid var(--lx-ink); background: var(--lx-ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; letter-spacing: .04em; white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .12s ease; }
.lx-btn:hover { background: #2a2d2b; }
.lx-btn:active { transform: scale(.985); }
.lx-btn--ghost { background: transparent; color: var(--lx-ink); }
.lx-btn--ghost:hover { background: var(--lx-paper-2); }
.lx-btn svg { width: 15px; height: 15px; }
.lx-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 17px; white-space: nowrap; }
.lx-link:hover span { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lx-link svg { width: 15px; height: 15px; }

/* ---------- hero: giant name, one line of benefit, image on the right ---------- */
.lx-hero { position: relative; padding: 80px 0 0; background: var(--lx-paper); overflow: hidden; }
.lx-hero__grid { display: grid; grid-template-columns: minmax(0, 52fr) minmax(0, 48fr); column-gap: clamp(24px, 4vw, 64px); align-items: center;
  min-height: min(calc(100svh - 80px), 880px); }
.lx-hero__copy { padding: 56px 0 48px; }
.lx-bc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; font-size: 14px; color: var(--lx-faint); }
.lx-bc a { text-decoration: none; }
.lx-bc a:hover { text-decoration: underline; }
.lx-h1 { margin: 0; font-weight: 700; letter-spacing: .01em; }
.lx-h1 .lx-h1__name { display: block; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.12; }
@media (min-width: 901px) { .lx-h1 .lx-h1__name { white-space: nowrap; } }
.lx-h1 .lx-h1__sub { display: block; margin-top: 26px; max-width: 22em; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.55; font-weight: 600; }
.lx-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 36px; }
.lx-hf { margin: 44px 0 0; border-top: 1px solid var(--lx-ink); }
.lx-hf__row { display: grid; grid-template-columns: 128px 1fr; column-gap: 20px; padding: 18px 0 19px; border-bottom: 1px solid var(--lx-line); align-items: baseline; }
.lx-hf dt { font-size: 15px; color: var(--lx-faint); }
.lx-hf dd { margin: 0; font-family: var(--lx-serif); font-weight: 600; font-size: clamp(22px, 2vw, 28px); line-height: 1.4; }
.lx-hero__visual { position: relative; align-self: stretch; margin: 0; margin-right: calc(-1 * var(--lx-gutter)); min-height: 520px; }
.lx-hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.lx-hero__visual::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 14%; background: linear-gradient(90deg, var(--lx-paper), rgba(255,255,255,0)); z-index: 1; pointer-events: none; }
.lx-hero__notes { padding: 20px 0 32px; }
.lx-notes { margin: 0; font-size: 14px; line-height: 1.8; color: var(--lx-faint); }
.lx-notes p { margin: 0; }

/* wide layout: headline, then a full-width landscape picture, then the three facts in a row */
.lx-hero--wide .lx-hero__grid { grid-template-columns: 1fr; min-height: 0; align-items: start; }
.lx-hero--wide .lx-hero__copy { padding: 48px 0 8px; }
.lx-hero--wide .lx-h1 .lx-h1__name { white-space: nowrap; }
.lx-hero--wide .lx-h1 .lx-h1__name br { display: none; }
.lx-hero--wide .lx-hero__visual { grid-column: 1; min-height: 0; aspect-ratio: 21 / 9; margin: 32px calc(-1 * var(--lx-gutter)) 0; }
.lx-hero--wide .lx-hero__visual::before { display: none; }
.lx-hero--wide .lx-hero__visual img { object-position: 50% 50%; }
.lx-hf--row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; border-top: 1px solid var(--lx-ink); }
.lx-hf--row .lx-hf__row { display: block; padding: 22px 24px 22px 0; border-bottom: 1px solid var(--lx-line); }
.lx-hf--row .lx-hf__row + .lx-hf__row { padding-left: 24px; border-left: 1px solid var(--lx-line); }
.lx-hf--row dd { margin-top: 6px; }
@media (max-width: 900px) {
  .lx-hero--wide .lx-h1 .lx-h1__name { white-space: normal; }
  .lx-hero--wide .lx-h1 .lx-h1__name br { display: inline; }
  .lx-hero--wide .lx-hero__visual { aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .lx-hf--row { grid-template-columns: 1fr; }
  .lx-hf--row .lx-hf__row + .lx-hf__row { padding-left: 0; border-left: 0; }
}

/* video hero: a 16:9 film slot (placeholder) above a masthead with the name on the left and the facts on the right */
.lx-hero--video { padding-top: 80px; }
.lx-hero--video .lx-hero__film { aspect-ratio: 16 / 9; max-height: min(72vh, 760px); width: 100%; background: var(--lx-paper-2); border-bottom: 1px solid var(--lx-line);
  display: flex; align-items: center; justify-content: center; color: var(--lx-faint); font-size: 14px; letter-spacing: .04em; }
.lx-hero--video .lx-hero__film span { border: 1px solid var(--lx-line); border-radius: 6px; padding: 8px 14px; background: #fff; }
.lx-hero--video .lx-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: 0; align-items: start; column-gap: clamp(32px, 5vw, 80px); }
.lx-hero--video .lx-hero__copy { padding: 48px 0 24px; }
.lx-hero--video .lx-hero__copy .lx-hf { display: none; }
.lx-hero--video .lx-hero__grid::after { content: ""; }
.lx-hero--video .lx-h1 .lx-h1__name { font-size: clamp(40px, 4.6vw, 64px); white-space: nowrap; }
.lx-hero--video .lx-h1 .lx-h1__name br { display: none; }
.lx-hero--video .lx-hf--mast { grid-column: 2; margin: 56px 0 0; }
.lx-hero--video .lx-hero__notes { padding-top: 12px; }
@media (max-width: 900px) {
  .lx-hero--video .lx-hero__film { aspect-ratio: 4 / 5; max-height: none; }
  .lx-hero--video .lx-hero__grid { grid-template-columns: 1fr; }
  .lx-hero--video .lx-h1 .lx-h1__name { white-space: normal; }
  .lx-hero--video .lx-h1 .lx-h1__name br { display: inline; }
  .lx-hero--video .lx-hf--mast { grid-column: 1; margin-top: 8px; }
}
@media (max-width: 720px) { .lx-hero--video { padding-top: 61px; } }

/* body picture patterns */
.lx-opener { margin: -8px 0 44px; }
.lx-opener img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--lx-r); }
.lx-step__pic { margin: 0 0 16px; }
.lx-step__pic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--lx-paper-2); }
.lx-steps li .lx-step__pic { margin-top: 16px; }
.lx-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 28px; }
.lx-thumbs figure { margin: 0; }
.lx-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: var(--lx-paper-2); }
.lx-two--pic { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.lx-two--pic > .a { grid-column: 1 / span 5; }
.lx-two--pic > .lx-two__pic { grid-column: 6 / span 3; margin: 0; }
.lx-two--pic > .lx-two__pic img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--lx-r); }
.lx-two--pic > .b { grid-column: 9 / -1; }
.lx-sec--band { padding-top: 0; }
@media (max-width: 1099px) {
  .lx-two--pic > .a, .lx-two--pic > .b { grid-column: 1 / -1; }
  .lx-two--pic > .lx-two__pic { grid-column: 1 / span 6; }
}
@media (max-width: 720px) {
  .lx-thumbs { grid-template-columns: 1fr; }
  .lx-two--pic > .lx-two__pic { grid-column: 1 / -1; }
}

/* entrance (transform only — the H1 name and the image are visible from the first paint) */
.js .lx-in { transform: translateY(18px); transition: transform .9s var(--lx-ease); }
.js .lx-in--2 { transition-delay: .08s; }
.js .lx-in--3 { transition-delay: .16s; }
.js .lx-in--4 { transition-delay: .24s; }
.js .lx-hero__visual img { transform: scale(1.03) translateY(10px); transition: transform 1.3s var(--lx-ease); }
.js .lx-hero.is-ready .lx-in, .js .lx-hero.is-ready .lx-hero__visual img { transform: none; }

/* ---------- sections ---------- */
.lx-sec { padding: var(--lx-sec) 0; }
.lx-sec--paper { background: var(--lx-paper-2); }
.lx-ch { border-top: 1px solid var(--lx-ink); padding-top: 28px; margin-bottom: 48px; }
.lx-ch h2 { margin: 0; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.3; max-width: 18em; }
.lx-ch .lx-lede { margin: 22px 0 0; font-size: 19px; line-height: 1.95; color: var(--lx-mute); max-width: 32em; }
.lx-lede b, .lx-def b { font-weight: 600; color: var(--lx-ink); }
.lx-h3 { margin: 0; font-size: 24px; line-height: 1.5; }

/* clients: one line + static grid (logos large enough to read) */
.lx-clients { padding: 48px 0 52px; border-bottom: 1px solid var(--lx-line); }
.lx-clients__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; margin-bottom: 28px; }
.lx-clients__row p { margin: 0; font-size: 15px; color: var(--lx-faint); }
.lx-clients__row strong { font-family: var(--lx-serif); font-size: 28px; font-weight: 600; }
.lx-logos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 24px; align-items: center; }
.lx-logos span { display: flex; align-items: center; justify-content: center; height: 64px; }
.lx-logos img { max-width: 100%; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.lx-logos .is-tall img { max-height: 52px; }
.lx-logos .is-ncv img { max-height: 34px; }

/* definition (one paragraph) + situations (three big lines) */
.lx-two { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: start; }
.lx-two > .a { grid-column: 1 / span 6; }
.lx-two > .b { grid-column: 8 / -1; }
.lx-def { margin: 0; font-size: 20px; line-height: 2; }
.lx-big-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lx-ink); }
.lx-big-list li { padding: 20px 0; border-bottom: 1px solid var(--lx-line); font-family: var(--lx-serif); font-weight: 600; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.5; }
.lx-big-list li small { display: block; margin-top: 6px; font-family: var(--lx-sans); font-weight: 400; font-size: 16px; line-height: 1.75; color: var(--lx-mute); }

/* scope: big terms in two columns */
.lx-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; border-top: 1px solid var(--lx-ink); }
.lx-scope > div { padding: 22px 0; border-bottom: 1px solid var(--lx-line); }
.lx-scope dt { margin: 0; font-family: var(--lx-serif); font-weight: 600; font-size: 24px; line-height: 1.45; }
.lx-scope dd { margin: 6px 0 0; font-size: 16px; line-height: 1.8; color: var(--lx-mute); }

/* workflow: DAY 0 → DAY 1, labels only */
.lx-flow__days { display: grid; grid-template-columns: 3fr 1fr; font-size: 15px; color: var(--lx-faint); margin-bottom: 12px; }
.lx-flow__days span:last-child { text-align: right; }
.lx-flow__bar { position: relative; height: 2px; background: var(--lx-line); }
.lx-flow__bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 75%; background: var(--lx-ink); }
.lx-flow__bar::after { content: ""; position: absolute; right: 0; top: -5px; width: 12px; height: 12px; border-radius: 50%; background: var(--lx-red); }
.lx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0; padding: 0; list-style: none; }
.lx-steps li { padding-top: 16px; border-top: 1px solid var(--lx-ink); }
.lx-steps li strong { display: block; font-family: var(--lx-serif); font-weight: 600; font-size: 24px; line-height: 1.4; }
.lx-steps li em { display: block; font-style: normal; font-size: 15px; color: var(--lx-faint); margin-top: 4px; }
.lx-steps li p { margin: 10px 0 0; font-size: 16px; line-height: 1.8; color: var(--lx-mute); }
.lx-steps li.is-ai strong::after, .lx-steps li.is-lawyer strong::after { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-left: 10px; vertical-align: 3px; }
.lx-steps li.is-ai strong::after { background: var(--lx-paper-3); border: 1px solid var(--lx-ink); }
.lx-steps li.is-lawyer strong::after { background: var(--lx-red); }
.lx-flow__legend { display: flex; gap: 24px; margin: 22px 0 0; font-size: 15px; color: var(--lx-faint); }
.lx-flow__legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.lx-flow__legend .ai { background: var(--lx-paper-3); border: 1px solid var(--lx-ink); }
.lx-flow__legend .lw { background: var(--lx-red); }

/* stages (startup) / phases (M&A) */
.lx-stages { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--lx-ink); }
.lx-stages--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.lx-stages li { padding-top: 16px; }
.lx-stages li em { display: block; font-style: normal; font-size: 14px; color: var(--lx-faint); }
.lx-stages li strong { display: block; font-family: var(--lx-serif); font-weight: 600; font-size: 22px; line-height: 1.4; margin-top: 4px; }
.lx-stages li ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 1.8; color: var(--lx-mute); }

/* picture band: a wide illustration with one statement */
.lx-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center; }
.lx-band__pic { grid-column: 1 / span 7; margin: 0; }
.lx-band__pic img { display: block; width: 100%; height: auto; border-radius: var(--lx-r); }
.lx-band__copy { grid-column: 9 / -1; }
.lx-band__copy h2, .lx-band__copy .lx-band__t { margin: 0; font-family: var(--lx-serif); font-weight: 600; font-size: clamp(28px, 3vw, 40px); line-height: 1.4; }
.lx-band__copy p { margin: 20px 0 0; font-size: 18px; line-height: 1.95; color: var(--lx-mute); }
.lx-band--flip .lx-band__pic { grid-column: 6 / -1; order: 2; }
.lx-band--flip .lx-band__copy { grid-column: 1 / span 4; order: 1; }

/* tables (fewer rows, larger type) */
.lx-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lx-table { width: 100%; border-collapse: collapse; font-size: 17px; line-height: 1.75; }
.lx-table th, .lx-table td { padding: 18px 20px 18px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--lx-line); }
.lx-table thead th { font-size: 14px; font-weight: 500; color: var(--lx-faint); border-bottom: 1px solid var(--lx-ink); padding-top: 0; }
.lx-table tbody th { font-weight: 600; width: 30%; }
.lx-table td.hl, .lx-table th.hl { font-weight: 600; color: var(--lx-ink); }
.lx-table thead th.hl { color: var(--lx-ink); }
.lx-table td strong { font-family: var(--lx-serif); font-size: 20px; }
.lx-table--price td:nth-child(2) { white-space: nowrap; }

/* plans */
.lx-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.lx-plan { border: 1px solid var(--lx-line); border-radius: var(--lx-r); background: #fff; padding: 26px 26px 24px; }
.lx-plan em { display: block; font-style: normal; font-family: var(--lx-en); font-size: 14px; letter-spacing: .04em; color: var(--lx-faint); }
.lx-plan strong { display: block; margin-top: 10px; font-family: var(--lx-serif); font-weight: 600; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.3; }
.lx-plan strong small { font-size: 15px; font-family: var(--lx-sans); font-weight: 400; color: var(--lx-mute); }
.lx-plan span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--lx-mute); }
.lx-plan--wide { grid-column: span 2; }
.lx-price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; margin-top: 48px; }
.lx-price > .a { grid-column: 1 / span 4; }
.lx-price > .b { grid-column: 5 / -1; }
.lx-price .lx-h3 + p { margin: 12px 0 0; font-size: 16px; line-height: 1.85; color: var(--lx-mute); }
.lx-fine { margin: 20px 0 0; font-size: 14px; line-height: 1.8; color: var(--lx-faint); }
.lx-fine a { color: var(--lx-ink); }
.lx-big { display: flex; align-items: baseline; gap: 10px; font-family: var(--lx-serif); font-weight: 600; line-height: 1; }
.lx-big b { font-size: clamp(72px, 7vw, 112px); font-weight: 700; letter-spacing: -.01em; }
.lx-big span { font-size: 26px; }
.lx-big small { font-size: 15px; font-family: var(--lx-sans); font-weight: 400; color: var(--lx-mute); }

/* M&A phases: five phases, the two core ones carry the weight */
.lx-phases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 22px; row-gap: 32px; margin: 0; padding: 34px 0 0; list-style: none; }
.lx-phases li { position: relative; padding-top: 18px; border-top: 1px solid var(--lx-line); }
.lx-phases li.is-core { border-top: 3px solid var(--lx-ink); padding-top: 16px; }
.lx-phases li.is-core + li.is-core::before { content: ""; position: absolute; left: -22px; top: -3px; width: 22px; height: 3px; background: var(--lx-ink); }
.lx-phases__tag { position: absolute; left: 0; top: -32px; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--lx-ink); white-space: nowrap; }
.lx-phases li em { display: block; font-style: normal; font-size: 14px; color: var(--lx-faint); }
.lx-phases li strong { display: block; font-family: var(--lx-serif); font-weight: 600; font-size: 22px; line-height: 1.4; margin-top: 4px; color: var(--lx-mute); }
.lx-phases li.is-core strong { font-size: clamp(28px, 2.6vw, 36px); color: var(--lx-ink); }
.lx-phases li ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.8; color: var(--lx-faint); }
.lx-phases li.is-core ul { font-size: 16px; color: var(--lx-mute); }
@media (max-width: 900px) {
  .lx-phases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-phases li.is-core + li.is-core::before { display: none; }
}
@media (max-width: 720px) {
  .lx-phases { grid-template-columns: 1fr; row-gap: 20px; padding-top: 30px; }
  .lx-phases li.is-core + li.is-core { margin-top: 0; }
  .lx-phases li.is-core + li.is-core .lx-phases__tag { display: none; }
}

/* legal DD: one number + a four-step timeline; the areas table is folded */
.lx-dd { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 32px; align-items: start; }
.lx-dd > .a { grid-column: 1 / span 4; }
.lx-dd > .b { grid-column: 6 / -1; }
.lx-big--dd { flex-wrap: wrap; }
.lx-big--dd .pre { font-size: 28px; }
.lx-big--dd .lx-sup { font-size: 14px; margin-left: 4px; }
.lx-dd__cap { margin: 16px 0 0; font-size: 17px; line-height: 1.8; color: var(--lx-mute); max-width: 18em; }
.lx-timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lx-ink); }
.lx-timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--lx-line); }
.lx-timeline li i { font-style: normal; font-family: var(--lx-serif); font-weight: 700; font-size: 34px; line-height: 1; letter-spacing: .02em; color: var(--lx-ink); padding-top: 2px; }
.lx-timeline li strong { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-family: var(--lx-serif); font-weight: 600; font-size: 25px; line-height: 1.4; }
.lx-timeline li strong small { font-family: var(--lx-sans); font-weight: 500; font-size: 14px; line-height: 1; color: var(--lx-mute); padding: 6px 10px; border: 1px solid var(--lx-line); border-radius: 999px; }
.lx-timeline li.is-lawyer strong small { color: #fff; background: var(--lx-red); border-color: var(--lx-red); }
.lx-timeline li p { margin: 8px 0 0; font-size: 16px; line-height: 1.8; color: var(--lx-mute); }
.lx-details .lx-answer--wide { max-width: none; }
@media (max-width: 900px) {
  .lx-dd > .a, .lx-dd > .b { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .lx-timeline li { grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 18px 0; }
  .lx-timeline li i { font-size: 28px; }
  .lx-timeline li strong { font-size: 21px; }
}

/* details (folded detail, FAQ) */
.lx-details { border-top: 1px solid var(--lx-ink); }
.lx-details details { border-bottom: 1px solid var(--lx-line); }
.lx-details summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0;
  font-family: var(--lx-serif); font-weight: 600; font-size: 21px; line-height: 1.5; }
.lx-details summary::-webkit-details-marker { display: none; }
.lx-details summary::after { content: ""; flex: none; width: 16px; height: 16px; position: relative;
  background: linear-gradient(var(--lx-ink), var(--lx-ink)) center / 16px 1.5px no-repeat, linear-gradient(var(--lx-ink), var(--lx-ink)) center / 1.5px 16px no-repeat; transition: transform .25s ease; }
.lx-details details[open] summary::after { transform: rotate(45deg); }
.lx-details .lx-answer { padding: 0 0 24px; max-width: 42em; font-size: 17px; line-height: 1.9; color: var(--lx-mute); }
.lx-details .lx-answer p { margin: 0; }
.lx-details .lx-answer a { color: var(--lx-ink); }
.lx-details .lx-answer .lx-table { margin-top: 4px; }
.lx-details--sub summary { font-size: 18px; padding: 16px 0; }

/* record + lawyers */
.lx-record { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--lx-ink); margin: 0; }
.lx-record div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--lx-line); }
.lx-record div + div { padding-left: 24px; border-left: 1px solid var(--lx-line); }
.lx-record dt { margin: 0; font-size: 15px; color: var(--lx-faint); }
.lx-record dd { margin: 8px 0 0; font-family: var(--lx-serif); font-weight: 600; font-size: clamp(34px, 3.4vw, 48px); line-height: 1.15; }
.lx-record dd small { display: block; margin-top: 8px; font-family: var(--lx-sans); font-weight: 400; font-size: 14px; color: var(--lx-mute); line-height: 1.6; }
.lx-lawyers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 48px 0 0; padding: 0; list-style: none; }
.lx-lawyer { display: grid; grid-template-columns: 112px 1fr; column-gap: 20px; align-items: start; text-decoration: none; }
.lx-lawyer img { width: 112px; height: 140px; object-fit: cover; object-position: 50% 20%; border-radius: 6px; display: block; }
.lx-lawyer strong { display: block; font-family: var(--lx-serif); font-weight: 600; font-size: 24px; line-height: 1.4; }
.lx-lawyer em { display: block; font-style: normal; font-size: 14px; color: var(--lx-faint); margin-top: 2px; }
.lx-lawyer span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--lx-mute); }
.lx-lawyer:hover strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* guide: one feature + big links */
.lx-guide { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 28px; }
.lx-guide > .a { grid-column: 1 / span 5; }
.lx-guide > .b { grid-column: 7 / -1; }
.lx-feature { display: block; text-decoration: none; padding: 26px 28px; border: 1px solid var(--lx-line); border-radius: var(--lx-r); background: #fff; }
.lx-feature em { display: block; font-style: normal; font-size: 14px; color: var(--lx-faint); }
.lx-feature strong { display: block; margin-top: 10px; font-family: var(--lx-serif); font-weight: 600; font-size: 23px; line-height: 1.5; }
.lx-feature p { margin: 12px 0 0; font-size: 16px; line-height: 1.8; color: var(--lx-mute); }
.lx-feature:hover strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lx-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lx-ink); }
.lx-links li { border-bottom: 1px solid var(--lx-line); }
.lx-links a { display: block; padding: 16px 0; text-decoration: none; font-size: 18px; line-height: 1.6; font-weight: 500; }
.lx-links a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

/* contact */
.lx-contact { background: var(--lx-paper-2); }
.lx-contact__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 36px; }
.lx-contact__copy { grid-column: 1 / span 5; }
.lx-contact__copy h2 { margin: 0; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.3; }
.lx-contact__copy p { margin: 20px 0 0; color: var(--lx-mute); line-height: 1.95; max-width: 26em; }
.lx-contact__copy ul { margin: 22px 0 0; padding: 0; list-style: none; font-size: 16px; color: var(--lx-mute); }
.lx-contact__copy li { padding: 10px 0; border-top: 1px solid var(--lx-line); }
.lx-contact__pic { margin: 28px 0 0; }
.lx-contact__pic img { display: block; width: 100%; height: auto; border-radius: var(--lx-r); }
.lx-form { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; align-self: start; }
.lx-form label { display: grid; gap: 8px; font-size: 15px; font-weight: 500; }
.lx-form label em { font-style: normal; color: var(--lx-red-deep); font-size: 12px; margin-left: 6px; }
.lx-form input, .lx-form select, .lx-form textarea { width: 100%; font: inherit; font-size: 17px; padding: 14px 16px; border: 1px solid var(--lx-line); border-radius: 6px; background: #fff; color: var(--lx-ink); }
.lx-form input:focus-visible, .lx-form select:focus-visible, .lx-form textarea:focus-visible { outline: 2px solid var(--lx-ink); outline-offset: 1px; }
.lx-form .full { grid-column: 1 / -1; }
.lx-form .check { grid-template-columns: auto 1fr; align-items: center; font-weight: 400; }
.lx-form .check input { width: 20px; height: 20px; }
.lx-form button { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; }
.lx-form__status { grid-column: 1 / -1; margin: 0; font-size: 15px; min-height: 1.5em; }

/* sticky CTA (phones only) */
.lx-sticky { display: none; }
@media (max-width: 720px) {
  .lx-sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--lx-line); transform: translateY(110%); transition: transform .3s ease; }
  .lx-sticky.is-on { transform: none; }
  .lx-sticky .lx-btn { flex: 1; min-height: 50px; padding: 0 12px; font-size: 15px; }
}

/* one-shot reveals (chapter heads only) */
.js [data-lx-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .8s var(--lx-ease); }
.js [data-lx-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-lx-reveal], .js .lx-in, .js .lx-hero__visual img { opacity: 1; transform: none; transition: none; }
  .lx-sticky { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  .lx-two > .a, .lx-two > .b, .lx-price > .a, .lx-price > .b, .lx-guide > .a, .lx-guide > .b, .lx-contact__copy, .lx-form { grid-column: 1 / -1; }
  .lx-band__pic, .lx-band__copy, .lx-band--flip .lx-band__pic, .lx-band--flip .lx-band__copy { grid-column: 1 / -1; order: initial; }
  .lx-band__copy { margin-top: 28px; }
  .lx-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lx-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-stages, .lx-stages--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lx-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-lawyers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lx-scope { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .lx-hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .lx-hero__copy { padding: 40px 0 8px; }
  .lx-hero__visual { min-height: 0; aspect-ratio: 4 / 3; margin: 28px calc(-1 * var(--lx-gutter)) 0; }
  .lx-hero__visual::before { display: none; }
  .lx-h1 .lx-h1__name { font-size: clamp(40px, 10vw, 76px); }
  .lx-h1 .lx-h1__sub { font-size: clamp(20px, 3.2vw, 26px); margin-top: 18px; }
}
@media (max-width: 720px) {
  :root { --lx-sec: 60px; }
  html { scroll-padding-top: 72px; }
  body.lx { font-size: 17px; }
  .lx-hero { padding-top: 61px; }
  .lx-bc { margin-bottom: 20px; }
  .lx-hero__visual { aspect-ratio: 1 / 1; }
  .lx-hero__cta { gap: 14px; }
  .lx-hero__cta .lx-btn { width: 100%; }
  .lx-hf__row { grid-template-columns: 104px 1fr; }
  .lx-hf dd { font-size: 22px; }
  .lx-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; }
  .lx-logos span { height: 52px; }
  .lx-logos img { max-height: 30px; }
  .lx-plans, .lx-stages, .lx-stages--5, .lx-steps, .lx-lawyers { grid-template-columns: 1fr; }
  .lx-plan--wide { grid-column: auto; }
  .lx-record { grid-template-columns: 1fr 1fr; }
  .lx-record div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .lx-form { grid-template-columns: 1fr; }
  .lx-table { font-size: 15.5px; }
  .lx-table th, .lx-table td { padding: 12px 12px 12px 0; }
  .lx-table-wrap .lx-table { min-width: 560px; }
  .lx-ch h2 { font-size: 30px; }
  .lx-ch .lx-lede { font-size: 17px; }
  .lx-def { font-size: 18px; }
  .lx-contact__copy h2 { font-size: 30px; }
  .lx-big-list li { font-size: 20px; }
  .lx-scope dt { font-size: 21px; }
}

/* LP proposal v3「なぜLegalAgentか」— layered on lp.css (v2).
   Colour: the cool paper and brand red stay; navy carries the weight (dark chapters, numbers), teal marks the AI Agent's work,
   red marks the lawyer's judgement and the one action per screen. Flat fills only — no gradients, glows or loops.
   Motion: unchanged (hero entrance once, chapter heads/cards reveal once). */

:root {
  --lx-navy: #12233a;
  --lx-navy-2: #1a3050;
  --lx-navy-3: #2a4a74;
  --lx-on-navy: #f4f7fb;
  --lx-on-navy-mute: rgba(244, 247, 251, 0.78);
  --lx-on-navy-faint: rgba(244, 247, 251, 0.6);
  --lx-navy-line: rgba(244, 247, 251, 0.16);
  --lx-teal: #17675f;
  --lx-teal-2: #24877d;
  --lx-teal-hi: #8fd6cb;
  --lx-teal-soft: #dcefeb;
  --lx-teal-tint: #e9f4f1;
  --lx-red-soft: #fcebef;
  --lx-amber: #8a5a00;
  --lx-amber-soft: #f7efdc;
  --lx-violet: #4a3d8f;
  --lx-violet-soft: #ebe8f7;
  --lx-sky-soft: #e5ecf6;
}

/* ---------- type colour ---------- */
.lx-h1 .lx-h1__name, .lx-ch h2, .lx-h3, .lx-contact__copy h2 { color: var(--lx-navy); }
.lx-kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font-family: var(--lx-en); font-weight: 600; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--lx-teal); }
.lx-kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.lx-ch { border-top-color: var(--lx-line); position: relative; }
.lx-ch h2 { max-width: 22em; }
.lx-ch::before { content: ""; position: absolute; left: 0; top: -2px; width: 80px; height: 3px; background: var(--lx-teal); }
.lx-lede b { color: var(--lx-navy); }

/* ---------- buttons ---------- */
.lx-btn--red { background: var(--lx-red); border-color: var(--lx-red); color: #fff; }
.lx-btn--red:hover { background: var(--lx-red-deep); border-color: var(--lx-red-deep); }
.lx-link--sm { font-size: 15px; }
.lx-link { color: var(--lx-navy); }

/* ---------- hero: film + masthead with a navy key-figure panel ---------- */
.lx-hero--video .lx-hero__film { background: #fff; border-bottom: 0; display: block; }
/* full width and never cropped: the films put their headlines near the top edge, so a height cap with object-fit: cover cut them off */
.lx-hero--video .lx-hero__film { max-height: none; }
.lx-hero--video .lx-hero__film video { display: block; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.lx-hero--video .lx-hero__grid { align-items: center; }
.lx-hero--video .lx-hero__copy { padding: 52px 0 28px; }
.lx-kf { margin: 40px 0 0; padding: 30px 32px 10px; background: var(--lx-navy); color: var(--lx-on-navy); border-radius: 12px; }
.lx-kf__i { display: grid; grid-template-columns: 120px 1fr; column-gap: 16px; align-items: baseline; padding: 0 0 20px; }
.lx-kf__i + .lx-kf__i { padding-top: 18px; border-top: 1px solid var(--lx-navy-line); }
.lx-kf dt { font-size: 14px; color: var(--lx-on-navy-faint); }
.lx-kf dd { margin: 0; font-family: var(--lx-serif); font-weight: 600; font-size: 22px; line-height: 1.2; }
.lx-kf dd b { font-size: clamp(40px, 3.6vw, 52px); font-weight: 700; color: var(--lx-teal-hi); margin: 0 4px; letter-spacing: -.01em; }
.lx-kf .lx-sup { color: var(--lx-on-navy-faint); }
.lx-clients__row strong { color: var(--lx-navy); }
@media (max-width: 900px) {
  .lx-kf { margin-top: 8px; }
}
@media (max-width: 720px) {
  .lx-kf { padding: 22px 22px 6px; }
  .lx-kf__i { grid-template-columns: 96px 1fr; padding-bottom: 14px; }
  .lx-kf__i + .lx-kf__i { padding-top: 14px; }
  .lx-kf dd b { font-size: 38px; }
}

/* ---------- section tones ---------- */
.lx-sec--paper { background: var(--lx-paper-2); }
.lx-sec--teal { background: var(--lx-teal-tint); }

/* ---------- Why: navy chapter, three gains (before → after) ---------- */
.lx-why { background: var(--lx-navy); color: var(--lx-on-navy); }
.lx-why .lx-ch { border-top-color: var(--lx-navy-line); }
.lx-why .lx-ch::before { background: var(--lx-teal-hi); }
.lx-why .lx-ch h2 { color: #fff; max-width: none; font-size: clamp(32px, 4vw, 56px); }
.lx-why .lx-ch .lx-lede { color: var(--lx-on-navy-mute); }
.lx-why .lx-kicker { color: var(--lx-teal-hi); }
.lx-gains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.lx-gain { display: flex; flex-direction: column; padding: 30px 30px 28px; background: var(--lx-navy-2); border: 1px solid var(--lx-navy-line); border-radius: 12px; }
.lx-gain__k { display: flex; align-items: baseline; gap: 12px; margin: 0; font-weight: 600; font-size: 16px; letter-spacing: .06em; color: var(--lx-teal-hi); }
.lx-gain__k i { font-style: normal; font-family: var(--lx-en); font-size: 14px; color: var(--lx-on-navy-faint); }
.lx-gain__ba { margin: 20px 0 22px; padding: 18px 0 20px; border-top: 1px solid var(--lx-navy-line); border-bottom: 1px solid var(--lx-navy-line); }
.lx-gain__ba p { margin: 0; }
.lx-gain__ba small { display: block; font-size: 13px; line-height: 1.5; letter-spacing: .02em; }
.lx-gain__ba .was { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; color: var(--lx-on-navy-faint); }
.lx-gain__ba .was small { flex: 1 1 auto; }
.lx-gain__ba .was s { font-family: var(--lx-serif); font-weight: 600; font-size: 19px; text-decoration-thickness: 1px; text-decoration-color: rgba(244,247,251,.5); }
.lx-gain__ba .arr { display: block; width: 18px; height: 18px; margin: 10px 0 6px; color: var(--lx-teal-hi); transform: rotate(90deg); }
.lx-gain__ba .arr svg { width: 18px; height: 18px; }
.lx-gain__ba .now small { color: var(--lx-teal-hi); }
.lx-gain__ba .now span { display: block; margin-top: 4px; font-family: var(--lx-serif); font-weight: 600; font-size: 26px; line-height: 1.1; color: #fff; }
.lx-gain__ba .now b { font-size: clamp(56px, 5.4vw, 80px); font-weight: 700; letter-spacing: -.02em; margin: 0 4px; }
.lx-gain__ba .now .lx-sup { color: var(--lx-on-navy-faint); font-size: 14px; }
.lx-gain__chips { display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 8px; margin: 20px 0 22px; padding: 18px 0 20px; list-style: none; border-top: 1px solid var(--lx-navy-line); border-bottom: 1px solid var(--lx-navy-line); }
.lx-gain__chips li { padding: 9px 14px; border: 1px solid rgba(143, 214, 203, .45); border-radius: 6px; background: rgba(143, 214, 203, .08); font-size: 15px; line-height: 1.4; color: #fff; }
.lx-gain h3 { margin: 0; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.5; color: #fff; }
.lx-gain__p { margin: 12px 0 0; font-size: 16px; line-height: 1.85; color: var(--lx-on-navy-mute); }
.lx-gain__foot { margin: auto 0 0; padding-top: 18px; font-size: 14px; line-height: 1.7; color: var(--lx-teal-hi); }
.lx-gain__p + .lx-gain__foot { margin-top: 18px; border-top: 1px dashed var(--lx-navy-line); }
.lx-fine--dark { color: var(--lx-on-navy-faint); margin-top: 28px; }
@media (min-width: 1100px) {
  .lx-gains { grid-template-rows: repeat(5, auto); row-gap: 0; }
  .lx-gain { display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
  .lx-gain__p + .lx-gain__foot { align-self: end; }
}
.lx-note-card { padding: 28px 30px 30px; background: var(--lx-navy); color: var(--lx-on-navy); border-radius: 12px; }
.lx-note-card p { margin: 0; }
.lx-note-card .k { font-size: 14px; color: var(--lx-teal-hi); }
.lx-note-card strong { display: block; margin-top: 8px; font-family: var(--lx-serif); font-weight: 600; font-size: 26px; line-height: 1.45; color: #fff; }
.lx-note-card .d { margin-top: 10px; font-size: 15.5px; line-height: 1.8; color: var(--lx-on-navy-mute); }
.lx-note-card .lx-btn { margin-top: 20px; }
.js .lx-gain[data-lx-reveal]:nth-child(2) { transition-delay: .08s; }
.js .lx-gain[data-lx-reveal]:nth-child(3) { transition-delay: .16s; }
@media (max-width: 1099px) {
  .lx-gains { grid-template-columns: 1fr; }
  .lx-gain { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 32px; }
  .lx-gain__k { grid-column: 1 / -1; }
  .lx-gain__ba, .lx-gain__chips { grid-column: 1; grid-row: 2 / span 3; margin: 18px 0 0; align-self: start; }
  .lx-gain h3, .lx-gain__p, .lx-gain__foot { grid-column: 2; }
  .lx-gain h3 { margin-top: 18px; }
}
@media (max-width: 720px) {
  .lx-gain { display: flex; padding: 24px 22px; }
  .lx-gain__ba, .lx-gain__chips { margin: 16px 0 18px; align-self: stretch; }
}

/* ---------- How: AI Agent (teal) × 弁護士 (red), the run, the guarantees ---------- */
.lx-duo { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.lx-duo__p { padding: 30px 32px 22px; border-radius: 12px; }
.lx-duo__p--ai { background: var(--lx-teal-soft); }
.lx-duo__p--lw { background: var(--lx-red-soft); }
.lx-duo__who { margin: 0 0 8px; font-size: 17px; font-weight: 600; color: var(--lx-mute); }
.lx-duo__who span { margin-right: 6px; font-family: var(--lx-serif); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); letter-spacing: .01em; }
.lx-duo__p--ai .lx-duo__who span { color: var(--lx-teal); }
.lx-duo__p--lw .lx-duo__who span { color: var(--lx-red-deep); }
.lx-duo__p ul { margin: 0; padding: 0; list-style: none; }
.lx-duo__p li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid rgba(17, 19, 18, .1); font-size: 18px; line-height: 1.6; }
.lx-duo__p li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 10px; height: 10px; border-radius: 50%; }
.lx-duo__p--ai li::before { background: var(--lx-teal); }
.lx-duo__p--lw li::before { background: var(--lx-red); }
.lx-duo__p li b { color: var(--lx-teal); }
.lx-duo__x { display: flex; align-items: center; justify-content: center; font-family: var(--lx-serif); font-size: 40px; color: var(--lx-faint); }
@media (max-width: 900px) {
  .lx-duo { grid-template-columns: 1fr; }
  .lx-duo__x { height: 48px; font-size: 32px; }
}

.lx-run { margin-top: 56px; }
.lx-run__days { display: flex; justify-content: space-between; font-size: 14px; color: var(--lx-faint); margin-bottom: 10px; }
.lx-run__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.lx-run__steps li { padding: 20px 20px 4px 0; border-top: 6px solid var(--lx-paper-3); }
.lx-run__steps li.is-ai { border-top-color: var(--lx-teal-2); }
.lx-run__steps li.is-lw { border-top-color: var(--lx-red); }
.lx-run__steps li.is-done { border-top-color: var(--lx-navy); }
.lx-run__steps em { display: block; font-style: normal; font-family: var(--lx-en); font-weight: 600; font-size: 13px; letter-spacing: .08em; color: var(--lx-faint); }
.lx-run__steps li.is-ai em { color: var(--lx-teal); }
.lx-run__steps li.is-lw em { color: var(--lx-red-deep); }
.lx-run__steps strong { display: block; margin-top: 6px; font-family: var(--lx-serif); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--lx-navy); }
.lx-run__steps p { margin: 8px 0 0; font-size: 15.5px; line-height: 1.75; color: var(--lx-mute); }
@media (max-width: 900px) { .lx-run__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; } }
@media (max-width: 560px) { .lx-run__steps { grid-template-columns: 1fr; row-gap: 8px; } }

.lx-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 56px 0 0; padding: 0; list-style: none; }
.lx-trust li { padding: 22px 24px 24px; border: 1px solid var(--lx-line); border-radius: 12px; background: #fff; }
.lx-trust strong { position: relative; display: block; padding-left: 28px; font-family: var(--lx-serif); font-weight: 600; font-size: 20px; line-height: 1.45; color: var(--lx-navy); }
.lx-trust strong::before { content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--lx-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.5' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center / 18px no-repeat; }
.lx-trust span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.8; color: var(--lx-mute); }
.lx-trust a { color: var(--lx-navy); }
@media (max-width: 900px) { .lx-trust { grid-template-columns: 1fr; gap: 12px; } }

/* M&A: DD findings mapped to SPA clauses, coloured by clause type */
.lx-map { margin-top: 56px; }
.lx-map .lx-h3 { margin-bottom: 18px; }
.lx-table--map td.hl { white-space: normal; }
.lx-table .t { display: inline-block; margin: 2px 6px 4px 0; padding: 4px 10px; border-radius: 6px; font-size: 14.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.t1 { background: var(--lx-sky-soft); color: var(--lx-navy-3); }
.t2 { background: var(--lx-teal-soft); color: var(--lx-teal); }
.t3 { background: var(--lx-amber-soft); color: var(--lx-amber); }
.t4 { background: var(--lx-red-soft); color: var(--lx-red-deep); }
.t5 { background: var(--lx-violet-soft); color: var(--lx-violet); }
.lx--ma .lx-gain__chips li:nth-child(1) { border-color: rgba(173, 196, 230, .6); background: rgba(173, 196, 230, .12); }
.lx--ma .lx-gain__chips li:nth-child(3) { border-color: rgba(240, 205, 130, .55); background: rgba(240, 205, 130, .1); }
.lx--ma .lx-gain__chips li:nth-child(4) { border-color: rgba(255, 150, 168, .55); background: rgba(255, 150, 168, .1); }

/* ---------- Cases ---------- */
.lx-cases { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: start; }
.lx-cases__side { display: grid; gap: 24px; }
.lx-case { padding: 30px 32px; background: #fff; border-radius: 12px; border: 1px solid rgba(23, 103, 95, .14); }
.lx-case__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.lx-case__head img { height: 34px; width: auto; }
.lx-case__head span { font-size: 14px; color: var(--lx-faint); }
.lx-case h3 { margin: 18px 0 0; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.4; color: var(--lx-navy); }
.lx-case--feature h3 { margin-top: 22px; }
.lx-case:not(.lx-case--feature) h3 { font-size: 23px; margin-top: 10px; }
.lx-case > p { margin: 12px 0 0; font-size: 16px; line-height: 1.85; color: var(--lx-mute); }
.lx-case__who { display: flex; align-items: center; gap: 10px; font-size: 14px !important; color: var(--lx-faint) !important; margin: 0 !important; }
.lx-case__who img { width: 26px; height: 26px; object-fit: contain; }
.lx-ba { width: 100%; margin: 24px 0 0; border-collapse: collapse; font-size: 16px; }
.lx-ba th, .lx-ba td { padding: 14px 12px 14px 0; text-align: left; border-bottom: 1px solid var(--lx-line); vertical-align: baseline; }
.lx-ba thead th { font-size: 13px; font-weight: 500; color: var(--lx-faint); border-bottom: 1px solid var(--lx-navy); padding-top: 0; }
.lx-ba thead th.now { color: var(--lx-teal); }
.lx-ba tbody th { font-weight: 500; color: var(--lx-mute); }
.lx-ba td { color: var(--lx-faint); white-space: nowrap; }
.lx-ba td.now { font-family: var(--lx-serif); font-weight: 700; font-size: 22px; color: var(--lx-teal); }
.lx-quote { margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--lx-teal-2); }
.lx-quote p { margin: 0; font-family: var(--lx-serif); font-weight: 600; font-size: 19px; line-height: 1.8; color: var(--lx-navy); }
.lx-quote footer { margin-top: 10px; font-size: 14px; color: var(--lx-faint); }
.lx-quote--sm p { font-size: 17px; }
.lx-case__src { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin: 24px 0 0 !important; font-size: 13.5px !important; color: var(--lx-faint) !important; }
.lx-deals { padding: 26px 30px 24px; background: #fff; border-radius: 12px; border: 1px solid rgba(23, 103, 95, .14); }
.lx-deals__k { margin: 0 0 6px; font-size: 14px; color: var(--lx-faint); }
.lx-deals ul { margin: 0 0 16px; padding: 0; list-style: none; }
.lx-deals li { border-bottom: 1px solid var(--lx-line); }
.lx-deals li a { display: block; padding: 14px 0; text-decoration: none; }
.lx-deals li strong { display: block; font-family: var(--lx-serif); font-weight: 600; font-size: 18px; line-height: 1.5; color: var(--lx-navy); }
.lx-deals li span { display: block; font-size: 14px; color: var(--lx-faint); }
.lx-deals li a:hover strong { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 1099px) { .lx-cases { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .lx-case, .lx-deals { padding: 24px 20px; }
  .lx-ba { font-size: 14.5px; }
  .lx-ba td.now { font-size: 18px; }
}

/* ---------- colour on existing blocks ---------- */
.lx-big-list { border-top-color: var(--lx-navy); }
.lx-big-list--pain li { position: relative; padding-left: 34px; }
.lx-big-list--pain li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 2px; background: var(--lx-red); }
.lx-def b { color: var(--lx-navy); }
.lx-scope { border-top-color: var(--lx-navy); }
.lx-scope dt { color: var(--lx-navy); }
.lx-scope > div { position: relative; padding-left: 20px; }
.lx-scope > div::before { content: ""; position: absolute; left: 0; top: 33px; width: 8px; height: 8px; border-radius: 2px; background: var(--lx-teal-2); }

.lx-plans--color .lx-plan { border-top: 5px solid var(--lx-teal-2); }
.lx-plans--color .lx-plan:nth-child(2) { border-top-color: var(--lx-teal); }
.lx-plans--color .lx-plan:nth-child(3) { border-top-color: var(--lx-navy-3); }
.lx-plans--color .lx-plan:nth-child(4) { border-top-color: var(--lx-navy); }
.lx-plans--color .lx-plan em { color: var(--lx-teal); font-weight: 600; }
.lx-plans--color .lx-plan strong { color: var(--lx-navy); }
.lx-table--vs td.hl, .lx-table--vs th.hl { background: var(--lx-teal-tint); padding-left: 16px; }
.lx-table--vs td.hl strong { color: var(--lx-teal); }
.lx-table--vs thead th.hl { color: var(--lx-teal); font-weight: 600; }
.lx-sec--paper .lx-table--vs td.hl, .lx-sec--paper .lx-table--vs th.hl { background: #fff; }
.lx-table--vs td.hl + td, .lx-table--vs th.hl + th { padding-left: 18px; }

.lx-stages--color { border-top: 0; }
.lx-stages--color > li { border-top: 5px solid var(--lx-teal-2); }
.lx-stages--color > li:nth-child(2) { border-top-color: #1f7a71; }
.lx-stages--color > li:nth-child(3) { border-top-color: var(--lx-teal); }
.lx-stages--color > li:nth-child(4) { border-top-color: #1e4f66; }
.lx-stages--color > li:nth-child(5) { border-top-color: var(--lx-navy-3); }
.lx-stages--color > li:nth-child(6) { border-top-color: var(--lx-navy); }
.lx-stages--color > li em { color: var(--lx-teal); font-family: var(--lx-en); font-weight: 600; letter-spacing: .06em; }
.lx-stages--color > li strong { color: var(--lx-navy); }

.lx-phases li.is-core { border-top-color: var(--lx-navy); }
.lx-phases li.is-core + li.is-core::before { background: var(--lx-navy); }
.lx-phases li.is-core strong { color: var(--lx-navy); }
.lx-phases__tag { color: var(--lx-red-deep); }
.lx-phases li em { font-family: var(--lx-en); font-weight: 600; letter-spacing: .06em; }
.lx-phases li.is-core em { color: var(--lx-teal); }

.lx-pricecard { padding: 30px 30px 26px; background: var(--lx-navy); color: #fff; border-radius: 12px; }
.lx-pricecard .lx-big { flex-wrap: wrap; row-gap: 6px; }
.lx-pricecard .lx-big b { white-space: nowrap; }
.lx-pricecard .lx-big small:first-child { flex-basis: 100%; font-size: 16px; }
.lx-pricecard .lx-big small { color: var(--lx-on-navy-faint); }
.lx-pricecard .lx-big b { color: #fff; }
.lx-pricecard .lx-sup { color: var(--lx-on-navy-faint); }
.lx-pricecard__cap { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--lx-navy-line); font-size: 16px; color: var(--lx-teal-hi); }

/* ---------- Team & record ---------- */
.lx-record--color { border-top: 0; gap: 16px; }
.lx-record--color div, .lx-record--color div + div { padding: 22px 22px 20px; border: 0; border-radius: 12px; background: #fff; }
.lx-record--color dt { color: var(--lx-mute); }
.lx-record--color dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; color: var(--lx-navy); }
.lx-record--color dd b { font-size: clamp(40px, 4vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: -.01em; }
.lx-record--color dd span { font-size: 20px; }
.lx-record--color dd small { flex-basis: 100%; margin-top: 4px; }
.lx-record--color div:nth-child(1) dd b { color: var(--lx-teal); }
.lx-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 48px 0 0; padding: 0; list-style: none; }
.lx-person { display: block; text-decoration: none; }
.lx-person img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 22%; border-radius: 12px; background: var(--lx-paper-3); }
.lx-person__spec { display: block; margin-top: 16px; font-size: 14.5px; font-weight: 600; line-height: 1.6; color: var(--lx-teal); }
.lx-person strong { display: block; margin-top: 4px; font-family: var(--lx-serif); font-weight: 600; font-size: 26px; line-height: 1.4; color: var(--lx-navy); }
.lx-person em { display: block; margin-top: 2px; font-style: normal; font-size: 14px; color: var(--lx-faint); }
.lx-person:hover strong { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.lx-eng { display: grid; grid-template-columns: 140px 1fr; gap: 8px 24px; margin-top: 40px; padding: 24px 28px; background: #fff; border-radius: 12px; }
.lx-eng p { margin: 0; font-size: 16px; line-height: 1.85; color: var(--lx-mute); }
.lx-eng a { color: var(--lx-navy); font-weight: 600; }
.lx-eng__k { font-family: var(--lx-serif); font-weight: 600; font-size: 20px !important; color: var(--lx-navy) !important; }
@media (max-width: 1099px) { .lx-record--color { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .lx-record--color { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lx-record--color div, .lx-record--color div + div { padding: 16px; }
  .lx-people { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lx-people li:last-child { grid-column: 1 / -1; }
  .lx-person strong { font-size: 22px; }
  .lx-eng { grid-template-columns: 1fr; padding: 20px; }
}

/* ---------- FAQ / guide accents ---------- */
.lx-details { border-top-color: var(--lx-navy); }
.lx-details summary { color: var(--lx-navy); }
.lx-feature { border-color: rgba(23, 103, 95, .2); }
.lx-feature em { color: var(--lx-teal); font-weight: 600; }
.lx-feature strong { color: var(--lx-navy); }
.lx-links { border-top-color: var(--lx-navy); }

/* ---------- Contact: navy, the form on a white sheet ---------- */
.lx-contact--dark { background: var(--lx-navy); color: var(--lx-on-navy); }
.lx-contact--dark .lx-kicker { color: var(--lx-teal-hi); }
.lx-contact--dark .lx-contact__copy h2 { color: #fff; }
.lx-contact--dark .lx-contact__copy p { color: var(--lx-on-navy-mute); }
.lx-contact--dark .lx-contact__copy ul { color: var(--lx-on-navy); }
.lx-contact--dark .lx-contact__copy li { position: relative; padding-left: 26px; border-top-color: var(--lx-navy-line); }
.lx-contact--dark .lx-contact__copy li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 2px; background: var(--lx-teal-hi); }
.lx-contact--dark .lx-form { padding: 34px 34px 28px; background: #fff; color: var(--lx-ink); border-radius: 14px; }
@media (max-width: 720px) { .lx-contact--dark .lx-form { padding: 24px 20px; } }

/* card reveals use the same one-shot rule as the chapter heads */
@media (prefers-reduced-motion: reduce) { .js .lx-gain[data-lx-reveal] { transition-delay: 0s; } }

/* ---------- M&A: LBO chapter — SPA lane and loan lane meet on the closing day ---------- */
.lx-sec--sky { background: #edf2f9; }
.lx-sec--sky .lx-kicker { color: var(--lx-navy-3); }
.lx-sec--sky .lx-ch::before { background: var(--lx-navy-3); }
.lx-lbo { display: grid; grid-template-columns: minmax(0, 7fr) 44px minmax(0, 5fr); grid-template-rows: auto auto auto; align-items: stretch; }
.lx-lbo__lane { grid-column: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; column-gap: 20px; padding: 22px 26px; background: #fff; border-radius: 12px; border-left: 6px solid var(--lx-teal-2); }
.lx-lbo__lane--spa { grid-row: 1; }
.lx-lbo__lane--loan { grid-row: 3; border-left-color: var(--lx-navy-3); }
.lx-lbo__who { margin: 0; }
.lx-lbo__who strong { display: block; font-family: var(--lx-serif); font-weight: 600; font-size: 22px; line-height: 1.4; color: var(--lx-navy); }
.lx-lbo__who span { display: block; margin-top: 4px; font-size: 14px; color: var(--lx-faint); }
.lx-lbo__lane ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lx-lbo__lane li { padding: 7px 12px; border-radius: 6px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.lx-lbo__lane--spa li { background: var(--lx-teal-soft); color: var(--lx-teal); }
.lx-lbo__lane--loan li { background: var(--lx-sky-soft); color: var(--lx-navy-3); }
.lx-lbo__sync { grid-column: 1; grid-row: 2; position: relative; min-height: 28px; }
.lx-lbo__sync::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed rgba(42, 74, 116, .45); }
.lx-lbo__sync span { position: relative; padding: 6px 14px; background: #edf2f9; font-size: 14.5px; font-weight: 600; color: var(--lx-navy-3); }
.lx-lbo__day { grid-column: 3; grid-row: 1 / 4; position: relative; padding: 28px 28px 24px; background: var(--lx-navy); color: var(--lx-on-navy); border-radius: 12px; }
.lx-lbo__day::before { content: ""; position: absolute; left: -44px; top: 50%; width: 44px; border-top: 2px solid var(--lx-navy-3); }
.lx-lbo__day::after { content: ""; position: absolute; left: -2px; top: calc(50% - 6px); border: 6px solid transparent; border-left-color: var(--lx-navy-3); transform: translateX(-4px); }
.lx-lbo__day em { display: block; font-style: normal; font-family: var(--lx-en); font-weight: 600; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--lx-teal-hi); }
.lx-lbo__day strong { display: block; margin-top: 6px; font-family: var(--lx-serif); font-weight: 700; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.3; color: #fff; }
.lx-lbo__day ul { margin: 18px 0 0; padding: 0; list-style: none; }
.lx-lbo__day li { position: relative; padding: 11px 0 11px 24px; border-top: 1px solid var(--lx-navy-line); font-size: 16.5px; line-height: 1.5; }
.lx-lbo__day li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 9px; height: 9px; border-radius: 50%; background: var(--lx-teal-hi); }
.lx-lbo__day p { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--lx-navy-line); font-size: 14.5px; line-height: 1.75; color: var(--lx-on-navy-mute); }
.lx-lbo-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 40px 0 0; }
.lx-lbo-scope > div { padding: 22px 24px 20px; background: #fff; border-radius: 12px; }
.lx-lbo-scope dt { font-family: var(--lx-serif); font-weight: 600; font-size: 21px; line-height: 1.45; color: var(--lx-navy); }
.lx-lbo-scope dd { margin: 8px 0 0; font-size: 15.5px; line-height: 1.8; color: var(--lx-mute); }
.lx-lbo-scope dd.out { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--lx-line); font-size: 14px; font-weight: 600; color: var(--lx-navy-3); }
.lx-lbo-scope dd.out::before { content: "成果物　"; font-weight: 500; color: var(--lx-faint); }
@media (max-width: 1099px) {
  .lx-lbo__lane { grid-template-columns: 1fr; row-gap: 12px; }
}
@media (max-width: 900px) {
  .lx-lbo { grid-template-columns: 1fr; }
  .lx-lbo__day { grid-column: 1; grid-row: 5; margin-top: 0; }
  .lx-lbo__day::before { left: 50%; top: -40px; width: 0; height: 40px; border-top: 0; border-left: 2px solid var(--lx-navy-3); }
  .lx-lbo__day::after { display: none; }
  .lx-lbo::after { content: ""; grid-row: 4; height: 40px; }
  .lx-lbo-scope { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lx-lbo__lane { padding: 18px 18px; }
  .lx-lbo__sync span { font-size: 13.5px; text-align: center; }
}

/* phrase spans from make.cjs: lines break between phrases only */
lx-p { white-space: nowrap; }
@media (max-width: 400px) { .lx-ch h2 { font-size: 27px; } }

/* client logos: ncv-dark.png and boostcapital.png carry wide empty margins — crop / enlarge them to read at the same size */
.lx-logos .is-ncv { overflow: hidden; }
.lx-logos .is-ncv img { width: 100%; height: 100%; max-width: 100%; max-height: none; object-fit: cover; }
.lx-logos img[src$="boostcapital.png"] { transform: scale(1.6); }
.lx-logos img[src$="skyland-ventures.jpg"] { transform: scale(1.3); }

/* English pages (2026-10-04): break a word only when it cannot fit (anywhere suits Japanese, not English) */
html[lang="en"] body.lx { overflow-wrap: break-word; }
html[lang="en"] .lx-ba td, html[lang="en"] .lx-link--sm { white-space: normal; }
html[lang="en"] .lx-lbo-scope dd.out::before { content: "Deliverables: "; }
html[lang="en"] .lx-pricecard .lx-big b { font-size: clamp(56px, 4.8vw, 76px); }
@media (max-width: 720px) { html[lang="en"] .lx-kf dd b { font-size: 32px; } }

/* production: the fixed nav height comes from the film script (--lp-nav-h) */
.lx-hero.lx-hero--video { padding-top: var(--lp-nav-h, 80px); }
