@charset "utf-8";
* {
	margin: 0;
	padding: 0;
}
li{
	list-style-type: none;
}
/*.inner {
	width: 960px;
	overflow: hidden;
	margin: 0 auto;
}*/
#gnav_contener {
	position: fixed;
	bottom: 0;
	left: 0;
	z-index: 200;
	width: 100%;
	padding: 0;
	text-align: center;
}
#gnav_contener #gnav {
	margin: 0 auto;
   /* overflow: auto;*/
    overflow-x: hidden;
}
#gnav_contener #gnav li {
	float: left;
}
#gnav_contener #gnav li a {
	color: #000;
	text-decoration: none;
    display: block;
    font-size: 22px;
}
#gnav_contener #gnav li a.current {
	background: #000;
  color: #fff;
}
#gnav_contener #gnav li:first-child {
        display: none;
}
#contents {
	position: relative;
	z-index: 100;
	width: 100%;
	background: #bbbbbb;
}
#contents .inner div {
	height: 1000px;
	padding-top: 70px;
}
#contents .inner div:nth-child(even) {
	background: #777777;
}
#contents .inner div:nth-child(odd) {
	background: #999999;
}

/*for PC*/

@media screen and (min-width:768px){
    #gnav_contener {
    position: fixed;
    height: 350px;
    width: 40px;
    top: 50vh;
	transform: translateY(-50%);
    right: 30px;
    left: auto;
    z-index: 200;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    }
    #gnav_contener #gnav {
        border-left: 1px solid #000;
        border-right: 1px solid #000;
    }
    #gnav_contener #gnav li a{
    -webkit-writing-mode: vertical-rl;
    -ms-writing-mode: tb-rl; /* for IE */
    writing-mode: vertical-rl;
    border-top: 1px solid #000;
    height: 175px;
    width: 38px;
    }
    #gnav_contener #gnav li:last-child {
        border-bottom:  1px solid #000;
    }
    #gnav_contener #gnav li:first-child a.current {
	background-color: inherit;
    color: #666666;
    }
}
/*for SM*/
@media screen and (max-width:767px){
    #gnav_contener #gnav {
    display: block;
    width: 100%;
        border-top: 1px solid #000;
        border-bottom: 1px solid #000;
    }
    #gnav_contener #gnav li {
        border-left: 1px solid #000;
        width: 50%;
        background: #FFF;
    }
    #gnav_contener #gnav li:last-child {
        border-right: 1px solid #000;
    }
}