:root {
    --color: #a15b3b;
    --sub-color: #d28d6e;
    --body-bg: #ffffff;
    --footer-bg: #787878;
    --text-color: #333;
    --ccc: #ccc;
    --eee: #eee;
    --white: #fff;
}

@font-face {
    font-family: 'SourceHanSansCN';
    /* 自定义字体的名称 */
    src: url('../font/SourceHanSansCN-Regular.ttf') format('ttf');
    /* 字体文件的路径和格式 */
}

body {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--body-bg);
    font-family: arial, helvetica, sans-serif;
    overflow-x: hidden;
}

body,
html {
    height: 100%;
    position: relative;
}

a {
    color: var(--text-color);
}

button,
span,
input,
div,
div:focus,
button:focus,
span:focus,
input:focus {
    outline: 0 !important;
}

a:hover,
a:focus {
    color: var(--color);
    text-decoration: none;
}

body,
dl,
dt,
dd,
ul,
ol,
li,
pre,
form,
fieldset,
input,
p,
blockquote,
th,
td {
    font-weight: 400;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h4,
h5 {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
}

ol,
ul,
li {
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.ttu {
    text-transform: uppercase;
}

.my-6 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/* logo */
.logo {
    margin-right: 20px;
}

.logo a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo .logo_txt {
    margin-left: 20px;
}

.logo_txt h2 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-top: 25px;
}

.logo_txt p {
    font-size: 16px;
    text-transform: uppercase;
}

/* top */
.logo_text b {
    font-size: 32px;
}

.logo_text span {
    font-size: 18px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 2px;
}

.w-80 {
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.menu>li {
    position: relative;
    flex: auto;
    font-family: 'SourceHanSansCN', "微软雅黑";
}

.menu>li>a {
    color: var(--text-color);
    font-size: 16px;
    padding: 10px 15px;
    display: inline-block;
    text-transform: uppercase;
}

.tell span {
    color: var(--color);
}

.tell p {
    font-size: 24px;
    line-height: 1;
}

.menu_drop {
    position: absolute;
    left: 0;
    min-width: 100%;
    white-space: nowrap;
    background-color: var(--body-bg);
    border: 1px solid var(--ccc);
    display: none;
    padding: 4px 0;
    border-radius: 4px;
    z-index: 99;
}

.menu_drop li a {
    color: var(--text-color);
    display: block;
    text-align: center;
    line-height: 2;
    transition: all .5s;
}

.menu_drop li:hover a {
    background-color: var(--color);
    color: var(--body-bg);
}

.swiper-pagination span {
    width: 12px;
    height: 12px;
}

/* banner */
.index-banner .swiper-pagination-bullet.swiper-pagination-bullet-active,.pro_lb_pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--color);
}
.index-banner .swiper-button-next.swiper-button-white,
.index-banner .swiper-button-prev.swiper-button-white {
    background-color: rgba(0, 0, 0, .2);
}

.index-banner .swiper-button-prev,
.index-banner .swiper-button-next {
    background-size: 60%;
}

/* 右边 */
.side_kefu {
    display: none;
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.side_kefu li {
    position: relative;
    margin-bottom: 5px;
}

.side_kefu li i {
    font-size: 20px;
}

.side_kefu li.toTop {
    cursor: pointer;
}

.side_kefu li.toTop i {
    font-size: 24px;
}

.side_kefu li .side_kefu_con {
    position: absolute;
    background-color: var(--body-bg);
    border: 1px solid var(--ccc);
    border-radius: 5px;
    right: 0;
    top: 0;
    padding: 5px 10px;
    transition: all .5s;
    transform: translateX(100%);
    z-index: -1;
}

.side_kefu li:hover .side_kefu_con {
    transform: translateX(-50px);
}

.side_kefu_con:after {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border: 1px solid var(--ccc);
    border-color: transparent var(--ccc) var(--ccc) transparent;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    position: absolute;
    right: -6px;
    top: 10px;
    background-color: var(--body-bg);
}

.side_kefu li span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: var(--color);
    color: var(--body-bg);
}

