:root {
  --bg: #0b1220;
  --bg-soft: #111c30;
  --card: #ffffff;
  --ink: #11203a;
  --ink-soft: #4a5b76;
  --line: #e4e9f1;
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-soft: #eaf1ff;
  --accent: #00c2a8;
  --warn: #ff7849;
  --radius: 16px;
  --shadow: 0 18px 50px -18px rgba(16, 38, 76, .35);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.8;
  background: #f6f8fc;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
section { padding: 84px 0; }
h2.sec-title { font-size: clamp(26px, 4vw, 38px); text-align: center; letter-spacing: .02em; line-height: 1.4; }
.sec-lead { text-align: center; color: var(--ink-soft); margin: 16px auto 48px; max-width: 640px; }
.eyebrow { display: inline-block; color: var(--brand); font-weight: 700; letter-spacing: .14em; font-size: 13px; }

/* Header */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 248, 252, .82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 800; font-size: 20px; letter-spacing: .02em; display: flex; align-items: center; gap: 8px; }
.logo b { color: var(--brand); }
.logo .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); display: inline-block; }
.nav-links { display: flex; gap: 26px; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 700;
  padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .8);
}
.btn:hover { transform: translateY(-2px); background: var(--brand-dark); }
.btn.ghost { background: #fff; color: var(--brand); border: 1.5px solid var(--brand); box-shadow: none; }
.btn.lg { padding: 16px 34px; font-size: 17px; }
.nav-links .btn { color: #fff; }

/* Hero */
.hero { background: linear-gradient(160deg, #0b1220 0%, #14213d 55%, #1b2c52 100%); color: #fff; padding: 96px 0 110px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -160px; top: -120px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(0,194,168,.35), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.32; letter-spacing: .01em; }
.hero h1 .hl { color: var(--accent); }
.hero p.sub { margin-top: 22px; font-size: 18px; color: #c6d2e6; max-width: 540px; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13px; color: #91a3c2; }
.hero-badges { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; }
.hero-badges div { font-size: 13px; color: #b9c6df; }
.hero-badges b { display: block; font-size: 28px; color: #fff; font-weight: 800; }
.hero-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 24px; backdrop-filter: blur(6px); }
.hero-card h4 { font-size: 14px; color: #9fb0cd; margin-bottom: 14px; font-weight: 700; letter-spacing: .08em; }
.flowstep { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.flowstep:last-child { border-bottom: none; }
.flowstep .n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #06231f; font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.flowstep p { color: #d7e0f0; font-size: 14px; line-height: 1.6; }
.flowstep p b { color: #fff; }

/* Logos / trust */
.trust { background: #fff; border-bottom: 1px solid var(--line); padding: 28px 0; }
.trust p { text-align: center; color: var(--ink-soft); font-size: 14px; }
.trust strong { color: var(--ink); }

/* Pain */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.pain .ic { font-size: 28px; }
.pain h3 { margin: 12px 0 8px; font-size: 18px; }
.pain p { color: var(--ink-soft); font-size: 14.5px; }

/* Solution / features */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; gap: 18px; }
.feat .ic { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 24px; }
.feat h3 { font-size: 18px; margin-bottom: 6px; }
.feat p { color: var(--ink-soft); font-size: 14.5px; }

/* Steps */
.steps { background: var(--bg-soft); color: #fff; }
.steps .sec-lead { color: #aab8d4; }
.steps h2.sec-title { color: #fff; }
.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.step .n { font-size: 13px; color: var(--accent); font-weight: 800; letter-spacing: .1em; }
.step h3 { margin: 10px 0 8px; font-size: 17px; }
.step p { color: #c2cee4; font-size: 14px; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.feature { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 20px; }
.plan .desc { color: var(--ink-soft); font-size: 13.5px; min-height: 42px; margin-top: 6px; }
.plan .price { margin: 18px 0 6px; font-size: 34px; font-weight: 800; }
.plan .price small { font-size: 15px; color: var(--ink-soft); font-weight: 600; }
.plan .price .yen { font-size: 20px; }
.plan ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 10px; }
.plan li { font-size: 14px; padding-left: 26px; position: relative; color: var(--ink); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; width: 100%; }
.price-note { text-align: center; color: var(--ink-soft); font-size: 13px; margin-top: 26px; }

/* Tool plan band */
.tool-band { background: linear-gradient(120deg, #eaf1ff, #e6fbf6); border: 1px solid var(--line); border-radius: 20px; padding: 36px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: center; }
.tool-band h3 { font-size: 24px; }
.tool-band p { color: var(--ink-soft); margin-top: 10px; }
.tool-band .pp { font-size: 30px; font-weight: 800; margin-top: 14px; }
.tool-band .pp small { font-size: 14px; color: var(--ink-soft); font-weight: 600; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-soft); padding: 0 0 18px; font-size: 14.5px; }

/* Apply form */
.apply { background: var(--bg-soft); color: #fff; }
.apply h2.sec-title { color: #fff; }
.apply .sec-lead { color: #aab8d4; }
.form-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 38px; max-width: 720px; margin: 0 auto; box-shadow: var(--shadow); }
.form-row { margin-bottom: 20px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
label .req { color: var(--warn); font-size: 12px; margin-left: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--ink); background: #fbfcfe;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
textarea { resize: vertical; min-height: 96px; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-msg { text-align: center; margin-top: 16px; font-weight: 700; min-height: 22px; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: var(--warn); }
.privacy { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 14px; }

/* Footer */
footer { background: var(--bg); color: #8ea0bf; padding: 48px 0; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-inner .logo { color: #fff; }
footer small { color: #6f81a0; }

/* Responsive */
@media (max-width: 880px) {
  .hero-grid, .tool-band { grid-template-columns: 1fr; }
  .pain-grid, .feat-grid, .step-grid, .plans { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .form-row.two { grid-template-columns: 1fr; }
  section { padding: 60px 0; }
}
