/* 重置默认样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "华文中宋", "STZhongsong", serif;
    background-color: #000;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 全站底部 ICP：fixed 不撑开文档流，避免 fullPage 整屏高度错位；层级低于顶部导航 */
.site-icp-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 6px 12px 10px;
    text-align: center;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.62);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    pointer-events: none;
}
.site-icp-footer a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    pointer-events: auto;
}
.site-icp-footer a:hover {
    text-decoration: underline;
}

/* 「返回顶部」需压在备案条之上，避免被遮挡 */
.go-top-btn {
    z-index: 1300;
}

/* fullPage.js 样式覆盖 */
#fullpage {
    background-color: #000;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

.section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#screen1 {
    background-color: #000;
}

#screen2 {
    position: relative;
    background-color: transparent;
    width: 100%;
    height: 100vh;
}

/* 第二屏背景图片样式 */
.screen2-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    display: block;
}

/* 第三屏背景图片样式 */
.screen3-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    display: block;
}

/* 第三屏内容样式 */
.home3-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px;
    box-sizing: border-box;
}

/* 第三屏标题 */
.home3-title {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 30px;
    padding-top: 80px;
    padding-right: 270px;
    position: relative;
    z-index: 20;
}

.home3-title h1 {
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 48px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    margin: 0;
    letter-spacing: 0.1em;
    text-align: center;
    position: relative;
    z-index: 21;
}

/* 第三屏副标题，引导用户交互 */
.home3-subtitle {
    width: 100%;
    text-align: right;
    padding-right: 225px;
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: #333;
    letter-spacing: 0.05em;
    z-index: 20;
}

/* 第三屏图片容器 */
.home3-left-image {
    width: 400px;
    height: 500px;
    align-self: flex-start;
    margin-top: -110px;
    margin-left: 100px;
    position: relative;
}

/* 悬停区域样式 */
.hover-area {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hover-area.top-left {
    top: 0;
    left: 0;
    width: 150px;
    height: 150px;
    background-color: transparent;
    border-radius: 0 0 20px 0;
}

.hover-area.top-left:hover {
    background-color: transparent;
}

.hover-area.right-middle {
    top: 40%;
    right: -90px;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    background-color: transparent;
    border-radius: 20px 0 0 20px;
}

.hover-area.right-middle:hover {
    background-color: transparent;
}

.hover-area.right-bottom {
    top: 63%;
    right: -90px;
    width: 150px;
    height: 150px;
    background-color: transparent;
    border-radius: 20px 0 0 20px;
}

.hover-area.right-bottom:hover {
    background-color: transparent;
}

.hover-area.bottom-left {
    top: 83%;
    left: 5%;
    width: 150px;
    height: 150px;
    background-color: transparent;
    border-radius: 0 20px 0 0;
}

.hover-area.bottom-left:hover {
    background-color: transparent;
}

/* 右侧图片显示区域 */
.home3-right-image {
    position: absolute;
    top: 59%;
    right: 40px;
    transform: translateY(-50%);
    width: 750px;
    height: 500px;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.5s ease;
    z-index: 20;
    border-radius: 15px;
}

.home3-right-image.show {
    opacity: 1;
    visibility: visible;
}

.right-display-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* 第三屏右侧盒子文字说明 */
.home3-right-image .right-caption {
    position: absolute;
    top: 20px;
    right: 20px;
    max-width: 45%;
    color: #000;
    display: none;
}

.home3-right-image .right-caption-title {
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 30px;
    color: #000;
    margin: 0 0 10px 0;
}

.home3-right-image .right-caption-desc {
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 16px;
    line-height: 1.75;
    color: #000;
    margin: 0;
    text-align: justify;
    white-space: pre-line;
}

.lxt-image {
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: scale(1.2);
}

/* 页面容器动画 */
.section {
    transition: all 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    will-change: transform, opacity;
}

/* 优化fullPage.js动画 */
.fp-section {
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000) !important;
}

.fp-slide {
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000) !important;
}

