﻿/* 公共部分 */

.index_tit {
    width: 100%;
    text-align: center;
    font-size: 20px;
}

.index_tit p {
    font-size: 2em;
    color: #2b2b2b;
}

.index_tit p {
    letter-spacing: 14px;
    text-indent: 14px;
}

.index_tit span {
    letter-spacing: 8px;
}

.index_tit i {
    display: block;
    background-color: #ff4229;
    height: 2px;
    width: 3em;
    margin: 1em auto;
}

.index_tit span {
    font-size: 0.7em;
    color: #2b2b2b;
}

/* banner */

.index_banner, .index_banner .swiper-container {
    position: relative;
    width: 100%;
    height: calc(100vh);
}

.index_banner .swiper-container {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 0;
    z-index: 0;
    background-color: #000;
}

.index_banner .swiper-slide {
    height: 100%;
}

.index_banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.index_banner .swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    border-radius: 0px;
    opacity: 1 !important;
    background-color: #cccccc;
}

.index_banner .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #ff4229;
}

/* 动态banner */

.swiper-slide-active .yh {
    transform: rotate(90deg);
    opacity: 1;
    transform: scale(1);
}

.swiper-slide-active .banner_t {
    left: 37.18%;
    opacity: 1;
}

.swiper-slide-active .banner_hover2 p, .swiper-slide-active .banner_hover2 .bor {
    opacity: 1;
    margin-left: 0;
}

.swiper-slide-active .banner_hover1 p {
    opacity: 1;
    transform: translateY(0);
}

.swiper-slide-active .renmin {
    right: 8.54%;
    opacity: 1;
}

.swiper-button-prev, .swiper-button-next {
    width: 44px;
    height: 44px;
    position: absolute;
    top: initial;
    bottom: 48px;
    border-radius: 50%;
    opacity: 0;
    transition: 1s;
}

.swiper-button-prev::after, .swiper-button-next::after {
    transform: scale(0.6);
    color: white;
}

.swiper-button-prev {
    left: 45%;
    transform: translateX(-100px);
}

.swiper-button-next {
    right: 45%;
    transform: translateX(100px);
}

#svg_bottom, #svg_top {
    position: absolute;
    width: 66px;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 6;
    transition: 1s;
}

.pages {
    height: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    z-index: 6;
    color: white;
}

/* 1 */

.banner_t {
    color: #ae7968;
    position: absolute;
    top: 37.81%;
    left: 40.18%;
    letter-spacing: 10px;
    line-height: 1.6;
    transition: 2s;
    opacity: 0;
}

.yh {
    position: absolute;
    transition: 2s;
    opacity: 0;
    transform: scale(0);
}

.yh1 {
    width: 10.41%;
    top: 35.63%;
    left: 22.37%;
}

.yh2 {
    width: 1.66%;
    left: 36.35%;
    top: 46.43%;
}

.yh3 {
    width: 3.22%;
    left: 41.35%;
    top: 28.31%;
}

.yh img {
    width: 100%;
    object-fit: contain;
}

/* 2 */

.banner_hover1 {
    position: absolute;
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    top: 13.88%;
    text-align: center;
    color: #ffffff;
}

.banner_hover1 p {
    opacity: 0;
    transform: translateY(100px);
    transition: 2s;
}

.banner_hover1 p:first-of-type {
    font-size: 2.2em;
    letter-spacing: 8px;
    margin-bottom: 1%;
}

.banner_hover1 p:last-of-type {
    font-size: 1em;
    letter-spacing: 4px;
}

/* 3 */

.banner_hover2 {
    position: absolute;
    top: 63.77%;
    left: 10.1%;
    color: white;
}

.banner_hover2 .bor {
    width: 6.25em;
    height: 0.25em;
    background-color: #dd363a;
    opacity: 0;
    transition: 2s;
    margin-left: 6.25em;
}

.banner_hover2 p {
    letter-spacing: 6px;
    opacity: 0;
    transition: 2s;
    margin-left: 6.25em;
    word-break: keep-all;
}

