:root{
  --bg0:#050b1d;
  --bg1:#070f2a;
  --dark-surface:#050b1d;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(255,255,255,.55);
  --stroke:rgba(255,255,255,.10);
  --card:rgba(255,255,255,.06);
  --shadow: 0 24px 70px rgba(0,0,0,.55);
  --radius:18px;
  --blue:#2b66ff;
  --blue2:#7aa7ff;
}

*{box-sizing:border-box}
html,body{min-height:100%}
html{overflow-x:hidden}
body{
  margin:0;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 55% 24%, rgba(43,102,255,.22), rgba(43,102,255,0) 60%),
    radial-gradient(800px 520px at 18% 75%, rgba(122,167,255,.14), rgba(122,167,255,0) 62%),
    radial-gradient(1000px 620px at 85% 86%, rgba(80,0,255,.12), rgba(80,0,255,0) 60%),
    linear-gradient(180deg, var(--bg1), var(--bg0) 55%, #040815);
  font-family: ui-sans-serif, system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  line-height:1.6;
  letter-spacing:.01em;
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}

.muted{
  font-size:.62em;
  font-weight:600;
  color:var(--muted2);
}
.theme-light .muted{
  color:rgba(9,16,40,.45);
}

.container{
  width:min(1120px, calc(100% - 48px));
  margin:0 auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  white-space:nowrap;border:0;
}

/* Header (not fixed) */
.site-header{
  position:relative;
  background:transparent;
  overflow:hidden; /* keep hero-like glow inside header */
}
.site-header::before{
  content:"";
  position:absolute;
  inset:-200px -120px auto -120px;
  height:520px;
  background:
    radial-gradient(700px 380px at 50% 50%, rgba(43,102,255,.24), rgba(43,102,255,0) 62%),
    radial-gradient(800px 460px at 55% 40%, rgba(122,167,255,.14), rgba(122,167,255,0) 60%);
  pointer-events:none;
  z-index:0;
}
.header-inner{
  height:64px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  position:relative;
  z-index:1;
}
.brand{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:max-content;
}
.brand-mark{
  width:30px; height:30px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 10px 30px rgba(43,102,255,.12);
  overflow:hidden;
}
.brand-mark img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.brand-name{
  font-weight:700;
  letter-spacing:.02em;
  color:rgba(255,255,255,.92);
}

/* Hero */
.hero{
  position:relative;
  overflow:hidden; /* prevent iOS overflow */
  padding:84px 0 54px;
}
.hero-bg{
  position:absolute;
  inset:-200px -120px auto -120px;
  height:520px;
  background:
    radial-gradient(700px 380px at 50% 50%, rgba(43,102,255,.24), rgba(43,102,255,0) 62%),
    radial-gradient(800px 460px at 55% 40%, rgba(122,167,255,.14), rgba(122,167,255,0) 60%);
  pointer-events:none;
}
.hero-inner{
  position:relative;
  text-align:center;
}
.pill{
  display:inline-flex;
  align-items:center;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
}
.hero-title{
  margin:18px 0 10px;
  font-weight:800;
  letter-spacing:.02em;
  line-height:1.15;
  font-size:clamp(30px, 4.3vw, 56px);
  text-shadow:
    0 14px 60px rgba(43,102,255,.22),
    0 2px 18px rgba(0,0,0,.5);
}
.glow{
  background:linear-gradient(90deg, rgba(122,167,255,1), rgba(43,102,255,1));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:
    0 0 22px rgba(122,167,255,.22),
    0 0 40px rgba(43,102,255,.20);
}
.hero-sub{
  margin:0 auto 56px;
  max-width:720px;
  color:rgba(255,255,255,.72);
  font-size:clamp(13px, 1.55vw, 16px);
}
.sp{display:none}

/* Forms */
.hero-form{margin-top:14px}
.lead-form{max-width:760px; margin:0 auto}
.input-row{
  display:flex;
  gap:12px;
  justify-content:center;
  align-items:stretch;
}
.input-wrap{
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 14px;
  min-height:46px;
  border-radius:14px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,0);
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
  flex:1;
  max-width:420px;
}
.input-icon{
  color:rgba(9,16,40,.62);
  display:grid;
  place-items:center;
}
input{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  color:rgba(9,16,40,.92);
  font-size:14px;
}
input::placeholder{color:rgba(9,16,40,.45)}

.btn-primary{
  min-height:46px;
  padding:0 18px;
  border:0;
  cursor:pointer;
  border-radius:14px;
  font-weight:700;
  letter-spacing:.02em;
  color:white;
  background: linear-gradient(180deg, rgba(64,126,255,1), rgba(43,102,255,1));
  box-shadow:
    0 24px 60px rgba(43,102,255,.32),
    0 8px 28px rgba(0,0,0,.35);
  border:1px solid rgba(122,167,255,.18);
  transition: transform .12s ease, filter .12s ease;
  white-space:nowrap;
}
.btn-primary:hover{filter:brightness(1.03)}
.btn-primary:active{transform:translateY(1px)}
.btn-wide{width:100%}

.form-note{
  margin:10px 0 0;
  color:rgba(255,255,255,.62);
  font-size:12px;
}
.form-error{
  margin:10px 0 0;
  color:rgba(255,160,160,.95);
  font-size:13px;
  min-height:1.3em;
}
.form-success{
  margin:10px 0 0;
  color:rgba(163, 246, 197, .95);
  font-size:13px;
  min-height:1.3em;
}

/* Light theme wrapper (middle sections) */
.theme-light{
  color:rgba(9,16,40,.92);
  background:#fff;
}
.theme-light .section-title,
.theme-light .card-title{color:rgba(9,16,40,.92)}
.theme-light .section-lead,
.theme-light .step-text{color:rgba(9,16,40,.74)}

