.footer {
  margin-bottom: 51px;
  color: #fff;
  background: var(--style-color);
}

.footer .footer-top {
  display: none;
}

.footer .footer-bottom {
  padding: 12px 0;
}

@media (min-width: 768px) {
  .footer {
    margin-bottom: 0;
  }

  .footer .footer-top {
    display: block;
    padding: 38px 0 32px;
  }

  .footer .footer-top .container {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    justify-content: space-between;
  }

  .footer .item {
    padding: 0 15px;
    max-width: 285px;
    min-width: 180px;
  }

  .footer .item:nth-child(1) {
    order: 3;
    max-width: 400px;
    margin-top: 20px;
  }

  .footer .item:nth-child(4) {
    order: 4;
    max-width: 310px;
    margin-top: 20px;
  }

  .footer .tit {
    font-weight: bold;
  }

  .footer .item:nth-child(2) .tit, .footer .item:nth-child(3) .tit {
    max-width: 175px;
    padding-bottom: 10px;
    margin-bottom: 17px;
    border-bottom: 2px solid rgba(255, 255, 255, .5);
  }

  .footer .item-list>li:not(:last-child) {
    margin-bottom: 13px;
  }

  .footer .logo {
    width: auto;
    height: 45px;
    margin-bottom: 15px;
  }

  .footer .company-name {
    font-weight: bold;
    margin-bottom: 10px;
  }

  .footer .cont-list li {
    display: flex;
    line-height: 1.8;
  }

  .footer .cont-list li:not(:last-child) {
    margin-bottom: 10px;
  }

  .footer .cont-list li i {
    font-size: 20px;
    line-height: 1;
    margin-top: 4px;
    margin-right: 11px;
  }

  .footer .title-wrap {
    margin-bottom: 17px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, .5);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer .icon-list {
    display: flex;
    align-items: center;
  }

  .footer .icon-list li:not(:last-child) {
    margin-right: 10px;
  }

  .footer .icon-list li i {
    font-size: 20px;
  }

  .footer .form-group {
    margin-bottom: 16px;
  }

  .footer .form-control {
    border-radius: 0;
  }

  .footer input.form-control {
    height: 39px;
  }

  .footer textarea.form-control {
    min-height: 84px;
  }

  .footer .btn-wrap {
    margin-top: 24px;
  }

  .footer .btn {
    width: 90px;
    text-align: center;
    line-height: 1;
    padding: 7px 15px;
    border-radius: 16px;
    color: var(--sub-color);
    background: #fff;
  }

  .footer .form-control::-webkit-input-placeholder {
    color: #999;
  }

  .footer .form-control:-moz-placeholder {
    color: #999;
  }

  .footer .form-control::-moz-placeholder {
    color: #999;
  }

  .footer .form-control:-ms-input-placeholder {
    color: #999;
  }

  .footer .footer-bottom {
    padding: 18px 0;
    border-top: 2px solid #fff;
  }
}

@media (min-width: 992px) {
  .footer .item:last-child {
    order: 0;
    margin-top: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .footer .item:last-child {
    max-width: 370px;
  }

  .footer .item:nth-child(1) {
    order: 4;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 1200px) and (max-width: 1439px) {
  .footer .item {
    max-width: 210px;
  }

  .footer .item:last-child {
    max-width: 300px;
  }
}

@media (min-width: 1200px) {
  .footer .item:nth-child(2) .tit, .footer .item:nth-child(3) .tit, .footer .title-wrap {
    margin-bottom: 24px;
  }

  .footer .company-name {
    margin-bottom: 20px;
  }

  .footer .item ul>li a {
    display: inline-block;
    transition: transform .3s;
  }

  .footer .item ul>li:hover a {
    transform: translateX(10px);
  }

  .footer .item .icon-list>li:hover a {
    transform: translateY(-4px);
  }

  .footer .logo {
    height: 59px;
  }

  .footer .btn {
    transition: all .3s;
  }

  .footer .btn:hover {
    color: #fff;
    background-color: var(--sub-color);
  }

  .footer .item:nth-child(1) {
    order: 0;
    max-width: 450px;
    margin-top: 0;
  }
}

@media (min-width: 1440px) {
  .footer .item:nth-child(1) {
    max-width: 510px;
  }

  .footer .icon-list li:not(:last-child) {
    margin-right: 20px;
  }
}


/* 返回顶部按钮 */
.reback-btn {
  position: fixed;
  right: 15px;
  bottom: 55px;
  width: 30px;
  height: 30px;
  z-index: 100000;
  border-radius: 4px;
  background: rgba(0, 0, 0, .5);
  cursor: pointer;
  display: none;
}

.reback-btn.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reback-btn i {
  color: #fff;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 2px;
  transform: rotate(180deg);
}


/* 手机端底部 */
.mobile-footer {
  width: 100%;
  color: #666;
  text-align: center;
  border-top: 1px solid #ccc;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 99;
}

.mobile-footer ul {
  background: #fff;
  padding: 0 15px;
  flex-wrap: nowrap;
  justify-content: space-around;
  display: flex;
}

.mobile-footer li a i {
  width: 20px;
  height: 20px;
  margin: 5px auto 1px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-footer {
    display: none;
  }
}