@charset "UTF-8";
/* CSS Document */

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:100%;
    height: 100vh;/*ナビの高さ*/
	background:#F8FAFC;
	background-image: url("../img/drawer_bg.svg");
	background-position: left bottom;
	background-size: 15%;
	background-repeat: no-repeat;
    /*動き*/
	transition: all 0.6s;
}

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


/*ナビゲーション*/
#g-nav div.g-nav_inner {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
	width: 100%;
	height:100%;
}
#g-nav .drawer_header{
	height:100px;
	width: 100%;
	padding: 20px;
}
#g-nav .drawer_header img{
	height:30px;
	width:auto;
}

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

#g-nav li{
	list-style: none;
    text-align:left;
}
#g-nav .g-nav_inner .drawer_inner{
	flex-direction: column;
	padding:100px;
	max-width: 960px;
	margin: 0 auto;
}
#g-nav .g-nav_inner .drawer_inner .drawer_menu{
	gap:50px;
	padding-bottom: 40px;
}
#g-nav li a{
	position: relative;
	color: #333;
	text-decoration: none;
	padding:10px 10px 10px 40px ;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight:500;
	font-size: 24px;
}
#g-nav  li a:before {
	display: inline-block;
	content: "";
	position: absolute;
	left:0;
	top:32px;
	width: 30px;
	height: 1px;
	background-color:#194B9B;
}
#g-nav .drawer_contact{
	gap:60px;
	align-items: center;
	padding-top: 40px;
}
#g-nav .drawer_contact div{
	flex:1;
}
#g-nav .drawer_contact h3{
	font-size: 30px;
	margin-bottom: 30px;
	font-weight: 500;
}
#g-nav .drawer_contact p{
	font-size: 15px;
	color: #333333;
	line-height: 1.85;
}

@media screen and (max-width: 767px){
	#g-nav{
		background-size: 40%;
	}
	#g-nav .g-nav_inner .drawer_inner{
		padding: 50px;
	}
	#g-nav .g-nav_inner .drawer_inner .drawer_menu{
		flex-direction: column;
		gap:0;
	}
	#g-nav li a{
		font-size: 18px;
	}
	#g-nav .drawer_contact{
		flex-direction: column;
		gap:20px;
	}
	#g-nav .drawer_contact div{
		width: 100%;
	}
	#g-nav .drawer_contact h3{
		font-size: 24px;
	}
	#g-nav .drawer_contact p{
		font-size: 14px;
	}
	#g-nav  li a:before {
	top:24px;
}
}