/* ==============================
TOPICS
============================== */

.component-topics-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.btn-back {
  position: relative;
  display: inline-flex;
  min-width: 304px;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-grey);
  border-radius: 8px;
  margin-bottom: 3px;
  background-color: var(--color-white);
  box-shadow: 0 3px 0 var(--color-grey-03);
  font-weight: bold;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 0.25s ease;
}

.btn-back::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 4%);
    content: "";
    opacity: 0;
    transition: var(--transition);
  }

@media (max-width: 767px) {

.btn-back {
    display: flex;
    min-width: 100%
}
  }

.btn-back span {
    position: relative;
    width: 100%;
    padding: 5px 20px 5px 50px;
    line-break: anywhere;
  }

.btn-back span::before,
    .btn-back span::after {
      position: absolute;
      top: 50%;
      left: 16px;
      width: 32px;
      height: 32px;
      background-repeat: no-repeat;
      background-size: cover;
      content: "";
      transform: translateY(-50%);
      transition: var(--transition);
    }

.btn-back span::before {
      background-image: url("/kanken/assets/image/common/ico-back-circle.svg");
    }

.btn-back span::after {
      background-image: url("/kanken/assets/image/common/ico-back-circle-hover.svg");
      opacity: 0;
    }

@media (min-width: 768px) {
    .btn-back:hover,
    .btn-back.active {
      box-shadow: none;
    }

      .btn-back:hover::before, .btn-back.active::before {
        opacity: 1;
      }
        .btn-back:hover span::before, .btn-back.active span::before {
          opacity: 0;
        }

        .btn-back:hover span::after, .btn-back.active span::after {
          opacity: 1;
        }
  }

.topics-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.topics-content h2 {
    position: relative;
    padding-bottom: 28px;
    color: var(--color-dark);
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.45;
  }

@media (max-width: 767px) {

.topics-content h2 {
      font-size: 2.25rem;
      line-height: 1.44444
  }
    }

.topics-content h2::before,
    .topics-content h2::after {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 52px;
      height: 4px;
      border-radius: 4px 0 0 4px;
      background-color: var(--color-yellow);
      content: "";
    }

@media (max-width: 767px) {

.topics-content h2::before,
    .topics-content h2::after {
        width: 44px
    }
      }

.topics-content h2::after {
      left: 52px;
      border-radius: 0 4px 4px 0;
      background-color: var(--color-dark);
    }

@media (max-width: 767px) {

.topics-content h2::after {
        left: 44px
    }
      }

.topics-content h3 {
    position: relative;
    width: 100%;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-grey);
    color: var(--color-dark);
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.4375;
  }

@media (max-width: 767px) {

.topics-content h3 {
      font-size: 1.75rem;
      line-height: 1.42857
  }
    }

.topics-content h4 {
    position: relative;
    padding-left: 20px;
    color: var(--color-dark);
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
  }

@media (max-width: 767px) {

.topics-content h4 {
      font-size: 1.25rem;
      line-height: 1.5
  }
    }

.topics-content h4::before {
      position: absolute;
      top: 12px;
      left: 0;
      width: 12px;
      height: 12px;
      border-radius: 2px;
      background-color: var(--color-dark);
      content: "";
    }

.topics-content h5 {
    position: relative;
    color: var(--color-dark);
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5;
  }

@media (max-width: 767px) {

.topics-content h5 {
      font-size: 1.125rem;
      line-height: 1.44444
  }
    }

.topics-content h6 {
    position: relative;
    color: var(--color-dark);
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.44444;
  }

@media (max-width: 767px) {

.topics-content h6 {
      font-size: 1rem;
      line-height: 1.5
  }
    }

.topics-content p {
    color: var(--color-dark);
    font-size: 1rem;
    line-height: 1.5;
  }

.topics-content p mark {
      background-color: var(--color-yellow-07);
    }

.topics-content .txt-red {
    color: var(--color-red);
    font-size: 1rem;
    line-height: 1.5;
  }

.topics-content .box-yellow {
    padding: 16px;
    border-radius: 8px;
    background-color: var(--color-yellow-02);
    color: var(--color-dark);
    font-size: 1rem;
    line-height: 1.5;
  }

.topics-content .box-red {
    padding: 14px;
    border: 2px solid var(--color-red);
    border-radius: 8px;
    background-color: var(--color-grey-07);
    color: var(--color-red);
    font-size: 1rem;
    line-height: 1.5;
  }

.topics-content .box-red > p {
      color: var(--color-red);
    }

