.tab-box {
    height: 107px;
    background: #F7F7F7;
    border: 3px solid #FFFFFF;
    opacity: 0;
    animation: tabBoxFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: 0.2s;
}

@keyframes tabBoxFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-box .safe_width {
    display: flex;
    align-items: center;
}

.tab-box a {
    padding: 16px 51px;
    font-family: SourceHanSansSC-Bold, SourceHanSansSC-Bold;
    font-weight: normal;
    font-size: 20px;
    color: #30803A;
    background: #FFFFFF;
    box-shadow: 2px 5px 5px 1px rgba(0, 0, 0, 0.18);
    border-radius: 12px 12px 12px 12px;
    margin-right: 28px;
    opacity: 0;
    transform: translateY(15px);
    animation: tabItemFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.tab-box a:nth-child(1) {
    animation-delay: 0.3s;
}

.tab-box a:nth-child(2) {
    animation-delay: 0.35s;
}

.tab-box a:nth-child(3) {
    animation-delay: 0.4s;
}

.tab-box a:nth-child(4) {
    animation-delay: 0.45s;
}

.tab-box a:nth-child(5) {
    animation-delay: 0.5s;
}

.tab-box a:nth-child(6) {
    animation-delay: 0.55s;
}

@keyframes tabItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-box .active {
    background: #30803A;
    color: #FFFFFF;
}
@media screen and (max-width: 1055px) {
.tab-box a{
        padding: 16px 30px;
     
}
}
@media screen and (max-width: 853px) {
.tab-box a{
        padding: 16px 22px;
           font-size:24px;
}
}
@media screen and (max-width: 768px) {

    .tab-box {
        overflow-x: scroll;
        height: 1.05rem !important;
        overflow-y:hidden;
        background: #F6F9FB;
        border: none;
    }

    .tab-box .safe_width {
        padding: 0;
    }


    .tab-box a {
        font-weight: bold;
        white-space: nowrap;
        padding: 0 0.4rem;
        font-size: 0.34rem;
        box-shadow: none;
        border-radius: unset;
        margin-right: unset;
        opacity: 0;
        height: 1.05rem;
        background: transparent;
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(15px);
        animation: tabItemFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    }


}