.banner_hover2 p:first-of-type {
    font-size: 1.8em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.banner_hover2 img {
    width: 1.4em;
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px 0 2px;
}

.banner_hover2 p:last-of-type {
    font-size: 3.4em;
}

/* 4 */

.renmin {
    width: 29.89%;
    position: absolute;
    right: 0%;
    top: 44.25%;
    opacity: 0;
    transition: 2s;
}

.renmin img {
    width: 100%;
    object-fit: contain;
}

.index_banner .qiu {
    width: 47.96%;
    object-fit: contain;
    position: absolute;
    left: 4.53%;
    top: 3.20%;
    z-index: 12;
}

.canvas_s {
    position: absolute;
    left: 4.53%;
    top: 16.29%;
    width: 48.28%;
    height: 62.46%;
    overflow: hidden;
}

canvas {
    position: absolute !important;
}

/* 我们做什么 */

.index_todo {
    width: 100%;
    background-image: url(../images/index_todo_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding: 6% 3%;
}

.index_todo ul {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding-top: 4%;
    font-size: 20px;
    width: 90%;
    margin: 0 auto;
}

.index_todo li .img {
    position: relative;
    display: block;
    width: 6em;
    height: 6em;
    margin: 0 auto;
    left: 0;
    top: 0;
    transition: 0.5s;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

/* pc端 1,4,5向左10px */

/* .index_todo li:nth-of-type(1) .img img, .index_todo li:nth-of-type(4) .img img, .index_todo li:nth-of-type(5) .img img {
    transform: translateX(-10px);
} */

.index_todo li .img:before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%) scale(0);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 5px #ff4229;
    opacity: 1;
}

.index_todo li .img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    transition: 1s;
    clip: 0px 0px 3em 0px;
}

/* @media screen and (min-width: 800px) {
    .index_todo li:nth-child(1) .img img, .index_todo li:nth-child(4) .img img, .index_todo li:nth-child(5) .img img {
        left: -0.6em
    }
} */

.index_todo li a {
    color: inherit;
}

.index_todo li p {
    color: #2b2b2b;
    font-size: 1.2em;
    line-height: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.index_todo li span {
    display: block;
    color: #606060;
    font-size: 0.8em;
    line-height: 1.5em;
    margin-top: 0.4em;
}

.index_todo li a:hover {
    color: #ff4229;
}

.index_todo li:hover .img:before {
    transition: 1s;
    opacity: 0;
    transform: translateX(-50%) translateY(-50%) scale(1.5);
}

.index_todo li:hover img {
    left: -5px;
    filter: drop-shadow(10px 0px 1px rgba(242, 40, 47, 0.2));
    -webkit-filter: drop-shadow(10px 0px 1px rgba(242, 40, 47, 0.2));
}

/* 案例 */

.index_case {
    position: relative;
    z-index: 1;
    width: 100%;
    /* height: 100vh; */
    /* height: 33.3vh; */
    background-color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.index_case li {
    flex: 0 1 25%;
    height: 33.3vh;
    position: relative;
    overflow: hidden;
}

.index_case li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
    transform: scale(1) translateY(0);
    opacity: 1;
}

.index_case li .tit {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    transition: 0.6s;
    opacity: 0;
    overflow: hidden;
}

.index_case li .tit i {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 40%;
    background-color: rgba(242, 20, 47, 0.9);
    opacity: 0;
    transition: 0.5s;
    transition-delay: 0.1s;
}

.index_case li .tit p {
    font-size: 30px;
    color: #fff;
    line-height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    position: relative;
    z-index: 1;
}

.index_case li .tit span {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    display: block;
    width: 100%;
    line-height: 1.5em;
    color: #fff;
    font-size: 14px;
    padding: 1em 0;
}

.index_case li:hover img {
    transform: scale(1) translateY(-40%);
    opacity: 0;
    -webkit-filter: blur(3px);
    -moz-filter: blur(3px);
    -ms-filter: blur(3px);
    -o-filter: blur(3px);
    filter: blur(3px);
    filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius=4, MakeShadow=false);
}

.index_case li:hover .tit {
    opacity: 1;
}

.index_case li:hover .tit i {
    opacity: 1;
    height: 100%;
}

/* 新观点 */

