/* 手机版*/
html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: relative;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: #ea5532;
  border-bottom: 2px solid #fff;
}

.m-logo {
  display: block;
  position: absolute;
  left: 5px;
  top: 12px;
}

.m-logo img {
  height: 36px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
}

.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #fff;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
  margin: 4px 0;
}

.cross span:nth-of-type(1) {
  transform: translateY(7px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
  opacity: 0;
}

.cross span:nth-of-type(3) {
  transform: translateY(-7px) rotate(45deg);
}

header {
  position: absolute;
  z-index: 99;
  right: -150px;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  padding-top: 86px;
  background: #444;
}

.logo {
  display: none;
}

header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}

header li a .b {
  display: none;
}

.wrapper {
  position: relative;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #fff;
}

@media (min-width: 1200px) {
  .wrapper {
    padding: 0;
  }

  header {
    display: block;
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 0;
    background: rgba(0, 0, 0, 0.36);
  }

  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 2vw;
  }

  .logo {
    display: block;
  }

  .logo img {
    width: 186px;
    height: auto;
  }

  .nav {
    display: flex;
    align-items: center;
    padding-right: 1vw;
  }

  .nav ul {
    display: flex;
    align-items: center;
  }

  .nav ul li {
    padding: 0;
  }

  .nav ul a {
    position: relative;
    display: block;
    padding: 0 1.2vw;
    font-size: 16px;
    line-height: 100px;
    color: #fff;
    transition: all 0.5s ease;
  }

  .nav ul a::before {
    content: "";
    position: absolute;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    border: 8px solid;
    border-color: transparent transparent #dd5535 transparent;
    opacity: 1;
    opacity: 0;
    transition: all 0.5s ease;
  }

  .nav ul a:hover {
    transform: translate3d(0, -2px, 0);
  }

  .nav ul a:hover::before {
    opacity: 1;
  }

  /*  */
  header:hover {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px rgb(0 0 0 / 20%);
  }
}

/* 底部 */
footer {
  padding: 5px 2px;
  font-size: 14px;
  line-height: 24px;
  color: #fff;
  background: #ea5532;
}

.foot-left,
.foot-right {
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot-left p {
  padding: 0 5px;
}

.foot-right a {
  padding: 0 5px;
  color: #fff;
}

@media (min-width: 1200px) {
  footer {
    padding: 0;
    font-size: 14px;
    line-height: 42px;
  }

  footer .my-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .foot-left p {
    padding: 0 5px 0 0;
  }

  .foot-right a {
    padding: 0 0 0 5px;
  }
}

/* 分页 */
.pages-flex {
  padding: 15px;
}
.pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pages a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 5px;
  font-size: 14px;
  line-height: 30px;
  text-align: center;
  background: #e0e9f6;
  color: #333333;
  border-radius: 10px;
  cursor: pointer;
  margin: 0 5px;
}

.pages a:hover {
  color: #fff;
  background: #ea5532;
}

.pages a.active {
  color: #fff;
  background: #ea5532;
}

.com-btn {
  margin: 15px 0 0;
  font-weight: bold;
  font-size: 16px;
  line-height: 36px;
  color: #fff;
  text-align: center;
  background: #ea5532;
  cursor: pointer;
}
@media (min-width: 1200px) {
  .pages-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .pages {
    justify-content: flex-start;
  }

  .com-btn {
    margin: 0;
    width: 120px;
    font-size: 16px;
    line-height: 42px;
  }
}
