.xnjys{
    display: flex;
    justify-content: center;
    font-size: 18px;
    box-sizing: border-box;
    padding-top: 30px;
}

.xn_item{
    display: block;
    width: 10em;
    min-width: 120px;
    height: 30em;
    margin: 0 10px;
    background: #FFFFFF;

    box-sizing: border-box;
    border: 1px solid #B09987;
    padding-top: 2.5em;

    display: flex;
    justify-content: center;

    position: relative;
}

.xn_item:hover{
    background: url(../images/pc/index_tu9.png) no-repeat left bottom;
    background-size: 100% auto;
    background-position: left bottom;
    background-color: #f0eae5;
}

.xn_item::after{
    content: "";
    width: 1.1em;
    height: 2em;
    background: url(../images/pc/index_tu12.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
}

.xn_item::before{
    content: "";
    width: 4em;
    height: 4em;
    background: url(../images/pc/zhuanyejianjie1.png) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: -2em;
    left: 50%;
    transform: translateX(-50%);
}

.xn_title{
    writing-mode: vertical-lr;
    font-size: 1.3em;
    font-family: KTXP-Kaguya-Serif-Bold;
    font-weight: bold;
    color: #41372A;
}

@media screen and (max-width: 768px) {
    .xnjys{
        font-size: 16px;
    }

    .xn_item{
        width: 8em;
        margin: 0 5px;
        min-width: 60px;
    }

    .xn_item:nth-child(3n){
        margin-right: 0;
    }

}

@media screen and (max-width: 540px) {
    .xnjys{
        font-size: 14px;
        padding-top: 15px;
    }

    .xn_item{
        width: 6em;
        height: 28em;
        padding-top: 2em;
    }

    .xn_item::before{
        width: 3em;
        height: 3em;
        top: -1.5em;
    }

    .xn_item::after{
        width: 0.9em;
        height: 1.5em;
        bottom: 5%;
    }
}