/* ============================================================
   Legal Agent for Word — LP-specific styles
   Inherits design tokens (--paper, --accent, --serif-jp, etc.)
   from the main /styles.css
   ============================================================ */

.lp-body {
  background: var(--paper);
  color: var(--on-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ====== Section base override (LP uses slightly tighter padding) ====== */
.lp-body .section {
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}

/* ============================================================
   NAV (LP variant)
   ============================================================ */
.lp-nav {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 245, 0.78);
  backdrop-filter: blur(14px);
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
.lp-nav.is-scrolled {
  background: rgba(250, 249, 245, 0.96);
  box-shadow: 0 1px 0 var(--paper-line), 0 12px 40px -28px rgba(20, 18, 14, 0.18);
}
.lp-nav__items {
  gap: 28px;
}

/* Language switcher (JP / EN) */
.lp-nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--on-paper-mute);
  margin-right: 18px;
}
.lp-nav__lang a {
  color: var(--on-paper-mute);
  text-decoration: none;
  transition: color 0.3s ease;
}
.lp-nav__lang a:hover {
  color: var(--accent);
}
.lp-nav__lang [aria-current="true"] {
  color: var(--accent);
  font-weight: 600;
}
.lp-nav__lang-sep {
  opacity: 0.4;
}

@media (max-width: 960px) {
  .lp-nav__items { display: none; }
}
@media (max-width: 720px) {
  .lp-nav__lang { font-size: 10px; margin-right: 12px; gap: 4px; }
}

/* ============================================================
   HERO
   ============================================================ */
.lp-hero {
  padding: 100px var(--gutter) clamp(80px, 10vw, 140px);
  background: var(--paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lp-hero__meta {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--paper-line);
  margin-bottom: clamp(80px, 11vw, 140px);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--on-paper-mute);
  position: relative;
  z-index: 2;
  animation: fadeUp 0.8s ease 0.1s both;
}

/* Title — "法務特化の Word AI Agent" with red underline */
.lp-hero__title {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--on-paper);
  margin: 0 auto 56px;
  position: relative;
  z-index: 2;
}
.lp-hero__title-text {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}
.lp-hero__title-text::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  animation: lpRuleGrow 1.4s cubic-bezier(0.5, 0, 0.2, 1) 0.6s forwards;
}

/* Brand line — logo + "Legal Agent" inline, prevent wrapping */
.lp-hero__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 36px);
  margin: 0 auto 56px;
  white-space: nowrap;
  max-width: 100%;
  position: relative;
  z-index: 2;
}
.lp-hero__brand-mark {
  width: clamp(56px, 7vw, 88px);
  height: clamp(56px, 7vw, 88px);
  object-fit: contain;
  flex-shrink: 0;
  animation: lpLogoBreathe 6s ease-in-out infinite;
}
.lp-hero__brand-name {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(48px, 7.5vw, 116px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--on-paper);
}

.lp-hero__sub {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--on-paper-mute);
  margin: 0 0 56px;
  position: relative;
  z-index: 2;
}

.lp-hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}
.lp-hero__ctas .btn {
  min-width: 220px;
  justify-content: center;
}

@keyframes lpRuleGrow {
  to { transform: scaleX(1); }
}
@keyframes lpLogoBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .lp-hero { padding: 80px var(--gutter) 80px; }
  .lp-hero__meta { padding: 14px 0; font-size: 9px; margin-bottom: 56px; }
  .lp-hero__title { font-size: clamp(18px, 5.5vw, 24px); margin-bottom: 36px; }
  .lp-hero__brand { gap: 14px; margin-bottom: 32px; }
  .lp-hero__brand-mark { width: 44px; height: 44px; }
  .lp-hero__brand-name { font-size: clamp(36px, 13vw, 56px); }
  .lp-hero__sub { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 36px; }
  .lp-hero__ctas .btn { width: 100%; min-width: 0; }
}

/* ============================================================
   REVEAL animations (scroll-triggered)
   ============================================================ */
.lp-body .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-body .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.lp-body .reveal--delay-1.is-visible { transition-delay: 0.12s; }
.lp-body .reveal--delay-2.is-visible { transition-delay: 0.24s; }
.lp-body .reveal--delay-3.is-visible { transition-delay: 0.36s; }
.lp-body .reveal--delay-4.is-visible { transition-delay: 0.48s; }
.lp-body .reveal--delay-5.is-visible { transition-delay: 0.6s; }

