#mokuji,
#mokuji-cat {
  width: 100%;
  max-width: 700px;
  box-sizing: border-box;
  margin: 60px auto 40px !important;
  box-shadow: 1px 1px 8px rgb(0 0 0 / 15%);
  border-radius: 4px;
  position: relative;
  counter-reset: number 0;
  background: #fff;
}

#mokuji .mokuji-ttl,
#mokuji-cat .mokuji-ttl {
  position: relative;
  text-align: center;
  width: 100%;
  height: auto;
  line-height: 1.0;
  font-size: 24px;
  color: #20a3af;
  /* background-color: #333333; */
  padding: 19px;
  box-sizing: border-box;
  margin-bottom: 12px;
  cursor: pointer;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
}

#mokuji .mokuji-ttl::after,
#mokuji-cat .mokuji-ttl::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  width: 23px;
  height: 24px;
  background-image: url("data:image/svg+xml,%3Csvg width='23' height='24' viewBox='0 0 23 24' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='12' width='23' height='1' rx='0.5' fill='%23333333'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

/* #mokuji.active,
#mokuji-cat.active {
  height: 62px;
  overflow: hidden;
} */

#mokuji.active .mokuji-ttl::after,
#mokuji-cat.active .mokuji-ttl::after {
  background-image: url("data:image/svg+xml,%3Csvg width='23' height='24' viewBox='0 0 23 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect y='12' width='23' height='1' rx='0.5' fill='%23333333'/%3E%3Crect x='11' y='24' width='24' height='1' rx='0.5' transform='rotate(-90 11 24)' fill='%23333333'/%3E%3C/svg%3E");
}

#mokuji.active:hover,
#mokuji-cat.active:hover {
  opacity: 0.7;
}

#mokuji ol,
#mokuji-cat ol {
  margin-top: 0;
  padding-bottom: 30px;
}

#mokuji li,
#mokuji-cat li {
  margin: 0;
  text-indent: 0;
  position: relative;
  padding: 0 42px 0 68px;
  display: block;
}

/* #mokuji li:nth-last-of-type(1), #mokuji-cat li:nth-last-of-type(1){
  margin-bottom: 30px;
} */
#mokuji li a,
#mokuji-cat li a {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #333;
  padding: 8px 0 8px 0;
  text-decoration: none;
}

#mokuji li:before,
#mokuji-cat li:before {
  content: "";
  display: inline;
  font-size: 17px;
  font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;
  line-height: 1;
  color: #20a3af;
  counter-increment: number 1;
  /* number カウンタを増加 */
  content: counter(number);
  /* 表示形式を指定 */
  position: absolute;
  width: 22px;
  text-align: center;
  top: 11px;
  left: 42px;
}

#mokuji li a:hover,
#mokuji-cat li a:hover {
  text-decoration: underline;
  opacity: 1;
}

@media screen and (max-width: 768px) {

  #mokuji .mokuji-ttl,
  #mokuji-cat .mokuji-ttl {
    padding: 14px;
    font-size: 20px;
  }

  #mokuji .mokuji-ttl::after,
  #mokuji-cat .mokuji-ttl::after {
    width: 16px;
    height: 16px;
  }


  #mokuji ol,
  #mokuji-cat ol {
    padding-bottom: 14px;
  }

  #mokuji li,
  #mokuji-cat li {
    margin: 0;
    text-indent: 0;
    position: relative;
    padding: 0 20px 0 45px;
    display: flex;
  }

  #mokuji li a,
  #mokuji-cat li a {
    padding: 4px 0;
    font-size: 13px;
  }

  #mokuji li:before,
  #mokuji-cat li:before {
    font-size: 16px;
    top: .4em;
    left: 20px;
  }
}