/* はたラクAI LP — UI kit styles (elevated).
   Cosmetic + motion layer over the design tokens. Calm, editorial, B2B.
   All motion is decorative and frozen under prefers-reduced-motion. */

.lp-page { background: var(--bg); color: var(--text-strong); font-family: var(--font-body); -webkit-font-smoothing: antialiased; font-feature-settings: "palt"; }
.lp-container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter-lg); box-sizing: border-box; }
.lp-section { padding: 72px 0; }
@media (max-width: 700px) { .lp-section { padding: 52px 0; } .lp-container { padding: 0 var(--gutter); } }

/* ---- Smooth scroll (Lenis) --------------------------------------------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
[data-parallax] { will-change: transform; }

/* Scroll-progress bar (top hairline that fills as you read — LayerX motif). */
.lp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; background: transparent; pointer-events: none; }
.lp-progress__fill { height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--blue-600), var(--accent)); box-shadow: 0 0 12px rgba(30,91,214,.5); }

/* ---- Entrance & reveal -------------------------------------------------
   Block reveals stay visible at rest (transform-only). Per-character splits
   and staggered children use opacity, guarded by a JS safety timeout +
   prefers-reduced-motion so content is never permanently hidden. ---------- */
.lp-page { --ease-lx: cubic-bezier(.16, 1, .3, 1); --ease-back: cubic-bezier(.3, 1.7, .5, 1); }
/* Entrance: transform-only rise (opacity stays 1) so content is NEVER hidden
   if frames are throttled — worst case it sits 26px low. .is-ready (added by
   JS on mount) transitions it home. */
.lp-rise { opacity: 0; transform: translateY(30px); transition: transform 1s var(--ease-lx), opacity .9s var(--ease-lx); transition-delay: var(--d, 0s); }
.lp-page.is-ready .lp-rise { opacity: 1; transform: none; }
.lp-reveal { transform: translateY(60px); opacity: 0; transition: transform 1s var(--ease-lx), opacity .85s var(--ease-lx); transition-delay: var(--rd, 0s); }
.lp-reveal.is-in { transform: none; opacity: 1; }

/* Staggered children: each direct child cascades in big (rise + scale + fade). */
.lp-reveal.is-stagger { transform: none; opacity: 1; transition: none; }
.lp-reveal.is-stagger > .lp-reveal__item { opacity: 0; transform: translateY(64px) scale(.92); transition: opacity .85s var(--ease-lx), transform 1.05s var(--ease-lx); }
.lp-reveal.is-stagger.is-in > .lp-reveal__item { opacity: 1; transform: none; }
/* Rise-only stagger (for table rows etc. where scaling would misalign). */
.lp-reveal.is-stagger.lp-stagger--rise > .lp-reveal__item { transform: translateY(38px) scale(1); }
.lp-reveal.is-stagger.lp-stagger--rise.is-in > .lp-reveal__item { transform: none; }

/* Hero graphic — dramatic scale-up + fade on load (inner wrapper so the
   parallax transform on the outer element never clobbers the entrance). */
.lp-hero__visual-in { opacity: 0; transform: translateY(40px) scale(.86); transform-origin: 60% 50%; transition: opacity 1.1s var(--ease-lx), transform 1.3s var(--ease-lx); transition-delay: .32s; }
.lp-page.is-ready .lp-hero__visual-in { opacity: 1; transform: none; }

/* Per-character heading reveal: fade up + de-blur on a stagger. */
.lp-split { display: inline; }
.lp-split__line { display: block; position: relative; }
.lp-split__c { display: inline-block; opacity: 0; transform: translateY(0.7em); filter: blur(9px); transition: opacity .82s var(--ease-lx), transform .82s var(--ease-lx), filter .82s var(--ease-lx); will-change: transform, opacity, filter; }
.lp-split.is-in .lp-split__c { opacity: 1; transform: none; filter: blur(0); }
.lp-split__line--accent .lp-split__c { color: var(--accent); }

/* Mask mode: characters slide up from behind a clip line (LayerX hero). */
.lp-split--mask .lp-split__line { overflow: hidden; padding: 0.14em 0.06em; margin: -0.14em -0.06em; }
.lp-split--mask .lp-split__c { opacity: 1; filter: none; transform: translateY(118%); transition: transform 1.05s var(--ease-lx); }
.lp-split--mask.is-in .lp-split__c { transform: none; }

.lp-split__u { position: absolute; left: 0; bottom: .02em; height: .09em; width: 100%; background: linear-gradient(90deg, var(--accent), var(--blue-400)); border-radius: 3px; transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-lx) .55s; }
.lp-split.is-in .lp-split__u { transform: scaleX(1); }

/* Scroll cue. */
.lp-scrollhint { display: inline-flex; align-items: center; gap: 14px; margin: 30px 0 0; }
.lp-scrollhint__label { font-family: var(--font-latin); font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gray-300); }
.lp-scrollhint__line { position: relative; width: 70px; height: 1px; background: var(--border-strong); overflow: hidden; }
.lp-scrollhint__line i { position: absolute; left: 0; top: 0; height: 100%; width: 42%; background: var(--accent); animation: ha-scrollhint 2.4s var(--ease-lx) infinite; }
@keyframes ha-scrollhint { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(280%); } }

@media (prefers-reduced-motion: reduce) {
  .lp-split__c, .lp-split__u, .lp-reveal, .lp-rise, .lp-hero__visual-in, .lp-reveal.is-stagger > .lp-reveal__item {
    opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important;
  }
  [data-parallax] { transform: none !important; }
}
.ha-anim-float { animation: ha-float 7.5s ease-in-out infinite; }