/* 轮播图容器 */
.carousel-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* 轮播图包装器 */
.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 轮播图幻灯片 */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    cursor: pointer;
    will-change: opacity;
}

.carousel-slide.active {
    opacity: 1;
}

/* 轮播图片 */
.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}



/* 轮播图控制按钮 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #333;
    font-size: 1.5rem;
    font-weight: bold;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.prev-btn {
    left: 30px;
}

.next-btn {
    right: 30px;
}

/* 底部指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

/* 首页有底部 ICP 条时，首屏指示器略上移，避免与备案文字叠在一起 */
#screen1 .carousel-indicators {
    bottom: 48px;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.indicator.active {
    background: #ff0000;
    border-color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    transform: scale(1.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .carousel-btn {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    
    .prev-btn {
        left: 15px;
    }
    
    .next-btn {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 20px;
        gap: 10px;
    }

    #screen1 .carousel-indicators {
        bottom: 42px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(1.1);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.carousel-slide.active {
    animation: fadeIn 0.8s ease-in-out;
}




.represen1.home2 .tab-item {
    opacity: 1;
    visibility: visible;
}

.represen1.home2 .tab-bar {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.represen1.home2 .title {
    left: 8.5%;
    color: #fff;
}







.represen1.home2 .title-txt {
    padding-bottom: 155px;
}

.represen1.home2 .title-txt:before {
    background-image: url(../img/top2.png);
}

.represen1.home2 .title-txt:after {
    background-image: url(../img/bottom2.png);
    background-position: top center;
    height: 134px;
}

.represen1.home2 .tab-track {
    left: 17.5%;
    width: 66%;
}

.represen1.home2 .tab-term {
    width: 60px;
}

.represen1.home2 .tab-term:before {
    display: none;
}

.represen1.home2 .tab-term .h16:before, 
.represen1.home2 .tab-term .h16:after {
    display: none;
}

.represen1.home2 .tab-term .h16 {
    position: relative;
    bottom: 0;
    background: url(../img/arr3.png) no-repeat right top;
    padding-right: 30px;
    color: #9da4ac;
    margin-left: 35px;
}

.represen1.home2 .tab-term:hover .h16 {
    color: #fefefe;
}

.home2 .tab-term.t7 .h16 {
    top: 65%;
}

.home2 .tab-term.t8 .h16 {
    top: 62%;
}



/* 不同屏幕尺寸下的标签位置调整 */
.home2 .tab-term.t1 .h16 {
    top: 40%;
}

.home2 .tab-term.t2 .h16 {
    top: 22%;
}

.home2 .tab-term.t3 .h16 {
    top: 37%;
}

.home2 .tab-term.t4 .h16 {
    top: 30%;
}

.home2 .tab-term.t5 .h16 {
    top: 43%;
}

.home2 .tab-term.t6 .h16 {
    top: 29%;
}



/* 主容器样式 */
.home2 {
    background: url(../img/img8.jpg) center no-repeat;
    background-size: cover;
}

.home2 .widget-area-edit {
    border: 0 !important;
}

/* 标签内容容器 */
.home2 .tab-cont {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 100%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility .3s, opacity .3s, right .8s;
    -moz-transition: visibility .3s, opacity .3s, right .8s;
    transition: visibility .3s, opacity .3s, right .8s;
}

.home2.fp-completely .tab-cont {
    right: 50%;
    visibility: visible;
    opacity: 1;
}

/* 标签项目 */
.home2 .tab-item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: center no-repeat;
    background-size: cover;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility .6s cubic-bezier(0.645, 0.045, 0.355, 1.000), opacity .6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition: visibility .6s cubic-bezier(0.645, 0.045, 0.355, 1.000), opacity .6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: visibility .6s cubic-bezier(0.645, 0.045, 0.355, 1.000), opacity .6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    will-change: opacity, visibility;
}

.home2 .tab-item.act {
    opacity: 1;
    visibility: visible;
}

/* 标题区域 */
.home2 .title {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 13%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home2 .title-txt {
    position: relative;
    padding: 45px 2px;
    width: 1em;
    font-size: 48px;
    line-height: 1;
    text-align: center;
    font-family: "华文中宋", "STZhongsong", serif;
}

.home2 .title-txt:before,
.home2 .title-txt:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 34px;
    height: 24px;
    background: url(../img/png11.png) no-repeat;
}

.home2 .title-txt:before {
    top: 0;
    background-position: left;
}

.home2 .title-txt:after {
    bottom: 0;
    background-position: right;
}

/* 标签栏 */
.home2 .tab-bar {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    right: 0;
    color: #333;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility .6s cubic-bezier(0.645, 0.045, 0.355, 1.000), opacity .6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    -moz-transition: visibility .6s cubic-bezier(0.645, 0.045, 0.355, 1.000), opacity .6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: visibility .6s cubic-bezier(0.645, 0.045, 0.355, 1.000), opacity .6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    will-change: opacity, visibility;
}

.home2.fp-completely .tab-bar {
    visibility: visible;
    opacity: 1;
}

.home2 .tab-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 26%;
    width: 42%;
}

/* 标签术语 */
.home2 .tab-term {
    position: relative;
    display: inline-block;
    width: 49px;
    height: 100%;
    vertical-align: top;
    cursor: pointer;
}

.home2 .tab-term a {
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    writing-mode: tb-rl;
}

.home2 .tab-term:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    border-left: 1px solid #ccc;
}

.home2 .tab-term .h16 {
    position: relative;
    padding: 25px 0 30px;
    background: url(../img/png14.png);
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 16px;
    line-height: 1.375;
    white-space: nowrap;
}

.home2 .tab-term .h16 a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 10px;
}

