@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);
}

/* 缩小放大 */
.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);
}

/* 背景模式 */
.upimg5 {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s;
}

.pic:hover .upimg5 {
    transform: scale(1.05);
}

.container {
    height: 100%;
}

.container img {
    max-width: 100%;
}

.part_last,
.part02,
.part03,
.part04,
.part05 {
    width: 100%;
    height: 100%;
}


/* ==========================================================================
   part02
========================================================================== */
.part02 {
    position: relative;
    background: rgba(0, 0, 0, .5);
}

.part02_pa {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.part02_h1 {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font64);
    font-weight: 500;
    text-align: center;
    text-shadow: 2px 4px 4px rgba(0, 0, 0, 0.25);
}

.demand_list {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: background-image 0.35s ease-in-out;
}

.demand_list li {
    flex: 1;
    position: relative;
    z-index: 1;
}

.demand_list li:not(:last-of-type) {
    border-right: 1px solid rgba(255, 255, 255, .5);
}


.demand_box {
    width: 100%;
    height: 100%;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: .5rem;
}

.demand_area {
    flex-direction: column;
}

.demand_icon {
    width: .6rem;
    color: #fff;
    transition: all .3s;
}

.demand_icon svg {
    max-width: 100%;
}

.demand_box:hover .demand_icon {
    color: var(--primary);
}

.demand_name {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font24);
    font-weight: 400;
}

.demand_box:hover .demand_name {
    color: var(--primary);
}

@media only screen and (max-width: 768px) {
    .demand_list {
        flex-direction: column;
        height: 500px;
    }

    .demand_list li:not(:last-of-type) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
    }

    .part02_pa {
        display: none;
    }

    .demand_icon {
        width: 40px;
    }

    .demand_box {
        padding-bottom: 0;
        align-items: center;
    }
}

@media only screen and (max-width: 500px) {
    .demand_list {
        height: 400px;
    }
}











/* ==========================================================================
   part03
========================================================================== */
.global_flex {
    height: 100%;
}

.global_left {
    width: 6.6rem;
    background: url(../images/part03.png) no-repeat center;
    background-size: cover;
    display: none;
}

.global_right {
    /* width: calc(100% - 6.6rem); */
    width: 100%;
}


.global_module {
    flex-direction: column;
    padding: 2rem 1rem 0;
}

.global_h1 {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font48);
    font-weight: 700;
    text-align: center;
}

.global_info {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font20);
    font-weight: 400;
    margin: .6rem 0 .45rem;
}

.global_more {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font18);
    font-weight: 400;
    align-items: center;
}

.global_list {
    height: 100%;
}

.global_list li {
    overflow: hidden;
    flex: 1;
    transition: all .35s;
}

.global_list li:hover {
    flex: 2.5;
}

/* .global_list li.on {
    flex: 2.5;
} */

.global_box {
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.global_box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 27, 49, 0.4);
}

.global_area {
    position: absolute;
    left: 0;
    top: 45%;
    width: 100%;
}

.global_name {
    color: #fff;
    font-size: var(--font24);
    margin-bottom: .3rem;
    font-weight: bold;
    text-align: center;
}

.global_intro {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font18);
    font-weight: 400;
    padding: 0 .4rem;
    opacity: 0;
    transition: all .3s;
}

/* .global_list li.on .global_intro {
    opacity: 1;
} */

.global_list li:hover .global_intro {
    opacity: 1;
}

@media only screen and (max-width: 1023px) {
    .global_left {
        width: 5rem;
    }

    /* .global_right {
        width: calc(100% - 5rem);
    } */

    .global_module {
        padding: 1rem .4rem 0;
    }
}

@media only screen and (max-width: 768px) {
    .global_left {
        width: 100%;
    }

    .global_right {
        width: 100%;
    }

    .global_module {
        padding: .4rem;
    }

    .global_list li {
        height: 500px;
    }
}

