@charset "utf-8";

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

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

.form_frame {
	padding-top: 60px;
}
.formSend {
	margin-top: 60px;
}

.form_area .formWrap * {
    box-sizing: border-box;
}
.form_area-text {
    text-align: center;
}
.form_policy {
    background: #e2e2e2;
	border: 1px solid #000;
    margin: 3px 0 30px;
    padding: 20px 30px;
    font-size: 15px;
    line-height: 2;
    height: 300px;
    overflow-y: scroll;
}
.form_policy a {
    color: #000;
}
.form_area .formRow {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}
.form_area .formRow.formRowCenter {
    justify-content: center;
}
.form_area .formTh {
    width: 20%;
    padding: 22px 0 15px 15px;
    border-bottom: 1px solid #000;
    font-size: 16px;
}
.form_area .requiredText {
    float: right;
    padding: 2px 5px;
    background: #e7c13b;
    font-size: 14px;
}
.form_area .formTd {
    width: calc(80% - 10px);
    padding: 3px 0 3px 10px;
    border-bottom: 1px solid #000;
    font-size: 17px;
}
.form_area .formInput,
.form_area .formTextArea {
    font-size: 16px;
    font-weight: 500;
    padding: 14px 20px;
	background: #f0f0f0;
    border: 1px solid #000;
    width: 99.5%;
}
.form_area .formTextArea {
    height: 200px;
}
.form_area .formInput::placeholder,
.form_area .formTextArea::placeholder {
    color: #acacac;
}
.form_area .radioArea,
.form_area .checkArea {
    display: flex;
    flex-wrap: wrap;
	padding: 8px 0;
}
.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-color: #f0f0f0;
    border: 1px solid #000;
    height: 20px;
    width: 20px;
    left: 5px;
}
.form_area .radioArea label::after,
.form_area .checkArea label::after {
    background-color: #e7c13b;
    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: 16px;
}
.form_area .formRowCenter {
    display: flex;
    justify-content: center;
}

.form_area .formBtnTd {
    text-align: center;
}
.form_area .formBtnTd .formReset {
    display: none;
}

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

	.form_frame {
		padding-top: 5vw;
	}
	.formSend {
		margin-top: 5vw;
	}

	.form_area .formWrap {
        margin-top: 1vw;
    }
    .form_policy {
        margin: 3px 0 3vw;
        padding: 2vw;
        font-size: 1.4vw;
        height: 25vw;
    }
    .form_area .formTh {
        padding: 2vw 0 1.5vw 1.5vw;
        font-size: 1.6vw;
    }
    .form_area .requiredText {
        padding: .2vw .5vw;
        font-size: 1.4vw;
    }
    .form_area .formTd {
        width: calc(80% - .75vw);
        padding: 2px 2px 2px 1vw;
        font-size: 1.6vw;
    }
    .form_area .formInput,
    .form_area .formTextArea {
        font-size: 1.6vw;
        padding: 1.4vw 2vw;
        width: 100%;
    }
    .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;
    }
    
}
@media screen and (max-width: 767px){
    
	.form_frame {
		padding-top: 5vw;
	}
	.formSend {
		margin-top: 5vw;
	}

	.form_area-text {
        text-align: left;
    }
    .form_policy {
		padding: 10px;
        font-size: 13px;
        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;
    }

}


