/* 一括査定.jp /scout/ 「ご利用の流れ」を画像から HTML の文字に組み直したもの（2026-10-20 試作 a3・c3）
 * 置き換えたもの：
 *   スマホ sp.html・sp_c.html … section#steps の中の画像 img/v6/3step.png・3step_1〜3.png・blue_arrow.png
 *   PC index.html・index_c.html … section.content07 の中の画像 img/pc/catch12.png・mida06.png と、
 *                                 #bk_step01〜03（/css/pc_style.css の背景画像 img/pc/step01〜03.png）
 * 申込の仕組み（form・select・hidden・onclick・計測タグ・固定バー）には触らない。見た目だけ。
 * A は帯とボタン（assets/a2/a2.css）の深めの青、C は C のヒーローの墨紺・青に合わせる（.flow--c で色だけ変える）。
 */

/* ---------- 色（A 用。C は .flow--c で上書き） ---------- */
.flow{
  --fl-ink:#1f2937; --fl-sub:#4b5563; --fl-mute:#6b7280;
  --fl-acc:#1438c8; --fl-num:#1f4fdc; --fl-tint:#edf2fe; --fl-tint-line:#d5e0fb;
  --fl-line:#e3e7ee; --fl-card:#fff; --fl-bg:#f4f6fa;
}
.flow.flow--c{
  --fl-ink:#14213D; --fl-sub:#4A5264; --fl-mute:#5D6577;
  --fl-acc:#1D4FB8; --fl-num:#1D4FB8; --fl-tint:#EDF2FA; --fl-tint-line:#D3DEF0;
  --fl-line:#D6DEE8; --fl-card:#fff; --fl-bg:#F4F7FA;
}

/* ---------- 置き場所（スマホの section#steps の水色の地を、落ち着いた地に） ---------- */
#steps.flow-sec{background:#f4f6fa;padding:0;margin:0}
#steps.flow-sec.flow-sec--c{background:transparent}   /* C はページの地（#EEF2F7）のまま続ける */
.content07.flow-sec{padding:56px 0 48px}

/* ---------- 本体 ---------- */
#flow{
  box-sizing:border-box;max-width:560px;margin:0 auto;padding:32px 16px 30px;
  color:var(--fl-ink);text-align:left;
  font-family:"Hiragino Kaku Gothic ProN","Hiragino Sans",Meiryo,"Yu Gothic",sans-serif;
  font-size:15px;line-height:1.7;letter-spacing:.02em;
  -webkit-text-size-adjust:100%;
  word-break:auto-phrase;line-break:strict;
}
#flow *,#flow *::before,#flow *::after{box-sizing:border-box}

#flow .flow__eyebrow{
  margin:0 0 4px;text-align:center;
  color:var(--fl-acc);font-size:13px;font-weight:700;line-height:1.4;letter-spacing:.14em;
}
#flow .flow__h{
  margin:0 0 22px;padding:0;border:0;text-align:center;
  color:var(--fl-ink);font-family:inherit;font-size:24px;font-weight:700;line-height:1.35;letter-spacing:.06em;
}
#flow .flow__h::after{
  content:"";display:block;width:36px;height:3px;margin:12px auto 0;border-radius:2px;background:var(--fl-num);
}

#flow .flow__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:30px}
#flow .flow__item{
  position:relative;margin:0;padding:18px 18px 18px;
  background:var(--fl-card);border:1px solid var(--fl-line);border-radius:12px;
  box-shadow:0 1px 2px rgba(20,33,61,.05),0 4px 14px rgba(20,33,61,.05);
}
/* カードとカードの間の「↓」（細い線の山形） */
#flow .flow__item + .flow__item::before{
  content:"";position:absolute;left:50%;top:-21px;width:12px;height:12px;margin-left:-6px;
  border-right:2px solid var(--fl-num);border-bottom:2px solid var(--fl-num);
  transform:rotate(45deg);opacity:.55;
}

#flow .flow__head{display:flex;align-items:center;gap:12px;margin:0 0 10px}
#flow .flow__num{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;
  width:34px;height:34px;border-radius:50%;
  background:var(--fl-num);color:#fff;
  font-family:Arial,"Helvetica Neue",sans-serif;font-size:17px;font-weight:700;line-height:1;letter-spacing:0;
}
#flow .flow__ttl{flex:1 1 auto;min-width:0}
#flow .flow__step{
  display:block;margin:0 0 1px;color:var(--fl-acc);
  font-family:Arial,"Helvetica Neue",sans-serif;font-size:12px;font-weight:700;line-height:1.2;letter-spacing:.12em;
}
#flow .flow__title{
  margin:0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;
  color:var(--fl-ink);font-family:inherit;font-size:18px;font-weight:700;line-height:1.4;letter-spacing:.03em;
}
#flow .flow__icon{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;order:3;
  width:46px;height:46px;border-radius:12px;background:var(--fl-tint);color:var(--fl-acc);
}
#flow .flow__icon svg{display:block;width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

#flow .flow__text{margin:0;color:var(--fl-sub);font-size:15px;line-height:1.75}
#flow .flow__point{
  display:flex;align-items:center;gap:7px;width:fit-content;max-width:100%;margin:12px 0 0;padding:7px 12px 7px 10px;
  background:var(--fl-tint);border:1px solid var(--fl-tint-line);border-radius:8px;
  color:var(--fl-acc);font-size:15px;font-weight:700;line-height:1.45;letter-spacing:.03em;
}
#flow .flow__point svg{display:block;width:16px;height:16px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
#flow .flow__note{margin:8px 0 0;color:var(--fl-mute);font-size:12px;line-height:1.65;letter-spacing:0}
#flow .flow__nw{white-space:nowrap}

/* スマホの狭い幅（360 前後） */
@media (max-width:374px){
  #flow{padding-left:12px;padding-right:12px}
  #flow .flow__item{padding:16px 14px}
  #flow .flow__title{font-size:17px}
  #flow .flow__head{gap:10px}
}
/* タブレットで sp.html を見たとき：横に伸ばしすぎない */
@media (min-width:600px){
  #flow{padding-top:40px;padding-bottom:38px}
  #flow .flow__h{font-size:26px}
}

/* ---------- PC（index.html・index_c.html）：3 つを横に並べる ---------- */
#flow.flow--pc{max-width:950px;padding:0}
#flow.flow--pc .flow__eyebrow{font-size:14px}
#flow.flow--pc .flow__h{font-size:30px;margin-bottom:32px}
#flow.flow--pc .flow__list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px;align-items:stretch}
#flow.flow--pc .flow__item{padding:22px 22px 22px}
#flow.flow--pc .flow__item + .flow__item::before{
  left:-27px;top:50%;margin:-7px 0 0;
  border-right:2px solid var(--fl-num);border-bottom:0;border-top:2px solid var(--fl-num);
  transform:rotate(45deg);
}
#flow.flow--pc .flow__head{flex-wrap:wrap;align-items:center;gap:12px;margin-bottom:12px}
#flow.flow--pc .flow__icon{order:0;flex-basis:100%;width:52px;height:52px;max-width:52px;margin:0 0 6px}
#flow.flow--pc .flow__icon svg{width:28px;height:28px}
#flow.flow--pc .flow__title{font-size:19px}
#flow.flow--pc .flow__text{font-size:15px}
#flow.flow--pc .flow__point{font-size:15px}
