@charset "UTF-8";
/* modal */
.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
}
.modal__bg {
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}
.modal__content {
    background: #e5f2ff;
    left: 50%;
    padding: 25px 30px;
    position: fixed;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 60%;
    z-index: 100;
    border-radius: 3px;
}
a.modal__closebutton.js-modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
}
a.modal__closebutton.js-modal-close i {
    font-size: 2.3rem;
    padding: 3px;
    background: #FFF;
    border-radius: 50px;
}

/* toc */
dl#index {
position: relative;
    width: 100% !important;
    border-top: solid 5px;
    font-size: 0.95em;
    background: #f9f9f9;
    box-shadow: 0 1.5px 2.4px rgb(0 0 0 / 15%);
    border-color: #6bb6ff;
    margin: 20px auto 30px;
    box-sizing: border-box;
    padding: 25px 32px;
    display: table;
    min-width: 68%;
    counter-reset: li;
}
dl#index dt {
    font-weight: bold;
    font-size: 118%;
    padding: 0;
    color: #6bb6ff;
}
dl#index dt:before {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900;
    background-color: #6bb6ff;
    position: relative;
    display: inline-block;
    margin-right: 8px;
    border-radius: 50%;
    vertical-align: baseline;
    speak: none;
    -webkit-font-smoothing: antialiased;
    color: #fff;
    content: "\f0ca";
    width: 50px;
    height: 50px;
    font-size: 20px;
    text-align: center;
    line-height: 50px;
}
dl#index dt {
    padding: 0 0 20px;
    margin: 0 0 20px;
    border-bottom: 1px solid rgba(0,0,0,.1);
    list-style: none;
}
dd.lv_h2 {
    position: relative;
    margin: 0;
}
dd.lv_h2 a {
    position: relative;
    text-decoration: none;
    display: inline-block;
    line-height: 1.6;
    padding: 3px 0;
    margin: 5px 0;
    transition: all .3s ease;
    font-size: 1.05rem;
    font-weight: bold;
    margin-left: 42px;
    color: #5f7b96;
}
dd.lv_h2:before {
    content: '';
    display: inline-block;
    vertical-align: bottom;
    width: 32px;
    height: 32px;
    margin-right: 7px;
    border-radius: 16px;
    background-color: #6bb6ff;
    position: absolute;
    top: 5px;
    left: 0;
}
dd.lv_h2:after {
    counter-increment: li;
    content: counter(li);
    width: 32px;
    line-height: 32px;
    font-family: 'Avenir Next', 'Helvetica Neue', Arial, 'Meiryo','Yu Gothic', san-serif;
    font-weight: 400;
    text-align: center;
    color: #fff;
    position: absolute;
    top: 5px;
    left: 0;
}
dd.lv_h2 a:hover {
    text-decoration: none;
    box-shadow: 0 2px;
}
dd.lv_h3 {
    margin: 0;
    font-size: 0.95em;
    font-weight: normal;
}
dd.lv_h3 a {
    position: relative;
    font-size: 94%;
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    line-height: 1.6;
    padding: 3px 0;
    margin: 5px 0;
    transition: all .3s ease;
    margin-left: 40px;
    text-decoration: none;
    color: #5f7b96;
}
dd.lv_h3 a:before {
    position: relative;
    content: '\2023';
    display: inline-block;
    width: 14px;
    height: 28px;
    line-height: 28px;
    font-size: 40px;
    color: #c8e4ff;
    vertical-align: middle;
    margin-right: 7px;
}
dd.lv_h3 a:hover {
    text-decoration: none;
    box-shadow: 0 2px;
    padding-right: 4px;
}
.modaltoc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 90px;
    right: 18px;
    border-radius: 50px;
    opacity: 0.6;
}
.modaltoc:hover {
    opacity: 0.8;
}
.modaltoc i {
    width: 54px;
    height: 54px;
    line-height: 54px;
    text-align: center;
    font-size: 1.6rem;
}
dl#index::-webkit-scrollbar {
    width: 10px;
}
dl#index::-webkit-scrollbar-track {
    background: #fff;
    border-radius: 0px;
    box-shadow: inset 0 0 1px #999;
}
dl#index::-webkit-scrollbar-thumb {
    background: #FDEE7490;
    border-radius: 0px;
    box-shadow: none;
}
dl#index {
    counter-reset: li;
    height: 500px;
    overflow-y: scroll;
    border: solid 2px #063c71;
    margin: 0;
    background: #FFF;
    padding: 20px 25px;
}

@media screen and (max-width: 767px) {
/* （ここにモバイル用スタイルを記述） */
.modal__content {
    width: 92%;
    padding: 10px 10px;
    background: #d9ecff;
}
a.modal__closebutton.js-modal-close {
    top: -30px;
}
dl#index {
    height: 450px;
    overflow-y: scroll;
    background: #FFF;
    padding: 10px 15px;
    border: solid 2px #063c71;
    margin: 0;
}

dl#index dt {
    padding: 0 0 10px;
    margin: 0 0 10px;
}
.modaltoc {
    bottom: 80px;
    right: 10px;
}
}