@charset 'utf-8';
#contact_from label { margin: 0;}
#contact_from .required, textarea.required { position: relative; top: 3px; background: #fff !important; }
#contact_from .form-group{  margin: 0; width: 100%;}


#contact_from {}
#contact_from .wrap { padding: 0 0 30px;}
#contact_from .wrap label {padding: 0 40px 0 0 ;  font-size: 18px; color: #999; background: no-repeat left center; width: 250px; min-width: 250px;}

/* #contact_from .wrap1 { display: flex; justify-content: space-between; gap:20px} */
#contact_from .wrap1 .form-group { display: flex; align-items: flex-end; padding: 15px 20px; border-bottom: 1px solid #ccc; align-items: center;}
#contact_from .wrap1 .form-row { display: flex; align-items: flex-end; padding: 15px 20px; border-bottom: 1px solid #ccc; align-items: center;}
#contact_from .wrap1 .form-group label {  }
#contact_from .wrap1 .form-group label[for='con_name'] { background-image: url('/img/arpl/ico_name.png')}
#contact_from .wrap1 .form-group label[for='con_email'] { background-image: url('/img/arpl/ico_email.png')}
#contact_from .wrap1 .form-group label[for='con_phone'] { background-image: url('/img/arpl/ico_phone.png')}
#contact_from .wrap1 .form-group label + div { flex:1; padding: 0 0 0 20px;}

#contact_from .wrap2 .form-group { padding: 0 20px; border-bottom: 1px solid #ccc;  }
/* #contact_from .wrap2 .form-group label { background-image: url('/img/arpl/ico_content.png') } */
#contact_from .wrap2 .form-group label + div { padding: 20px 0; }

#contact_from .wrap3 {  }
#contact_from .wrap3 .agree-info { display: none; justify-content: center; align-items: center; position: fixed; left: 0; top: 0; bottom: 0; right: 0; padding: 20px; background: rgba(0,0,0,.1);  }
#contact_from .wrap3 .agree-info .inner { padding: 20px; background: #fff; font-size: 15px; }
#contact_from .wrap3 .form-footer {}
#contact_from .wrap3 .form-footer label { padding: 0; font-size: 18px; color: #777;  }
#contact_from .wrap3 .form-footer label b { font-weight: 500; color: #014099;}
#contact_from .wrap3 .form-footer .box a.view-agree-info {  display: inline-block; margin: 0 0 0 10px; font-size: 15px; font-weight: 500; color: #333;}
#contact_from .wrap3 .form-footer #mail_submit { display: block; width: 180px; height: 45px; font-size: 16px; color: #fff; text-align: center; line-height: 45px; border-radius: 3px; background: #014099; }


@media(max-width:991px){
    /* #contact_from .wrap1 .form-group { padding: 15px 10px;}
    #contact_from .wrap2 .form-group { padding: 0 10px;} */
    #contact_from .wrap1 { flex-wrap: wrap; gap: 0;}
    #contact_from .wrap1 .form-group:first-of-type { width: 100%;}
    #contact_from .wrap1 .form-group { width: 48%;}
}
@media(max-width:768px){
    #contact_from .wrap1 .form-group { width: 100%;}
}
@media(max-width:576px){
    #contact_from .wrap label { font-size: 14px;}
    #contact_from .wrap1 .form-group { padding: 10px 10px;}
    #contact_from .wrap2 .form-group { padding: 0 10px;}
    #contact_from .wrap3 .form-footer { flex-direction: column; align-items: center;}
    #contact_from .wrap3 .form-footer .box { padding: 0 0 20px;}
    #contact_from .wrap3 .form-footer #mail_submit { width: 160px; height: 42px; font-size: 15px; line-height: 42px;}

}
.contact-form-container {
    max-width: 1500px;
    margin: 50px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    font-family: 'Pretendard', sans-serif;
}

.contact-form-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
}

.contact-form-container p {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}
.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
}
    .form-row .checkbox-group label{font-weight: 400!important; font-size: 1rem;}

.form-group label span {
    color: #e74c3c;
}
.form-row label span {
    color: #e74c3c;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* 패딩 포함 너비 계산 */
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0,86,179,0.2);
}

.file-input {
    border: none !important;
    padding: 10px 0 !important;
}

.form-checkbox {
    margin: 20px 0;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.form-checkbox input {
    margin-right: 10px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background-color: #003d80;
}

/* 반응형 처리 */
@media (max-width: 480px) {
    .contact-form-container {
        margin: 20px;
        padding: 20px;
    }
    .quote-form-container {
        max-width: 800px;
        margin: 40px auto;
        font-family: 'Malgun Gothic', sans-serif;
        border: 1px solid #ddd;
        padding: 30px;
        background: #fff;
    }

    .form-title {
        font-size: 22px;
        color: #1a2a40;
        border-bottom: 2px solid #1a2a40;
        padding-bottom: 15px;
        margin-bottom: 0;
    }

    .form-row {
        display: flex;
        border-bottom: 1px solid #eee;
        align-items: center;
    }

    .form-label {
        width: 160px;
        padding: 20px;
        background: #f8f9fa;
        font-weight: bold;
        font-size: 14px;
    }

    .form-input {
        flex: 1;
        padding: 10px 20px;
    }

    .required { color: #e74c3c; }

    input[type="text"], select, textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }

    /* 라디오 버튼 스타일 */
    .radio-group {
        display: flex;
        gap: 15px;
    }

    .radio-group label {
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    /* 아코디언 스타일 */
    .accordion-item {
        border-bottom: 1px solid #eee;
    }

    .accordion-header {
        background: #efefef;
        padding: 15px 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: 0.3s;
    }

    .accordion-header:hover { background: #e2e2e2; }

    .accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background: #fff;
    }

    .accordion-content.active {
        max-height: 500px; /* 충분한 높이 */
    }

    .border-none { border: none !important; }