.topics-content .txt-note-black {
    position: relative;
    padding-left: 20px;
    color: var(--color-dark);
    font-size: 1rem;
    line-height: 1.5;
  }

.topics-content .txt-note-black::before {
      position: absolute;
      top: 0;
      left: 0;
      content: "※";
    }

.topics-content .txt-note-red {
    position: relative;
    padding-left: 20px;
    color: var(--color-red);
    font-size: 1rem;
    line-height: 1.5;
  }

.topics-content .txt-note-red::before {
      position: absolute;
      top: 0;
      left: 0;
      content: "※";
    }

.topics-content .txt-note-grey {
    position: relative;
    padding-left: 20px;
    color: var(--color-grey-02);
    font-size: 0.875rem;
    line-height: 1.5;
  }

.topics-content .txt-note-grey::before {
      position: absolute;
      top: 0;
      left: 0;
      content: "※";
    }

.topics-content ul li {
      position: relative;
      padding-left: 18px;
      line-height: 1.5;
    }

.topics-content ul li::before {
        position: absolute;
        top: 0;
        left: 0;
        content: "・";
      }

.topics-content ol {
    counter-reset: counter;
  }

.topics-content ol li {
      position: relative;
      padding-left: 18px;
      counter-increment: counter;
      line-height: 1.5;
    }

.topics-content ol li::before {
        position: absolute;
        top: 0;
        left: 0;
        content: counter(counter) ".";
      }

.topics-content .table-scroll:has(table) {
    width: 100%;
  }

.topics-content .table-scroll:has(table) div {
      overflow-x: auto;
    }

.topics-content .table-scroll:has(table) table {
      min-width: 900px;
    }

.topics-content .table-scroll:has(table) p {
      margin-top: 8px;
      caption-side: bottom;
      color: var(--color-dark);
      font-size: 0.875rem;
      font-weight: 500;
      line-height: 1.42857;
      text-align: right;
    }

@media (min-width: 768px) {

.topics-content .table-scroll:has(table) p {
        display: none
    }
      }

.topics-content table {
    display: table;
    width: 100%;
    background-color: var(--color-blue);
  }

.topics-content table th,
    .topics-content table td {
      width: var(--col-size);
      padding: 16px;
      border: 2px solid var(--color-blue);
      color: var(--color-dark);
      font-size: 1rem;
      font-weight: normal;
      line-height: 1.5;
      vertical-align: middle;
    }

.topics-content table th {
      padding-left: 16px;
      background-color: var(--color-yellow);
      font-weight: bold;
    }

.topics-content table td {
      background-color: var(--color-white);
    }

.topics-content .link-group {
    display: flex;
    flex-wrap: wrap;
    gap: 17px 24px;
  }

.topics-content a {
    color: var(--color-dark);
    font-size: 1rem;
    line-height: 1.5;
    text-decoration: underline;
  }

@media (min-width: 768px) {
      .topics-content a:hover {
        text-decoration: none;
      }
    }

@media (min-width: 768px) {

.topics-content a.hover {
        text-decoration: none
    }
      }

.topics-content .btn-disable {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    min-width: 304px;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    border-radius: 8px;
    background-color: var(--color-grey);
    color: var(--color-grey-05);
    cursor: pointer;
    font-weight: bold;
    line-height: 1.375;
    pointer-events: none;
    text-decoration: none;
    transition: var(--transition);
  }

@media (max-width: 767px) {

.topics-content .btn-disable {
      display: flex;
      min-width: 100%
  }
    }

.topics-content .btn-disable::before {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgb(0 0 0 / 4%);
      content: "";
      opacity: 0;
      transition: var(--transition);
    }

.topics-content .btn-arrow,
  .topics-content .btn-new-window,
  .topics-content .btn-pdf {
    position: relative;
    display: inline-flex;
    overflow: hidden;
    min-width: 304px;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-color: var(--color-yellow);
    cursor: pointer;
    font-weight: bold;
    line-height: 1.375;
    text-align: center;
    text-decoration: none;
  }

@media (max-width: 767px) {

.topics-content .btn-arrow,
  .topics-content .btn-new-window,
  .topics-content .btn-pdf {
      display: flex;
      min-width: 100%
  }
    }

.topics-content .btn-arrow::before, .topics-content .btn-new-window::before, .topics-content .btn-pdf::before {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgb(0 0 0 / 4%);
      content: "";
      opacity: 0;
      transition: var(--transition);
    }

.topics-content .btn-arrow span, .topics-content .btn-new-window span, .topics-content .btn-pdf span {
      position: relative;
      width: 100%;
      padding: 5px 50px 5px 20px;
      line-break: anywhere;
    }

