/* 全体ラッパー */
.fujiya-repair-wrapper {
  max-width: 1000px !important;
  margin: 24px auto !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
}

/* サイト内に合わせた水色枠見出し */
.fujiya-repair-wrapper h2.fujiya-heading-blue {
  background-color: #e8f4fc !important;
  border: 2px solid #005bac !important;
  border-left: 8px solid #005bac !important;
  color: #005bac !important;
  padding: 12px 18px !important;
  font-size: 20px !important;
  font-weight: bold !important;
  border-radius: 4px !important;
  margin: 0 0 15px 0 !important;
  line-height: 1.4 !important;
}

/* 所要時間・要予約バッジ（Step 1 との間隔を広げる） */
.fujiya-meta-info {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important; /* バッジと Step 1 の間をしっかり空ける */
}

.fujiya-badge-time {
  background: #f0f7fd !important;
  color: #005bac !important;
  border: 1px solid #7cb3e0 !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-weight: bold !important;
  font-size: 14px !important;
}

.fujiya-badge-reserve {
  background: #d9534f !important;
  color: #ffffff !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  font-weight: bold !important;
  font-size: 13.5px !important;
}

/* メイン2カラム構造 */
.fujiya-step-container {
  display: flex !important;
  gap: 24px !important;
  align-items: stretch !important; /* 高さを揃えやすく設定 */
}

/* 左側：ステップリスト（幅を少し広く取ってゆったり配置） */
.fujiya-step-list {
  flex: 1 1 70% !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.fujiya-step-item {
  display: flex !important;
  background: #ffffff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 6px !important;
  margin-bottom: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
}

.fujiya-step-num {
  background: #005bac !important;
  color: #ffffff !important;
  font-weight: bold !important;
  font-size: 15px !important;
  width: 80px !important;
  min-width: 80px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 12px 6px !important;
}

.fujiya-step-body {
  padding: 14px 18px !important; /* ステップ内の上下左右余白をゆったり回復 */
  flex: 1 !important;
}

.fujiya-step-wrapper h3.fujiya-step-title,
.fujiya-step-body .fujiya-step-title {
  margin: 0 0 6px 0 !important;
  font-size: 16px !important; /* 文字の大きさを戻す */
  font-weight: bold !important;
  color: #005bac !important;
  border: none !important;
  background: none !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.fujiya-step-desc {
  margin: 0 !important;
  font-size: 14px !important; /* 本文の文字の大きさを戻す */
  color: #333333 !important;
  line-height: 1.6 !important;
}

/* 右側：画像ギャラリー（全体的に小さくし、ステップ全体の高さに揃える） */
.fujiya-image-gallery {
  flex: 0 0 230px !important; /* PC時の最大幅をコンパクトに抑える */
  width: 230px !important;
  display: flex !important;
  flex-direction: column !important;
  /*justify-content: space-between !important;*/ /* 画像3枚をステップ全体の高さに均等配置 */
  gap: 10px !important;
}

.fujiya-img-box {
  width: 100% !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  border: 1px solid #e0e0e0 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06) !important;
  background: #f8f8f8 !important;
}

.fujiya-img-box img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important; /* アスペクト比を崩さず綺麗に切り抜いて納める */
  margin: 0 !important;
}

/* スマホ・タブレット（横幅 768px 以下）用の調整 */
@media screen and (max-width: 768px) {
  .fujiya-step-container {
    flex-direction: column !important;
    gap: 0 !important;
  }

  .fujiya-step-list {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  .fujiya-image-gallery {
    width: 100% !important;
    flex: 1 1 100% !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-top: 0 !important;
  }

  .fujiya-img-box {
    flex: 1 !important;
  }
}



/*━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ガラス交換　フロントガラス交換・即日納車
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━  */

  /* --------------------------------------------------
     タイムライン / 工程リスト
     -------------------------------------------------- */
  .flow-list {
    position: relative;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  /* 縦のガイドライン（工程の繋がりを示す実線） */
  .flow-list::before {
    content: "";
    position: absolute;
    top: 24px;
    bottom: 24px;
    left: 170px;
    width: 2px;
    background: #e2e8f0;
    z-index: 1;
  }

  /* 各工程アイテム */
  .flow-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 36px;
  }

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

  /* --------------------------------------------------
     左側：時間＆ステップ表示
     -------------------------------------------------- */
  .flow-timeline-meta {
    width: 170px;
    flex-shrink: 0;
    padding-right: 32px;
    position: relative;
    z-index: 2;
  }

  .flow-step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #cc0000; /* メインカラー */
    margin-bottom: 4px;
  }

  .flow-time {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #4a4a4a;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
  }

  /* ガイドライン上のドット */
  .flow-timeline-meta::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border: 3px solid #cc0000; /* メインカラー */
    border-radius: 50%;
  }

  /* --------------------------------------------------
     右側：作業内容・ステータス
     -------------------------------------------------- */
  .flow-content {
    flex-grow: 1;
    background: #fbfcfd;
    border: 1px solid #e8ecf0;
/*    border-left: 4px solid #cc0000;*/ /* メインカラーのアクセント */
    padding: 20px 24px;
    margin-left: 32px;
  }

  .flow-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 10px;
    margin-bottom: 14px;
    gap: 16px;
  }

  .flow-step-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #4a4a4a;
    line-height: 1.4;
  }

  /* 状態 / ポイント（サブカラー） */
  .flow-status-tag {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #55aae8; /* サブカラー */
    border: 1px solid #55aae8;
    background: #ffffff;
    padding: 3px 10px;
    line-height: 1.4;
    white-space: nowrap;
  }

  /* 作業詳細リスト */
  .flow-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .flow-detail-list li {
    position: relative;
    padding-left: 1.8em !important;
/*    font-size: 0.925rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 6px;*/
  }

  .flow-detail-list li:last-child {
    margin-bottom: 0;
  }

  /* リストマーカー（ハイフン型・すっきりとした記法） */
 /* .flow-detail-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #8c9ba5;
    font-weight: bold;
  }*/

  .flow-detail-list li strong {
    color: #cc0000; /* 強調箇所にメインカラー */
    font-weight: 700;
  }

  /* --------------------------------------------------
     レスポンシブ対応（スマホ表示）
     -------------------------------------------------- */
  @media screen and (max-width: 680px) {
    body {
      padding: 16px 8px;
    }

    .flow-container {
      padding: 24px 16px;
    }

    .flow-list::before {
      display: none; /* スマホでは縦軸ラインを消してすっきりさせる */
    }

    .flow-item {
      flex-direction: column;
      margin-bottom: 28px;
    }

    .flow-timeline-meta {
      width: 100%;
      padding-right: 0;
      margin-bottom: 8px;
      display: flex;
      align-items: baseline;
      gap: 12px;
    }

    .flow-timeline-meta::after {
      display: none;
    }

    .flow-step-label {
      margin-bottom: 0;
      font-size: 0.8rem;
    }

    .flow-time {
      font-size: 0.95rem;
    }

    .flow-content {
      width: 100%;
      margin-left: 0;
      padding: 16px;
    }

    .flow-title-row {
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .flow-status-tag {
      align-self: flex-start;
    }

    .flow-step-title {
      font-size: 1.05rem;
    }
  }
