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

#g-nav{
    position:fixed;
    z-index: 9998;
	top:0;
    right: -120%;
	width: 100%;
    height: 100vh;/*ナビの高さ*/
	background-color: rgba(255, 255, 255, .7);
    /** backdrop-filter: blur(6px);**/
    /** -webkit-backdrop-filter: blur(6px); **/
	transition: ease-in-out 0.6s;
    transition-delay: 0.3s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
    transition: all 0.6s;
}

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

/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    width: 100%;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

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

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

#g-nav li a{
	color: #47545D;
	text-decoration: none;
	padding:10px;
	display: inline;
    line-height: 44px;
	/**text-transform: uppercase;**/
	letter-spacing: 0.1em;
	font-weight: bold;
    position: relative;
}

#g-nav li a:hover::after {
    transform: scale(1, 1);
}
#g-nav li.online a:hover::after {
    transform: scale(0, 1);
}

#g-nav li a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #666;
    transform: scale(0, 1);
    transform-origin: center top;
    transition: transform .5s;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
    background-color: rgba(255, 255, 255, .2);
    border-radius: 50%;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 1px;
    border-radius: 2px;
	background-color: #333;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:20px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
    display: none;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

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

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

.openbtn.active{
    background-color: rgba(255, 255, 255, 0);
    border-radius: 0;
}





/*----------------------------------------------------
レスポンシブ用
----------------------------------------------------*/
@media screen and (min-width:767px) {
    #g-nav{
        right: 0;
        width: 100%;
        height: auto;
        background-color: inherit;
        backdrop-filter: none;
    }

    #g-nav ul{
        position: unset;
        transform: none;
        width: 65%;
        margin: 20px auto 0;
        display: flex;
        justify-content: space-between;
        filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, .8));
    }

    #g-nav li.online{
        flex-basis: 50%;
        font-size: 2.0rem;
        text-decoration: underline;
    }
    #g-nav li a{
        font-weight: 400;
    }

    .openbtn{
        display: none;
    }
}

@media screen and (min-width:479px) {


}
