/* 언어설정 */
@charset 'utf-8';

@font-face {
    font-family: 'SUIT-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KCCHyerim-Regular';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

/* 전체설정 */
* {
    margin: 0;
    padding: 0;
    font-family: 'SUIT-Regular';
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--main-text);
}

img {
    vertical-align: bottom;
}

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;

}

.body {
    max-width: 100%;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
    /* 스크롤 막기 */
    touch-action: none;
    /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
    --main-navi: #204B62;
    --main-text: #333;
    --main-white: #fff;
}

/* 상세설정 ---------------------------------------------------------------------------- */

main {
    margin-top: 60px;
}

.txt {
    background-image: url(/img/job_bg.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    /* 또는 원하는 높이 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    text-align: center;
}

.txt h1 {
    font-size: 60px;
    margin-top: 50px;
    font-weight: bold;
    display: inline-block;
    color: #fff;
}

.txt h2 {
    color: #fff;
    margin-top: 40px;
    font-size: 35px;
}

/* 상단 탭 메뉴 */
.menu-line {
    text-align: center;
    margin-top: 50px;
}

.menu-line .tab {
    display: inline-block;
    margin: 0 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: var(--main-navi);
    background-color: var(--main-white);
    padding: 10px 20px;
    border: 2px solid var(--main-navi);
    border-radius: 50px;
    transition: background-color 0.3s, box-shadow 0.3s;
}

.menu-line .tab:hover {
    background-color: var(--main-navi);
    color: var(--main-white);
}

.menu-line .active {
    background-color: var(--main-navi);
    color: var(--main-white);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 공무원 징계 */

.discipline_wrap {
    max-width: 1500px;
    width: 100%;
    margin: 80px auto;
    padding: 0 20px;
    text-align: left;
}

.discipline_title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #2b3d24;
    box-shadow: inset 0 -20px 0 rgba(209, 238, 217, 1);
    display: inline-block;
    padding-bottom: 5px;
}

.discipline_desc {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

.discipline_desc strong {
    color: #1d3e20;
    font-weight: bold;
}

.discipline-type-list {
    max-width: 1500px;
    /* 리스트 폭 조정 */
    width: 100%;
    margin-top: 30px;
    padding: 0;
    text-align: left;
}

.discipline-type-list li {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.discipline-type-list .label {
    background-color: #2c7a45;
    /* 진한 초록 */
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 16px;
    border-radius: 10px 10px 0 0;
}

.discipline-type-list .label span {
    margin-right: 5px;
    font-weight: bold;
}

.discipline-type-list p {
    background-color: #e0f4e5;
    /* 연한 연두 */
    border-radius: 0 0 10px 10px;
    padding: 15px 20px;
    font-size: 17px;
    color: #333;
    line-height: 1.7;
}

.discipline-bottom-note {
    background-color: #206245;
    border-radius: 50px;
    color: #fff;
    padding: 10px 20px;
    text-align: left;
    font-size: 16px;
    max-width: 1100px;
    margin: 20px 0;
}

/* 진행절차 */
.discipline-flow-wrap {
    margin-top: 80px;
    text-align: left;
}

.discipline-flow-title {
    font-size: 25px;
    font-weight: bold;
    color: #2b3d24;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(209, 238, 217, 1);
    padding-bottom: 5px;
    margin-bottom: 30px;
}


.discipline-flow-img img {
    width: 100%;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* 불복방법 */

.appeal-method-wrap {
    margin-top: 80px;
    text-align: left;
}

.appeal-method-title {
    font-size: 25px;
    font-weight: bold;
    color: #2b3d24;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(209, 238, 217, 1);
    padding-bottom: 5px;
    margin-bottom: 30px;
}

.appeal-table {
    width: 90%;
    border-collapse: separate;
    /* collapse → separate */
    border-spacing: 5px;
    /* 셀 사이 간격 */
    text-align: center;
    font-size: 18px;
}

.appeal-table th {
    background-color: #206245;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    border: #fff solid 1px;
}

.appeal-table td {
    background-color: #e0f4e5;
    padding: 15px;
    color: #222;
    font-weight: 500;
    border-radius: 15px;
    border: #fff solid 1px;
}

/* 행정소송(징계) */

/* 소송 종류 섹션 */
.lawsuit-wrap {
    margin-top: 80px;
    text-align: left;
}

.lawsuit-title {
    font-size: 25px;
    font-weight: bold;
    color: #2b3d24;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(209, 238, 217, 1);
    padding-bottom: 5px;
    margin-bottom: 30px;
}

.lawsuit-row {
    display: flex;
    margin-bottom: 5px;
    align-items: stretch;
    /* 높이 통일 */
}

.lawsuit-type {
    background-color: #2c7a45;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    padding: 15px 20px;
    border-radius: 15px;
    border: 3px solid #fff;
    white-space: nowrap;
    width: 160px;
    /* ✅ 고정 너비로 맞춤 */
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lawsuit-desc {
    background-color: #e0f4e5;
    padding: 15px 20px;
    margin-left: 5px;
    border-radius: 15px;
    line-height: 1.8;
    border: 3px solid #fff;
    font-size: 16px;
    flex: 0.9;
    /* ✅ 초록색 제외한 나머지 공간 차지 */
}

/* 제소기간 안내 */
.lawsuit-deadline-wrap {
    margin-top: 80px;
    text-align: left;
}

.lawsuit-deadline-title {
    font-size: 25px;
    font-weight: bold;
    color: #2b3d24;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(209, 238, 217, 1);
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.lawsuit-deadline-list {
    list-style: none;
    padding-left: 0;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.lawsuit-deadline-note {
    font-size: 14px;
    color: #666;
}


/* 청구기간  */
.claim-deadline-wrap {
    margin-top: 80px;
    text-align: left;
}

.claim-deadline-title {
    font-size: 25px;
    font-weight: bold;
    color: #2b3d24;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(209, 238, 217, 1);
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.claim-deadline-text {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.claim-subtitle {
    color: #206245;
    font-weight: bold;
    font-size: 17px;
    margin-top: 15px;
    margin-bottom: 5px;
}

.claim-desc {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

/* 기본은 PC용 테이블 보이기 */
.desktop-only {
    display: table;
}

.mobile-only {
    display: none;
}



/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 1440px) {}

/* 노트북 전용 */
@media screen and (min-width: 1025px) and (max-width: 1439px) {
    .tab-content {
        max-width: 1000px;
        margin: 0 auto;
    }
}

/* 태블릿 전용 */
@media screen and (min-width: 768px) and (max-width: 1024px) {

    .tab-content {
        padding: 0 20px;
        max-width: 100%;
        margin: 0 auto;
    }

    .txt h1 {
        font-size: 36px;
    }

    .txt h2 {
        font-size: 26px;
    }

    .discipline_title,
    .discipline-flow-title,
    .appeal-method-title,
    .lawsuit-title,
    .lawsuit-deadline-title,
    .claim-deadline-title {
        font-size: 22px;
    }

    .discipline_desc,
    .lawsuit-deadline-list,
    .claim-deadline-text,
    .claim-desc {
        font-size: 16px;
    }

    .discipline-type-list li {
        max-width: 90%;
        margin: 0 auto 20px;
    }

    .discipline-bottom-note {
        max-width: 90%;
        margin: 20px auto;
        /* 가운데 정렬 */
        font-size: 15px;
        /* 살짝 줄이기 */
        padding: 8px 16px;
        /* 안쪽 여백 줄이기 */
    }

    .appeal-table {
        font-size: 16px;
    }

    .lawsuit-type {
        font-size: 16px;
        width: 140px;
    }

    .lawsuit-desc {
        font-size: 14px;
    }
}

/* 모바일 전용 */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .tab-content {
        padding: 0 40px;
        /* ✅ 좌우에 20px 여백 추가 */
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        /* ✅ 패딩이 전체 width 안에서 계산되게 */
    }

    .discipline-type-list {
        margin-left: -20px;
    }

    .discipline-type-list li {
        max-width: 95%;
        margin: 0 auto 20px;
    }

    .discipline-bottom-note {
        max-width: 90%;
        margin: 20px auto;
        /* 가운데 정렬 */
        margin-left: -5px;
        font-size: 15px;
        /* 살짝 줄이기 */
        padding: 8px 16px;
        /* 안쪽 여백 줄이기 */
    }

    .appeal-table {
        font-size: 15px;
        width: 95%;
    }

    .lawsuit-type {
        font-size: 16px;
        width: 140px;
    }

    .lawsuit-desc {
        font-size: 14px;
    }

    .menu-line .tab {
        font-size: 18px;
        line-height: 1.8;
    }

    .discipline-flow-img img {
        max-width: 90%;
    }
}

@media screen and (max-width: 480px) and (orientation: portrait) {

    .txt {
        height: 250px;
        margin-top: 30px;
    }

    .txt h1 {
        font-size: 35px;
        margin-top: 20px;
    }

    .txt h2 {
        font-size: 20px;
        margin-top: 10px;
    }

    .menu-line .tab {
        font-size: 18px;
        margin: 0 3px;
    }

    .tab-content {
        padding: 0 15px 0 0;
        /* ✅ 위 0 / 오른쪽 15px / 아래 0 / 왼쪽 0 */
        max-width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .discipline_wrap {
        padding: 0 10px;
    }

    .discipline-type-list {
        margin-left: 0;

    }

    .discipline-type-list li {
        width: 100%;
        margin: 0 auto 15px;
    }

    .discipline-type-list .label {
        font-size: 16px;
        padding: 8px 14px;
    }

    .discipline-type-list p {
        font-size: 14px;
        padding: 12px 16px;
    }

    .discipline-bottom-note {
        max-width: 100%;
        font-size: 14px;
        padding: 8px 14px;
        margin: 15px auto;
        text-align: center;
    }

    .discipline_title,
    .discipline-flow-title,
    .appeal-method-title,
    .lawsuit-title,
    .lawsuit-deadline-title,
    .claim-deadline-title {
        font-size: 20px;
    }

    .discipline_desc,
    .lawsuit-deadline-list,
    .claim-deadline-text,
    .claim-desc {
        font-size: 14px;
    }

    .appeal-table {
        font-size: 14px;
        width: 100%;
    }

    .lawsuit-type {
        font-size: 14px;
        width: 120px;
        padding: 10px 14px;
    }


    .discipline-flow-img img {
        max-width: 90%;
    }

    .lawsuit-desc {
        font-size: 13px;
        padding: 10px 14px;
    }

    .menu-line .tab {
        font-size: 16px;
        line-height: 1.5;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: table;
    }

    .mobile-only .color {
        background-color: #e0f4e5;
    padding: 15px;
    color: #222;
    font-weight: 500;
    border-radius: 15px;
    border: #fff solid 1px;
    }

    .mobile-only .color1 {
        background-color: #206245;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    border: #fff solid 1px;
    font-weight: bold;
    width: 20%;
    }

    .lawsuit-type {
        width: 25%;
    }
}