
/******************************************************************************/
.block {
    margin: 0 auto 2rem auto;
    border-width: 0;
    padding: 0;

    /*改*/
    background-color: whitesmoke;
    /*改*/

    width: 70%;
    height: auto;
}


.block:last-child {
    margin: 0 auto 0 auto;
}

.block > .block_title {
    margin: 0;
    border-width: 0;
    padding: 0;

    width: 100%;
    height: auto;

    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;

    position: relative;
}

.block > .block_wrapper {
    margin: 0;
    border-width: 0;
    padding: 0;

    width: 100%;
    height: auto;
}

.block > .block_title > h2 {
    margin: 0 auto 3rem auto;
    border-width: 0;
    padding: 0 0.5rem;

    position: relative;
    z-index: 2;

    width: 10rem;
    height: auto;

    text-align: center;
    background: #f5f5f5;
}

.block > .block_title > hr {
    margin: 0;
    border-width: 0;
    padding: 0;

    position: absolute;
    top: 1rem;
    right: 0;
    left: 0;
    z-index: 1;

    width: 100%;
    height: 1px;

    background: #dcdcdc;;
}

.block > .block_wrapper p {
    text-align: justify;
    word-break: break-all;
    white-space: normal;
    color: #666;
}

.block > .block_wrapper.introduction {
    padding: 1rem 1rem;
    width: calc(100% - 2rem);
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 0.5rem rgba(240, 240, 240, 0.9);
}

/******************************************************************************/



#product_wrapper {
    margin: 0;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

#product_wrapper .product {
    margin: 1.3rem 0 0 0;
    border-width: 0;
    padding: 1rem 1rem;

    width: calc(100% - 2rem);
    height: 15rem;

    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;

    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 0 0.5rem rgba(240, 240, 240, 0.9);

    cursor: default;
    transition-property: all;
    transition-delay: 0s;
    transition-duration: 0.4s;
    transition-timing-function: linear;
}

#product_wrapper .product:first-child {
    margin: 0 0 0 0;
}

#product_wrapper .product:nth-child(2n) {
    flex-direction: row-reverse;
}

#product_wrapper .product > div:first-child {
    margin: 0 3rem 0 0;
    border-width: 0;
    padding: 0;

    width: 40%;
    height: 100%;

    overflow: hidden;
}

#product_wrapper .product > div:last-child {
    margin: 0 0 0 0;
    border-width: 0;
    padding: 0;

    width: calc(100% - 40% - 3rem);
    height: 100%;
}

#product_wrapper .product:nth-child(2n) > div:first-child {
    margin: 0 0 0 3rem;
}

#product_wrapper .product img {
    width: 100%;
    height: 100%;

    border-radius: 3px;

    object-position: center;
    object-fit: cover;

    transition-property: all;
    transition-delay: 0s;
    transition-duration: 0.4s;
    transition-timing-function: linear;
}


#product_wrapper .product:hover {
    box-shadow: 0 0 0.5rem rgba(200, 200, 200, 0.9);
}

#product_wrapper .product:hover img {
    transform: scale(1.2);
}

/******************************************************************************/
#activity_wrapper {
    width: 100%;
    height: 100%;
}

#activity_wrapper .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    box-shadow: 0 0 0.5rem rgba(240, 240, 240, 0.9);
    transition-property: all;
    transition-delay: 0s;
    transition-duration: 0.4s;
    transition-timing-function: linear;
}

#activity_wrapper .swiper-slide:hover {
    box-shadow: 0 0 0.5rem rgba(200, 200, 200, 0.9);
}

#activity_wrapper .swiper-slide img {
    display: block;
    width: 100%;
    height: 10rem;
    object-fit: cover;
    object-position: center;
}

#activity_wrapper .swiper-slide p {
    margin: 0;
    padding: 0.5rem;

    width: calc(100% - 1rem);
    height: 5.4rem;

    background-color: #fff;
    color: #666;
    text-align: justify;
    font-size: 0.8rem;
    line-height: 1.4rem;

    transition-property: all;
    transition-delay: 0s;
    transition-duration: 0.1s;
    transition-timing-function: linear;
}

#activity_wrapper .swiper-slide:hover p {
    background-color: #ff7b00;
    color: #fff;
}
/* *************************************************************************** */
/* 首页动画 */
.disappearBox {
    width: 100vw;
    height: 100vh;

    text-align: center;     
    
    display: flex;
    justify-content: center;
    align-items: center;

    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    /* z-index: 99; */


    background-color: #fff;
    user-select: none;
    opacity: 0.5;
    animation-duration: 7s;
    animation-iteration-count: 1;
    animation-name: disappear;
}

