

/* ===============================
   Page Header (브레드크럼브 & 상단 타이틀)
   =============================== */
.page-header {
    padding-top: 6rem;
}
.page-header .wrapper {
    padding: 4rem 2rem 0 2rem;
}
.breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.breadcrumb .icon-home {
    width: 1.4rem;
    height: 1.4rem;
    stroke: #333333;
    stroke-width: 2;
    margin-bottom: -0.2rem;
}
.breadcrumb-parent-menu,
.breadcrumb-main-menu {
    position: relative;
    font-size: 1.4rem;
    line-height: 1.4rem;
    padding-left: 2rem;
    font-weight: 600;
}
.breadcrumb-parent-menu:before,
.breadcrumb-main-menu:before {
    content: '';
    display: block;
    position: absolute;
    width: 0.4rem;
    height: 0.4rem;
    background-color: #333333;
    border-radius: 50%;
    top: 50%;
    left: 0.8rem;
    transform: translateY(-50%);
}
.breadcrumb-main-menu {
    background: linear-gradient(45deg, #4871e5, #00baba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-title {
    font-size: 2.4rem;
    line-height: 3.4rem;
    font-weight: 700;
    margin-bottom: 3.2rem;
}
.page-thumbnail {
    height: 24rem;
    width: 100%;
    background-image: url(../../../assets/images/inquiry/bg_topBanner.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* ===============================
   section-inquiry
   =============================== */
.section-inquiry .wrapper {
    padding: 6rem 4rem 8rem 4rem;
    max-width: 100%; /* 기본 안전 처리 */
}
.form-description {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 2.3rem;
    color: #333333;
    margin-bottom: 4rem;
}
.form-description .keyword {
    font-weight: 700;
}
/* 문의 유형 */
.inquiry-type {
    color: #333333;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #d8d8d8;
}
.inquiry-type-title {
    position: relative;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.radio-inquiry-group {
    display: flex;
    gap: 2rem;
}
.radio-inquiry-group label {
    font-size: 1.5rem;
}
.radio-inquiry-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.6rem;
    font-weight: 500;
}
/* form 양식 */
.form-fieldset {
    border: unset;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    position: relative;
    font-size: 1.6rem;
    font-weight: 500;
    width: fit-content;
    margin-bottom: 0.5rem;
    color: #333333;
}
.required-mark {
    position: absolute;
    top: -0.5rem;
    right: -1.5rem;
    color: #4871e5;
    font-size: 2.5rem;
}
.form-group input {
    width: 100%;
    border: 1px solid #d8d8d8;
    font-size: 1.5rem;
    padding: 0.6rem 1rem;
}
.form-group select {
    display: block;
    width: 100%;
    border: 1px solid #d8d8d8;
    font-size: 1.5rem;
    padding: 0.9rem 1rem;
    appearance: none;       /* 표준 */
    -webkit-appearance: none; /* Safari/Chrome */
    -moz-appearance: none;    /* Firefox */
    background-image: none; /* 드롭다운 화살표 제거 */
}
.form-group textarea {
    display: block;
    width: 100%;
    height: 30rem;
    border: 1px solid #d8d8d8;
    font-size: 1.5rem;
    padding: 0.6rem 1rem;
}

/* 첨부파일 섹션 */
.custom-file-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    border: 1px solid #d8d8d8;
    padding: 0.4rem 1rem;
}
.custom-file-label {
    padding: 0.1rem 1rem;
    background-color: #eeeeee;
    font-size: 1.5rem !important;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    margin: unset !important;
}
.custom-file-label:hover {
    border: 1px solid #bababa;
}
.custom-file-name {
    font-size: 1.5rem;
    color: #333333;
    font-weight: 400;
}
/* 실제 input은 숨김 */
.custom-file-wrapper input[type="file"] {
    display: none;
}
.file-list {
    margin-top: 0.5rem;
}
.file-list li {
    position: relative;
    padding-left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-size: 1.4rem;
    color: #333333;
}
.file-list li::before {
    display: block;
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0.4rem;
    height: 0.4rem;
    background-color: #333333;
    border-radius: 50%;
}
.attachment-delete {
    width: 1.4rem;
    height: 1.4rem;
    stroke-width: 2;
    color: #4871e5;
    margin-top: 0.5rem;
}
.attachment-guide {
    font-size: 1.4rem;
    line-height: 2rem;
    color: #888888;
}

/* 개인정보 처리방침 */
.privacy-policy {
    margin-bottom: 4rem;
}
.privacy-policy label {
    display: block;
    font-size: 1.6rem;
    font-weight: 500;
    width: fit-content;
    margin-bottom: 0.5rem;
    color: #333333;
}
.policy-table-wrapper {
    border: 1px solid #d8d8d8;
    padding: 1.5rem;
}
.policy-table {
    border-collapse: collapse;
}
.policy-table th,
.policy-table td {
    padding: 0.8rem 1rem;
    border: 1px solid #d8d8d8;
    font-size: 1.4rem;
    color: #333333;
}
.policy-table th {
    background-color: #eeeeee;
    font-weight: 600;
}
.policy-table td {
    font-weight: 500;
}

/* 동의/비동의 */
.consent {
    margin-bottom: 5rem;
}
.policy-label {
    font-size: 1.5rem;
    color: #333333;
    font-weight: 600;
    line-height: 2.3rem;
    margin-bottom: 1.5rem;
}
.policy-label .consent-type {
    font-weight: 600;
    background: linear-gradient(45deg, #4871e5, #00baba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.radio-group {
    display: flex;
    gap: 1.5rem;
}
/* 1. 라디오 버튼 숨기기 */
.radio-option input[type="radio"] {
    display: none;
}
/* 2. 아이콘 겹치게 위치 */
.radio-option label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    width: fit-content;
    padding-left: 2.4rem;
    color: #aaaaaa;
    font-size: 1.5rem;
    font-weight: 600;
}
.radio-option .icon-unchecked,
.radio-option .icon-checked {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.icon-unchecked {
    width: 1.8rem;
    height: 1.8rem;
    stroke: #aaaaaa;
    stroke-width: 2.5;
}
.icon-checked {
    width: 1.8rem;
    height: 1.8rem;
    stroke: #333333;
    stroke-width: 2.5;
}
/* 3. 기본 상태: 체크 아이콘은 숨김 */
.radio-option .icon-checked {
    display: none;
}
/* 4. 선택되었을 때 상태 토글 */
.radio-option input[type="radio"]:checked + label .icon-unchecked {
    display: none;
}
.radio-option input[type="radio"]:checked + label .icon-checked {
    display: inline;
}
/* ✔ 텍스트 색상 변경 */
.radio-option input[type="radio"]:checked + label {
    color: #333333;
}
/* 제출 버튼 */
.submit-button {
    display: block;
    text-align: center;
    font-weight: 600;
    border-radius: 100px;
    background: linear-gradient(45deg, #4871e5, #00baba);
    color: #ffffff;
    padding: 1rem 4rem;
    width: 100%;
    font-size: 1.4rem;
}

/* ===============================
   Responsive
   =============================== */
@media (min-width: 480px) {

}
@media (min-width: 768px) {
    .page-header .wrapper {
        padding: 5rem 4rem 0 4rem;
    }
    .breadcrumb {
        margin-bottom: 1.2rem;
    }
    .breadcrumb .icon-home {
        width: 1.6rem;
        height: 1.6rem;
    }
    .breadcrumb-parent-menu,
    .breadcrumb-main-menu {
        font-size: 1.6rem;
        line-height: 1.6rem;
        padding-left: 2.4rem;
    }
    .page-title {
        font-size: 2.8rem;
        line-height: 3.8rem;
        margin-bottom: 3.8rem;
    }
    .page-thumbnail {
        height: 28rem;
    }

    .section-inquiry .wrapper {
        padding: 6.8rem 4rem 9.2rem 4rem;
        max-width: 100%; /* 기본 안전 처리 */
    }
    .form-description {
        font-size: 1.7rem;
        line-height: 2.8rem;
        margin-bottom: 4.8rem;
    }
    .inquiry-type {
        padding-bottom: 2.8rem;
        margin-bottom: 3.4rem;
    }
    .inquiry-type-title {
        margin-bottom: 1rem;
        font-size: 1.7rem;
    }
    .radio-inquiry-group label {
        font-size: 1.6rem;
    }

    .form-row {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
    .form-row .form-group {
        width: 50%;
    }
    .form-group {
        margin-bottom: 2.8rem;
    }
    .form-group label {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    .form-group input {
        font-size: 1.6rem;
        padding: 0.8rem 1.2rem;
    }
    .form-group select {
        font-size: 1.6rem;
        padding: 1.125rem 1.2rem;
    }
    .form-group textarea {
        padding: 0.8rem 1.2rem;
        font-size: 1.6rem;
    }

    .custom-file-wrapper {
        padding: 0.6rem 1.2rem;
    }
    .custom-file-label {
        padding: 0.175rem 1.2rem;
    }
    .file-list {
        margin-top: 0.7rem;
    }
    .file-list li {
        font-size: 1.5rem;
    }
    .attachment-guide {
        font-size: 1.5rem;
    }
    .attachment-delete {
        width: 1.6rem;
        height: 1.6rem;
    }

    .privacy-policy {
        margin-bottom: 4.4rem;
    }
    .privacy-policy .section-title {
        font-size: 1.7rem;
        margin-bottom: 1rem;
    }
    .policy-table-wrapper {
        padding: 1.5rem 2rem;
    }
    .policy-table th {
        width: 12rem;
    }

    .consent {
        margin-bottom: 6rem;
    }
    .policy-agreement {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .policy-label {
        font-size: 1.6rem;
        margin-bottom: unset;
    }
    .option-label {
        font-size: 1.6rem;
    }
    .radio-group {
        gap: 2rem;
    }
    .submit-button {
        width: fit-content;
        margin: 0 auto;
        padding: 1rem 8rem;
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .page-header {
        padding-top: 8rem;
    }
    .page-header .wrapper {
        padding: 6rem 4rem 0 4rem;
    }
    .breadcrumb {
        margin-bottom: 1.6rem;
    }
    .page-title {
        font-size: 3.6rem;
        line-height: 4.6rem;
        margin-bottom: 6rem;
    }
    .page-thumbnail {
        height: 36rem;
    }

    .section-inquiry .wrapper {
        padding: 11rem 4rem 13rem 4rem;
    }
    .form-description {
        font-size: 1.9rem;
        line-height: 3.2rem;
        margin-bottom: 6rem;
    }
    .radio-inquiry-group {
        gap: 2.8rem;
    }
    .inquiry-type-title {
        margin-bottom: 1.2rem;
        font-size: 1.8rem;
    }
    .radio-inquiry-group label {
        font-size: 1.7rem;
    }
    .form-group label {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    .form-row {
        gap: 2.5rem;
    }

    .custom-file-wrapper {
        padding: 0.5rem 1.2rem;
    }
    .custom-file-label {
        font-size: 1.6rem !important;
        padding: 0.2rem 1.2rem;
    }
    .custom-file-name {
        font-size: 1.6rem;
    }
    .file-list li {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .privacy-policy .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    .policy-table-wrapper {
        padding: 1.8rem 2rem;
    }
    .policy-table th,
    .policy-table td {
        padding: 1rem 1.5rem;
    }
    .policy-table th {
        font-size: 1.5rem;
        width: 20rem;
    }
    .policy-table td {
        font-size: 1.5rem;
    }

    .policy-label {
        font-size: 1.7rem;
    }
    .radio-group {
        gap: 3rem;
    }
    .radio-option label {
        font-size: 1.7rem;
        padding-left: 2.8rem;
    }

    .submit-button {
        font-size: 1.7rem;
    }
}

@media (min-width: 1280px) {
    .page-header .wrapper {
        max-width: 1320px;
        margin: 0 auto;
    }
    .page-title {
        font-size: 3.8rem;
        line-height: 4.8rem;
        margin-bottom: 7rem;
    }

    .section-inquiry .wrapper {
        padding: 12rem 4rem 14rem 4rem;
        max-width: 1320px;
        margin: 0 auto;
    }
    .policy-table {
        width: 100%;
    }
}