.index_view {
    width: 100%;
    background-image: url(../images/index_view_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #fff;
    position: relative;
    z-index: 1;
    padding: 6% 3%;
}

.index_view ul {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.index_view li {
    flex: 0 1 20%;
    margin: 5% 2.5% 0 2.5%;
    position: relative;
    top: 0;
    transition: 0.5s;
}

.index_view li .t1 {
    font-size: 16px;
    color: #2b2b2b;
    line-height: 1.5em;
}

.index_view li .t2 {
    font-size: 12px;
    color: #999999;
    line-height: 1.5em;
    margin-top: 0.5em;
}

.index_view li .t3 {
    font-size: 14px;
    color: #606060;
    line-height: 2em;
}

.index_view li .i1 {
    width: 100%;
    height: 1px;
    background-color: rgba(230, 230, 230, 1);
    display: block;
    margin: 15px 0;
    position: relative;
}

.index_view li .i1:before {
    content: "";
    width: 0;
    height: 2px;
    display: block;
    background: #ff4229;
    transition: 2s;
}

.index_view li .i2 {
    width: 110px;
    height: 40px;
    background-image: url(../images/right2.png);
    background-repeat: no-repeat;
    background-position: 10px center;
    display: block;
    margin: 20px 0 0 0;
    position: relative;
    transition: 1s;
}

.index_view li .i2:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    transition: 1s;
    background-color: rgba(242, 20, 47, 0.8);
    z-index: -1;
}

.index_view li:hover {
    top: -20px;
}

.index_view li:hover .t1 {
    font-weight: bold;
}

.index_view li:hover .i2 {
    background-image: url(../images/right.png);
    background-position: 40px center;
}

.index_view li:hover .i1:before, .index_view li:hover .i2:before {
    width: 100%;
}

/* 互联网定制服务专家 */

.index_ad {
    width: 100%;
    background-image: url(../images/index_ad_bg.jpg);
    background-color: white;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    z-index: 1;
    padding: 6% 3%;
}

.index_ad .text {
    padding-top: 4%;
}

.index_ad .t1 {
    font-size: 14px;
    line-height: 2em;
    text-align: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.index_ad .t2 {
    font-size: 18px;
    text-align: center;
    width: 200px;
    height: 44px;
    line-height: 44px;
    color: #ff4229;
    border: 1px solid #ff4229;
    display: block;
    margin: 3% auto 0 auto;
    position: relative;
    transition: 0.2s;
}

.index_ad .t2:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    background-color: #ff4229;
    transition: 1s;
    opacity: 0;
}

.index_ad .t2:after {
    right: 0;
    bottom: 0;
}

.index_ad .t2:hover {
    background: none;
    color: #fff;
}

.index_ad .t2:hover:after {
    width: 100%;
    opacity: 1;
}

@media screen and (max-width: 1200px) {
    .index_banner, .index_banner .swiper-container {
        width: 100%;
        height: 100vh;
    }
    .index_todo ul {
        width: 100%;
    }
    .index_todo ul, .index_tit {
        font-size: 16px;
    }
    .index_case {
        height: auto;
    }
    .index_case li {
        flex: 0 1 50%;
        height: 33.3vw;
    }
    .index_case li .tit p {
        font-size: 20px;
    }
    .index_case li .tit span {
        font-size: 12px;
    }
    .index_view li {
        flex: 0 1 45%;
    }
}

@media screen and (max-width: 800px) {
    .index_banner, .index_banner .swiper-container {
        width: 100%;
        height: 300px;
    }
    .index_banner .swiper-container {
        bottom: auto;
        top: 0;
    }
    .index_banner .swiper-pagination-bullet {
        width: 20px;
    }
    .index_todo ul, .index_tit {
        font-size: 12px;
    }
    .index_todo ul {
        display: block;
        text-align: center;
    }
    .index_todo ul li {
        width: 32%;
        display: inline-block;
    }
    .index_todo li p {
        margin-top: 0.8em;
        margin-bottom: 0.4em;
    }
    .index_case li .tit {
        height: auto;
        opacity: 1;
        background-color: rgba(0, 0, 0, 0);
        background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.8));
    }
    .index_case li .tit p {
        font-size: 14px;
    }
    .index_case li .tit span {
        display: none;
    }
    .index_view li .t1 {
        font-size: 14px;
    }
    .index_view li .i1 {
        margin: 8px 0;
    }
    .index_view li .t3 {
        font-size: 12px;
        line-height: 1.7em;
        -webkit-line-clamp: 2;
    }
    .index_view li .i2 {
        margin: 8px 0 0 0;
        width: 15px;
        height: 6px;
        background-size: 15px auto;
        background-position: center;
    }
    .index_view li {
        flex: 0 1 49%;
        margin: 5% 2% 0 0;
    }
    .index_view li:nth-child(even) {
        margin: 5% 0 0 0;
    }
    .index_view li:hover {
        top: -10px;
    }
    .index_ad .t2 {
        width: 120px;
        height: 30px;
        line-height: 30px;
        font-size: 14px;
    }
    .banner_hover1 {
        font-size: 10px;
    }
    .banner_hover2 {
        font-size: 4px;
    }
    .swiper-slide-active .yh {
        transform: rotate(90deg);
        opacity: 1;
        transform: scale(3);
    }
}