.indexD-kelin .index-kelin-tit {
    text-align: center;
}

.indexD-kelin h5 {
    text-align: center;
    margin-top: 30px;
    font-size: 24px;
}

.indexD-kelin .index-kelin-tit h3 {
    font-size: 33px;
    height: 40px;
    line-height: 40px;
    color: var(--color-primary);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.indexD-kelin .index-kelin-tit h3::before {
    content: '';
    width: 3px;
    height: 28px;
    background: #fff;
    display: inline-block;
    margin-right: 35px;
}

.indexD-kelin .index-kelin-tit h3::after {
    content: '';
    width: 3px;
    height: 28px;
    background: #fff;
    display: inline-block;
    margin-left: 35px;
}

.indexD-kelin {
    padding: 70px 0 55px;
}

.indexD-kelin ul {
    margin: 40px 0 0;
}

/*.indexD-kelin ul {*/
/*    display: -webkit-flex;*/
/*    display: flex;*/
/*    -webkit-justify-content: space-between;*/
/*    justify-content: space-between;*/
/*    -webkit-flex-wrap: wrap;*/
/*    flex-wrap: wrap;*/
/*}*/

/*.indexD-kelin ul li {*/
/*    width: 284px;*/
/*    margin: 25px 0 0;*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*}*/

.indexD-kelin ul li .pic {
    display: block;
    width: 100%;
    overflow: hidden;
}

.indexD-kelin ul li .pic img {
    width: 100%;
    display: block;
    transition: all 0.3s ease 0s;
    -webkit-transition: all 0.3s ease 0s;
    aspect-ratio: 1;
    object-fit: cover;
}

.indexD-kelin ul li p {
    margin: 10px 0 0;
    color: #333;
    font-size: 20px;
    text-align: center;
}

.indexD-kelin ul li p a:hover {
    color: var(--link-color-hover);
    text-decoration: underline;
}

.indexD-kelin ul li:hover .pic img {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
}


@media screen and (max-width: 768px) {
    .indexD-kelin .index-kelin-tit h3 {
        font-size: 30px;
        height: 36px;
        line-height: 36px;
    }

    .indexD-kelin .index-kelin-tit h3::before {
        width: 2px;
        height: 22px;
        margin-right: 30px;
    }

    .indexD-kelin .index-kelin-tit h3::after {
        width: 2px;
        height: 22px;
        margin-left: 30px;
    }

    .indexD-kelin {
        padding: 30px 0;
    }

    .indexD-kelin ul {
        margin: 30px 0 0;
    }

    .indexD-kelin ul {
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        margin: 0 -10px;
    }

    /*.indexD-kelin ul li {*/
    /*    width: 33.3333333%;*/
    /*    margin: 20px 0 0;*/
    /*    padding: 0 10px;*/
    /*    box-sizing: border-box;*/
    /*}*/

    .indexD-kelin ul li p {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    .indexD-kelin .index-kelin-tit h3 {
        font-size: 24px;
        height: 30px;
        line-height: 30px;
    }

    .indexD-kelin .index-kelin-tit h3::before {
        width: 2px;
        height: 18px;
        margin-right: 30px;
    }

    .indexD-kelin .index-kelin-tit h3::after {
        width: 2px;
        height: 18px;
        margin-left: 30px;
    }

    /*.indexD-kelin ul li {*/
    /*    width: 50%;*/
    /*}*/
}  