*,*:before,*:after {
    box-sizing: border-box;
}
body{
	width: 100%;
	font-family: 'Noto Serif TC';
}
a {
    text-decoration: none;
}
/*css rest end*/

.header{
	position: absolute;
	top: 20px;
	left: 0;
	width: 100%;
	z-index: 999
}
.container {
			max-width: 1170px;
			margin: 0 auto;
}
.logo {
	padding-top: 0px;
	width: 250px;
}
.nav{
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	height: 60px;
	font-family: "Noto Serif TC";
	font-weight: normal;
}
.menu>ul{
	display: flex;
	flex-direction: row;
}
.menu>ul>li{
	width: 100px;
}
.menu>ul>li>a{
	display: block;
	font-size: 16px;
	padding: 32px 18px;
	color: #fff;
	text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.menu>ul>li>a:hover{
	color: #290909;
}
.showmenu{
	display: none;
	color: #333;
	float: right;
}

@media (max-width: 767px){
.header{
	position: absolute;
	top: 0px;
	left: 0;
	width: 100%;
	z-index: 999;
	background-color: #FFF;
}

.logo {
	padding-top: 10px;
	width: 150px;
}
	.showmenu{
	display: block;
	position: relative;
	top: 15px;
	right: 30px;
	font-size: 26px;
	color: #333;
	}
	.menu{
		max-height: 0;
		overflow: hidden;
		transition: max-height .5s;
		position: absolute;
		top: 60px;
		left: 0;
		right: 0;
		background: #fff;
	}
	.nav{
		display: inline-block;
	}
	.menu>ul{
		display: block;
		height: auto;
	}
	.menu.menu-show{
	max-height: 550px;
	padding-bottom: 20px;
	  }
	  .menu>ul>li{
		  display: block;
		  width: 100%;
		  height: 60px;
		  text-align: center;
	  }
	  .menu>ul>li>a{
		padding: 20px 10px;
		cursor: pointer;
		color: #333;
	background: #fff;
	text-shadow: 0px 0px 0px rgba(0,0,0,0.5);
	}
.menu>ul>li>a:hover{
	color: #2e72e4;
}
}
