html,body {
 
    overflow-x: hidden;
    overflow-y: auto;
    font-size:15px;
}
.swiper-slide {
    overflow: hidden;
}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next, .swiper-button-next, .swiper-container-rtl .swiper-button-prev {
    background-image: none;
}


.home-main {
    width:623px;margin:0 auto;bottom:10px;text-align: center; 
    position: absolute;
    left:50%;
    margin-left: -311px;
    z-index: 1;
}
.home-main .cloud {
    position: absolute;
    background: url(../images/cloud.png) no-repeat;
    top:315px;
    left:50%;
    margin-left: -674px;
    z-index: 0;
    opacity: 0;

}
.home-main-btn {position: relative;z-index:2;display: block;margin: 0 auto;padding-bottom:20px;}
.tips-down {
    position:absolute;
    bottom: 0;
    left:50%;
    transform: translate(-50%, 0%);
     animation: slideDown 1.5s ease-in-out infinite;
}
/* 向下滑动提示动画 */
@keyframes slideDown {
    0% {
        transform: translate(-50%, 0%);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, 10px);
        opacity: 0.7;
    }
    100% {
        transform: translate(-50%, 0%);
        opacity: 1;
    }
}
.home-main-btn img {
  
   margin: 0 auto;
}
.home-txt {
    padding-top:10px;
    margin-bottom: -10px;
    opacity: 0;
}
.to-homesite {position: fixed;top:21px;right:21px;}
body {font-family: '微软雅黑';background: url(../images/bg.jpg) no-repeat top center;}
#home {
    background: url(../images/max_bg1.jpg) no-repeat top center fixed;
    overflow: hidden;
}
.content {
    background: #e9c28b  url(../images/max_bg2.jpg) no-repeat top center fixed;
}

table {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
}
th,td {
    border: 1px solid #e0e0e0;
    padding: 5px;
    text-align: center;
}
th {
    background-color: #e0e0e0;
    color: white;
}
.home-bg {left:50%;transform: translate(-50%, 0%);}
.slogn {
    padding: 140px 0 0 130px;
}
.logo {
    position: absolute;
    z-index:5;
    top:0;left:260px;
}
.logo img {
    width: 240px;
}
.app {height: 100%;}
/* #home {height: 100%;position: absolute;height:100%;width:100%;} */
.content {margin: 0 auto;position: relative;overflow: hidden;}
.content:after {content:'';display: block;clear: both;}
.left-sider {width: 231px;position: fixed;left:0;z-index:100;top:50%;transform: translate(0%, -50%);height:550px;background: url(../images/sider-bg.png) left center no-repeat;}
.left-sider-top {height:99px;}
.left-sider-bottom {height:271px;background: url(../images/left_bottom.png);position: relative;}
.back-home {position: fixed;top:47px;right:47px;}
.left-sider-mid {margin-bottom: -90px;position: relative;z-index:1;width:270px;height:582px;}
.section-cont {max-height: 500px;overflow-y: auto;padding-bottom:200px;width: 1100px;margin-left: auto;margin-right: auto;position: relative;}
.left-sider-mid-top {


    overflow: hidden;
}
.left-sider-mid-top-inner {
    width:390px;
    position: relative;
    transition: all 0.3s ease;
}
.left-sider-mid-top-inner::after {
    content:'';
    display: block;
    clear: both; 
}
.left-sider-mid ol {
    float:left;
    width:190px;
}
.left-sider-mid-bottom {
    width:70px;
    margin:10px auto;
}
.left-sider-mid-bottom .btn-left{
    float: left;
}
.left-sider-mid-bottom .btn-right{
    float: right;
}

.mod-menu-sub {margin-left: 32px;}
.mod-menu-sub .mod-menu-item a img:last-child{display: block;}
.mod-menu-sub .mod-menu-item a img:first-child{display: none;}

.mod-menu-sub .mod-menu-item.active a img:last-child{display: none;}
.mod-menu-sub .mod-menu-item.active  a img:first-child{display: block;}

.content-1 {
    background: url(../images/max_bg2.jpg) no-repeat top center fixed;
}
.content-2, .content-3, .content-4 {
    background: url(../images/max_bg3.jpg) no-repeat top center fixed;
}

.page-section {
    position: relative;
    z-index: 2;
    height:100%;
}
.right-main {margin-left: auto;margin-right: auto;width: 1100px;position: relative;z-index: 5;height:100%;}
.page-section .page-tit{margin-left: auto;margin-right:auto;text-align: center;margin-bottom:80px;}
.page-section .page-tit img {display: inline-block;}

