/* 언어설정 */
@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;
    --col-gap: 28px;
    --ink: #1c1e21;
    --muted: #6b7280;
    --panel: #ffffff;
    --line: #e5e7eb;
    --brand: #f6c23e;
    /* 상단 메인 포인트 */
    --blue: #dfeffd;
    /* 고소인 섹션 배경 */
    --red: #fde8e8;
    /* 피의자/피고인 섹션 배경 */
    --green: #fcfffd;
    /* 구속 관련 섹션 배경 */
    --ribbon-blue: #385e8d;
    --ribbon-red: #7a2424;
    --ribbon-green: #2f6e4f;
    --accent: #8b8b8b;
    --radius: 18px;
    --shadow: 0 8px 20px rgba(0, 0, 0, .06);
    --text: #0f172a;
    --muted: #475569;
    --chip-bg: #eef6ff;
    --chip-bg-hover: #e2f0ff;
    --chip-text: #204B62;
    --ring: rgba(37, 99, 235, .25);
}

/* 상세설정 ---------------------------------------------------------------------------- */

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    color: var(--main-text);
    line-height: 1.6;
}

.class_wrap {
    max-width: 1600px;
    margin-inline: auto;
    padding: 24px 18px 80px
}

/* ----------------------------- 헤더 ----------------------------- */

.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;
    text-align: center;
}

.txt h1 {
    font-size: 60px;
    margin-top: 50px;
    font-weight: bold;
    display: inline-block;
    color: #fff;
}


.case-select {
    max-width: 1500px;
    margin: 0 auto;
    padding: 28px 16px 32px
}

.case-select__title {
    margin: 0 0 25px;
    font-size: 35px;
    line-height: 1.45;
    font-weight: 700;
    color: var(--text);
    text-align: center;
}

.case-select__accent {
    color: #ef4444;
    font-style: normal
}

.case-select__desc {
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
    text-align: center;
}

.case-select__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 22px;
}

.case-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    background: var(--chip-bg);
    color: var(--chip-text);
    font-weight: 600;
    font-size: 20px;
    padding: 40px 10px;
    border-radius: 16px;
    transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, .03) inset;
}

.case-chip:hover {
    background: var(--chip-bg-hover)
}

.case-chip:active {
    transform: translateY(1px)
}

.case-chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px var(--ring)
}

@media (max-width:720px) {
    .case-select__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 12px
    }
}