#hrViolationRisks {
    background: #fff;
    padding: 40px 0 90px;
    font-family: "Noto Sans JP", sans-serif;
}

#hrViolationRisks .container {
    max-width: 1300px;
    margin: auto;
    padding: 0;
}

/* Title */
#hrViolationRisks .section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
}

/* GRID: 2 columns */
#hrViolationRisks .cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 63px;
    padding: 0 70px;
}

#hrViolationRisks .case-card {
    background: #F3F3F3;
    padding: 26px 71px 64px 65px;
    border-radius: 10px;
    text-align: left;
    position: relative;
    height: 402px;
}

#hrViolationRisks .case-card.ni{
    padding: 26px 49px 64px 31px;
}

#hrViolationRisks .case-image-wrap {
    position: relative;
    width: 395px;
    height: 263px;
    margin: 0 auto;
}

#hrViolationRisks .case-image-wrap::after{
    content: "";
    position: absolute;
    background: url("../../images/hiring-risk/zigzag.svg") no-repeat;
    background-size: 100%;
    width: 342px;
    height: 6.6px;
    left: 50%;
    margin-left: -171px;
    top: calc(50% + 23px);
}

#hrViolationRisks .case-card.ni .case-image-wrap::after{
    width: 286px;
    height: 6.6px;
    background-size: cover;
}

#hrViolationRisks .case-image {
    width: 100%;
    display: block;
}

#hrViolationRisks .case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
}

#hrViolationRisks .case-card .case-caption{
    font-size: 20px;
    font-weight: 700;
    color: #333333;
}

#hrViolationRisks .case-card .case-badge {
    position: absolute;
    top: 50%;
    margin-top: -41px;
    left: 9px;
    background: #fff;
    color: #9C0A2F;
    font-size: 21px;
    font-weight: 700;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    z-index: 3;
    text-align: center;
    line-height: 82px;
    transform: rotate(-20deg);
    transform-origin: center center;
}

#hrViolationRisks .case-card .case-label{
    font-size: 29px;
    font-weight: 700;
    color: #fff;
    line-height: 34px;
    position: absolute;
    top: 50%;
    margin-top: -17px;
    right: 33px;
}

#hrViolationRisks .case-card .case-label.ni{
    right: 92px;
}

#hrViolationRisks .case-card .case-problem{
    position: absolute;
    width: 446px;
    height: 78px;
    background-color: #fff;
    border: 1px solid #CC7526;
    border-radius: 8px;
    bottom: -39px;
    left: 50%;
    margin-left: -223px;
    display: flex;
    align-items: center;
    padding: 0 0 0 16px;
    gap: 8px;
    font-size: 21px;
    font-weight: 700;
    color: #93551A;
}

#hrViolationRisks .problem-badge {
    background: #E77D00;
    color: #fff;
    font-size: 20px;
    border-radius: 28px;
    font-weight: 700;
    border-radius: 28px;
    height: 55px;
    width: 106px;
    text-align: center;
    line-height: 55px;
}

#hrViolationRisks .warning-box-design {
    background: #F3E9C8;                  
    border-radius: 10px;
    max-width: 1160px;                  
    margin: 0 auto;                
}

#hrViolationRisks .warning-box-design .warning-box-title{
    height: 100px;
    padding-top: 23px;
    margin-bottom: 8px;
}

#hrViolationRisks .warning-box-design .warning-box-title .warning-title{
    width: 636px;
    height: 59px;
    background-color: #fff;
    border: 1px solid #9C0A2F;
    border-radius: 8px;
    font-size: 26px;
    font-weight: 500;
    color: #730022;
    padding-left: 28px;
    line-height: 59px;
    position: relative;
    margin-left: 80px;
}

#hrViolationRisks .warning-box-design .warning-box-title .warning-title::before{
    content: "注意！";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background-color: #9C0A2F;
    font-size: 29px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    line-height: 100px;
    transform: rotate(-20deg);
    transform-origin: center center;
    left: -80px;
    top: -23px;
    padding-left: 5px;
}

