/* 首页banner模块 */
.index_banner {
    width: 100%;
    height: 605px;
    display: flex;
    overflow: hidden;
    position: relative;
    background-image: url(../image/index_banner.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    animation: fadeInBg 1s ease-in-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    /* 延迟0.3秒开始 */
}

@keyframes fadeInBg {
    0% {
        background-size: 90%;
        opacity: 0;
    }

    100% {
        opacity: 1;
        background-size: 100%;
    }
}

.block {
    flex: 1;
    /* 平均分成6块 */
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
}

.block .text {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    font-size: 26px;
    font-weight: 400;
    transition: all 0.6s ease;
    z-index: 2;
    /* 确保文字在遮罩上方 */
    animation: slideUp 1.5s ease-out forwards;
}

.block .mask {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    /* 初始高度为0，不显示遮罩 */
    background-color: rgba(18, 69, 133, 0.5);
    transition: height 0.3s ease;
    z-index: 1;
}

/* 鼠标悬停效果 */
.block:hover .mask {
    height: 100%;
    /* 遮罩从下往上显示 */
}

.block:hover .text {
    bottom: 50%;
    /* 文字移到垂直居中位置 */
    transform: translateY(50%);
    /* 垂直居中调整 */
}

.block:hover .text::after {
    content: '';
    width: 46px;
    height: 46px;
    background: url(../image/jia.png);
    position: absolute;
    left: 38%;
    /* 初始位置在中间 */
    bottom: -178%;
}

/* 资讯动态模块 */
.news {
    margin-bottom: 20px;
}

.Bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 66px;
    margin-top: 60px;
    line-height: 30px;
}

.Bar .Bar_t {
    font-weight: 600;
    font-size: 30px;
    color: #414141;
}

.Bar .Bar_m {
    font-size: 18px;
    color: #414141;
}

.news .con {
    display: flex;
    justify-content: space-between;

    transform: translateY(100vh);
    opacity: 0;
    /* 动画设置：持续1秒，缓动效果，填充模式保持最后状态 */
    animation: slideUp 1.1s ease-out forwards;
}

@keyframes slideUp {
    from {
        /* 起始位置：下方，透明 */
        transform: translateY(30vh);
        opacity: 0.4;
    }

    to {
        /* 结束位置：目标位置，完全显示 */
        transform: translateY(0);
        opacity: 1;
    }
}

.news .con .con_item {
    position: relative;
    width: 400px;
    height: 394px;
    transition: all 0.3s ease;
}

.news .con .con_item::after {
    content: '';
    position: absolute;
    left: 0;
    /* 初始位置在中间 */
    bottom: 0;
    width: 0;
    /* 初始宽度为0 */
    height: 2px;
    background-color: #ED6A90;
    transition: all 0.8s ease;
    /* 边框动画过渡效果 */
    transform: translateX(0);
    /* 水平居中 */
}

.news .con .con_item:hover::after {
    width: 100%;
    /* 悬停时宽度变为100% */
    left: 0;
    /* 回到左侧起点 */
    transform: translateX(0);
    /* 取消偏移 */
}


.news .con .con_item a {
    display: block;
}

.news .con .con_item .con_img {
    width: 400px;
    height: 248px;
    overflow: hidden;
}

.news .con .con_item .con_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news .con .con_item .con_img:hover img {
    transform: scale(1.2);
}

.news .con .con_item .con_b {
    font-size: 24px;
    margin: 10px 0 4px;
}

.news .con .con_item .con_b,
.news .con .con_item .con_i {
    color: #414141;
    white-space: nowrap;
    /* 禁止文字换行 */
    overflow: hidden;
    /* 超出部分隐藏 */
    text-overflow: ellipsis;
    /* 超出部分显示省略号 */
    /* 可选：设置宽度限制，确保内容有明确的溢出条件 */
    width: 400px;
    /* 根据实际需求调整宽度 */
}

.news .con .con_item .con_i {
    font-size: 16px;
}

.news .con .con_item .con_m {
    position: relative;
    margin: 24px 0 30px;
    font-size: 12px;
}

.news .con .con_item .con_m::after {
    content: '';
    position: absolute;
    left: 46px;
    top: 25%;
    width: 8px;
    height: 11px;
    background-image: url(../image/index_arrow.png);
    background-repeat: no-repeat;
}

/* 首页关于Toda模块 */
.about_toda {
    display: flex;
    justify-content: space-between;
    width: auto;
    height: 303px;
    background: #F7F7F7;
    margin-bottom: 120px;
}

.about_toda .about_text {
    width: 600px;
    padding: 44px 40px;
}

.about_toda .about_text .about_b {
    font-size: 30px;
    color: #565656;
}

.about_toda .about_text .about_i {
    font-weight: 300;
    font-size: 24px;
    color: #565656;
    margin-bottom: 90px;
}

.about_toda .about_text .consult {
    width: 184px;
    height: 46px;
    background-color: #ED6A90;
    border-radius: 8px;
    border: 0;
    color: #fff;
    font-size: 20px;
}

.about_toda .about_text .consult:hover {
    background-color: #d54d74;
}

.about_toda .about_text .know {
    width: 184px;
    height: 46px;
    background-color: #124585;
    border-radius: 8px;
    border: 0;
    color: #fff;
    font-size: 20px;
    margin-left: 20px;
}

.about_toda .about_text .know:hover {
    background-color: #0a3160;
}

.about_toda .about_img {
    width: 640px;
    height: 303px;
    overflow: hidden;
}

.about_toda .about_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.about_toda .about_img:hover img {
    transform: scale(1.2);
}