@media only screen and (max-width: 500px) {
    .global_list li {
        flex: initial;
        width: 100%;
        pointer-events: none;
        height: auto;
    }

    .global_area {
        position: relative;
        top: 0;
    }

    .global_intro {
        opacity: 1;
    }

    .global_box {
        padding: 20px 0;
    }

    .global_name {
        --font24: 16px;
    }
}










/* ==========================================================================
   part04
========================================================================== */
.part04 {
    background: url(../images/part04.jpg) no-repeat;
    background-size: cover;
}

.homeInno_flex {
    height: 100%;
}

.homeInno_left {
    max-width: 12.24rem;
    width: 100%;
    padding-left: 2rem;
}

.homeInno_right {
    margin-left: .8rem;
    align-items: center;
}

.homeInno_thumb {
    height: 70%;
    position: relative;
}

.homeInno_thumb::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 7.68rem;
    height: 9.8rem;
    background: url(../images/circle.png) no-repeat;
    background-size: 100% auto;
}

.homeInno_swiper,
.mySwiper1,
.mySwiper2 {
    height: 100%;
}

.homeInno_bottom,
.homeInno_top {
    height: 50%;
    position: relative;
}

.homeInno_top {
    align-items: center;
}

.homeInno_top::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 64%,
            rgba(255, 255, 255, 0) 100%);
}

.homeInno_h1 {
    color: rgba(255, 0, 0, 1);
    font-size: var(--font48);
    font-weight: 700;
}

.homeInno_info {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font20);
    font-weight: 400;
    line-height: 2;
    margin: .5rem 0;
    max-width: 7.8rem;
}

.homeInno_link {
    padding: .15rem .35rem;
    color: rgba(255, 255, 255, 1);
    font-size: var(--font18);
    font-weight: 400;
    line-height: 1;
    background: rgba(202, 27, 29, 1);
}

.homeInno_link img {
    margin-left: .1rem;
    transition: all .3s;
}

.homeInno_link:hover {
    color: #fff;
}

.homeInno_link:hover img {
    transform: translateX(.1rem);
}

.homeInno_title {
    height: 100%;
    align-items: center;
}

.homeInno_h3 {
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--font36);
    font-weight: 700;
    cursor: pointer;
    padding-left: .8rem;
    transition: all .3s;
}

.mySwiper2 .swiper-slide-next .homeInno_h3,
.mySwiper2 .swiper-slide-prev .homeInno_h3 {
    color: rgba(255, 255, 255, 0.6);
    padding-left: .4rem;
}

.mySwiper2 .swiper-slide-active .homeInno_h3 {
    color: rgb(255, 0, 0);
    padding-left: 0;
}

@media only screen and (max-width: 1280px) {
    .homeInno_left {
        padding-left: 1.5rem;
    }
}

@media only screen and (max-width: 1023px) {
    .homeInno_left {
        padding-left: 1rem;
        max-width: 10rem;
    }
}

@media only screen and (max-width: 850px) {
    .homeInno_left {
        padding-left: .4rem;
    }

    .homeInno_right {
        margin-left: .4rem;
    }

    .homeInno_h3 {
        padding-left: 0 !important;
    }

    .homeInno_thumb {
        height: 5rem;
    }
}

@media only screen and (max-width: 768px) {
    .homeInno_left {
        max-width: 75%;
    }

    .homeInno_bottom,
    .homeInno_top {
        height: auto;
    }

    .homeInno_thumb::before {
        display: none;
    }

    .part04 {
        padding: .4rem 0;
    }

    .homeInno_top {
        padding-bottom: .4rem;
    }
}

@media only screen and (max-width: 500px) {
    .homeInno_left {
        max-width: 65%;
    }
}








/* ==========================================================================
   part05
========================================================================== */
.part05 {
    background: url(../images/part05.jpg) no-repeat center;
    background-size: cover;
    align-items: center;
}

.part05_wrapper {
    padding: 0 1.75rem;
    width: 100%;
}

.homeNews_left {
    padding: .45rem 0;
    width: calc(100% - 10.6rem);
    flex-direction: column;
    align-items: flex-start;
}

