﻿#globalNavigationForLeftMenu #nav_btn {
    cursor: pointer;
    position: fixed;
    width: 80px;
    height: 80px;
    box-sizing: border-box;
    z-index: 99999;
}

    #globalNavigationForLeftMenu #nav_btn span {
        display: inline-block;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        width: 37px;
        height: 3px;
        transition: all .3s;
    }

        #globalNavigationForLeftMenu #nav_btn span:nth-of-type(1) {
            top: 20px;
        }

        #globalNavigationForLeftMenu #nav_btn span:nth-of-type(2) {
            top: 32px;
        }

        #globalNavigationForLeftMenu #nav_btn span:nth-of-type(3) {
            top: 44px;
        }

    #globalNavigationForLeftMenu #nav_btn small {
        position: absolute;
        bottom: 5px;
        width: 100%;
        font-size: 0.8rem;
        text-align: center;
        letter-spacing: 2px;
    }

    #globalNavigationForLeftMenu #nav_btn.active span:nth-of-type(1) {
        top: 32px;
        transform: rotate(-45deg);
    }

    #globalNavigationForLeftMenu #nav_btn.active span:nth-of-type(2) {
        opacity: 0;
    }

    #globalNavigationForLeftMenu #nav_btn.active span:nth-of-type(3) {
        top: 32px;
        transform: rotate(45deg);
    }

    #globalNavigationForLeftMenu #nav_btn:hover {
        text-decoration: underline;
        top: 15px;
        left: 15px;
    }


#globalNavigationForLeftMenu .nav_container {
    position: fixed;
    display: none;
}

    #globalNavigationForLeftMenu .nav_container #nav {
        position: absolute;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #globalNavigationForLeftMenu .nav_container #nav2 {
        position: absolute;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #globalNavigationForLeftMenu .nav_container #nav3 {
        position: absolute;
        overflow-x: hidden;
        overflow-y: auto;
    }


    #globalNavigationForLeftMenu .nav_container ul {
    }

        #globalNavigationForLeftMenu .nav_container ul li {
            flex-basis: 100%;
        }

            #globalNavigationForLeftMenu .nav_container ul li a {
                display: inline-block;
                padding: 15px 10px 15px 30px;
                text-decoration: none;
                background-size: auto 17px;
            }

            #globalNavigationForLeftMenu .nav_container ul li + li {
                border-top-style: solid;
                border-top-width: 1px;
            }

            #globalNavigationForLeftMenu .nav_container ul li:first-child {
                border-top-style: solid;
                border-top-width: 1px;
            }

            #globalNavigationForLeftMenu .nav_container ul li:last-child {
                border-bottom-style: solid;
                border-bottom-width: 1px;
            }

            #globalNavigationForLeftMenu .nav_container ul li a.active {
            }


@media only screen and (min-width:801px) {
    #globalNavigationForLeftMenu #nav_btn {
        top: 14px;
        left: 14px;
    }

    #globalNavigationForLeftMenu .nav_container {
        top: 0;
    }

        #globalNavigationForLeftMenu .nav_container #nav {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            top: 0;
            left: 110px;
            width: 315px;
            height: 100vh;
            z-index: 99997;
        }

        #globalNavigationForLeftMenu .nav_container #nav2 {
            display: none;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            top: 0;
            left: 425px;
            width: 315px;
            height: 100vh;
            z-index: 99998;
        }

        #globalNavigationForLeftMenu .nav_container #nav3 {
            display: none;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            top: 0;
            left: 740px;
            width: 315px;
            height: 100vh;
            z-index: 99999;
        }

        #globalNavigationForLeftMenu .nav_container ul {
            margin: auto;
            width: 90%;
        }

            #globalNavigationForLeftMenu .nav_container ul li a:hover {
                text-decoration: underline;
            }
}

@media only screen and (max-width:800px) {
    #globalNavigationForLeftMenu #nav_btn {
        top: 0px;
        right: 0px;
    }

    #globalNavigationForLeftMenu .nav_container {
        width: 100%;
        top: 84px;
        left: 0px;
    }

        #globalNavigationForLeftMenu .nav_container #nav {
            display: block;
            top: 0;
            left: 0px;
            width: 100%;
            height: 100vh;
            z-index: 99999;
        }

        #globalNavigationForLeftMenu .nav_container #nav2 {
            display: none;
            top: 0;
            left: 0px;
            width: 100%;
            height: 100vh;
            z-index: 99998;
        }

        #globalNavigationForLeftMenu .nav_container #nav3 {
            display: none;
            top: 0;
            left: 0px;
            width: 100%;
            height: 100vh;
            z-index: 99997;
        }

        #globalNavigationForLeftMenu .nav_container ul {
            margin: 0px auto;
            width: 100%;
        }
}

/* 展開するのに横幅が足りない場合は、非表示 */
@media only screen and (max-width:1054px) {
    #globalNavigationForLeftMenu .nav_container #nav3 {
        display: none !important;
    }
}

@media only screen and (max-width:739px) {
    #globalNavigationForLeftMenu .nav_container #nav3 {
        display: none !important;
    }
}
