@charset "utf-8";
body{ margin:0px; padding:0px;position: relative;}
a{ text-decoration:none;}
ul{ list-style:none; margin:0px; padding:0px;}
h1, h2, h3, h4, h5, h6, ol, dd, dl{ list-style:none;margin:0;padding:0px;}
li {
    list-style: none;
}
p{ margin:0px;}
.width{ width:1200px; margin:0 auto;}
.both{ clear:both;}
a{ color:#000; transition:0.5s;}
#box{ width:100%; position:relative; overflow:hidden; height:500px;}
#box img{ transition:0.3s; position:absolute; top:0px; left:0px; height:100%; width:100%; object-fit:cover;}
.arrow{width:100%;}
.arrow a{ position:absolute; top:45%; background-color:rgba(255,255,255,0.8);border-radius:50%; color:#333; font-size:24px; padding:10px 15px; opacity:0;}
#box:hover .arrow a{ opacity:1;}
.yjbh {
    display:none;
}
/* 返回顶部 */
.back-top {position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: #00b42a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 99; box-shadow: 0 3px 10px rgba(0,0,0,0.2);}
.back-top:hover {background: #009623;}


h3.miya_template_left_box_title.nybtdds {
    background: #1a1a1a;
    padding: 10px 20px;
    color: #fff;
    position: relative;
}
.miya_message_right form button {
    background-color: #1a1a1a;
}
.miya_message_right form button:hover {
    background: #d4af37;
}
.miya_info_right_product_center p img {
    width: 100%;
}

.clear {
  clear: both;
}
ul.fenl {
    display: block;
    text-align: center;
    margin: 0 auto 50px;
}

ul.fenl li {
    display: inline-block;
    background: #d4af37;
    padding: 0 13px;
    margin-bottom: 8px;
    line-height: 36px;
}

ul.fenl li a {
    color: #fff;
}
.sybj{
	background:#f9f9f9;
	box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.03);
	padding:55px 0;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: "Microsoft YaHei", sans-serif;
        }
        body {
            color: #333;
        }

        /* 顶部：公司名称 + 电话 单独一排 */
        .top-bar {
            background: #1a1a1a;
            color: #fff;
            padding: 21px 0;
            text-align: center;
        }
        .top-wrap {
            max-width: 1250px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 20px;
        }
        .top-logo {
            font-size: 33px;
            font-weight: bold;
            color: #fff;
        }
.top-phone a {
    color: #d4af37;
    font-size: 31px;
    position: relative;
    padding-top: 0;
    display: block;
}

.top-phone {
    font-size: 16px;
    color: #d4af37;
    font-weight: bold;
    text-align: left;
    line-height: 31px;
}
        /* 导航栏 单独一排 */
        .nav-bar {
            background: #d4af37;
            padding: 14px 0;
            position: sticky;
            top: 0;
            z-index: 999;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        .nav {
            max-width: 1250px;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 155px;
        }
        .nav a {
            color: #fff;
            text-decoration: none;
            font-size: 16px;
            transition: 0.3s;
        }
        .nav a:hover {
            color: #333;
        }

        /* banner */
        .banner {
            height: 480px;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('/public/boots/image/banner1.jpg') center center / cover;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            text-align: center;
        }
        .banner h2 {
    font-size: 54px;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 19px;
    font-weight: bold;
}
        .banner p {
            font-size: 20px;
        }

        /* 标题通用 */
        .sec-title {
            text-align: center;
            font-size: 28px;
            margin: 0 0 45px;
            position: relative;
            font-weight: 600;
        }
        .sec-title::after {
            content: '';
            width: 80px;
            height: 3px;
            background: #d4af37;
            position: absolute;
            left: 50%;
            bottom: -12px;
            transform: translateX(-50%);
        }

        /* 公司介绍 */
        .company {
            max-width: 1180px;
            margin: 0 auto;
            padding: 0 20px;
            line-height: 2;
            color: #444;
            font-size: 16px;
            text-align: center;
        }
        .company p {
         
        }

        /* 公司介绍下方2张大图 */
        .about-imgs {
            max-width: 1100px;
            margin: 30px auto 50px;
            padding: 0 20px;
            display: flex;
            gap: 25px;
        }
        .about-imgs img {
            width: 50%;
            height: 260px;
            object-fit: cover;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        /* 一排4张 上下滚动轮播 */
        .scroll-wrap {
            max-width: 1250px;
            margin: 40px auto;
            padding: 0 0;
            overflow: hidden;
            height: 720px;
            position: relative;
        }
        .scroll-list {
            animation: scrollUp 22s linear infinite;
        }
        .scroll-row {
            display: block;
            gap: 18px;
            margin-bottom: 18px;
        }
        .scroll-row a {
    float: left;
    margin-right: 16px;
    width: 24%;
}
        .scroll-row a:nth-child(4n){
            margin-right:0;
        }
        .scroll-row img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        }
        .scroll-row a span {
        display: block;
        line-height:60px;
        text-align:center;
         }
        @keyframes scrollUp {
            0% { transform: translateY(0); }
            100% { transform: translateY(-476px); }
        }

        /* 殡葬一条龙服务 */
        .service {
            max-width: 1250px;
            margin: 0 auto;
            padding:0 20px 51px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }
        .service-item {
            background: #fff;
            padding: 30px 22px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.06);
            transition: 0.3s;
        }
        .service-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }
        .service-item h3 {
            margin: 12px 0;
            color: #222;
            font-size: 17px;
            font-weight: 600;
        }
        .service-item p {
            font-size: 14px;
            color: #666;
            line-height: 1.7;
        }

        /* 服务优势 */
        .advantage {
            background: #fff;
            padding:41px 20px;
        }
        .adv-box {
            max-width: 1250px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 25px;
            text-align: center;
        }
        .adv-item {
            padding: 25px;
        }
        .adv-item h3 {
            font-size: 17px;
            margin: 12px 0;
            color: #222;
            font-weight: 600;
        }
        .adv-item p {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
        }

        /* 服务流程 */
        .process {
            max-width: 1100px;
            margin: 0 auto 60px;
            padding: 0 20px;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 25px;
            text-align: center;
        }
        .step {
            width: 110px;
        }
        .step .num {
            width: 55px;
            height: 55px;
            background: #d4af37;
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-weight: bold;
            font-size: 18px;
        }
        .step p {
            font-size: 14px;
            color: #666;
        }

        /* 新闻资讯板块 */
        .news {
            max-width: 1250px;
            margin: 0 auto 19px;
            padding: 0 20px;
        }
        .news-list {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
        }
        .news-item {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 3px 12px rgba(0,0,0,0.05);
            transition: 0.3s;
        }
        .news-item:hover {
            transform: translateY(-5px);
        }
        .news-item img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }
        .news-info {
            padding: 20px;
        }
        .news-date {
            font-size: 14px;
            color: #999;
            margin-bottom: 8px;
        }
        .news-title {
            font-size: 16px;
            font-weight: 600;
            color: #333;
            line-height: 1.5;
            margin-bottom: 10px;
        }
        .news-desc {
            font-size: 14px;
            color: #666;
            line-height: 1.6;
        }

        /* 底部 */
        footer {
            background: #1a1a1a;
            color: #fff;
            padding: 60px 20px;
        }
        .footer-wrap {
            max-width: 1250px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 40px;
        }
        .footer-left {
            flex: 1;
        }
        .footer-left h3 {
            color: #d4af37;
            margin-bottom: 20px;
            font-size: 20px;
        }
        .footer-left p {
            margin-bottom: 10px;
            font-size: 15px;
            color: #eee;
            line-height: 1.8;
        }
        .footer-right {
            display: flex;
            gap: 35px;
        }
        .qrcode {
            text-align: center;
        }
        .qrcode img {
            width: 160px;
            height: 160px;
            background: #fff;
            padding: 6px;
            border-radius: 6px;
        }
        .qrcode p {
            margin-top: 10px;
            font-size: 14px;
            color: #ccc;
        }
        .copyright {
            max-width: 1250px;
            margin: 40px auto 0;
            padding-top: 25px;
            border-top: 1px solid #444;
            text-align: center;
            font-size: 14px;
            color: #999;
        }

        /* 响应式 */
        @media (max-width:768px) {
            .top-wrap { flex-direction: column; gap: 8px; }
            .nav { gap: 18px; }
            .service { grid-template-columns: repeat(2,1fr); }
            .adv-box { grid-template-columns: repeat(2,1fr); }
            .news-list { grid-template-columns: 1fr; }
            .about-imgs { flex-direction: column; }
            .about-imgs img { width: 100%; height: 200px; }
            .footer-wrap { flex-direction: column; align-items: center; text-align: center; }
            .banner h2 { font-size: 32px; }
        }

p#qyfz {
    display: inline-block;
}
p#qyfz a{
    color:#999;
}


