/* 언어설정 */
@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;
}

/* 이혼 설명 문장 */

.highlight-text {
    text-align: center;
    margin: 30px auto;
    /* ← auto로 가운데 정렬 */
    font-size: 22px;
    color: #333;
    line-height: 1.6;
    max-width: 900px;
    /* 선택사항: 너무 길지 않게 */
}

.highlight-text .em {
    color: #e14400;
    font-weight: bold;
}

/* 이혼 내용시작 */

.circle-info-box {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 50px auto 30px;
    flex-wrap: wrap;
    text-align: center;
}

.circle-item {
    width: 150px;
}

.circle-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
}

.circle-title {
    color: #e14400;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.circle-desc {
    font-size: 15px;
    color: #444;
}

.circle-bottom-text {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    color: #333;
    margin: 50px 0 50px;
    line-height: 1.6;
}

.circle-bottom-text span {
    color: #e14400;
}

/* 소송이 가능한 사유들 전체 박스 */
.reason-list-wrap {
    max-width: 1500px;
    margin: 60px auto 80px;
    padding: 0 20px;
    text-align: left;
}

/* 제목 스타일 */
.reason-title {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(255, 229, 231, 1);
    padding-bottom: 5px;
    color: #333;
}


/* 각 리스트 항목 */
.reason-list li {
    display: flex;
    align-items: center; /* ✅ 세로 정렬 기준을 가운데로 맞춤 */
    gap: 15px;
    padding: 15px 20px;
    background-color: #fff;
    border-radius: 50px;
    border: 1px solid rgba(230, 110, 110, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-size: 18px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 숫자 동그라미 */
.reason-list li span {
    width: 40px;
    height: 40px;
    background-color: #f8c7cb;
    border-radius: 50%;
    color: white;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    margin-top: 4px; /* ✅ 위로 약간 내려오게 보정 */
}

.reason-list li .text {
    flex: 1;
    line-height: 1.6;
    word-break: keep-all;
    padding-top: 1px; /* ✅ 보정 (선택) */
    text-align: left;
}

.reason-list li strong {
    color: #e14400;
    font-weight: bold;
}

/* 변호사 선임 필요성 리스트 */

.qa-list-wrap {
    max-width: 1500px;
    margin: 60px auto 100px;
    padding: 0 20px;
    text-align: left;
}

.qa-list-wrap .qa-title {
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(255, 229, 231, 1);
    padding-bottom: 5px;
    color: #333;
    margin-bottom: 30px;
    /* ✅ 여백 추가 */
}

.qa-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 10px;
}

/* Q + A 전체 묶음 */
.qa-box {
    background-color: #fff0f2;
    border-radius: 25px;
    padding: 25px 30px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Q 타이틀 강조 */
.qa-box .q {
    font-weight: bold;
    font-size: 22px;
    color: #d94450;
    margin-bottom: 10px;
}

/* A 영역은 구분만 잘 되게 */
.qa-box .a {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    background-color: #fff;
    padding: 25px 30px;
    border-radius: 15px;
}

/* 이혼 소송 진행 과정 */

.progress-list-wrap {
    margin-top: 80px;
    text-align: left;
    max-width: 1500px;
    margin : 60px auto 100px;
    padding: 0 20px;
    text-align: left;
}

.progress-title {
    font-size: 25px;
    font-weight: bold;
    display: inline-block;
    box-shadow: inset 0 -20px 0 rgba(255, 229, 231, 1);
    padding-bottom: 5px;
    color: #333;
    margin-bottom: 30px;
}


.progress-list-img img {
    width: 100%;
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
}



/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 1440px) {}

/* 노트북 전용 */
@media screen and (min-width: 1025px) and (max-width: 1439px) {}

/* 태블릿 전용 */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .txt {
        height: 300px;
    }

    .txt h1 {
        font-size: 36px;
        margin-top: 20px;
    }

    .txt h2 {
        font-size: 28px;
        margin-top: 10px;
    }

    .circle-item {
        width: 30%;
        max-width: 180px;
    }

    .circle-info-box {
        gap: 20px;
    }

    .highlight-text {
        font-size: 16px;
    }

    .reason-title,
    .qa-title,
    .progress-title {
        font-size: 22px;
    }

    .reason-list li {
        font-size: 16px;
    }
}

/* 모바일 전용 */
@media screen and (min-width: 481px) and (max-width: 767px) {
    .txt {
        height: 250px;
    }

    .txt h1 {
        font-size: 32px;
    }

    .txt h2 {
        font-size: 24px;
    }

    .menu-line .tab {
        font-size: 18px;
    }

    .circle-item {
        width: 45%;
        max-width: 120px;
    }

    .circle-info-box {
        gap: 15px;
    }

    .highlight-text {
        font-size: 15px;
    }

    .reason-list li {
        font-size: 15px;
        padding: 8px 10px;
    }

    .qa-box .q {
        font-size: 18px;
    }

    .qa-box .a {
        font-size: 14px;
    }
}

@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;
    }

    .circle-item {
        width: 30%;
        max-width: 190px;
    }

    .circle-info-box {
        gap: 15px;
    }

    .highlight-text {
        font-size: 13px;
    }

    .reason-list span {
        font-size: 15px;
        width: 15px;
    }

    .reason-list li {
        font-size: 13px;
        padding: 8px 10px;
    }

    .circle-bottom-text {
        font-size: 20px;
    }

    .qa-box {
        padding: 20px;
    }

    .qa-box .a {
        padding: 20px;
    }
}