* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "思源黑体", "Source Han Sans CN", sans-serif;
}

.body1 {
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 15px; 
    color: #333;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}
button {
    cursor: pointer;
}

/* 顶部定制服务栏 */
.top-banner {
    background-color: #f5f7fa;
    padding: 20px;
    text-align: center;
}
.top-banner h1 {
    font-size: 34px;
    margin-bottom: 10px;
}
.top-banner h1 span{
    color: #004BE5;
}

.top-banner p {
    font-size: 16px;
    margin-bottom: 20px;
}
.product-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
}
.product-card {
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    width: 400px;
    border-bottom: 2px #004BE5 solid;
}
.product-card h3 {
    font-size: 20px;
    color: #0542C1; 
    margin-bottom: 10px;
}
.product-card p {
    font-size: 14px;
    margin-bottom: 15px;
}
.product-card button {
    background: linear-gradient(to bottom, #2167F6, #0542C1);
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 18px;
}

/* 诚信合作定制服务模块 */
.cooperation-service {
    background-image:url(bg1.jpg) ;
    color: #fff;
    padding: 20px;
    text-align: center;
}
.cooperation-service h2 {
    font-size: 34px;
    margin-bottom: 10px;
}
.cooperation-service p {
    font-size: 18px;
    margin-bottom: 20px;
}
.service-features {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-left: 90px;
    padding-right: 90px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding-top: 20px;
}
.feature-item img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}
.feature-item span {
    margin: 5px 0;
    color: #000;
    font-weight: bold;
    font-size: 16px;
}
.feature-item p {
    color: #000;
    font-size: 14px;
    max-width: 140px; 
     padding-left: 5px;
    padding-right: 5px; 
}
.service-features1 {
    background-image:url(3.png) ;
    padding: 20px;
    text-align: center;
}

.dr-size-table {
    padding: 30px;
    text-align: center;
}

.blue-bar-title {
  display: flex;
  align-items: center;
  width: 100%;
}

.blue-bar-title .short-bar {
  width: 100px; 
  height: 10px; 
  background-color: #0542C1; 
  margin-right: 10px; 
}

.blue-bar-title .title-text {
  white-space: nowrap; 
  font-size: 20px; 
  color: #0542C1; 
  margin-right: 10px; 
}

/* 右侧长蓝条 */
.blue-bar-title .long-bar {
  flex: 1; 
  height: 10px; 
  background-color: #0542C1; 
  align-self: center; 
}
.table-container {
    overflow-x: auto; 
}


/* 为表格中间列设置灰色背景 */
.table-container table {
    border-collapse: collapse; /* 合并边框，避免间隙 */
    width: 100%;
}

.table-container td, .table-container th {
    border: 1px solid #ccc; /* 表格边框 */
    padding: 5px;
    text-align: center;
}

/* 选择除第一列和最后一列外的所有列 */
.table-container td:not(:first-child):not(:last-child),
.table-container th:not(:first-child):not(:last-child) {
    background-color: #f0f0f0; /* 灰色背景 */
    width: 81px;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 12px;
}
table th, table td {
    border: 1px solid #ddd;
    padding: 3px;
    text-align: center;
}
table th {
    background-color: #f5f7fa;
    color: #0542C1;
}

.zdbt {
    text-align: center;
    background-color: #f5f7fa;
    margin: 10px 0;
}

.zdbt h3 {
    padding-top: 20px;;
    color: #666;
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 500;
}

.zdbt h2 {
    color: #333;
    font-size: 34px;
    position: relative;
    display: inline-block;
}

.zdbt p {
    color: #fff;
    font-size: 16px;
    border-radius: 20px;
    line-height: 1.8;
    background-color: #004BE5;
    padding: 0 10px;
    max-width: 300px;
    margin: 0 auto; /* 添加这行实现水平居中 */
}

.zdbt h1 {
    color: #fff;
    font-size: 36px;
    margin: 10px 0;
    padding: 20px 0;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    background-color: #004BE5;
}

