/* ==========================================================================
   TERRAISE — LP（/lp/*）v2。pages.css の上に読む。数値・部品の正本は ROOT/DESIGN.md
   ヒーロー（色面＋極太の約束＋LP ごとの素材）／社名ストリップ（静止）／課題／Before-After／中間CTA（Cyan の全面）
   ／解決策の行／常時CTA（PC 右下・SP 下部バー）。角 0・影なし・見出しと本文は動かさない
   ========================================================================== */

/* ---------------- ヒーロー ---------------- */
.lphero { position: relative; overflow: hidden; isolation: isolate; }
.lphero__inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); grid-template-areas: "head head" "main aside"; gap: 48px 64px; align-items: end; padding: calc(var(--header-h) + 72px) 0 clamp(56px, 7vw, 88px); }
.lphero__head { grid-area: head; min-width: 0; }
.lphero__main { grid-area: main; min-width: 0; }
.lphero__aside { grid-area: aside; }
.lphero__label { margin-bottom: 20px; }
.lphero__title { display: block; }
.lphero__catch { display: block; font-size: clamp(40px, 1.2rem + 4.2vw, 84px); font-weight: 900; line-height: 1.14; letter-spacing: var(--tracking-display); }
.lphero__sub { display: block; margin-top: 20px; font-size: clamp(16px, .9rem + .3vw, 20px); font-weight: 700; letter-spacing: var(--tracking-lead); line-height: 1.5; }
.lphero__lead { max-width: 36em; font-size: 16px; line-height: 1.9; color: var(--text-2); }
.lphero__lead strong { color: var(--ink); }
.lphero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 32px; }
.lphero__note { margin-top: 16px; font-size: 11px; color: var(--text-2); text-transform: none; }
.lphero__aside { min-width: 0; align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.lphero.tone-navy .lphero__catch, .lphero.tone-navy .lphero__sub { color: #fff; }
.lphero.tone-navy .lphero__sub { color: var(--lt); }
.lphero.tone-navy .lphero__lead, .lphero.tone-navy .lphero__note { color: var(--text-on-dark-2); }
.lphero.tone-navy .lphero__lead strong { color: #fff; }
.lphero.tone-cyan .lphero__lead, .lphero.tone-cyan .lphero__note { color: var(--navy); }
.lphero.tone-cyan .lphero__sub { color: var(--navy); }
.lphero.phero--deep { background: var(--navy-deep); }
@media (max-width: 1000px) {
  .lphero__inner { grid-template-columns: 1fr; grid-template-areas: "head" "main" "aside"; padding: calc(var(--header-h) + 40px) 0 56px; gap: 32px; }
  .lphero__catch { font-size: clamp(34px, 9.4vw, 56px); }
  .lphero__cta .btn { width: 100%; }
}

/* ヒーローの素材: 数字（Before→After・価格・人数） */
.lpfig { padding-top: 16px; border-top: 1px solid currentColor; }
.lpfig > .mono-label { font-size: 11px; color: var(--cyan-deep); text-transform: none; }
.tone-navy .lpfig { border-top-color: rgba(255,255,255,.7); }
.tone-navy .lpfig > .mono-label { color: var(--lt); }
.tone-cyan .lpfig { border-top-color: var(--ink); }
.tone-cyan .lpfig > .mono-label { color: var(--ink); }
.lpfig .ba { margin-top: 16px; font-size: clamp(56px, 1.6rem + 5vw, 112px); }
.lpfig__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--line-on-dark); }
.lpfig__stats li { display: flex; flex-direction: column; gap: 4px; padding: 14px 12px 0 0; }
.lpfig__stats li + li { padding-left: 16px; border-left: 1px solid var(--line-on-dark); }
.lpfig__stats .num { font-size: clamp(28px, 1rem + 1.4vw, 40px); line-height: 1.1; color: #fff; }
.lpfig__stats li > span:last-child { font-size: 12px; color: var(--text-on-dark-2); line-height: 1.5; }
.lpfig__price { display: flex; align-items: baseline; margin-top: 12px; line-height: .9; color: var(--ink); }
.lpfig__price .num { font-size: clamp(120px, 3rem + 12vw, 240px); letter-spacing: -.05em; }
.lpfig__price .num__unit { font-size: .22em; letter-spacing: 0; margin-left: .1em; }
.lpfig__pre { font-size: clamp(28px, 1rem + 2vw, 48px); font-weight: 900; margin-right: .1em; }
.lpfig__cap { margin: 16px 0 24px; font-size: 15px; font-weight: 700; }
.lpfig__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .2em; margin-top: 12px; line-height: .95; color: var(--ink); }
.lpfig__big .num { font-size: clamp(88px, 2rem + 8vw, 168px); letter-spacing: -.05em; }
.lpfig__big .num__unit { font-size: .26em; letter-spacing: 0; margin-left: .08em; }
.lpfig__x { font-family: var(--font-mono); font-size: clamp(28px, 1rem + 2vw, 48px); color: var(--cyan-deep); }
.lpfig__tiles { height: 64px; overflow: hidden; margin-top: 8px; }
@media (max-width: 767px) { .lpfig__stats { grid-template-columns: 1fr 1fr 1fr; } .lpfig__stats li + li { padding-left: 10px; } .lpfig__tiles { height: 40px; } }
/* 素材: アイソメイラスト（教育） */
.lpillust { position: relative; background: var(--surf); border: 1px solid var(--line); }
.lpillust img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.lpillust figcaption { padding: 12px 16px; font-size: 11px; color: var(--text-2); text-transform: none; border-top: 1px solid var(--line); background: #fff; }
/* 素材: ネットから切り離した社内 AI（線 1.5px・直角・等幅ラベル） */
.lpnet { border-top: 1px solid rgba(255,255,255,.7); padding-top: 16px; }
.lpnet svg { width: 100%; height: auto; }
.lpnet .pc rect { fill: none; stroke: #fff; stroke-width: 1.5; }
.lpnet text { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; fill: #fff; text-anchor: middle; }
.lpnet .t-mono { font-size: 11px; fill: var(--lt); text-anchor: start; }
.lpnet .t-dim { fill: rgba(255,255,255,.55); text-anchor: end; }
.lpnet .t-ink { fill: var(--ink); font-size: 15px; font-weight: 500; }
.lpnet figcaption { margin-top: 12px; font-size: 11px; color: var(--text-on-dark-2); text-transform: none; }

/* ---------------- 社名ストリップ（静止。縦の 1px 罫線） ---------------- */
.lptrust { background: var(--navy-deep); color: #fff; border-top: 1px solid var(--line-on-dark); }
.lptrust__inner { display: flex; align-items: center; gap: 12px 32px; width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; padding-block: 16px; }
.lptrust__label { flex: none; color: var(--lt); font-size: 11px; }
.lptrust__list { flex: 1; display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; font-size: 15px; font-weight: 700; letter-spacing: var(--tracking-lead); }
.lptrust__list li { padding: 0 20px; border-left: 1px solid var(--line-on-dark); line-height: 1.4; }
.lptrust__list li:first-child { padding-left: 0; border-left: 0; }
.lptrust__count { flex: none; display: flex; align-items: baseline; gap: 12px; }
.lptrust__count .mono-label { color: var(--lt); font-size: 11px; }
.lptrust__count strong { font-size: 14px; font-weight: 700; }
.lptrust__count .num { font-size: 30px; color: var(--cyan); margin-left: .1em; letter-spacing: -.02em; }
@media (max-width: 1000px) { .lptrust__inner { flex-wrap: wrap; } .lptrust__list { order: 3; flex-basis: 100%; font-size: 13px; } .lptrust__list li { padding: 0 12px; } }

/* ---------------- 01 課題（2×2。番号＋罫線。アイコンは使わない） ---------------- */
.lpissues__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; margin-top: 48px; border-top: 1px solid var(--ink); }
.lpissues__list li { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line-strong); }
.lpissues__list .mono-label { color: var(--cyan-deep); font-size: 11px; }
.lpissues__list p { font-size: clamp(17px, .9rem + .4vw, 20px); font-weight: 700; line-height: 1.6; }
.lpissues__after { margin-top: 32px; font-size: 20px; font-weight: 700; }
@media (max-width: 900px) { .lpissues__list { grid-template-columns: 1fr; } .lpissues__list li { padding: 18px 0; } }

/* ---------------- 02 判断基準: 製造業（ベルトコンベア。film.css の .conveyor を再利用） ---------------- */
.lpmethod { padding-block: var(--section); }
.lpmethod .conveyor { margin-top: 48px; }
.lpmethod__levels { margin-top: var(--section); }
.lpmethod__title { font-size: var(--text-h3); font-weight: 700; }
.lpmethod__levels .lvls { margin-top: 24px; }
.lpmethod__levels--dark { margin-top: 96px; padding-top: 48px; border-top: 1px solid var(--line-on-dark); }
.lpmethod__levels--dark .lpmethod__title { color: #fff; }
/* 判断基準: クラウドか、ローカルか */
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; border-top: 1px solid currentColor; }
.choice__col { display: flex; flex-direction: column; gap: 12px; padding: 32px 40px 40px 0; }
.choice__col + .choice__col { padding: 32px 0 40px 40px; border-left: 1px solid var(--line-strong); }
.tone-navy .choice__col + .choice__col { border-left-color: var(--line-on-dark); }
.choice__en { color: var(--cyan-deep); font-size: 11px; }
.tone-navy .choice__en { color: var(--lt); }
.choice__name { font-size: clamp(24px, 1rem + 1.2vw, 32px); font-weight: 700; line-height: 1.35; }
.choice__name small { display: block; margin-top: 4px; font-size: 14px; font-weight: 500; opacity: .8; }
.choice__fig { width: 100%; max-width: 420px; height: auto; margin: 8px 0; color: var(--ink); }
.tone-navy .choice__fig { color: #fff; }
.choice__fig text { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; fill: currentColor; }
.choice__fig text.on-cyan { fill: var(--ink); font-weight: 500; }
.choice__when { font-size: var(--text-body-sm); color: var(--text-2); }
.tone-navy .choice__when { color: var(--text-on-dark-2); }
.choice__desc { font-size: 18px; font-weight: 700; }
.choice__col--local .choice__desc { color: var(--cyan-dark); }
.tone-navy .choice__col--local .choice__desc { color: var(--cyan); }
.lpnote { margin-top: 32px; max-width: 44em; font-size: var(--text-body-sm); color: var(--text-2); }
.tone-navy .lpnote { color: var(--text-on-dark-2); }
.tone-navy .lpnote strong { color: #fff; }
@media (max-width: 900px) { .choice { grid-template-columns: 1fr; } .choice__col, .choice__col + .choice__col { padding: 24px 0 32px; border-left: 0; } .choice__col + .choice__col { border-top: 1px solid var(--line-on-dark); } }
/* 判断基準: 助成金を前提にした研修設計 */
.lpdesign { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px 64px; align-items: start; }
.lpdesign__text { margin-top: 24px; max-width: 36em; color: var(--text-on-dark-2); }
.lpdesign__points { border-top: 1px solid rgba(255,255,255,.7); }
.lpdesign__points li { display: grid; grid-template-columns: 3em 1fr; gap: 12px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-on-dark); }
.lpdesign__points .mono-label { color: var(--cyan); font-size: 11px; }
.lpdesign__points b { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.55; }
.lpdesign__alert { display: grid; grid-template-columns: 3em 1fr; gap: 12px; margin-top: 24px; font-size: 13px; line-height: 1.8; color: var(--text-on-dark-2); }
.lpdesign__alert .mono-label { color: var(--orange); font-size: 11px; }
@media (max-width: 900px) { .lpdesign { grid-template-columns: 1fr; } }

/* ---------------- 03 Before / After（静的） ---------------- */
.ba2 { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); margin-top: 48px; align-items: stretch; }
.ba2__col { padding: 32px; }
.ba2__col--before { background: var(--surf); border: 1px solid var(--line); }
.ba2__col--after { background: var(--navy); }
.tone-paper .ba2__col--before { background: #fff; }
.ba2__head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-strong); font-size: 14px; font-weight: 700; }
.ba2__head .mono-label { font-size: 12px; color: var(--text-2); }
.ba2__col--after .ba2__head { border-bottom-color: var(--line-on-dark); color: var(--text-on-dark-2); }
.ba2__col--after .ba2__head .mono-label { color: var(--cyan); }
.ba2__steps li { display: grid; grid-template-columns: 2.6em 1fr; gap: 8px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 500; line-height: 1.6; color: var(--text-2); }
.ba2__steps li:last-child { border-bottom: 0; }
.ba2__steps .mono-label { font-size: 11px; color: var(--text-2); }
.ba2__col--after .ba2__steps li { color: #fff; font-weight: 700; border-bottom-color: var(--line-on-dark); }
.ba2__col--after .ba2__steps .mono-label { color: var(--cyan); }
.ba2__arrow { position: relative; }
.ba2__arrow span { position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: var(--ink); }
.ba2__arrow span::after { content: ""; position: absolute; right: 0; top: -5px; width: 10px; height: 10px; border-top: 1px solid var(--ink); border-right: 1px solid var(--ink); transform: rotate(45deg); }
.ba2__metric { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 40px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--ink); }
.ba2__metric .mono-label { color: var(--cyan-deep); }
@media (max-width: 900px) {
  .ba2 { grid-template-columns: 1fr; }
  .ba2__col { padding: 24px 20px; }
  .ba2__arrow { height: 48px; }
  .ba2__arrow span { left: 50%; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .ba2__arrow span::after { right: -5px; top: auto; bottom: 0; transform: rotate(135deg); }
}

/* ---------------- 中間CTA（Cyan の全面。文字は墨だけ） ---------------- */
.lpmid { padding-block: clamp(96px, 10vw, 144px); }
.lpmid__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 64px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--ink); }
.lpmid__title { margin-top: 8px; font-size: clamp(30px, 1rem + 3.4vw, 64px); font-weight: 900; line-height: 1.2; letter-spacing: var(--tracking-display); color: var(--ink); }
.lpmid__lead { max-width: 36em; font-weight: 500; color: var(--navy); }
.lpmid__action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
@media (max-width: 900px) { .lpmid__action, .lpmid__action .btn { width: 100%; } }

/* ---------------- 04 解決策（行） ---------------- */
.lpsol { margin-top: 40px; border-top: 2px solid var(--ink); }
.lpsol__item { border-bottom: 1px solid var(--line-strong); }
.lpsol__link { display: grid; grid-template-columns: minmax(0, 14em) minmax(0, 18em) minmax(0, 1fr) auto; gap: 8px 32px; align-items: baseline; padding: 28px 0; color: inherit; }
.lpsol__link .mono-label { color: var(--cyan-deep); font-size: 11px; }
.lpsol__name { font-family: var(--font-en); font-size: clamp(26px, 1rem + 1.6vw, 40px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.lpsol__name.is-ja { font-family: var(--font-ja); font-size: clamp(22px, 1rem + 1vw, 30px); letter-spacing: 0; }
.lpsol__desc { font-size: 15px; color: var(--text-2); }
.lpsol__go { display: inline-flex; align-items: center; gap: .5em; font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; white-space: nowrap; }
a.lpsol__link:hover .lpsol__go { text-decoration-thickness: 2px; }
a.lpsol__link:hover .i-arrow { transform: translateX(4px); }
a.lpsol__link:hover .lpsol__name { color: var(--cyan-dark); }
.lpsol__note { margin-top: 24px; max-width: 44em; color: var(--text-2); font-size: var(--text-body-sm); }
@media (max-width: 1000px) { .lpsol__link { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; } }

/* 06 なぜTERRAISEか */
.lpwhy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: start; }
.lpwhy__text { margin-top: 24px; max-width: 40em; color: var(--text-2); }
@media (max-width: 900px) { .lpwhy { grid-template-columns: 1fr; } }

/* 匿名事例（リンクなしの行） */
.citem--static .citem__link { cursor: default; }
.citem--static .citem__link:hover .citem__title { text-decoration: none; }

/* ---------------- 常時CTA（PC 右下の小さな面・SP 下部バー） ---------------- */
.lpsticky { position: fixed; z-index: 90; right: 24px; bottom: 24px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.lpsticky.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.lpsticky__inner { display: flex; align-items: center; gap: 20px; padding: 12px 12px 12px 20px; background: var(--navy-deep); color: #fff; border: 1px solid var(--line-on-dark); }
.lpsticky__text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; }
.lpsticky__text .mono-label { color: var(--lt); font-size: 10px; }
.lpsticky__text strong { font-size: 14px; font-weight: 700; }
.lpsticky .btn--cta { --btn-wipe: #fff; }
.lpsticky .btn--cta:hover { color: var(--ink); }
@media (max-width: 767px) {
  .lpsticky { left: 0; right: 0; bottom: 0; }
  .lpsticky__inner { justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-width: 1px 0 0; }
  .lpsticky__btn { padding: 12px 16px; font-size: 14px; }
  .page-lp .site-footer { padding-bottom: 72px; }
}
/* LP の簡略ヘッダーの CTA（SP でも出す）。Cyan の面の上では墨に反転（Cyan に Cyan を重ねない） */
.lp-header-cta { margin-left: auto; }
body[data-tone="cyan"] .lp-header-cta { background: var(--ink); color: #fff; --btn-wipe: var(--navy); }