.artical {color:#49606e;font-size:15px;line-height:2em;}
.left-sider-bar {display: none;}

.bottom-bg {
    position: absolute;
    right:0;
    /* bottom: 100px; */
    bottom: -25px;
    z-index:6;
}

.pic-renwu {
    position: absolute;
    bottom:0;right:-390px;
}


.left-menu .mod-menu-item img:last-child {display: none;}
.left-menu .mod-menu-item.active img:first-child,.left-menu .mod-menu-item:hover img:first-child {display: none;}
.left-menu .mod-menu-item.active img:last-child,.left-menu .mod-menu-item:hover img:last-child {display: block;}
#dialog-1 .mod-dialog-main {
    width: 1290px;
    height: 758px;
    background:url(../images/dialog-bg.png) no-repeat center center;
}
#dialog-1 .mod-dialog-main .mod-dialog-content{
    padding: 100px 100px 0 100px;
}
.mod-dialog-close1 {
    margin:50px!important;
}
#dialog-1 .artical {
    max-height: 500px;
    overflow-y: auto;
}

#dialog-2 .mod-dialog-main {
    width: 1432px;
    height: 858px;
    background:url(../images/dialog-bg2.png) no-repeat center center;
}
#dialog-2 .mod-dialog-main .mod-dialog-content{
    padding: 200px 280px 0 100px;
}

#dialog-2  .mod-dialog-close1 {
    margin:100px 200px!important;
}
.page-section-sub-item {
    display: none;
}
.page-section-sub-item.active {
    display: block;
}
.menus {
    text-align: center;
    position: absolute;
    bottom:10px;
    left:50%;
    transform: translateX(-50%);
    width: 100%;
}
.menu-item {
    display: inline-block;
    cursor: pointer;
}
.menu-item img:first-child {
    display: none;
}
.menu-item img:last-child {
    display: inline-block;
}

.menu-item.active img:first-child {
    display: inline-block;
}
.menu-item.active img:last-child {
    display: none;
}

@media screen and (min-width: 768px) {
    .left-sider {
        padding-top: 30px;
    }
    .left-menu .mod-menu-item {
        margin-bottom:70px;
    }
    .left-menu .mod-menu-item:nth-child(2) {
       margin-left:60px;
    }
    .left-menu .mod-menu-item:nth-child(3) {
       margin-left:90px;
    }
    .left-menu .mod-menu-item:nth-child(4) {
       margin-left:60px;
    }

    .section-1-link-1,
    .section-1-link-2,
    .section-1-link-3,
    .section-1-link-4,
    .section-1-link-5 {
        position: absolute;
    }
    .section-1-link-1 {
        top: 60px;
        left: 80px;
    }
    .section-1-link-2 {
        top: 460px;
        left: 210px;
    }
    .section-1-link-3 {
        top:60px;
        left: 700px;
    }
    .section-1-link-4 {
        top: 460px;
        left: 880px;
    }
    .section-1-link-5 {
        top: 500px;
        left: 350px;
    }
}

