/* ========================================
   문의하기 (sub_07_01 · Contact)
======================================== */
body.sub_07 {
    margin: 0;
}

.subPage.Contact.contact_07_01 {
    background: #ffffff;
    color: #111;
}


.contactSection {
    padding: 120px 0 140px;
}

.contactSection__inner {
    max-width: 1400px;
    width: min(1400px, calc(100% - 180px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contactSection__title {
    margin: 0;
    font-size: 68px;
    line-height: 1;
    font-weight: 600;
    color: #053377;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.015em;
}

.contactSection__desc {
    margin: 40px 0 0;
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    line-height: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #a3a3a3;
}

/* 우측 입력 폼 공통 */
.contactForm {
    width: 100%;
}

.contactForm__adminTop {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

/* 메인 `.mn-contact__adminList` 치수·테두리 두께·폰트와 동일, 밝은 배경용 컬러 */
.contactAdminListBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-family: 'Pretendard', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #053377;
    text-decoration: none;
    border: 1px solid rgba(5, 51, 119, 0.9);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.contactAdminListBtn:hover {
    background: rgba(5, 51, 119, 0.08);
    opacity: 0.95;
}

.contactAdminListBtn:focus {
    outline: none;
}

.contactAdminListBtn:focus-visible {
    outline: 2px solid #053377;
    outline-offset: 2px;
}

.contactForm__row + .contactForm__row {
    margin-top: 34px;
}

.contactForm__row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px; /* 성함-회사명 간격 */
}

.contactField__label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #111111;
}

.contactField__label .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #454545;
    flex: 0 0 3px;
}

.contactField__inputWrap {
    display: block;
    margin-top: 24px; /* 타이틀과 입력 필드 간격 */
}

.contactField__inputWrap input {
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #f3f3f3;
    padding: 23px 28px; /* y, x */
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #111111;
    box-sizing: border-box;
}

.contactField__textarea {
    width: 100%;
    height: 150px; /* 문의내용 전체 높이 */
    border: 0;
    border-radius: 6px;
    background: #f3f3f3;
    padding: 28px 23px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #111111;
    box-sizing: border-box;
    resize: none;
}

.contactField__opt {
    font-size: 0.65em;
    font-weight: 500;
    color: #666666;
}

.contactField__label .req {
    color: #c62828;
    font-weight: 700;
}

.contactField__error {
    position: relative;
    margin: 12px 0 0;
    padding: 10px 14px 10px 40px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #333333;
    background: #ffffff;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.contactField__error[hidden] {
    display: none !important;
}

.contactField__error::before {
    content: '!';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    font-size: 13px;
    font-weight: 800;
    line-height: 22px;
    text-align: center;
    color: #ffffff;
    background: #ff9800;
    border-radius: 2px;
}

.contactField--invalid .contactField__inputWrap input,
.contactField--invalid .contactField__textarea,
.contactField--invalid .contactSecurity__inputWrap input {
    box-shadow: inset 0 0 0 2px #e53935;
}

.contactForm__row--captcha {
    margin-top: 34px;
    margin-bottom: 50px;
}

.contactForm .inquiry-embed-captcha,
.contactForm .captcha {
    width: 100%;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fafafa;
    box-sizing: border-box;
}

.contactForm .inquiry-embed-captcha legend,
.contactForm .captcha legend {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    padding: 0 0 10px;
}

.contactForm .inquiry-embed-captcha #captcha_img,
.contactForm .captcha #captcha_img {
    vertical-align: middle;
    margin-right: 10px;
}

.contactForm .inquiry-embed-captcha #captcha_key,
.contactForm .captcha #captcha_key {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 15px;
}

.contactForm .inquiry-embed-captcha #captcha_reload,
.contactForm .inquiry-embed-captcha #captcha_mp3,
.contactForm .captcha #captcha_reload,
.contactForm .captcha #captcha_mp3 {
    margin-left: 6px;
    vertical-align: middle;
}

.contactForm .inquiry-embed-captcha #captcha_info,
.contactForm .captcha #captcha_info {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.contactSecurity {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    border-radius: 6px;
    background: #f3f3f3;
    padding: 12px 18px 10px;
}

.contactSecurity__code {
    flex: 0 0 auto;
    padding: 0 10px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 50px;
    color: #888888;
}

.contactSecurity__inputWrap {
    flex: 1 1 auto;
}

