/* ============================================================
   AIソリューション受託開発ページ 専用CSS
   assets/css/solution.css
   common.css / services.css の後に読み込む
============================================================ */

.sol-hero .page-subtitle strong{color:#7B68EE;font-weight:700}
.sol-note{margin-top:1.4rem;font-size:.85rem;color:var(--text-light);text-align:center}

/* ── アプリモックの横流れマーキー ── */
.sol-marquee{
  position:relative;width:100vw;left:50%;margin-left:-50vw;
  padding:2.5rem 0;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.sol-track{display:flex;gap:1.6rem;width:max-content;animation:solScroll 42s linear infinite}
.sol-marquee:hover .sol-track{animation-play-state:paused}
@keyframes solScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ── デバイス共通 ── */
.sol-dev{flex-shrink:0;background:#11151C;box-shadow:0 24px 60px rgba(30,42,58,.22);position:relative}
.sol-screen{background:#0E1622;overflow:hidden;position:relative}
.sol-scr-head{display:flex;align-items:center;gap:.4rem;padding:.6rem .8rem;background:rgba(255,255,255,.04);border-bottom:1px solid rgba(255,255,255,.06)}
.sol-scr-title{font-size:.62rem;color:rgba(255,255,255,.6);font-weight:700;font-family:var(--font-en)}
.sol-scr-body{padding:.8rem}

/* iPhone */
.sol-dev.is-phone{width:188px;border:9px solid #11151C;border-radius:34px}
.sol-dev.is-phone .sol-notch{position:absolute;top:9px;left:50%;transform:translateX(-50%);width:74px;height:18px;background:#11151C;border-radius:0 0 12px 12px;z-index:2}
.sol-dev.is-phone .sol-screen{border-radius:24px;min-height:360px}

/* PC / ブラウザ */
.sol-dev.is-pc{width:320px;border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:hidden}
.sol-dev.is-pc .sol-screen{min-height:210px}
.sol-dot{width:9px;height:9px;border-radius:50%}
.sol-dot.r{background:#FF6159}.sol-dot.y{background:#FFBD2E}.sol-dot.g{background:#28C840}
.sol-url{flex:1;margin-left:.5rem;height:16px;border-radius:6px;background:rgba(255,255,255,.07)}

/* 画面パーツ（汎用） */
.sol-ic{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:.95rem;color:#fff}
.sol-bub{font-size:.66rem;line-height:1.45;color:#E9EEF5;background:#202B3A;border-radius:12px 12px 12px 4px;padding:.45rem .6rem;max-width:80%;margin-bottom:.45rem}
.sol-bub.me{background:linear-gradient(135deg,#7B68EE,#4A90D9);color:#fff;border-radius:12px 12px 4px 12px;margin-left:auto}
.sol-line{height:8px;border-radius:5px;background:rgba(255,255,255,.1);margin-bottom:.5rem}
.sol-line.s{width:60%}.sol-line.m{width:80%}
.sol-kpis{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;margin-bottom:.6rem}
.sol-kpi{background:rgba(255,255,255,.05);border-radius:8px;padding:.5rem .6rem}
.sol-kpi b{display:block;font-family:var(--font-en);font-size:1rem;font-weight:800;color:#fff;line-height:1}
.sol-kpi span{font-size:.56rem;color:rgba(255,255,255,.45)}
.sol-bars{display:flex;align-items:flex-end;gap:.35rem;height:64px;padding-top:.4rem}
.sol-bars i{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(180deg,#5DCAA5,#4A90D9);animation:solBar 2.4s ease-in-out infinite}
.sol-bars i:nth-child(2){animation-delay:.2s}.sol-bars i:nth-child(3){animation-delay:.4s}
.sol-bars i:nth-child(4){animation-delay:.6s}.sol-bars i:nth-child(5){animation-delay:.8s}
@keyframes solBar{0%,100%{opacity:.55;transform:scaleY(.7);transform-origin:bottom}50%{opacity:1;transform:scaleY(1)}}
.sol-type{display:inline-block;width:5px;height:.7rem;background:#5DCAA5;margin-left:2px;vertical-align:-1px;animation:solBlink 1s steps(2) infinite}
@keyframes solBlink{50%{opacity:0}}
.sol-row{display:flex;align-items:center;gap:.5rem;margin-bottom:.5rem}
.sol-pill{font-size:.58rem;color:#062019;background:#5DCAA5;border-radius:6px;padding:.15rem .4rem;font-weight:700}
.sol-check{color:#3DDC97;font-weight:800}

/* ── プロセス・タイムライン ── */
.sol-flow{position:relative;display:grid;grid-template-columns:repeat(6,1fr);gap:0;margin-top:2.5rem}
.sol-flow::before{content:'';position:absolute;top:31px;left:8%;right:8%;height:3px;border-radius:3px;
  background:linear-gradient(90deg,#7B68EE,#4A90D9,var(--teal),var(--gold))}
.sol-flow::after{content:'';position:absolute;top:26px;left:8%;width:14px;height:14px;border-radius:50%;
  background:#fff;box-shadow:0 0 0 4px rgba(123,104,238,.4);animation:solDot 7s linear infinite}
@keyframes solDot{0%{left:8%}100%{left:calc(92% - 14px)}}
.sol-step{position:relative;z-index:1;text-align:center;padding:0 .5rem}
.sol-step-no{width:64px;height:64px;border-radius:50%;margin:0 auto 1.1rem;display:flex;align-items:center;justify-content:center;
  font-family:var(--font-en);font-size:1.5rem;color:#fff;box-shadow:0 8px 22px rgba(74,144,217,.25);background:#4A90D9}
.sol-step:nth-child(1) .sol-step-no{background:linear-gradient(135deg,#7B68EE,#6A8BE8)}
.sol-step:nth-child(2) .sol-step-no{background:linear-gradient(135deg,#6A8BE8,var(--blue))}
.sol-step:nth-child(3) .sol-step-no{background:linear-gradient(135deg,var(--blue),var(--teal))}
.sol-step:nth-child(4) .sol-step-no{background:linear-gradient(135deg,var(--teal),#4CC0A4)}
.sol-step:nth-child(5) .sol-step-no{background:linear-gradient(135deg,#4CC0A4,var(--gold))}
.sol-step:nth-child(6) .sol-step-no{background:linear-gradient(135deg,var(--gold),#F0A93C)}
.sol-step-stage{font-family:var(--font-en);font-size:.66rem;font-weight:700;letter-spacing:.06em;color:var(--text-light);margin-bottom:.3rem}
.sol-step h4{font-size:1rem;font-weight:800;margin-bottom:.5rem}
.sol-step p{font-size:.78rem;color:var(--text-mid);line-height:1.65}

/* ── アイデア帯 ── */
.sol-idea{background:linear-gradient(135deg,#1A2440,#21345A);border-radius:24px;padding:3rem;text-align:center;color:#fff;position:relative;overflow:hidden;margin-top:1rem}
.sol-idea::before{content:'';position:absolute;top:-30%;right:-10%;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(123,104,238,.3),transparent 65%)}
.sol-idea h3{font-size:clamp(1.3rem,2.6vw,2rem);font-weight:900;line-height:1.5;position:relative;z-index:1}
.sol-idea h3 em{font-style:normal;background:linear-gradient(135deg,#A99BFF,var(--teal-light));-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.sol-idea p{color:rgba(255,255,255,.7);max-width:600px;margin:1rem auto 0;position:relative;z-index:1;font-size:.95rem}

@media(max-width:860px){
  .sol-flow{grid-template-columns:repeat(2,1fr);gap:2rem 0}
  .sol-flow::before,.sol-flow::after{display:none}
}
@media(max-width:560px){
  .sol-flow{grid-template-columns:1fr}
}
