@charset "utf-8";
/* CSS Document */

.flow-container {
  display: flex;
  gap: 40px;
}

/* 左側ステップ */
.flow-steps {
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-box {
  width: 180px;
  padding: 12px 10px;
  margin: 4px 0;
  background: #ffffff;
  border: 2px solid #4CAF50;
  border-radius: 24px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
}

.step-box a {
  text-decoration: none;
  color: #2c3e50;
  display: block;
}

.step-arrow {
  font-size: 20px;
  color: #4CAF50;
  margin: 4px 0;
}

/* 追加した画像（ステップすぐ下） */
.step-image {
  margin-top: 20px;
}

.step-image img {
  width: 260px;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  border: none; /* 枠なし */
}

/* 右側詳細 */
.flow-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-block {
  background: #f9fcff;
  border-radius: 8px;
  border: 1px solid #d0e4ff;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.7;
}

.detail-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 4px;
  color: #2c3e50;
}

.tel {
  font-weight: bold;
  font-size: 16px;
  margin-top: 6px;
}

.time,
.mail {
  font-size: 13px;
  color: #555;
}


/*表の設定*/

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  margin:30px auto;
}

.fee-table th,
.fee-table td {
  border: 1px solid #000;
  padding: 8px;
}



/* スマホ表示 */
@media (max-width: 600px) {
  .flow-wrapper {
    width: 94%;
    padding: 20px;
  }

  .flow-container {
    flex-direction: column;
  }

  .flow-steps {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .step-box {
    width: 80%;
  }

  /* 画像を全体の一番最後に移動して中央揃え */
  .step-image {
    order: 999;
    text-align: center;
    margin-top: 30px;
  }

  .step-image img {
    margin: 0 auto;
  }
}