@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: #F7F7F7;
}

footer a:hover {
    text-decoration: underline;
}

.foot_list {
    column-gap: 1rem;
}

.foot_main {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(89, 89, 89, 0.19);
}

.foot_logo {
    width: 2.08rem;
}

.foot_contact {
    margin-top: 0.1rem;
    color: rgba(51, 51, 51, 1);
    font-size: .18rem;
    font-weight: 400;
    line-height: 230%;
}

.foot_contact p {
    display: flex;
    align-items: center;
}

.foot_contact img {
    margin-right: 0.1rem;
}

.foot_ewm {
    width: 1.2rem;
}

.ewm_name {
    color: rgba(51, 51, 51, 1);
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-top: 5px;
}

.foot_nav {
    justify-content: space-between;
}

.foot_nav a {
    color: inherit;
}

.foot_h3 {
    color: rgba(51, 51, 51, 1);
    font-size: .18rem;
    font-weight: 500;
    margin-bottom: 0.1rem;
}

.foot_ul li {
    color: rgba(51, 51, 51, 1);
    font-size: .16rem;
    font-weight: 400;
    line-height: 250%;
}

.foot_item:nth-child(3) {
    flex: 1;
}

.copy_right {
    padding: 0.2rem 0;
    color: rgba(51, 51, 51, 1);
    font-size: .16rem;
    font-weight: 400;
    justify-content: space-between;
}

@media only screen and (max-width: 1280px) {
    .foot_ewm {
        width: 100px;
    }
}

@media only screen and (max-width: 768px) {
    .foot_main {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    .space {
        display: block;
    }
}