/* lift effect (card hover lift) */
.lp-body .lift {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease;
}
.lp-body .lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -28px rgba(20, 18, 14, 0.28);
}

/* Tilt-capable cards — smooth out 3D transform from JS */
.lp-feature,
.lp-team__item,
.lp-plan,
.lp-associate__target,
.lp-associate__figure {
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.45s ease, border-color 0.4s ease;
  will-change: transform;
}

/* Concept "10倍" emphasis pulse on enter */
.lp-concept__title em {
  display: inline-block;
  position: relative;
}
.lp-concept__title em::after {
  content: "";
  position: absolute;
  inset: -8px -16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}
.lp-concept__inner.is-visible .lp-concept__title em::after {
  animation: lpPulse 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.8s forwards;
}
@keyframes lpPulse {
  0% { opacity: 0; transform: scale(0.85); }
  60% { opacity: 0.6; transform: scale(1.05); }
  100% { opacity: 0; transform: scale(1.2); }
}

/* FAQ details open animation */
.lp-faq__item {
  overflow: hidden;
}
.lp-faq__item .lp-faq__a {
  max-height: 0;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease, padding 0.4s ease;
}
.lp-faq__item[open] .lp-faq__a {
  max-height: 600px;
  opacity: 1;
}
.lp-faq__item .lp-faq__q-icon {
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), color 0.3s ease;
}
.lp-faq__item[open] .lp-faq__q-icon {
  transform: rotate(180deg);
}
.lp-faq__q:hover .lp-faq__q-text {
  color: var(--accent);
  transition: color 0.3s ease;
}

/* CTA buttons subtle glow on hover */
.lp-body .btn--gold {
  position: relative;
  overflow: hidden;
}
.lp-body .btn--gold::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18), transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}
.lp-body .btn--gold:hover::after {
  transform: translateX(100%);
}

/* Plan price emphasis on hover */
.lp-plan:hover .lp-plan__price strong {
  color: var(--accent);
  transition: color 0.4s ease;
}

/* Flow num pulse on reveal */
.lp-flow__item.is-visible .lp-flow__num {
  animation: lpNumPop 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes lpNumPop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Hero reveal — also runs on initial load with built-in animation */
.lp-hero .reveal { opacity: 0; transform: translateY(20px); }
.lp-hero .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lp-body *,
  .lp-body *::before,
  .lp-body *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .lp-body .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   CONCEPT
   ============================================================ */
.lp-concept {
  text-align: center;
}
.lp-concept__inner {
  max-width: 880px;
  margin: 0 auto;
}
.lp-concept .eyebrow { justify-content: center; margin-bottom: 20px; }
.lp-concept .eyebrow::before { display: none; }
.lp-concept__title {
  font-size: clamp(32px, 5.5vw, 64px);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 32px;
}
.lp-concept__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 1px;
  background: var(--accent);
}
.lp-concept__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  font-size: 1.05em;
  letter-spacing: -0.01em;
  margin: 0 4px;
}
.lp-concept__lede {
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 2.05;
  color: var(--on-paper);
  margin: 0;
}

@media (max-width: 720px) {
  .lp-concept__title { font-size: clamp(26px, 8vw, 38px); margin-bottom: 28px; padding-bottom: 22px; }
  .lp-concept__lede { font-size: 13px; line-height: 1.95; }
}

/* ============================================================
   ASSOCIATE
   ============================================================ */
.lp-associate__head {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 100px);
}
.lp-associate__title {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 28px;
}
.lp-associate__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.lp-associate__head-text .body-jp {
  font-size: 15px;
  line-height: 2;
  color: var(--on-paper-mute);
  margin: 0;
}
.lp-associate__figure {
  margin: 0;
}
.lp-associate__figure img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--paper-line);
  border-radius: 6px;
  box-shadow: 0 24px 60px -32px rgba(20, 18, 14, 0.22);
  background: #FFFFFF;
}

.lp-associate__targets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.lp-associate__target {
  padding: clamp(36px, 5vw, 56px) clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--paper-line);
}
.lp-associate__target:last-child { border-right: none; }
.lp-associate__target .kicker-en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.lp-associate__target h3 {
  font-family: var(--serif-jp);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-associate__target-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--paper-line-strong);
  font-size: 14px;
  color: var(--chrome);
  flex-shrink: 0;
}
.lp-associate__target p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--on-paper-mute);
  margin: 0;
}