.disappearBox img {
    width: 5rem;
    user-select: none;

    /* 绝对位置 */
    /* position: absolute;
    left: 5.3rem;
    top: 1.6rem; */

    animation: comeIN 3s forwards,toSmallAndLeft 3s forwards 3.5s;
}

@keyframes disappear {
    0% {
        opacity: 1;
        z-index: 99;
    }
    75% {
        opacity: 1;
        z-index: 99;
    }
    100% {
        opacity: 0;
        z-index: -1;
    }
}

@keyframes toSmallAndLeft {
    0% {
        position: absolute;
        width: 24rem;

        left:calc(50% - 12rem);
        top: calc(50% - 11.2rem);
    }
    100% {
        position: absolute;
        width: 6rem;

        left: 5rem;
        top: calc(60px - 2.65rem) ;
    }
}

@keyframes comeIN {
    0%{
        width: 0;
    }
    100%{
        width: 24rem;
    }

}


/******************************************************************************/
#productHome{
    width: 100%;
    height: auto;
    background-color: rgb(254,243,232);

    box-sizing: border-box;
    margin: 0;
}

#productHome .proContent{
    width: 100%;
    height: 400px;
    margin-top: 2rem;
    box-sizing: border-box;
}
.proContent fieldset{
    margin: 0 auto;
    width: 70%;
    height: 100%;
    box-sizing: border-box;
    padding-top: 0;
    border: 0;
}
.proContent .title-fieldset{
    border-top: 2px solid #ff7b00 ;
    border-image: radial-gradient( #ff8400 ,rgba(210,90,43,3)) 1;
}
.proContent fieldset legend{
    text-align: center;
    padding: 0 2rem 0 2rem;

    font-size: 1.6rem;
    font-weight: 300;
    color: rgb(95,93,93);
}

.proContentBody{
    width: 100%;
    height: 100%;
    box-shadow: 5px 0px 5px -5px rgba(0, 0, 0, 0.15), -5px 0px 5px -5px rgba(0, 0, 0, 0.15);

    margin: 0 auto;

    display: flex;
    justify-content: space-evenly;
    align-items: center;
}


/* 偶数反转 */
/* #productHome .proContent:nth-child(2n)
 .proContentBody .contentPicture{
    height: 100%;
 } */
#productHome .proContent:nth-child(2n) .proContentBody{
    flex-direction: row-reverse;
}


/* *************** */
.contentPicture{
    width: 30%;
    height: 80%;

    box-sizing: border-box;
    box-shadow: 0.3rem .5rem 0.5rem rgba(95,93,93,0.8);
    border-radius: 5%;

    overflow: hidden;
}


.contentPicture img{
    width: 100%;
    height: 100%;

    border-radius: 5%;
    object-fit: cover;
    object-position: center;

    transition-property: all;
    transition-duration: .5s;
    transition-delay: 0s;
    transition-timing-function: linear;

}
.contentPicture img:hover{
    transform: scale(1.05);
}