@media screen and (max-width: 768px) {

    #dialog-1 .artical {
        max-height:none;
    }
    .mod-dialog-close1 {
        position: absolute;
        margin: 0!important;
        top: 20px;
        right: 20px;
    }
    #dialog-2 .mod-dialog-close1 {
        position: absolute;
        margin: 0!important;
        top: 20px;
        right: 20px;
    }
    #dialog-2 .mod-dialog-main,
    #dialog-1 .mod-dialog-main {
        background: #ebeff0;
        height: 100%;
        overflow-y: auto;
    }
    #dialog-2 .mod-dialog-main .mod-dialog-content,
    #dialog-1 .mod-dialog-main .mod-dialog-content{
        padding: 10px 10px 0 10px;
    }

    .section-2 {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        padding-top:30px;
    }
    .section-2 img {
        width: 150px;
    }

    
    .bottom-bg, .pic-renwu {display: none;}
    .slogn {padding:0;}
    .slogn img {width: 100%;}
    .section-cont {
        width: 90%;
        max-height:none;
    }
    .page-section .page-tit {
        padding-top: 0;
        margin-bottom: 0;
    }
    body {
        background: none;
    }
    .right-main {
        width: 100%;
        background: none;

    }
    #home {
        background:#417696 url(../images/min_bg1.jpg) no-repeat top center fixed;
        background-size: 100% 100%;
        height:100vh;

    }
  .content {
        background:#417696 url(../images/min_bg2.jpg) no-repeat top center fixed;
        background-size: 100% 100%;
        height: auto!important;
        min-height: 100vh;
    }
    .page-tit img {width:100%;}
    .home-main {opacity: 0.5!important;}
    .home-main-btn{bottom: 10px;width:80%;}
    .home-main-btn img {max-width:100%;}
    .home-main {opacity: 1!important;}
    .left-sider {height:auto;position: absolute;width:100%;z-index:10;left:0;top:auto;bottom:10px;background: #1f383f none;transition: all 0.3s ease;transform: none;}
    .left-sider.active {left:0;}
    .left-sider-top, .left-sider-bottom {display: none;}
    
    .left-sider-mid {
      width: 100%;
      height:auto;
    }
    .artical{
        padding-bottom: 100px;
    }
    .left-sider-mid ol {
        width:100%;
        position:relative;
        margin-left: 0;
    }
    .left-menu {
        display: flex;
    }
    .section-top {
        padding-top: 30px;
    }
    /* .mod-menu .mod-menu-item > .mod-menu-sub {height: auto;} */
    .left-sider-mid ol li {position: relative;}
    .left-sider-mid ol li img {width: 100%}
    .left-sider-mid .mod-menu-sub {position: absolute;bottom: 100%;width:100%;margin-left: 0;text-align: center;}
    .mod-menu-sub img {display: inline-block;}
    .left-sider-mid .mod-menu-sub li {width:100%;}
    .right-main {padding-left: 0;overflow: auto;}
    .content {width: 100%;margin-left:auto;margin-right:auto;}
    .mod-menu-item.active .mod-menu-sub {display: block!important;}
    .mod-menu-sub {background-color: #fff7d1;}
    .back-home {right:0;top:0;}
    .back-home img {width: 60px;}
    .left-sider-mid-top {padding-top:4px;}
    .left-sider-mid-bottom {display: none;}
    .left-sider-bar {display: none;position: absolute;width:40px;height:40px;background-color: #1f383f;top:0;right:-40px;cursor: pointer;padding-top:6px;z-index: 2;}
    .left-sider-bar span {display: block;background-color: #fff;height:6px;margin-bottom:4px;margin-left:auto;margin-right: auto;width:30px;border-radius: 5px;}
    .left-sider-mid-top-inner {width:auto;}
    .home-txt {opacity: 1;margin-bottom: 10px;WIDTH: 400PX;
        max-width: 100%;
        MARGIN: 0 AUTO;
        Margin-top: -20px;}
    .home-txt img {width:100%;}
    .home-main {
        margin-top: auto;
        position: absolute;
        bottom: 10px;
        width: 100%;
        left:0;
        margin-left: 0;
        display: none;
    }
    .home-main .cloud {}
    .to-homesite img {width:150px}
    .logo img {width: 265px;margin-left:12px;}
    .logo,.to-homesite {display: none;}
    .menus {
        position: fixed;
        transform: none;
        width: 100%;
        bottom:0;
        left:0;
    }
    /* 仅保留旧首页轮播的首屏显示逻辑，避免影响当前场景轮播 */
    #index-swiper .swiper-slide {
        display: none;
    }
    #index-swiper .swiper-slide:first-child {
        display: block;
    }
    .page-section {
        position: static;
    }
    .right-main {
        position: static;
    }
    .swiper-slide,.swiper-wrapper,#index-swiper {
        position: static;
    }
    .menu-item img {
        width:120px;
    }
    .section-cont {
        padding-bottom:100px;
    }
    .section-2 {
        background: url(../images/section-2-bg.jpg) no-repeat top center fixed;
    }
    .left-sider-mid {
        margin-bottom:0;
    }
}

/* ========== 活动页面样式 ========== */
body.activity-page {
    font-family: '微软雅黑', 'Microsoft YaHei', Arial, sans-serif;
  
    overflow-x: hidden;
}

/* 上半部分：大屏图片展示 */
.top-banner {
    width: 100%;
    height: 1080px;
    position: relative;
    overflow: hidden;
}

.top-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.top-banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    pointer-events: none;
}

.banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 下半部分：内容区域 */
.content-section {
    width: 100%;
    min-height: 100vh;
    background: #f5f0e8;
    position: relative;
    padding-top: 80px;
    padding-bottom: 100px;
}

/* 顶部切换按钮 */
.top-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 60px;
    padding-top: 35px;
    background: url('../images/menu-bg.png') no-repeat center center;
    background-size: contain;
    position: relative;

    width: 1463px;
    /* 根据背景图实际尺寸设置，例如如果背景图是 1200x150 */
    height: 138px;
    box-sizing: border-box;
}

/* 如果背景图尺寸不同，请调整 height 值以匹配背景图的高度 */

