@media (min-width: 768px) {
  .sp-only {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .pc-only {
    display: none !important;
  }
}
.contents-toc {
  counter-reset: outline-num;
  display: grid;
  gap: 15px;
  margin-top: 20px;
}
.contents-toc a {
  display: block;
  font-weight: bold;
  padding: 0 0 2px 36px;
  position: relative;
  margin-bottom: 15px;
}
.contents-toc a::before {
  background-color: #1E63C2;
  border-radius: 50%;
  color: #fff;
  content: counter(outline-num);
  counter-increment: outline-num;
  display: grid;
  height: 30px;
  left: 0;
  padding-bottom: 2px;
  place-content: center;
  position: absolute;
  top: 0;
  width: 30px;
}

.cozy_content > figure,
.cozy_content > p,
.cozy_content > ul,
.cozy_content > ol,
.cozy_content > table {
  margin-block: 40px;
}
.cozy_content > h2::before,
.cozy_content > h3::before {
  content: "";
  display: block;
  padding-top: 40px;
  margin-top: -40px;
}
@media (max-width: 767px) {
  .cozy_content > h2::before,
  .cozy_content > h3::before {
    padding-top: 20px;
    margin-top: -20px;
  }
}
.cozy_content > h2 {
  font-size: 32px;
  font-weight: var(--font-weight-base);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-block: 60px 40px;
  text-align: center;
}
@media (max-width: 767px) {
  .cozy_content > h2 {
    font-size: 24px;
    letter-spacing: 0.05em;
  }
}
.cozy_content > h2::after {
  background-color: var(--light-color);
  content: "";
  display: block;
  height: 1px;
  margin: 15px auto 0;
  width: 80px;
}
@media (max-width: 767px) {
  .cozy_content > h2::after {
    margin-top: 10px;
    width: 60px;
  }
}
.cozy_content > h3 {
  color: var(--light-color);
  font-size: 24px;
  font-weight: var(--font-weight-base);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-block: 40px -20px;
}
@media (max-width: 767px) {
  .cozy_content > h3 {
    font-size: 20px;
    letter-spacing: 0.05em;
  }
}
.cozy_content > h4 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.6;
  margin-block: 40px -25px;
}
.cozy_content > figure {
  text-align: center;
}
.cozy_content > p {
  line-height: 1.8;
}
.cozy_content > p + p {
  margin-top: -15px;
}
.cozy_content > ul li {
  line-height: 1.6;
  margin-top: 1em;
  padding-left: 1em;
  position: relative;
}
.cozy_content > ul li::before {
  background-color: var(--light-color);
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 8px;
}
.cozy_content ol {
  counter-reset: outlineNum 0;
}
.cozy_content > ol {
  width: 100%;
}
.cozy_content > ol li {
  line-height: 1.6;
  margin-top: 1em;
  padding-left: 1em;
  text-indent: -1em;
}
.cozy_content > ol li::before {
  color: var(--light-color);
  counter-increment: outlineNum 1;
  content: counters(outlineNum, "-") ".";
  flex-shrink: 0;
}
.cozy_content > ol ol li {
  padding-left: 2em;
  text-indent: -2em;
}
.cozy_content > p > a {
  color: var(--main-color);
}
@media (any-hover: hover) {
  .cozy_content > p > a {
    transition: color 0.3s;
  }
  .cozy_content > p > a:hover {
    color: var(--light-color);
  }
}
.cozy_content > p > a[target=_blank] {
  background: url(/assets/img/ico-window-main.svg) right 0.25em/1em no-repeat;
  border-bottom: 1px solid;
  padding-right: 1.25em;
  position: relative;
}
.cozy_content > p > a[target=_blank]::before {
  background: url(/assets/img/ico-window-light.svg) center/contain no-repeat;
  content: "";
  height: 1em;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0.25em;
  transition: opacity 0.3s;
  width: 1em;
}
@media (any-hover: hover) {
  .cozy_content > p > a[target=_blank]:hover:before {
    opacity: 1;
  }
}
.cozy_content > table {
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  table-layout: fixed;
}
.cozy_content > table th,
.cozy_content > table td {
  border-left: 1px solid var(--border-color);
  border-top: 1px solid var(--border-color);
  line-height: 1.6;
  padding: 1em 0.5em;
  text-align: center;
}
@media (max-width: 767px) {
  .cozy_content > table th,
  .cozy_content > table td {
    font-size: 14px;
  }
}
.cozy_content > table th {
  font-weight: var(--font-weight-base);
}
.cozy_content > table thead th {
  background-color: var(--base-color);
}