/* =========================================================
   KuukanStudio LP — 骨組み（ワイヤーフレーム）スタイル
   独立 LP のため common.css は読み込まず、自前で完結させる。
   ========================================================= */

:root {
  --ink:        #0e1726;   /* 濃紺（ベース文字・ダーク面） */
  --ink-soft:   #3a4658;
  --muted:      #6b7688;
  --line:       #e3e7ee;
  --bg:         #ffffff;
  --bg-soft:    #f5f7fb;
  --bg-dark:    #0e1726;
  --accent:     #2d6cdf;   /* 共通トークンの accent を踏襲 */
  --accent-2:   #18c2c2;   /* 3DGS らしい補助アクセント（シアン） */
  --accent-weak:#eaf0fb;

  --radius:   14px;
  --radius-sm:8px;
  --maxw:     1120px;
  --maxw-narrow: 760px;

  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
}

* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
h1, h2, h3 { line-height: 1.3; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--maxw-narrow); }

.accent  { color: var(--accent); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  font-weight: 700;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  white-space: nowrap;
}
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 18px rgba(45,108,223,.28);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,108,223,.36); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.brand__name { font-size: 18px; letter-spacing: .02em; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nav a:hover { color: var(--accent); }
.site-header .btn--primary { margin-left: 8px; }

/* ---------- セクション共通 ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { margin-bottom: 48px; }
.section__head--center { text-align: center; max-width: 720px; margin-inline: auto; }
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: .14em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.section__title { font-size: clamp(24px, 4vw, 36px); font-weight: 800; }
.section__lead { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ---------- プレースホルダ枠 ---------- */
.ph {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, #eef1f7 0 12px, #f6f8fc 12px 24px);
  border: 2px dashed #c2ccdd;
  border-radius: var(--radius);
  color: var(--muted);
}
.ph__label { font-size: 13px; padding: 16px; line-height: 1.6; }
.ph--video { aspect-ratio: 4 / 3; }
.ph--demo  { min-height: 460px; }
.ph--wide  { aspect-ratio: 16 / 9; }
.ph--icon  { width: 56px; height: 56px; border-radius: 50%; margin-bottom: 14px; }
.ph--icon .ph__label { font-size: 9px; padding: 4px; }
.ph--note  { min-height: 120px; margin-top: 16px; }

/* ---------- 1. ヒーロー ---------- */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.hero__title { font-size: clamp(30px, 5.2vw, 52px); font-weight: 900; letter-spacing: .005em; }
.hero__sub { margin-top: 22px; font-size: 18px; color: var(--ink-soft); }
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ---------- 2. デモ ---------- */
.section--demo { padding: 96px 0; }
.demo-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.demo-tabs__btn, .case-tabs__btn {
  border: 1.5px solid var(--line); background: #fff;
  padding: 9px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; color: var(--ink-soft); cursor: pointer;
  transition: all .12s ease;
}
.demo-tabs__btn.is-active, .case-tabs__btn.is-active {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.demo-stage { flex-direction: column; gap: 8px; }
.demo-hint {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(14,23,38,.82); color: #fff; font-size: 12px;
  padding: 7px 16px; border-radius: 999px; white-space: nowrap;
}
.demo-foot { text-align: center; margin-top: 22px; color: var(--ink-soft); }

/* ---------- 3. 仕組み ---------- */
.steps {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 22px; text-align: center;
}
.step__num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}
.step__icon { margin-inline: auto; }
.step__title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.step__text { font-size: 14px; color: var(--muted); }
.how-foot { text-align: center; margin-top: 36px; color: var(--ink-soft); }

/* ---------- 4. 活用事例 ---------- */
.case-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; }
.case-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.case-panel.is-active { display: grid; }
.case-panel__client { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 10px; }
.case-panel__title { font-size: clamp(20px, 3vw, 28px); font-weight: 800; margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-soft); }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--accent-2); font-weight: 900;
}

/* ---------- 5. 課題→解決 ---------- */
.compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
.compare__col { border-radius: var(--radius); padding: 32px 28px; }
.compare__col h3 { font-size: 18px; margin-bottom: 18px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; }
.compare__col li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.compare__col li:last-child { border-bottom: 0; }
.compare__col--before { background: #fff; border: 1px solid var(--line); color: var(--muted); }
.compare__col--after  { background: var(--accent-weak); border: 1px solid #cfe0fb; }
.compare__arrow { align-self: center; font-size: 32px; color: var(--accent); font-weight: 900; }

.cost { text-align: center; margin-top: 56px; }
.cost__lead { color: var(--muted); font-size: 15px; }
.cost__figure { font-size: clamp(28px, 5vw, 44px); font-weight: 900; margin: 6px 0; }

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

/* ---------- 7. 最終 CTA ---------- */
.cta-final {
  background: var(--bg-dark);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.cta-final__title { font-size: clamp(24px, 4vw, 38px); font-weight: 900; }
.cta-final__sub { margin-top: 16px; color: #b6c0d2; font-size: 17px; }
.cta-final__buttons { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-final .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-final .btn--ghost:hover { border-color: #fff; color: #fff; }

/* ---------- フッター ---------- */
.site-footer { background: #08101d; color: #9aa6ba; padding: 48px 0 28px; font-size: 14px; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.site-footer .brand__name { color: #fff; font-weight: 800; font-size: 18px; }
.site-footer__by { font-size: 12px; margin-top: 2px; }
.site-footer__nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__nav a:hover, .site-footer__social a:hover { color: #fff; }
.site-footer__social { display: flex; gap: 16px; }
.site-footer__copy { text-align: center; margin-top: 28px; font-size: 12px; color: #5d6a80; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .case-panel.is-active { grid-template-columns: 1fr; gap: 24px; }
  .compare { grid-template-columns: 1fr; }
  .compare__arrow { transform: rotate(90deg); }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .btn--lg { width: 100%; }
  .hero__cta { flex-direction: column; }
}