.home2 .tab-term .h16 a:hover {
    color: #8B0000;
    text-decoration: none;
}

.home2 .tab-term .h16:before,
.home2 .tab-term .h16:after {
    content: '';
    position: absolute;
    left: 12px;
    width: 22px;
    height: 12px;
    background: url(../img/png12.png) no-repeat;
}

.home2 .tab-term .h16:before {
    top: 0;
    background-position: left top;
}

.home2 .tab-term .h16:after {
    bottom: 0;
    background-position: right top;
}

/* 不同标签的位置调整 */
.home2 .tab-term.t1 .h16 {
    top: 40%;
}

.home2 .tab-term.t2 .h16 {
    top: 27%;
}

.home2 .tab-term.t3 .h16 {
    top: 42%;
}

.home2 .tab-term.t4 .h16 {
    top: 36%;
}

.home2 .tab-term.t5 .h16 {
    top: 48%;
}

.home2 .tab-term.t6 .h16 {
    top: 34%;
}

/* 悬停和当前状态 */
.home2 .tab-term.cur,
.home2 .tab-term:hover {
    color: #9a2929;
}

.home2 .tab-term.cur:before,
.home2 .tab-term:hover:before {
    border-color: #9a2929;
}

.home2 .tab-term.cur .h16:before,
.home2 .tab-term:hover .h16:before {
    background-position: left bottom;
}

.home2 .tab-term.cur .h16:after,
.home2 .tab-term:hover .h16:after {
    background-position: right bottom;
}

/* 更多链接 */
.home2 .p-more {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 70%;
}

.middle {
    font-size: 0;
    letter-spacing: -1.5em;
}
.middle:after {
    content: '0';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    font-size: 0;
}
.home2 .p-more:before {
    content: '';
    position: absolute;
    right: 50%;
    top: 0;
    bottom: 0;
    border-left: 1px solid #ccc;
}

.home2 .link {
    position: relative;
    padding: 35px 4px;
    width: 1em;
    background: url(../img/png14.png);
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 16px;
    line-height: 1;
    color: #000;
    text-decoration: none;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    writing-mode: tb-rl;
    transition: color 0.3s ease;
}

.home2 .link:hover {
    color: #8B0000;
    text-decoration: none;
}


.home2 .link:before,
.home2 .link:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(../img/png13.png) no-repeat;
}

