/* ==========================================
 Sub page
============================================*/

.sub {
  padding-top: 3%;
  font-size: 16px;
  line-height: 1.8;
}

:where(.sub) .container {
}

:where(.sub) .page-title {
  font-size: 1.7em;
  text-align: center;
  line-height: 1.6;
  color: var(--bs-black);
  margin-bottom: 4%;
  font-weight: bold;
  text-shadow: 1px 1px #c3c3c3;
}

:where(.sub) .page-title::after {
  content: attr(data-suffix);
  display: block;
  font-size: 50%;
  opacity: 0.7;
  color: silver;
  font-weight: normal;
  text-shadow: none;
}

:where(.sub) .contents__table {
  max-width: 1000px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4%;
}

:where(.sub) .contents__title {
  caption-side: top;
  padding: 1em;
  margin-bottom: 2em;
  color: #fff;
  background-color: var(--color-primary);
  font-weight: bold;
  letter-spacing: 0.05em;
}

:where(.sub) .contents__table :is(th, td) {
  border: none;
  display: block;
  padding: 2em 0.5em;
}

:where(.sub) .contents__table th {
  background-color: var(--bs-light);
  position: relative;
  padding: 1em 1em;
}

:where(.sub) .contents__table th::before,
:where(.sub) .contents__table th::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: silver;
}

:where(.sub) .contents__table th::after {
  width: 25%;
  background-color: var(--color-primary);
}

:where(.sub) .contents__table :is(ol, ul, p) {
  margin-top: 0;
  margin-bottom: 1.5em;
}

:where(.sub) .contents__table :is(ol, ul) {
  list-style: decimal;
  padding-left: 1.2em;
  padding-right: 0;
  margin-left: 0.2em;
  margin-bottom: 1em;
}

:where(.sub) .contents__table :is(ol, ul, p):last-child {
  margin-bottom: 0;
}
