/* ========================================================================
   5-STEP VERTICAL CARDS - CLEAN B2B DESIGN
   ======================================================================== */

/* 既存の固定アイコンが疑似要素で出ている場合は"強制的に無効化" */
.stepCard::before,
.stepCard::after {
  content: none !important;
  background: none !important;
}

/* ラッパー（横並び5枚） */
.stepCardsWrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* card base */
.stepCard {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.10);
  padding: 0 18px 18px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stepCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

/* top color bar */
.stepTop {
  width: calc(100% + 36px);
  margin: 0 -18px;
  padding: 10px 14px;
  display: flex;
  justify-content: center;
}

/* STEP pill */
.stepPill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  color: rgba(15,23,42,.85);
  border: 1px solid rgba(255,255,255,.35);
}

/* visual area */
.step-illustWrap {
  margin: 18px 0 10px;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 24px rgba(15,23,42,.10);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* the image */
.step-illust {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

/* title & text */
.stepTitle {
  font-size: 16px;
  font-weight: 800;
  margin: 10px 0 10px;
  text-align: center;
  color: #0f172a;
  line-height: 1.4;
}

.stepDesc {
  font-size: 12px;
  line-height: 1.6;
  text-align: center;
  color: rgba(15,23,42,.72);
  margin: 0;
}

/* STEP別の色（現在のLPの色味） */
.step01 .stepTop { background: #6aa6d9; } /* blue */
.step02 .stepTop { background: #74bfa3; } /* green */
.step03 .stepTop { background: #f0cf72; } /* yellow */
.step04 .stepTop { background: #f1a56a; } /* orange */
.step05 .stepTop { background: #9a84c8; } /* purple */

/* --------------------------------------------------
   レスポンシブ対応
   -------------------------------------------------- */

/* タブレット（1024px以下）：3カラム → 2カラム */
@media (max-width: 1024px) {
  .stepCardsWrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
  }
  
  .stepCard {
    min-height: 300px;
  }
}

/* モバイル（768px以下）：1カラム */
@media (max-width: 768px) {
  .stepCardsWrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
  }
  
  .stepCard {
    min-height: 280px;
    padding: 0 20px 20px;
  }
  
  .step-illustWrap {
    width: 72px;
    height: 72px;
    margin: 16px 0 8px;
  }
  
  .step-illust {
    width: 52px;
    height: 52px;
  }
  
  .stepTitle {
    font-size: 15px;
    margin: 8px 0 8px;
  }
  
  .stepDesc {
    font-size: 11.5px;
  }
}

/* 小型モバイル（480px以下） */
@media (max-width: 480px) {
  .stepCardsWrapper {
    padding: 0 16px;
  }
  
  .stepCard {
    min-height: 260px;
    padding: 0 16px 16px;
  }
  
  .step-illustWrap {
    width: 68px;
    height: 68px;
  }
  
  .step-illust {
    width: 48px;
    height: 48px;
  }
  
  .stepTitle {
    font-size: 14px;
  }
  
  .stepDesc {
    font-size: 11px;
  }
}

/* --------------------------------------------------
   印刷最適化
   -------------------------------------------------- */
@media print {
  .stepCard {
    box-shadow: none;
    border: 1px solid #e2e8f0;
    break-inside: avoid;
  }
  
  .stepCard:hover {
    transform: none;
  }
  
  .stepVisual {
    box-shadow: none;
  }
}

/* --------------------------------------------------
   アクセシビリティ（アニメーション削減設定）
   -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .stepCard,
  .stepIllust {
    transition: none;
  }
  
  .stepCard:hover {
    transform: none;
  }
}
