:root {
  --blue: #0198FF;
  --blue-dark: #0066b3;
  --blue-soft: #e6f5ff;
  --red: #CE0F0F;
  --ink: #1a1a1a;
  --muted: #5f6b7a;
  --bg: #f4f7fb;
  --card: #fff;
  --line: #e5e7eb;
  --max: 1160px;
  --phone-w: 260px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 64px; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.lp-wrap {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lp-header .lp-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.lp-brand img { height: 32px; width: auto; }
.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.lp-nav-cta {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-nav-demo {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  background: #fff;
  border: 1px solid var(--blue);
  padding: 7px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-nav-demo:hover { background: var(--blue); color: #fff; }
.lp-nav-demo-long { display: none; }
.lp-nav-demo-short { display: inline; }

.lp-hero {
  background: linear-gradient(165deg, #0198FF 0%, #005fa3 55%, #003d6b 100%);
  color: #fff;
  padding: 48px 0 64px;
  overflow: hidden;
}
.lp-hero-inner { text-align: center; }
.lp-hero-copy { display: contents; }
.lp-kicker {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  background: rgba(255,255,255,.15);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.lp-hero h1 {
  font-size: clamp(28px, 7vw, 44px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.lp-lead {
  margin-top: 16px;
  font-size: clamp(15px, 3.8vw, 18px);
  opacity: .92;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 0;
  cursor: pointer;
}
.lp-btn-primary { background: #fff; color: var(--blue-dark); }
.lp-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.lp-hero .lp-btn-primary { box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.lp-phone { margin-top: 36px; display: flex; justify-content: center; }
.lp-phone-frame {
  width: var(--phone-w);
  padding: 10px;
  border-radius: 28px;
  background: #111;
  box-shadow: 0 24px 48px rgba(0,0,0,.35);
  border: 3px solid #333;
}
.lp-phone-frame img {
  border-radius: 18px;
  width: 100%;
  height: auto;
}
.lp-phone-sm { margin-top: 0; }
.lp-phone-sm .lp-phone-frame { width: 220px; }

.lp-section { padding: 56px 0; }
.lp-section-muted { background: #fff; }
.lp-section-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 900;
  text-align: center;
  letter-spacing: -.01em;
}
.lp-section-lead {
  text-align: center;
  color: var(--muted);
  margin-top: 12px;
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.lp-cando {
  display: grid;
  gap: 16px;
  margin-bottom: 36px;
}
.lp-cando-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 22px 16px;
  box-shadow: 0 4px 16px rgba(16,24,40,.04);
}
.lp-cando-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
}
.lp-cando-card ul {
  margin: 0;
  padding: 0 0 0 1.15em;
  display: grid;
  gap: 8px;
}
.lp-cando-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.lp-cando-note {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  margin-top: 20px;
}
.lp-screen-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 12px;
  margin: 8px -4px 0;
}
.lp-screen-item {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
}
.lp-screen-item figcaption {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}
.lp-screen-row .lp-phone {
  margin-top: 0;
  justify-content: center;
}
.lp-feature {
  display: grid;
  gap: 28px;
  align-items: center;
  margin-bottom: 48px;
}
.lp-feature:last-child { margin-bottom: 0; }
.lp-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-dark);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.lp-feature h3 {
  font-size: clamp(20px, 4.5vw, 26px);
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}
.lp-feature p { color: var(--muted); font-size: 15px; }

.lp-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.lp-steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px rgba(16,24,40,.04);
}
.lp-steps strong { display: block; font-size: 17px; margin-bottom: 4px; }
.lp-steps span { color: var(--muted); font-size: 14px; }

.lp-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.lp-benefits li {
  background: var(--card);
  border-radius: 12px;
  padding: 16px 18px 16px 44px;
  position: relative;
  border: 1px solid var(--line);
  font-weight: 600;
}
.lp-benefits li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--blue);
  font-weight: 900;
}

.lp-contact { background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); }
.lp-form {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(16,24,40,.08);
  display: grid;
  gap: 16px;
}
.lp-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}
.lp-form label em {
  font-style: normal;
  color: var(--red);
  font-size: 11px;
  margin-left: 6px;
}
.lp-form input,
.lp-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 16px;
}
.lp-form textarea { min-height: 120px; resize: vertical; }
.lp-form .lp-btn { width: 100%; background: var(--blue); color: #fff; margin-top: 4px; }
.lp-honey { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.lp-alert {
  max-width: 560px;
  margin: 0 auto 20px;
  padding: 14px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
}
.lp-alert-ok { background: #e8f8ef; color: #137333; border: 1px solid #b7e4c7; }
.lp-alert-error { background: #fdecec; color: var(--red); border: 1px solid #f5c2c2; }

.lp-footer {
  padding: 32px 0 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.lp-footer-note { margin-top: 8px; font-size: 12px; }
.lp-footer-note a { color: var(--blue); font-weight: 700; }

.lp-btn-demo {
  background: var(--blue);
  color: #fff;
}
.lp-demo-banner {
  display: grid;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 auto 36px;
  max-width: 720px;
  box-shadow: 0 4px 16px rgba(16,24,40,.04);
}
.lp-demo-banner p { font-weight: 700; }
.lp-demo-inline { text-align: center; margin-top: 24px; }

.lp-spec-grid {
  display: grid;
  gap: 14px;
}
.lp-spec-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(16,24,40,.04);
}
.lp-spec-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.lp-spec-card p {
  color: var(--muted);
  font-size: 14px;
}

@media (min-width: 768px) {
  .lp-nav-cta { font-size: 14px; padding: 10px 16px; }
  .lp-nav-demo { font-size: 14px; padding: 9px 16px; }
  .lp-nav-demo-long { display: inline; }
  .lp-nav-demo-short { display: none; }
  .lp-demo-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-bottom: 48px;
  }
  .lp-header .lp-wrap { min-height: 64px; }
  .lp-section { padding: 80px 0; }
  .lp-section-lead { margin-bottom: 48px; font-size: 17px; }
  .lp-cando {
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    margin-bottom: 48px;
  }
  .lp-cando-card:first-child { grid-row: 1 / span 2; height: 100%; }
  .lp-cando-card h3 { font-size: 20px; }
  .lp-cando-card li { font-size: 15px; }
  .lp-screen-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    scroll-snap-type: none;
    max-width: 900px;
    margin: 8px auto 0;
    padding: 8px 0 0;
  }
  .lp-feature {
    grid-template-columns: 1fr 260px;
    gap: 48px;
    margin-bottom: 64px;
  }
  .lp-feature-reverse { direction: rtl; }
  .lp-feature-reverse > * { direction: ltr; }
  .lp-feature h3 { font-size: 26px; line-height: 1.4; }
  .lp-feature p { font-size: 16px; line-height: 1.75; }
  .lp-steps { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lp-steps li { padding: 20px 22px; }
  .lp-steps strong { font-size: 18px; }
  .lp-benefits {
    grid-template-columns: 1fr 1fr;
    max-width: 960px;
    gap: 16px;
  }
  .lp-benefits li { padding: 18px 20px 18px 48px; font-size: 15px; }
  .lp-spec-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .lp-spec-card { padding: 22px 24px; }
  .lp-spec-card h3 { font-size: 18px; }
  .lp-spec-card p { font-size: 15px; }
  .lp-hero { padding: 64px 0 80px; }
  .lp-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    text-align: left;
    align-items: center;
  }
  .lp-hero-copy { display: block; }
  .lp-hero h1 { font-size: 40px; }
  .lp-lead {
    margin-left: 0;
    margin-right: 0;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.75;
  }
  .lp-hero-actions { justify-content: flex-start; margin-top: 32px; }
  .lp-phone {
    margin-top: 0;
    justify-content: flex-end;
  }
  .lp-phone-frame {
    width: 280px;
    box-shadow: 0 32px 64px rgba(0,0,0,.4);
  }
}

@media (min-width: 1024px) {
  .lp-section { padding: 96px 0; }
  .lp-hero { padding: 80px 0 96px; }
  .lp-hero-inner { gap: 64px; }
  .lp-hero h1 { font-size: 44px; }
  .lp-lead { font-size: 18px; max-width: 560px; }
  .lp-phone-frame { width: 320px; }
  .lp-phone-sm .lp-phone-frame { width: 260px; }
  .lp-cando { gap: 20px; }
  .lp-feature { grid-template-columns: 1fr 280px; gap: 56px; }
  .lp-steps { grid-template-columns: repeat(4, 1fr); }
  .lp-benefits { max-width: none; }
  .lp-spec-grid { grid-template-columns: 1fr 1fr 1fr; }
}
