@charset "UTF-8";

/*-------------------------------------------
List
-------------------------------------------*/
.list {
  position: relative;
  border: solid 2px #000;
  margin-bottom: 50px;
}
.list-title {
  font-size: 1.15em;
  background: #000;
  padding: 4px;
  text-align: center;
  color: #FFF;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.list ol {
  margin: 0;
  padding: 0.25em 0.5em 0.25em 0.5em;
  color: #000;
  border: none;
  list-style-type: none;
  counter-reset: number;/*数字をリセット*/
}
.list ol li {
  line-height: 1.75;
  padding: 0.75em 0 0.5em 2.5em;
  border-bottom: dashed 1px #000;
}
.list ol li:before {
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display: inline-block;
  background: #000;
  color: white;
  font-family: "Quicksand", sans-serif;
  font-weight: bold;
  font-size: 12px;
  border-radius: 20%;
  left: 1em;
  width: 22px;
  height: 22px;
  text-align: center;
  vertical-align: middle;
  line-height: 22px;
}
.list ol li:last-of-type{
  border-bottom: none; /*最後のliの線だけ消す*/
}
.list a{
  color: #000;
}

/*-------------------------------------------
Test
-------------------------------------------*/
.test {
  margin-bottom: 80px;
}
.test {
  display: flex;
  flex-wrap: wrap;
}
.test li {
  width: 49%;
  margin: 0 2% 2% 0;
  margin-bottom: 40px;
}
.test li:nth-child(2n) {
  margin-right: 0;
}
.test li .img {
  margin-bottom: 10px;
}

/*-------------------------------------------
スマートフォン
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /*-------------------------------------------
  Test
  -------------------------------------------*/
  .test {
    margin-bottom: 60px;
  }
  .test {
    flex-direction: column;
  }
  .test li {
    width: 100%;
    margin: 0 0 20px;
  }

}