.contactSecurity__inputWrap input {
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #fcfcfc;
    padding: 12px 26px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #111111;
    box-sizing: border-box;
}

.contactSecurity__inputWrap input::placeholder {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 50px;
    color: #888888;
}

.contactAgree-wrap {
    border-top: 2px solid #e5e5e5;
    border-bottom: 2px solid #e5e5e5;
}

.contactAgree {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    border: 0;
}

.contactAgree__panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.38s ease, opacity 0.28s ease;
    padding: 0;
    margin: 0;
}

.contactAgree-wrap.is-open .contactAgree__panel {
    max-height: 520px;
    opacity: 1;
}

.contactAgree__panelInner {
    padding: 2px 0 20px;
    margin-top: -8px;
}

.contactAgree__quote {
    margin: 0 0 4px;
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #6b6b6b;
}

.contactAgree__quote--end {
    margin-top: 12px;
    margin-bottom: 0;
}

.contactAgree__para {
    margin: 0 0 10px;
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.02em;
    color: #5c5c5c;
}

.contactAgree__para:last-of-type {
    margin-bottom: 0;
}

.contactAgree__bullet {
    margin-top: 4px;
}

.contactAgree__chevron {
    display: inline-block;
    transition: transform 0.28s ease;
}

.contactAgree-wrap.is-open .contactAgree__chevron {
    transform: rotate(180deg);
}

.contactAgree__left {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.contactAgree__left input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contactAgree__check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #545454;
    position: relative;
    flex: 0 0 24px;
}

.contactAgree__check::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 7px;
    width: 8px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.contactAgree__left input:not(:checked) + .contactAgree__check {
    background: #9f9f9f;
}

.contactAgree__text {
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #8a8a8a;
}

.contactAgree__view {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
    text-decoration: none;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #7d7d7d;
}

.contactAgree__view:focus-visible {
    outline: 2px solid #053377;
    outline-offset: 3px;
    border-radius: 4px;
}

.contactAgree__view i {
    font-size: 20px;
    line-height: 1;
}

.contactForm__row--submit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 48px !important;
}

.contactSubmitBtn {
    width: 240px;
    height: 64px;
    border-radius: 10px;
    border: 0;
    background: #053377;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 21px 60px 21px 60px; /* 시안 기준 좌우 여백 */
    cursor: pointer;
    font-family: 'Pretendard', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.02em;
    gap: 34px;
    transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.contactSubmitBtn:hover {
    background: #042a66;
}

.contactSubmitBtn:focus-visible {
    outline: 2px solid #053377;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .contactSubmitBtn:hover {
        transform: none;
    }
}

.contactSubmitBtn i {
    height: 28px;
    width: 12px;
    font-size: 28px;
}

.contactField__inputWrap input::placeholder {
    font-family: 'Pretendard', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 50px;
    color: #888888;
}

/* ========================================
   문의하기 반응형 (sub_07_01)
======================================== */

@media (max-width: 1440px) {
    .contactSection__inner {
        width: auto;
        padding: 0 5%;
        gap: 48px;
    }

    .contactSection {
        padding: 96px 0 120px;
    }

    .contactSection__title {
        font-size: 58px;
    }

    .contactSection__desc {
        margin-top: 28px;
        font-size: 18px;
        line-height: 1.75;
    }
}

@media (max-width: 1280px) {
    .subPage.Contact.contact_07_01,
    .subPage.Contact.contact_07_01 p,
    .subPage.Contact.contact_07_01 li,
    .subPage.Contact.contact_07_01 a,
    .subPage.Contact.contact_07_01 button,
    .subPage.Contact.contact_07_01 input,
    .subPage.Contact.contact_07_01 textarea {
        font-size: 16px;
    }

    .contactSection {
        padding: 84px 0 100px;
    }

    .contactSection__inner {
        gap: 40px;
    }

    .contactSection__title {
        font-size: 52px;
    }

    .contactField__label {
        font-size: 22px;
    }

    .contactField__inputWrap {
        margin-top: 16px;
    }

    .contactField__inputWrap input,
    .contactField__textarea,
    .contactSecurity__inputWrap input,
    .contactSecurity__inputWrap input::placeholder,
    .contactField__inputWrap input::placeholder,
    .contactSecurity__code {
        font-size: 16px;
    }

    .contactAgree {
        padding: 22px 0;
    }

    .contactAgree__text,
    .contactAgree__view,
    .contactAgree__view i {
        font-size: 18px;
    }

    .contactSubmitBtn {
        width: 200px;
        height: 54px;
        padding: 14px 30px;
        font-size: 16px;
        gap: 18px;
    }

    .contactSubmitBtn i {
        width: 10px;
        height: 22px;
        font-size: 22px;
    }
}

