:root {
  --ink: #141a33;
  --ink-soft: #4a5068;
  --line: #e4e6ef;
  --bg: #ffffff;
  --bg-soft: #f6f7fb;
  --blue: #1f8bff;
  --purple: #8b3dff;
  --pink: #ff2e7e;
  --orange: #ff9a1a;
  --grad: linear-gradient(100deg, #12b5ff 0%, #4b6bff 30%, #8b3dff 55%, #ff2e7e 78%, #ff9a1a 100%);
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif; line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }

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

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn, .nav a.btn:hover, .nav a.btn[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 0;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 16px;
  text-decoration: none; cursor: pointer; box-shadow: 0 8px 20px rgba(139,61,255,.22);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(139,61,255,.3); }
.btn-small { padding: 9px 20px; font-size: 14px; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--ink); box-shadow: none; }

/* hero */
.hero { padding: 80px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -60% auto; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(139,61,255,.12), transparent 70%);
  z-index: -1;
}
.hero .container { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 700; color: var(--purple); letter-spacing: .08em; margin-bottom: 18px; }
.hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; margin-bottom: 22px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 17px; color: var(--ink-soft); margin-bottom: 32px; max-width: 34em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual img { width: 100%; max-width: 420px; margin: 0 auto; }

/* stats */
.stats-band { border-top: 1px solid var(--line); padding: 36px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-family: "Zen Maru Gothic", sans-serif; font-size: 40px; font-weight: 700; line-height: 1.2; }
.stat-num small { font-size: 18px; margin-left: 2px; }
.stat-label { color: var(--ink-soft); font-size: 14px; margin-top: 6px; line-height: 1.6; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; } }
@media (max-width: 760px) { .stat-num { font-size: 32px; } .stat-label { font-size: 13px; } }

/* sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-head .label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--purple); margin-bottom: 10px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section-head p { color: var(--ink-soft); margin-top: 14px; }

.page-hero { padding: 64px 0 40px; text-align: center; border-bottom: 1px solid var(--line); }
.page-hero .label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--purple); margin-bottom: 8px; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); }
.page-hero p { color: var(--ink-soft); margin: 14px auto 0; max-width: 36em; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; position: relative;
}
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad); color: #fff; margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.card ul { margin: 14px 0 0; padding-left: 1.2em; color: var(--ink-soft); font-size: 15px; }
.card ul li { margin-bottom: 4px; }

/* problems */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }
.problem { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; }
.problem .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 14px; font-weight: 700; display: grid; place-items: center; margin-top: 3px; }

/* strengths */
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.strength .num { font-family: "Zen Maru Gothic", sans-serif; font-size: 40px; font-weight: 700; line-height: 1; margin-bottom: 14px; }
.strength h3 { font-size: 19px; margin-bottom: 10px; }
.strength p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.step .no { font-size: 13px; font-weight: 700; color: var(--purple); letter-spacing: .1em; }
.step h3 { font-size: 18px; margin: 6px 0 8px; }
.step p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* pricing */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.price-table th, .price-table td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { width: 38%; font-weight: 700; }
.price-table th small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 14px; margin-top: 4px; }
.price-table td .price { font-family: "Zen Maru Gothic", sans-serif; font-size: 22px; font-weight: 700; }
.note { color: var(--ink-soft); font-size: 14px; margin-top: 16px; }

/* service detail */
.service-block { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block h2 { font-size: 26px; }
.service-block .sub { color: var(--purple); font-weight: 700; font-size: 14px; margin-top: 8px; }
.service-block h3 { font-size: 16px; margin: 22px 0 8px; }
.service-block h3:first-child { margin-top: 0; }
.service-block ul { margin: 0; padding-left: 1.2em; color: var(--ink-soft); }

/* about */
.profile { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 760px; margin: 0 auto; }
.info-table { width: 100%; border-collapse: collapse; max-width: 760px; margin: 0 auto; }
.info-table th, .info-table td { text-align: left; padding: 16px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 30%; color: var(--ink-soft); font-weight: 500; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 22px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }

/* cta */
.cta { text-align: center; padding: 80px 0; }
.cta-box { background: var(--ink); color: #fff; border-radius: 28px; padding: 56px 32px; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--grad); }
.cta-box h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 14px; }
.cta-box p { color: #c9cce0; margin-bottom: 28px; }

/* form */
.form { max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.req { display: inline-block; font-size: 12px; color: #fff; background: var(--pink); border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.opt { display: inline-block; font-size: 12px; color: var(--ink-soft); background: var(--bg-soft); border-radius: 4px; padding: 1px 7px; margin-left: 8px; vertical-align: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea {
  width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(139,61,255,.15); }
.field textarea { min-height: 170px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { margin-top: 6px; width: 18px; height: 18px; }
.form-actions { text-align: center; margin-top: 30px; }
.form-msg { margin-top: 18px; text-align: center; font-weight: 700; }
.form-msg.ok { color: #138a4b; }
.form-msg.ng { color: #c2183c; }
.hp { position: absolute; left: -9999px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; background: #fff; }
.site-footer .container { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.site-footer .brand img { height: 36px; }
.site-footer p { color: var(--ink-soft); font-size: 14px; margin: 12px 0 0; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; align-items: flex-start; }
.footer-nav a { text-decoration: none; color: var(--ink-soft); font-size: 14px; }
.footer-nav a:hover { color: var(--ink); }
.copyright { width: 100%; color: var(--ink-soft); font-size: 13px; margin-top: 28px; }

/* responsive */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { max-width: 260px; }
  .cards, .strengths { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .problems { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px; align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 26px 20px; }
  .price-table th, .price-table td { display: block; width: 100%; }
  .price-table th { border-bottom: 0; padding-bottom: 4px; }
  .price-table td { padding-top: 0; }
  .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 0; }
}