@media (max-width: 1000px) {
  .lp-associate__head { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .lp-associate__targets { grid-template-columns: 1fr; }
  .lp-associate__target { border-right: none; border-bottom: 1px solid var(--paper-line); }
  .lp-associate__target:last-child { border-bottom: none; }
}

/* ============================================================
   CTA STRIP (mid-page)
   ============================================================ */
.lp-cta-strip { padding: clamp(40px, 5vw, 64px) var(--gutter); }
.lp-cta-strip__inner {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-cta-strip__inner .btn {
  min-width: 220px;
  justify-content: center;
}
@media (max-width: 720px) {
  .lp-cta-strip__inner { flex-direction: column; }
  .lp-cta-strip__inner .btn { width: 100%; min-width: 0; }
}

/* ============================================================
   FEATURES (6 cards, 3-col grid)
   ============================================================ */
.lp-features__head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.lp-features .eyebrow { justify-content: center; }
.lp-features .eyebrow::before { display: none; }
.lp-features__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 0;
}
.lp-features__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.lp-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-feature {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.lp-feature:hover {
  border-color: var(--paper-line-strong);
  box-shadow: 0 16px 40px -28px rgba(20, 18, 14, 0.2);
  transform: translateY(-2px);
}
.lp-feature .tag-num {
  color: var(--accent);
}
.lp-feature h3 {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  margin: 0;
}
.lp-feature p {
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--on-paper-mute);
  margin: 0;
  font-feature-settings: "palt";
}

@media (max-width: 1000px) {
  .lp-features__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp-features__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   TEAM FEATURES (4 cards, 2-col grid)
   ============================================================ */
.lp-team__head {
  max-width: 800px;
  margin: 0 auto clamp(50px, 6vw, 80px);
  text-align: center;
}
.lp-team .eyebrow { justify-content: center; }
.lp-team .eyebrow::before { display: none; }
.lp-team__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 24px;
  line-height: 1.32;
}
.lp-team__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.lp-team__lede {
  font-size: 15px;
  line-height: 1.95;
  color: var(--on-paper-mute);
  margin: 0;
}

.lp-team__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lp-team__item {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: clamp(32px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.lp-team__item:hover {
  border-color: var(--paper-line-strong);
  box-shadow: 0 16px 40px -28px rgba(20, 18, 14, 0.2);
  transform: translateY(-2px);
}
.lp-team__item .tag-num { color: var(--accent); }
.lp-team__item h3 {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.5;
  margin: 0;
}
.lp-team__item p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--on-paper-mute);
  margin: 0;
  font-feature-settings: "palt";
}

@media (max-width: 720px) {
  .lp-team__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============================================================
   PRICING (4 plans)
   ============================================================ */
.lp-pricing__head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.lp-pricing .eyebrow { justify-content: center; }
.lp-pricing .eyebrow::before { display: none; }
.lp-pricing__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 0;
}
.lp-pricing__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.lp-pricing__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.lp-plan {
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  padding: clamp(28px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.lp-plan:hover {
  border-color: var(--paper-line-strong);
  box-shadow: 0 16px 40px -28px rgba(20, 18, 14, 0.2);
  transform: translateY(-2px);
}
.lp-plan--featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.04), #FFFFFF 60%);
  position: relative;
}
.lp-plan--featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 4px 12px;
  border-radius: 2px;
}

.lp-plan--team {
  background: var(--paper-2);
}

.lp-plan__head {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--paper-line);
}
.lp-plan__head .kicker-en {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.lp-plan__price {
  font-family: var(--serif-jp);
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}
.lp-plan__price strong {
  font-family: var(--serif-en-display);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  color: var(--on-paper);
  letter-spacing: -0.01em;
}
.lp-plan__price span {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--on-paper-mute);
  letter-spacing: 0.05em;
}

.lp-plan__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lp-plan__list li {
  font-family: var(--sans-jp);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--on-paper);
  padding-left: 22px;
  position: relative;
}
.lp-plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

.lp-plan__cta {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.lp-pricing__note {
  text-align: center;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--on-paper-mute);
  margin: 36px 0 0;
}