#hrViolationRisks .warning-box-design .warning-body{
    padding: 0 22px 31px 73px;
    font-size: 22px;
    font-weight: 500;
    color: #333333;
}

#hrViolationRisks .warning-box-design .warning-body .red{
    color: #be2f3b;
}

#hrViolationRisks .warning-box-design .warning-body .vr-br-mob{
        display: none;
    }

@media (max-width: 1399.98px) { 

}

@media (max-width: 1199.98px) { 

}

@media (max-width: 991.98px) {
    #hrViolationRisks {
        padding: 30px 0 60px;
    }

    #hrViolationRisks .section-title {
        font-size: 32px;
        margin-bottom: 24px;
    }

    #hrViolationRisks .cases-grid {
        padding: 0 20px;
        gap: 30px;
    }

    #hrViolationRisks .case-card {
        padding: 22px 24px 40px;
        height: auto;
    }

    #hrViolationRisks .case-image-wrap {
        width: 100%;
        height: auto;
    }

    #hrViolationRisks .case-card .case-label {
        font-size: 22px;
        right: 20px;
    }

    #hrViolationRisks .case-card .case-label.ni{
        right: 32px;
    }

    #hrViolationRisks .case-card .case-badge {
        width: 70px;
        height: 70px;
        font-size: 18px;
    }

    #hrViolationRisks .case-card .case-problem {
        width: 90%;
        margin-left: -45%;
        height: auto;
        padding: 12px;
        font-size: 15px;
    }

    #hrViolationRisks .problem-badge {
        width: 80px;
        height: 44px;
        font-size: 16px;
        line-height: 44px;
    }

    #hrViolationRisks .warning-box-design .warning-box-title .warning-title {
        font-size: 22px;
        width: 80%;
    }

    #hrViolationRisks .case-image-wrap::after{
        width: 234px;
        height: 6.6px;
        left: 50%;
        margin-left: -102px;
        top: calc(50% + 17px);
        background-size: cover;
    }

    #hrViolationRisks .case-card.ni .case-image-wrap::after{
        width: 203px;
        height: 6.6px;
        background-size: cover;
    }
}

