/* 모든 스타일은 css 충돌방지를 위해 .page17을 기준으로 작성 하시면 됩니다. 예) .page17 .box {} */
.page17 {}

.sap {
    background: url('../page17/images/page17_kind_bg.jpg')no-repeat;
    background-attachment: fixed;
    margin-bottom: 130px;
}

.sap .page_tit h1 {
    color: #fff;
}

.sap .page_tit h1 b {
    color: #f6a000
}

.sap .page_tit p {
    color: #fff
}

.sap ul {
    margin: 0 auto;
    margin-top: 80px;
    width: 1200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sap ul li {
    width: 25%;
    height: 250px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 0;
}

.sap ul li:nth-child(4n) {
    border-right: 1px solid rgba(255, 255, 255, 0.5)
}

.sap ul li:nth-child(n+5) {
    border-top: 0
}

.sap ul li img {
    filter: brightness(0) invert(1);
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    margin-top: 5px;
}

.sap ul li p {
    position: relative;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin-top: 40px;
}

.sap ul li p span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -15px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background: #f6a000;
    color: #fff;
    letter-spacing: 2px;
    font-weight: 900;
    font-size: 12px;
    border-radius: 30px;
}

.sap ul li:hover {
    background: #2c2d87
}

@media screen and (max-width:799px) {
    .sap {
        margin-bottom: 0;
    }

    .sap ul {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        margin-top: 40px;
    }

    .sap ul li {
        position: relative;
        width: 47%;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 20px;
        height: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.3) !Important;
    }

    .sap ul li:nth-child(n+3) {
        margin-top: 20px;
    }

    .sap ul li img {
        width: 50px;
        height: 50px;
    }

    .sap ul li p span {
        font-size: 10px;
        border-radius: 0;
        left: auto;
        right: -5px;
        top: -5px;
        transform: translate(0)
    }

    .sap ul li p {
        font-size: 15px;
        padding: 0;
        padding-top: 15px;
        position: unset;
        margin-top: 15px;
    }
}