/* ===== 全体 ===== */
.step-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: nowrap; /* ← 折り返し禁止 */
}

/* ===== 各ステップ ===== */
.step-item {
  width: 350px;
  text-align: center;
}

/* ===== ボックス本体 ===== */
.step-box {
  width: 350px;
  height: 330px;
  background: #f4f4f4;
  position: relative;
}

/* ===== STEP帯 ===== */
.step-header {
  height: 90px;
  color: #fff;
  font-weight: bold;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* ▼ 三角形（共通形状） */
.step-header::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 32px solid transparent;
  border-right: 32px solid transparent;
  border-top: 24px solid;
}

/* ===== STEP別カラー ===== */
.step01 .step-header {
  background: #ff914d;
}
.step01 .step-header::after {
  border-top-color: #ff914d;
}

.step02 .step-header {
  background: #f5a623;
}
.step02 .step-header::after {
  border-top-color: #f5a623;
}

.step03 .step-header {
  background: #f2c94c;
}
.step03 .step-header::after {
  border-top-color: #f2c94c;
}

/* ===== 中身 ===== */
.step-body {
  padding-top: 32px;
}

.step-title {
  font-size: 38px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: -3px;
}

.step01 .step-title { color: #ff914d; }
.step02 .step-title { color: #ffbd59; }
.step03 .step-title { color: #f2c94c; }

.step-icon {
  width: 120px;
  height: auto;  /* 縦横比を崩さないため必須 */
}

/* ===== CTA ===== */
.cta-btn {
  display: block;
  margin-top: 16px;
  padding: 14px 0;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  font-size: 32px;
}

.step01 .cta-btn { background: #ff914d; }
.step02 .cta-btn { background: #f5a623; }
.step03 .cta-btn { background: #f2c94c; }

/* ===== スマホ ===== */
@media screen and (max-width: 768px) {
  .step-container {
    flex-direction: column;
    align-items: center;
  }
}
