/* =====================================================================
   お問い合わせ（入力 → 完了の 2 段階。確認の画面は作らない、2026-10-21 決定）の見た目。2 ページで共通（頭に cf-）
   フォームが主役なので、ページの頭は写真を敷かず短くし、すぐにフォームを見せる
   色の役割：紺 = 選んだ状態・必須の印 / オレンジ = 進むボタンだけ / 赤紫 #b0123a = 入力の誤り（オレンジと分ける）
   ===================================================================== */
.cf-head{padding:clamp(100px,8.6vw,124px) 0 clamp(32px,3.4vw,48px)}
.cf-head .crumb{margin-bottom:24px}
/* 見出し → 説明 → 3 段階の印。3 ページとも同じ位置（左寄せ）に置く */
.cf-head-grid{display:flex;flex-direction:column;align-items:flex-start;gap:28px}
.cf-note{margin:6px 0 0;color:#5c667a;font-size:14px;line-height:1.7}

/* 3 段階の印。いまの段階は紺、済んだ段階は紺の線、まだの段階は灰色 */
.cf-steps{display:flex;margin:0;padding:0;list-style:none;counter-reset:st}
.cf-steps li{display:flex;align-items:center;gap:10px;color:#8a93a5;font-size:14px;font-weight:700}
/* 番号は数えて振る（確認の段階を外しても 1・2 になるように） */
.cf-steps li[hidden]{display:none}
.cf-steps li:not([hidden]){counter-increment:st}
.cf-steps .n::before{content:counter(st)}
.cf-steps li+li::before{content:"";width:clamp(24px,3vw,48px);height:1px;margin:0 12px;background:#c9d3e3}
.cf-steps .n{display:grid;place-items:center;width:32px;height:32px;border:1px solid #c9d3e3;border-radius:50%;background:#fff;font:700 13px/1 'DM Sans',sans-serif}
.cf-steps .done{color:#0b2560}
.cf-steps .done .n{border-color:#0b2560}
.cf-steps [aria-current]{color:#0b2560}
.cf-steps [aria-current] .n{border-color:#0b2560;background:#0b2560;color:#fff}

/* 本体：左にフォーム、右に電話・LINE・無料の案内（下ろしても付いてくる） */
.cf-body{padding:0 0 clamp(72px,7.5vw,112px)}
.cf-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:40px clamp(32px,4vw,56px);align-items:start}
.cf-panel{background:#fff;border-radius:2px;padding:clamp(28px,4vw,56px)}
.cf-aside{position:sticky;top:100px;display:grid;gap:16px}
.cf-card{background:#fff;border-radius:2px;padding:24px 26px}
.cf-card h2{margin:0 0 12px;color:#c23f1f;font:600 12px/1 'DM Sans',sans-serif;letter-spacing:.16em}
.cf-tel{display:block;color:#0b2560;font:700 28px/1.2 'DM Sans',sans-serif;letter-spacing:.01em}
.cf-card p{margin:8px 0 0;color:#5c667a;font-size:13.5px;line-height:1.8}
.cf-line{display:flex;align-items:center;justify-content:space-between;gap:12px;height:52px;padding:0 20px;border:1px solid #0b2560;border-radius:3px;color:#0b2560;font-size:14.5px;font-weight:700;transition:background .2s,color .2s}
.cf-line:hover{background:#0b2560;color:#fff}
.cf-line .ar{font-family:'DM Sans'}
.cf-free{background:#eef3fa}
.cf-free p{margin:0;color:#0b2560;font-size:14.5px;line-height:1.9}

@media (max-width:1079px){
  .cf-layout{grid-template-columns:1fr}
  .cf-aside{position:static;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}
}
@media (max-width:699px){
  .cf-head{padding:80px 0 20px}
  .cf-head-grid{gap:20px}
  .cf-steps li{font-size:13px}
  .cf-panel{margin:0 calc(-1 * clamp(20px,4vw,48px));padding:28px 20px 32px}
  .cf-card{padding:22px 20px}
}
