/* ================================================================
   writing-task2/planning-process — local.css
   ================================================================ */

/* 7ステップ一覧リスト */
.step-list {
  list-style: none;
  padding: 0;
  margin: .4rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.step-list__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .4rem .75rem;
  background: rgba(70,162,218,.04);
  border-radius: 6px;
  font-size: .93rem;
  line-height: 1.6;
}
.step-list__num {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  min-width: 1.4rem;
  background: var(--lb);
  color: #fff;
  border-radius: 50%;
  font-size: .68rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  text-align: center;
  line-height: 1.4rem;
}
.step-list__text {
  flex: 1;
}

/* ステップ難易度バッジ */
.step-badge {
  flex-shrink: 0;
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .15rem .55rem;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  white-space: nowrap;
}
.step-badge--required {
  background: rgba(70,162,218,.15);
  color: var(--lb);
}
.step-badge--6 {
  background: rgba(4,63,109,.1);
  color: var(--blue2);
}
.step-badge--7 {
  background: rgba(4,63,109,.18);
  color: var(--blue);
}

/* a-method__head にバッジが入る場合の余白調整 */
.a-method__head .step-badge {
  margin-left: auto;
}

@media (max-width: 640px) {
  .step-list__item { padding: .4rem .6rem; gap: .6rem; }
  .step-badge { font-size: .6rem; padding: .12rem .45rem; }
}