.contentText{
    width: 50%;
    height: 80%;

    padding: 0 2rem;
    margin: -2rem 0;
    box-sizing: border-box;

    color: rgb(95,93,93);

    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.contentText h2{
    font-size:1.8rem;
    font-weight: bold;
}
.contentText p{
    text-indent: 4ch;
    font-size: 1.125rem;
    line-height: 1.75rem;
    width: 100%;
    max-height: 160px;
    overflow: hidden;
    word-break: break-all;
    white-space: normal;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.contentText button{
    width: 150px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 1rem;
    font-weight: 300;

    cursor: pointer;
    user-select: none;
    letter-spacing: .8rem;
    text-indent: .8rem;

    border-radius: 20px;
    box-sizing: border-box;
    background-color: rgb(254,243,232);
}

.slideBtn {
    border: 2px solid rgb(229,111,35);
    color: rgb(229,111,35);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: .8s;
}

.slideBtn::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 0;
    height: 100%;
    left: 0;
    background-color: rgb(229,111,35);
    transition: ease-in-out .5s;
}

.slideBtn:hover::before {
    width: 100%;
}
.slideBtn:hover{
    color: rgb(254,243,232);
}
/* ************************************************** */
.proContentFooter{
    width: 100%;
    height: 30%;

    /* background-color: rgba(95,93,93,.1); */
    /* background-color: #ff7b00; */

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    overflow: hidden;
}

.proContentFooter .footerPhotos{
    flex: 1;
    height: 100%;

    margin: 0 0.5rem;

    border-radius: 5px;
    box-sizing: border-box;
    box-shadow: 0 0 0.8rem rgba(0,0,0,0.8);
}
.proContentFooter .footerPhotos:first-child,
.proContentFooter .footerPhotos:last-child{
    margin: 0;
}
/* 偶数改变样式 */
/* *****.proConten***** */
#productHome .proContent:nth-child(2n)
 .proContentFooter{
    height: 30%;
 }
#productHome .proContent:nth-child(2n)
.proContentFooter .footerPhotos:first-child{
    flex: 2;
    height: 120%;
}
/* ******轮播********* */
.swiper-container {
    width: 80%;
    height: auto;
    padding:40px 0;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 5%;
    box-shadow: 5px 0px 5px -5px rgba(0, 0, 0, 0.15), -5px 0px 5px -5px rgba(0, 0, 0, 0.15);

    position: relative;
    z-index: 0;
    
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    height: 800px;
    width: 300px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 5px;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    transition-property:all;
  }
  .swiper-slide img{
      width: 100%;
      height: 240px;
      border-radius: 5px;
      object-fit: cover;
      object-position: center;
  }
/* *************** */

#companyInfo{
    width: 800px;
    height: 600px;
    margin: 100px auto 100px auto;

    box-sizing: border-box;
    box-shadow: .5rem .5rem .5rem rgba(95,93,93,.8);
    /* border: 1rem solid green; */

    position: relative;

}

#companyInfo .com1{
    float: right;
    width: 60%;
    height: 100%;

    background-image: url('../static/img/1682232829847.jpg');
    background-repeat:no-repeat;
    background-size: cover;
}

.comMask{
    position: absolute;
    width: 60%;
    height: 100%;

    right: 0;
    background: radial-gradient( rgba(254,243,232,.2), rgba(210,90,43,.6));
}

#companyInfo .com2{
    float: left;
    width: 40%;
    height: 50%;


    background-image: url('../static/img/logo.png');
    background-repeat:no-repeat;
    background-size: contain;
}

#companyInfo .com3{
    float: left;
    width: 40%;
    height: 50%;

    background-image: url('../static/img/1682233348178.jpg');
    background-repeat:no-repeat;
    background-size: cover;
}

html{
    scroll-behavior: smooth;
}
/* oa飘窗 */
.toOa{
    width: 50px;
    height: 50px;

    overflow: hidden;
    
    background: url("../static/img/logo_new.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgb(254,243,232);

    position: fixed;
    top:4rem;
    right: 2rem;

    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    border-radius: 5px;


    transition-property: all;
    transition-duration: .5s;
    transition-delay: 0s;
    transition-timing-function: linear;
}
.toOa a{
    color: rgb(95, 93, 93);
    
    box-sizing: border-box;
    height: 80px;
    padding-top: 20px;

    display: block;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
}
.toOa .turn-contact{
    /* hover后离图片的高度 */
    margin-top: 100px;
}
.toOa:hover{
    width: 100px;
    height: 270px;
    border-radius: 0;
}

/*  */
@media screen and  (max-width: 720px){
    @keyframes toSmallAndLeft {
        0% {
            position: absolute;
            width: 24rem;
    
            left:calc(50% - 12rem);
            top: calc(50% - 11.2rem);
        }
        100% {
            position: absolute;
            width: 6rem;
    
            left: 0;
            top: 0;
        }
    }
    /* 竖排显示 企业和产品显示*/
    
    #productHome .proContent{
        
        height: 700px;
        justify-content: space-between;
    }
    #productHome .proContent .proContentBody{
        margin-top: 2rem;
        box-shadow:0 0 transparent;
    }
    #productHome .proContent .contentPicture,#productHome .proContent .contentText{
        width: 100%;
    }
    #productHome .proContent .contentText{
        justify-content: center;
        row-gap: 20px;
    }
    #productHome .proContent .contentText>a button{
        width: 100px;
        height: 40px;
    }
    #productHome .proContent:nth-child(2n) .proContentBody{
        flex-direction: column;
    }

    .proContentBody{
        flex-direction: column;
    }
    /* oa飘窗 */
    .toOa{
        right: 5px;
    }
    /* 底部图片显示 */
    #companyInfo{
        width: 300px;
        height: 810px;
    }
    #companyInfo .com1,#companyInfo .com2,#companyInfo .com3{
        width: 300px;
        height: 270px;
    }
    #companyInfo .comMask{
        display: none;
    }
}