.home2 .link:before {
    left: 0;
    top: 0;
    background-position: left;
}

.home2 .link:after {
    right: 0;
    bottom: 0;
    background-position: right;
}





/* 移动端样式 */
@media screen and (max-width: 750px) {
    /* 第三屏移动端样式 */
    .home3-content {
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
    }
    
    .home3-left-image {
        width: 250px;
        height: 300px;
        align-self: center;
        margin-left: 0;
        margin-bottom: 30px;
        position: relative;
    }
    
    /* 移动端悬停区域样式 */
    .hover-area.top-left {
        width: 100px;
        height: 100px;
    }
    
    .hover-area.right-middle {
        width: 60px;
        height: 80px;
    }
    
    .hover-area.right-bottom {
        width: 60px;
        height: 80px;
    }
    
    .hover-area.bottom-left {
        width: 100px;
        height: 100px;
    }
    
    /* 移动端右侧图片显示区域 */
    .home3-right-image {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 300px;
        height: 300px;
        margin: 20px auto 0;
    }
    
    .home3-title {
        margin-bottom: 30px;
    }
    
    .home3-title h1 {
        font-size: 32px;
        text-align: center;
    }

    .home3-subtitle {
        text-align: center;
        padding-right: 0;
        font-size: 14px;
    }
    
    .represen1.home2 .tab-term {
        width: auto;
    }
    .represen1.home2 .title {
        padding: 0.8rem 0 0.2rem;
    }
    .represen1.home2 .title-txt {
        padding-bottom: 0;
    }
    .represen1.home2 .tab-track {
        width: auto;
    }
    .represen1.home2 .tab-term .h16 {
        background: none;
        margin-left: 0;
        line-height: 1.6;
    }
    .represen1.home2 .tab-term.t7 {
        display: none;
    }
    .represen1.home2 .tab-term.t8 {
        display: none;
    }
    .represen1.home2 .tab-bar {
        height: auto;
        padding-bottom: 0.3rem;
    }
    .represen1.home2 .tab-cont {
        height: 1.5rem;
    }
}

/* 主容器样式 */
.home4 .book {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    z-index: 5; /* 确保在背景图片之上 */
    background-color: rgba(0, 0, 0, 0.1); /* 临时背景色，用于调试 */
}

/* 书籍项目基础样式 - 桌面端 */
.home4 .book-item {
    position: absolute;
    width: 9.52%;
    background: center no-repeat;
    background-size: contain;
    text-align: center;
    box-shadow: 0px 0px 38px 0px rgba(4, 1, 1, 0.4);
    opacity: 1; /* 改为默认可见 */
    visibility: visible; /* 改为默认可见 */
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    z-index: 10; /* 确保层级正确 */
    will-change: transform, opacity, box-shadow;
}

.home4 .book-item:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 50px 0px rgba(4, 1, 1, 0.6);
}

.home4 .book-item:before {
    content: '';
    display: block;
    padding-bottom: 173.92%;
}

/* 各个书籍项目的具体位置和背景图 - 桌面端 */
.home4 .book-item.b1 {
    left: 8.32%;
    top: 0;
    margin-top: 100px;
    background-image: url(../img/b1.png);
}

.home4 .book-item.b2 {
    left: 17.84%;
    top: 0;
    margin-top: 170px;
    background-image: url(../img/b2.png);
}

.home4 .book-item.b3 {
    left: 22.6%;
    bottom: 0;
    margin-bottom: 60px;
    background-image: url(../img/b3.png);
}

.home4 .book-item.b4 {
    left: 32.12%;
    bottom: 0;
    margin-bottom: 95px;
    background-image: url(../img/b4.png);
}

.home4 .book-item.b5 {
    left: 32.12%;
    top: 0;
    margin-top: 137px;
    background-image: url(../img/b5.png);
}

.home4 .book-item.b6 {
    left: 41.64%;
    bottom: 0;
    margin-bottom:220px;
    background-image: url(../img/b6.png);
}