@media screen and (max-width: 980px) {
*{-webkit-text-size-adjust:none;}
#box{ height:300px;}
.width{ width:98%;}
.yjbh {
    display: block;
    position: fixed;
    top: 50%;
    right: 0px;
    z-index: 9999;
    width: 20%;
}
.yjbh a img {
    width: 100%;
    float: right;
}

a.reman{
    display:none
}
.head .logo {
    color: #333;
    font-size: 29px;
    font-weight: bold;
    margin-top: 32px;
    width: 50%;
}

.logo_tel {
    padding-top: 23px;
    height: 100px;
    float: right;
    background: url(../img/phone.png) left center no-repeat;
    padding-left: 36px;
    box-sizing: border-box;
    margin-top: 13px;
    background-size: 14%;
}
.logo_tel p span {
    display: block;
    font-size: 29px;
    color: #e70303;
    height: 30px;
    line-height: 26px;
    font-weight: bold;
}

.top-wrap {
    max-width: 98%;
    margin: 0 auto;
    display: block;
    justify-content: space-between;
    align-items: center;
    padding: 0 0;
}

.top-logo {
        font-size: 28px;
        font-weight: bold;
        color: #fff;
        float: left;
        width: 67%;
        display: block;
        text-align: left;
        padding-top: 9px;
    }
.top-phone a {
    color: #d4af37;
    font-size: 26px;
    position: relative;
    padding-top: 0;
}
    .nav {
        gap: 39px;
    }
.scroll-row a:nth-child(2n) {
    margin-right: 0;
}
.scroll-row a {
    float: left;
    margin-right: 16px;
    width: 48.6%;
}
.scroll-wrap {
    max-width: 98%;
    margin: 40px auto;
    padding: 0 0;
    overflow: hidden;
    height: 720px;
    position: relative;
}



/*内页*/
.miya_page_about {
    width: 98%;
    margin: 40px auto;
}

.miya_page_about_left {
    display: none;
}
.miya_page_about_right {
    width: 100%;
    float: right;
    position: relative;
}

.miya_sort_left{
	display:none;
}
.miya_sort {
    width: 98%;
    margin: 40px auto;
}
.miya_sort_right {
    width: 98%;
    margin: 40px auto;
}
.miya_sort_right {
    width: 100%;
}
.miya_info_left{
	display:none;

}
.miya_info {
    width: 98%;
    margin: 40px auto;
}
.miya_info_right {
    width: 100%;
    float: right;
}
.miya_info_right_product_top_left {
    float: left;
    width:100%;
}
.miya_info_right_product_top_right {
   display: none;
}
.miya_sort_right_product_li:nth-child(2n) {
    margin-right: 0;
}

.miya_sort_right_product_li:nth-child(3),.miya_sort_right_product_li:nth-child(9),.miya_sort_right_product_li:nth-child(15),.miya_sort_right_product_li:nth-child(21) {
    margin-right: 20px;
}
.miya_sort_right_product_li {
    float: left;
    width: 44.7%;
    margin-right: 20px;
    padding: 10px;
    background: #f9f9f9;
    margin-bottom: 20px;
}
.miya_sort_right_product_li_img img {
    max-width: 100%;
    height: 230px;
    object-fit: cover;
    width: 100%;
}

.miya_message_left{
	display:none;
}
.miya_message {
    width: 98%;
    margin: 40px auto;
}
.miya_message_right {
    float: right;
    width: 100%;
}

.miya_info_right_info_link_li {
    float: left;
    width:19.4%;
    margin-right: 16px;
    padding: 10px;
    background: #fafafa;
    margin-bottom: 10px;
}
.miya_info_right_info_link_li:nth-child(4n) {
    margin-right: 0px;
}



}
