@import url(./layout.css);

/* ==========================================================================
   common part
========================================================================== */
.pic {
    overflow: hidden;
    position: relative;
    height: auto;
    cursor: pointer;
}

.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 {
    transform: translate(-50%, -50%) scale(1.05);
    -webkit-transform: translate(-50%, -50%) scale(1.05);
}

.container img {
    max-width: 100%;
}



/* ==========================================================================
   part01
========================================================================== */
.part01 {
    width: 100%;
    height: 300vh;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.home_main {
    width: 100%;
    height: 100vh;
    position: relative;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

.home_logo,
.home_bg,
.introduction {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
}

.home_logo {
    box-sizing: border-box;
    z-index: 5;
    background: #FFF;
    mix-blend-mode: screen;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
}

.home_logo img {
    width: 25%;
    filter: brightness(0);
}

.home_bg {
    box-sizing: border-box;
    z-index: 1;
}

.home_bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.introduction {
    box-sizing: border-box;
    z-index: 10;
    /* padding-bottom: clamp(40px, 4.16666667vw, 80px); */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.introduction .wrapper {
    box-sizing: border-box;
    width: 100%;
}

.intro_module {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 0 1.7rem;
    position: relative;
}

.intro_module::before {
    content: "";
    position: absolute;
    left: 0;
    top: -1rem;
    width: .64rem;
    height: .6rem;
    background: url(../images/douhao01.png) no-repeat;
    background-size: contain;
}

.intro_module::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    width: .78rem;
    height: .75rem;
    background: url(../images/douhao02.png) no-repeat;
    background-size: contain;
}

.intro_title {
    color: rgb(255, 255, 255);
    font-size: .48rem;
    line-height: 1;
    font-weight: 700;
}

.home_intro {
    color: rgb(255, 255, 255);
    font-size: .16rem;
    font-weight: 400;
    line-height: 2;
    margin: .8rem 0 .7rem;
}

.home_about {
    width: 1.56rem;
    height: .52rem;
    color: rgb(255, 255, 255);
    font-size: .16rem;
    font-weight: 400;
    box-sizing: border-box;
    border: 1px solid rgb(255, 255, 255);
    border-radius: 39px;
    transition: all .3s ease;
}

.home_about img {
    margin-left: .2rem;
}

.home_about:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFF;
}


@media only screen and (max-width: 768px) {
    .home_intro {
        font-size: 12px;
    }

    .intro_title {
        line-height: 1.5;
    }

    .part01 {
        height: 100vh;
    }

    .home_main {
        height: 100%;
    }

    .introduction {
        height: 100%;
    }
}

@media only screen and (max-width: 500px) {
    .intro_module {
        padding: 0;
    }
}









/* ==========================================================================
   part02
========================================================================== */
.part02 {
    position: relative;
    padding: 1.6rem 0;
}

.part02::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 7.31rem;
    height: 100%;
    background: url(../images/part02_l.png) no-repeat left bottom;
    background-size: contain;
    z-index: -1;
}

.part02::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 7.31rem;
    height: 100%;
    background: url(../images/part02_r.png) no-repeat right top;
    background-size: contain;
    z-index: -1;
}


.homePro_frame {
    justify-content: space-between;
    margin-left: -1.6rem;
}

.homePro_box {
    width: calc(50% - 1.6rem);
    margin-left: 1.6rem;
}

.homePro_title {
    color: rgb(17, 17, 17);
    font-size: .48rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: .7rem;
}

.homePro_desc {
    color: rgb(51, 51, 51);
    font-size: .18rem;
    font-weight: 400;
    line-height: 2;
}

.homePro_name {
    position: relative;
    width: calc(100% - 1.8rem);
    height: 1.4rem;
    align-items: center;
    box-sizing: border-box;
    padding: 0 .4rem;
    box-shadow: 4px 6px 10px 0px rgba(0, 0, 0, 0.2);
    background: rgb(249, 249, 249);
    margin-top: -0.7rem;
    margin-left: .4rem;
    color: rgb(17, 17, 17);
    font-size: .24rem;
    font-weight: 700;
}

.homePro_list li:nth-child(odd) .homePro_frame {
    flex-direction: row-reverse;
}

.homePro_list li:not(:first-child) .homePro_frame {
    margin-top: -1.4rem;
}

.homePro_area {
    position: relative;
    height: 100%;
}

.homePro_area::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 1px;
    background: rgb(206, 206, 206);
}

.homePro_list li:nth-child(1) .homePro_area::before {
    display: none;
}

.homePro_img {
    position: absolute;
    bottom: 1.6rem;
    right: 0;
}

.homePro_more {
    position: absolute;
    bottom: 1.4rem;
    right: 0;
    width: 1.56rem;
    height: .52rem;
    border-radius: 39px;
    background: rgb(17, 17, 17);
    color: rgb(255, 204, 0);
    font-size: .16rem;
    font-weight: 400;
}

.homePro_more img {
    margin-left: .2rem;
    transition: all .3s ease;
}

.homePro_more:hover img {
    transform: translateX(.1rem);
}

.homePro_module {
    position: relative;
    z-index: 1;
}

.homePro_module:hover .homePro_name {
    color: var(--primary);
}

.homePro_list {
    padding: 0 .4rem;
}

@media only screen and (max-width: 1024px) {

    .part02::before,
    .part02::after {
        background-size: 390px auto;
    }
}

