/* -------------------------------------------------------------------- */
/* バーガーメニューの実装																								*/
/* -------------------------------------------------------------------- */
#nav-drawer{
	position: relative;
}

/* チェックボックス等は非表示																						*/
.nav-unshown{
	display:none;
}

/* アイコンのスペース																										*/
#nav-open{
/*	display: inline-block;*/
	width: 30px;
	height: 22px;
	vertical-align: middle;
	padding: 12px;
	margin-right: 10px;
}

/* ハンバーガーアイコンをCSSだけで表現																	*/
/*
#nav-open span, #nav-open span:before, #nav-open span:after{
	position: absolute;
	height: 3px;
	width: 25px;
	border-radius: 3px;
	background: #555;
	display: block;
	content: '';
	cursor: pointer;
}
*/
/*
#nav-open span:before{
	bottom: -8px;
}

#nav-open span:after{
	bottom: -16px;
}
*/
/* 閉じる用の薄黒カバー																									*/
#nav-close{
	display: none;
	position: fixed;
	z-index: 999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
/*	background: black;*/
	background: white;	/* 黒ではなく白に */
	opacity: 0;
	transition: .3s ease-in-out;
}

/* チェックが入ったらもろもろ表示																				*/
#nav-input:checked ~ #nav-close{
	display: block;
/*	opacity: .5;*/
	opacity: .0; /* 背景黒カバーを使わない(黒くしない) */
}

#nav-input:checked ~ #nav-content{
	-webkit-transform: translateX(0%);
	transform: translateX(0%);
	box-shadow: 6px 0 25px rgba(0,0,0,.15);
	opacity: 0.95;
}

/* コンテンツ部																													*/
#nav-content{
	overflow: auto;
	position: fixed;
	top: 5px;
	right: 0;
	z-index: 9999;
	width: 100%;
	max-width: 280px;
	height: 520px;
	background: #fff;
	border-radius: 15px 0px 0px 15px;
	transition: .3s ease-in-out;
	-webkit-transform: translateX(100%);
	transform: translateX(100%);
	opacity:1;
}

/* コンテンツ部コンテナ																									*/
#nav-content > .container{
	width: 230px;
	min-width: 230px !important;
	height: 100%;
	background-color: #FFFFFF;
}

#nav-content > .container > .title{
	height: 70px;
	width: 100%;
	line-height: 70px;
	font-size: 20px;
	text-align: left;
	background-color: #FFF;
	color: #777777;
	padding-left: 0em;
	font-weight: bold;
}

#nav-content > .container > .split{
	border-top: 1px solid #ccc;
	margin-top: 10px;
	padding-top:10px;
}

#nav-content > .container ul{
	width: 230px;
	margin: 25px 0px 0px 0px;
}

#nav-content > .container ul > li{
	text-align: left;
	min-height: 30px;
	width: 100%;
	font-size: 13px;
	font-weight: 600;
	padding-left: 0em;
	border-top: 1px solid #500000;
}

#nav-content > .container ul > li:last-child{
	border-bottom: 1px solid #500000;
}

#nav-content > .container ul > li > a{
	text-decoration: none;
	height: auto;;
	width: 100%;
	line-height: 1.3em;
	padding: 15px 10px 15px 5px;
	display: block;
}
/*
#nav-content > .container ul > li > a:before{
	content: '';
	border-left: 1em solid rgba(30,90,230,0.2);
	padding-right: 0.5em;
}
*/
#nav-content > .container ul > li > ul > li > a:before{
	content: '';
	border: none;
	padding-right: 0;
}

#nav-content > .container ul > li > ul > li > a{
	text-decoration: none;
	height: auto;;
	width: 100%;
	line-height: 1.3em;
	padding: 15px 10px 15px 0px;
	padding-left: 2.5em;
	display: block;
	font-size: 16px;
}

#nav-content > .container ul > li > a:link,
#nav-content > .container ul > li > a:visited{
	color: #500000;
}

#nav-content > .container ul > li > a:hover{
/*	background-color: #F2F2F2;*/
	background-color: rgba(217,228,241,1.0);
}

/*
.close-btn{
	display: block;
	width: 25px;
	height: 25px;
	background: transparent;
	position: absolute;
	top: 25px;
	right: 18px !important;
	cursor: pointer;
}
.close-btn::before, .close-btn::after{
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background: #777777;
	transform: rotate(45deg);
	transform-origin:0% 50%;
	position: absolute;
	top: calc(15% - 3px);
	left: 14%;
}
.close-btn::after{
	transform: rotate(-45deg);
	transform-origin:100% 50%;
	left: auto;
	right: 14%;
}
*/


.checkbox-image::before{
	content: '';
	display: inline-block;
	width: 55px;
	height: 55px;
	background-image: url('../img/menu_btn.png');
	background-size: cover;
	position: absolute;
	right: -5px;
	top: 10px;
}

input[type="checkbox"]:checked + .checkbox-image::before {
	background-image: unset;
}

.close-btn{
	position: relative;
}
.close-btn::before{
	content: '';
	display: inline-block;
	width: 55px;
	height: 55px;
	background-image: url('../img/menu_btn2.png');
	background-size: cover;
	position: absolute;
	right: -20px;
	top: 5px;
}

@media screen and (max-width: 720px){
	.checkbox-image::before{
		content: '';
		display: inline-block;
		width: 50px;
		height: 50px;
		background-image: url('../img/menu_btn.png');
		background-size: cover;
		position: absolute;
		right: -5px;
		top: 8px;
	}

	input[type="checkbox"]:checked + .checkbox-image::before {
		background-image: unset;
	}

	.close-btn{
		position: relative;
	}
	.close-btn::before{
		content: '';
		display: inline-block;
		width: 50px;
		height: 50px;
		background-image: url('../img/menu_btn2.png');
		background-size: cover;
		position: absolute;
		right: -20px;
		top: 4px;
	}
}
