/* ===========================================================
   AI社員構築LP専用の追加スタイル（style.css / custom.css の後に読み込む）
   =========================================================== */

/* ---------- 6ステップのタイムライン ---------- */
.flow-steps {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  position: relative;
  z-index: 1;
}
.flow-steps > li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 26px;
  position: relative;
  padding-bottom: 34px;
}
/* 番号列をつなぐ縦線 */
.flow-steps > li::before {
  content: "";
  position: absolute;
  left: 59px;
  top: 64px;
  bottom: -6px;
  width: 2px;
  background: linear-gradient(180deg, #c9d6f8, #e7edfb);
}
.flow-steps > li:last-child::before { display: none; }
.fs-no {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.fs-no b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font: italic 700 22px Roboto, Inter, sans-serif;
  box-shadow: 0 12px 30px #2b46f03d;
}
.fs-no small {
  font: 700 9px Inter, sans-serif;
  letter-spacing: .18em;
  color: var(--blue);
}
.fs-body {
  background: #fff;
  border: 1px solid #e7edfb;
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 14px 40px #16307a0d;
}
.fs-meta { margin-bottom: 10px; }
.fs-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: #e9efff;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.fs-body h3 { font-size: 21px; font-weight: 900; letter-spacing: -.02em; }
.fs-body > p { margin-top: 10px; font-size: 13.5px; line-height: 1.8; color: var(--ink); }
.fs-body ul { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.fs-body li { position: relative; padding-left: 18px; margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.fs-body li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ---------- 3ヶ月ロードマップ ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.roadmap article {
  background: #fff;
  border: 1px solid #e7edfb;
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 14px 40px #16307a0d;
}
.rm-month {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
}
.roadmap h3 { margin-top: 14px; font-size: 18px; font-weight: 900; }
.roadmap p { margin-top: 10px; font-size: 12.5px; line-height: 1.75; color: var(--muted); }

/* ゴールバナー */
.goal-banner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
  align-items: center;
  margin-top: 26px;
  padding: 26px 34px;
  background: #fff;
  border: 2px solid var(--blue);
  border-radius: 22px;
  box-shadow: 0 18px 50px #2b46f01f;
  position: relative;
  z-index: 1;
}
.goal-banner img { width: 100%; height: auto; border-radius: 14px; }
.gb-label { font: italic 700 13px Roboto, Inter, sans-serif; color: var(--blue); letter-spacing: .1em; }
.goal-banner h3 { margin-top: 6px; font-size: 20px; font-weight: 700; line-height: 1.6; }
.goal-banner h3 b { color: var(--blue); font-weight: 900; }
.goal-banner div > p { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* ---------- 実績ミニ統計 ---------- */
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}
.mini-stats > div {
  text-align: center;
  background: #f8faff;
  border: 1px solid #e7edfb;
  border-radius: 18px;
  padding: 30px 20px;
}
.mini-stats small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--blue); }
.mini-stats b { display: block; margin-top: 10px; font-size: 17px; font-weight: 900; color: var(--ink); }
.mini-stats b, .mini-stats b i { font-style: normal; }
.mini-stats b { font-size: 30px; letter-spacing: -.02em; color: var(--blue); }
.mini-stats b i { font-size: 16px; }
.mini-stats span { display: block; margin-top: 8px; font-size: 11.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap details {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid #e7edfb;
  border-radius: 14px;
  padding: 0 26px;
  margin-top: 12px;
  box-shadow: 0 10px 28px #16307a0a;
}
.faq-wrap summary {
  cursor: pointer;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 800;
  list-style: none;
  position: relative;
  padding-right: 34px;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font: 700 22px Inter, sans-serif;
  color: var(--blue);
}
.faq-wrap details[open] summary::after { content: "−"; }
.faq-wrap details p { padding: 0 0 20px; font-size: 13.5px; line-height: 1.8; color: var(--muted); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 900px) {
  .roadmap { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr; }
  .goal-banner { grid-template-columns: 1fr; text-align: center; }
  .goal-banner img { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .flow-steps > li { grid-template-columns: 1fr; gap: 12px; padding-bottom: 26px; }
  .flow-steps > li::before { display: none; }
  .fs-no { flex-direction: row; justify-content: flex-start; gap: 12px; }
  .fs-no b { width: 52px; height: 52px; font-size: 18px; }
  .fs-body { padding: 22px 22px; }
}

/* ---------- ダイブヒーロー（スクロールで世界に入る） ---------- */
.dive { height: 400vh; position: relative; background: #1a1650; }
.dive-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#diveCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #1a1650; }
.dive-shade { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, #0c0a3added 100%); pointer-events: none; }
.dive-title {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; pointer-events: none; padding: 0 24px;
  text-shadow: 0 4px 30px #0c0a3a99;
}
.dive-title .tag { font: 700 13px Inter, sans-serif; letter-spacing: .5em; text-indent: .5em; color: #cfd6ff; }
.dive-title h1 { margin-top: 22px; font-weight: 900; letter-spacing: -.05em; line-height: 1.14; max-width: none; }
.dive-title h1 span { display: block; font-size: clamp(26px, 4vw, 48px); font-weight: 500; }
.dive-title h1 em { display: block; font-style: normal; font-size: clamp(52px, 9vw, 110px); font-weight: 900; }
.dive-hint { margin-top: 34px; font-size: 13px; font-weight: 700; color: #dfe3ff; line-height: 1.9; }
.dive-hint span { display: inline-block; animation: diveBob 1.6s ease-in-out infinite; font-size: 18px; }
@keyframes diveBob { 50% { transform: translateY(7px); opacity: .55; } }
.dive-end {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 0 24px;
  opacity: 0; pointer-events: none;
  text-shadow: 0 4px 26px #0c0a3aa6;
}
.dive-end .dive-lead { margin: 18px 0 24px; max-width: 560px; font-size: 14.5px; line-height: 1.9; color: #f0f2ff; font-weight: 600; }
.dive-end .btn { padding: 19px 42px; font-size: 16px; }
.dive-static { height: 100vh; }
.dive-static .dive-title { justify-content: flex-start; padding-top: 22vh; }
.dive-static .dive-end { justify-content: flex-end; padding-bottom: 10vh; }
@media (prefers-reduced-motion: reduce) {
  .dive-hint span { animation: none; }
}
@media (max-width: 640px) {
  .dive { height: 320vh; }
  .dive-end .btn { width: calc(100% - 20px); justify-content: center; }
}

/* ---------- 構築事例 ---------- */
.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:40px;position:relative;z-index:1}
.case{margin:0;background:#fff;border:1px solid #e7edfb;border-radius:16px;overflow:hidden;box-shadow:0 18px 50px #16307a12}
.case-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:#f0f3fa;border-bottom:1px solid #e7edfb}
.case-bar i{width:10px;height:10px;border-radius:50%}
.case-bar i:nth-child(1){background:#ff8a80}
.case-bar i:nth-child(2){background:#ffd54f}
.case-bar i:nth-child(3){background:#9ccc65}
.case-bar span{margin-left:8px;font-size:11px;font-weight:700;color:#8898b5}
.case img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}
.case figcaption{padding:22px 26px 26px}
.case h3{font-size:18px;font-weight:900}
.case figcaption p{margin-top:8px;font-size:12.5px;line-height:1.75;color:var(--muted)}
.case-tags{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}
.case-tags span{padding:5px 12px;border-radius:999px;background:#e9efff;color:var(--blue);font-size:10.5px;font-weight:800}
@media(max-width:900px){.case-grid{grid-template-columns:1fr}}