@media only screen and (max-width: 768px) {

    .part02::before,
    .part02::after {
        background-size: 292px auto;
    }

    .homePro_box {
        width: 100%;
    }

    .homePro_list li:not(:first-child) .homePro_frame {
        margin-top: .7rem;
    }

    .homePro_list {
        padding: 0;
        position: relative;
    }

    .homePro_list li:first-child .homePro_frame .homePro_area {
        margin-bottom: 20px;
    }

    .homePro_desc {
        font-size: 12px;
    }

    .homePro_area::before {
        display: none;
    }

    .homePro_area {
        position: static;
    }

    .homePro_more {
        bottom: -1rem;
    }

}










/* ==========================================================================
   part03
========================================================================== */
.part03 {
    background: rgb(249, 249, 249);
    padding: 1.1rem 0;
}

.homeCase_title {
    color: rgb(17, 17, 17);
    font-size: .48rem;
    font-weight: 700;
    line-height: 1;
}

.home_case {
    padding: .6rem 0 .7rem;
}

.homeCase_box {
    box-sizing: border-box;
    margin: .05rem;
    padding: .3rem;
    border-radius: .1rem;
    box-shadow: 0px 6px 8px 0px rgba(0, 0, 0, 0.1);
    background: rgb(255, 255, 255);
    flex-direction: column;
}

.homeCase_name {
    color: rgb(17, 17, 17);
    font-size: .24rem;
    font-weight: 700;
    padding: .3rem 0 .2rem;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.homeCase_name::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: .12rem;
    height: .12rem;
    border-radius: 50%;
    background: rgb(255, 204, 0);
}

.homeCase_desc {
    color: rgb(51, 51, 51);
    font-size: .18rem;
    line-height: 1.9;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    height: calc(.18rem * 5.7);
}

.homeCase_img {
    margin-top: .1rem;
    align-self: flex-end;
    padding: .06rem .14rem;
    border-radius: 70px;
    background: rgb(1, 2, 5);
    transition: all .3s ease;
}

.homeCase_box:hover .homeCase_img {
    transform: translateX(.1rem);
}

.home_case {
    position: relative;
}

.home_case::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: calc(100% - 1.44rem);
    height: 1px;
    background: rgb(206, 206, 206);
}

.home_case .swiper-button-next:after,
.home_case .swiper-button-prev:after {
    display: none;
}

.home_case .swiper-button-prev {
    margin-top: 0;
    top: auto;
    bottom: -0.15rem;
    left: auto;
    right: .64rem;
    width: .3rem;
    height: .3rem;
    background: url(../images/arr01.svg) no-repeat center;
    transition: all .1s ease;
}

.home_case .swiper-button-prev:hover {
    background-image: url(../images/arr01_y.svg);
}

.home_case .swiper-button-next {
    margin-top: 0;
    top: auto;
    bottom: -0.15rem;
    right: 0;
    width: .3rem;
    height: .3rem;
    background: url(../images/arr02.svg) no-repeat center;
    transition: all .1s ease;
}

.home_case .swiper-button-next:hover {
    background-image: url(../images/arr02_y.svg);
}

@media only screen and (max-width: 768px) {
    .homeCase_name {
        font-size: 14px;
    }

    .homeCase_desc {
        font-size: 12px;
        height: calc(12px * 5.7);
    }
}

@media only screen and (max-width: 500px) {

    .home_case .swiper-button-next,
    .home_case .swiper-button-prev {
        width: 20px;
        height: 20px;
        bottom: -10px;
        background-size: contain;
    }
}










/* ==========================================================================
   part04
========================================================================== */
.part04 {
    background: url(../images/part04.png) no-repeat;
    padding: .8rem 0;
}

.summary {
    align-items: center;
    justify-content: space-between;
}

.summary_left h2 {
    color: rgb(255, 255, 255);
    font-size: .36rem;
    font-weight: 500;
    line-height: .6rem;
}

.summary_right .home_about:first-child {
    margin-right: .6rem;
}


@media only screen and (max-width: 500px) {
    .summary_right {
        margin-top: 20px;
    }

    .homePro_more,
    .home_about {
        width: 100px;
        height: 28px;
        font-size: 12px;
    }
}








/* ==========================================================================
   footer
   ========================================================================== */
footer {
    padding: 1rem 0;
    background: url(../images/foot.png) no-repeat 50% 0;
    background-size: cover;
}

.foot {
    justify-content: space-between;
}

.foot_area {
    margin: .4rem 0 .2rem;
}

.foot_area h6 {
    color: rgb(153, 153, 153);
    font-size: .16rem;
}

.foot_icon a:not(:last-of-type) {
    margin-right: .15rem;
}

.foot_box h3 {
    color: rgb(255, 255, 255);
    font-size: .24rem;
    font-weight: 700;
    margin-bottom: .25rem;
}

.foot_list li {
    line-height: 3;
}

.foot_list a {
    color: rgb(224, 224, 224);
    font-size: .18rem;
    font-weight: 400;
}

.foot_list a:hover {
    text-decoration: underline;
}

.foot_box h5 {
    color: rgb(224, 224, 224);
    font-size: .18rem;
    font-weight: 400;
    line-height: 3;
}

.foot_box:nth-child(1) {
    position: relative;
}

.foot_box:nth-child(1)::before {
    content: "";
    position: absolute;
    width: 1px;
    height: 100%;
    right: -1.7rem;
    top: 0;
    background: rgb(102, 102, 102);
}


@media only screen and (max-width: 768px) {

    .foot_icon,
    .foot_img,
    .foot_box:nth-child(1)::before,
    .foot_box:nth-child(2),
    .foot_box:nth-child(3) {
        display: none;
    }

    footer {
        padding: 0;
    }

    .foot_box:nth-child(1) {
        width: 100%;
    }

    .foot_area {
        margin: 10px 0;
        text-align: center;
    }

    .foot_area h6 {
        font-size: 12px;
    }
}