.topics-content .btn-arrow span::before,
      .topics-content .btn-arrow span::after,
      .topics-content .btn-new-window span::before,
      .topics-content .btn-new-window span::after,
      .topics-content .btn-pdf span::before,
      .topics-content .btn-pdf span::after {
        position: absolute;
        top: 50%;
        right: 16px;
        width: 32px;
        height: 32px;
        background-repeat: no-repeat;
        background-size: cover;
        content: "";
        transform: translateY(-50%);
        transition: var(--transition);
      }

@media (min-width: 768px) {
        .topics-content .btn-arrow:hover::before, .topics-content .btn-arrow.active::before, .topics-content .btn-new-window:hover::before, .topics-content .btn-new-window.active::before, .topics-content .btn-pdf:hover::before, .topics-content .btn-pdf.active::before {
          opacity: 1;
        }
    }

@media (min-width: 768px) {
          .topics-content .btn-arrow:hover span::before, .topics-content .btn-arrow.active span::before, .topics-content .btn-new-window:hover span::before, .topics-content .btn-new-window.active span::before, .topics-content .btn-pdf:hover span::before, .topics-content .btn-pdf.active span::before {
            opacity: 0;
          }

          .topics-content .btn-arrow:hover span::after, .topics-content .btn-arrow.active span::after, .topics-content .btn-new-window:hover span::after, .topics-content .btn-new-window.active span::after, .topics-content .btn-pdf:hover span::after, .topics-content .btn-pdf.active span::after {
            opacity: 1;
          }
    }

.topics-content .btn-arrow span::before {
        background-image: url("/kanken/assets/image/common/ico-arrow-circle.svg");
      }

.topics-content .btn-arrow span::after {
        background-image: url("/kanken/assets/image/common/ico-arrow-circle-hover.svg");
        opacity: 0;
      }

.topics-content .btn-new-window span::before {
        background-image: url("/kanken/assets/image/common/ico-new-window-circle-xl.svg");
      }

.topics-content .btn-new-window span::after {
        background-image: url("/kanken/assets/image/common/ico-new-window-circle-xl-hover.svg");
        opacity: 0;
      }

.topics-content .btn-pdf span::before {
        background-image: url("/kanken/assets/image/common/ico-pdf-circle.svg");
      }

.topics-content .btn-pdf span::after {
        background-image: url("/kanken/assets/image/common/ico-pdf-circle-hover.svg");
        opacity: 0;
      }

.topics-content .link-icon-arrow,
  .topics-content .link-icon-new-window,
  .topics-content .link-icon-pdf {
    position: relative;
    display: inline-block;
    padding-right: 50px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 2;
    text-decoration: none;
  }

.topics-content .link-icon-arrow::before,
    .topics-content .link-icon-arrow::after,
    .topics-content .link-icon-new-window::before,
    .topics-content .link-icon-new-window::after,
    .topics-content .link-icon-pdf::before,
    .topics-content .link-icon-pdf::after {
      position: absolute;
      top: 50%;
      right: 0;
      width: 32px;
      height: 32px;
      background-size: contain;
      content: "";
      transform: translateY(-50%);
      transition: var(--transition);
    }

@media (min-width: 768px) {
      .topics-content .link-icon-arrow:hover,
      .topics-content .link-icon-arrow.active,
      .topics-content .link-icon-new-window:hover,
      .topics-content .link-icon-new-window.active,
      .topics-content .link-icon-pdf:hover,
      .topics-content .link-icon-pdf.active {
        text-decoration: none;
      }

        .topics-content .link-icon-arrow:hover > span, .topics-content .link-icon-arrow.active > span, .topics-content .link-icon-new-window:hover > span, .topics-content .link-icon-new-window.active > span, .topics-content .link-icon-pdf:hover > span, .topics-content .link-icon-pdf.active > span {
          border-bottom: 1px solid var(--color-dark);
        }

        .topics-content .link-icon-arrow:hover::before, .topics-content .link-icon-arrow.active::before, .topics-content .link-icon-new-window:hover::before, .topics-content .link-icon-new-window.active::before, .topics-content .link-icon-pdf:hover::before, .topics-content .link-icon-pdf.active::before {
          opacity: 0;
        }

        .topics-content .link-icon-arrow:hover::after, .topics-content .link-icon-arrow.active::after, .topics-content .link-icon-new-window:hover::after, .topics-content .link-icon-new-window.active::after, .topics-content .link-icon-pdf:hover::after, .topics-content .link-icon-pdf.active::after {
          opacity: 1;
        }
    }

