/* ==========================
   flow Page Styles
   ========================== */

/* 共通 */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.page-hero {
  background: #0a5eb7;
  color: #fff;
  margin-top: 70px;
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* 導入文 */
.flow-intro {
  margin: 50px auto;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}

/* ステップ */
.flow-steps {
  display: grid;
  gap: 30px;
  margin-bottom: 80px;
}

.flow-step {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  position: relative;
}

.step-num {
  display: inline-block;
  background: #0a5eb7;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 12px;
}

.flow-step h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* CTA */
.flow-cta {
  background: #f0f6ff;
  padding: 60px 20px;
  text-align: center;
}

.flow-cta h2 {
  margin-bottom: 25px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-btn {
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.cta-btn.phone {
  background: #e53935;
  color: #fff;
}

.cta-btn.mail {
  background: #0a5eb7;
  color: #fff;
}

/* スマホ */
@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
  }
}



/* =========================
   利用の流れ 共通
========================= */

.flow {
  padding: 80px 0;
  background: #f7f9fc;
}

.flow .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* タイトル */
.flow h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
}

.flow-lead {
  text-align: center;
  color: #555;
  line-height: 1.8;
  margin-bottom: 60px;
}

/* =========================
   STEP ブロック
========================= */

.flow-step {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);

  /* アニメーション */
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

/* 表示タイミングずらし */
.flow-step:nth-child(2) { animation-delay: 0.1s; }
.flow-step:nth-child(3) { animation-delay: 0.2s; }
.flow-step:nth-child(4) { animation-delay: 0.3s; }
.flow-step:nth-child(5) { animation-delay: 0.4s; }

/* STEP 見出し */
.flow-step h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #0a4fa3;
  position: relative;
  padding-left: 15px;
}

.flow-step h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 70%;
  background: #0a4fa3;
  transform: translateY(-50%);
  border-radius: 2px;
}

/* 本文 */
.flow-step p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 15px;
}

/* リスト */
.flow-step ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.flow-step li {
  margin-bottom: 8px;
  color: #333;
}

/* =========================
   終わり・CTA前
========================= */

.flow-end {
  text-align: center;
  font-size: 18px;
  margin: 60px 0 20px;
  line-height: 1.8;
}

.flow-cta-text {
  text-align: center;
  font-weight: bold;
  color: #0a4fa3;
}

/* =========================
   アニメーション
========================= */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   スマホ対応
========================= */

@media (max-width: 768px) {
  .flow h1 {
    font-size: 26px;
  }

  .flow-step {
    padding: 20px;
  }

  .flow-step h2 {
    font-size: 20px;
  }
}