/*===================================
スマホ用ナビドロワー
===================================*/
/*アイコンの位置を決定*/
#nav-drawer {
	position: fixed;
	z-index: 99999;
	top: 16px;
	right: 3%;
}
/*チェックボックス等は非表示に*/
.nav-unshown {
	display: none;
}
/*アイコンのクリック範囲*/
#nav-open {
	display: inline-block;
	vertical-align: middle;
	width: 36px;
	height: 40px;
}
/*「MENU」の文字*/
#nav-open .nav-txt {
	margin-bottom: 5px;
	font-size: 10px;
	font-weight: bold;
	line-height: 1;
	text-align: center;
	color: #9d8fa4;
	display: block;
}
/*ハンバーガーアイコン*/
#nav-open span.menu-border,
#nav-open span.menu-border:before,
#nav-open span.menu-border:after {
	position: absolute;
	content: '';
	display: block;
	height: 3px; /*線の太さ*/
	width: 36px; /*線の長さ*/
	border-radius: 3px;
	background: #9d8fa4;
	cursor: pointer;
}
#nav-open span:before {
	bottom: -8px;
}
#nav-open span:after {
	bottom: -16px;
}
/*ドロワーの背景*/
#nav-close {
	position: fixed;
	display: block;
	visibility: hidden;	/*はじめは隠しておく*/
	z-index: 99;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: #777a8275;
	opacity: 0;
	-webkit-transition: all 0.5s 0s ease;
	transition: all 0.5s 0s ease;
}
/*閉じる用の×ボタン*/
#nav-close::after {
	position: absolute;
	content: "";
	background: url(../img/nav_close.png)center/contain no-repeat;
	width: 32px;
	height: 118px;
	top: 200px;
	right: 85%;
}
/*ドロワーの中身*/
#nav-content {
	position: fixed;
	z-index: 9999; /*最前面に*/
	overflow: auto;
	top: 0;
	right: 0;
	width: 80%;
	/*左側に隙間を作る（ドロワーの背景を表示）*/
	height: 100%;
	background: #fff;	/*背景色*/
	-webkit-transition: .3s ease-in-out;
	transition: .3s ease-in-out;
	/*滑らかに表示*/
	-webkit-transform: translateX(105%);
	transform: translateX(105%);
	/*右に隠しておく*/
	padding: 50px 0;
	/*
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	*/
}
/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
	visibility: visible;
	/*背景を表示*/
	opacity: 1;
}
#nav-input:checked ~ #nav-content {
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	/*中身を表示（左へスライド）*/
	-webkit-box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
	box-shadow: 6px 0 25px rgba(0, 0, 0, .15);
}
/*メニュー内容*/
#nav-content #nav-drawer-menu > li {
	padding: 4px 6%;
	text-align: center;
	border-bottom: 1px solid #ddd;
}
#nav-content #nav-drawer-menu > li a {
	display: block;
	padding: 4px 0 4px 0;
	text-decoration: none;
	text-align: left;
	font-size: 18px;
	font-weight: bold;
	color: #345e4c;
	line-height: 1.5;
}
/*サブメニュー*/
#nav-content #nav-drawer-menu li .pull {
	padding-top: 10px;
	padding-bottom: 10px;
}
#nav-content #nav-drawer-menu li .pull li {
	float: left;
	width: 50%;
	padding: 3px 10px;
}
#nav-content #nav-drawer-menu li .pull li a {
	color: #9d8fa4;
	font-size: 16px;
	padding: 0;
}