@media (max-width: 767.98px) {

    /* Title */
    #hrViolationRisks .section-title {
        font-size: 22px;
        margin-bottom: 16px;
        padding: 0 12px;
        text-align: left;
    }

    /* 1 column */
    #hrViolationRisks .cases-grid {
        grid-template-columns: 1fr !important;
        padding: 0 16px;
        gap: 28px;
        margin-bottom: 40px;
    }

    /* CARD */
    #hrViolationRisks .case-card {
        padding: 16px 16px 22px;
        height: auto;
        border-radius: 10px;
    }

    #hrViolationRisks .case-card.ni {
        padding: 16px;
    }

    /* Caption */
    #hrViolationRisks .case-card .case-caption {
        font-size: 16px;
        margin-bottom: 8px;
    }

    /* IMAGE WRAP */
    #hrViolationRisks .case-image-wrap {
        width: 100%;
        height: auto;
    }

    #hrViolationRisks .case-image {
        border-radius: 8px;
    }

    #hrViolationRisks .case-overlay {
        border-radius: 8px;
    }

    /* Zigzag ảnh */
    #hrViolationRisks .case-image-wrap::after {
        width: 75%;
        left: 50%;
        margin-left: -37.5%;
        top: calc(50% + 16px);
    }

    /* Badge 違反！ */
    #hrViolationRisks .case-card .case-badge {
        width: 54px;
        height: 54px;
        font-size: 16px;
        line-height: 54px;
        top: 50%;
        margin-top: -27px;
        left: 10px;
        transform: rotate(-15deg);
    }

    /* White label */
    #hrViolationRisks .case-card .case-label {
        font-size: 18px;
        right: 16px;
        line-height: 1.3;
        top: 50%;
        margin-top: -12px;
    }

    /* PROBLEM BOX (không absolute nữa) */
    #hrViolationRisks .case-card .case-problem {
        position: relative;
        bottom: auto;
        left: auto;
        margin-left: 0;
        width: 100%;
        height: auto;
        margin-top: 14px;
        padding: 10px 12px;
        font-size: 16px;
    }

    #hrViolationRisks .problem-badge {
        width: auto;
        padding: 0 12px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
        border-radius: 20px;
    }

    #hrViolationRisks .problem-text {
        font-size: 15px;
    }

    /* WARNING BOX FULL WIDTH */
    #hrViolationRisks .warning-box-design {
        width: calc(100% - 30px);
        border-radius: 8px;
        padding: 19px 11px 0 0;
    }

    #hrViolationRisks .warning-box-title {
        height: auto;
        padding: 0;
        margin-bottom: 12px;
    }

    /* #hrViolationRisks .warning-title {
        width: 100% !important;
        margin-left: 0 !important;
        font-size: 16px !important;
        padding-left: 12px !important;
        line-height: 1.5 !important;
        height: auto !important;
    }     */

    #hrViolationRisks .warning-box-title .warning-title::before {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 18px;
        left: -10px;
        top: -20px;
    }

    #hrViolationRisks .warning-body {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 575.98px) {
    #hrViolationRisks{
        padding-top: 20px;
        padding-bottom: 25px;
    }

    #hrViolationRisks .section-title {
        font-size: 23px;
        text-align: center;
    }

    #hrViolationRisks .case-card {
        padding: 14px 14px 18px;
        height: 250px;
    }

    #hrViolationRisks .case-label {
        font-size: 16px;
    }    

    #hrViolationRisks .case-card .case-caption {
        font-size: 13px;
        text-align: center;
    }

    #hrViolationRisks .cases-grid {
        gap: 52px;
    }

    #hrViolationRisks .case-card .case-label{
        font-size: 17px;
        left: 50%;
        margin-left: -58px;
    }

    #hrViolationRisks .case-image-wrap::after{
        width: 60%;
        background-size: cover;
        margin-left: -27.5%;
        top: calc(50% + 12px);
    }

    #hrViolationRisks .case-card.ni .case-image-wrap::after{
        width: 49%;
        background-size: cover;
        margin-left: -27.5%;
        top: calc(50% + 12px);
        background-size: cover;
    }

    #hrViolationRisks .problem-text{
        font-size: 14px;
    }

    #hrViolationRisks .problem-badge{
        font-size: 15px;
    }

    #hrViolationRisks .case-card .case-badge{
        font-size: 12px;
        padding-left: 5px;
        font-weight: 700;
        width: 49px;
        height: 49px;
        line-height: 49px;
        margin-top: -24.5px;
        left: 50%;
        margin-left: -112px;
    }

    #hrViolationRisks .case-overlay{
        border-radius: 0;
        width: 244px;
        height: 162px;
        margin: 0 auto;
    }

    #hrViolationRisks .case-image{
        border-radius: 0;
        width: 244px;
        height: 162px;
        margin: 0 auto;
    }

    #hrViolationRisks .case-card.ni{
        padding: 16px 14px;
        height: 250px;
    }

    #hrViolationRisks .cases-grid{
        margin-bottom: 65px;
    }

    #hrViolationRisks .warning-box-design .warning-box-title{
        height: 60px;
        padding: 0;
    }

    #hrViolationRisks .warning-box-design .warning-box-title .warning-title{
        height: 60px;
        width: 301px;
        margin-left: 31px;
        font-size: 16px;
        font-weight: 500;
        line-height: 19px;
        padding-left: 46px;
        padding-right: 16px;
        padding-top: 7px;
    }

    #hrViolationRisks .warning-box-design .warning-box-title .warning-title::before{
        width: 67px;
        height: 67px;
        font-size: 19px;
        font-weight: 700;
        line-height: 67px;
        top: -9px;
        left: -31px;
    }

    #hrViolationRisks .warning-box-design .warning-body{
        padding: 0 16px 0 17px;
        font-size: 15px;
        font-weight: 500;
        color: #333333;
    }

    #hrViolationRisks .warning-box-design .warning-body .vr-br-mob{
        display: block;
    }

    #hrViolationRisks .warning-box-design{
        padding-bottom: 25px;
    }
}
