
.contact-area {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 6rem;
    margin-bottom: 18rem;
}
.contact-form {
    flex: 1 1 0;
}
.contact-img {
    overflow: hidden;
    flex: 0 0 490px;
    position: relative;
    border-radius: 1rem;
    background: #ccc url(/images/content/contact_img.jpg) no-repeat center center;
    background-size: cover;
}
.contact-img .contact-msg {
    position: absolute;
    top: 6rem;
    left: 6rem;
    color: #111;
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.5;
}
.contact-form form {
    border-top: 1px solid #e8e8e8;
    padding-top: 55px;
}
.contact-form .form-row {
    margin: 0;
    margin-bottom: 3.7rem;
}
.contact-form .form-label {
    display: block;
    margin-bottom: 10px;
    color: #111;
    font-size: 2.4rem;
    font-weight: 600;
}
.contact-form .required {
    margin-right: 4px;
    color: #ed1c24;
}
.contact-form .form-field {
    width: 100%;
}
.contact-form .input-text,
.contact-form .input-textarea,
.contact-form .input-select {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    background: #f7f2e6;
    font-size: 1.6rem;
    box-sizing: border-box;
    outline: none;
    font-family: inherit;
}
.contact-form .input-text:focus,
.contact-form .input-textarea:focus {
    box-shadow: 0 0 0 1px #ddd;
    background: #f9f5ec;
}
.contact-form .email-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-form .email-group .input-text {
    flex: 0 0 31.8%;
}
.contact-form .email-at {
    font-size: 1.6rem;
    color: #777;
}
.contact-form .select-wrap {
    flex: 0 0 32%;
}
.contact-form .input-select {
    width: 100%;
    padding-right: 34px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #eee;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("/images/common/select_arrow.gif");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    color: #777;
}
.contact-form .input-textarea {
    min-height: 220px;
    resize: vertical;
}
.contact-form .form-footer {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
}

/* 버튼 */
.contact-form .btn-submit {
    min-width: 160px;
    height: 60px;
    padding: 0 15px;
    border-radius: 10px;
    border: 2px solid #111;
    background: #111;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.s ease-in-out;
}
.contact-form .btn-submit:hover {
    border: 2px solid #444;
    background: #fff;
    color: #111;
}

/* ────────────────────── 반응형 ────────────────────── */
/* Tablet */
@media only screen and (max-width: 1023px) {
    .contact-area {
        flex-direction: column-reverse;
        gap: 0;
        margin-bottom: 10rem;
    }
    .contact-img {
        z-index: 1;
        flex: auto;
        height: 24rem;
        border-radius: 1rem 1rem 0 0;
        background: url(/images/content/contact_img_m.jpg) no-repeat center center / cover;
        text-align: center;
    }
    .contact-img::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            0,
            rgba(255, 255, 255, 1) 0%,
            rgba(248, 244, 234, 0.4) 70%,
            rgba(245, 241, 230, 0.2) 100%
        );
    }
    .contact-img .contact-msg {
        left: 50%;
        width: 100%;
        font-size: 1.8rem;
        line-height: 1.3;
        transform:translateX(-50%);
    }

    .contact-form form {
        padding-top: 4rem;
        border-top: 0;
    }
}

/* Mobile */
@media only screen and (max-width: 767px) {
    .contact-area {
        padding-bottom: 4rem;
        border-radius: 0 0 14px 14px;
        box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.1);
    }
    .contact-form {
        width: 96%;
        margin: 0 auto;
    }
    .contact-form .form-row {
        margin-bottom: 2rem;
    }
    .contact-form .email-group {
        gap: 4px;
    }
    .contact-form .email-group .input-text {
        flex: 0 0 calc((100% - 31px) / 3)
    }
    .contact-form .input-text, 
    .contact-form .input-textarea, 
    .contact-form .input-select {
        padding: 12px 8px;
    }
    .contact-form .input-select {
        padding: 12px 8px;
        padding-right: 17px;
        background-position: right 8px center;
    }
    .contact-form .form-footer {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    .contact-form .btn-submit {
        height: 50px;
    }
    .contact-img {
        border-radius: 14px 14px 0 0;
    }
}
@media only screen and (max-width: 480px) {
}