/*====================================*/
/* yakkan/ common */
/*====================================*/
main {
  padding-bottom: clamp(50px, calc(11px + 6.5vw), 102px);
}
.kv-header_ttl {
  & h1 {
    &::before {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      display: block;
      width: 12px;
      height: 100%;
      border-left: 12px solid var(--colA1);
    }
  }
}
.info-group {
  margin-top: clamp(20px, calc(8.75px + 1.875vw), 35px) !important;
  .info-item {
    margin-bottom: clamp(25px, calc(10px + 2.5vw), 45px);
  }
}
.info-table {
  margin-top: 2em;
  th {
    width: 20%;
  }
  @media (max-width: 576px) {
    th {
      width: 30%;
    }
  }
  &.col-2-l {
    th:nth-child(1) {
      width: 80%;
    }
    th:nth-child(2) {
      width: 20%;
    }
    td:nth-child(2) {
      width: 20%;
    }
  }
  th.per15 {
    width: 5%;
  }
}
ol.article-sub-num {
  margin-left: 1.5rem;
  & > li {
    position: relative;
    padding-left: 3rem;
    counter-increment: kanji-counter;
    &::before {
      position: absolute;
      top: 0;
      left: 0;
      content: counter(kanji-counter, cjk-ideographic) ". ";
    }
  }
}
ol > li > ol {
  margin-bottom: 0.5em;
}
.border-block {
  padding: 0.5em;
  border: 1px solid #707070;
}
/*====================================*/
/* yakkan */
/*====================================*/
.yakkan {
  .l-block {
    .count-header {
      font-size: var(--font-size-20);
      font-weight: 600;
      margin-top: clamp(25px, calc(6.25px + 3.125vw), 50px);
      margin-bottom: 0.2em;

      &::before {
        display: inline-block;
        content: "第" counter(block-num, cjk-ideographic) "章";
        margin-right: 0.5em;
      }
      &:first-child {
        margin-top: 0;
      }
    }
    .count-sub-header {
      counter-increment: block-sub-num;
      font-weight: 600;
      margin-bottom: 0.3em;
      margin-left: -0.5em;

      &::after {
        display: block;
        content: "第" counter(block-sub-num, cjk-ideographic) "条";
        font-weight: normal;
        padding-top: 0.1em;
        margin-left: 0.5em;
      }
    }
    :not(ol.type_number) + h4 {
      margin-top: var(--mgn-m);
    }
    h4:not(.count-sub-header) {
      font-weight: 600;
      margin-left: -0.5em;
    }
  }
}
