@charset "utf-8";

#checkcheck:checked ~.hamburger-open div{

	width:55px;
	height:55px;
}

#checkcheck ~.hamburger-open div{
	display:inline-block;
	width:54px;
	height:54px;
	position:absolute;
	z-index:15;
	top:20px;
	right: 20px;
	cursor: pointer;
	transition:width 0.5s,height 0.5s,background-color 0.5s;
}

.hamburger-open span{
    display: inline;
    transition: all .4s;
    position:absolute;
	top:0;
	right:0;
    height:6px;
	border-radius: 2px;
	background-color:#fff;
	width:40px;
	
}


#checkcheck ~.hamburger-open  span:nth-of-type(1) {
	top:0px; 
}
#checkcheck ~.hamburger-open  span:nth-of-type(2) {
	top:14.5px;
}
#checkcheck ~.hamburger-open  span:nth-of-type(3) {
	top:29px;
}

#checkcheck:checked ~.sidenavs {
	overflow-x: visible;
	display:block;
	opacity:1;
	z-index:10;
	left: 0px;
	top:0;
	width: 150px;
	height:255px;
}
#checkcheck:checked ~.hamburger-close div{
	display:block;
}
#checkcheck ~.hamburger-close div{
	display:none;
}
.sidenavs {
	background-color:rgba(1, 38, 72,0.8);
	height:0px;
	width: 150px;
	position: absolute;
	z-index:6;
	top:0px;
	left: 0px;
	overflow: hidden;
	padding-top:20px;
	transition: 0.5s;
	opacity:0;
}

.sidenavs .a_main {
	padding:4px 0;
	text-decoration: none;
	font-size: 14px;
	font-family:myfont2;
	color: #fff;
	display: block;
	transition: 0.3s;
	line-height:150%;
}
.sidenavs .a_main:hover{
	color:#00a0e9;
}

.sidenavs .a_text {
	padding:8px 0 0 0;
	text-decoration: none;
	font-size: 20px;
	color: #fff;
	display: block;
	transition: 0.3s;
}

.sidenavs #lili {
	padding: 8px 8px 8px 22px;
	text-align:left;
	text-decoration: none;
	font-size: 18px;
	color: #000;
	display: block;
	transition: 0.3s;
	cursor:pointer;
}
.sidenavs a:hover {
	color: #aaa;
}
.sidenavs li{
	list-style: none;
	font-size:18px;
	margin-bottom:2px;
/*	background-color: rgba(0,60,130,0.6);*/
	padding:5px 0;
}
.sidenavs .close-btn {
	position: absolute;
	top: 0;
	right: 25px;
	font-size: 36px;
	margin-left: 50px;
}
#menu_jigyou_ac{
	height:0px;
	overflow:hidden;
	transition: 0.5s;
}
#checkcheck{
	display:none;
}
#checkcheck:checked ~.hamburger-open span:nth-of-type(1) {
	transform: translateY(6px) rotate(-45deg);
    top: 7.5px;
	/*
    right: 5px;
	*/
    width: 45px;
	
}
#checkcheck:checked ~.hamburger-open span:nth-of-type(2) {
	opacity: 0;
}
#checkcheck:checked ~.hamburger-open span:nth-of-type(3){
	transform: translateY(-6px) rotate(45deg);
	top: 20px;
	/*
	left: 18px;
	width: 30%;
	*/
	 width: 45px;
}

@media screen and (max-width: 1024px) {
.sidenavs {
	left: 0px;
	height:0;
	width:100%;
}
#checkcheck:checked ~.sidenavs {
	left:0;
	width:100%;
	height:100vh;
}
}
@media screen and (max-width:500px){
	.sidenavs .a_main {
		font-size: 12px;

	}	
}