.content-ctx-guide .work-guide {
    width: 100%;
    font-family: Pretendard, sans-serif;
}

.content-ctx-guide .work-guide__notice {
    margin: 0 0 var(--size-40);
    padding: var(--size-24) var(--size-40);
    border-radius: var(--size-20);
    background-color: rgb(var(--theme2-50));
    color: rgb(var(--theme2-450));
    font-size: var(--size-16);
    font-weight: 400;
    line-height: var(--size-24);
    letter-spacing: -0.02rem;
    word-break: keep-all;
}

.content-ctx-guide .work-guide__section {
    padding: var(--size-48) var(--size-60);
    border-radius: var(--size-40);
    background-color: rgb(var(--gary-50));
}

.content-ctx-guide .work-guide__table--visa col:nth-child(1) {
    width: 15%;
}

.content-ctx-guide .work-guide__table--visa col:nth-child(2) {
    width: 18%;
}

.content-ctx-guide .work-guide__table--visa col:nth-child(3) {
    width: 14%;
}

.content-ctx-guide .work-guide__table--visa col:nth-child(4) {
    width: 15%;
}

.content-ctx-guide .work-guide__table--visa col:nth-child(5) {
    width: 38%;
}

.content-ctx-guide .work-guide__section h2 {
    margin: 0 0 var(--size-24);
    color: rgb(var(--gary-900));
    font-size: var(--size-24);
    font-weight: 600;
    line-height: var(--size-36);
    letter-spacing: -0.03rem;
}

.content-ctx-guide .work-guide__section .work-guide__subheading {
    margin-top: var(--size-40);
}

.content-ctx-guide .work-guide__table-wrap {
    overflow: hidden;
    padding: var(--size-20) var(--size-32);
    border-radius: var(--size-16);
    background-color: rgb(var(--primary-WT));
}

.content-ctx-guide .work-guide__table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.content-ctx-guide .work-guide__type-col {
    width: 16%;
}

.content-ctx-guide .work-guide__purpose-col {
    width: 42%;
}

.content-ctx-guide .work-guide__table th,
.content-ctx-guide .work-guide__table td {
    padding: var(--size-16);
    border: 0;
    border-bottom: var(--size-1) solid rgb(var(--gary-200));
    color: rgb(var(--gary-600));
    text-align: left;
    vertical-align: top;
    font-size: var(--size-14);
    font-weight: 400;
    line-height: var(--size-22);
    letter-spacing: -0.0175rem;
    word-break: keep-all;
}

.content-ctx-guide .work-guide__table thead th {
    padding-top: var(--size-12);
    padding-bottom: var(--size-12);
    border-bottom: var(--size-1) solid rgb(var(--gary-500));
    color: rgb(var(--gary-800));
    font-weight: 600;
}

.content-ctx-guide .work-guide__table tbody th {
    color: rgb(var(--gary-800));
    font-weight: 600;
}

.content-ctx-guide .work-guide__notes {
    margin-top: var(--size-48);
    color: rgb(var(--gary-600));
    font-size: var(--size-16);
    font-weight: 400;
    line-height: var(--size-26);
    letter-spacing: -0.02rem;
    word-break: keep-all;
}

.content-ctx-guide .work-guide__notes h2 {
    margin-bottom: var(--size-24);
}

.content-ctx-guide .work-guide__notes h3 {
    margin: var(--size-24) 0 var(--size-12);
    color: rgb(var(--gary-800));
    font-size: var(--size-16);
    font-weight: 600;
    line-height: var(--size-24);
}

.content-ctx-guide .work-guide__notes p,
.content-ctx-guide .work-guide__notes ul {
    margin: 0;
}

.content-ctx-guide .work-guide__notes ul {
    padding: var(--size-12) 0 0 var(--size-24);
}

.content-ctx-guide .work-guide__notes strong {
    color: inherit;
    font-weight: 600;
}

@media (max-width: 48rem) {
    .content-ctx-guide .work-guide__notice {
        padding: var(--size-20) var(--size-24);
    }

    .content-ctx-guide .work-guide__section {
        padding: var(--size-32) var(--size-24);
        border-radius: var(--size-24);
    }

    .content-ctx-guide .work-guide__table-wrap {
        overflow: visible;
        padding: 0;
        background-color: transparent;
    }

    .content-ctx-guide .work-guide__table {
        display: block;
        min-width: 0;
        table-layout: auto;
    }

    .content-ctx-guide .work-guide__table colgroup,
    .content-ctx-guide .work-guide__table thead {
        display: none;
    }

    .content-ctx-guide .work-guide__table tbody {
        display: grid;
        gap: var(--size-12);
    }

    .content-ctx-guide .work-guide__table tbody tr {
        display: block;
        overflow: hidden;
        border: var(--size-1) solid rgb(var(--gary-200));
        border-radius: var(--size-16);
        background-color: rgb(var(--primary-WT));
    }

    .content-ctx-guide .work-guide__table tbody th,
    .content-ctx-guide .work-guide__table tbody td {
        width: 100%;
        padding: var(--size-14) var(--size-16);
        overflow-wrap: anywhere;
        word-break: keep-all;
    }

    .content-ctx-guide .work-guide__table tbody th {
        display: block;
        border-bottom-color: rgb(var(--theme2-100));
        background-color: rgb(var(--theme2-50));
        color: rgb(var(--theme2-700));
        font-size: var(--size-16);
    }

    .content-ctx-guide .work-guide__table tbody td {
        display: grid;
        grid-template-columns: 7rem minmax(0, 1fr);
        gap: var(--size-12);
    }

    .content-ctx-guide .work-guide__table tbody td::before {
        color: rgb(var(--gary-800));
        font-weight: 600;
    }

    .content-ctx-guide .work-guide__table:not(.work-guide__table--visa) tbody td:nth-child(2)::before,
    .content-ctx-guide .work-guide__table--visa tbody td:nth-child(2)::before {
        content: "주요 목적";
    }

    .content-ctx-guide .work-guide__table:not(.work-guide__table--visa) tbody td:nth-child(3)::before,
    .content-ctx-guide .work-guide__table--visa tbody td:nth-child(5)::before {
        content: "유의 사항";
    }

    .content-ctx-guide .work-guide__table--visa tbody td:nth-child(3)::before {
        content: "근로 가능";
    }

    .content-ctx-guide .work-guide__table--visa tbody td:nth-child(4)::before {
        content: "아르바이트";
    }

    .content-ctx-guide .work-guide__table tbody tr > :last-child {
        border-bottom: 0;
    }
}