/* DR系列圆弧型滚珠线性滑轨产品结构模块 */
.dr-product-structure {
    padding: 30px;
    text-align: center;
}
.dr-product-structure h2 {
    font-size: 20px;
    color: #0542C1;
    margin-bottom: 10px;
}
.dr-product-structure h3 {
    font-size: 18px;
    margin-bottom: 15px;
}
.dr-product-structure img {
    max-width: 800px;
    margin-bottom: 10px;
}
.dr-product-structure p {
    font-size: 18px;
}

/* DR系列圆弧导轨产品特点模块 */
.dr-product-features {
    padding: 10px;
}
.dr-product-features h3 {
    font-size: 20px;
    color: #0542C1;
    margin-bottom: 20px;
}
.dr-product-features ul {
    padding: 0 100px;
    list-style: none;
}
.dr-product-features li {
    margin-bottom: 3px;
}
.dr-product-features h4 {
    font-size: 16px;
}
.dr-product-features li h4::before {
    content: "•"; 
    color: #004BE5; 
    font-size:1.5em; 
    display: inline-block;
    width: 1.2em; 
    margin-left: -1.2em; 
    vertical-align: middle; 
}

/* 给 h4 添加左内边距，防止圆点被截断 */
.dr-product-features li h4 {
    padding-left: 1.2em; 
    position: relative; 
}
.dr-product-features p {
    font-size: 18px;
}

/* DR产品型号构例模块 */
.dr-model-example {
    padding: 30px;
    text-align: center;
}
.dr-model-example h3 {
    font-size: 20px;
    color: #0542C1;
    margin-bottom: 15px;
}
.dr-model-example img {
    max-width: 800px;
    margin-bottom: 10px;
}
.dr-model-example p {
    font-size: 18px;
}
.gradient-vertical-line {
    width: 1px; /* 竖线宽度 */
    height: 50px; /* 竖线高度，可根据需要调整 */
    margin: 0 auto; /* 水平居中 */
    background: linear-gradient(
        to bottom,
        rgba(150, 150, 150, 0), /* 顶部透明 */
        rgba(150, 150, 150, 0.8) 50%, /* 中间实色 */
        rgba(150, 150, 150, 0) /* 底部透明 */
    );
}

/* 厂家优势模块 */
.factory-advantages {
    display: flex;
    justify-content: center;
    gap: 5px;
    background-color: #000;
    background-image: url(bg2.jpg);
    padding: 30px 280px;
}
.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
}
.advantage-item h1{
    font-size: 14px;
    font-weight: bolder;
}
.advantage-item img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}
.advantage-item .line {
    width: 20px; /* 调整长度为20px（原30px） */
    border-bottom: 3px solid #004BE5; /* 补充px单位+边框样式solid，确保实线显示 */
    /* 可选：若需要水平居中，可添加margin: 5px auto; 让线条在元素内居中 */
    margin: 5px auto;
}

.advantage-item p {
    font-size: 12px;
    text-align: center;
}

.dmg-product {
    padding: 30px;
    background-color: #000;
    background-image: url(bg.png);
    color: #fff;
    text-align: center;
}
.dmg-product h2 {
    font-size: 32px;
    margin-bottom: 20px;

}
.zdtt {
  margin-bottom: 40px;
}

.zdtt:last-child {
  margin-bottom: 0;
}
/* 应用行业模块 */
.application-industries {
    padding: 10px;
    text-align: center;
}
.zdaoolication-ind{
    text-align: center;
    background-color: #181E2C;
}
.zdaoolication-ind .ind-title-large {
    font-size: 50px; 
    color: #006BFA; 
    margin-top: 0; 
    font-weight: bolder;
    line-height: 1;
}