.homeNews_right {
    width: 10.6rem;
}

.homeNews_h1 {
    color: rgba(21, 22, 25, 1);
    font-size: var(--font48);
    font-weight: 700;
}

.homeNews_h4 {
    color: rgba(50, 50, 50, 1);
    font-size: var(--font20);
    font-weight: 400;
    margin: .1rem 0 .5rem;
}


.homeNews_item {
    position: relative;
    color: rgba(50, 50, 50, 1);
    font-size: var(--font20);
    font-weight: 500;
    z-index: 1;
    cursor: pointer;
    margin-bottom: .5rem;
}

.homeNews_item.selected {
    color: #fff;
}

.homeNews_item::before {
    content: "";
    position: absolute;
    left: -1.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3.8rem;
    height: .5rem;
    background: transparent;
    z-index: -1;
}

.homeNews_item.selected::before {
    background: rgba(202, 27, 29, 1);
}

.homeNews_link {
    margin-top: auto;
    width: .63rem;
}

.homeNews_list {
    gap: .6rem;
}

.homeNews_list li {
    width: calc(50% - .3rem);
}

.homeNews_box {
    box-shadow: 0px 0px 40px 0px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, .6);
    padding: .35rem .5rem .55rem;
    height: 100%;
    transition: all .3s;
}

.homeNews_box:hover {
    transform: translateY(-0.1rem);
}

.homeNews_date {
    color: rgba(50, 50, 50, 1);
    font-size: var(--font18);
    font-weight: 500;
}

.homeNews_day {
    color: rgba(202, 27, 29, 1);
    font-size: var(--font36);
    font-weight: 500;
    margin-right: .1rem;
}

.homeNews_title {
    color: rgba(50, 50, 50, 1);
    font-size: var(--font20);
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    margin: .15rem 0 .3rem;
}

.homeNews_more {
    color: rgba(50, 50, 50, 1);
    font-size: var(--font16);
    font-weight: 400;
}

.homeNews_box:hover .homeNews_more {
    color: var(--primary);
}

.homeNews_more i {
    color: rgba(202, 27, 29, 1);
    margin-left: .1rem;
}

@media only screen and (max-width: 1023px) {
    .part05_wrapper {
        padding: 0 1rem;
    }
}

@media only screen and (max-width: 800px) {
    .part05_wrapper {
        padding: 0 .4rem;
    }

    .homeNews_left {
        width: 2.5rem;
    }

    .homeNews_right {
        width: calc(100% - 2.5rem);
    }

    .homeNews_list {
        gap: .4rem;
    }

    .homeNews_list li {
        width: calc(50% - .2rem);
    }
}

@media only screen and (max-width: 768px) {
    .part05_wrapper {
        padding: .4rem;
    }
}

@media only screen and (max-width: 500px) {
    .homeNews_left {
        width: 100%;
    }

    .homeNews_right {
        width: 100%;
    }

    .homeNews_list {
        gap: .2rem;
    }

    .homeNews_list li {
        width: calc(50% - .1rem);
    }

    .homeNews_box {
        padding: 10px;
    }

    .homeNews_item {
        margin-bottom: 20px;
    }
}










/* ==========================================================================
   part06
========================================================================== */
.part06 {
    height: calc(100% - 4rem);
    background: url(../images/part06.jpg) no-repeat center;
    background-size: cover;
}

.slogan_wrapper {
    height: 100%;
    padding: 0 0 1rem;
}

.slogan_rel {
    position: relative;
}

.slogan_box {
    position: absolute;
    top: 35%;
}

.slogan_box:nth-of-type(1) {
    max-width: 2rem;
    left: 14%;
}

.slogan_box:nth-of-type(2) {
    max-width: 4.65rem;
    left: 38%;
}

.slogan_box:nth-of-type(3) {
    max-width: 2.9rem;
    left: 75.5%;
}

.slogan_title {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font36);
    font-weight: 700;
}

