/* ===================================================
   ol のリストで ①、②、③（丸数字）を表示する
   数値は記事・CodePen と同じ。変えたのは色だけ（6 色に）。
   1つずつ、番号のところからコピーして使えます。
   =================================================== */

/* ---------- 01 簡単バージョン ---------- */
ol.maru_a {
  margin: 0;
  padding: 0;
}
ol.maru_a li {
  list-style: none;
  padding-left: 1.3em;
  text-indent: -1.3em;
}

/* ---------- 02 span で囲って丁寧バージョン ---------- */
ol.maru_b {
  position: relative;
  margin: 0;
  padding: 0;
}
ol.maru_b li {
  list-style: none;
  list-style-position: outside;
  margin: 0;
  padding-left: 1.25em;
}
ol.maru_b li span {
  position: absolute;
  left: 0;
  margin: 0;
}

/* ---------- 03 span や ① を使わないバージョン ---------- */
ol.maru_c {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}
ol.maru_c li {
  font-size: 16px;
  line-height: 1.5;
  padding-left: 30px;
  position: relative;
}
ol.maru_c li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: #2b2a27;
  border: 1px solid;
  border-radius: 50%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 22px;
  width: 22px;
  color: #fff;
  font-size: 85%;
  line-height: 1;
  position: absolute;
  top: 0;
  left: 0;
}

/* ---------- 04 いまの書き方（@counter-style） ---------- */
@counter-style maru {
  system: fixed;
  symbols: "①" "②" "③" "④" "⑤" "⑥" "⑦" "⑧" "⑨" "⑩" "⑪" "⑫" "⑬" "⑭" "⑮" "⑯" "⑰" "⑱" "⑲" "⑳";
  suffix: " ";
}
ol.maru_d {
  list-style: maru;
  margin: 0;
  padding-left: 1.3em;
}