.home4 .book-item.b7 {
    left: 51.16%;
    top: 0;
    margin-top: 170px;
    background-image: url(../img/b7.png);
}

.home4 .book-item.b8 {
    left: 65.44%;
    bottom: 0;
    margin-bottom: 95px;
    background-image: url(../img/b8.png);
}

.home4 .book-item.b9 {
    left: 70.2%;
    top: 0;
    margin-top: 137px;
    background-image: url(../img/b9.png);
}

.home4 .book-item.b10 {
    left: 79.72%;
    top: 0;
    margin-top: 250px;
    background-image: url(../img/b10.png);
}

/* 书籍内容样式 */
.home4 .book .box {
    position: absolute;
    left: 0;
    right: 0;
    top: 15.625%;
}

.home4 .book .icon {
    margin: auto;
    margin-bottom: 12%;
    width: 76%;
}

.home4 .book .icon img {
    display: block;
    width: 100%;
}

.home4 .book .p {
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 18px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* 标题样式 */
.home4 .title {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.home4 .title-txt {
    font-size: 48px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: bold;
}

/* 链接样式 */
.home4 .book-item .link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}


/* 桌面端样式 */
.book_list1 {
    padding-bottom: 100px;
}

.book_list1 .list {
    background: url(../img/bar1.png) no-repeat top center;
    padding-top: 45px;
}

.book_list1 .list .item {
    padding-bottom: 45px;
    background: url(../img/bar1.png) no-repeat bottom center;
    margin-top: -10px;
}

.book_list1 .list .item .sHoverItem {
    width: 219px;
    height: 302px;
    display: inline-block;
    vertical-align: bottom;
    position: relative;
    margin-left: 160px;
}

.book_list1 .list .item .sHoverItem+.sHoverItem {
    margin-left: 125px;
}

.book_list1 .list .item .sHoverItem .img {
    width: 100%;
    max-height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
}

.book_list1 .list .item .sHoverItem .img img {
    width: 100%;
    height: auto;
}

.book_list1 .list .item .sHoverItem .mask {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    color: #fff;
    overflow: hidden;
    zoom: 1;
}

.book_list1 .list .item .sHoverItem .mask a {
    display: block;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
}

.book_list1 .list .item .sHoverItem .mask .middle-cont {
    padding: 0 15px;
}

.book_list1 .list .item .sHoverItem .mask .h20 {
    padding-bottom: 15px;
}

.book_list1 .list .item .sHoverItem .mask .p {
    overflow: hidden;
}

.book_list1 .list .item .sHoverItem .mask .p .s1 {
    float: left;
    min-width: 74px;
    text-align: justify;
}

.book_list1 .list .item .sHoverItem .mask .p .s1 .t1 {
    width: 60px;
    height: 21px;
    display: inline-block;
    vertical-align: top;
}

.book_list1 .list .item .sHoverItem .mask .p .s1 .t1:after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 0;
}

.book_list1 .list .item .sHoverItem .mask .p .s2 {
    overflow: hidden;
}

/* 移动端样式 */
@media screen and (max-width: 750px) {
    /* 书籍容器移动端样式 */
    .home4 .book {
        position: relative;
        top: auto;
        transform: none;
        padding: 20px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        height: auto;
        min-height: 100vh;
    }
    
    /* 书籍项目移动端样式 */
    .home4 .book-item {
        position: relative;
        width: 35%;
        margin-bottom: 20px;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        display: inline-block;
        vertical-align: top;
    }
    
    .home4 .book-item:nth-child(odd) {
        margin-right: 5%;
    }
    
    .home4 .book-item:nth-child(even) {
        margin-left: 5%;
    }
    
    /* 书籍内容移动端样式 */
    .home4 .book .box {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
    }
    
    .home4 .book .icon {
        margin: auto;
        margin-bottom: 8%;
        width: 80%;
    }
    
    .home4 .book .p {
        font-size: 14px;
    }
    
    /* 标题移动端样式 */
    .home4 .title {
        position: relative;
        top: auto;
        transform: none;
        padding: 20px;
        text-align: center;
    }
    
    .home4 .title-txt {
        font-size: 48px;
        color: white;
    }
}

