/* ===== 全体 ===== */
.step-container {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: nowrap; /* ← 折り返し禁止 */
  width: 100%;
}

/* ===== 各ステップ ===== */
.step-container-wide .step-item {
  width: 500px;
  flex: 0 0 500px;   /* ← これが超重要 */
  max-width: 500px; /* 念押し */
  text-align: center;
}

/* ===== ボックス本体 ===== */
.step-container-wide .step-box {
  width: 100%;
}

/* ===== 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別カラー ===== */
.yuso01 .step-header {
  background:  #f5d300;
}
.yuso01 .step-header::after {
  border-top-color: #f5d300;
}

.denshi02 .step-header {
  background: #f5d300;
}
.denshi02 .step-header::after {
  border-top-color: #f5d300;
}


/* ===== 中身 ===== */
.step-body {
  padding-top: 32px;
}

.step-title {
  font-size: 38px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: -3px;
}

.yuso01 .step-title { color: #f5d300; }
.denshi02 .step-title { color: #f5d300; }

.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;
}

.yuso01 .cta-btn { background: #f5d300; }
.denshi02 .cta-btn { background: #f5d300; }

/* ===== スマホ ===== */
@media screen and (max-width: 768px) {
  .step-container {
    flex-direction: column;
    align-items: center;
  }
  .step-container-wide .step-item {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
}
