@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

.textBlock {
  max-width: 1000px;
  width: 90%;
  background-color: #ccc;
  margin: 50px auto;
  padding: 20px;
}
h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
}
ul {
  list-style-type: none;
  font-size: 16px;
  padding-left: 15px;
}
.markText > li {
  position: relative;
}
.markText > li::before {
  position: absolute;
  top: 9px;
  left: -8px;
  transform: translateY(-50%);
  content: "";
  width: 5px;
  height: 5px;
  background-color: #000;
  border-radius: 50%;
  display: block;
}
/* ----------------
  隣接セレクタ（+）を用いた余白のつけかた
---------------- */
.test1 > * + * {
  margin-top: 20px;
}
.test1 > ul.markText > li + li {
  margin-top: 10px;
}

/* ----------------
  余白のつけかた（2）
---------------- */
.test2 > *:not(:first-child) {
  margin-top: 20px;
}
.test2 > ul.markText > li:not(:first-of-type) {
  margin-top: 10px;
}

/* ----------------
  余白のつけかた（3）
---------------- */
.test3 {
  margin-bottom: -20px;
}
.test3 > * {
  margin-bottom: 20px;
}
.test3 > ul.markText {
  margin-bottom: -10px;
}
.test3 > ul.markText > li {
  margin-bottom: 10px;
}