/* 第五屏：花朝节风俗与花神起源 */
/* 主容器样式 */
.home5 {
    background: url(../img/s5bebbfc0524a4.jpg) center no-repeat;
    background-size: cover;
}

/* 图片容器样式 */
.home5 .img {
    position: absolute;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility .3s, opacity .3s;
    -moz-transition: visibility .3s, opacity .3s;
    transition: visibility .3s, opacity .3s;
}

/* 页面完全进入视口时显示图片 */
.home5.fp-completely .img {
    visibility: visible;
    opacity: 1;
}

/* 第一个图片位置 */
.home5 .img.i1 {
    top: -100px;
    right: 50%;
    margin-right: -95px;
    width: 1000px;
    height: 700px;
    
}

/* 第二个图片位置 */
.home5 .img.i2 {
    bottom: 0;
    left: 70%;
    margin-left: -260px;
    width: 800px;
    height: 490px;
}

/* 图片样式 */
.home5 .img img {
    display: block;
    width: 100%;
    object-fit: cover;
    object-position: center top;
}

/* 内容容器 */
.home5 .cont {
    position: absolute;
    width: 530px;
}


/* 第一个内容区域 */
.home5 .cont.c1 {
    left: 50%;
    top: 5%;
    margin-left: 15%;
    text-align: right;
}

/* 第二个内容区域 */
.home5 .cont.c2 {
    right: 50%;
    bottom: 2%;
    margin-right: 15%;
}

/* 标题样式 */
.home5 .cont .h30 {
    margin-bottom: 25px;
    line-height: 44px;
    color: white;
    font-size: 36px;
    font-family: "华文中宋", "STZhongsong", serif;
}

/* 标题装饰元素 */
.home5 .cont .h30:before,
.home5 .cont .h30:after {
    content: '';
    display: inline-block;
    width: 22px;
    height: 44px;
    vertical-align: top;
    background: url(../img/png8.png) no-repeat;
}

/* 标题前装饰 */
.home5 .cont .h30:before {
    background-position: left;
    margin-right: 18px;
}

/* 标题后装饰 */
.home5 .cont .h30:after {
    background-position: right;
    margin-left: 18px;
}

/* 段落文本样式 */
.home5 .cont .p {
    margin-bottom: 30px;
    font-family: "华文中宋", "STZhongsong", serif;
    text-align: justify;
    text-justify: inter-ideograph;
    color: white;
}

/* 更多链接样式 */
.home5 .cont .more a {
    color: white;
    font-family: "华文中宋", "STZhongsong", serif;
    text-decoration: none;
    transition: color 0.3s ease;
}

.home5 .cont .more a:hover {
    color: #f0f0f0;
}

