.contact-head {
    position: relative;
    width: 7.5rem;
    height: 2.5rem;
    background: url(/static/m/img/contact_head.png);
    background-size: 100%;
    font-size: .28rem;
}
.contact-head h2 {
    position: absolute;
    width: 2rem;
    height: .4rem;
    line-height: .4rem;
    top: 0;
    bottom: .5rem;
    left: 0;
    right: 0;
    margin: auto;
    color: #fff;
    text-align: center;
    font-size: .4rem
}

.contact-head h2::before {
    position: absolute;
    content: '';
    width: .7rem;
    height: 2px;
    left: -.7rem;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

.contact-head h2::after {
    position: absolute;
    content: '';
    width: .7rem;
    height: 2px;
    right: -.7rem;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}
.contact-wrapper {
    position: relative;
    width: 7.5rem;
    height: 5.52rem;
    overflow: hidden;
    margin-top: -.7rem;
    white-space: nowrap;
}
.contact-slide {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 6rem;
    height: 5.52rem;
    margin: 0 auto;
    transition: all .2s ease;
    
}
.contact-wrapper .contact-slide-prev {
    visibility: visible;
    transform: translateX(-105%);
}

.contact-wrapper .contact-slide-next {
    visibility: visible;
    transform: translateX(105%);
}
.contact-wrapper .contact-slide-active {
    visibility: visible;
    z-index: 99;
}

.contact-slide-active .contact-card {
    background: #fff;
    height: 5.52rem;
    top: 0;
    box-shadow: 0 7px 30px #ececec;
}
.contact-card {
    position: absolute;
    width: 6rem;
    height: 4.79rem;
    line-height: .45rem;
    top: .5rem;
    background: #ccc;
    color: #666;
    font-size: .27rem;
    transition: all .2s ease;
    white-space: normal;
    overflow: hidden;
}

.contact-card h3{
    position: relative;
    padding: .5rem 1.5rem;
    font-size: .35rem;
    font-weight: bold;
    color: #000;
    text-align: center;
    white-space: nowrap;
}
.contact-card h3::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .2rem;
    margin: auto;
    content: '';
    width: .66rem;
    height: .08rem;
    background: #00a2ff;
}
.contact-card p{
    margin: .2rem;
}
.contact-card .icon-line-1 {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1.36rem;
    height: .07rem;
    background-position: 0 79.912%;
}
.contact-card .icon-line-2 {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1.36rem;
    height: .07rem;
    background-position: 0 90.287%;
}

.card-position {
    
    display: flex;
    justify-content: space-around;
    width: 7rem;
    height: 1.1rem;
    margin: .2rem auto;
}
.card-position a {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    width: 1.67rem;
    height: 1.1rem;
    background: #fff;
    color: #474747;
    font-size: .25rem;
    text-align: center;
    vertical-align: middle;
}
.card-position .active {
    border: 1px solid #00b2ff;
    color: #00b2ff;
}
.card-position .active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: .1rem;
    height: .44rem;
    background: #00b2ff;
}
.position-box {
    margin-top: .5rem;
    font-size: .3rem;
}
.position-box .tit {
    text-align: center;
    font-size: .35rem;
    font-weight: bold;
    color: #000;
}
.position-box .sub-tit {
    line-height: .5rem;
    text-align: center;
    font-size: .25rem;
    color: #999;
}
.position-item {
    display: block;
    position: relative;
    width: 6.9rem;
    height: 1.59rem;
    margin: .3rem auto 0 auto;
    padding: .35rem 1.2rem 0 .6rem;
    background: #fff;
    white-space: nowrap;
}
.position-item .icon-pos {
    position: absolute;
    top: .45rem;
    left: .2rem;
    width: .28rem;
    height: .34rem;
    background-position: 82.922% 27.465%;
}
.position-item .icon-map {
    position: absolute;
    top: .45rem;
    right: .2rem;
    width: .54rem;
    height: .49rem;
    background-position: 89.429% 0;
}
.position-item h3 {
    font-size: .35rem;
    font-weight: bold;
}
.position-item p {
    line-height: .4rem;
    font-size: .25rem;
    color: #999;
}
