@charset "utf-8";
#drawerBox {
	position: relative;
	display: none;
}

.drawerHide { display:none; }

#drawerOpen {
	display: inline-block;
	/*
	width: 30px;
	height: 22px;
	*/
	width: 40px;
	height: 38px;
	vertical-align: middle;
	position: fixed;
	top: 2rem;
	right: 2rem;
	z-index: 1000;
}
	#drawerOpen span:nth-child(1),
	#drawerOpen span:nth-child(2),
	#drawerOpen span:nth-child(3) {
		content: '';
		position: absolute;
		height: 5px;
		width: 40px;
		border-radius: 3px;
		background: rgba(7, 57, 126, 1);
		display: block;
		cursor: pointer;
		transition: all 0.3s;
		box-shadow: 0 0 3 rgba(255, 255, 255, 0.7);
	}
	#drawerOpen span:nth-child(1) { bottom: 0px; }
	#drawerOpen span:nth-child(2) { bottom: 16px; }
	#drawerOpen span:nth-child(3) { bottom: 32px; }

#drawerClose {
	display: none;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(255, 255, 255, 1);
	transition: .3s ease-in-out;
}

#drawerNaviBox {
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 85%;
	max-width: 330px;
	height: 100vh;
	background: rgba(7, 57, 126, 0.75);
	transition: .3s ease-in-out;
	-webkit-transform: translateX(-105%);
	transform: translateX(-105%);
}
	#drawerNaviBox a {
		color: rgba(255, 255, 255, 1);
		height: 20vh;
		line-height: 20vh;
		display: block;
		text-align: center;
		border-bottom: 1px dotted rgba(255, 255, 255, 1);
	}
#drawerInput {}
	#drawerInput:checked ~ #drawerClose {
		display: block;
		opacity: .5;
	}

	#drawerInput:checked ~ #drawerNaviBox {
		-webkit-transform: translateX(0%);
		transform: translateX(0%);
		box-shadow: 6px 0 25px rgba(0,0,0,.15);
	}
	#drawerInput:checked ~ #drawerOpen span:nth-child(1) { display: none; }
	#drawerInput:checked ~ #drawerOpen span:nth-child(2) { bottom: 16px; transform: rotate(-45deg); }
	#drawerInput:checked ~ #drawerOpen span:nth-child(3) { bottom: 16px; transform: rotate(45deg); }


@media only screen and (max-width: 768px) {
	#drawerBox { display: block; }
	#mainMenuBox { display: none; }
}