.zdaoolication-ind .ind-title-medium {
    font-size: 28px; 
    color: #fff; 
    margin-top: 0; 
    margin-bottom: 10px; 
    font-weight: bolder; 
    line-height: 1.5;
}
.zdaoolication-ind p {
    padding-top: 30px; 
    font-size: 16px;
    color: #006BFA;
    margin-bottom: 5px; 
}
.zdaoolication-ind .ind-title-zdt {
    font-size: 16px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #1D7CE6, #1349B3);
    color:#fff;
    padding:20px ;
}
.industry-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
.industry-card {
    width: 300px;
    padding-top: 20px;
}
.industry-card img {
    width: 100%;
    /*border-radius: 8px;
    margin-bottom: 0px;*/
}
.industry-card p {
    font-size: 18px;
    background-color: #F8F8F8;
    padding: 20px;
    color: #000;
}

/* 工厂介绍模块 */
.factory-intro {
    padding: 30px;
    text-align: center;
}
.factory-intro .zdqy-js{
    background-image:url(footbj.png);
    text-align: center;
}
.factory-intro img {
    padding-top: 50px;
    font-size: 20px;
    text-align: center;
    margin-bottom: 15px;
}
.factory-intro p {
    font-size: 12px;
    margin-bottom: 10px;
    text-align: center;
}
.factory-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}
.factory-text {
    width: 400px;
    text-align: left;
}
.factory-text .factory-desc {
    text-align: left; 
    margin: 12px 0; 
    line-height: 1.6; 
    font-size: 15px; 
    max-width: 600px; 
    text-indent: 2em; 
}

.factory-info {
    display: flex; 
    gap: 20px; 
    align-items: flex-start; 
    padding: 10px 0;
}

.factory-text .zd-1 {
    font-size: 12px;
}
.factory-text h3 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #043BD0;
}
.factory-img img {
    width: 300px;
    border-radius: 8px;
}
/* 移动设备自适应样式 */
@media (max-width: 768px) {
    /* 基础样式调整 */
    .body1 {
        padding: 0 10px;
    }

    /* 顶部横幅调整 */
    .top-banner h1 {
        font-size: 28px;
    }
    
    .product-cards {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    
    .product-card {
        width: 100%;
        max-width: 500px;
    }

    /* 诚信合作模块调整 */
    .cooperation-service {
        padding: 15px 10px;
    }
    
    .service-features {
        flex-wrap: wrap;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .feature-item {
        width: 45%;
        margin-bottom: 15px;
    }

    /* 表格区域调整 */
    .dr-size-table {
        padding: 15px 10px;
    }
    
    .blue-bar-title .short-bar {
        width: 50px;
    }
    
    .blue-bar-title .title-text {
        font-size: 16px;
    }

    /* 产品结构与特点模块 */
    .dr-product-structure,
    .dr-product-features,
    .dr-model-example,
    .factory-intro {
        padding: 15px 10px;
    }
    
    .dr-product-structure img,
    .dr-model-example img {
        max-width: 100%;
    }

    /* 厂家优势模块 */
    .factory-advantages {
        flex-wrap: wrap;
        padding: 20px 20px;
    }
    
    .advantage-item {
        width: 45%;
        margin-bottom: 15px;
    }

    /* 应用行业模块 */
    .zdaoolication-ind .ind-title-large {
        font-size: 36px;
    }
    
    .zdaoolication-ind .ind-title-medium {
        font-size: 18px;
    }
    
    .industry-cards {
        gap: 20px;
    }
    
    .industry-card {
        width: 100%;
        max-width: 300px;
    }

    /* 工厂介绍模块 */
    .factory-info {
        flex-direction: column;
        align-items: center;
    }
    
    .factory-text {
        width: 100%;
        padding: 0 10px;
    }
    
    .factory-img img {
        width: 100%;
        max-width: 300px;
    }

    /* 标题与文本大小调整 */
    h2 {
        font-size: 22px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
    
    p {
        font-size: 14px !important;
    }
}

/* 小屏手机额外适配 (375px以下) */
@media (max-width: 375px) {
    .feature-item,
    .advantage-item {
        width: 100%;
    }
    
    .zdbt h1 {
        font-size: 34px;
    }
    
    .dmg-product h2 {
        font-size: 28px;
    }
}