:root {
  --lp-bg: #f6f2ea;
  --lp-surface: #fffaf4;
  --lp-surface-strong: #fffdf9;
  --lp-ink: #0b1221;
  --lp-muted: #6f7681;
  --lp-line: #e5e1d8;
  --lp-accent: #4169e8;
  --lp-accent-dark: #284dcc;
  --lp-accent-soft: #eaf0ff;
  --lp-warm: #d4b07a;
  --lp-shadow: 0 24px 70px rgba(22, 32, 57, .10);
  --lp-radius: 22px;
}

html[data-theme="dark"] {
  --lp-bg: #111725;
  --lp-surface: #171e2d;
  --lp-surface-strong: #1d2536;
  --lp-ink: #f5f5f0;
  --lp-muted: #a9b0bf;
  --lp-line: #30394b;
  --lp-accent: #7f9bff;
  --lp-accent-dark: #9bb1ff;
  --lp-accent-soft: #202c54;
  --lp-warm: #e0bd83;
  --lp-shadow: 0 24px 70px rgba(0, 0, 0, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--lp-ink);
  background: var(--lp-bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 4px; }
.lp-container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid color-mix(in srgb, var(--lp-line) 82%, transparent);
  background: color-mix(in srgb, var(--lp-bg) 90%, transparent);
  backdrop-filter: blur(16px);
}
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.04em; }
.lp-brand-name { font-size: 1.06rem; }
.lp-brand-name small { color: var(--lp-accent); font-size: .72em; letter-spacing: .06em; margin-left: 2px; }
.lp-brand-mark { position: relative; width: 31px; height: 31px; display: inline-block; overflow: hidden; border: 1px solid color-mix(in srgb, var(--lp-ink) 16%, transparent); border-radius: 10px; background: var(--lp-ink); transform: rotate(-9deg); }
.lp-brand-mark span { position: absolute; display: block; border-radius: 7px; transform: rotate(19deg); }
.lp-brand-mark span:nth-child(1) { width: 13px; height: 22px; top: 4px; left: 2px; background: var(--lp-accent); }
.lp-brand-mark span:nth-child(2) { width: 10px; height: 20px; top: 7px; left: 11px; background: #a4b9ff; }
.lp-brand-mark span:nth-child(3) { width: 8px; height: 17px; top: 8px; left: 19px; background: var(--lp-warm); }
.lp-nav-links { display: flex; align-items: center; gap: 26px; font-size: .9rem; color: var(--lp-muted); }
.lp-nav-links a { text-decoration: none; transition: color .2s ease; }
.lp-nav-links a:hover { color: var(--lp-ink); }
.nav-cta { padding: 9px 18px; color: #fff !important; background: var(--lp-ink); border-radius: 999px; }
.theme-button { appearance: none; border: 1px solid var(--lp-line); border-radius: 999px; color: var(--lp-muted); background: transparent; padding: 8px 13px; font: inherit; font-size: .8rem; cursor: pointer; }
.theme-button:hover { color: var(--lp-ink); border-color: var(--lp-muted); }

.lp-hero { overflow: hidden; }
.hero-grid { min-height: min(760px, calc(100vh - 78px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(390px, .94fr); align-items: center; gap: clamp(48px, 8vw, 112px); padding: 84px 0 100px; }
.hero-copy { max-width: 590px; }
.lp-kicker, .section-kicker, .plan-kicker { margin: 0 0 17px; color: var(--lp-accent); font-size: .75rem; font-weight: 800; letter-spacing: .18em; line-height: 1.2; }
.hero-copy h1, .section-heading h2, .workflow-statement h2, .final-cta h2 { margin: 0; font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif; font-weight: 500; letter-spacing: -.055em; line-height: 1.08; }
.hero-copy h1 { font-size: clamp(3rem, 5vw, 5rem); max-width: 680px; }
.hero-copy h1 span, .section-heading h2 span, .workflow-statement h2 span, .final-cta h2 span { display: block; color: var(--lp-accent); }
.hero-copy h1 .headline-ink { color: var(--lp-ink); }
.hero-description { max-width: 500px; margin: 31px 0 0; color: var(--lp-muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 700; line-height: 1; text-decoration: none; transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--lp-accent); box-shadow: 0 10px 26px color-mix(in srgb, var(--lp-accent) 25%, transparent); }
.button-primary:hover { background: var(--lp-accent-dark); }
.button-secondary { color: var(--lp-ink); border-color: var(--lp-line); background: transparent; }
.button-secondary:hover, .button-quiet:hover { border-color: var(--lp-accent); color: var(--lp-accent); }
.button-quiet { color: var(--lp-muted); border-color: var(--lp-line); background: transparent; }
.button-large { min-height: 57px; padding-inline: 28px; }
.button-large span { margin-left: 10px; font-size: 1.1rem; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 23px 0 0; color: var(--lp-muted); font-size: .82rem; }
.note-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-warm); }
.hero-visual { margin: 0; }
.hero-art { position: relative; padding: 18px; border: 1px solid var(--lp-line); border-radius: 28px; background: var(--lp-surface); box-shadow: var(--lp-shadow); transform: rotate(2.5deg); }
.hero-art::before { content: ""; position: absolute; inset: 12px -12px -12px 12px; z-index: -1; border: 1px solid color-mix(in srgb, var(--lp-accent) 30%, var(--lp-line)); border-radius: 28px; transform: rotate(-5deg); }
.hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 17px; }
.hero-visual figcaption { display: flex; align-items: center; gap: 10px; margin: 27px 0 0 9px; color: var(--lp-muted); font-size: .8rem; }
.caption-line { width: 30px; height: 1px; background: var(--lp-warm); }

.lp-proof { border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); background: color-mix(in srgb, var(--lp-surface) 54%, transparent); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof-grid > div { min-height: 176px; padding: 34px 31px 31px 0; }
.proof-grid > div + div { padding-left: 31px; border-left: 1px solid var(--lp-line); }
.proof-label, .feature-number { display: block; margin-bottom: 16px; color: var(--lp-accent); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.proof-grid strong { display: block; font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif; font-size: 1.45rem; font-weight: 500; }
.proof-grid p { max-width: 230px; margin: 8px 0 0; color: var(--lp-muted); font-size: .84rem; line-height: 1.65; }

.lp-section { padding: 138px 0; }
.why-layout { display: grid; grid-template-columns: minmax(250px, .77fr) minmax(0, 1.23fr); gap: clamp(60px, 10vw, 150px); }
.section-heading { max-width: 470px; }
.section-heading h2, .workflow-statement h2, .final-cta h2 { font-size: clamp(2.45rem, 5vw, 4.6rem); }
.section-heading > p:last-child, .final-cta p:last-child { margin: 27px 0 0; color: var(--lp-muted); font-size: .98rem; }
.feature-list { border-top: 1px solid var(--lp-line); }
.feature-row { display: grid; grid-template-columns: 42px 1fr 25px; gap: 18px; align-items: start; padding: 26px 0; border-bottom: 1px solid var(--lp-line); }
.feature-row .feature-number { margin: 3px 0 0; }
.feature-row h3 { margin: 0; font-size: 1.05rem; }
.feature-row p { max-width: 485px; margin: 8px 0 0; color: var(--lp-muted); font-size: .87rem; }
.feature-arrow { color: var(--lp-accent); font-size: 1.15rem; }

.workflow-section { padding-top: 0; }
.workflow-grid { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: clamp(60px, 10vw, 150px); padding-top: 60px; border-top: 1px solid var(--lp-line); }
.workflow-statement { max-width: 460px; }
.workflow-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lp-line); }
.workflow-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 25px 0; border-bottom: 1px solid var(--lp-line); }
.workflow-steps li > span { color: var(--lp-accent); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.workflow-steps strong { font-size: 1rem; }
.workflow-steps p { margin: 7px 0 0; color: var(--lp-muted); font-size: .86rem; }

.pricing-section { padding-top: 50px; background: color-mix(in srgb, var(--lp-surface) 48%, transparent); }
.pricing-heading { max-width: 820px; }
.pricing-heading { margin-bottom: 55px; }
.pricing-heading > p:last-child { max-width: 620px; }
.pricing-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 18px; }
.plan-card { position: relative; display: flex; flex-direction: column; min-height: 520px; padding: 34px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: var(--lp-surface-strong); }
.plan-plus { border-color: var(--lp-accent); background: var(--lp-accent-soft); box-shadow: var(--lp-shadow); }
.plan-top { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.plan-kicker { margin-bottom: 12px; font-size: .68rem; }
.plan-card h3 { margin: 0; font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif; font-size: 1.7rem; font-weight: 500; letter-spacing: -.04em; }
.plan-index { color: var(--lp-muted); font-size: .75rem; font-weight: 700; }
.plan-description { min-height: 57px; margin: 25px 0 0; color: var(--lp-muted); font-size: .88rem; }
.plan-price { display: flex; align-items: baseline; gap: 10px; margin: 28px 0 0; }
.plan-price strong { font-family: Georgia, "Times New Roman", "Hiragino Mincho ProN", serif; font-size: clamp(2.7rem, 5vw, 4.7rem); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.plan-price span { color: var(--lp-muted); font-size: .82rem; }
.plan-list { display: grid; gap: 12px; margin: 32px 0 30px; padding: 0; list-style: none; color: var(--lp-muted); font-size: .88rem; }
.plan-list li { position: relative; padding-left: 23px; }
.plan-list li::before { content: ""; position: absolute; top: .78em; left: 0; width: 9px; height: 1px; background: var(--lp-accent); }
.plan-card .button { width: 100%; margin-top: auto; }
.plan-status { margin: 14px 0 0; color: var(--lp-muted); font-size: .72rem; text-align: center; }
.compare-table { margin-top: 32px; border-top: 1px solid var(--lp-line); }
.compare-row { display: grid; grid-template-columns: 1.5fr 1fr 1fr; border-bottom: 1px solid var(--lp-line); }
.compare-row > span { min-height: 52px; display: flex; align-items: center; padding: 12px 18px; color: var(--lp-muted); font-size: .82rem; }
.compare-row > span + span { border-left: 1px solid var(--lp-line); }
.compare-row span:first-child { color: var(--lp-ink); }
.compare-head > span { min-height: 44px; color: var(--lp-muted); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.compare-highlight { color: var(--lp-accent) !important; font-weight: 800; }
.pricing-footnote { max-width: 830px; margin: 23px 0 0; color: var(--lp-muted); font-size: .76rem; }

.final-section { padding-top: 70px; padding-bottom: 130px; }
.final-cta { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: clamp(35px, 6vw, 70px); border-radius: 28px; background: var(--lp-ink); color: var(--lp-surface-strong); }
.final-cta h2 span { color: #91a8ff; }
.final-cta .section-kicker { color: #91a8ff; }
.final-cta p:last-child { max-width: 470px; color: color-mix(in srgb, var(--lp-surface-strong) 68%, transparent); }
.final-cta .button-primary { flex: 0 0 auto; color: var(--lp-ink); background: var(--lp-surface-strong); box-shadow: none; }
.final-cta .button-primary:hover { color: #fff; background: var(--lp-accent); }
.lp-footer { border-top: 1px solid var(--lp-line); }
.footer-inner { min-height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--lp-muted); font-size: .75rem; }
.footer-inner p { margin: 0; letter-spacing: .14em; font-size: .64rem; }
.lp-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; }
.lp-footer-links a { text-decoration: none; }
.lp-footer-links a:hover { color: var(--lp-ink); }

.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero-grid, .why-layout, .workflow-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; gap: 64px; padding-top: 68px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(680px, 100%); margin-left: auto; }
  .why-layout, .workflow-grid { gap: 58px; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .lp-container { width: min(100% - 32px, 560px); }
  .nav-inner { min-height: 70px; }
  .lp-nav-links { gap: 12px; font-size: .78rem; }
  .lp-nav-links > a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 13px; }
  .theme-button { padding: 7px 9px; }
  .hero-grid { padding: 55px 0 75px; }
  .hero-copy h1 { font-size: clamp(2.75rem, 15vw, 4.5rem); }
  .hero-description { font-size: .96rem; }
  .hero-art { padding: 11px; border-radius: 21px; }
  .hero-art::before { inset: 8px -8px -8px 8px; border-radius: 21px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div, .proof-grid > div + div { min-height: auto; padding: 23px 0; border-left: 0; }
  .proof-grid > div + div { border-top: 1px solid var(--lp-line); }
  .lp-section { padding: 92px 0; }
  .section-heading h2, .workflow-statement h2, .final-cta h2 { font-size: clamp(2.4rem, 12vw, 4rem); }
  .feature-row { grid-template-columns: 35px 1fr 18px; gap: 10px; }
  .workflow-grid { padding-top: 42px; }
  .pricing-section { padding-top: 25px; }
  .pricing-heading { margin-bottom: 35px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 0; padding: 27px 23px; }
  .plan-description { min-height: 0; }
  .compare-row { grid-template-columns: 1.3fr 1fr 1fr; }
  .compare-row > span { padding: 10px 9px; font-size: .72rem; }
  .compare-head > span { font-size: .58rem; }
  .final-section { padding-top: 35px; padding-bottom: 90px; }
  .final-cta { align-items: start; flex-direction: column; gap: 30px; padding: 31px 24px; border-radius: 22px; }
  .final-cta .button { width: 100%; }
  .footer-inner { min-height: 145px; align-items: start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .js [data-reveal], .js [data-reveal].is-visible { opacity: 1; transform: none; }
}
