/* =========================================================================
   AI開発の内製化支援LP — lp.css（共通のステッカー調）の上に重ねる
   ストーリー：夜遅くまで事務作業に追われている社長が、お手伝いロボに仕事を任せ、
   読み進めるほど夜が明けて、最後はコーヒー片手にくつろいでいる。
   色はティール（ボタン・強調）と朝日の黄色。
   ========================================================================= */
body.lp-ai {
  --coral: #1f9886;
  --coral-d: #157a6b;
  --line-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8C40 2 70 11 104 6s70-4 94 0' fill='none' stroke='%23ffc93c' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E");
}
.lp-ai ::selection { background: #ffe08a; }

/* ---------- 1. HERO（夜・まだ終わらない） ---------- */
.ai-hero { position: relative; overflow: hidden; padding: 40px 0 70px; background: linear-gradient(180deg, #232a4a 0%, #3a3f6b 65%, #5a5683 100%); color: #fff8ee; border-bottom: 3px solid var(--ink); }
.ai-hero .label { background: #fff8ee; color: var(--ink); }
.ai-hero .hero__title { color: #fff8ee; font-size: clamp(26px, 8.2vw, 40px); }
.ai-hero .label { white-space: normal; line-height: 1.5; }
.ai-hero .hero__title .hl { color: #ffd25a; }
.ai-hero .hero__sub { color: #d9d6ea; }
.ai-hero .hero__badges li { background: #fff8ee; color: var(--ink); }
.ai-hero .hero__badges li:first-child { background: #ffd25a; }
.ai-hero .cta__note { color: #bdb9d6; }
.ai-hero .btn { box-shadow: 0 5px 0 #11142a; border-color: #11142a; }
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff8ee; opacity: .8; animation: twinkle 2.4s ease-in-out infinite; }
.moon { position: absolute; top: 34px; right: 8%; width: 70px; height: 70px; border-radius: 50%; background: #ffe9a8; border: 3px solid var(--ink); box-shadow: inset -14px -6px 0 #f5d27a; }
.moon::after { content: ''; position: absolute; width: 12px; height: 12px; left: 16px; top: 18px; border-radius: 50%; background: #f5d27a; }

.desk-scene { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1.05; margin: 0 auto; }
.desk-scene__chara { position: absolute; left: 24%; right: 24%; bottom: 12%; }
.desk-scene__desk { position: absolute; left: 4%; right: 4%; bottom: 6%; height: 16%; background: #b9825a; border: 3px solid var(--ink); border-radius: 10px; box-shadow: 0 6px 0 var(--ink); }
.desk-scene__desk::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 22%; background: #d39b6e; border-bottom: 3px solid var(--ink); border-radius: 7px 7px 0 0; }
.pile { position: absolute; bottom: 20%; display: grid; gap: 0; }
.pile span { display: block; width: 62px; height: 12px; margin-top: -3px; background: #fff; border: 2.5px solid var(--ink); border-radius: 3px; }
.pile span:nth-child(odd) { transform: translateX(4px) rotate(-3deg); }
.pile span:nth-child(3n) { transform: translateX(-3px) rotate(4deg); }
.pile--l { left: 6%; }
.pile--r { right: 6%; }
.lamp { position: absolute; right: 14%; bottom: 36%; width: 12px; height: 70px; background: #ffd25a; border: 2.5px solid var(--ink); border-radius: 6px; transform: rotate(14deg); transform-origin: bottom; }
.lamp::before { content: ''; position: absolute; top: -18px; left: -24px; width: 56px; height: 30px; background: #ffd25a; border: 2.5px solid var(--ink); border-radius: 30px 30px 6px 6px; transform: rotate(-30deg); }
.desk-scene .bubble { position: absolute; color: var(--ink); font-size: 15px; animation: wobble 3s ease-in-out infinite; }
.desk-scene .b1 { top: 2%; left: 4%; --r: -4deg; }
.desk-scene .b2 { top: 9%; right: -4%; --r: 3deg; animation-delay: -1s; }
.desk-scene .b3 { top: 60%; left: -4%; z-index: 2; --r: -2deg; animation-delay: -2s; background: #ffe0e0; }
.desk-scene .clock { bottom: auto; top: 30%; right: 0; left: auto; }
.desk-scene .clock::before { transform: rotate(330deg); }
.desk-scene .clock::after { transform: rotate(180deg); }

/* ---------- 2. 自社の実績（夜明け） ---------- */
.sec--dawn { background: linear-gradient(180deg, #e9e2f2 0%, #fbe7e1 100%); }
.proof { display: grid; gap: 22px; margin-top: 30px; align-items: start; }
.biz { display: grid; gap: 10px; }
.biz li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 2.5px solid var(--ink); border-radius: 16px; font-size: 16px; font-weight: 700; line-height: 1.5; }
.biz li::before { content: '✓'; flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border: 2.5px solid var(--ink); border-radius: 50%; background: #9adbc0; font-size: 14px; font-weight: 900; }
.biz small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.ai-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ai-kpi { padding: 18px 6px; text-align: center; }
.ai-kpi__v { font-size: clamp(26px, 7.4vw, 46px); font-weight: 900; line-height: 1.15; white-space: nowrap; color: var(--coral); }
.ai-kpi__v small { font-size: .4em; color: var(--ink); margin: 0 1px; }
.ai-kpi__l { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--ink-soft); line-height: 1.5; }
.ai-statement { margin-top: 34px; padding: 22px 20px; border: 3px solid var(--ink); border-radius: 22px; background: var(--ink); color: #fff8ee; box-shadow: 6px 6px 0 #ffd25a; font-size: clamp(19px, 5vw, 26px); font-weight: 900; line-height: 1.7; text-align: center; }
.ai-statement em { font-style: normal; color: #ffd25a; }
.proof__chara { position: relative; width: 150px; margin: 0 auto; }

/* ---------- 3. 自動化していること（朝） ---------- */
.sec--morning { background: #fff6dc; }
.helpers { display: grid; gap: 18px; margin-top: 34px; }
.helper { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 18px 18px 18px 10px; }
.helper [data-robot] { width: 96px; }
.helper [data-robot] .robot__body { animation: floaty 2.8s ease-in-out infinite; }
.helper:nth-child(even) [data-robot] .robot__body { animation-delay: -1.2s; }
.helper__title { font-size: 17px; font-weight: 900; line-height: 1.55; }
.helper__ba { display: grid; gap: 4px; margin-top: 10px; font-size: 13px; line-height: 1.6; }
.helper__ba p { display: flex; gap: 8px; align-items: baseline; }
.helper__ba span { flex-shrink: 0; padding: 0 8px; border-radius: 6px; font-size: 11px; font-weight: 900; }
.helper__ba .is-before { color: var(--ink-soft); }
.helper__ba .is-before span { background: #eee8df; }
.helper__ba .is-after { font-weight: 700; }
.helper__ba .is-after span { background: var(--coral); color: #fff; }

/* ---------- 4. 動画編集（青空） ---------- */
.sec--sky { background: #e6f4fb; }
.ai-video { margin-top: 30px; }
.ai-video__frame { position: relative; border: 3px solid var(--ink); border-radius: 22px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: #000; aspect-ratio: 16 / 9; }
.ai-video__frame video { width: 100%; height: 100%; object-fit: cover; }
.ai-video__cap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-soft); }
.ai-video__cap b { padding: 0 10px; border: 2px solid var(--ink); border-radius: 999px; background: #ffd25a; color: var(--ink); font-size: 12px; }
.ai-video__body { display: grid; gap: 22px; margin-top: 30px; align-items: center; }
.ai-cost { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; }
.ai-cost__box { padding: 16px 8px; text-align: center; }
.ai-cost__box--before { background: #f4f1ec; box-shadow: 5px 5px 0 #a59a92; border-color: #8b7f77; color: var(--ink-soft); }
.ai-cost__l { font-size: 12px; font-weight: 700; line-height: 1.5; }
.ai-cost__v { margin-top: 4px; font-size: clamp(16px, 4.4vw, 22px); font-weight: 900; line-height: 1.3; white-space: nowrap; }
.ai-cost__v small { font-size: 11px; margin-left: 1px; }
.ai-cost__box--after .ai-cost__v { font-size: clamp(36px, 10vw, 54px); color: var(--coral); }
.ai-cost__arrow { font-size: 26px; font-weight: 900; color: var(--coral); }
.ai-ticks { display: grid; gap: 10px; }
.ai-ticks li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; font-weight: 700; line-height: 1.6; }
.ai-ticks li::before { content: '✓'; flex-shrink: 0; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--ink); border-radius: 50%; background: #ffd25a; font-size: 12px; font-weight: 900; }
.video__chara { position: relative; width: 140px; margin: 0 auto; }

/* ---------- 5. 顧客登録・議事録（ミント） ---------- */
.sec--mint { background: #e8f6ef; }
.relay { display: grid; gap: 12px; margin-top: 34px; }
.relay__step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 12px 16px 12px 12px; }
.relay__step:not(:last-child)::after { content: '↓'; position: absolute; left: 34px; bottom: -22px; z-index: 1; font-size: 18px; font-weight: 900; color: var(--ink); }
.relay__ico { display: grid; place-items: center; width: 56px; height: 56px; border: 2.5px solid var(--ink); border-radius: 16px; background: #fff6dc; }
.relay__ico svg { width: 40px; height: 40px; overflow: visible; }
.relay__who { display: inline-block; padding: 0 8px; border-radius: 6px; background: var(--coral); color: #fff; font-size: 11px; font-weight: 900; }
.relay__step:first-child .relay__who { background: #ffd25a; color: var(--ink); }
.relay__t { display: block; margin-top: 2px; font-size: 17px; font-weight: 900; line-height: 1.5; }
.relay__side { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 12px 18px; border: 2.5px dashed var(--ink); border-radius: 16px; background: #fff; font-weight: 700; }
.relay__side [data-robot] { width: 64px; flex-shrink: 0; }
.ai-relief { display: grid; gap: 14px; justify-items: center; margin-top: 34px; text-align: center; }
.ai-relief__chara { width: 170px; position: relative; }
.ai-relief p { font-size: clamp(20px, 5.4vw, 28px); font-weight: 900; line-height: 1.7; }
.ai-relief p em { font-style: normal; background: linear-gradient(transparent 58%, #ffd25a 58%); }

/* ---------- 6. 違い ---------- */
.diffs { display: grid; gap: 18px; margin-top: 34px; }
.diff { padding: 26px 22px; }
.diff__no { font-family: var(--f-hand); font-size: 40px; line-height: 1; color: var(--coral); }
.diff__title { margin-top: 10px; font-size: 20px; font-weight: 900; line-height: 1.55; }
.diff__text { margin-top: 8px; font-size: 15px; color: var(--ink-soft); }

/* ---------- 7. 支援の中身 ---------- */
.sec--paper2 { background: #fdf3e4; }
.journey { display: grid; gap: 14px; margin-top: 34px; }
.stage { padding: 22px; }
.stage__when { display: inline-block; padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: #9adbc0; font-size: 13px; font-weight: 900; }
.stage:nth-child(2) .stage__when { background: #b9def5; }
.stage:nth-child(3) .stage__when { background: #ffd25a; }
.stage__title { margin-top: 10px; font-size: 19px; font-weight: 900; line-height: 1.5; }
.stage__text { margin-top: 6px; font-size: 15px; color: var(--ink-soft); }
.support-meta { display: grid; gap: 12px; margin-top: 18px; }
.support-meta__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; font-size: 15px; font-weight: 700; }
.support-meta__item b { font-size: 24px; font-weight: 900; color: var(--coral); white-space: nowrap; }
.support-meta__chips { display: flex; gap: 6px; }
.support-meta__chips span { padding: 0 12px; border: 2px solid var(--ink); border-radius: 999px; background: #fff6dc; font-size: 13px; }

/* ---------- 9. 料金 ---------- */
.sec--noon { background: linear-gradient(180deg, #fff6dc 0%, #fff8ee 100%); }
.ai-plans { display: grid; gap: 22px; margin-top: 40px; }
.ai-plan { display: flex; flex-direction: column; padding: 24px 20px 20px; }
.ai-plan__top { display: flex; align-items: center; gap: 12px; }
.ai-plan__top [data-robot] { width: 64px; flex-shrink: 0; }
.ai-plan__name { font-size: 18px; font-weight: 900; line-height: 1.5; }
.ai-plan__name small { display: block; font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.ai-plan__price { margin-top: auto; padding: 14px; border-radius: 14px; background: #fff6dc; }
.ai-plan__top + .ai-plan__price { margin-top: 16px; }
.ai-plan__reg { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.ai-plan__reg s { text-decoration-thickness: 2px; text-decoration-color: #e8603f; }
.ai-plan__now { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.ai-plan__now-l { padding: 1px 10px; border: 2px solid var(--ink); border-radius: 999px; background: #e8603f; color: #fff; font-size: 12px; font-weight: 900; }
.ai-plan__now-v { font-size: 34px; font-weight: 900; line-height: 1.3; }
.ai-plan__now-v small { font-size: 14px; margin-left: 2px; }
.ai-plan__inc { margin-top: 12px; font-size: 13px; font-weight: 900; color: var(--coral-d); }

/* ---------- お問い合わせ（くつろぎ） ---------- */
.lp-ai .sec--contact { background: linear-gradient(180deg, #fff1d6 0%, #ffd9b0 100%); }

@media (max-width: 759px) {
  .desk-scene .b3 { top: 70%; left: -2%; }
  .proof__chara .bubble, .video__chara .bubble, .ai-relief__chara .bubble { position: relative; top: auto; left: 50%; right: auto; transform: translateX(-50%); margin-bottom: 12px; }
  .proof__chara .bubble::after, .video__chara .bubble::after, .ai-relief__chara .bubble::after { left: 50%; right: auto; margin-left: -7px; }
}

@media (min-width: 760px) {
  .ai-hero { padding: 64px 0 90px; }
  .ai-hero .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; }
  .ai-hero .hero__title { font-size: clamp(32px, 4.3vw, 56px); }
  .desk-scene .bubble { font-size: 17px; }
  .proof { grid-template-columns: 1.1fr .9fr; gap: 30px; }
  .ai-kpis { grid-template-columns: 1fr; }
  .ai-kpi { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; text-align: left; }
  .ai-kpi__l { order: -1; margin-top: 0; font-size: 14px; }
  .ai-kpi__l br { display: none; }
  .helpers { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .helper { grid-template-columns: 1fr; justify-items: start; padding: 24px; }
  .helper [data-robot] { width: 110px; margin: -6px 0 0 -8px; }
  .ai-video__body { grid-template-columns: 1.2fr 1fr; gap: 36px; }
  .relay { grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
  .relay__step { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 18px 10px; }
  .relay__step:not(:last-child)::after { content: '→'; left: auto; right: -17px; bottom: auto; top: 50%; transform: translateY(-50%); }
  .relay__ico { width: 64px; height: 64px; }
  .diffs { grid-template-columns: repeat(3, 1fr); }
  .journey { grid-template-columns: repeat(3, 1fr); }
  .support-meta { grid-template-columns: 1fr 1fr; }
  .ai-plans { grid-template-columns: repeat(2, 1fr); }
  .proof__chara .bubble { position: absolute; top: -10px; right: 130px; }
  .video__chara .bubble { position: absolute; top: -10px; right: 120px; }
  .ai-relief__chara .bubble { position: absolute; top: -6px; left: 150px; }
}
@media (min-width: 1000px) {
  .helpers { grid-template-columns: repeat(3, 1fr); }
  .ai-plans { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
