:root {
	--popup-bg-color: rgb(255, 255, 255);
	--popup-fg-color: #475950;
}

.vertical_nav, .collapse_menu .collapse_menu--icon {
	-moz-transition: all 0.3s ease-out;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
	z-index: 9999;
}

* {
	box-sizing: border-box;
}

:focus, :active {
	outline: none;
}

.vertical_nav {
	position: fixed;
	left: -200px;
	top: 50px;
	bottom: 0px;
	width: 200px;
	background: #475950;
}

.menu {
	overflow-y: auto;
	width: 100%;
	list-style-type: none;
}

.menu--item {
	min-height: 30px;
	line-height: 15px;
}

.menu--item__has_sub_menu .menu--link:after {
	line-height: 40px;
	font-family: "FontAwesome";
	content: "\f0d7";
	display: inline-block;
	padding-left: 5px;
}

.menu--subitens__opened {
	color: #f7fcfe;
}

.menu--subitens__opened .menu--link {
	color: #f7fcfe;
}

.menu--subitens__opened .sub_menu {
	display: block;
}

.menu--link {
	display: inline-block;
	overflow: hidden;
	font-size: 1.2em;
	/* text-decoration: none; */
	color: #f7fcfe;
	font-weight: 400;
	white-space: nowrap;
	cursor: pointer;
	margin-left: 65px;
}

.menu--link:hover, .menu--link:hover .menu--label {
	/*時間的変化指定*/
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s; /*ここまで時間的変化指定*/
	/*透明度設定*/
	opacity: 0.6;
	filter: alpha(opacity=60);
	-moz-opacity: 0.6; /*ここまで透明度設定*/
}

.menu--icon {
	display: block;
	float: left;
	width: 50px;
	height: 40px;
	line-height: 40px;
	font-size: 20px;
}

.menu--label {
	display: inline-block;
	height: 40px;
	line-height: 40px;
}

.sub_menu {
	visibility: hidden;
	overflow: hidden;
	list-style: none;
	position: absolute;
	height:100%;
	width: 200px;
	left:200px;
	top:0px;
	padding: auto 0;
	background-color: var(--popup-bg-color);
	display: flex;
	flex-flow: column;
	justify-content: center;
	box-shadow: rgba(0, 0, 0, 0.4) 15px 0 5px 5px;
	z-index: 10;
	/* transition: all 0.5s; */
}

.sub_menu--link {
	display: inline-block;
	font-size: 80%;
	color: var(--popup-fg-color);
	margin: 8px 0px;
	padding: 0px 20px
}

.sub_menu--link::before {
	content: "\f105";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	padding-right: 3px;
}

.sub_menu--link:hover {
	/*時間的変化指定*/
	-webkit-transition: 0.5s;
	-moz-transition: 0.5s;
	-ms-transition: 0.5s;
	-o-transition: 0.5s;
	transition: 0.5s; /*ここまで時間的変化指定*/
	/*透明度設定*/
	opacity: 0.6;
	filter: alpha(opacity=60);
	-moz-opacity: 0.6; /*ここまで透明度設定*/
}

.sub_menu--link__active {
	color: #f7fcfe;
	font-weight: 500;
}

.collapse_menu {
	display: none;
}

/* ドロワ設定 */

#drawer {
	display: none;
}

label.open {
	cursor: pointer;
	position: fixed;
	display: block;
	left:0px;
	top:0px;
	z-index: 1000;
	width: 50px;
	height: 50px;
	line-height: 50px;
	padding: 0;
	background: none;
	border: 0;
	text-align: center;
	cursor: pointer;
	color: #fff
}

.open i{
	display: block;
	font-size: 28px;
	height: 50px;
	line-height: 50px;
}

.close {
	z-index: 1;
	inset: 0;
	pointer-events: none;
	transition: background-color .6s;
}

@media (min-width: 768px) {

	.vertical_nav {
		width: 200px;
		height: 100vh;
		position: unset;
		float: left;
		padding: 20vh 0px;
	}

	.menu--item {
		padding: 0;
	}


	.menu--link {
		font-size: 1.5em;
	}

	.sub_menu--link {
		font-size: 1.2em;
	}
}

@media screen and (max-width: 768px) {
	/* ドロワ設定 */

	.close {
		z-index: 1;
		inset: 0;
		pointer-events: none;
		transition: background-color .6s;
	}

	#drawer:checked ~ .close {
		pointer-events: auto;
		background-color: rgba(0,0,0,.3);
	}

	#drawer:checked + nav.vertical_nav {
		left: 0px !important;
		box-shadow: rgba(0, 0, 0, 0.4) -30px 0 30px 30px;
	}	
	
}
