/* 默认样式适用于电脑端 */
.item {
    position: relative;
    float: right;
    margin-right: 20px;
    margin-bottom: 34px;
}

h1 {
    margin: 0;
    font-size: 40px;
    margin-top: 24px;
}

body {
    font-family: 'Bree Serif', serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
}

.logo-title-container {
    display: flex;
    align-items: center;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin-right: 100px;
}

.dropbtn {
    background-color: transparent;
    color: black;
    font-size: 30px;
    border: none;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    min-width: 160px;
    box-shadow: none;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, +28%);
}

.dropdown-content .flex-container {
    display: flex;
    flex-direction: row;
    padding: 0;
    align-items: center;
}

.dropdown-content a{
    padding: 12px 16px;
}
a {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    color: black;
    background-color: transparent;
    border: none;
    white-space: nowrap;
}


.dropdown-content a:hover {
    color: green;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.green {
    color: green;
}

.imglogo {
    position: relative;
    width: 80px;
    height: auto;
    margin-right: 10px;
    margin-left: 20px;
    margin-top: 20px;
}

.imglogobottom {
    position: relative;
    margin-top: 6px;
    width: 80px;
    height: auto;
}

.image-container {
    position: relative;
    margin-top: 30px; /* 保持距离为30px */
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start; /* 修改为flex-start以使子项在列表标题下方 */
    margin-top: 40px;
    margin-right: 40px; /* 根据需要调整此边距 */
    position: relative; /* 添加相对定位，以便后续绝对定位的使用 */
}

.column {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    margin-left: 20px; /* 根据需要调整此边距 */
}

.list-title {
    font-size: 20px; /* 根据需要调整此字体大小 */
    margin-right: 100px;
}

.sub-list {
    list-style-type: none;
    padding: 0;
    display: flex;
    flex-direction: column; /* 列表项垂直排列 */
    margin-left: 14px;

}

.sub-list li {
    font-size: 14px;
    margin-bottom: 4px; /* 根据需要调整此边距 */
    margin-top: 6px;
}


.spanarrow{
    font-size: 24px;
}

.line {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 1px;
    margin-top: 10px;
    border-left: 1px  solid black; /* 使用border属性来绘制细线 */
    height: 46px;
}

.title{
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 80px;
}

.title h2{
    font-size: 34px;
}
.line1,.line2 {
    flex-grow: 1;
    height: 1.5px;
    background-color: grey;
    margin: 0 36px; /* 调整线条的宽度，可以根据需要调整 */
}
.maincontent {
    display: flex;
    flex-direction: column;
}

.text-container {
    margin-left: 48px;
    margin-right: 48px;
}

p {
    font-size: 24px;
    text-align: justify;
    line-height: 1.3;
}

.p1 {
    margin-top: 10px;
}

.p2 {
    margin-top: 28px;
}

.p3 {
    margin-top: 38px;
}
.image-container {
    margin-left: 48px;
    margin-right: 48px;
    margin-top: -10px;
}

img {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 48px;
}

.num{
    font-size: 70px;
}
.strong1{
    font-size: 32px;
}
.strong2{
    font-size: 28px;
}
.num-container1{
    margin-left: 48px;
    margin-top: -58px;
}

.detailcontent1,.detailcontent2 ,.img-h{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: row; /* 竖直方向布局，文字和按钮堆叠 */
}
.detailcontent3{
    display: flex;
    flex-direction: row; /* 竖直方向布局，文字和按钮堆叠 */
}
.img-h{
    margin-top:-30px ;
}
.img-c{
    margin-top:-30px ;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column; /* 竖直方向布局，文字和按钮堆叠 */
}
.detail-container1{
    margin-right: 48px;
    margin-left: 20px;
}

.num-container2 {
    margin-left: 48px;
    margin-top: -58px;
}
.img2 {
    text-align: right;
    width: 550px; /* 设置固定宽度 */
    max-width: 100%; /* 设置最大宽度为容器宽度 */
    height: auto; /* 保持图片比例缩放 */
    display: block;
}
.img3 {
    text-align: right;
    width: auto; /* 使宽度自适应 */
    max-width: 100%; /* 设置最大宽度 */
    height: auto;
    display: block;
    margin-top: -16px;
}
.a-underline{
    text-decoration: underline;
    color: green;
}
.p6 {
    margin-top: 100px;
    text-align: justify;
}

.p7,.p9{
    margin-top: 100px;
}
.pdiv{
    margin-top: 68px;
}
.pdiv p {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 0.5; /* 设置行距为1.5倍行高，可以根据需要调整 */
    color: grey;
    font-size: 14px;
}
.img-banner{
    margin-top: 10px;
    margin-bottom: 10px;
}
.a-banner{
    text-decoration: underline;
    text-align: center;
    align-items: center;
    color: green;
}
.center-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 2vh; /* 让 div 充满整个视口高度，可根据需要调整 */
    font-size: 36px;
}
.weiruanyahei{
    font-family:"Microsoft YaHei",微软雅黑;
}
.exitBtnP{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}
.exitBtn {
    width: 60px; /* 设置按钮的宽度 */
    height: 60px; /* 设置按钮的高度，以创建正方形 */
    border-radius: 60px; /* 设置按钮的圆角 */
    background-color: #d7d7d7; /* 设置按钮的背景颜色为灰色 */
    color: #000000; /* 设置按钮的文本颜色 */
    font-size: 16px; /* 设置按钮的字体大小 */
    display: flex;
    justify-content: center;
    align-items: center;
    border: none; /* 移除按钮的边框 */
    cursor: pointer; /* 设置初始的鼠标样式 */
}
/* 添加手机端适配样式 */

