#nav-drawer{
    position: relative;
}

.nav-unshown{
    display:none;
}

/*閉じる用の薄黒カバー*/
#nav-close{
    display: none;
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
    transition: .3s ease-in-out;
}

/*中身*/
#nav-content{
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9999;
    width: 60%;
    max-width: 330px;
    height: 100%;
    background: #ecefee;
    opacity: 0.90;
    transition: .3s ease-in-out;
    -webkit-transform: translateX(-105%);
    transform: translateX(105%);
    -webkit-overflow-scrolling: touch;
}

#nav-content ul {
    padding-top: 60px;
    color: black;
    list-style: none;
    font-size: .9rem;
    font-weight: 500;
}

#nav-content li a{
    display: inline-block;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    padding: 0 20px;
    width: 100%;
}
#nav-content li a:hover{
    background: rgba(0,0,0,.2);
}
#nav-content li [class^="fa"]{
    margin-right: .4em;

}

#nav-input:checked ~ #nav-close{
    display: block;
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateX(0%);
    transform: translateX(0%);
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}
.header-line{
    border-bottom: 1px solid #0d0f17;
    height: 20px;
}

/*** tblet ***/
@media screen and (max-width: 959px) {
}

/*** sp ***/
@media screen and (max-width: 519px) {
    #nav-content ul{
       padding: 1.2rem 0 20px;
    }

}
