.workflow {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  font-family: 'Arial', sans-serif;
  text-align: center;
}

/* タイトル */
.workflow h2 {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 16px 28px;
  border-radius: 12px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: bold;
  margin-bottom: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.8s forwards;
}

/* ワークフローカードグリッド */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* カード */
.workflow-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px 25px;
  text-align: left;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

/* アニメーション遅延 */
.workflow-card:nth-child(1) { animation-delay: 0.2s; }
.workflow-card:nth-child(2) { animation-delay: 0.4s; }
.workflow-card:nth-child(3) { animation-delay: 0.6s; }
.workflow-card:nth-child(4) { animation-delay: 0.8s; }

/* 見出し下の破線 */
.heading-line {
  border-bottom: 2px dashed #999;
  margin: 5px 0 15px;
}

/* カード内 */
.card-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.card-image img {
  width: 120px;
  border-radius: 50%; /* 完全丸 */
}

.card-text h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

/* 個別項目ボックス（透明背景） */
.item-box {
  border: 2px solid #888;
  border-radius: 50px;           
  padding: 10px 15px;
  margin-bottom: 10px;
  background: transparent;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  font-size: 0.95rem;
}

/* フェードイン＋上スライド */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ */
@media (max-width: 992px) {
  .workflow-grid {
    grid-template-columns: 1fr; /* 1列表示に切替 */
  }
  .card-content {
    flex-direction: column;
    align-items: center;
  }
  .card-image img {
    width: 80%;
  }
}
