@charset "utf-8";
/* CSS Document */


#g-nav{
	display: none;
}


/*ドロップダウンメニュー*/
/*
#nav-open nav{ 
	display: none;
}
#nav-open{
	padding: 15px;
	color: #fff;
	font-size: 20px;
	background: #2073c8;
	position: relative;
	cursor: pointer;
}
#nav-open::before{
	content: "＋";
	position: absolute;
	right: 20px;
}
#nav-open.active::before{
	content: "－";
}
*/


/*Media Query スマホ用*/
@media screen and (max-width: 768px) {

header {
		position: fixed;
	    width: 100%;
	    z-index: 10000;
	    background-color: white;
}
	
main {
        padding-top: 150px;	
	    position: relative;
	    z-index: 0;
}	

	
#g-nav{
	display: block;
    position:fixed;
    z-index: 999;
	top:0;
    left: -120%;
	width:100%;
    height: 100vh;
	background:#333333;
	transition: all 0.6s;
	opacity: 0.90;
}

#g-nav.panelactive{
    left: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

#g-nav li{
	list-style: none;
    text-align: left;
}

#g-nav li a{
	margin: 0px auto;
	width: 200px;
	color: #fff;
	text-decoration: none;
	text-indent: 15px;
	padding:30px 0px 0px 0px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
	border-bottom: solid 1px #828282;
}

.ch1{
	font-size: 15px;
	line-height: 70%;
}	
	
.openbtn{
	position:fixed;
    z-index: 9999;
	top:   70px;
	left: 20px;
	/*right: 10px;*/
	cursor: pointer;
    width: 90px;
    height:70px;
}
		
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #000;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
	background-color: #fff;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
	background-color: #fff;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
	background-color: #fff;
}	
	
}