@charset "utf-8";

#formBox {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0 0 0;
}

#formBox .formList {
    display: flex;
}

#formBox .formList ul {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#formBox .formList ul:nth-of-type(1) {
    padding-right: 3rem;
}

#formBox .formList ul:nth-of-type(2) {
    padding-left: 3rem;
}

#formBox .formList ul li {
    margin-top: 2rem;
}

#formBox .frmRow {
    width: 100%;
    margin: 0.5rem 0;
    display: flex;
    flex-direction: column;
}

#formBox .frmRow p {
    min-width: 100px;
    font-size: 0.9rem;
    color: #000;
    font-weight: 400;
    text-align: left;
    display: block;
}

#formBox .frmRow article {
    width: 100%;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
}

#formBox .frmRow article.tel {
    justify-content: space-between;
}

#formBox .frmRow article.tel input {
    margin: 0 !important;
}

#formBox .frmRow input.frmTel {
    width: 30%;
}

#formBox input.frmInput {
    font-size: 0.9rem;
    font-weight: 400;
    margin-top: 0.5rem;
    padding: 0.8rem 0;
    background-color: transparent;
    border: 0;
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 0.15);
}

#formBox input.frmInput::placeholder {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 300;
}

#formBox input.fullInput {
    width: 100%;
}

#formBox textarea.frmTextarea {
    height: 275px;
    font-size: 0.9rem;
    font-weight: 400;
    word-break: keep-all;
    margin-top: 1rem;
    padding: 0.5rem 0;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

#formBox input.frmInput:focus {
    border: 0 !important;
    box-shadow: inset 0 -1px 0 0 rgba(0, 0, 0, 1);
}

#formBox textarea.frmTextarea:focus {
    border: 0 !important;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 1);
}

#formBox .agreeFrm {
    position: relative;
    margin-top: 3rem;
    text-align: left;
}

#formBox .privacy {
    padding: 1.5rem 2rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
}

#formBox .privacy ul {
    width: 50%;
    display: flex;
    flex-direction: column;
}

#formBox .agreeFrm li {
    margin: 0.5rem 0;
    text-align: left;
}

#formBox .agreeFrm li b {
    font-size: 1rem;
    color: #1b1b1b;
    font-weight: 400;
    word-break: keep-all;
    display: block;
}

#formBox .agreeFrm li p {
    font-size: 0.9rem;
    color: #727272;
    font-weight: 400;
    word-break: keep-all;
    margin-top: 0.5rem;
    display: block;
}

#formBox .agreeFrm strong {
    font-size: 1rem;
    color: #1b1b1b;
    font-weight: 400;
    word-break: keep-all;
    margin-bottom: 0.5rem;
    display: block;
}

#formBox .agreeChk {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
}

#formBox .agreeChk li {
    display: flex;
    flex-direction: column;
}

#formBox .agreeChk li:last-of-type {
    flex-direction: row;
    gap: 0.25rem;
}

#formBox .submit {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    word-break: keep-all;
    margin-left: auto;
    padding: 0.8rem 1.5rem;
    background-color: #000;
    border: 0;
    border-radius: 0;
    outline: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#alertBox {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    z-index: 9;
}

#alertBox:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#alertBox .alert {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 1.6rem;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .15);
    transform: translate(-50%, -50%);
    z-index: 1;
}

#alertBox .alert p {
    font-size: 1rem;
    color: #212121;
    margin: 0;
}

#alertBox .alertClose {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    font-size: 1rem;
    color: #fff;
    background-color: #000;
    border-radius: 50%;
    box-shadow: 0 3px 6px -3px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 데스크탑 디바이스 (769px 이상 1200px 이하) */
@media all and (min-width:769px) and (max-width:1200px) {
    #formBox .formList ul:nth-of-type(1) {
        padding-right: 1.5rem;
    }

    #formBox .formList ul:nth-of-type(2) {
        padding-left: 1.5rem;
    }
}

/* 모바일 디바이스 (768px 이하) */
@media all and (max-width:768px) {
    #formBox {
        padding: 0 1rem;
    }

    #formBox .formList {
        flex-direction: column;
    }

    #formBox .formList ul {
        width: 100%;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
    }

    #formBox .frmRow article {
        margin-top: 1rem;
        flex-wrap: wrap;
    }

    #formBox textarea.frmTextarea {
        height: 150px;
    }

    #formBox .agreeFrm {
        margin-top: 1rem;
    }

    #formBox .privacy {
        padding: 1rem;
        flex-direction: column;
    }

    #formBox .privacy ul {
        width: 100%;
    }

    #formBox .agreeFrm li b {
        font-size: 0.9rem;
    }

    #formBox .agreeFrm li p {
        font-size: 0.85rem;
    }

    #formBox .agreeFrm strong {
        font-size: 0.9rem;
    }

    #formBox .agreeChk {
        flex-direction: column;
    }

    #formBox .agreeChk li {
        display: flex;
        flex-direction: column;
    }

    #formBox .agreeChk li:nth-of-type(2) {
        margin-top: 2rem;
        justify-content: center;
    }

    #formBox input[type="radio"]+label {
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }

    #formBox input[type="checkbox"]+label {
        font-size: 0.9rem;
    }

    #formBox .submit {
        font-size: 1rem;
        margin: 0;
        padding: 0.8rem 2rem;
        background-color: #000;
        border: 0;
        border-radius: 0;
        outline: 0;
        cursor: pointer;
        display: inline-block;
    }
}