/* ====================================================
  ドロワー
====================================================*/
.sticky-toc-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 30.45rem;
  height: 100%;
  background-color: #fff;
  transform: translate(30.45rem);
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  z-index: 1000;
}
.sticky-toc-drawer.open {
  transform: translate(0);
}
.sticky-toc-close {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
  margin-left: auto;
}
.sticky-toc-close img {
  width: 100%;
  height: auto;
}
.sticky-toc-drawer-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  z-index: 7;
}
.sticky-toc-drawer-bg.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}
.sticky-toc-btn {
  display: none;
}
.sticky-toc-btn.view-on {
  display: block;
}
/* ランドスケープ時に追従メニューを非表示 */
@media screen and (orientation: landscape) and (-webkit-min-device-pixel-ratio: 1.5) {
  .sticky-toc-btn.view-on {
    display: none;
  }
}
.sticky-toc-btn a {
  position: fixed;
  display: flex;
  top: var(--position-topside-fixed);
  right: 6rem;
  align-items: center;
  justify-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 1.5px solid #c37a3f;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.92);
  color: #c37a3f;
  box-shadow: 1.7px 1.7px 7px 0.7px rgba(0, 0, 0, 0.3);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 6;
}
@media screen and (min-width: 1366px){
  .drawer-open .drawer-nav {
    z-index: 9;
  }
}
/* ====================================================
  追従目次
====================================================*/
.sticky-toc {
  width: 30.45rem;
  padding: 1.3rem 1.5rem;
}
.sticky-toc_ttl {
  display: flex;
  align-items: center;
  margin-bottom: 2.8rem;
  font-size: 1.4rem;
}
.sticky-toc-list-wrap {
  max-height: 85.9vh;
  overflow-y: auto;
}
.sticky-toc-list {
  position: relative;
}
.sticky-toc-list::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0;
  bottom: 0;
  width: 1px;
  height: calc(100% - 3.2rem);
  margin: auto 0;
  background-color: #ddd;
}
.sticky-toc-list a {
  display: flex;
  align-items: center;
  margin-bottom: 2.2rem;
  font-size: 1.4rem;
  font-weight: 600;
}
.sticky-toc-list a::before {
  content: "";
  flex: none;
  position: relative;
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-right: 1rem;
  background-color: #ccc;
  border-radius: 50%;
  z-index: 1;
}
.sticky-toc-list a.current::before {
  background-color: #c37a3f;
}
.sticky-toc-list .current {
  color: #c37a3f;
}