/* ---- Header ---------------------------------------------------------- */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(246,249,255,.85); backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--border); }
.lp-header__bar { width: 100%; max-width: var(--container-max); margin: 0 auto; height: 90px; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter-lg); box-sizing: border-box; }
.lp-nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.lp-nav__link { position: relative; font-size: 16.5px; font-weight: 700; color: var(--gray-700); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.lp-nav__link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); border-radius: 2px; transition: right var(--dur-base) var(--ease-out); }
.lp-nav__link:hover { color: var(--accent); }
.lp-nav__link:hover::after { right: 0; }
.lp-header__actions { display: flex; align-items: center; gap: 12px; margin-left: 36px; }
.lp-header__menu { display: none; }
.lp-menu { display: none; }
.lp-menu__link { padding: 12px; border-radius: var(--radius-sm); font-size: var(--text-base); font-weight: 700; color: var(--navy-800); text-decoration: none; }
.lp-menu__link:hover { background: #fff; }
@media (max-width: 960px) {
  .lp-nav, .lp-header__actions { display: none; }
  .lp-header__menu { display: inline-flex; }
  .lp-menu { display: flex; flex-direction: column; gap: 6px; padding: 16px var(--gutter); border-top: 1px solid var(--border); background: var(--surface-tint); }
}

/* ---- Hero ------------------------------------------------------------ */
.lp-hero { position: relative; overflow: hidden; background-color: #eef5fd; background-image: url("assets/hero-bg.jpg"); background-size: cover; background-position: center top; background-repeat: no-repeat; }
.lp-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(255,255,255,.34) 0%, rgba(255,255,255,0) 46%); z-index: 0; }
.lp-hero__grid-bg { display: none; }
.lp-hero__inner { position: relative; z-index: 1; width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 20px var(--gutter-lg) 64px; display: grid; grid-template-columns: minmax(500px, 0.95fr) 1.05fr; gap: 44px; align-items: center; box-sizing: border-box; min-height: 0; }
.lp-hero__copy { min-width: 0; }
.lp-hero__head, .lp-hero__rest { display: contents; }
.lp-hero__visual { min-width: 0; }
.lp-pill-badge { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: var(--radius-pill); border: 1px solid var(--border-card); background: rgba(255,255,255,.7); font-size: var(--text-base); font-weight: 900; color: var(--navy-700); font-family: var(--font-heading); box-shadow: var(--shadow-xs); }
.lp-hero__h1 { font-family: var(--font-heading); font-weight: 900; font-size: clamp(2.4rem, 3.7vw, 3.95rem); line-height: 1.28; letter-spacing: 0; color: var(--text-strong); margin: 22px 0 0; }
.lp-hero__h1 .lp-split__line { display: block; white-space: nowrap; }
.lp-hero__h1 .lp-split__line:first-child { font-size: 1.16em; }
.lp-hero__h1 .lp-split__c--latin { font-size: 1.18em; letter-spacing: .03em; position: relative; top: .03em; }
.lp-hero__h1 .lp-split__c--accent { color: #1852e8; }
/* Eyebrow with diagonal slashes */
.lp-hero__eyebrow2 { display: inline-flex; align-items: center; gap: 15px; font-family: var(--font-heading); font-size: 20px; font-weight: 900; color: #1A37C8; letter-spacing: .04em; }
.lp-hero__eyebrow2 b { font-weight: 900; }
.lp-eyb-sl { display: inline-flex; gap: 7px; }
.lp-eyb-sl i { display: block; width: 2.5px; height: 24px; background: #9FBCF8; border-radius: 2px; }
.lp-eyb-sl--l i { transform: rotate(-26deg); }
.lp-eyb-sl--r i { transform: rotate(26deg); }
/* Highlighted tagline */
.lp-hero__tagline { margin: 26px 0 0; font-family: var(--font-heading); font-size: clamp(1.5rem, 2.2vw, 2rem); font-weight: 900; color: var(--text-strong); letter-spacing: .01em; }
.lp-mark { position: relative; display: inline-block; padding: 0 3px; background: none; font-size: 1.16em; font-weight: 900; letter-spacing: .02em; color: #1852e8; z-index: 2; }
.lp-uline { position: relative; display: inline-block; z-index: 0; }
.lp-uline::after { content: ""; position: absolute; left: -1.5%; right: -1.5%; bottom: -0.3em; aspect-ratio: 300 / 30; z-index: -1; background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20300%2030'%20preserveAspectRatio='none'%3E%3Cpath%20d='M5,21%20C58,18.8%20150,13.6%20219,9.4%20C254,7.2%20281,5.8%20297,7%20C300,7.2%20300.2,10%20297,10.6%20C281,12.1%20255,13.4%20219,16.6%20C150,21%2062,24.4%208,26.8%20C4.4,27%201.8,22.7%205,21%20Z'%20fill='%23FDCB17'/%3E%3C/svg%3E") center / 100% 100% no-repeat; pointer-events: none; }
.lp-hero__sub { margin: 24px 0 0; max-width: 640px; color: var(--text-body); font-size: 1.18rem; font-weight: 500; line-height: 1.95; }
.lp-hero__sub .lp-nb { white-space: nowrap; }
.lp-hero__benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 30px 0 0; max-width: 620px; }
.lp-benefit { display: flex; align-items: center; gap: 12px; padding: 17px 16px; border-radius: 15px; border: 1px solid var(--blue-100); background: #fff; box-shadow: 0 7px 18px rgba(20,40,90,.07); transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.lp-benefit:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(20,40,90,.12); }
.lp-benefit__ico { display: inline-flex; align-items: center; justify-content: center; flex: none; }
.lp-benefit__tx { display: flex; flex-direction: column; line-height: 1.3; }
.lp-benefit__tx b { font-family: var(--font-heading); font-size: 16px; font-weight: 900; color: var(--navy-700); white-space: nowrap; }
/* Hero CTA row (reference: blue primary w/ badge + ghost secondary) */
.lp-hero__cta2 { display: flex; gap: 16px; margin: 32px 0 0; flex-wrap: wrap; align-items: center; }
.lp-hbtn { display: inline-flex; align-items: center; gap: 11px; border: none; cursor: pointer; font-family: var(--font-heading); text-decoration: none; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out), background .2s, border-color .2s; }
.lp-hbtn--primary { background: #2563DB; color: #fff; border-radius: 999px; padding: 13px 30px 13px 13px; font-size: 20px; font-weight: 900; box-shadow: 0 14px 30px rgba(37,99,219,.32); }
.lp-hbtn--primary:hover { background: #1E54C4; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(37,99,219,.42); }
.lp-hbtn__badge { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; width: 54px; height: 54px; flex: none; border-radius: 999px; background: #FDCB17; color: #0A2552; border: none; box-shadow: 0 2px 6px rgba(0,0,0,.14); font-size: 13px; font-weight: 900; letter-spacing: .01em; }
.lp-hbtn__badge > span { display: block; line-height: 1; }
.lp-hbtn__badge > span + span { margin-top: 4px; }
.lp-page { --shadow-cta: none; }
.lp-okmark { flex: none; }
.lp-brand { display: inline-flex; align-items: center; text-decoration: none; }
.lp-brand__img { height: 78px; width: auto; display: block; }
.lp-brand--foot .lp-brand__img { height: 56px; }
.lp-hbtn__txt { padding: 0 2px; }
.lp-hbtn--ghost { background: #fff; color: var(--blue-600); border: 1.5px solid var(--blue-200); border-radius: 999px; padding: 17px 26px; font-size: 18px; font-weight: 900; }
.lp-hbtn--ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--blue-600); }
.lp-hbtn__chev { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border-radius: 999px; background: var(--blue-100); }
.lp-hero__okline { display: inline-flex; align-items: center; gap: 9px; margin: 24px 0 0 26px; font-size: 17px; font-weight: 700; color: var(--navy-700); }
.lp-hero__okline b { color: var(--blue-600); font-weight: 900; }
.lp-hero__cta { display: flex; gap: 12px; margin: 30px 0 0; flex-wrap: wrap; }
.lp-cta-ico { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-pill); background: #fff; }
.lp-hero__micro { margin: 18px 0 0; font-size: 16px; font-weight: 700; color: var(--text-body); }
.lp-hero__assure { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 0; max-width: 580px; padding: 13px 16px; border-radius: var(--radius-md); background: var(--surface-tint); border: 1px solid var(--border-card); font-size: 15.5px; font-weight: 600; line-height: 1.78; color: var(--navy-700); }
.lp-hero__assure > span:first-child, .lp-hero__assure svg { flex: none; margin-top: 1px; }
.lp-hero__micro a { color: var(--accent); text-underline-offset: 3px; }
.lp-hero__checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.lp-hero__checks li { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: var(--text-body); }
.lp-hero__checks svg { flex: none; }
.lp-hero__checks a { color: inherit; text-underline-offset: 3px; }
.lp-hero__visual { position: relative; min-height: 0; }
@media (max-width: 960px) {
  .lp-hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 72px var(--gutter) 40px; }
  .lp-hero__h1 { font-size: 2.4rem; line-height: 1.22; }
  /* Mobile hero: shrink the whole panel (all 4 stat cards) to fit. JS sets --lp-fit. */
  .lp-hero__visual { display: block; width: 100%; min-height: 0; margin-top: 16px; }
  .lp-hero__visual-in { position: relative; width: 100%; }
  .lp-hero__stage { max-width: 620px; margin: 0 auto; }
}
@media (max-width: 520px) {
  .lp-hero__h1 { font-size: 2.15rem; line-height: 1.24; }
  .lp-hero__h1 .lp-split__line { white-space: normal; }
  .lp-hero__eyebrow2 { font-size: 14px; gap: 8px; letter-spacing: .02em; flex-wrap: wrap; }
  .lp-eyb-sl i { height: 16px; }
  .lp-hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .lp-hero__cta > * { width: 100%; }
  .lp-hero__assure { font-size: 15px; }
  .lp-case__label { font-size: 19px; }
  .lp-card-body { font-size: 16px; }
  .lp-grid-2, .lp-grid-3, .lp-grid-4 { grid-template-columns: 1fr; }
  .lp-hero__benefits { grid-template-columns: 1fr; gap: 10px; }
  .lp-hs-cards { grid-template-columns: 1fr; gap: 10px; }
  .lp-hs-person { width: 24%; right: 0%; }
  .lp-benefit { min-height: 64px; }
  .lp-benefit strong { white-space: normal; }
  /* Hero sub: uniform size, flows as one paragraph (cohesive phrase kept unbroken via .lp-nb) */
  .lp-hero__sub { font-size: var(--text-base); line-height: 1.85; margin-top: 6px; }
  /* Phone-only hero order: headline → right graphic → 「AIに任せる業務…」 onward */
  .lp-hero__inner { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; }
  .lp-hero__copy { display: contents; }
  .lp-hero__head { display: block; order: 1; }
  .lp-hero__rest { display: contents; }
  .lp-hero__tagline, .lp-hero__sub, .lp-hero__benefitsimg { order: 2; }
  .lp-hero__benefitsimg { margin-top: 2px; }
  .lp-hero__visual { order: 3; margin-top: 0; }
  .lp-hero__cta2, .lp-hero__okline { order: 4; }
}

/* ---- Hero scene (single supplied illustration) ----------------------- */
/* ---- Hero composite scene (infographic + person cut-out + 2 feature cards) -- */
.lp-hero__stage { position: relative; display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 820px; margin-left: auto; }
.lp-hs-scene { position: relative; width: 100%; }
.lp-hs-info { display: block; width: 100%; height: auto; }
.lp-hs-person { position: absolute; right: -5%; bottom: 0; width: 27%; height: auto; z-index: 3; }
.lp-hs-cardsimg { display: block; width: 100%; height: auto; margin-top: 6px; }
.lp-hero__benefitsimg { display: block; width: 100%; max-width: 720px; height: auto; margin: 30px 0 0; }
.lp-hs-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--blue-100); border-radius: 16px; padding: 13px 15px; box-shadow: 0 10px 26px rgba(20,40,90,.08); }
.lp-hs-card__ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--blue-50, #eef4ff); }
.lp-hs-card__tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lp-hs-card__tx b { font-family: var(--font-heading); font-size: 15.5px; font-weight: 900; color: var(--navy-700); line-height: 1.3; letter-spacing: .01em; }
.lp-hs-card__tx em { font-style: normal; color: var(--blue-600); }
.lp-hs-card__tx > span { font-size: 12.5px; font-weight: 600; color: var(--text-body); line-height: 1.45; }
@media (prefers-reduced-motion: reduce) {
  .lp-hero__visual-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

@keyframes ha-underline { to { transform: scaleX(1); } }

/* (Hero dashboard cards are supplied PNG artwork — see .lp-card-img / .lp-statimg) */

/* ---- Section heads --------------------------------------------------- */
.lp-head { margin-bottom: 36px; }
.lp-head--split { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; align-items: end; }
.lp-head__eyebrow { display: flex; align-items: center; gap: 16px; }
.lp-head__idx { font-family: var(--font-latin); font-size: 26px; font-weight: 800; letter-spacing: .02em; color: #2563DB; padding-right: 16px; border-right: 2px solid #D6E2F5; line-height: 1; }
.lp-head__eyebrow > p { font-size: 18px !important; font-weight: 800 !important; color: var(--navy-800) !important; letter-spacing: .06em !important; }
.lp-h2 { font-weight: 400; font-size: 3.1rem; line-height: 1.26; color: var(--text-strong); margin: 14px 0 0; text-wrap: balance; word-break: keep-all; overflow-wrap: normal; line-break: strict; }
.lp-lead { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.9; color: var(--navy-700); font-weight: 600; max-width: 660px; margin: 0; letter-spacing: 0.02em; }
@media (max-width: 700px) { .lp-head--split { grid-template-columns: 1fr; gap: 16px; } .lp-h2 { font-size: 2rem; } .lp-head { margin-bottom: 28px; } }

/* ---- Grids & generic cards ------------------------------------------- */
.lp-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.lp-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.lp-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 960px) { .lp-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .lp-grid-2, .lp-grid-3, .lp-grid-4 { grid-template-columns: repeat(2, 1fr); } }
.lp-accentcard { position: relative; overflow: hidden; }
.lp-accentcard::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--accent), var(--blue-400)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.lp-accentcard:hover::before { transform: scaleX(1); }
.lp-icon-chip { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); }
.lp-icon-chip--white { background: #fff; box-shadow: var(--shadow-sm); }
.lp-icon-chip--navy { background: var(--navy-700); }
/* Problem cards — large iconography (blob + chip + sparkle + dot grid) */
.lp-paincard { position: relative; }
.lp-painicon { position: relative; display: inline-block; margin: 2px 0 18px; }
.lp-painicon__chip { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 18px; background: #fff; box-shadow: 0 10px 24px rgba(30,91,214,.15); }
.lp-painicon__blob { position: absolute; z-index: 0; left: 16px; bottom: -10px; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle, rgba(127,178,255,.55), rgba(127,178,255,0) 68%); }
.lp-painicon__dots { position: absolute; z-index: 1; top: 6px; right: -26px; width: 28px; height: 30px; background-image: radial-gradient(var(--blue-400) 1.4px, transparent 1.6px); background-size: 7px 7px; opacity: .55; }
.lp-painicon__spark { position: absolute; z-index: 3; top: -9px; right: -14px; width: 23px; height: 23px; filter: drop-shadow(0 1px 1.5px rgba(253,203,23,.45)); }
.lp-card-title { font-family: var(--font-heading); font-weight: 900; font-size: 21px; line-height: 1.4; color: var(--text-strong); margin: 16px 0 0; }
.lp-card-body { font-size: 18px; font-weight: 500; line-height: 1.9; color: var(--text-body); margin: 12px 0 0; }

/* ---- Trust band ------------------------------------------------------ */
.lp-trust { background: var(--navy-700); padding: 22px 0; }
.lp-trust__grid { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter-lg); display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; box-sizing: border-box; }
.lp-trust .lp-trust__grid > * { border-left-color: rgba(127,178,255,.28) !important; padding-left: 56px !important; }
.lp-trust .lp-trust__grid > * > span:first-child { color: var(--blue-400) !important; font-size: 13px !important; letter-spacing: .12em !important; }
.lp-trust .lp-trust__grid > * > span:last-child { color: #fff !important; font-size: 20px !important; }
@media (max-width: 700px) { .lp-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; padding: 0 var(--gutter); } }

/* ---- Problems — AI card controlled line breaks ---------------------- */
.pain-br-pc { display: block; }   /* desktop: body breaks at 読点 */
.pain-br-sp { display: inline; }  /* desktop: title wraps naturally */
@media (max-width: 768px) {
  .pain-br-pc { display: inline; } /* mobile: body flows naturally */
  .pain-br-sp { display: block; }  /* mobile: title breaks after 「いいか」 */
}

/* ---- Comparison — cell-separated card pairs -------------------------- */
.lp-cmp { display: flex; flex-direction: column; gap: 12px; }
.lp-cmp__head { display: grid; grid-template-columns: 0.74fr 1.05fr 1.05fr; gap: 16px; align-items: stretch; margin-bottom: 4px; }
.lp-cmp__head-spacer { }
.lp-cmp__head-general, .lp-cmp__head-ours { display: flex; align-items: center; justify-content: center; padding: 16px 24px; border-radius: var(--radius-md); font-family: var(--font-heading); font-weight: 900; font-size: var(--text-base); text-align: center; }
.lp-cmp__head-general { background: var(--surface-soft); color: var(--text-muted); }
.lp-cmp__head-ours { background: var(--navy-800); color: #fff; box-shadow: var(--shadow-md); gap: 10px; font-size: 21px; letter-spacing: .03em; }
.lp-cmp__spark { width: 24px; height: 24px; flex: none; filter: drop-shadow(0 1px 1.5px rgba(253,203,23,.45)); }
.lp-cmp__row { display: grid; grid-template-columns: 0.74fr 1.05fr 1.05fr; gap: 16px; align-items: stretch; }
.lp-cmp__cat { display: flex; align-items: center; gap: 12px; justify-content: flex-start; padding: 4px 16px 4px 72px; font-family: var(--font-heading); font-weight: 900; font-size: 18px; color: var(--navy-700); }
.lp-cmp__cat-chip { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: var(--radius-pill); background: var(--surface-soft); flex: none; }
.lp-cmp__cell { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-radius: var(--radius-md); font-weight: 700; line-height: 1.5; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.lp-cmp__cell svg { flex: none; }
.lp-cmp__cell--ours { font-size: 18px; }
.lp-cmp__cell--general { background: var(--surface-soft); color: var(--text-body); font-size: 17px; }
.lp-cmp__cell--ours { background: linear-gradient(180deg, rgba(30,91,214,.10), rgba(30,91,214,.16)); border: 1px solid rgba(30,91,214,.24); color: var(--blue-800); font-family: var(--font-heading); font-weight: 900; font-size: var(--text-base); }
.lp-cmp__row:hover .lp-cmp__cell--ours { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- Cases ----------------------------------------------------------- */
.lp-case { background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 24px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.lp-case:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.lp-case__head { display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.lp-case__headtext { flex: 1 1 auto; min-width: 150px; }
.lp-case__title { font-family: var(--font-heading); font-weight: 900; font-size: 23px; line-height: 1.3; color: var(--text-strong); margin: 2px 0 0; }
.lp-case__tool { font-size: 15px; font-weight: 700; color: var(--text-muted); margin: 6px 0 0; }
.lp-case__meta { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.lp-case__no { font-family: var(--font-latin); font-size: 34px; font-weight: 800; line-height: 1; color: var(--surface-soft); }
.lp-case__dl { margin: 16px 0 0; }
.lp-case__dl > div { display: grid; grid-template-columns: 50px 1fr; gap: 8px; border-top: 1px solid var(--border); padding-top: 12px; margin-top: 12px; }
.lp-case__dl dt { font-family: var(--font-heading); font-weight: 900; font-size: 14px; color: var(--accent); margin: 0; }
.lp-case__dl dd { font-size: 17px; font-weight: 500; line-height: 1.85; color: var(--text-body); margin: 0; }
@media (max-width: 700px) { .lp-case { padding: 18px; } .lp-case__dl > div { grid-template-columns: 1fr; gap: 2px; } }

/* ---- Pricing --------------------------------------------------------- */
.lp-price-cell { position: relative; }
.lp-price-cell.is-featured::after { content: ""; position: absolute; inset: -2px; border-radius: calc(var(--radius-lg) + 3px); border: 2px solid var(--accent); pointer-events: none; }
.lp-price-ribbon { position: absolute; top: -11px; left: 16px; z-index: 2; background: var(--accent); color: #fff; font-family: var(--font-heading); font-weight: 900; font-size: 11px; padding: 4px 11px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.lp-pricing-note { margin: 24px 0 0; padding: 18px 24px; border-radius: var(--radius-lg); border: 1px solid var(--border-card); background: var(--surface-tint); font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--gray-700); }

/* ---- Contact --------------------------------------------------------- */
.lp-contact { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 80% 10%, var(--navy-600) 0%, var(--navy-700) 45%, var(--navy-900) 100%); color: #fff; padding: 104px 0; }
.lp-contact__grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(127,178,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(127,178,255,.08) 1px, transparent 1px); background-size: 56px 56px; animation: ha-grid-drift 26s linear infinite; }
.lp-contact__orbit { position: absolute; right: -120px; top: -80px; opacity: .85; }
/* Animated orbit field (rings + orbiting nodes) — restored. ha-spin keyframe & --shadow-node live in global tokens. */
.lp-orbf { position: relative; }
.lp-orbf__ring { position: absolute; border-radius: var(--radius-pill); border: 1px solid rgba(127,178,255,.34); }
.lp-orbf__ring--dash { border-style: dashed; border-color: rgba(127,178,255,.32); animation: ha-spin 40s linear infinite; }
.lp-orbf__track { position: absolute; top: 50%; left: 50%; border-radius: var(--radius-pill); animation-name: ha-spin; animation-timing-function: linear; animation-iteration-count: infinite; }
.lp-orbf__node { position: absolute; left: 50%; border-radius: var(--radius-pill); }
@media (prefers-reduced-motion: reduce) { .lp-orbf__ring--dash, .lp-orbf__track { animation: none; } }
.lp-contact__inner { position: relative; z-index: 1; width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter-lg); display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; box-sizing: border-box; }
.lp-contact__h2 { font-weight: 400; font-size: 3.1rem; line-height: 1.24; margin: 14px 0 0; color: #fff; text-wrap: balance; }
.lp-contact__lead { margin: 22px 0 0; max-width: 620px; font-size: 18px; line-height: 1.95; color: rgba(255,255,255,.72); }
.lp-contact__actions { display: flex; flex-direction: column; justify-content: center; gap: 18px; width: 580px; max-width: 100%; box-sizing: border-box; justify-self: center; padding: 40px; border: 1px solid rgba(127,178,255,.22); border-radius: 24px; background: rgba(255,255,255,.03); }
.lp-contact__actions > a, .lp-contact__actions > button { width: 100%; box-sizing: border-box; min-height: 68px !important; height: auto !important; font-size: 18px !important; }
.lp-contact__btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 32px; border-radius: var(--radius-pill); border: 1px solid rgba(127,178,255,.6); color: #fff; font-family: var(--font-heading); font-weight: 900; font-size: var(--text-base); text-decoration: none; transition: border-color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.lp-contact__btn:hover { border-color: var(--blue-400); background: rgba(255,255,255,.08); transform: translateY(-1px); }
.lp-contact__btn--ghost { border-color: rgba(255,255,255,.24); }
@media (max-width: 960px) { .lp-contact { padding: 64px 0; } .lp-contact__inner { grid-template-columns: 1fr; padding: 0 var(--gutter); } .lp-contact__h2 { font-size: 2rem; } .lp-contact__actions { min-width: 0; } }

/* ---- Footer ---------------------------------------------------------- */
.lp-footer { background: var(--navy-900); color: rgba(255,255,255,.55); padding: 48px 0; }
.lp-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.lp-footer__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 16.5px; font-weight: 700; }
.lp-footer__nav a { color: rgba(255,255,255,.55); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
.lp-footer__nav a:hover { color: #fff; }
.lp-footer__info { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.lp-footer__dl { margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 32px; }
.lp-footer__dl > div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; font-size: 16px; line-height: 1.7; }
.lp-footer__dl dt { font-weight: 700; color: rgba(255,255,255,.5); margin: 0; }
.lp-footer__dl dd { font-weight: 700; color: rgba(255,255,255,.82); margin: 0; word-break: break-word; }
.lp-footer__copy { margin: 16px 0 0; font-size: 13.5px; color: rgba(255,255,255,.35); }
@media (max-width: 760px) { .lp-footer__dl { grid-template-columns: 1fr; } }

/* ---- LINE modal ------------------------------------------------------ */
.lp-modal { position: fixed; inset: 0; z-index: 100; background: rgba(6,20,49,.55); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 20px; animation: ha-fade-in .25s ease both; }
.lp-modal__card { position: relative; width: 460px; max-width: 100%; background: #fff; border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); padding: 32px; animation: ha-rise .35s var(--ease-out) both; }
.lp-modal__x { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border: 1px solid var(--border-card); background: #fff; border-radius: var(--radius-pill); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--navy-700); }
.lp-modal__chip { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--cta); box-shadow: var(--shadow-cta); }
.lp-modal__title { font-family: var(--font-heading); font-weight: 900; font-size: var(--text-h3); color: var(--text-strong); margin: 18px 0 0; }
.lp-modal__lead { font-size: var(--text-sm); line-height: 1.8; color: var(--text-body); margin: 10px 0 0; }
.lp-modal__template { margin: 18px 0 0; padding: 16px; background: var(--surface-tint); border: 1px solid var(--border-card); border-radius: var(--radius-md); font-family: var(--font-body); font-size: var(--text-sm); line-height: 1.9; color: var(--navy-700); white-space: pre-wrap; }
.lp-modal__actions { display: flex; gap: 12px; margin: 20px 0 0; flex-wrap: wrap; }

/* ---- Isometric graphic — animated brand-tile stack (LayerX-style) -----
   3D-transformed tiles drift, bob and stack inside the hero scene. The
   thickness of each tile is faked with an offset box-shadow so geometry stays
   robust; tower tiles rise, scattered tiles float + fade. ----------------- */
.lp-iso { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1300px; pointer-events: none; }
.lp-iso__stage { position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(56deg) rotateZ(45deg); animation: iso-breathe 11s ease-in-out infinite; }
.lp-iso__tile { position: absolute; top: 0; left: 0; transform-style: preserve-3d; }
.lp-iso__face { position: absolute; border-radius: 8px; animation: iso-bob 6s ease-in-out infinite; will-change: transform, opacity; }
.lp-iso__face--ghost { animation-name: iso-drift; }
@keyframes iso-breathe {
  0%, 100% { transform: rotateX(56deg) rotateZ(45deg) translate3d(0,0,0); }
  50%      { transform: rotateX(54.5deg) rotateZ(48deg) translate3d(0,0,18px); }
}
@keyframes iso-bob { 0%, 100% { transform: translateZ(0); } 50% { transform: translateZ(15px); } }
@keyframes iso-drift {
  0%, 100% { transform: translateZ(0); opacity: var(--o0, .4); }
  50%      { transform: translateZ(30px); opacity: var(--o1, .82); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-iso__stage, .lp-iso__face { animation: none !important; }
}

/* ---- Statement (calm brand line — breathing room before PROBLEMS) ---- */
.lp-statement { padding-top: clamp(64px, 7.5vw, 104px); padding-bottom: clamp(64px, 7.5vw, 104px); }
.lp-statement__grid { display: grid; grid-template-columns: 1fr 0.82fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.lp-statement__big { font-weight: 600; font-size: clamp(1.9rem, 4.4vw, 3.5rem); line-height: 1.42; letter-spacing: 0.02em; color: var(--text-strong); margin: 18px 0 0; text-wrap: balance; }
.lp-statement__accent { color: var(--accent); }
.lp-statement__body { font-size: var(--text-lg); line-height: 2.05; color: var(--text-body); margin: 0; max-width: 560px; }
@media (max-width: 760px) { .lp-statement__grid { grid-template-columns: 1fr; gap: 20px; } }

/* ---- Pricing — emphasised 無料 in STEP1 footer ----------------------- */
.lp-price-free { font-size: 1.7em; font-weight: 900; color: var(--accent); letter-spacing: 0.01em; line-height: 1; }

/* ---- Contact — de-emphasised phone line ------------------------------ */
.lp-contact__phone { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 10px; font-size: 14px; color: rgba(255,255,255,.6); letter-spacing: 0.02em; }
.lp-contact__phone a { color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.28); padding-bottom: 1px; transition: color .25s var(--ease-out), border-color .25s var(--ease-out); }
.lp-contact__phone a:hover { color: #fff; border-color: var(--blue-400); }
@media (max-width: 700px) {
  .lp-contact__inner { grid-template-columns: 1fr !important; }
  .lp-contact__actions { width: 100%; margin-right: 0; }
  .lp-contact__lead { max-width: 100%; }
}

/* ---- Hero flow card — real-task tags --------------------------------- */
.lp-flow__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lp-flow__tags span { font-family: var(--font-heading); font-weight: 800; font-size: 10.5px; letter-spacing: .02em; color: var(--navy-700); background: var(--surface-tint); border: 1px solid var(--border-card); border-radius: var(--radius-pill); padding: 4px 10px; }

/* ---- Cases — benefit summary label ----------------------------------- */
.lp-case__label { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; font-family: var(--font-heading); font-weight: 900; font-size: 21px; line-height: 1.3; color: var(--text-strong); }
.lp-case__label svg { flex: none; }

/* ---- Cases — Before → After cue ------------------------------------- */
.lp-case__ba { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-tint); border: 1px solid var(--border-card); }
.lp-case__ba-before, .lp-case__ba-after { font-size: 16px; font-weight: 800; line-height: 1.4; }
.lp-case__ba-before { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--gray-300); }
.lp-case__ba-after { color: var(--navy-800); }
.lp-case__ba svg { flex: none; }

/* ---- About (process flow + founder profile) -------------------------- */
.lp-about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.lp-profile { display: flex; gap: 30px; background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 38px; }
.lp-profile__photo { position: relative; flex: none; width: 132px; align-self: stretch; min-height: 180px; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(165deg, var(--surface-soft), var(--surface-tint)); border: 1px solid var(--border-card); }
.lp-profile__photo::before { content: ""; position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--blue-200); }
.lp-profile__photo::after { content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); width: 92px; height: 66px; border-radius: 50% 50% 0 0; background: var(--blue-200); }
.lp-profile__photo span { position: absolute; left: 12px; bottom: 10px; z-index: 1; font-family: var(--font-latin); font-size: 10px; letter-spacing: .14em; color: var(--gray-400); }
.lp-profile__body { display: flex; flex-direction: column; }
.lp-profile__voice { font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--text-strong); margin: 10px 0 0; letter-spacing: .01em; }
.lp-profile__creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0 0; }
.lp-profile__creds > div { background: var(--surface-tint); border: 1px solid var(--border-card); border-radius: var(--radius-md); padding: 16px 10px; text-align: center; }
.lp-profile__creds strong { display: block; font-family: var(--font-heading); font-weight: 900; font-size: 2.3rem; color: var(--accent); line-height: 1; }
.lp-profile__creds span { display: block; font-size: 11.5px; font-weight: 700; color: var(--text-body); margin-top: 8px; letter-spacing: .01em; line-height: 1.45; }
.lp-profile__name { font-family: var(--font-heading); font-weight: 900; font-size: var(--text-xl); color: var(--text-strong); margin: 12px 0 0; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.lp-profile__name span { font-family: var(--font-body); font-size: 12.5px; font-weight: 700; color: var(--text-muted); letter-spacing: .04em; }
.lp-profile__blurb { font-size: 16.5px; line-height: 2.05; color: var(--text-body); margin: 14px 0 0; }
.lp-profile__meta { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.lp-profile__meta li { display: flex; align-items: center; gap: 9px; font-size: 15.5px; font-weight: 700; color: var(--navy-700); }
.lp-process { display: grid; gap: 12px; align-content: start; }
.lp-step { display: grid; grid-template-columns: 44px 46px 1fr; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg); padding: 18px 22px; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.lp-step:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.lp-step__no { font-family: var(--font-latin); font-weight: 800; font-size: 22px; color: var(--gray-300); }
.lp-step__chip { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--radius-pill); background: var(--surface-tint); border: 1px solid var(--border-card); }
.lp-step__txt strong { display: block; font-family: var(--font-heading); font-weight: 900; font-size: var(--text-base); color: var(--text-strong); }
.lp-step__txt span { display: block; font-size: 13.5px; line-height: 1.7; color: var(--text-body); margin-top: 3px; }
@media (max-width: 860px) { .lp-about__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lp-profile { flex-direction: column; } .lp-profile__photo { width: 100%; min-height: 160px; } .lp-step { grid-template-columns: 36px 1fr; } .lp-step__chip { display: none; } }

/* ---- Mid-page CTA band ----------------------------------------------- */
.lp-midcta { background: var(--surface-tint); border-top: 1px solid var(--border-card); border-bottom: 1px solid var(--border-card); }
.lp-midcta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.lp-midcta__ey { font-family: var(--font-latin); font-weight: 700; letter-spacing: .14em; font-size: 13px; color: var(--accent); margin: 0; }
.lp-midcta__t { font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.3; color: var(--text-strong); margin: 10px 0 0; }
.lp-midcta__sub { font-size: 14.5px; line-height: 1.8; color: var(--text-body); margin: 10px 0 0; max-width: 560px; }
.lp-midcta__actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.lp-midcta__link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 900; font-size: 14px; color: var(--navy-700); }
.lp-midcta__link:hover { color: var(--accent); }
@media (max-width: 760px) { .lp-midcta__inner { flex-direction: column; align-items: flex-start; gap: 22px; } }

/* ====================================================================
   MOBILE OVERRIDES — placed LAST so they win the cascade over the base
   rules above (equal specificity → later wins). Earlier attempts failed
   because they sat before the rules they meant to override.
   ==================================================================== */
@media (max-width: 520px) {
  /* No element may force the page wider than the viewport. */
  html, body, .lp-page { max-width: 100%; overflow-x: hidden; }
  /* Section lead smaller on phones — placed AFTER the base .lp-lead rule so it actually wins */
  .lp-lead { font-size: 0.95rem; line-height: 1.8; letter-spacing: 0.01em; }
  /* Break the lead onto a new line at the 読点 on phones */
  .lp-lead-br { display: block; }
  /* Every multi-col grid collapses to a single column. */
  .lp-grid-2, .lp-grid-3, .lp-grid-4 { grid-template-columns: 1fr !important; }
  /* Trust band: 2-up is fine but never wider than the screen. */
  .lp-trust__grid { grid-template-columns: repeat(2, 1fr) !important; }
  /* Hero CTA stacks full-width. */
  .lp-hero__cta { flex-direction: column; align-items: stretch; }
  .lp-hero__cta > * { width: 100%; }
  /* Case outcome label stays prominent but fits narrow screens. */
  .lp-case__label { font-size: 19px !important; }
  /* Comparison table already stacks at 760px; make sure ours-cell wraps. */
  .lp-table__row .lp-table__general, .lp-table__row .lp-table__ours { white-space: normal; }
}

/* ====================================================================
   MOBILE RESPONSIVE — accordion / pricing list / cases carousel (≤768px).
   These component classes only exist in the DOM on mobile (rendered by the
   useIsMobile branch), so wrapping in the media query keeps PC untouched.
   ==================================================================== */
@media (max-width: 768px) {
  /* TrustBand → 2×2 grid with dividers between cells */
  .lp-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .lp-trust .lp-trust__grid > * { padding: 16px 14px; border-left: 0 !important; }
  .lp-trust .lp-trust__grid > *:nth-child(odd) { border-right: 1px solid rgba(127,178,255,.22); }
  .lp-trust .lp-trust__grid > *:nth-child(-n+2) { border-bottom: 1px solid rgba(127,178,255,.22); }

  /* ---- Accordion (Problems / Comparison) ---- */
  .lp-acc { display: flex; flex-direction: column; gap: 12px; }
  .lp-acc__item { background: #fff; border: 1px solid var(--border-card); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
  .lp-acc__head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 17px 18px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--text-strong); }
  .lp-acc__headinner { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; }
  .lp-acc__title { font-size: 16px; font-weight: 800; line-height: 1.5; }
  .lp-acc__chev { flex: none; display: inline-flex; transition: transform .28s ease; }
  .lp-acc__item.is-open .lp-acc__chev { transform: rotate(180deg); }
  .lp-acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
  .lp-acc__item.is-open .lp-acc__panel { grid-template-rows: 1fr; }
  .lp-acc__panelin { overflow: hidden; padding: 0 18px; }
  .lp-acc__item.is-open .lp-acc__panelin { padding-bottom: 18px; }
  .lp-acc__panelin .lp-card-body { margin: 0; font-size: 14.5px; line-height: 1.75; }

  /* Comparison accordion body: 一般的 / はたラクAI stacked */
  .lp-cmp-acc { display: flex; flex-direction: column; gap: 10px; }
  .lp-cmp-acc__chip { display: inline-flex; }
  .lp-cmp-acc__block { border-radius: 12px; padding: 12px 14px; }
  .lp-cmp-acc__block--general { background: var(--surface-tint); }
  .lp-cmp-acc__block--ours { background: var(--navy-700); }
  .lp-cmp-acc__label { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; margin-bottom: 5px; }
  .lp-cmp-acc__block--general .lp-cmp-acc__label { color: var(--gray-500); }
  .lp-cmp-acc__block--ours .lp-cmp-acc__label { color: #DCEBFF; }
  .lp-cmp-acc p { margin: 0; font-size: 14.5px; line-height: 1.6; font-weight: 600; }
  .lp-cmp-acc__block--general p { color: var(--text); }
  .lp-cmp-acc__block--ours p { color: #fff; }

  /* ---- Pricing mobile: STEP1 card + STEP2–4 compact list ---- */
  .lp-price-mobile { display: flex; flex-direction: column; gap: 16px; }
  .lp-price-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border: 1px solid var(--border-card); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-card); }
  .lp-price-list__row { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-top: 1px solid var(--border-card); }
  .lp-price-list__row:first-child { border-top: 0; }
  .lp-price-list__step { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--accent); background: var(--surface-tint); padding: 4px 9px; border-radius: var(--radius-pill); flex: none; }
  .lp-price-list__title { flex: 1 1 auto; font-size: 15px; font-weight: 700; line-height: 1.4; color: var(--text-strong); }
  .lp-price-list__price { flex: none; font-size: 14px; font-weight: 800; color: var(--text-strong); white-space: nowrap; }

  /* ---- Cases carousel ---- */
  .lp-cases-carousel { margin: 0 calc(var(--gutter) * -1); }
  .lp-cases-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .lp-cases-track::-webkit-scrollbar { display: none; }
  .lp-cases-slide { flex: 0 0 100%; scroll-snap-align: center; padding: 6px var(--gutter); box-sizing: border-box; }
  .lp-cases-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .lp-cases-dot { width: 8px; height: 8px; border-radius: var(--radius-pill); border: 0; padding: 0; background: #cdd6e4; cursor: pointer; transition: width .22s ease, background .22s ease; }
  .lp-cases-dot.is-on { background: var(--accent); width: 22px; }
}