.tab-btn {
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn .tab-img-off {
    display: block;
}

.tab-btn .tab-img-on {
    display: none;
}

.tab-btn.active .tab-img-off {
    display: none;
}

.tab-btn.active .tab-img-on {
    display: block;
}

.tab-btn:hover {
    transform: translateY(-3px);
}

.tab-btn img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* 内容区域 */
.content-wrapper {
    max-width: 1481px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.content-item {
    display: none;
}

.content-item.active {
    display: block;
}

/* 部分样式 */
.section-part {
    margin-bottom: 80px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.section-content-bg {
    background-image: url('../images/content-bg.png?v=1');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    padding: 59px 128px;
    height:  auto;
    width: 1200px;
    overflow-y: auto;
    position: relative;
    margin: 0 auto;
    
}

.section-content-bg-1 {
    background-image: url('../images/top-bg.png?v=1');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    padding: 59px 128px;
    height:  auto;
    width: 1004px;
    overflow-y: auto;
    position: relative;
    margin: 0 auto;
}

.section-text {
    color: #333;
    font-size: 15px;
    line-height: 2;
    text-align: left;
    max-height: 561px;
    overflow-y: auto;
}

.section-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #8b4513;
    text-align: center;
}

.section-text p {
    margin-bottom: 20px;
    text-indent: 2em;
}

.sub-title {
    font-size: 20px;
    color: #8b4513;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* 悟道结果表格样式 */
.table-wudao {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(209, 75, 38, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.table-wudao th,
.table-wudao td {
    border: 1px solid #f4a5a5;
    padding: 12px 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.table-wudao td {
    background-color: transparent;
    color: #333;
}

.table-wudao td:nth-child(1) {
    background: transparent;
    color: #333;
    font-weight: normal;
}

.table-wudao tbody tr:hover td {
    background-color: rgba(244, 165, 165, 0.1);
}

.table-wudao tbody tr:hover td:nth-child(1) {
    background: rgba(244, 165, 165, 0.15);
    color: #333;
}

.table-wudao th {
    background: rgba(244, 165, 165, 0.2);
    color: #7b4f00;
    font-weight: bold;
 
    font-size: 17px;
    letter-spacing: 0.5px;
}

.table-wudao thead {
    box-shadow: 0 2px 4px rgba(209, 75, 38, 0.2);
}

/* 幻灯片样式 */
.scene-swiper,
.scene-swiper.swiper-container {
    position: relative;
    width: 1281px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: hidden;
}

.scene-desc {
    width: 993px;
    height: 306px;
    margin: 40px auto 0;
    padding: 83px 148px 73px;
    box-sizing: border-box;
    background: url('../images/cj-bg.png') no-repeat center center;
    background-size: 100% 100%;
    color: #333;
}

.scene-desc-item {
    display: none;
}

.scene-desc-item.active {
    display: block;
}

.scene-desc-title {
    font-size: 32px;
    color: #8b4513;
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
}

.scene-desc-text {
    font-size: 18px;
    line-height: 1.5;
    text-indent: 2em;
}

.scene-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.scene-swiper .swiper-slide {
    position: relative;
    text-align: center;
    width: 100% !important;
    flex-shrink: 0;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.scene-swiper .swiper-slide-active {
    opacity: 1;
}

.slide-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.scene-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.slide-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    color: #8b4513;
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
    transform-origin: center;
    z-index: 2;
}

.scene-swiper .swiper-pagination {
    bottom: 20px;
    text-align: center;
    position: relative;
    margin-top: 20px;
}

.scene-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #333;
    opacity: 0.5;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.scene-swiper .swiper-pagination-bullet-active {
    background: #d14b26;
    opacity: 1;
    transform: scale(1.2);
}

.scene-swiper .swiper-button-prev,
.scene-swiper .swiper-button-next {
    width: 50px;
    height: 50px;
    margin-top: -25px;
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
}

.scene-swiper .swiper-button-prev {
    left: 0;
}

.scene-swiper .swiper-button-next {
    right: 0;
}

.scene-swiper .swiper-button-prev .btn-hover,
.scene-swiper .swiper-button-next .btn-hover {
    display: none;
}

.scene-swiper .swiper-button-prev:hover .btn-normal,
.scene-swiper .swiper-button-next:hover .btn-normal {
    display: none;
}

.scene-swiper .swiper-button-prev:hover .btn-hover,
.scene-swiper .swiper-button-next:hover .btn-hover {
    display: block;
}

.scene-swiper .swiper-button-prev img,
.scene-swiper .swiper-button-next img {
    width: 100%;
    height: auto;
    display: block;
}

/* 悟道石画廊 */
.stone-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stone-item {
    position: relative;
    text-align: center;
    max-width: 300px;
    margin-bottom: 30px;
}

.stone-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.stone-item:hover img {
    transform: none;
}

.view-detail-btn {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    z-index: 5;
}
.mod-dialog-close1 {
    position: absolute;
    right: -28px;
    top: -8px;
}
.view-detail-btn img {
    width: 150px;
    display: block;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.view-detail-btn .btn-hover,
.view-detail-btn .btn-click {
    display: none;
}

.view-detail-btn .btn-normal {
    display: block;
}

.view-detail-btn:hover {
    transform: translateX(-50%);
}

.view-detail-btn:hover .btn-normal {
    display: none;
}

.view-detail-btn:hover .btn-hover {
    display: block;
}

.view-detail-btn:active {
    transform: translateX(-50%);
}

.view-detail-btn:active .btn-normal,
.view-detail-btn:active .btn-hover {
    display: none;
}

.view-detail-btn:active .btn-click {
    display: block;
}

.stone-item:hover .view-detail-btn img {
    transform: none;
}

/* 书形式容器 */
.book-container {
    display: flex;
    width: 100%;
    height: 1069px;
    margin: 0 auto;
    background: url('../images/book-bg.png') no-repeat center center;
    background-size: 100% 100%;
    padding: 40px;
    gap: 40px;
    margin: 0 auto;
}

.book-left,
.book-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.book-left {
    position: relative;
    z-index: 1;
}

.book-right {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.book-title {
    font-size: 32px;
    color: #8b4513;
    margin-bottom: 30px;
    margin-top: 20px;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    padding-top:30px;
}

.book-image {
    text-align: center;
}

.book-image img {
    max-width: 100%;
    height: auto;
}

.book-content {
    color: #333;
    font-size: 16px;
    line-height: 2;
}

.book-content p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.book-content strong {
    color: #d14b26;
    font-weight: bold;
}

/* 百叶窗效果 */
.accordion-container {
    max-width: 1424px;
    margin: 0 auto;
    overflow: hidden;
}

.accordion-item {
    margin-bottom: 0;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e8ddd0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-item:hover {
    box-shadow: none;
}

.accordion-header {
    padding: 20px 30px;
    background: url('../images/p4_2titbg.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
    position: relative;
    height: 167px;
}

.accordion-header:hover {
    opacity: 0.9;
}

.accordion-item.active .accordion-header {
    opacity: 1;
}

.accordion-title {
    font-size: 50px;
    color: #000;
    font-weight: bold;
    text-align: center;
}

.accordion-icon {
    display: none;
    font-size: 16px;
    color: #8b4513;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
    background: #fff;
    border-top: none;
    position: relative;
}

.accordion-item.active .accordion-content {
    width:95%;
    margin: 0 auto;
    max-height: none;
    padding: 30px; /* 顶部和底部留出空间给背景图片 */
    border-top: none;
    /* 使用多层背景实现三张图片的拼接 */
    /* 第一层：顶部图片（固定位置） */
    /* 第二层：中间可重复图片（填充中间部分） */
    /* 第三层：底部图片（固定位置） */
    background-image: url('../images/p4_2conbg_top.png'),
                      url('../images/p4_2conbg.png'),
                      url('../images/p4_2conbg_bottom.jpg');
    background-position: center top,
                        center top,
                        center bottom;
    background-repeat: no-repeat,
                       repeat-y,
                       no-repeat;
    background-size: 100% auto,
                     100% auto,
                     100% auto;
    /* 确保内容在背景之上 */
    position: relative;
    z-index: 1;
}

.accordion-content p {
    color: #333;
    font-size: 16px;
    line-height: 2;
    margin: 0;
    text-indent: 2em;
    position: relative;
    z-index: 1;
}

/* 右侧漂浮菜单 */
.right-floating-menu {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    width: 231px;
    height: 550px;
    background: url('../images/sider_bg.png') no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.right-floating-menu.show {
    opacity: 1;
    visibility: visible;
}

.right-sider-inner {
    width: 100%;
    height: 100%;
    padding: 40px 20px 80px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.right-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 85%;
    text-align: center;
    padding-top:124px;
    padding-left:20px;
}

.right-menu img{
    max-width: 100%;
}

.right-menu .mod-menu-item {
    margin-bottom: 20px;
    transition: none;
    transform: none;
}

.right-menu .mod-menu-btn img {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transition: none;
    transform: none;
}

/* 覆盖全局 .mod-menu-btn 的 hover 图切换，右侧菜单只用一张图，避免被隐藏 */
.right-menu .mod-menu-btn>img:nth-child(1) {
    display: block;
}

.right-menu .mod-menu-btn>img:nth-child(2) {
    display: none;
}

.right-menu .mod-menu-btn:hover img:nth-child(1),
.right-menu .mod-menu-btn.active>img:nth-child(1) {
    display: block;
}

.right-menu .mod-menu-btn:hover>img:nth-child(2),
.right-menu .mod-menu-btn.active>img:nth-child(2) {
    display: none;
}

/* 防止右侧菜单在 hover/active 时产生位移抖动 */
.right-menu .mod-menu-item:hover,
.right-menu .mod-menu-item.active {
    transform: none;
}

.right-back-top {
    cursor: pointer;
    margin-left: 20px;
}

.right-back-top img {
    display: block;
    margin: 0 auto;
}

/* 领域技能详细展示区域 */
.skill-detail-section {
    width: 100%;
    max-width: 1481px;
    margin: 80px auto;
    padding: 0 20px;
}

/* 一级菜单：顶部按钮区域 */
.skill-menu-top {
    overflow: hidden;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    height:376px;
    background: url(../images/p4tabbg.png) center center no-repeat;
}

.skill-menu-top-inner {
    position: relative;
    width: 950px;
    margin:  0 auto;
    margin-top: 30px;
}

.skill-menu-btn {
    position: absolute!important;
    width: auto;
    height: auto;
    width:185px;
    height:185px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    padding: 15px 30px;
    flex-shrink: 0;
    left: 10000px;
}

.skill-menu-btn .menu-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.2em;
}
.skill-menu-btn:nth-child(1) {
    left:0px;
    top:20px;
}
.skill-menu-btn:nth-child(2) {
    left: 94px;
    top: 110px;
}

.skill-menu-btn:nth-child(4) {
    left: 279px;
    top: 110px;
}

.skill-menu-btn:nth-child(6) {
    left: 468px;
    top: 110px;
}

.skill-menu-btn:nth-child(8) {
    left: 660px;
    top: 110px;
}

.skill-menu-btn:nth-child(3) {
    left: 188px;
    top: 20px;
}

.skill-menu-btn:nth-child(5) {
    left: 372px;
    top: 20px;
}

.skill-menu-btn:nth-child(7) {
    left: 563px;
    top: 20px;
}

.skill-menu-btn:nth-child(9) {
    left: 757px;
    top: 20px;
}

.skill-menu-btn:nth-child(1),.skill-menu-btn:nth-child(2),.skill-menu-btn:nth-child(3){
    background: url(../images/menu-1-bg.png) no-repeat;
}
.skill-menu-btn:nth-child(1):hover,.skill-menu-btn:nth-child(2):hover,.skill-menu-btn:nth-child(3):hover,.skill-menu-btn:nth-child(1).active,.skill-menu-btn:nth-child(2).active,.skill-menu-btn:nth-child(3).active{
    background: url(../images/menu-1-bg-on.png) no-repeat;
}

.skill-menu-btn:nth-child(4),.skill-menu-btn:nth-child(5),.skill-menu-btn:nth-child(6){
    background: url(../images/menu-2-bg.png) no-repeat;
}
.skill-menu-btn:nth-child(4):hover,.skill-menu-btn:nth-child(5):hover,.skill-menu-btn:nth-child(6):hover,.skill-menu-btn:nth-child(4).active,.skill-menu-btn:nth-child(5).active,.skill-menu-btn:nth-child(6).active{
    background: url(../images/menu-2-bg-on.png) no-repeat;
}

.skill-menu-btn:nth-child(7),.skill-menu-btn:nth-child(8),.skill-menu-btn:nth-child(9){
    background: url(../images/menu-3-bg.png) no-repeat;
}
.skill-menu-btn:nth-child(7):hover,.skill-menu-btn:nth-child(8):hover,.skill-menu-btn:nth-child(9):hover,.skill-menu-btn:nth-child(7).active,.skill-menu-btn:nth-child(8).active,.skill-menu-btn:nth-child(9).active{
    background: url(../images/menu-3-bg-on.png) no-repeat;
}


.skill-menu-btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.skill-menu-btn.active {
    opacity: 1;
    transform: translateY(-5px);
}

.menu-text {
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.2em;
}

/* 二级菜单和书本区域 */
.skill-book-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
}

/* 二级菜单：左侧垂直按钮（在书本左侧内部，原skill-level-tags位置） */
.skill-submenu {
    position: absolute;
    left: -147px;
    top: 69px;

    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.skill-submenu-btn {
    width: 150px;
    height: 70px;
    background: url('../images/p4_taboff.png') no-repeat center center;
    background-size: 100% 100%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.skill-submenu-btn:hover {
    background: url('../images/p4_tabon.png') no-repeat center center;
    background-size: 100% 100%;
}

.skill-submenu-btn.active {
    background: url('../images/p4_tabon.png') no-repeat center center;
    background-size: 100% 100%;
}

.submenu-text {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.skill-submenu-btn.active .submenu-text {
    color: #fff;
}

/* 书本容器 */
.skill-book-container {
    flex: 1;
    min-height: 800px;
    background: url('../images/book-bg.png') no-repeat center center;
    background-size: 100% 100%;
    padding: 60px 80px;
    box-sizing: border-box;
    display: flex;
    gap: 50px;
    position: relative;
    width: 1696px;
    height: 850px;
}

/* 书本左侧 */
.skill-book-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 0;
}

.skill-book-left .skill-book-title {
    font-size: 20px;
    color: #000;
    margin-bottom: 30px;
    margin-top: 0;
    text-align: center;
    font-weight: bold;
    padding-top: 30px;
    line-height: 1.2;
}

.skill-book-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    margin-top:80px;
}

.skill-gif-placeholder {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.skill-gif-placeholder img {
    max-width: 100%;
}

/* 等级标签（在书本左侧外部） */

/* 书本右侧 */
.skill-book-right {
    flex: 1;
    display: flex;
    flex-direction: column;
   
    position: relative;
    z-index: 2;
    padding-top: 0;
}

.skill-book-right .skill-book-title {
    font-size: 20px;
    color: #000;
    margin-bottom: 20px;
    margin-top: 0;
    text-align: center;
    font-weight: bold;
    padding-top: 30px;
    line-height: 1.2;
}

.skill-book-content {
    color: #333;
    font-size: 16px;
    line-height: 2;
    padding-top: 20px;
    width: 80%;
    margin: 0 auto;
}

.skill-intro {
    margin-bottom: 25px;
    text-indent: 2em;
    color: #333;
    font-size: 16px;
}

.skill-detail-item {
    margin-bottom: 30px;
}

.skill-detail-title {
    font-size: 18px;
    color: #d14b26;
    font-weight: bold;
    margin-bottom: 10px;
}

.skill-detail-text {
    font-size: 16px;
    color: #333;
    line-height: 1.8;
    text-indent: 2em;
}

/* 弹框样式 */
#stone-detail-dialog .mod-dialog-main {
    width: 1296px;
    height: 889px;
    max-width: 100%;
    background: url('../images/box.png') no-repeat center center;
    background-size: 100% 100%;
    padding: 80px 80px 80px 80px;
    border-radius: 10px;
    box-sizing: border-box;
}

#stone-detail-dialog .mod-dialog-content {
    color: #333;
    font-size: 16px;
    line-height: 2;
}

#stone-detail-dialog .detail-image {
    text-align: center;
    margin-bottom: 20px;
}

#stone-detail-dialog .detail-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

#stone-detail-dialog .detail-title {
    font-size: 24px;
    color: #8b4513;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

#stone-detail-dialog .detail-text {
    text-indent: 2em;
    margin-bottom: 15px;
}

/* 悟道石详情弹框内结构样式 */
.stone-detail-content {
    max-height: 100%;
    overflow-y: auto;
}

.stone-detail-section {
    margin-top: 16px;
    margin-bottom: 16px;
}

.stone-detail-section-title {
    font-size: 20px;
    color: #8b4513;
    margin-bottom: 8px;
    font-weight: bold;
}

.stone-detail-section p {
    margin-bottom: 8px;
    text-indent: 2em;
}

.stone-detail-subtitle {
    font-weight: bold;
    margin-top: 8px;
}

.stone-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 16px;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(209, 75, 38, 0.15);
    border-radius: 8px;
    overflow: hidden;
    background: transparent;
}

.stone-detail-table th,
.stone-detail-table td {
    border: 1px solid #f4a5a5;
    padding: 10px 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.stone-detail-table td {
    background-color: transparent;
    color: #333;
}

.stone-detail-table tbody tr:hover td {
    background-color: rgba(244, 165, 165, 0.1);
}

.stone-detail-table th {
    background: rgba(244, 165, 165, 0.2);
    color: #7b4f00;
    font-weight: bold;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-align: center;
}

.stone-detail-table thead {
    box-shadow: 0 2px 4px rgba(209, 75, 38, 0.2);
}

.stone-detail-gif {
    margin: 8px 0 12px;
    text-align: center;
    font-size: 15px;
    color: #888;
}
.section-text img {
    display: block;
    margin: 20px auto;
    max-width: 100%;
}

.mod-dialog-content img {
    display: block;
    max-width: 100%;
    margin: 16px auto;
}

#stone-detail-dialog .mod-dialog-content {
    margin: 60px 120px 0 60px;
    max-height: 663px;
    overflow-y: auto;
}


.scene-swiper .swiper-pagination-bullet {
    width: 47px;
    height: 47px;
    background: url(../images/click_off.png) no-repeat;
    opacity: 0.5;
    margin: 0 5px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.scene-swiper .swiper-pagination-bullet-active {
    background: url(../images/click_on.png) no-repeat;
    opacity: 1;
    transform: scale(1.2);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {

    .scene-swiper .swiper-pagination-bullet {
        width:20px;
        height: 20px;
        background-size: 100%;
    }

    .scene-swiper, .scene-swiper.swiper-container {
        padding: 0;
    }

   .swiper-button-prev,.swiper-button-next {
    display: none;
   }

    .scene-desc {
        width: 100%;
        background: none;
        margin:0;
        padding:16px;
        height: auto;
    }

    .mod-dialog-close1 {
        position: absolute;
        right:0;top:0;
        width:25px;
    }
    .mod-dialog-close1 img {
        width:100%;
    }
    #stone-detail-dialog .mod-dialog-content {
        margin:0;
    }
    .top-banner {
        height: auto;
    }
    .top-banner img {
        width: 100%;
    }
    .top-banner-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 2;
    }
    .content-section {
        padding-top: 40px;
        /* 预留底部空间给固定在底部的 top-tabs */
        padding-bottom: 110px;
    }

    .top-tabs {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap;
        margin: 0;
        padding: 6px 4px;
        width: 100%;
        max-width: 100%;
        height: 50px;
        /* 移动端使用专用底部导航背景图 */
        background: url('../images/min_tabbg.png') no-repeat center center;
        background-size: 100% auto;
    }

    .tab-btn img {
        max-width: 80px;
    }

    .section-content-bg {
        padding: 30px 20px;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        /* 移动端取消背景图，仅保留内容区域的留白 */
        background: none;
        overflow-y: visible;
    }

    .section-text {
        font-size: 15px;
        max-height: none;
        overflow-y: visible;
    }

    

    /* 移动端百叶窗内容区域，使用简化背景以避免错位 */
    .accordion-item.active .accordion-content {
        width: 100%;
        margin: 0 auto;
        padding: 20px 16px;
        background: #fff;
        background-image: none;
        max-height: none;
    }

    .scene-swiper {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
    }

    .stone-gallery {
        gap: 20px;
        max-width: 100%;
    }
    #stone-detail-dialog .mod-dialog-content {
        max-height: none;
    }

    .stone-item {
    }

    .book-container {
        width: 100%;
        height: auto;
        flex-direction: column;
        padding: 20px;
        /* 移动端取消书本背景图，只保留内容布局 */
        background: none;
    }

    .right-floating-menu {
        right: 10px;
        gap: 10px;
    }

    .floating-btn img {
        max-width: 50px;
    }

    /* 移动端隐藏右侧浮动菜单 */
    .right-floating-menu {
        display: none!important;
    }

    /* 领域技能详细展示移动端适配 */
    .skill-detail-section {
        padding: 0 10px;
        margin: 40px auto;
    }

    .skill-menu-top {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
       
    }

    .skill-menu-btn {
        width: 100%;
        max-width: 300px;
        min-height: 60px;
    }

    .menu-text {
        font-size: 18px;
    }

    .skill-book-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .skill-submenu {
        flex-direction: row;
        justify-content: center;
        padding-top: 0;
        gap: 10px;
        flex-wrap: wrap;
    }

    .skill-submenu-btn {
        width: 100px;
        height: 50px;
    }

    .submenu-text {
        font-size: 16px;
    }

    .skill-book-container {
        width: 100%;
        height: auto;
        min-height: auto;
        flex-direction: column;
       padding: 0;
        gap: 30px;
    }

    .skill-book-left {
        padding-top: 0;
    }

    .skill-book-left .skill-book-title {
        font-size: 24px;
        padding-top: 0;
    }

    .skill-book-image {
        max-width: 100%;
        height: 250px;
    }

    .skill-submenu {
        position: static;
        flex-direction: row;
        justify-content: center;
        margin-top: 15px;
        gap: 10px;
        left: auto;
        top: auto;
    }

    .skill-book-right {
        margin-top: 0;
        padding-top: 0;
    }

    .skill-book-right .skill-book-title {
        font-size: 24px;
        padding-top: 0;
    }

    .skill-book-content {
        padding-top: 0;
    }

    .skill-detail-title {
        font-size: 16px;
    }

    .skill-detail-text {
        font-size: 14px;
    }

    /* 表格移动端优化 */
    .table-wudao,
    .stone-detail-table {
        font-size: 15px;
        margin: 12px 0;
        border-radius: 6px;
    }

    .table-wudao th,
    .table-wudao td,
    .stone-detail-table th,
    .stone-detail-table td {
        padding: 8px 10px;
    }

    .table-wudao th,
    .stone-detail-table th {
        font-size: 15px;
    }

    /* 移动端通用弹框：高度自适应，内容可滚动 */
    .mod-dialog-main {
        width: 90%;
        max-width: 90%;
        height: auto;
        max-height: 90vh;
        padding: 20px 15px;
        overflow-y: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        box-sizing: border-box;
    }

    .mod-dialog {
        overflow-y: auto;
        z-index:100;
    }

    #stone-detail-dialog .mod-dialog-main {
        position: relative;
       
        height: auto;
        padding: 20px 15px;
        /* 移动端使用纯白背景，取消弹框背景图 */
        background: #ffffff;
        background-image: none;
        max-height: none;
        left:0;
        top: 0;
        right:0;
        transform: none;
        bottom:auto;
        overflow: hidden;
    }


    .skill-menu-btn {
        position: static!important;
        background: none!important;
        width: auto;
        height: auto;
        display: inline-block;
        padding: 8px;
        background-color: #4c391b!important;
        min-height:auto;
    }
    .skill-menu-top-inner {
        width: 100%;
        display:flex;
        gap:16px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .skill-menu-btn.active {
        background-color: rgba(76, 57, 27, 0.7)!important;
        transform: translateY(-0);
    }
    .skill-menu-btn .menu-text {
        writing-mode:horizontal-tb;
        text-orientation: upright;
        letter-spacing: 0.2em;
        text-align: center;
    }
    .skill-book-container {
        background: none;
    }
    .skill-menu-top {
        background: none;
        height: auto;
    }
    .skill-book-image {
        height: auto;
        margin-top: 0;
    }
    .section-content-bg-1 {
        background:none;
    }

}

