@charset "utf-8";

/* =============================================================================
   Fonts
============================================================================= */
@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: 400;
    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: 400;
    font-style: normal;
}

/* =============================================================================
   Tokens
============================================================================= */
:root {
    --main-navi: #204b62;
    --main-text: #333;
    --main-white: #fff;

    --wrap-1200: 1200px;
    --wrap-1000: 1000px;

    --form-bg: #cbdbe3;
    --accent: #84000a;
}

/* =============================================================================
   Base / Reset
============================================================================= */
* {
    margin: 0;
    padding: 0;
    font-family: "SUIT-Regular";
    box-sizing: border-box;
}

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;
}

/* =============================================================================
   Hero
============================================================================= */
.txt {
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(/img/banner_17.png) center top / cover no-repeat;
}

.txt h1 {
    font-size: 60px;
    font-weight: 700;
    display: inline-block;
    color: var(--main-white);
}

/* =============================================================================
   Intro image
============================================================================= */
.intro-image {
    text-align: center;
    margin: 50px 0 0;
}

.intro-image img {
    max-width: 100%;
    height: auto;
}

/* =============================================================================
   Description
============================================================================= */
.counsel-desc {
    padding: 0 20px 40px;
    text-align: center;
}

.counsel-desc p {
    font-size: 30px;
    line-height: 1.8;
    color: var(--main-text);
    font-weight: 500;
}

.counsel-desc p strong {
    color: var(--accent);
    box-shadow: inset 0 -10px 0 rgba(255, 229, 231, 1);
}

/* =============================================================================
   Step image
============================================================================= */
.counsel-step-img {
    max-width: var(--wrap-1200);
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

.counsel-step-img img {
    max-width: 100%;
    height: auto;
}

/* =============================================================================
   Form
============================================================================= */
.counsel-form-wrap {
    max-width: var(--wrap-1000);
    margin: 50px auto;
    padding: 40px 30px;
    border-radius: 25px;
    background: var(--form-bg);
}

.counsel-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full { width: 100%; }

.form-group.full p {
    color: var(--main-text);
    font-weight: 700;
    font-size: 25px;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 700;
    color: var(--main-text);
    font-size: 20px;
}

/* 공통 입력 스타일 */
.counsel-form select,
.form-group input,
.form-group textarea {
    padding: 10px;
    border: 0;
    border-radius: 8px;
    font-size: 20px;
    color: var(--main-text);
}

.counsel-form option { color: var(--main-text); }

.form-group textarea {
    resize: none;
    height: 120px;
}

/* 라디오 */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 10px;
}

.radio-group label {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 제출 버튼 */
.submit-btn {
    width: 100%;
    margin-top: 10px;
    padding: 15px;

    border: 0;
    border-radius: 8px;
    background: var(--main-navi);
    color: var(--main-white);

    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}

/* =============================================================================
   Responsive
============================================================================= */

/* <= 767: 폼 여백만 축소(원본 유지) */
@media (max-width: 767px) {
    .counsel-form-wrap {
        padding: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    /* NOTE: 아래 .banner1은 HTML에 없으면 삭제 권장 */
    /*
    .banner1 { width:100%; height:300px; }
    .banner1 img { width:350px; }
    */
}

/* <= 480 portrait */
@media (max-width: 480px) and (orientation: portrait) {
    .txt { height: 250px; }

    .txt h1 {
        font-size: 45px;
        /* 원본 유지: 모바일에서 내려보내려면 margin/transform 중 하나로 통일 권장 */
        margin-top: 50px;
    }

    .counsel-form-wrap {
        padding: 20px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .counsel-desc p { font-size: 20px; }

    /* 폼 타이포 축소(선택자 통합) */
    .form-group label { font-size: 15px; }

    .counsel-form select,
    .form-group input,
    .form-group textarea,
    .radio-group label,
    .submit-btn {
        font-size: 15px;
    }
}
