.toc-contents section {
  width: 100%;
  max-width: 77rem;
  margin-inline: auto;
}

.tocBtn {
  display: none;
}

.js-toc-container {
  position: sticky;
  top: 13.8rem;
  margin-left: -5rem;
  align-self: flex-start;
  flex-shrink: 0;
  width: 30rem;
  padding: 5rem 3rem;
  background: #ffffff;
  border-radius: 2.5rem;
}

.js-toc-inner-container {
  padding: 0 2rem 0 5rem;
  overflow-y: auto;
  max-height: calc(100vh - 13.8rem - 3rem - 10rem);
  scrollbar-width: thin;
  scrollbar-color: #eeeeee #ffffff;
}

.js-toc {
  position: relative;
}

.js-toc > .toc-list::before {
  content: "";
  position: absolute;
  top: 1.0rem;
  bottom: 1.0rem;
  left: -2.9rem;
  width: 0.2rem;
  background: #f6f6f6;
}

.toc-list {
  list-style: none !important;
  padding: 0 !important;
  font-size: 1.4rem;
  line-height: 2.3rem;
  font-weight: 500;
}

.toc-list > .toc-list-item > .toc-list {
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 2.2rem;
}

.toc-link {
  position: relative;
  margin-bottom: 0.5rem !important;
  display: inline-block;
  transition-duration: 0.1s;
}

@media (hover: hover) {

.toc-link:hover {
  font-weight: 900;
  transition-duration: 0.1s;
}

}

.toc-link::before {
  top: 0.8rem;
  left: -3.5rem !important;
  width: 1.4rem !important;
  height: 1.4rem !important;
  border-radius: 50%;
  background: #e8e8e8 !important;
  border: 0.2rem solid #fff;
}

.toc-list > .toc-list-item > .toc-list .toc-link::before {
  top: 0.8rem;
  left: -3.3rem !important;
  width: 1.0rem !important;
  height: 1.0rem !important;
}

.is-active-link::before {
  background: #009E96 !important;
}

@media screen and (max-width: 959px) {

.tocBtn {
  display: block;
  position: fixed;
  top: 8.0rem;
  right: 0.9rem;
  background-color: #333333;
  color: #ffffff;
  font-size: 1.2rem;
  border-radius: 0.3rem;
  padding: 0.2rem 0.7rem 0.3rem;
  z-index: 3;
}

.js-toc-container {
  display: none;
  position: fixed;
  top: 7rem;
  left: 0;
  right: 0;
  margin-left: 0;
  width: auto;
  padding: 1rem 2rem 2rem;
  border-radius: 0;
  z-index: 3;
}

.js-toc-inner-container {
  padding: 0 1rem 1rem 4rem;
  height: calc(100vh - 7.0rem - 4.9rem - 3.0rem);
  max-height: calc(100vh - 7.0rem - 4.9rem - 3.0rem);
}

.js-toc-container .fas { /* 閉じるアイコン */
  position: absolute;
  top: 1.5rem;
  right: 3.0rem;
}

}

