@charset "utf-8";

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

#global-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position: fixed !important;
    z-index: 888;
    /*ナビのスタート位置と形状*/
	top: 0;
    right: -120%;
	width: 70%;
    height: 100vh;/*ナビの高さ*/
	background-color: rgba(255, 255, 255, 0.25);
	backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
    /*動き*/
	transition: all 0.6s;
}



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

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

/*ナビゲーション*/
#global-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 888;
    top: 10%;
    left: 0%;
	width: 100%;
}

/*キャプション*/
.menu-item-description {
    display: block;
	font-size: 1.2rem;
	font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
	font-weight: 300;
	margin-top: -10px;
	font-style: normal;
}



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

#global-nav li{
	list-style: none;
    text-align: left;
	padding-left: 40px;
	
}

#global-nav li a{
	color: #272727;
	text-decoration: none;
	padding: 5px ;
	display: block;
	font-family: "arya-single", sans-serif;
	font-weight: lighter;
	font-style: italic;
	font-size: 3.3rem;
	line-height: 1.4;
}


/*========= ボタンのためのCSS ===============*/
.openbtn{
	position: absolute;
    z-index: 900;/*ボタンを最前面に*/
	top: 25px;
	right: 25px;
	cursor: pointer;
    width: 50px;
    height:50px;
	background: #ffffff;
	border-radius: 50%;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #272727;
  	width: 45%;
  }

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

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

.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%;
}




@media screen and (min-width: 740px) {
	
	#global-nav{
		width: 50%;
	}
	
	#global-nav li a{
		font-size: 4.3rem;
		line-height: 1.4;
		padding: 6px;
	}
	
	.menu-item-description{
		font-size: 1.5rem;
	}
	.openbtn{
	right: 30px;
	}	
	
	#global-nav li{
	padding-left: 70px;
	}



}

@media screen and (min-width: 1250px) {
	
	#global-nav{
		width: 30%;
	}
	
	#global-nav li{
	padding-left: 80px;
		
		padding-bottom: 7px;
	}
	
	#global-nav li a{
		font-size: 4.6rem;
		line-height: 1.2;
	}
	

}