@charset "utf-8";
/* CSS Document */

/*--form----------------------------------------------------------*/
.form_txt {
    font-size: 1.125rem;
    line-height: 1.4;
    margin-top: 30px;
}
.form_txt:first-of-type {
    margin-top: 0;
}

.form_area {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.125rem;
    line-height: 1.4;
    border-top: #000 solid 1px;
    padding-top: 20px;
    margin-top: 40px;
}

.form_area dt {
    width: 20%;
    font-weight: normal;
    padding: 10px 0;
    margin-top: 20px;
}
.form_area.conf_txt dt {
    padding: 0;
}

.form_area dd {
    width: 80%;
    margin-top: 20px;
    display: flex;
}

.form_area .error {
    margin: 0px;
    color: red;
}

.form_area dd input,
.form_area dd select,
.form_area dd textarea {
    width: 100%;
    padding: 0.5rem;
    transition: 0.3s;
    outline: none;
    border: none;
    background-color: #fff;
    box-shadow: 0 0 0 1px #fff inset;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.form_area dd select::-ms-expand {
    display: none;
}

.form_area dd input.width_s {
    width: 110px;
    margin-right: 20px;
}
.form_area dd input.width_s:last-of-type {
    margin-right: 0;
}
.form_area dd input.width_m,
.form_area dd select.width_m {
    width: 190px;
}

.form_area dd textarea {
    height: 200px;
    display: block;
}

.form_area dd input:focus,
.form_area dd select:focus,
.form_area dd textarea:focus {
    outline: 0;
    box-shadow: 0 0 0 2px rgb(200, 0, 0) inset;
}

.submit_btn_area {
    margin: 40px 0 0 20%;
    display: flex;
    justify-content: center;
}

.submit_btn {
    width: 320px;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    background-color: #000;
    color: #fff;
    position: relative;
    text-align: center;
    display: block;
}
.submit_btn:after {
    content: " ";
    width: 40px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    right: 10px;
    top: 50%;
}

.back_btn {
    width: 320px;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    background-color: #5a5a5a;
    color: #fff;
    position: relative;
    text-align: center;
    margin-right: 10px;
}
.back_btn:after {
    content: " ";
    width: 40px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    left: 10px;
    top: 50%;
}

.form_ttl {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.submit_btn.home_btn {
    margin: 0 auto;
}
.submit_btn.home_btn:after {
    right: auto;
    left: 10px;
}

@media (max-width: 768px) {
    .form_txt {
        font-size: 1rem;
        margin-top: 4vw;
    }
    .form_area {
        font-size: 1rem;
        padding-top: 2.667vw;
        margin-top: 5.333vw;
    }
    .form_area dt {
        width: 100%;
        padding: 1.333vw 0;
        margin-top: 2.667vw;
    }
    .form_area dd {
        width: 100%;
        margin-top: 0.667vw;
    }
    .form_area dd input.width_s {
        margin-right: 2.667vw;
    }
    .form_area dd input.width_m,
    .form_area dd select.width_m {
        width: 50%;
    }

    .form_area dd textarea {
        height: 20vh;
    }
    .submit_btn_area {
        margin: 5.333vw 0 0 0;
    }
    .submit_btn {
        width: 50%;
        font-size: 0.875rem;
    }
    .submit_btn:after {
        width: 5.333vw;
    }

    .back_btn {
        width: 50%;
        font-size: 0.875rem;
        margin-right: 1.333vw;
    }
    .back_btn:after {
        width: 5.333vw;
    }

    .form_ttl {
        font-size: 1.25rem;
        margin-bottom: 4vw;
    }
}
