.nav-warp{
  width: 100%;
  height: 80px;
  background: #ffffff;
}
.nav-con{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.nav-log{
  width: 325px;
  height: 100%;
}
.nav-log img{
  width: 100%;
  height: 100%;
}

.nav-list ul{
  display: flex;
  flex-direction: row;
}
.nav-list ul li{
  margin-right: 30px;
  line-height: 80px;
  white-space: nowrap;
}
.nav-list ul li:hover a{
  border-color: red;
  color: red;
}
.nav-list ul li a{
  text-decoration: none;
  font-size: 16px;
  color: #444444;
  padding: 10px 0;
  border-bottom: 1px solid transparent;
}
.nav-list ul li:last-child{
  margin-right: 0;
}
.ms-page{
  display: none;
}
.ms-page p{
  margin: 0;
}
@media screen and (max-width: 1024px) {
  .nav-warp{
    height: auto;
  }
  .ms-page{
    display: flex;
    align-items: center;
  }
  .nav-list ul{
    flex-direction: column;
    height: auto;
  }
  .nav-list ul li:nth-of-type(1){
    border-top: 1px dashed #cccccc;
  }

  .nav-list ul li{
    line-height: 50px;
    margin-right: 0;
    text-align: center;
    padding: 0 15px;
    border: 1px dashed #cccccc;
    border-top: none;
  }
  .nav-list{
    position: absolute;
    right: 0;
    top: 54px;
    z-index: 99;
    background: #ffffff;
    border-bottom: 1px dashed #cccccc;
  }
  .ms-page-sq{
    display: none;
  }
  .nav-con{
    padding: 0 15px;
  }
  .nav-log{
    width: 220px;
  }
  .nav-list{
    height: 0;
    overflow: hidden;
    transition: all 1s;
    -o-transition: all 1s;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
  }
}