@media (max-width: 1100px) {
  .lp-pricing__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp-pricing__grid { grid-template-columns: 1fr; gap: 16px; }
  .lp-plan { gap: 18px; }
}

/* ============================================================
   FLOW (5 steps, vertical timeline)
   ============================================================ */
.lp-flow__head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.lp-flow .eyebrow { justify-content: center; }
.lp-flow .eyebrow::before { display: none; }
.lp-flow__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 0;
}
.lp-flow__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.lp-flow__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  position: relative;
}
.lp-flow__list::before {
  content: "";
  position: absolute;
  left: 32px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--paper-line);
}

.lp-flow__item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(20px, 3vw, 32px) 0;
  position: relative;
}
.lp-flow__item:not(:last-child) {
  border-bottom: 1px solid var(--paper-line);
}

.lp-flow__num {
  font-family: var(--serif-en-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: #FFFFFF;
  border-radius: 999px;
  padding: 6px 16px;
  width: 64px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  align-self: start;
  margin-top: 4px;
}

.lp-flow__body h3 {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  margin: 0 0 10px;
}
.lp-flow__body p {
  font-size: 14px;
  line-height: 1.95;
  color: var(--on-paper-mute);
  margin: 0;
  font-feature-settings: "palt";
}
.lp-flow__install-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 16px;
  font-family: var(--sans-jp);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.06);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.lp-flow__install-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #FFFFFF;
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .lp-flow__list::before { left: 22px; }
  .lp-flow__item { grid-template-columns: 56px 1fr; gap: 16px; }
  .lp-flow__num { width: 48px; height: 26px; font-size: 12px; padding: 4px 10px; }
  .lp-flow__body h3 { font-size: 18px; }
  .lp-flow__body p { font-size: 13px; }
}

/* ============================================================
   CLIENTS
   ============================================================ */
.lp-clients__head {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.lp-clients .eyebrow { justify-content: center; }
.lp-clients .eyebrow::before { display: none; }
.lp-clients__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 0;
}
.lp-clients__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.lp-clients__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding: clamp(40px, 5vw, 64px) 0;
}
.lp-clients__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  min-width: 220px;
  max-width: 280px;
}
.lp-clients__cell img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}
.lp-clients__note {
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--on-paper-faint);
  margin: 24px 0 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.lp-faq__head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.lp-faq .eyebrow { justify-content: center; }
.lp-faq .eyebrow::before { display: none; }
.lp-faq__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 0;
}
.lp-faq__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}

.lp-faq__list {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--paper-line-strong);
}
.lp-faq__item {
  border-bottom: 1px solid var(--paper-line-strong);
  background: transparent;
}
.lp-faq__item summary {
  list-style: none;
}
.lp-faq__item summary::-webkit-details-marker {
  display: none;
}
.lp-faq__q {
  display: grid;
  grid-template-columns: 80px 1fr 32px;
  align-items: center;
  gap: 24px;
  padding: 28px 4px;
  cursor: pointer;
  font-family: var(--serif-jp);
  user-select: none;
}
.lp-faq__q .tag-num {
  color: var(--accent);
  font-size: 12px;
}
.lp-faq__q .tag-num::before { content: ""; }
.lp-faq__q-text {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  color: var(--on-paper);
}
.lp-faq__q-icon {
  font-family: var(--serif-en-display);
  font-size: 28px;
  color: var(--accent);
  text-align: center;
  font-weight: 400;
  transition: transform 0.4s ease;
}
.lp-faq__a {
  padding: 0 4px 28px 104px;
  font-family: var(--sans-jp);
  font-size: 14px;
  line-height: 1.95;
  color: var(--on-paper-mute);
}
.lp-faq__a p { margin: 0; }