.topics-content .link-icon-arrow::before {
      background-image: url("/kanken/assets/image/common/ico-arrow-circle.svg");
    }

.topics-content .link-icon-arrow::after {
      background-image: url("/kanken/assets/image/common/ico-arrow-circle-hover.svg");
      opacity: 0;
    }

@media (min-width: 768px) {
        .topics-content .link-icon-arrow:hover::before, .topics-content .link-icon-arrow.active::before {
          opacity: 0;
        }

        .topics-content .link-icon-arrow:hover::after, .topics-content .link-icon-arrow.active::after {
          opacity: 1;
        }
    }

.topics-content .link-icon-new-window::before {
      background-image: url("/kanken/assets/image/common/ico-new-window-circle-xl.svg");
    }

.topics-content .link-icon-new-window::after {
      background-image: url("/kanken/assets/image/common/ico-new-window-circle-xl-hover.svg");
      opacity: 0;
    }

@media (min-width: 768px) {
        .topics-content .link-icon-new-window:hover::before, .topics-content .link-icon-new-window.active::before {
          opacity: 0;
        }

        .topics-content .link-icon-new-window:hover::after, .topics-content .link-icon-new-window.active::after {
          opacity: 1;
        }
    }

.topics-content .link-icon-pdf::before {
      background-image: url("/kanken/assets/image/common/ico-pdf-circle.svg");
    }

.topics-content .link-icon-pdf::after {
      background-image: url("/kanken/assets/image/common/ico-pdf-circle-hover.svg");
      opacity: 0;
    }

@media (min-width: 768px) {
        .topics-content .link-icon-pdf:hover::before, .topics-content .link-icon-pdf.active::before {
          opacity: 0;
        }

        .topics-content .link-icon-pdf:hover::after, .topics-content .link-icon-pdf.active::after {
          opacity: 1;
        }
    }

.topics-content .link-normal,
  .topics-content .link-nex-window,
  .topics-content .link-pdf {
    color: var(--color-dark);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: underline;
  }

@media (min-width: 768px) {
      .topics-content .link-normal:hover,
      .topics-content .link-normal.active,
      .topics-content .link-nex-window:hover,
      .topics-content .link-nex-window.active,
      .topics-content .link-pdf:hover,
      .topics-content .link-pdf.active {
        text-decoration: none;
      }
    }

.topics-content .link-nex-window {
    position: relative;
  }

.topics-content .link-nex-window::after {
      display: inline-block;
      width: 24px;
      height: 24px;
      margin-top: -5px;
      margin-left: 3px;
      background-image: url("/kanken/assets/image/common/ico-new-window.svg");
      background-repeat: no-repeat;
      background-size: contain;
      content: "";
      transform: translateY(5px);
    }

.topics-content .link-pdf {
    position: relative;
  }

.topics-content .link-pdf::after {
      display: inline-block;
      width: 24px;
      height: 24px;
      margin-top: -5px;
      margin-left: 3px;
      background-image: url("/kanken/assets/image/common/ico-pdf.svg");
      background-repeat: no-repeat;
      background-size: contain;
      content: "";
      transform: translateY(5px);
    }

.topics-content .label-01 {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 16px;
    background-color: var(--color-red);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.42857;
  }

.topics-content .label-02 {
    display: inline-flex;
    padding: 6px 16px;
    border-radius: 16px;
    background-color: var(--color-yellow);
    color: var(--color-dark);
    font-size: 0.875rem;
    font-weight: bold;
    line-height: 1.42857;
  }

.topics-content div:has(figure) {
    width: 100%;
    text-align: center;
  }

.topics-content div:has(figure) figure {
      display: inline-block;
    }

.topics-content div:has(figure) figure img {
        border-radius: 8px;
      }

.topics-content div:has(figure) figcaption {
      margin-top: 8px;
      color: var(--color-dark);
      font-size: 0.875rem;
      line-height: 1.42857;
      text-align: left;
    }

.topics-content .box-border {
    display: flex;
    flex-direction: column;
    padding: 23px 20px 23px 23px;
    border: 2px solid var(--color-dark);
    border-radius: 8px;
    background-color: var(--color-white);
    row-gap: 18px;
  }

.topics-content .box-border .title {
      font-size: 1.25rem;
      font-weight: bold;
      line-height: 1.25;
    }

@media (max-width: 767.98px) {

.topics-content .box-border .title {
        font-size: 1.125rem;
        line-height: 1.25
    }
      }

.topics-content .btn-back {
    text-decoration: none;
  }
