#global-head {
	position: fixed;
	color: #033560;
	width: 260px;
	text-align: center;
	padding-top: 60px;
	z-index: 100;
}

#sidebar {
	display: none;
	font-size: 15px;
	padding-top: 90px;
	width: 260px;
	height: 100%;
	position: fixed;
	/* color: #033560; */
	/* background: #fff; */
	text-align: left;
	color: white;
	background: -webkit-linear-gradient(left, #AF0111 0, #3C1415 90%);
	background: linear-gradient(to right,#AF0111 0, #3C1415 90%);
}

#global-nav ul {
	list-style: none;
	margin-left: 0;
}
#global-nav > ul > li {
	position: relative;
	border-bottom: solid 1px white;
}

#global-nav > ul > li > a {
	color: white;
	/* color: #033560; */
	text-decoration: none;
	display: block;
	padding: 15px 5%;
	-moz-transition: background-color .3s linear;
	-webkit-transition: background-color .3s linear;
	transition: background-color .3s linear;
	/* border-bottom: solid 1px white; */
}

/* #global-nav .sub-menu.is-active > a,
#global-nav ul > li > a:hover {
	color: #fff;
	background: #033560;
} */

#global-nav .sub-menu-nav a,
#global-nav .sub-menu:hover .sub-menu-nav {
	width: 230px;
}

/* sub-menu icon */
#global-nav .sub-menu-head {
	position: relative;
}
#global-nav .sub-menu-head:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 18px;
	margin: auto;
	vertical-align: middle;
	width: 8px;
	height: 8px;
	border-top: 1px solid #033560;
	border-right: 1px solid #033560;
	-moz-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}


/* sub-menu */
#global-nav .sub-menu-nav {
	position: fixed;
	background: #033560;
	color: #fff;
	top: 0;
	padding-top: 90px;
	left: 260px;
	width: 0;
	height: 100%;
	overflow: hidden;

	-moz-transition: width .2s ease-out;
	-webkit-transition: width .2s ease-out;
	transition: width .2s ease-out;
}
#global-nav .sub-menu.is-active > a:after,
#global-nav .sub-menu-head:hover:after {
	border-color: #fff;
}
#global-nav .sub-menu-nav a {
	color: #fff;
}
#global-nav .sub-menu-nav a:hover {
	color: #033560;
	background: #fff;
}


#global-nav .nav-inlist {
	background-color: #459ad4;
}

#global-nav .nav-inlist a {
	padding: 12px 5% 12px 12%;
}

/* nav-toggle */
#nav-toggle {
	display: none;
	position: fixed;
	top: 26px;
	right: 22px;
	height: 36px;
	transition:0.3s all;
}
#nav-toggle > div {
	position: relative;
	width: 32px;
}
#nav-toggle > div::before {
	position: absolute;
	content: '';
	background-color: #676362;
	left: -7px;
	right: 0;
	top: 12px;
	bottom: 0;
	margin: auto;
	height: 42px;
	width: 45px;
}
#nav-toggle span {
	width: 100%;
	height: 2px;
	left: 0;
	display: block;
	/* background: #033560; */
	background: white;
	position: absolute;
	-webkit-transition: .35s ease-in-out;
	-moz-transition: .35s ease-in-out;
	transition: .35s ease-in-out;
}

#nav-toggle span:nth-child(1) {
	top: 0;
}
#nav-toggle span:nth-child(2) {
	top: 11px;
}
#nav-toggle span:nth-child(3) {
	top: 22px;
}


#overlay {
	display: none;
	position: fixed;
	background: rgba(0,0,0,.6);
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}


#global-nav input {
	display: none;
}

.menu-parent {
	position: relative;
	margin-right: 30px;
	line-height: 52px;
	white-space: nowrap;
	height: auto;
	width: 100%;
}

#global-nav .menu-parent > a {
	display: unset;
	border-bottom: none;
}

.menu-parent .pd {
	display: inline-block;
	width: 100%;
}

.menu-parent i {
	padding: 0 6px;
}

.fas {
	font-weight: bold;
}
.angletoggle:before {
	content: "\f107";
}
#global-nav input[type="checkbox"]:checked ~ * .angletoggle:before {
	content: "\f106";
}

.menu-parent .menu-child {
	position: relative;
	padding: 0 20px;
	opacity: 1;
	top: 0;
	margin-left: auto;
	left: auto;
	width: auto;
	box-sizing: border-box;
	border-top: solid 1px white;
	/* background: linear-gradient(to right,#18528f,#8391f4); */
	background: #4e76da;
}

.menu-child {
	max-height: 0;
	overflow-y: hidden;
	visibility: hidden;
}

#global-nav input[type="checkbox"]:checked ~ .menu-child {
	max-height: inherit;
	overflow-y: visible;
	visibility: visible;
	animation: DownMenu 0.4s forwards;
}
@keyframes DownMenu{
	from {
		opacity: 0;
	transform: translateY(-10px);
	}
	to {
		opacity: 1;
	transform: translateY(0);
	}
}

.menu-child li {
	font-size: 14px;
	border-bottom: 1px dotted white;
	line-height: 25px;
	padding: 8px 0;
}

.menu-child li:last-child {
	border-bottom: none;
}


.menu-child li a {
	text-decoration: none;
	color: white;
	display: block;
}


@media screen and (max-width: 1100px) {
	#main-in {
		padding-left: 0;
	}

	#global-head {
		width: 100%;
		padding: 10px;
		background: rgba(255,255,255,.8);
		display: -webkit-flex;
		display: flex;
	}

	#sidebar {
		display: block;
		position: fixed;
		right: -300px;
		top: 0;
		height: 100%;
		width: 300px;
		/* color: #333; */
		/* background: #fff; */
		-webkit-transition: .35s ease-in-out;
		transition: .35s ease-in-out;
		color: white;
    /* background: linear-gradient(to right,#0b3867,#5a6def); */
		overflow-y: auto;
		overflow-x: hidden;
	}

	/* サブメニューは開けない */
	#global-nav .sub-menu-head:after,
	#global-nav .sub-menu-nav {
		display: none;
	}
	#nav-toggle {
		display: block;
	}

	/* nav open */
	.open {
		overflow: hidden;
	}
	.open #overlay {
		display: block;
	}
	.open #sidebar  {
		-webkit-transform: translate3d(-300px,0,0);
		transform: translate3d(-300px,0,0);
	}

	/* #nav-toggle close */
	
	.open #nav-toggle span {
		background: white;
	}

	.open #nav-toggle span:nth-child(1) {
		top: 11px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	.open #nav-toggle span:nth-child(2) {
		width: 0;
		left: 50%;
	}
	.open #nav-toggle span:nth-child(3) {
		top: 11px;
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}

	/* z-index */
	#overlay {
		z-index: 200;
	}
	#sidebar {
		z-index: 300;
	}
	#nav-toggle {
		z-index: 400;
	}
	
	/* #nav-toggle.scroll-nav {
		top: 24px;
	} */

}


@media screen and (max-width: 400px) {
	#sidebar {
		right: -200px;
		width: 200px;
		padding-top: 60px;
	}
	.open #sidebar  {
		-webkit-transform: translate3d(-200px,0,0);
		transform: translate3d(-200px,0,0);
	}
}