@charset "utf-8";

/* banner 部分*/

.banner {
    position: relative;
    width: 100%;
    height: 580px;
    overflow: hidden;
}

.banner a {
    position: absolute;
    left: 50%;
    top: 0;
    margin-left: -960px;
    width: 1920px;
    height: 580px;
}

.banner a img {
    display: block;
    width: 100%;
    height: 100%;
    transition: all 3s;
}

.banner a img:hover {
    transform: scale(1.1);
}


/* 卡牌旋转切换*/

.pattern {
    position: relative;
    width: 100%;
    height: 1312px;
    overflow: hidden;
}

.pattern-img {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 1920px;
    height: 100%;
    background: url(../img/superiority/pattern_img.jpg);
}

.pattern-layer {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1240px;
    height: 100%;
}

.pattern-hd {
    text-align: center;
    margin-top: 68px;
}

.pattern-hd i {
    font-size: 14px;
    color: #666666;
}

.pattern-hd h3 {
    font-size: 32px;
    color: #121212;
    margin-top: 10px;
    font-family: "SourceHanSerifSC-Bold";
}

.pattern-hd h3 span {
    display: block;
    width: 40px;
    height: 3px;
    background-color: #c8996d;
    margin: 0 auto;
    margin-top: 18px;
}

#certify {
    position: relative;
    width: 1240px;
    margin: 0 auto;
    margin-top: 40px;
}

#certify .swiper-container {
    padding-bottom: 0;
}

#certify .swiper-slide {
    width: 628px;
    height: 361px;
    /* background: #fff; */
    /* box-shadow: 0 8px 30px #ddd; */
    text-align: center;
}

#certify .swiper-slide:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(237, 240, 240, 0.5);
    z-index: 99;
}

#certify .swiper-slide-active:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(237, 240, 240, 0);
    z-index: 99;
}

#certify .swiper-slide img {
    display: block;
}

#certify .swiper-slide p {
    line-height: 98px;
    padding-top: 0;
    text-align: center;
    color: #b89b5e;
    font-size: 24px;
    margin: 0;
}

#certify .swiper-pagination {
    left: 50%;
    transform: translateX(-50%);
    margin-top: 19px;
}

#certify .swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    /* background-color: #d5d5d5; */
    margin-right: 15px;
    vertical-align: middle;
}

#certify .swiper-pagination>span:last-of-type {
    margin-right: 0;
}

#certify .swiper-pagination-bullet-active {
    background-color: #ffffff;
    border: 2px solid #c8996d;
}

#certify .swiper-button-prev {
    left: 85px;
    width: 54px;
    height: 54px;
    background: url(../img/superiority/pattern_left.png) no-repeat;
    background-position: 0 0;
    background-size: 100%;
}

#certify .swiper-button-next {
    right: 86px;
    width: 54px;
    height: 54px;
    background: url(../img/superiority/pattern_right.png) no-repeat;
    background-size: 100%;
}

#certify .swiper-slide p {
    opacity: 0;
}

#certify .swiper-slide-active p {
    opacity: 1;
}

.pattern-txt {
    text-align: center;
    margin-top: 68px;
}

.pattern-txt span {
    display: block;
    font-size: 18px;
    color: #515151;
    margin-bottom: 26px;
}

.pattern-txt span:last-of-type {
    margin-bottom: 0;
}

.pattern-bd {
    width: 100%;
    margin-top: 128px;
    display: flex;
    justify-content: space-between;
}

.pattern-bd li {
    position: relative;
    width: 400px;
    height: 400px;
    background-color: #ffffff;
    box-shadow: 0px 0px 27px -11px #333333;
}

.pattern-bd li:hover {
    background-color: #4e4d4e;
}

.pattern-bd li:hover .pattern-article h6 {
    color: #ffffff;
}

.pattern-bd li:hover .pattern-article p {
    color: #eeeeee;
}

.pattern-bd li>img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pattern-article {
    text-align: center;
    padding-top: 106px;
}

.pattern-article h6 {
    font-size: 26px;
    color: #121212;
}

.pattern-article span {
    display: block;
    width: 40px;
    height: 2px;
    background-color: #c8996d;
    margin: 0 auto;
    margin-top: 24px;
}

.pattern-article p {
    width: 300px;
    text-align: center;
    margin: 0 auto;
    font-size: 18px;
    line-height: 34px;
    margin-top: 28px;
    color: #333333;
}

;