@charset "utf-8";

/*-----------------------
    form.css
------------------------*/

/*----- form -----*/

.form_area .formWrap * {
    box-sizing: border-box;
}
.form_area-text {
    text-align: center;
}
.form_policy {
    background: #e9e9e9;
    border: 1px solid var(--text);
    margin: 6px 0 30px;
    padding: 15px 30px;
    font-size: 15px;
    color: #666;
    line-height: 2;
    height: 320px;
    overflow-y: scroll;
}
.form_policy a {
    color: var(--text);
}
.form_area .formRow {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}
.form_area .formRow.formRowCenter {
    justify-content: center;
}
.form_area .formTh {
    width: 23%;
    padding: 20px 0 20px 15px;
    border-bottom: 1px solid #6f70a5;
    color: var(--blue);
    font-size: 18px;
}
.form_area .requiredText {
    float: right;
    padding: 3px 5px;
    background: var(--orange);
    color: var(--white);
    font-size: 16px;
}
.form_area .formTd {
    width: 77%;
    padding: 6px 2px 6px 15px;
    border-bottom: 1px solid var(--text);
    font-size: 18px;
}
.form_area .formInput,
.form_area .formTextArea {
    font-size: 18px;
    font-weight: 500;
    padding: 14px 20px;
    background: #f5f5f5;
    border: 1px solid var(--text);
    width: 99.5%;
}
.form_area .formTextArea {
    height: 200px;
}
.form_area .formInput::placeholder,
.form_area .formTextArea::placeholder {
    color: #ababab;
}
.form_area .radioArea,
.form_area .checkArea {
    display: flex;
    flex-wrap: wrap;
    margin-top: 5px;
}
.form_area .radioArea .d-inline,
.form_area .checkArea .d-inline,
.form_area .radioArea .d-inline-block,
.form_area .checkArea .d-inline-block {
    padding: 12px 30px 12px 0;
}
.form_area .radioArea .d-inline-block,
.form_area .checkArea .d-inline-block {
    width: 100%;
}

.form_area .radioArea .radio,
.form_area .checkArea .checkbox {
    position: absolute;
    white-space: nowrap;
    width: 1px;
    height: 1px;
    overflow: hidden;
    border: 0;
    padding: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%); 
    margin: -1px;
}
.form_area .radioArea label,
.form_area .checkArea label {
    cursor: pointer;
    position: relative;
    padding-left: 35px;
}
.form_area .radioArea label::before,
.form_area .radioArea label::after,
.form_area .checkArea label::before,
.form_area .checkArea label::after {
    content: "";
    display: block;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    box-sizing: border-box;
}
.form_area .radioArea label::before,
.form_area .radioArea label::after {
    border-radius: 50%;
}
.form_area .radioArea label::before,
.form_area .checkArea label::before {
    background: #f5f5f5;
    border: 1px solid var(--text);
    height: 20px;
    width: 20px;
    left: 5px;
}
.form_area .radioArea label::after,
.form_area .checkArea label::after {
    background-color: var(--blue);
    opacity: 0;
    height: 16px;
    width: 16px;
    left: 7px;
}
.form_area .radioArea input:checked + label::after,
.form_area .checkArea input:checked + label::after {
    opacity: 1;
}
.form_area .selectArea {
    display: flex;
    align-items: center;
}
.form_area .selectArea .d-block {
    margin-right: 20px;    
}
.form_area .selectArea .formSelect {
    background: #fff;
    font-size: 17px;
    font-weight: 500;
    padding: 14px 20px;
    border: none;
}
.form_area .form_age {
    width: 100px;
    margin-right: 5px;
}

.form_area .privacyLabel {
    font-size: 17px;
}
.form_area .formRowCenter {
    display: flex;
    justify-content: center;
}

.form_area .formBtnTd {
    text-align: center;
}
.form_area .formBtnTd .formReset {
    display: none;
}
.form_area .formBtn {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 190px;
    margin-top: 40px;
    padding: 10px 30px;
    background: url("/system_panel/uploads/images/arrow.png") no-repeat var(--blue);
    background-size: 20px auto;
    background-position: center right 10px;
    border-radius: 5px;
    color: var(--white);
    font-size: 15px;
    cursor: pointer;
    transition: .3s;
}
.form_area .formBtn:hover {
    background-position: center right 5px;
}

@media screen and (min-width: 768px) and (max-width: 1260px){

    .form_area .formWrap {
        margin-top: 1vw;
    }
    .form_policy {
        margin: 1vw 0 3vw;
        padding: 2vw;
        font-size: 1.4vw;
        height: 30vw;
    }
    .form_area .formTh {
        padding: 2.4vw 0 2vw 1.5vw;
        font-size: 1.6vw;
    }
    .form_area .requiredText {
        font-size: 1.4vw;
    }
    .form_area .formTd {
        padding: 1vw 0 1vw 2vw;
        font-size: 1.6vw;
    }
    .form_area .formInput,
    .form_area .formTextArea {
        font-size: 1.6vw;
        padding: 1.4vw 2vw;
        width: calc(100% - 4vw);
    }
    .form_area .formTextArea {
        height: 16vw;
    }
    .form_area .radioArea .d-inline,
    .form_area .checkArea .d-inline,
    .form_area .radioArea .d-inline-block,
    .form_area .checkArea .d-inline-block {
        padding: 1.2vw 3vw 1.2vw 0;
    }

    .form_area .radioArea label,
    .form_area .checkArea label {
        padding-left: 3vw;
    }
    .form_area .radioArea label::before,
    .form_area .checkArea label::before {
        height: 2vw;
        width: 2vw;
        left: .5vw;
    }
    .form_area .radioArea label::after,
    .form_area .checkArea label::after {
        height: 1.6vw;
        width: 1.6vw;
        left: .7vw;
    }
    .form_area .selectArea .d-block {
        margin-right: 2vw;    
    }
    .form_area .selectArea .formSelect {
        font-size: 1.6vw;
        padding: 1.4vw 2vw;
    }
    .form_area .privacyLabel {
        font-size: 1.6vw;
    }

    .form_area .formBtn {
        margin-top: 4vw;
        padding: 1vw 3vw;
        background-size: 2vw auto;
        background-position: center right 1vw;
        font-size: 1.5vw;
    }
    .form_area .formBtn:hover {
        background-position: center right .5vw;
    }
    
}
@media screen and (max-width: 767px){
    
    .form_area-text {
        text-align: left;
    }
    .form_policy {
        font-size: 13px;
        padding: 4vw;
        line-height: 1.6;
        height: 240px;
    }
    .form_area .formRow {
        display: block;
    }
    .form_area .formTh {
        width: 100%;
        padding: 30px 10px 15px;
        font-size: 16px;
        border: none;
    }
    .form_area .formTd {
        width: 100%;
        padding: 0 10px 30px;
        font-size: 16px;
    }
    .form_area .formInput,
    .form_area .formTextArea {
        font-size: 16px;
        padding: 15px;
        width: 100%;
    }
    .form_area .radioArea,
    .form_area .checkArea {
        display: block!important;
    }
    .form_area .radioArea label,
    .form_area .checkArea label {
        display: block!important;
    }
    .form_area .selectArea .d-block {
        margin-right: 2vw;    
    }
    .form_area .selectArea .formSelect {
        font-size: 16px;
        padding: 15px 1.5vw;
    }
    .form_area .privacyLabel {
        font-size: 3.5vw;
    }

}


