/* ==============================================
       ご依頼の流れページ専用スタイル
       ============================================== */

/* --- ページヒーロー --- */
.page-hero {
  padding: 8rem 0 4rem;
  background: var(--warm);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(249, 115, 22, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(249, 115, 22, 0.04) 0%,
      transparent 50%
    );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--primary-500);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb span {
  margin: 0 0.5rem;
}

.page-hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: var(--font-size-lg);
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

/* --- メインタイムライン --- */
.flow-main {
  padding: 5rem 0;
  background: #ffffff;
}

.flow-steps-vertical {
  max-width: 900px;
  margin: 3rem auto 0;
  position: relative;
}

/* タイムラインの縦線 */
.flow-steps-vertical::before {
  content: "";
  position: absolute;
  top: 0;
  left: 48px;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--primary-200),
    var(--primary-400),
    var(--primary-200)
  );
  border-radius: 3px;
}

/*  各ステップ */
.flow-step-card {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.flow-step-card:last-child {
  margin-bottom: 0;
}

/* ステップ番号（丸い数字） */
.flow-step-num {
  width: 96px;
  min-width: 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.flow-step-num .number {
  width: 64px;
  height: 64px;
  background: var(--primary-500);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  font-weight: 900;
  box-shadow: 0 4px 15px rgba(153, 27, 27, 0.18);
  border: 4px solid #fff;
}

.flow-step-num .step-label {
  font-size: var(--font-size-xs);
  color: var(--primary-500);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ステップの内容カード */
.flow-step-body {
  flex: 1;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.flow-step-body:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-lg);
  transform: translateX(5px);
}

.flow-step-body .icon-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.flow-step-body .step-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.flow-step-body h3 {
  font-size: var(--font-size-xl);
  font-weight: 800;
  color: var(--navy-900);
}

.flow-step-body p {
  color: var(--gray-600);
  line-height: 2;
  margin-bottom: 1rem;
}

/* ステップ内のポイントリスト */
.step-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.step-points .point {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.75rem;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: 50px;
  font-size: var(--font-size-xs);
  color: var(--primary-700);
  font-weight: 600;
}

/* --- 安心ポイントセクション --- */
.promise-section {
  padding: 5rem 0;
  background: var(--gray-50);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.promise-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.promise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}

.promise-card .promise-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
}

.promise-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.promise-card p {
  font-size: var(--font-size-sm);
  color: var(--gray-500);
  line-height: 1.8;
}

/* --- 準備いただくものセクション --- */
.prepare-section {
  padding: 5rem 0;
  background: #ffffff;
}

.prepare-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.prepare-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.prepare-box.highlight {
  background: var(--warm);
  border-color: var(--primary-200);
}

.prepare-box h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prepare-box ul {
  list-style: none;
}

.prepare-box ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--font-size-sm);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.prepare-box ul li:last-child {
  border-bottom: none;
}

.prepare-box ul li::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--primary-100);
  color: var(--primary-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
  .page-hero {
    padding: 6rem 0 3rem;
  }

  .page-hero h1 {
    font-size: var(--font-size-2xl);
  }

  .flow-steps-vertical::before {
    left: 28px;
  }

  .flow-step-card {
    gap: 1rem;
  }

  .flow-step-num {
    width: 56px;
    min-width: 56px;
  }

  .flow-step-num .number {
    width: 48px;
    height: 48px;
    font-size: var(--font-size-base);
  }

  .flow-step-body {
    padding: 1.5rem;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .prepare-content {
    grid-template-columns: 1fr;
  }
}
