@font-face {
	font-family: 'hyxrws';
	src: url('../css/fonts/HYXinRenWenSongW.ttf') format('truetype');
}
@font-face {
	font-family: 'hyxlsj';
	src: url('../css/fonts/HYXiaoLiShuJ.ttf') format('truetype');
}
body{
  font-family: '微软雅黑';
}

*{
  margin: 0;
  padding: 0;
}

/* 菜单按钮-start */
.btn-menu{
  height: 22px;
  width: 22px;
  cursor: pointer;
  z-index: 99;
  -webkit-transition: opacity .25s ease;
  -moz-transition: opacity .25s ease;
  -o-transition: opacity .25s ease;
  transition: opacity .25s ease;
  display: none;
  flex-direction: column;
  justify-content: space-around;

}
.btn-menu span{
  display: block;
  background: #51473b;
  border: none;
  height: 2px;
  width: 100%;
  top: 0;
  left: 0;
  -webkit-transition: all .35s ease;
  -moz-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
  cursor: pointer;
}
.buttonactive>.top{
  -webkit-transform: translateY(9px) translateX(0) rotate(45deg);
  -ms-transform: translateY(9px) translateX(0) rotate(45deg);
  transform: translateY(9px) translateX(0) rotate(45deg);
  background: #51473b;
}
.buttonactive>.middle{
  opacity: 0;
  background: #51473b;
}
.buttonactive>.bottom{
  -webkit-transform: translateY(-9px) translateX(0) rotate(-45deg);
      -ms-transform: translateY(-9px) translateX(0) rotate(-45deg);
          transform: translateY(-9px) translateX(0) rotate(-45deg);
  background: #51473b;
}
/* 菜单按钮-end */

.head-c{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4vw;
  z-index: 2;
  overflow: hidden;
  background: #fff;
}
.head-bg{
  width: 84%;
  height: 100%;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
}

.head-logo{
  display: flex;
}
.head-logo a{
  position: relative;
  display: block;
  width: 7.4vw;
}
.head-logo a img{
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  opacity: 0;
}
.head-logo a img.logo-red{
  position: absolute;
  left: 0;
  opacity: 1;
}

.head-list{
  position: absolute;
  z-index: 2;
  width: 70%;
  right: 8%;
  display: flex;
  justify-content: flex-end;
}
.head-item{
  /* width: 7vw; */
  margin-left: 3vw;
}
.head-item a{
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.head-item a p{
  font-size: 0.8vw;
  text-align: center;
  line-height: 4vw;
  color: #414141;
  cursor: pointer;
}
.head-item a:hover p, .head-item.active a p{
  position: relative;
  color: #e03044 !important;
  z-index: 1;
  font-weight: 800;
}


@media screen and (max-width: 1920px){
  .head-item a p{
    font-size: 1vw;
  }
}
@media screen and (max-width: 1024px){
  .btn-menu{
    position: relative;
    display: flex;
    top: 50%;
    transform: translateY(-50%);
  }

  .head-c{
    height: 8vw;
  }
  .head-bg{
    position: relative;
    width: 92%;
  }

  .head-logo a{
    width: 16vw;
  }

  .head-list{
    display: none;
    position: absolute;
    left: 0;
    top: 8vw;
    width: 100vw;
    height: calc(100vh - 8vw);
    background-color: #a12e33;
    flex-direction: column;
    justify-content: flex-start;
    padding-left: 4vw;
    padding-right: 4vw;
    box-sizing: border-box;
    z-index: 10;
  }
  .head-item{
    width: 100%;
    height: 70px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 0;
  }
  .head-item:last-child{
    border: none;
  }
  .head-item a p{
    font-size: 2vw;
    line-height: 70px;
    color: #ece0e0;
    text-align: center;
  }
  .head-item a:hover p, .head-item.active a p{
    color: #ece0e0 !important;
  }
}
@media screen and (max-width: 767px){
  .head-c{
    height: 12vw;
  }
  .head-list{
    top: 12vw;
  }
  .head-logo a{
    width: 24vw;
  }
  .head-item{
    height: 80px;
  }
  .head-item a p{
    font-size: 4vw;
    line-height: 80px;
  }
}