@import url(./layout.css);

/* ==========================================================================
   common part
========================================================================== */
.pic {
    overflow: hidden;
    position: relative;
    height: auto;
}

.bgimg {
    width: 100%;
}

.upimg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all .5s;
}

.pic:hover .upimg {
    transform: scale(1.05);
}

/* 没有放大效果 */
.upimg2 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* 居中对齐 */
.upimg3 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transition: all .5s;
}

.pic:hover .upimg3 {
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* 缩小放大 */
.upimg4 {
    position: absolute;
    left: 50%;
    top: 50%;
    max-width: 100%;
    max-height: 100%;
    -webkit-transform: translate(-50%, -50%) scale(0.93);
    transform: translate(-50%, -50%) scale(0.93);
    transition: all .5s;
}

.pic:hover .upimg4 {
    -webkit-transform: translate(-50%, -50%) scale(1);
    transform: translate(-50%, -50%) scale(1);
}

.container img {
    max-width: 100%;
}

/* @media only screen and (max-width: 768px) {
    .banner {
        margin-top: 48px;
    }
} */



/* ==========================================================================
   part01
========================================================================== */
.part01 {
    padding: 50px 0;
}

.home_list {
    margin: 0 0 0 -0.35rem;
}

.home_list .home_item {
    width: calc(33.33% - .35rem);
    margin: 0 0 0 .35rem;
}

.home_list .home_item:nth-child(1) .home_box {
    background-image: url(../images/home01.png);
}

.home_list .home_item:nth-child(2) .home_box {
    background-image: url(../images/home02.png);
}

.home_list .home_item:nth-child(3) .home_box {
    background-image: url(../images/home03.png);
}

.home_box {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right bottom;
    padding: .54rem .94rem;
    border-radius: 8px;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.08);
    height: 100%;
}


.home_heading {
    justify-content: space-between;
    margin-bottom: .2rem;
}

.home_title {
    position: relative;
    color: rgb(2, 2, 2);
    font-size: .24rem;
    font-weight: 700;
}

.home_title::before {
    content: "";
    position: absolute;
    left: -0.46rem;
    top: 50%;
    transform: translateY(-50%);
    width: .27rem;
    height: .32rem;
    background-repeat: no-repeat;
    background-size: .27rem auto;
}

.home_list .home_item:nth-child(1) .home_title::before {
    background-image: url(../images/icon03.png);
}

.home_list .home_item:nth-child(2) .home_title::before {
    background-image: url(../images/icon04.png);
}

.home_list .home_item:nth-child(3) .home_title::before {
    background-image: url(../images/icon05.png);
}

.home_more {
    color: rgb(85, 85, 85);
    font-size: .16rem;
    font-weight: 400;
}

.home_more img {
    width: .24rem;
    margin-right: .06rem;
}

.homePro_list {
    margin-bottom: .2rem;
}

.homePro_list li {
    border-bottom: 1px solid rgb(222, 224, 236);
}

.homePro_link {
    padding: .15rem 0;
    justify-content: space-between;
    align-items: center;
    color: rgb(2, 2, 2);
    font-size: .2rem;
    font-weight: 500;
    position: relative;
}

.homePro_link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all .5s;
}

.homePro_link:hover::before {
    width: 100%;
}

.homePro_link img {
    width: .11rem;
}


.homeNews_list li {
    margin-top: .15rem;
}

.homeNews_link {
    align-items: center;
    border-bottom: 1px solid transparent;
    overflow: hidden;
}

.homeNews_link:hover {
    border-color: var(--primary);
    transition: all .4s;
}

.homeNews_link img {
    margin-right: .23rem;
    width: .08rem;
}

.homeNews_title {
    color: rgb(2, 2, 2);
    font-size: .18rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.homeNews_link:hover .homeNews_title {
    color: var(--primary);
}

@media only screen and (max-width: 1280px) {
    .home_box {
        padding: .36rem .62rem;
    }
}

@media only screen and (max-width: 960px) {
    .home_list .home_item {
        width: 100%;
    }

    .home_list .home_item:not(:last-of-type) {
        margin-bottom: 20px;
    }

    .home_title {
        font-size: 16px;
    }

    .home_more {
        font-size: 12px;
    }

    .homePro_link {
        font-size: 14px;
    }

    .homeNews_title {
        font-size: 14px;
    }
}

@media only screen and (max-width:500px) {
    .home_list .home_item {
        width: calc(100% - .35rem)
    }

    .part01 {
        padding: 30px 0;
    }
}









/* ==========================================================================
   footer
   ========================================================================== */
footer {
    background: rgb(247, 247, 247);
}

.foot_main {
    padding: .25rem 0;
    justify-content: space-between;
    align-items: center;
    color: rgb(153, 153, 153);
    font-size: .14rem;
    font-weight: 500;
}

.space {
    display: inline-block;
    width: .67rem;
}

.foot_main a {
    color: inherit;
}

.foot_main a:hover {
    text-decoration: underline;
}

.weixin {
    position: relative;
    cursor: pointer;
    margin-right: 4px;
}

.foot_ewm {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -1.15rem;
    width: 1.1rem;
    height: 1.1rem;
    padding: .05rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
}

.weixin:hover .foot_ewm {
    opacity: 1;
    visibility: visible;
}

.foot_column,
.column_left {
    align-items: center;
}

.column_right {
    margin-left: .67rem;
}

@media only screen and (max-width: 768px) {
    .foot_main {
        font-size: 12px;
        justify-content: center;
    }

    .space {
        width: 10px;
    }

    .foot_right {
        display: none;
    }

    .foot_area {
        text-align: center;
    }
}

@media only screen and (max-width: 500px) {
    .space {
        display: none;
    }

    footer .wrapper {
        padding: 0 10px;
    }
}