/* 第五屏移动端适配 */
@media screen and (max-width: 750px) {
    .home5 .img.i1 {
        width: 400px;
        height: 200px;
        margin-right: -50px;
    }
    
    .home5 .img.i2 {
        width: 500px;
        height: 250px;
        margin-left: -100px;
    }
    
    .home5 .cont {
        width: 80%;
        max-width: 400px;
    }
    
    .home5 .cont.c1 {
        margin-left: 5%;
        text-align: left;
    }
    
    .home5 .cont.c2 {
        margin-right: 5%;
    }
    
    .home5 .cont .h30 {
        font-size: 24px;
        line-height: 32px;
    }
    
    .home5 .cont .p {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* 第六屏：古俗新绎 */
.home6 {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.home6 .bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../img/s675181ccf078c.png) center no-repeat;
    background-size: cover;
    z-index: 1;
}

.home6 .mask {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: url(../img/opacity-b25.png) center no-repeat;
    background-size: cover;
    z-index: 2;
}

.home6 .cont {
    position: absolute;
    left: 0;
    right: 0;
    top: 16%;
    margin: auto;
    width: 580px;
    text-align: center;
    z-index: 10;
}

.home6 .cont .h30 {
    margin-bottom: 5px;
    line-height: 40px;
    color: white;
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 36px;
    font-weight: bold;
    margin-top: -50px;
}

/* home6图片样式 */
.home6 .image-row {
    position: relative;
    margin: 50px 0;
    height: 300px;
}

.home6 .image-row a:nth-child(1) {
    position: absolute;
    left: -30%;
    top: 0;
    width: 40%;
    height: auto;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
    display: block;
}

.home6 .image-row a:nth-child(1) img {
    width: 100%;
    height: auto;
    display: block;
}

.home6 .image-row a:nth-child(2) {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 40%;
    height: auto;
    opacity: 0;
    transition: all 0.8s ease 0.2s;
    display: block;
}

.home6 .image-row a:nth-child(2) img {
    width: 100%;
    height: auto;
    display: block;
}

.home6 .image-row a:nth-child(3) {
    position: absolute;
    right: -30%;
    top: 0;
    width: 40%;
    height: auto;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.4s;
    display: block;
}

.home6 .image-row a:nth-child(3) img {
    width: 100%;
    height: auto;
    display: block;
}

/* 第六屏完全进入视口时显示图片 */
.home6.fp-completely .image-row a:nth-child(1) {
    opacity: 1;
    transform: translateX(0);
}

.home6.fp-completely .image-row a:nth-child(2) {
    opacity: 1;
}

.home6.fp-completely .image-row a:nth-child(3) {
    opacity: 1;
    transform: translateX(0);
}






/* 第六屏移动端适配 */
@media screen and (max-width: 750px) {
    .home6 .cont {
        width: 90%;
        top: 20%;
    }
    
    .home6 .cont .h30 {
        font-size: 28px;
        line-height: 32px;
    }
    
    .home6 .cont .h24 {
        font-size: 18px;
    }
    
    .home6 .cont .h24 .b {
        font-size: 24px;
    }
    
    .home6 .cont .t_more a {
        padding: 10px 25px;
        font-size: 16px;
    }
    
    /* 第六屏移动端图片动画调整 */
    .home6 .image-row a:nth-child(1) {
        transform: translateX(-30px);
    }
    
    .home6 .image-row a:nth-child(3) {
        transform: translateX(30px);
    }
    
    .home6.fp-completely .image-row a:nth-child(1) {
        transform: translateX(0);
    }
    
    .home6.fp-completely .image-row a:nth-child(3) {
        transform: translateX(0);
    }
    
    /* 第七屏移动端样式 */
    .home7 .list-item .h30 a {
        font-size: 24px;
    }
    
    .home7 .list-item .title-txt {
        font-size: 32px;
    }
    
    .home7 .list-item .link {
        font-size: 16px;
    }
}


/* home7样式 */
.home7 {
    position: relative;
    width: 100%;
    height: 100vh;
    background-color: #000;
}

.home7 .right {
    position: absolute;
    right: 0;
    top: 0;
    width: 320px;
    height: 100%;
}

.home7 .list {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    transition: all 0.3s ease;
}

.home7 .list-item {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    width: calc(100% / 5);
    height: 100%;
    transition: all 0.3s ease;
    overflow: hidden;
}



/* 左侧列表项交互效果 */
.home7 .list-item.cur {
    flex: 2;
    background-position: center center;
    z-index: 10;
}

.home7 .list-item.sib {
    flex: 0.5;
    background-position: left center;
}

/* 右侧项目交互效果 */
.home7 .right .list-item {
    width: 50%;
    transition: all 0.3s ease;
}

.home7 .right .list-item.cur {
    width: 70%;
}

.home7 .right .list-item.sib {
    width: 20%;
}

.home7 .list-item.l0 {
    background-image: url("../img/s5bebc4c89e3a4.jpg");
}

.home7 .list-item.l1 {
    background-image: url("../img/斗百花诗会.jpeg");
}


.home7 .list-item.l3 {
    background-image: url("../img/花神判词.jpeg");
}

.home7 .list-item.l4 {
    background-image: url("../img/卡牌翻转.jpeg");
}

.home7 .list-item.l5 {
    background-image: url("../img/巧手制花糕.jpeg");
}

.home7 .list-item .h30 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 15;
}

