.contact-wrap {
  padding: 1.86rem 0;
  position: relative;
  background: #EFF2F7;
  overflow: hidden;
}
.contact-wrap .ruler-box {
  position: absolute;
}
.contact-wrap .ruler-box .ruler-item {
  cursor: pointer;
}
.contact-wrap .contact-box {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-wrap .contact-box .list-box {
  flex: 1;
  margin-right: 1rem;
}
.contact-wrap .contact-box .list-box .list {
  display: none;
}
.contact-wrap .contact-box .list-box .list:first-of-type {
  display: block;
}
.contact-wrap .contact-box .list-box .list .item {
  padding: 0.3rem 0.3rem 0.3rem 0.8rem;
  color: #000;
  border-radius: 0.1rem 0.1rem 0.1rem 0.1rem;
}
.contact-wrap .contact-box .list-box .list .item:hover {
  background: #171C61;
  color: #fff;
}
.contact-wrap .contact-box .list-box .list .item .title {
  /* font-family: MicrosoftYaHeiLight, MicrosoftYaHeiLight; */
  font-weight: normal;
  font-size: 0.24rem;
}
.contact-wrap .contact-box .list-box .list .item .p {
  /* font-family: MicrosoftYaHeiLight, MicrosoftYaHeiLight; */
  font-weight: normal;
  font-size: 0.16rem;
  margin-top: 0.14rem;
}
@media only screen and (max-width: 1440px) {
   .contact-wrap .contact-box .list-box .list .item .p {
      font-size: 0.2rem;
    }
}
.contact-wrap .contact-box .map {
  width: 8.5rem;
  flex-shrink: 0;
}
.contact-wrap .contact-box .map img {
  width: 100%;
}
@media only screen and (max-width: 900px) {
  .contact-wrap {
    padding: 0 0;
    position: relative;
    background: #EFF2F7;
    overflow: hidden;
    padding-bottom: 1rem;
  }
  .contact-wrap .class-box {
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    position: relative;
  }
  .contact-wrap .class-box::after {
    content: '';
    width: 100%;
    height: 1px;
    background-color: #DEDEDE;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .contact-wrap .class-box .class-item {
    width: 30%;
    height: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    /* font-family: Microsoft YaHei, Microsoft YaHei; */
    font-weight: 400;
    font-size: 0.34rem;
    color: #000000;
  }
  .contact-wrap .class-box .class-item.active {
    color: #171C61;
  }
  .contact-wrap .class-box .class-item.active::after {
    content: '';
    width: 100%;
    height: 1px;
    background: #171C61;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
  }
  .contact-wrap .contact-box {
    margin: 0 auto;
    flex-direction: column;
    padding: 0 0.3rem;
  }
  .contact-wrap .contact-box .list-box {
    margin-right: 0;
    margin-top: 0.7rem;
  }
  .contact-wrap .contact-box .list-box .list {
    display: none;
  }
  .contact-wrap .contact-box .list-box .list:first-of-type {
    display: block;
  }
  .contact-wrap .contact-box .list-box .list .item {
    padding: 0.4rem 0.3rem;
    color: #000;
    border-radius: 0.1rem 0.1rem 0.1rem 0.1rem;
    margin-bottom: 0.5rem;
  }
  .contact-wrap .contact-box .list-box .list .item:hover {
    background: #171C61;
    color: #fff;
  }
  .contact-wrap .contact-box .list-box .list .item .title {
    font-size: 0.34rem;
  }
  .contact-wrap .contact-box .list-box .list .item .p {
    font-size: 0.28rem;
    line-height: 0.45rem;
    margin-top: 0.14rem;
  }
  .contact-wrap .contact-box .map {
    width: 100%;
    flex-shrink: 0;
  }
  .contact-wrap .contact-box .map img {
    width: 100%;
  }
}
