@charset "UTF-8";
/* CSS Document */

/********************
	menu
********************/

#btn_open {
	display: none;
}
#gnav ul{
	display: flex;
	flex-wrap: wrap;
}
#gnav li:first-child,#gnav li:last-child{
	display: none;
}
#gnav li{
	padding: 0 1.5rem;
}

#gnav a{
	color: #404040;
	position:relative;
	transition: .4s;
}
#gnav a:after{
	width: 0;
	content:'';
	position:absolute;
	top:0;
	right:0;
	height:2px;
	background: #404040;
	transition:400ms ease all;
}
#gnav a:after{
	right:inherit;
	top:inherit;
	left:0;
	bottom:0;
}
#gnav a:hover:after{
  width:100%;
  transition:800ms ease all;
}

.link_contact{
	display: none;
}

@media (max-width:768px){
	
	.link_tel,.link_tel a{
		color: #fff;
	}

.btn_menu {
	display: block;
	width: 60px;
	height: 60px;
	position: relative;
	border: 1px solid #333;
	border-radius: 50%;
	cursor: pointer;
	z-index: 10000;
}

.btn_menu span {
	width: 60%;
	height: 2px;
	display: block;
	position: absolute;
	left: 20%;
	background-color: #333;
	border-radius: 5px;
	transition: all 0.2s linear;
}
.btn_menu span:nth-of-type(1) {
	top: 18px;
	transform: rotate(0);
	z-index: 10;
}
.btn_menu span:nth-of-type(2) {
	top: 28px;
	transform: scale(1);
	z-index: 20;
}
.btn_menu span:nth-of-type(3) {
	top: 38px;
	transform: rotate(0);
	z-index: 30;
}
#btn_open:checked + .btn_menu {
		border: 1px solid #fff;
	}
#btn_open:checked + label span:nth-of-type(1) {
	top: 28px;
	transform: rotate(-45deg);
	background-color: #fff;
}
#btn_open:checked + label span:nth-of-type(2) {
	transform: scale(0);
}
#btn_open:checked + label span:nth-of-type(3) {
	top: 28px;
	transform: rotate(45deg);
	background-color: #fff;
}
#gnav {
	width: 100%;
	height: 100%;
	padding: 100px 20px 0;
	background-color: rgba(77, 77, 77, .8);
	overflow: hidden;
	position: fixed;
	top: 0;
	right: -100%;
	transition: left .5s, right .5s;
}
#gnav ul{
	display: block;
}
#btn_open:checked ~ #gnav {
	right: 0;
}
#gnav ul {
	width: 60%;
	margin: 0 auto;
	text-align: center;
}
.link_contact{
	display: block;
}
#gnav li {
	line-height: 3;
	border-bottom: 1px dashed #fff;
}

#gnav li:first-child ,#gnav li:last-child {
    display: block;
}

#gnav a {
	display: block;
	width: 100%;
	text-decoration: none;
	color: #fff;
	font-weight: normal;
	transition: 0.4s;
	letter-spacing: 0;
}
#gnav a::before,#gnav a::after{
	display: none;
}
#gnav a:hover {
	letter-spacing: 3px;
	font-weight: bold;
	 }

	#gnav ul {
	width: 100%;
}
	#gnav a {
	display: inline;
}
}