/* Sections */
.section{padding:82px 0}
.section-alt{
  background:#fff;
  border-top:1px solid rgba(9,16,40,.08);
  border-bottom:1px solid rgba(9,16,40,.08);
}
.section-head{margin-bottom:18px}
.section-title{
  margin:0 0 32px;
  font-size:clamp(22px, 2.3vw, 32px);
  line-height:1.25;
  letter-spacing:.02em;
  font-weight:800;
}
.section-lead{margin:0}

.grid-2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-top:18px;
}
.card{
  background:rgba(9,16,40,.03);
  border:1px solid rgba(9,16,40,.12);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: 0 18px 55px rgba(2,6,23,.10);
}
.card.subtle{background:rgba(9,16,40,.02)}
.card-title{margin:0 0 10px; font-size:16px; font-weight:800}
.list{margin:0; padding-left:18px; color:rgba(9,16,40,.78)}
.list li{margin:8px 0}

/* Steps */
.steps{
  list-style:none;
  margin:18px 0 0;
  padding:0;
  display:grid;
  gap:16px;
  grid-template-columns:repeat(3, minmax(0, 1fr));
}
.step{
  display:flex;
  gap:16px;
  padding:20px;
  border-radius:var(--radius);
  background:#fff;
  border:1px solid rgba(9,16,40,.12);
  box-shadow:0 18px 55px rgba(2,6,23,.10);
}
.step-badge{
  width:44px;height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:800;
  background:var(--blue);
  border:1px solid rgba(9,16,40,.08);
  color:#fff;
  box-shadow:none;
  flex:0 0 auto;
}
.step-title{margin:0 0 8px; font-size:16px; font-weight:800}
.step-text{margin:0; color:rgba(9,16,40,.72)}

/* Chips */
.chips{list-style:none; padding:0; margin:0; display:flex; flex-wrap:wrap; gap:10px}
.chips li{
  padding:10px 12px;
  border-radius:999px;
  background:rgba(9,16,40,.03);
  border:1px solid rgba(9,16,40,.10);
  color:rgba(9,16,40,.78);
  font-size:13px;
}

/* Flow */
.flow{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:22px;
  padding:18px 16px;
  border-radius:18px;
  background:rgba(43,102,255,.06);
  border:1px solid rgba(43,102,255,.16);
}
.flow-item{
  padding:12px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(9,16,40,.10);
  color:rgba(9,16,40,.86);
  font-weight:800;
  letter-spacing:.01em;
  box-shadow:none;
}
.flow-item.strong{
  /* 落ち着いた（少し濃く・彩度控えめ）ブルー */
  background: var(--blue);
  border-color:rgba(9,16,40,.08);
  color:#fff;
}
.flow-arrow{
  color:rgba(43,102,255,.55);
  font-weight:900;
  font-size:18px;
}
.note-strong{margin:18px 0 0; font-weight:800; letter-spacing:.02em; color:rgba(9,16,40,.92)}

.mini-badges{display:flex; flex-wrap:wrap; gap:8px; margin-top:14px}
.mini-badges span{
  padding:8px 10px;
  border-radius:999px;
  background:rgba(43,102,255,.10);
  border:1px solid rgba(43,102,255,.18);
  color:rgba(9,16,40,.78);
  font-size:12px;
}

/* CTA (signup) - dark tone with gradient, but solid base */
.dark-tail{
  background:
    radial-gradient(900px 520px at 20% 40%, rgba(43,102,255,.22), rgba(43,102,255,0) 60%),
    radial-gradient(800px 520px at 78% 70%, rgba(122,167,255,.14), rgba(122,167,255,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    var(--dark-surface);
}
.cta{
  padding:78px 0;
  background:transparent;
  border-top:1px solid transparent;
  color:rgba(255,255,255,.92);
}
.cta-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:start;
}
.cta-sub{
  margin:14px 0 0;
  color:rgba(255,255,255,.92);
  font-size:clamp(15px, 1.8vw, 18px);
}
.cta-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:calc(var(--radius) + 2px);
  padding:18px;
  box-shadow:0 26px 70px rgba(0,0,0,.55);
}
.cta-card-title{margin:0 0 12px; font-size:16px; font-weight:800}
.lead-form--stack .input-wrap{max-width:none}
.lead-form--stack .btn-primary{margin-top:10px}
.legal{margin-top:12px; color:rgba(255,255,255,.56); font-size:12px}
.legal p{margin:6px 0}

/* Footer (dark tone) */
.footer{
  padding:28px 0 40px;
  border-top:1px solid transparent;
  background:transparent;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-copy{
  margin:0;
  color:rgba(255,255,255,.55);
  font-size:12px;
  text-align:center;
}

/* Responsive */
@media (max-width: 980px){
  .cta-inner{grid-template-columns:1fr;}
  .grid-2{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .container{width:min(1120px, calc(100% - 32px))}
  .hero{padding:72px 0 44px}
  .sp{display:inline}
  .input-row{flex-direction:column}
  .input-wrap{max-width:none}
  .btn-primary{width:100%}
  .section{padding:52px 0}
  .cta{padding:56px 0}
  .footer{padding:18px 0 24px}

  /* Flow: horizontal -> vertical on mobile */
  .flow{
    flex-direction:column;
    flex-wrap:nowrap;
    align-items:center;
  }
  .flow-arrow{
    display:inline-block;
    transform:rotate(90deg);
    line-height:1;
  }
}

/* Responsive line-break helpers */
br.sp-only {
  display: none;
}

@media (max-width: 500px) {
  br.pc-only {
    display: none;
  }
  br.sp-only {
    display: block;
  }
}
