@charset "UTF-8";

/* ご相談の流れ セクション全体 */
.consultation-flow {
  max-width: 800px;
  margin: 60px auto 95px;
  padding: 0 20px;
}

/* セクションタイトル */
.section-title {
  text-align: center;
  font-size: 2rem;
  /* 例: 32px */
  margin-bottom: 50px;
  /* タイトルとリストの間隔 */
  color: #12372a;
  /* 例: 濃い緑 */
}

/* フェードイン初期状態 (JS連携) */
.section-title.fadein {
  opacity: 0;
  transition: opacity 1s ease;
}

.section-title.fadein.is-active {
  opacity: 1;
}

/* ステップリスト全体 */
.flow-list {
  list-style: none;
  /* デフォルトのリストマーカーを削除 */
  padding-left: 0;
  /* デフォルトの左パディングを削除 */
  position: relative;
  /* 矢印の基準線用 */
}

/* 各ステップ li 要素 */
.flow-step {
  position: relative;
  /* 疑似要素(矢印)やステップ番号の基準点 */
  padding-left: 80px;
  /* 左側にステップ番号や線のスペースを確保 */
  margin-bottom: 27px;
  /* ステップ間の余白 */
  /* フェードイン初期状態 (JS連携) */
  opacity: 0;
  transition: opacity 0.8s ease;
  /* フェードインの時間 */
  /* transition-delay はJSで style属性として付与される想定 */
}

/* JSで is-active クラスが付与されたら表示 */
.flow-step.is-active {
  opacity: 1;
}

/* 最後のステップの下マージンを削除 */
.flow-list li:last-child {
  margin-bottom: 0;
}

/* ご相談の流れ - ステップ間の矢印 */
ol.flow-list li.flow-step:not(:last-child)::after {
  content: '';
  display: block;
  width: 60px;
  height: 60px;
  margin-top: 30px;
  margin-bottom: 30px;
  margin-left: auto;
  margin-right: auto;
  background-image: url('https://aoba-support-next-stage.jp/wp-content/uploads/2025/04/down-arrow.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.7;
}

/* li要素自体の下の余白を調整（矢印のmarginで制御するため） */
li.flow-step {
  padding-bottom: 0; /* padding-bottom が設定されていれば 0 にリセット */
  /* 必要であれば margin-bottom も 0 に */
  /* margin-bottom: 0; */
}


/* ステップ内容のコンテナ */
.step-content {
  padding: 20px;
  background-color: var(--white);
  /* 背景色 */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  /* 影をつける（任意） */
}

/* ステップ番号 */
.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-color: #12372a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1;
  box-shadow: 2px 1px 1px rgba(0, 0, 0, 0.25);
}

/* ステップタイトル */
.flow-step-title {
  font-size: 1.5rem;
  color: #12372a;
  margin-top: 0;
  margin-bottom: 19px;
  padding-top: 10px;
  line-height: 1.4;
}

/* ステップ説明文 */
.flow-step-description {
  font-size: 1rem;
  /* 16px */
  line-height: 1.7;
  color: #555;
  /* 例: 少し濃いめのグレー */
  margin-top: 0;
  margin-bottom: 0;
}

img.consultation-flow-down-arrow {
  display: block;
  width: 100px;
  margin: 0 auto 27px;
}

.consultation-1-link {
  line-height: 1;
}

.consultation-1-link a {
  color: var(--orange);
  border-bottom: 1px solid;
}

.consultation-text-space {
  margin-top: 12px;
}

.only-mp {
  display: none;
}

@media screen and (max-width: 768px) {
  .consultation-flow {
    padding: 0 15px;
}

  .flow-step {
    padding-left: 62px;
}

  .only-mp-consultation-text-space {
    margin-top: 12px;
  }

  span.only-mp-left-space {
    margin-left: 30px;
}

.consultation-1-link {
  font-size: 0.9rem;
  line-height: 1.6;
}

  .only-pc {
    display: none;
  }

  .only-mp {
    display: block;
  }
}

/*  ご相談の流れ終了 ------------------------------------------------    */

.consultation-flow-cta {
  background-color: var(--subColor, #12372a);
  /* 背景色 */
  color: #fff;
  text-align: center;
}

.consultation-flow-cta .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 19px;
}

.cta-title {
  /* h2 */
  font-size: 2.2rem;
  margin-bottom: 30px;
  line-height: 1.4;
  font-weight: bold;
  /* CTAは太めに */
}

.cta-title::after {
  content: '';
  display: inline-block;
  width: 41px;
  height: 41px;
  vertical-align: middle;
  margin-left: 6px;
  margin-bottom: 14px;
  background-image: url('https://aoba-support-next-stage.jp/wp-content/uploads/2025/04/lightbulb-icon.png');
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

strong.consultation-flow-pricing-point {
  font-size: 1.2rem;
  color: var(--red);
}

p.consultation-flow-pricing-explain {
  text-align: end;
}

.consultation-flow-cta-button-link {
  display: flex;
  width: 280px;
  height: 50px;
  margin: 30px auto;
  justify-content: center;
  align-items: center;
  color: var(--white);
  background-image: linear-gradient(to bottom, #feb12c, #fc5903);
  border-radius: 20px;
  opacity: 1;
}

.consultation-flow-cta-button-link:hover {
  filter: brightness(110%);
}

/* Font Awesome アイコン用 */
.cta-button i.fas {
  margin-right: 8px;
}

.cta-note {
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.8;
}

@media screen and (max-width: 767px) {
  .consultation-flow-cta .container {
    padding: 52px 19px 32px;
}

  h2.cta-title {
    padding-top: 15px;
    padding-bottom: 12px;
    font-size: clamp(1.2rem, 4vw, 2.3rem);
}

  .cta-title::after {
    width: 30px;
    height: 30px;
}

  p.cta-text {
      margin-bottom: 20px;
      font-size: 1.1rem;
      text-align: justify;
      line-height: 1.5;
      opacity: 0.95;
  }

  p.consultation-flow-cta-text.only-mp-consultation-text-space {
    font-size: 1.1rem;
    text-align: justify;
    line-height: 1.6;
}

  p.cta-note {
      padding-bottom: 40px;
      line-height: 1.4;
  }
}