@media(max-width: 1200px) {
    .my-6 {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

.container {
    max-width: 1400px;
}

.tell {
    display: flex;
    align-items: center;
}

.tell span {
    font-size: 22px;
    font-style: italic;
    font-weight: bold;
    color: var(--color);
}

/* hearder */
header {
    margin-top: 55px;
    margin-bottom: 45px;
}

.search {
    position: relative;
}

.search input {
    width: 100%;
    border: 1px solid #ccc;
    background-color: #efefef;
    line-height: 28px;
    border-radius: 10px;
    min-width: 200px;
    padding-left: 15px;
}

.search button {
    border: 0;
    width: 50px;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background: url(../images/search.png) no-repeat center;
}
/* abouts */
.my-about {
    margin-top: 95px;
    margin-bottom: 95px;
}

.abouts_home h3 {
    font-size: 40px;
    margin-bottom: 30px;
    font-weight: bold;
}
.abouts_home p{
    font-size: 26px;
    font-weight: bold;
}
.abouts_home span{
    display: block;
    width:160px;
    height: 5px;
    background-color: #666;
    margin-top: 90px;
    margin-bottom: 50px;
}

/* products */
.pro_bg{
    background-color: var(--eee);
    padding-top: 55px;
    padding-bottom: 55px;
}
.pro_home_title{
    text-transform: uppercase;
    margin-bottom: 50px;
}
.pro_home_title a{
    color: var(--color);
    font-weight: bold;
    font-family: arial;
}
.pro_lb .swiper-slide a{
    display: block;
    position: relative;
}
.pro_lb .swiper-slide p{
    color: #fff;
    position: absolute;
    font-size: 30px;
    left: 25px;
    bottom: 25px;
}
.pro_lb_pagination{
    margin: 0 auto;
    position: static;
    margin-top: 20px;
}
.pro_lb_pagination span{
    margin: 0 5px;
}
/* wall_panels */
.wall_panels a{
    display: block;
    transition: all .3s;
}
.wall_panels p{
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 20px;
}

/* abouts */
.abouts_bg{
    position: relative;
    padding-top: 100px;
}
.abouts_bg:before{
    position: absolute;
    display: block;
    content:'';
    width:50%;
    height: 100%;
    right:0;
    top: 0;
    background-color: #dcdcdc;
    z-index: 9;
}
.abouts_bg:after{
    position: absolute;
    display: block;
    content:'';
    width:50%;
    height: 100%;
    left:0;
    top: 0;
    background-color: #d28d6e;
    z-index: 9;
}
.abouts_bg .container{
    position: relative;
    z-index: 99;
}
.about_home{
    padding-right: 100px;
}
.about_home h2{
    font-size: 40px;
    font-weight: bold;
    font-family: 'SourceHanSansCN';
    color: var(--white);
}
.about_home p{
    font-size: 20px;
    line-height: 1.8;
    margin-top: 50px;
    margin-bottom: 50px;
    color: var(--white);
}
.about_home a{
    font-size: 14px;
    display: inline-flex;
    padding: 3px 10px;
    background-color: #a15b3b;
    color: #FFF;
    border-radius: 10px;
}
.abouts_img img{
    position: relative;
    margin-left: -100px;
}

/* news */
.news_home_title{
    font-size: 36px;
    text-transform: uppercase;
}
.news_home_list li{
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #c19c8c;
    font-size: 18px;
    line-height: 2;
}
.news_home_list li span{
    min-width: 20%;
    flex: 0 0 20%;
    font-size: 30px;
    color: #c19c8c;
}

/* contact */
.contact{
    height: 250px;
    background: url(../images/contact.jpg) no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    padding-top: 90px;
    line-height: 1.5;
}
.contact h2{
    font-size: 40px;
}
.contact p{
    font-size: 28px;
}

/* footer */
footer{
    background-color: #e5e5e5;
    margin-top: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
}
.footer_box{
    width: 90%;
    margin: 0 auto;
}
.footer_nav{
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 18px;
    font-family: "SourceHanSansCN";
}
.footer_hx{
    width: 100%;
    height: 1px;
    background-color: #bfbfbf;
    margin-top: 30px;
    margin-bottom: 20px;
}
.footer_gq{
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
}
.footer_gq li{
    width: 120px;
}
.footer_gq a{
    margin-right: 10px;
    display: inline-block;
}
.footer_gq{
    padding-left: 100px;
    padding-right: 100px;
}
.footer_contact{
    font-size: 16px;
}
.footer_bottom{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer_bottom_right span{
    font-size: 22px;
    margin-left: 10px;
}