@media (max-width: 720px) {
  .lp-faq__q { grid-template-columns: 56px 1fr 24px; gap: 14px; padding: 22px 0; }
  .lp-faq__q-text { font-size: 14px; }
  .lp-faq__q-icon { font-size: 22px; }
  .lp-faq__a { padding: 0 0 22px 70px; font-size: 13px; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.lp-contact__head {
  text-align: center;
  margin-bottom: clamp(50px, 6vw, 80px);
}
.lp-contact .eyebrow { justify-content: center; }
.lp-contact .eyebrow::before { display: none; }
.lp-contact__title {
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin: 16px 0 24px;
  position: relative;
  padding-bottom: 24px;
}
.lp-contact__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 1px;
  background: var(--accent);
}
.lp-contact__title em {
  font-family: var(--serif-en-display);
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.lp-contact__lede {
  font-size: 15px;
  line-height: 1.95;
  color: var(--on-paper-mute);
  max-width: 640px;
  margin: 0 auto;
}

.lp-form {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--paper-line);
  border-radius: 4px;
  padding: clamp(32px, 4vw, 56px);
}
.lp-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.lp-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lp-form__field--full {
  grid-column: 1 / -1;
}
.lp-form__label {
  font-family: var(--sans-jp);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--on-paper);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-form__label em {
  font-style: normal;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  background: var(--accent);
  color: #FFFFFF;
  padding: 3px 6px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 400;
}

.lp-form__field input[type="text"],
.lp-form__field input[type="email"],
.lp-form__field input[type="tel"],
.lp-form__field textarea {
  width: 100%;
  font-family: var(--sans-jp);
  font-size: 14px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: 2px;
  color: var(--on-paper);
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: none;
}
.lp-form__field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}
.lp-form__field input:focus,
.lp-form__field textarea:focus {
  outline: none;
  border-color: var(--chrome);
  background: #FFFFFF;
}
.lp-form__field input::placeholder,
.lp-form__field textarea::placeholder {
  color: var(--on-paper-faint);
}

.lp-form__field--check {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  font-family: var(--sans-jp);
  font-size: 13px;
  color: var(--on-paper-mute);
}
.lp-form__field--check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}
.lp-form__field--check a {
  color: var(--chrome);
  text-decoration: none;
}

.lp-form__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-line);
  flex-wrap: wrap;
}
.lp-form__submit {
  min-width: 200px;
  justify-content: center;
}
.lp-form__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.lp-form__status {
  font-family: var(--sans-jp);
  font-size: 13px;
  line-height: 1.7;
  margin: 0;
  flex: 1;
  min-width: 240px;
}
.lp-form__status--success {
  padding: 12px 16px;
  border: 1px solid var(--chrome);
  background: var(--paper-2);
  color: var(--on-paper);
}
.lp-form__status--error {
  padding: 12px 16px;
  border: 1px solid var(--accent);
  color: var(--accent-deep);
  background: rgba(var(--accent-rgb), 0.06);
}

@media (max-width: 720px) {
  .lp-form { padding: 28px 22px; }
  .lp-form__grid { grid-template-columns: 1fr; gap: 18px; }
  .lp-form__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .lp-form__submit { width: 100%; }
  .lp-form__status { min-width: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.lp-footer {
  background: var(--paper-2);
  border-top: 1px solid var(--paper-line);
  padding: clamp(60px, 8vw, 100px) var(--gutter) 32px;
  color: var(--on-paper);
}
.lp-footer__main {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: clamp(40px, 5vw, 80px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--paper-line);
}
.lp-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-footer__brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.lp-footer__brand-name {
  font-family: var(--serif-jp);
  font-weight: 600;
  font-size: 20px;
  color: var(--on-paper);
}
.lp-footer__brand-addr {
  font-family: var(--sans-jp);
  font-size: 13px;
  line-height: 1.85;
  color: var(--on-paper-mute);
  margin: 0;
}
.lp-footer__brand-ceo {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--serif-jp);
  color: var(--on-paper);
}
.lp-footer__sns {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}
.lp-footer__sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--paper-line-strong);
  color: var(--on-paper);
  text-decoration: none;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.lp-footer__sns a:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

.lp-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.lp-footer__col .label {
  display: block;
  margin-bottom: 16px;
  color: var(--on-paper-faint);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.lp-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-footer__col li {
  font-family: var(--sans-jp);
  font-size: 13px;
  line-height: 2;
}
.lp-footer__col a {
  color: var(--on-paper);
  text-decoration: none;
}

.lp-footer__copy {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--on-paper-mute);
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer__copy-en em {
  font-family: var(--serif-en-display);
  font-style: normal;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--accent);
}

@media (max-width: 900px) {
  .lp-footer__main { grid-template-columns: 1fr; gap: 40px; }
  .lp-footer__cols { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 600px) {
  .lp-footer__cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .lp-footer__copy { flex-direction: column; gap: 8px; }
}