@media only screen and (max-width: 600px) {
    /* 在屏幕宽度小于等于600px时应用以下样式 */
    /*基本框架代码*/
    .item {
        float: none;
        margin-right: 0;
        margin-bottom: 20px;
    }

    h1 {
        font-size: 24px;
        margin-top: 12px;
    }

    body {
        overflow-x: visible;
        overflow-y: scroll; /* 始终显示垂直滚动条 */
    }

    .dropdown {
        margin-right: 0px;
    }

    .dropbtn {
        margin-left: 10px;
        font-size: 20px;
    }
    .spanarrow{
        font-size: 20px;
    }
    .dropdown-content {
        min-width: 120px;
        transform: translate(-30%, 10%);
        font-size: 12px;
    }

    .dropdown-content .flex-container {
        flex-direction: row;
        justify-content: space-between;  /* 在水平方向上平均分布子元素 */
    }
    .dropdown-content a {
        padding: 8px 10px;  /* 调整下拉项的内边距 */
    }
    .imglogo {
        width: 60px;
        margin-top: 10px;
    }
    .image-container {
        margin-top: 6px; /* 保持距离为30px */
    }

    .imglogobottom {
        width: 50%; /* 相对宽度，按比例缩小 */
        max-width: 50px; /* 设置最大宽度，防止过度缩小 */
        margin-top: 4px;
    }

    .container {
        flex-direction: row;
        align-items: flex-start;
        margin-top: 20px;
        margin-right: 20px;
    }

    .column {
        flex-direction: row;
        margin-top:6px;
        margin-left: -20px;
    }

    .list-title {
        margin-right: 6px;
        font-size: 16px;
    }

    .sub-list {
        margin-left: 4px;
    }

    .sub-list li {
        font-size: 10px;
        margin-bottom: 2px; /* 调整边距 */
        margin-top: 2px; /* 调整边距 */
    }

    .pdiv {
        margin-top: 20px; /* 调整上边距 */
    }

    .pdiv p {
        margin-top: 0;
        line-height: 0.5;
        font-size: 8px;
    }

    .line {
        margin-top: 8px; /* 调整上边距 */
        height: 26px; /* 调整线的高度 */
    }

    /*other*/
    /*other*/
    .title {
        flex-direction: column; /* 垂直方向布局，元素堆叠 */
        align-items: center; /* 居中对齐 */
        margin-top: 10px; /* 根据需要调整上边距 */
    }

    .title h2 {
        font-size: 28px; /* 根据需要调整字体大小 */
        text-align: center; /* 文本居中对齐 */
        justify-content: left;
    }

    .line1, .line2 {
        margin: 0; /* 移动端不需要线条间距 */
    }

    .maincontent {
        display: flex;
        flex-direction: column;
    }

    .text-container {
        margin-left: 20px; /* 根据需要调整左边距 */
        margin-right: 20px; /* 根据需要调整右边距 */
    }

    p {
        font-size: 16px; /* 根据需要调整字体大小 */

    }
    .p1 {
        margin-top: 10px;
    }

    .p2 {
        margin-top: 20px; /* 根据需要调整上边距 */
    }

    .p3 {
        margin-top: 30px; /* 根据需要调整上边距 */
    }

    .image-container {
        margin-left: 20px; /* 根据需要调整左边距 */
        margin-right: 20px; /* 根据需要调整右边距 */
        margin-top: 0; /* 移动端不需要调整图片容器的上边距 */
    }
    img,.img2 {
        width: 100%;
        height: auto;
        display: block;
        margin-top: 0px;
    }
    .num {
        font-size: 50px; /* 根据需要调整字体大小 */
    }

    .num-container1 {
        margin-left: 20px; /* 根据需要调整左边距 */
        margin-top: -20px;
    }

    .detailcontent1, .img-h {
        display: flex;
        flex-direction: column; /* 竖直方向布局，文字和按钮堆叠 */
        align-items: flex-start; /* 元素左对齐 */
        margin-top: -20px;
    }
    .detailcontent2 {
        display: flex;
        flex-direction: column; /* 竖直方向布局 */
        align-items: flex-start; /* 元素左对齐 */
        margin-right: 20px; /* 根据需要调整右边距 */
        margin-top: 20px;
    }
    .detailcontent3{
        display: flex;
        flex-direction: row; /* 竖直方向布局 */
        margin-top: -16px;
    }
    .img-h {
        margin-top: 0; /* 移动端不需要调整图片和文字容器的上边距 */
    }

    .img-c {
        margin-top: 0; /* 移动端不需要调整图片和文字容器的上边距 */
        display: flex;
        flex-direction: column; /* 竖直方向布局，文字和按钮堆叠 */
        justify-content: flex-start; /* 元素从顶部对齐 */
    }

    .detail-container1 {
        margin-top: -60px;
        margin-right: 20px; /* 根据需要调整右边距 */
        margin-left: 20px; /* 根据需要调整左边距 */
    }
    .detail-container2 {
        margin-top: 60px;
        margin-left: -22px;
        margin-right: 20px; /* 根据需要调整右边距 */
    }
    .detail-container3 {
        margin-top: -90px;
        margin-left: 20px;
        margin-right: 20px; /* 根据需要调整右边距 */
    }
    .detail-container4 {
        margin-top: -90px;
        margin-left: 20px;
        margin-right: 20px; /* 根据需要调整右边距 */
    }
    .detail-container5 {
        margin-top: -60px;
        margin-left: 20px;
    }
    .num-container2 {
        margin-left: 20px; /* 如果需要左侧有一定边距，可以设置这个值 */
    }

    .img3 {
        text-align: center; /* 文字左对齐 */
        max-width: 100%; /* 设置最大宽度 */
        margin-top: 0; /* 移动端不需要调整图片的上边距 */
        margin-left: 20px;
    }

    .a-underline {
        text-decoration: underline;
        color: green;
    }

    .p6 {
        margin-top: 40px; /* 调整上边距 */
        text-align: justify; /* 文字两端对齐 */
    }

    .p7, .p9 {
        margin-top: 40px; /* 调整上边距 */
    }
    .img5{
        margin-bottom: 32px;
    }
    .img-banner{
        margin-top: 14px;
        margin-bottom: 14px;
    }
    .center-div {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 2vh; /* 让 div 充满整个视口高度，可根据需要调整 */
        font-size: 16px;
        margin-top: 8px;
    }
}