.home7 .list-item .h30 a {
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
    font-family: "华文中宋", "STZhongsong", serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.home7 .list-item .h30 a:hover {
    color: #f0f0f0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.home7 .list-item .title-txt {
    color: white;
    font-size: 48px;
    font-weight: bold;
    font-family: "华文中宋", "STZhongsong", serif;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.home7 .list-item .link {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-family: "华文中宋", "STZhongsong", serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.home7 .list-item .link:hover {
    color: #f0f0f0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.home7 .list-item .dot {
    width: 4px;
    height: 4px;
    background-color: white;
    border-radius: 50%;
    margin: 10px auto;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.home7 .list-item .cont {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 15;
}


.home7 .right {
    float: left;
    width: 16.66%;
    height: 100%;
}

.home7 .right .list-item {
    width: 100%;
}

.home7 .right-item {
    position: relative;
    float: left;
    width: 50%;
    height: 100%;
    background: left no-repeat;
    background-size: cover;
    -webkit-transition: width .5s;
    -ms-transition: width .5s;
    transition: width .5s;
}

.home7 .list {
    overflow: hidden;
    height: 100%;
}

.home7 .list-item {
    position: relative;
    float: left;
    width: 20%;
    height: 100%;
    background: center no-repeat;
    background-size: cover;
    -webkit-transition: width .5s;
    -ms-transition: width .5s;
    transition: width .5s;
}

.home7 .list-item {
    background-position: left;
}

.home7 .title-txt {
    position: relative;
    display: inline-block;
    padding: 40px 0;
    width: 1em;
    font-size: 20px;
    line-height: 1;
}

.home7 .title-txt:before,
.home7 .title-txt:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 32px;
    height: 22px;
    background: url(../image/png17.png) no-repeat;
}

.home7 .title-txt:before {
    top: 0;
    background-position: left;
}

.home7 .title-txt:after {
    bottom: 0;
    background-position: right;
}

.home7 .cont {
    position: absolute;
    left: 50%;
    top: 26%;
    margin-left: -15px;
    width: 30px;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    writing-mode: tb-lr;
}

.home7 .link {
    position: relative;
    display: inline-block;
    padding: 35px 4px;
    width: 1em;
    font-family: "华文中宋", "STZhongsong", serif;
    font-size: 16px;
    line-height: 1;
}

.home7 .link:before,
.home7 .link:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: url(../image/png5.png) no-repeat;
}

.home7 .link:before {
    left: 0;
    top: 0;
    background-position: left;
}

.home7 .link:after {
    right: 0;
    bottom: 0;
    background-position: right;
}

.home7 .link:hover {
    color: #f0f0f0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.home7 .link:hover:before,
.home7 .link:hover:after {
    background-image: url(../image/png84.png);
}

.home7 .dot {
    display: inline-block;
    margin: 15px;
    height: 90px;
    border-left: 1px dotted white;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.home7 .h30 {
    position: absolute;
    left: 12.5%;
    top: 26%;
    width: 30px;
    line-height: 1;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    writing-mode: tb-lr;
    -webkit-transition: left .5s, margin .3s;
    -ms-transition: left .5s, margin .3s;
    transition: left .5s, margin .3s;
    font-size: 26px;
}


/*.home7 .right .cont{ left: 18%; margin-left: 0;}*/

.home7 .right .dot {
    margin: 15px 0;
}

.home7 .l1 .h30 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.home7 .l2 .h30 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.home7 .l3 .h30 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.home7 .right-item.cur {
    width: 80%;
    background-position: center;
}

.home7 .right-item.sib {
    width: 20%;
}

.home7 .list-item.cur {
    width: 44%;
    background-position: center;
}

.home7 .list-item.sib {
    width: 12%;
}

.home7 .list-item.sib .h30 {
    left: 50%;
    margin-left: -15px;
}