.slogan_info {
    color: rgba(255, 255, 255, 1);
    font-size: var(--font18);
    font-weight: 400;
    line-height: 2;
}

@media only screen and (max-width: 800px) {
    .slogan_rel img {
        display: none;
    }

    .slogan_wrapper {
        padding: .4rem .2rem;
    }

    .slogan_box {
        position: static;
        max-width: 100% !important;
    }

    .slogan_box:not(:last-of-type) {
        margin-bottom: .4rem;
    }
}

@media only screen and (max-width: 768px) {
    .part06 {
        height: auto;
    }
}










/* ==========================================================================
   footer
   ========================================================================== */
footer {
    background: rgba(51, 51, 51, 1);
    height: 4rem;
}

footer a:hover {
    text-decoration: underline;
}

.foot_wrapper {
    padding: 0 .8rem;
    width: 100%;
}

.foot_list {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    height: 3.3rem;
    padding: 0 .8rem;
    align-items: center;
    justify-content: space-between;
}

.foot_item:nth-child(1) {
    width: 3rem;
}

.foot_item:nth-child(2) {
    width: calc(100% - 5rem);
}

.footCon_list {
    gap: .1rem;
    margin: .5rem 0 0;
}

.footCon_list li {
    position: relative;
}

.foot_link {
    width: .4rem;
}

.pullUp {
    width: 1.2rem;
    height: 1.2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: .5rem;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.pullUp img {
    width: 100%;
}

.footCon_list li:hover .pullUp {
    opacity: 1;
    visibility: visible;
}

.foot_nav {
    justify-content: space-between;
}

.foot_h3 {
    margin-bottom: .1rem;
}

.foot_h3 a {
    color: rgba(255, 255, 255, .9);
    font-size: var(--font20);
    font-weight: 500;
}

.foot_ul li a {
    color: rgba(255, 255, 255, .8);
    font-size: var(--font18);
    font-weight: 400;
    line-height: 2;
}

.copy_right {
    padding: 0 .8rem;
    height: .7rem;
    align-items: center;
    justify-content: space-between;
    font-size: var(--font16);
    color: rgba(255, 255, 255, .8);
}

.copy_right a {
    color: inherit;
}

@media only screen and (max-width: 800px) {

    .foot_list,
    .copy_right {
        padding: 0;
    }

    .foot_item:nth-child(2) {
        width: calc(100% - 3.6rem);
    }

    .foot_wrapper {
        padding: 0 .4rem;
    }
}

@media only screen and (max-width: 768px) {
    footer {
        height: auto;
    }

    .foot_main {
        display: none;
    }

    .copy_right {
        height: auto;
        padding: 10px 0;
    }
}

@media only screen and (max-width: 500px) {
    .foot_wrapper {
        padding: 0 10px;
    }

    .copy_right {
        justify-content: center;
        white-space: nowrap;
    }
}






/* ==========================================================================
   右边侧边栏
   ========================================================================== */
.sideBar {
    position: fixed;
    right: .2rem;
    bottom: 1rem;
    z-index: 9;
}

.float_list {
    flex-direction: column;
    row-gap: .1rem;
}

.float_box {
    position: relative;
    padding-left: 5px;
}

.float_link {
    width: .45rem;
    height: .45rem;
    background: var(--primary);
    border-radius: 50%;
    font-size: var(--font20);
    color: #fff;
}

.float_link:hover {
    color: #fff;
}

.float_show {
    position: absolute;
    top: 50%;
    right: 100%;
    min-height: .45rem;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translate(-10px, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.float_box:hover .float_show {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
    transition: all 0.3s;
}

.float_msg {
    min-height: .45rem;
    padding: .05rem;
    font-size: var(--font18);
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.float_msg img {
    width: 1rem;
}

.goTop {
    transition: all .2s;
}

.goTop.hide {
    height: 0;
    opacity: 0;
    pointer-events: none;
}

@media only screen and (max-width: 920px) {
    .sideBar {
        display: none;
    }
}