/* ==========================================================================
   Ceed LP — app_growth — full-width redesign
   Source design: lp/mock/redesign/index.html + style.css (visual design FINAL).
   This file adapts that mock's CSS for the production page: same look, plus
   rules for the real download form (error/turnstile/honeypot/thank-you states)
   and for video-based account previews (mock used static images).
   ========================================================================== */

:root {
  --ink: #111111;
  --ink-soft: #45443f;
  --muted: #6f6e68;
  --paper: #F7F6F2;
  --paper-line: #e7e5dd;
  --white: #ffffff;
  --accent: #D4552B;
  --accent-soft: #f4d9cd;
  --radius: 18px;
  --wrap: 1200px;
  --pad-desktop: 112px;
  --pad-mobile: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}

.wrap-narrow { max-width: 860px; }

h1, h2, h3 {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

h1 { font-size: 52px; line-height: 1.28; }
h2 { font-size: 36px; line-height: 1.4; margin-bottom: 48px; }
h3 { font-size: 20px; line-height: 1.5; margin-bottom: 12px; }

p { margin: 0 0 16px; color: var(--ink-soft); }

a { color: inherit; text-decoration: none; }

.kicker {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.kicker-accent {
  color: var(--accent);
  position: relative;
  padding-left: 18px;
}
.kicker-accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 2px;
  background: var(--accent);
}
.kicker.center { text-align: center; padding-left: 0; }
.kicker.center::before { display: none; }
.kicker-light { color: var(--accent); }

.section-lead {
  max-width: 640px;
  font-size: 17px;
  margin-bottom: 48px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: opacity .15s ease, transform .15s ease;
}
.btn:hover { opacity: 0.85; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-block { width: 100%; padding: 18px; font-size: 16px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-line);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  background: var(--paper);
  padding: 76px 0 var(--pad-desktop);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .lead {
  font-size: 18px;
  max-width: 480px;
  margin-top: 8px;
}
.hero-visual {
  position: relative;
  height: 460px;
}
.phone {
  position: absolute;
  width: 210px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(17,17,17,0.35);
  border: 6px solid var(--white);
  background: var(--white);
}
.phone img,
.phone video { width: 100%; height: 100%; object-fit: cover; display: block; aspect-ratio: 9/16; }
.phone-a { left: 4%; top: 8%; transform: rotate(-9deg); z-index: 2; }
.phone-b { left: 34%; top: 34%; transform: rotate(4deg); z-index: 3; width: 220px; }
.phone-c { left: 62%; top: 2%; transform: rotate(11deg); z-index: 1; }

/* ---------- stats strip ---------- */
.stats {
  background: var(--white);
  border-bottom: 1px solid var(--paper-line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px 24px;
  text-align: center;
  border-left: 1px solid var(--paper-line);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 34px;
  color: var(--accent);
}
.stat-label { font-weight: 700; font-size: 15px; }
.stat-sub { font-size: 13px; color: var(--muted); }

/* ---------- conditions band ---------- */
.conditions {
  background: var(--ink);
  color: var(--white);
  padding: 48px 0;
}
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.cond { display: flex; flex-direction: column; gap: 8px; }
.cond-label { font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }
.cond-value { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 26px; }

/* ---------- generic section ---------- */
.section { padding: var(--pad-desktop) 0; background: var(--white); }
.section-paper { background: var(--paper); }

/* ---------- problem cards ---------- */
.card-grid { display: grid; gap: 24px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.problem-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.problem-card p { color: var(--ink); font-weight: 500; font-size: 16px; margin: 0; }
.pill {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

/* ---------- approach band ---------- */
.approach {
  background: var(--paper);
  padding: var(--pad-desktop) 0;
  text-align: center;
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
}
.approach-statement {
  max-width: 780px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 30px;
  line-height: 1.6;
  color: var(--ink);
}

/* ---------- reasons ---------- */
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.reason-num {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: var(--accent-soft);
  -webkit-text-stroke: 1.5px var(--accent);
  margin-bottom: 16px;
}

/* ---------- account cards ---------- */
.account-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 1px 0 var(--paper-line);
}
.account-img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  aspect-ratio: 4/3;
}
.account-img img,
.account-img video { width: 100%; height: 100%; object-fit: cover; display: block; }
.account-genre { font-weight: 700; font-size: 16px; }
.account-platform { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.account-num {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 26px;
  color: var(--accent);
}
.account-num small { font-family: "Noto Sans JP", sans-serif; font-weight: 500; font-size: 13px; color: var(--muted); }
.account-fact { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---------- works / case ---------- */
.case-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--paper-line);
}
.case-name {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 900;
  font-size: 24px;
}
.case-sub { font-size: 16px; color: var(--ink-soft); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.kpi {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.kpi-num {
  display: block;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: var(--ink);
  margin-bottom: 8px;
}
.kpi-label { font-size: 14px; color: var(--muted); }

.iar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.iar-label {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.iar p { font-size: 15px; }

/* ---------- compare table ---------- */
.compare-table-wrap { overflow-x: auto; }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table th, .compare-table td {
  padding: 20px 24px;
  text-align: center;
  border-bottom: 1px solid var(--paper-line);
}
.compare-table thead th {
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
}
.compare-table .row-label {
  text-align: left;
  font-weight: 700;
  color: var(--ink);
}
.compare-table .col-ceed {
  background: var(--white);
  font-weight: 800;
  color: var(--ink);
  position: relative;
}
.compare-table thead .col-ceed {
  background: var(--ink);
  color: var(--white);
  border-radius: 12px 12px 0 0;
}
.compare-table tbody .col-ceed { border-left: 2px solid var(--accent); border-right: 2px solid var(--accent); }
.compare-table tbody tr:last-child .col-ceed { border-bottom: 2px solid var(--accent); border-radius: 0 0 12px 12px; }

/* ---------- pricing ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}
.plan-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 640px; }
.plan-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 40px;
}
.plan-tag {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}
.plan-price {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--ink);
  margin-bottom: 24px;
}
.plan-price small { font-family: "Noto Sans JP", sans-serif; font-weight: 500; font-size: 15px; color: var(--muted); }
.plan-list { margin: 0 0 20px; padding-left: 20px; }
.plan-list li { margin-bottom: 10px; color: var(--ink-soft); font-size: 15px; }
.plan-note { font-size: 13px; color: var(--muted); margin: 0; }
.plan-extra { font-size: 14px; color: var(--muted); }
.plan-extra strong { color: var(--ink); margin-right: 8px; }

/* ---------- flow ---------- */
.flow-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.flow-row::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--paper-line);
  z-index: 0;
}
.flow-step { position: relative; z-index: 1; }
.flow-num {
  display: inline-block;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--white);
  background: var(--ink);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 16px;
}
.flow-step h3 { font-size: 16px; }
.flow-step p { font-size: 14px; }

/* ---------- faq ---------- */
.faq-list { display: flex; flex-direction: column; }
.faq-row {
  padding: 28px 0;
  border-bottom: 1px solid var(--paper-line);
}
.faq-q {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 10px;
  position: relative;
  padding-left: 28px;
}
.faq-q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: -2px;
  color: var(--accent);
  font-family: "Outfit", sans-serif;
  font-weight: 800;
}
.faq-a {
  font-size: 15px;
  padding-left: 28px;
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- download / form ---------- */
.download {
  background: var(--ink);
  color: var(--white);
  padding: var(--pad-desktop) 0;
}
.download-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}
.download h2 { color: var(--white); }
.lead-light { color: rgba(255,255,255,0.72); font-size: 16px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.chip {
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--white);
}
.question-list {
  margin: 0 0 32px;
  padding-left: 20px;
}
.question-list li { color: rgba(255,255,255,0.85); margin-bottom: 12px; font-size: 15px; }

.download-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--ink);
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label,
.field span { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.field input {
  border: 1px solid var(--paper-line);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.field-group { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.field-group-label { font-size: 13px; font-weight: 700; color: var(--ink-soft); display: flex; gap: 8px; align-items: baseline; }
.field-group-label small { font-weight: 500; color: var(--muted); }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); margin-bottom: 10px; cursor: pointer; }
.checkbox input { margin-top: 3px; }

.form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* honeypot: 人間には見えない欄。埋まっていたら bot とみなす */
.lp-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.lp-turnstile { margin: 4px 0 18px; min-height: 0; }
.lp-turnstile:empty { display: none; margin: 0; }

.lp-form-error {
  background: #FBEAEA;
  color: #B23A3A;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* 送信成功時、lp-form.js が <form> をこの内容に丸ごと差し替える */
.lp-thanks { text-align: center; padding: 12px 0 4px; }
.lp-thanks__heading { font-size: 18px; font-weight: 900; margin: 0 0 20px; color: var(--ink); }
.lp-thanks .lp-button {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 16px;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
  margin-bottom: 14px;
}
.lp-thanks .lp-button:hover { opacity: .85; }
.lp-thanks__note { font-size: 12px; color: var(--muted); margin: 0; }

/* ---------- cta band ---------- */
.cta-band {
  background: var(--paper);
  border-top: 1px solid var(--paper-line);
  border-bottom: 1px solid var(--paper-line);
  padding: 32px 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  text-align: center;
}
.cta-band-inner p {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}

/* ---------- mobile fixed cta ---------- */
.mobile-cta { display: none; }

/* ---------- footer ---------- */
.footer { background: var(--paper); padding: 56px 0; border-top: 1px solid var(--paper-line); }
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-name { font-weight: 700; color: var(--ink); }
.footer-info p { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.footer-links { display: flex; gap: 24px; font-size: 13px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }

/* ---------- logos ---------- */
.logos { background: #fff; border-bottom: 1px solid #E4E2DC; padding: 28px 0; }
.logo-row { display: flex; align-items: center; gap: 32px; padding: 12px 0; flex-wrap: wrap; }
.logo-row + .logo-row { border-top: 1px solid #ECEAE4; }
.logo-label { font-size: 12px; color: #6B6B6B; min-width: 150px; letter-spacing: 0.04em; }
.logo { font-family: "Outfit", sans-serif; font-weight: 800; font-size: 20px; color: #111; letter-spacing: 0.02em; }

/* ==========================================================================
   Mobile (< 900px)
   ========================================================================== */
@media (max-width: 900px) {
  :root { --pad-desktop: 64px; }

  .wrap { padding: 0 20px; }

  body { padding-bottom: 76px; }

  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    background: var(--ink);
    padding: 12px 20px;
  }
  .mobile-cta .btn { width: 100%; }

  .nav-links { display: none; }

  h1 { font-size: 34px; }
  h2 { font-size: 26px; margin-bottom: 32px; }
  .approach-statement { font-size: 22px; }

  .hero { padding: 48px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { height: 320px; margin-top: 8px; }
  .phone { width: 140px; }
  .phone-b { width: 150px; }
  .phone-a { left: 0; top: 4%; }
  .phone-b { left: 30%; top: 30%; }
  .phone-c { left: 58%; top: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: none; border-top: 1px solid var(--paper-line); padding: 28px 12px; }
  .stat:first-child, .stat:nth-child(2) { border-top: none; }

  .conditions-grid { grid-template-columns: 1fr; gap: 20px; }

  .card-grid-3 { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: 1fr; gap: 32px; }
  .kpi-grid { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .iar-grid { grid-template-columns: 1fr; gap: 28px; }

  .plan-grid { grid-template-columns: 1fr; }
  .plan-card { padding: 28px; }

  .flow-row { grid-template-columns: 1fr; gap: 32px; }
  .flow-row::before { display: none; }

  .compare-table { font-size: 13px; }
  .compare-table th, .compare-table td { padding: 14px 10px; }

  .download-grid { grid-template-columns: 1fr; gap: 40px; }
  .download-form { padding: 28px; }

  .footer-grid { flex-direction: column; }
}
.compare-table td[data-k="s8.r1c"] { white-space: nowrap; }
