#mokuji,
#mokuji-cat {
  margin: 70px auto 100px;
  position: relative;
  counter-reset: counter;
}

@media (max-width: 767px) {

  #mokuji,
  #mokuji-cat {
    margin: 40px auto 80px;
  }
}

#mokuji::before,
#mokuji-cat::before {
  background: -webkit-linear-gradient(top, rgb(255 255 255 / 10%) 0%, rgb(255 255 255 / 99%) 50%, rgb(255 255 255) 100%, #fff 100%);
  bottom: 0;
  content: '';
  height: 9em;
  left: 0;
  opacity: 0.75;
  position: absolute;
  width: 100%;
  z-index: 1;
  bottom: 0%;
  content: '';
  height: 8em;
  left: 0;
  opacity: 0.75;
  position: absolute;
  width: 100%;
  z-index: 1;
}

#mokuji.action::before,
#mokuji-cat.action::before {
  display: none;
}


div.mokuji-ttl {
  letter-spacing: 0.1em;
  font-family: 游明朝, YuMincho, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', HG明朝E, 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
  color: #fff;
  background-color: #cbaf40;
  position: relative;
  font-size: 1em;
  padding: 0.3em 0.5em 0.3em 3.2em;
  border-radius: 0 16px 0 0;
  width: 100%;
  display: block;
  line-height: 1.4;
  margin-bottom: 0 !important;
}

.mokuji-ttl:before {
  position: absolute;
  content: '';
  background: url(https://mab-c.jp/assets/img/ico_index.svg) no-repeat center;
  background-size: 100%;
  width: 24px;
  height: 20px;
  left: 2%;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 767px) {
  div.mokuji-ttl {
    padding: 0.3em 0.5em 0.3em 2.6em;
    border-radius: 0 16px 0 0;
    width: 100%;
    font-size: 1em;
  }

  .mokuji-ttl:before {
    width: 18px;
    height: 16px;
    left: 3%;
  }
}

#mokuji ul {
  border: solid 2px #cbaf40;
  border-bottom: none;
  padding: 1.2em 1.5em;
  background-color: #fffdf8;
  counter-reset: item;
  list-style: none;
  margin-bottom: 10px;
}

@media (max-width: 767px) {
  #mokuji ul {
    padding: 0.5em 1.2em;
  }
}

#mokuji.action ul {
  border-bottom: solid 2px #cbaf40;
}

#mokuji ul li {
  margin: 0.7em 0;
  position: relative;
  padding-left: 2.8em;
}

@media (max-width: 767px) {
  #mokuji ul li {
    margin: 0.9em 0;
    line-height: 1.6;
    padding-left: 2.5em;
  }
}

#mokuji li a,
#mokuji-cat li a {
  width: 100%;
  padding: 2px 0;
  display: block;
  color: #000;
  text-decoration: none;
  box-sizing: border-box;
  position: relative;
  transition: all 0.3s ease 0s;
}

#mokuji li a strong,
#mokuji-cat li a strong {
  font-weight: 500 !important;
}

#mokuji .mokuji-h2,
#mokuji .mokuji-h3 {
  user-select: none;
}

#mokuji .mokuji-h2:before {
  content: counter(counter, decimal-leading-zero);
  counter-increment: counter;
  position: absolute;
  left: 0;
  color: #cbaf40;
  padding-right: 0.5em;
  letter-spacing: 0.1em;
  font-family: 游明朝, YuMincho, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', HG明朝E, 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif;
  font-size: 1.1em;
}

#mokuji .mokuji-h2::after {
  position: absolute;
  content: '';
  background-color: #cbaf40;
  width: 1px;
  height: 1.2em;
  top: 8px;
  left: 27px;
}

@media (max-width: 767px) {
  #mokuji .mokuji-h2::after {
    top: 4px;
  }
}

#mokuji .mokuji-h2 a {
  color: unset;
  text-decoration: underline;
}

#mokuji .mokuji-h3 {
  margin-left: 3.5em;
  text-indent: 0;
  position: relative;
  margin-bottom: 2px;
  list-style-type: disc;
}

#mokuji .mokuji-h3 a {
  position: relative;
  font-size: 90%;
}

.mokuji-btn-wrap {
  position: absolute;
  content: '';
  bottom: -23%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  margin-bottom: 0;
}

#mokuji.action .mokuji-btn-wrap {
  bottom: -90px;
}

@media (max-width: 767px) {
  #mokuji.action .mokuji-btn-wrap {
    bottom: -75px;
  }
}

.mokuji-btn {
  display: block;
  padding: 5px 10px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9em;
  margin-top: 5px;
  transition: background-color 0.3s;
  justify-self: anchor-center;
  z-index: 100;
  position: relative;
}