/* =========================================================
   about.lavas.co.jp — 営業用 自己紹介LP
   配色トークンは lp/assets/css/style.css と同じ実値を使う。
   （2箇所に分けると必ずずれる。色を変えるときは両方直す）
   ========================================================= */
:root {
  --ink: #0b1120;
  --ink-soft: #334155;
  --ink-mute: #64748b;
  --brand: #4f46e5;
  --brand-strong: #4338ca;
  --brand-2: #7c3aed;
  --brand-tint: #eef2ff;

  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-panel: #f1f5f9;
  --line: #e2e8f0;
  --line-soft: #eef2f6;
  --white: #ffffff;

  --ok: #059669;
  --warn: #b45309;
  --warn-bg: #fffbeb;
  --warn-line: #fcd34d;

  --font-sans: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(11, 17, 32, .06), 0 1px 3px rgba(11, 17, 32, .04);
  --shadow-md: 0 10px 24px rgba(11, 17, 32, .07), 0 2px 6px rgba(11, 17, 32, .04);
  --shadow-lg: 0 24px 60px rgba(11, 17, 32, .10), 0 4px 12px rgba(11, 17, 32, .05);

  --maxw: 1080px;
  --gap: clamp(16px, 3vw, 28px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16px;
  letter-spacing: .01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); }

.container { width: min(100% - 2 * var(--gap), var(--maxw)); margin-inline: auto; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.5; letter-spacing: .002em; margin: 0 0 .6em; }
h2 { font-size: clamp(1.35rem, 3.4vw, 2rem); }
h3 { font-size: clamp(1.05rem, 2.2vw, 1.25rem); }
p { margin: 0 0 1em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.brand-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; color: var(--ink); text-decoration: none; font-size: 1.05rem; letter-spacing: .04em;
}
.brand-logo .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px var(--brand-tint);
}
.brand-logo small { font-weight: 600; color: var(--ink-mute); font-size: .74rem; letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: #fff; color: var(--brand-strong); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-tint); }
.btn--sm { padding: 10px 18px; font-size: .88rem; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 70%;
  background: radial-gradient(60% 60% at 30% 20%, rgba(79, 70, 229, .13), transparent 70%),
              radial-gradient(50% 50% at 80% 0%, rgba(124, 58, 237, .10), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative; display: grid; gap: clamp(24px, 4vw, 48px);
  grid-template-columns: 1fr; align-items: center;
  padding: clamp(44px, 7vw, 84px) 0 clamp(36px, 6vw, 68px);
}
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr .95fr; } }
.hero h1 {
  font-size: clamp(1.85rem, 5.4vw, 3.1rem); line-height: 1.32; letter-spacing: -.01em;
  margin-bottom: .5em;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(1rem, 2.1vw, 1.12rem); color: var(--ink-soft); margin-bottom: 1.4em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero__note { font-size: .86rem; color: var(--ink-mute); margin: 0; }
.hero__media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero__media img { width: 100%; }

/* ---------- sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--soft { background: var(--bg-soft); }
.section--panel { background: var(--bg-panel); }
.section__head { max-width: 720px; margin: 0 auto clamp(28px, 4vw, 44px); text-align: center; }
.section__head p { color: var(--ink-mute); margin: 0; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  color: var(--brand-strong); background: var(--brand-tint);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 14px;
}

/* ---------- cards ---------- */
.grid { display: grid; gap: clamp(14px, 2.4vw, 22px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .5em; }
.card p:last-child { margin-bottom: 0; }
.card__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px;
  background: var(--brand-tint); color: var(--brand-strong); font-weight: 800; font-size: .95rem;
}
.card__goal {
  margin-top: 16px; padding: 13px 16px; border-radius: var(--r-sm);
  background: var(--bg-soft); border-left: 3px solid var(--brand);
  font-size: .93rem; color: var(--ink);
}
.card__goal b { color: var(--brand-strong); }

.problem { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.problem h3 { font-size: 1.02rem; margin-bottom: .35em; }
.problem p { margin: 0; font-size: .94rem; color: var(--ink-mute); }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.step__n {
  counter-increment: step; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step__n::before { content: counter(step); }
.step h3 { font-size: 1rem; margin-bottom: .25em; }
.step p { margin: 0; font-size: .93rem; color: var(--ink-mute); }
.step__time { font-size: .82rem; color: var(--brand-strong); font-weight: 700; }

/* ---------- grant ---------- */
.grant-figure {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 26px; box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.grant-figure b { font-size: clamp(1.6rem, 4.6vw, 2.3rem); color: var(--brand-strong); line-height: 1; }
.grant-figure span { font-size: .95rem; color: var(--ink-mute); }
.notice {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--r-sm);
  padding: 16px 18px; font-size: .87rem; color: #6b4a10; line-height: 1.8;
}
.notice p { margin: 0 0 .5em; }
.notice p:last-child { margin: 0; }

/* ---------- profile ---------- */
.profile { display: grid; gap: 22px; }
@media (min-width: 820px) { .profile { grid-template-columns: 1fr 1.25fr; } }
.profile__name { font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.profile__role { color: var(--ink-mute); font-size: .9rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.facts li {
  padding-left: 26px; position: relative; font-size: .96rem; color: var(--ink);
}
.facts li::before {
  content: ""; position: absolute; left: 6px; top: .62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.facts small { color: var(--ink-mute); }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 780px; margin-inline: auto; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--shadow-sm);
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; float: right; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "－"; }
.faq p { margin: .8em 0 0; font-size: .95rem; }

/* ---------- form ---------- */
.cta-grid { display: grid; gap: 18px; }
@media (min-width: 860px) { .cta-grid { grid-template-columns: 1fr 1fr; align-items: start; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.field input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 1rem; font-family: inherit; background: #fff; color: var(--ink);
}
.field input:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--ink-mute); margin: 0 0 14px; }
.form-status { font-size: .9rem; margin-top: 10px; min-height: 1.4em; }
.form-status.is-error { color: #b91c1c; }
.form-status.is-ok { color: var(--ok); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #cbd5e1; padding: 40px 0 30px; font-size: .9rem; }
.site-footer a { color: #cbd5e1; }
.site-footer__inner { display: grid; gap: 10px; }
.site-footer strong { color: #fff; }

/* ---------- 追従CTA（モバイル） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 10px var(--gap);
  display: flex; gap: 10px; justify-content: center;
}
.sticky-cta .btn { flex: 1 1 auto; max-width: 260px; }
@media (min-width: 900px) { .sticky-cta { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 74px; } }

/* ---------- print（商談で置いてくる資料になる） ---------- */
@media print {
  .site-header, .sticky-cta, .faq, .hero__cta, .form-card, .btn { display: none !important; }
  body { padding: 0; font-size: 10.5pt; line-height: 1.6; color: #000; }
  .section { padding: 10pt 0; break-inside: avoid; }
  .hero { background: #fff; }
  .hero::before { display: none; }
  .card, .problem, .step, .grant-figure, .notice { box-shadow: none; border: 1px solid #bbb; break-inside: avoid; }
  .site-footer { background: #fff; color: #000; border-top: 1px solid #bbb; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #555; }
}