@media (max-width: 1024px) {
    .contactSection {
        padding: 64px 0 84px;
    }

    .contactSection__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contactSection__desc {
        margin-top: 18px;
    }

    .contactForm__row + .contactForm__row {
        margin-top: 34px;
    }

    .contactForm__row--half {
        gap: 16px;
    }

    .contactField__label {
        font-size: 20px;
    }

    .contactField__inputWrap input {
        padding: 18px 20px;
    }

    .contactField__textarea {
        height: 132px;
        padding: 20px;
    }

    .contactSecurity {
        padding: 10px 12px;
        gap: 10px;
    }

    .contactSecurity__code {
        padding: 0 6px;
        line-height: 44px;
    }

    .contactSecurity__inputWrap input {
        padding: 10px 14px;
    }

    .contactAgree__text,
    .contactAgree__view,
    .contactAgree__view i {
        font-size: 16px;
    }

    .contactForm__row--submit {
        margin-top: 40px !important;
    }

    .contactForm__adminTop {
        margin-bottom: 16px;
    }

    .contactSubmitBtn {
        width: 176px;
        height: 48px;
        padding: 12px 22px;
        font-size: 14px;
        gap: 12px;
    }

    .contactSubmitBtn i {
        width: 9px;
        height: 18px;
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .contactSection {
        padding: 44px 0 72px;
    }

    .contactSection__title {
        font-size: 34px;
    }

    .contactSection__desc {
        font-size: 16px;
        line-height: 1.65;
    }

    .contactForm__row--half {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contactField__label {
        gap: 8px;
        font-size: 18px;
    }

    .contactField__inputWrap input,
    .contactField__textarea,
    .contactSecurity__inputWrap input,
    .contactSecurity__inputWrap input::placeholder,
    .contactField__inputWrap input::placeholder,
    .contactSecurity__code {
        font-size: 14px;
    }

    .contactSecurity {
        flex-wrap: wrap;
    }

    .contactSecurity__code {
        flex: 1 1 100%;
        line-height: 1.4;
        padding: 2px 2px 4px;
    }

    .contactSecurity__inputWrap {
        width: 100%;
    }

    .contactAgree {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .contactAgree__check {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .contactAgree__check::before {
        left: 6px;
        top: 6px;
        width: 6px;
        height: 4px;
    }

    .contactAgree__text,
    .contactAgree__view,
    .contactAgree__view i {
        font-size: 14px;
    }

    .contactForm__row--submit {
        margin-top: 36px !important;
    }

    .contactForm__adminTop {
        margin-bottom: 14px;
    }

    .contactAdminListBtn {
        font-size: 14px;
        padding: 8px 16px;
    }

    .contactSubmitBtn {
        max-width: 100%;
        padding: 10px 16px;
        font-size: 14px;
        gap: 8px;
    }

    .contactSubmitBtn i {
        width: 8px;
        height: 16px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .subPage.Contact.contact_07_01,
    .subPage.Contact.contact_07_01 p,
    .subPage.Contact.contact_07_01 li,
    .subPage.Contact.contact_07_01 a,
    .subPage.Contact.contact_07_01 button,
    .subPage.Contact.contact_07_01 input,
    .subPage.Contact.contact_07_01 textarea {
        font-size: 14px;
    }

    .contactSection {
        padding: 34px 0 56px;
    }

    .contactSection__title {
        font-size: 30px;
    }

    .contactSection__desc {
        font-size: 14px;
    }

    .contactField__label {
        font-size: 16px;
    }

    .contactField__inputWrap input {
        padding: 14px 14px;
    }

    .contactField__textarea {
        height: 118px;
        padding: 14px;
    }

    .contactAgree {
        padding: 16px 0;
    }

    .contactForm__row--submit {
        margin-top: 30px !important;
    }

    .contactSubmitBtn {
        padding: 24px;
        font-size: 14px;
        gap: 6px;
    }

    .contactSubmitBtn i {
        width: 7px;
        height: 14px;
        font-size: 14px;
    }
}