.color-main {
  color: #cfa972;
}

body {
  overflow-x: hidden;
}

.wrap {
  width: 100%; 
  overflow-x: hidden;
  padding: 80px 0;
}

.wrap>.cont {
  width: 1200px;
  margin: 0 auto;
}

.clearfix:after {
  content: "";
  display: block;
  visibility: hidden;
  clear: both;
}

#header {
  padding: 15px 160px 30px;
  background-image: linear-gradient(180deg, #00000085 0%, transparent 85%);
  width: 100%;
  height: 120px;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

#header .cont {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

#header .nav-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#header .link-wrap {
  display: flex;
  flex-wrap: nowrap;
  margin-bottom: 20px;
}

#header .link-wrap .link-item {
  font-size: 14px;
}

#header .link-wrap .link-item a {
  color: #fff;
}

#header .link-wrap .link-item a:hover {
  text-decoration: underline;
}

#header .link-wrap .shu {
  font-size: 14px;
  color: #fff;
  display: inline-block;
  margin: 0 15px;
}

#header .link-wrap .search-wrap {
  position: relative;
}

#header .link-wrap .search-wrap .search-switch {
  position: relative;
  top: -2px;
  cursor: pointer;
  transition: 300ms;
}

#header .link-wrap .search-wrap .search-switch:hover {
  transform: scale(1.1);
}

#header .link-wrap .search-wrap .close-btn {
  width: 26px;
  height: 26px;
  transform-origin: center;
  transform: rotate(45deg);
  border-radius: 50%;
  background: #cfa972;
  cursor: pointer;
  position: relative;
  top: 2px;
  margin-right: 2px;
  transition: 500ms;
}

#header .link-wrap .search-wrap .close-btn:hover {
  transform: rotate(135deg);
}

#header .link-wrap .search-wrap .close-btn span {
  display: block;
  width: 15px;
  height: 2px;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#header .link-wrap .search-wrap .close-btn span:nth-child(2) {
  transform: rotate(90deg);
}

#header .link-wrap .search-wrap .search-input {
  white-space: nowrap;
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  background: rgba(0, 0, 0, 0.7);
  height: 30px;
  border-radius: 15px;
  display: flex;
  overflow: hidden;
  transition: 500ms;
}

#header .link-wrap .search-wrap .search-input.on {
  width: 400px;
  padding-left: 15px;
}

#header .link-wrap .search-wrap .search-input input {
  color: #fff;
  appearance: none;
  outline: none;
  border: none;
  height: 30px;
  line-height: 30px;
  flex: 1;
  background: none;
}

#header .link-wrap .search-wrap .search-input .search-btn {
  appearance: none;
  outline: none;
  border: none;
  background: none;
  width: 26px;
  height: 26px;
  margin-left: 15px;
  border-radius: 50%;
  background: #cfa972;
  margin-right: 2px;
  position: relative;
  top: 2px;
  cursor: pointer;
}

#header .common-nav-wrap .nav-change-btn {
  display: none;
}

#header .common-nav-wrap .first {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

#header .common-nav-wrap .first .first-item {
  margin-left: 30px;
  position: relative;
}

#header .common-nav-wrap .first .first-item>a {
  font-size: 20px;
  color: #fff;
  line-height: 2;
  font-weight: bold;
}

#header .common-nav-wrap .first .first-item>a:hover {
  color: #cfa972;
  font-weight: bold;
}

#header .common-nav-wrap .second {
  display: none;
  text-align: center;
  position: absolute;
  min-width: 140px;
  left: 50%;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

#header .common-nav-wrap .second .second-item a {
  background: #fff;
  color: #cfa972;
  padding: 10px 0;
  display: block;
  width: 100%;
  transition: 300ms;
}

#header .common-nav-wrap .second .second-item a span {
  display: inline-block;
  margin: 0 10px;
}

