@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 {
    height: 100%;
}

.container img {
    max-width: 100%;
}




/* ==========================================================================
   Home page
========================================================================== */
@media only screen and (min-width:921px) {
    #globalnav {
        top: .1rem;
    }

    #globalnav.mini_top {
        top: 0;
    }

    .head_bg {
        position: relative;
    }

    .head_bg::before {
        content: "";
        position: absolute;
        left: 0;
        width: 100%;
        height: 2.26rem;
        background: linear-gradient(180.00deg, rgba(0, 0, 0, 0.76) 0.001%, rgba(46, 104, 98, 0) 100%);
        opacity: 0.6;
        z-index: 2;
    }
}


.home_bg {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    align-items: center;
    /* padding-top: 1rem; */
}

.home_main {
    width: 100%;
}

@media only screen and (max-width: 920px) {
    .home_bg {
        height: calc(100% - 48px);
    }
}


/* ==========================================================================
   part01
========================================================================== */
.banner_video {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video_auto {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner_line {
    position: absolute;
    width: 86.875vw;
    right: -1.6rem;
    bottom: -2rem;
    z-index: -1;
}

.banner_line img {
    animation: scaleAnimation 8s linear infinite;
}

@keyframes scaleAnimation {
    0% {
        transform: scale(.85);
    }

    50% {
        transform: scale(1);
    }

    100% {
        transform: scale(.85);
    }
}

.home_theme {
    color: rgb(255, 255, 255);
    font-size: .48rem;
    font-weight: 300;
    max-width: 9.12rem;
    margin-bottom: .95rem;
}

.home_zjcm {
    color: rgb(255, 255, 255);
    font-size: .18rem;
    font-weight: 300;
    transition: all .3s;
}

.home_zjcm img {
    margin-right: .1rem;
    width: .57rem;
}

.home_zjcm:hover {
    color: #fff;
    transform: translateX(0.1rem);
}



@media only screen and (max-width: 920px) {
    .banner {
        padding: 40px 0;
    }
}

@media only screen and (max-width: 500px) {
    .home_theme {
        font-size: 16px;
    }

    .banner_line {
        bottom: -60px;
        right: 0;
    }

    .home_zjcm img {
        width: 30px;
    }

    .home_zjcm {
        font-size: 12px;
    }
}


















/* ==========================================================================
   part02
========================================================================== */
@media only screen and (min-width: 921px) {
    .part02 {
        animation: backgroundZoom 10s;
        animation-fill-mode: forwards;
    }
}


@keyframes backgroundZoom {
    0% {
        background-size: 100% 100%;
    }

    100% {
        background-size: 106% 106%;
    }
}

.home_list li {
    width: 16.66%;
    transition: all .4s;
}

.home_list li:not(:last-of-type) {
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.home_apply {
    height: 100vh;
    border-bottom: .05rem solid transparent;
    position: relative;
    transition: all .3s;
}


.homeApply_title {
    color: rgb(255, 255, 255);
    font-size: .24rem;
    font-weight: 300;
}


.homeApply_box {
    opacity: 0;
    transition: all .3s;
    flex-direction: column;
    align-items: center;
}

.homeApply_img {
    width: 1rem;
}

.homeApply_title2 {
    color: rgb(255, 255, 255);
    font-size: .36rem;
    font-weight: 700;
    margin: .45rem 0;
}

.homeApply_area {
    color: rgb(255, 255, 255);
    font-size: .16rem;
    font-weight: 300;
    line-height: 170%;
    max-width: 2.44rem;
}


.home_ckxq {
    white-space: nowrap;
    bottom: .65rem;
    color: rgb(255, 255, 255);
    font-size: .18rem;
    font-weight: 300;
    transition: all .3s;
    opacity: 0;
}

.home_ckxq img {
    width: .57rem;
    margin-right: .1rem;
}

.home_ckxq:hover {
    color: #fff;
}

.home_list li:hover {
    width: 20%;
}

.home_list li:hover .home_apply {
    background: rgba(38, 143, 130, .8);
    border-color: rgb(248, 182, 45);
}

.home_list li:hover .homeApply_title {
    opacity: 0;
    visibility: hidden;
}

.home_list li:hover .home_ckxq,
.home_list li:hover .homeApply_box {
    opacity: 1;
}

@media only screen and (max-width: 920px) {
    .home_list {
        flex-wrap: wrap;
    }

    .home_list li {
        width: 33.33%;
    }

    .home_apply {
        height: 280px;
    }

    .home_list li:nth-child(3) {
        border-right: 0;
    }

    .home_list li:nth-child(-n+3) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

    .home_list li:hover {
        width: 33.33%;
    }

    .home_ckxq {
        bottom: 10px;
    }

    .homeApply_img,
    .homeApply_area {
        display: none;
    }

}

@media only screen and (max-width: 768px) {
    .home_apply {
        height: 240px;
    }
}

@media only screen and (max-width: 500px) {
    .home_apply {
        height: 140px;
    }
}
















/* ==========================================================================
   part03
========================================================================== */
@media only screen and (min-width: 921px) {
    .part03 {
        animation: backgroundZoom2 10s;
        animation-fill-mode: forwards;
    }
}

.part03 {
    padding-top: 1rem;
}

@keyframes backgroundZoom2 {
    0% {
        background-size: 106% 106%;
    }

    100% {
        background-size: 100% 100%;
    }
}

.part03 .home_theme {
    max-width: 7.68rem;
    margin-bottom: 1.1rem;
}

.part03 {
    position: relative;
}

.entrance_box {
    position: absolute;
    right: 1.5rem;
    bottom: 1.25rem;
    margin-left: -0.45rem;
}

.entrance {
    width: 1.97rem;
    height: .59rem;
    border-radius: 39px;
    background: rgb(248, 182, 45);
    color: rgb(255, 255, 255);
    font-size: .18rem;
    transition: all .3s;
    margin-left: .45rem;
}

.entrance:hover {
    background: #fff;
}

.entrance .fa-chevron-right {
    opacity: 0;
    margin-left: .05rem;
    transition: all 0.2s;
}

.entrance:hover .fa-chevron-right {
    margin-left: .15rem;
    opacity: 1;
}

@media only screen and (max-width: 920px) {
    .part03 {
        padding: 40px 0;
    }

    .entrance_box {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (max-width: 768px) {}

@media only screen and (max-width: 500px) {
    .entrance {
        font-size: 12px;
    }

    .entrance_box {
        right: 10px;
        bottom: 10px;
    }
}














/* ==========================================================================
   part04
========================================================================== */
@media only screen and (min-width: 920px) {
    .part04 {
        animation: backgroundZoom 10s;
        animation-fill-mode: forwards;
    }
}

.part04 {
    padding-top: 1rem;
}

.homeNews_title {
    color: rgb(38, 143, 130);
    font-size: .48rem;
    line-height: 1;
    font-weight: 300;
    margin-bottom: .62rem;
}

.homeNews_box {
    border-radius: .15rem;
    background: #fff;
    box-shadow: 0px 0px .19rem 0px rgba(0, 0, 0, 0.19);
}

.homeNews_box .pic {
    border-radius: .15rem .15rem 0 0;
}

.homeNews_area {
    padding: .3rem .5rem;
}

.homeNews_date {
    font-size: .14rem;
    color: rgb(38, 143, 130);
    margin-bottom: .1rem;
}

.homeNews_desc {
    font-size: .24rem;
    font-weight: 300;
    line-height: 175%;
    color: #000;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.homeNews_box:hover .homeNews_desc {
    color: var(--primary);
}

.homeNews_list {
    margin-left: -0.65rem;
}

.homeNews_list li {
    width: calc(50% - .65rem);
    margin-left: .65rem;
}

.homeNews_list li:last-child {
    margin-top: -1.1rem;
}

.home_cksyxw {
    justify-content: flex-end;
    margin-top: -0.45rem;
}

.home_cksyxw .home_zjcm {
    color: var(--primary);
}

@media only screen and (max-width: 920px) {
    .part04 {
        padding: 40px 0;
    }

    .homeNews_date {
        font-size: 12px;
    }
}

@media only screen and (max-width: 768px) {}

@media only screen and (max-width: 500px) {
    .homeNews_list li {
        width: calc(100% - .65rem);
    }

    .homeNews_list li:last-child {
        margin-top: 20px;
    }

    .home_cksyxw {
        margin-top: 20px;
    }
}













/* ==========================================================================
   part05
========================================================================== */
.wrapper2 {
    margin: 0 auto;
    max-width: 1590px;
}

@media only screen and (min-width: 1680px) {
    .wrapper2 {
        padding: 0 20px;
        width: 90%;
    }
}


@media only screen and (min-width: 921px) {
    .part_last {
        animation: backgroundZoom2 10s;
        animation-fill-mode: forwards;
    }
}

.part_last {
    padding-top: 1rem;
    align-items: initial;
    flex-direction: column;
}

.last_main {
    flex: 1;
    align-items: center;
}

.last_main .wrapper {
    width: 100%;
}

.last_box {
    align-items: center;
}

.last_left {
    margin-left: -0.2rem;
}

.last_left h2 {
    color: rgb(255, 255, 255);
    font-size: .48rem;
    font-weight: 700;
    margin-left: .2rem;
}

.last_right {
    margin-left: .54rem;
}

.last_right h5 {
    color: rgb(255, 255, 255);
    font-size: .18rem;
    font-weight: 300;
}

@media only screen and (max-width: 920px) {
    .part_last {
        padding-top: 0;
    }

    .last_main {
        padding: 30px;
    }

    .part_last {
        background-size: cover;
        background-position: 50% 25%;
    }
}

@media only screen and (max-width: 500px) {
    .last_main {
        padding: 30px 0;
    }

    .last_right {
        margin-left: 0;
        margin-top: 10px;
    }

    .last_right h5 {
        font-size: 12px;
    }
}














/* ==========================================================================
   footer
   ========================================================================== */
footer {
    background: url(../assets/footer.png) no-repeat;
    background-size: 100% 100%;
    font-size: .16rem;
    color: #fff;
    position: relative;
}

footer a {
    color: #fff;
}

footer a:hover {
    text-decoration: underline;
    color: #fff;
}

.foot_main {
    padding: 1.05rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.foot_left {
    flex: 1;
}

.foot_right {
    margin-left: 1.8rem;
}

.foot_list {
    justify-content: space-between;
}

.foot_item {
    border-left: 1px solid rgb(255, 255, 255, .2);
    padding-left: .14rem;
}

.foot_item h3 {
    color: rgb(255, 255, 255);
    font-size: .16rem;
    font-weight: 400;
    line-height: 1;
    margin-bottom: .25rem;
    position: relative;
}

.foot_item h3::before {
    content: "";
    position: absolute;
    left: -0.15rem;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgb(248, 182, 45);
}

.foot_item h4 {
    color: rgb(255, 255, 255);
    font-size: .14rem;
    font-weight: 400;
    line-height: 175%;
}

.ewm_list {
    margin-left: -0.35rem;
}

.ewm_list li {
    margin-left: .35rem;
}

.ewm_img {
    width: 1.22rem;
}

.ewm_img img {
    width: 100%;
}

.ewm_name {
    color: rgb(255, 255, 255);
    font-size: .14rem;
    font-weight: 400;
    text-align: center;
    margin-top: .15rem;
}

.foot_phone {
    color: rgb(255, 255, 255);
    font-family: "roboto";
    font-size: .48rem;
    font-weight: 700;
    text-align: center;
    margin-top: .35rem;
}


/* ————————————————————  ———————————————————— */

.foothd_area {
    justify-content: space-between;
    padding: .24rem 0;
    font-size: .14rem;
}

.space {
    display: inline-block;
    width: .3rem;
}

@media only screen and (max-width: 1280px) {
    .foot_right {
        margin-left: 1rem;
    }
}

@media only screen and (max-width: 920px) {
    .foot_menu {
        display: none;
    }

    .foothd_area {
        font-size: 12px;
    }

    .space {
        width: 10px;
    }
}

@media only screen and (max-width: 500px) {
    .foothd_area {
        text-align: center;
        justify-content: center;
    }

    .space:nth-child(2) {
        display: block;
    }
}