
/* サイドバー目次 */
html {
    scroll-behavior: smooth;
}

#sideber-toc {
    position: sticky;
    top: 32px;
    opacity: 0;
    transition: opacity 0.7s ease;
}

#sideber-toc.show {
    opacity: 1;
}

.article-relation .hidden {
    display: none;
}

.sideber-toc-inner {
    border-radius: 4px;
}

.sideber-toc-inner h3 {
    color: #383838;
    font-weight: 100;
    font-size: 130%;
    margin-bottom: 16px;
    padding: 5px 0px 5px 10px;
    border-left: 0;
    border: none;
}

.sideber-toc-inner ul>li::before {
    content: none;
    background: none!important;
}

#sideber-toc-nav {
    margin: 0;
}

#sideber-toc-nav li {
    margin-top: 0.3rem;
    padding-left: 0;
    border-radius: 4px;
    background: #ffffff;
}

#sideber-toc-nav li a {
    padding: 0.5rem;
    display: block;
    line-height: 1.4rem;
    text-decoration: none;
}

#sideber-toc-nav li:hover {
    background: #E1F0F8;
}

#sideber-toc-nav li.is-active {
    background: #20AEE5;
}

#sideber-toc-nav li.is-active a {
    color: #ffffff;
}

#sideber-toc .btn {
    display: block;
    margin-top: 1rem;
    padding: 0.8rem 0;
    border: solid #BDC3C4 1px;
    border-radius: 4px;
    text-align: center;
    line-height: 1rem;
    text-decoration: none;
}

#sideber-toc .sideber-login {
    color: #fff;
    background-color: #FF9700;
    border: none;
    font-weight: bold;
    position: relative;
}

#sideber-toc  a.sideber-login::after {
    content: "";
    display: inline-block;
    line-height: 1;
    position: absolute;
    right: 1rem;
    top: -100%;
    bottom: -100%;
    font-size: 1rem;
    height: 1rem;
    width: 1rem;
    margin: auto;
    background: url(https://theme.zdassets.com/theme_assets/532076/0066370a55eda6f790e451cb59538b2be706d0e0.svg) center center no-repeat transparent;
}

#sideber-toc .sideber-login a:hover  {
    color: #ff9701;
    border: 1px solid #ff9701;
    background-color: transparent;
}

@media (max-width: 1024px) {
    #sideber-toc {
        display: none;
    }
}