#header .common-nav-wrap .second .second-item a:hover {
  color: #fff;
  background: #cfa972;
}

@media (max-width: 1700px) {
  #header .common-nav-wrap .first .first-item {
    margin-left: 15px;
  }

  #header .common-nav-wrap .first .first-item>a {
    font-size: 16px;
  }
}

@media (max-width: 1400px) {
  #header{
    padding: 15px 80px 30px;
  }
  #header .common-nav-wrap {
    position: relative;
  }

  #header .common-nav-wrap .first.m {
    display: none;
    position: relative;
    top: 40px;
    background: #fff;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  }

  #header .common-nav-wrap .first.m .first-item {
    min-width: 140px;
    margin-left: 0;
  }


  #header .common-nav-wrap .first.m .second {
    left: -100%;
    transform: translateX(0);
    position: static;
    box-shadow: none;
  }
  #header .common-nav-wrap .first .first-item{
    margin-left: 10px;
  }
  #header .common-nav-wrap .first .first-item>a{
    font-size: 14px;
  }
  
  #header .common-nav-wrap .nav-change-btn {
    position: absolute;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    cursor: pointer;
    display: none;
  }

  #header .common-nav-wrap .nav-change-btn span {
    display: block;
    width: 100%;
    height: 4px;
    background: #fff;
    border-radius: 2px;
    transition: 300ms;
  }

  #header .common-nav-wrap .nav-change-btn.on span {
    width: 36px;
  }

  #header .common-nav-wrap .nav-change-btn.on span:nth-child(1) {
    transform-origin: right;
    transform: rotate(-45deg);
  }

  #header .common-nav-wrap .nav-change-btn.on span:nth-child(3) {
    transform-origin: right;
    transform: rotate(45deg);
  }

  #header .common-nav-wrap .nav-change-btn.on span:nth-child(2) {
    width: 0;
  }
}

@media (max-width: 1280px) {
  .wrap>.cont {
    width: 1000px;
  }
  #header .logo{
    width: 180px;
    padding-top: 10px;
  }
  #header{
    padding: 15px 70px 30px;
  }
}

@media (max-width: 1024px) {
  .wrap>.cont {
    width: 800px;
  }
  #header{
    padding: 15px 60px 30px;
  }
}

@media (max-width:999px) {
  #header .common-nav-wrap .first .first-item>a{
    font-size: 12px;
  }
  #header .logo{
    padding-top: 20px;
    width: 150px;
  }
}

@media (max-width:768px) {
  .wrap>.cont {
    width: 100%;
    padding: 0 5%;
    box-sizing: border-box;
  }

  #header {
    padding: .2rem 5%;
    height: auto;
  }
  #header .logo{
    padding-top: 0;
  }

  #header .common-nav-wrap .first.m {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background: #0379d0;
    box-sizing: border-box;
    display: none;
    overflow-y: scroll;
    padding: 0 .3rem;
    padding-top: 1rem;
    box-sizing: border-box;
  }

  #header .common-nav-wrap .nav-change-btn {
    width: .6rem;
    height: .5rem;
    top: .1rem;
    right: .3rem;
    z-index: 999;
    display: flex;
  }

  #header .common-nav-wrap .nav-change-btn span {
    height: .04rem;
  }

  #header .link-wrap {
    display: none;
  }

  #header .logo {
    width: 3rem;
  }

  #header .common-nav-wrap .second {
    display: none;
    position: static;
    transform: unset;
    box-shadow: none;
  }


  #header .common-nav-wrap .second .second-item a {
    background: none;
    text-align: left;
    color: #fff;
  }

  #header .common-nav-wrap .first.m .first-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-left: 0;
    padding: .3rem 0;
  }

  .wrap {
    padding: .5rem 0;
  }
  #header .common-nav-wrap .first .first-item>a{
    font-size: .4rem;
  }
  #header .common-nav-wrap .second .second-item a{
    font-size: .3rem;
  }

}