@charset "utf-8";

/*========= ナビゲーションのためのCSS ===============*/

@media only screen and (max-width: 991px) {

    .hamburger_menu_nav ul{
        display: block;
        text-align: left;
    }

    
    .hamburger_menu_nav ul li a{
        padding-left:0 !important;
    }

    .hamburger_menu_nav{
        padding: 130px 0 0 30px;
    }

    .hamburger_menu_nav img{
        padding-bottom: 30px;
    }
    }


#g-nav{
    position:fixed;
    z-index: 2;
    top:0;
    right: -120%;
    width:30%;
    padding: 6% 3%;
    height: 100vh;
    background:var(--blue);
    transition: all 0.6s;
}

#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav .nav {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    padding: 0;
}

/*リストのレイアウト設定*/

#g-nav li{
    list-style: none;
    text-align: left;
}

#g-nav li a{
    color: #fff;
    text-decoration: none;
    padding:10px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: bold;
}



/*========= ボタンのためのCSS ===============*/
.openbtn{
    position:fixed;
    right: 0;
    top: 20px;
    background:rgba(255,255,255,1.0);
    cursor: pointer;
    width: 70px;
    height: 70px;
    z-index: 3;
    border-radius: 6px 0 0 6px;
}


/*ボタン内側*/
.openbtn span{
    display: inline-block;
    transition: all .4s;/*アニメーションの設定*/
    position: absolute;
    left: 18px;
    height: 18px;
    border-radius: 0;
    background: #fff;
    width: 50%;
}

.openbtn span:nth-of-type(1) {height:5px; border-radius: 1px; top:18px; background: var(--orange);}
.openbtn span:nth-of-type(2) {height:5px; border-radius: 1px; top:31px; background: var(--orange);}
.openbtn span:nth-of-type(3) {height:5px; border-radius: 1px; top:45px; background: var(--orange);}





/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.openbtn.active span:nth-of-type(1) {
    top: 24px;
    left: 14px;
    transform: translateY(6px) rotate(-45deg);
    width: 65%;
}

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

.openbtn.active span:nth-of-type(3){
    top: 36px;
    left: 14px;
    transform: translateY(-6px) rotate(45deg);
    width: 65%;
}


.hamburger_menu ul li img{
    width: 200px;
}





/*------------------------------------------------------------
レスポンシブ
------------------------------------------------------------*/


/* 1400px以下
------------------------------------------------------------*/



@media only screen and (max-width: 767px){
    #g-nav{
        width:100%;
    }
}



@media only screen and (max-width: 575px){

    .openbtn {
    position: fixed;
    right: 0;
    top: 0;
    background: rgba(255, 255, 255, 1.0);
    cursor: pointer;
    width: 70px;
    height: 70px;
    z-index: 3;
    border-radius: 0;
}

}