@charset "UTF-8";

/***

問い合わせページのcss

***/

.inquiry_wrap {
    width: 1000px;
    margin: 0 auto;
    background: #fff;
    border: 5px solid #f0f0f0;
    border-radius: 10px;
    padding: 50px;
    box-sizing: border-box;
    margin-bottom: 100px;
}

.inquiry_intro {
    padding: 0 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 70px;
}

.inquiry_intro p {
    margin-bottom: 25px;
}

.inquiry_intro span {
    font-size: 14px;
    line-height: 23px;
    color: #888;
    display: block;
}

/*form*/
.inquiry_form {
    width: 800px;
    margin: 0 auto;
}

.form_group {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 40px;
}

.form_label {
    width: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 7px;
    font-weight: bold;
}

.form_label .required {
    width: 50px;
    text-align: center;
    line-height: 30px;
    background: #cc2515;
    color: #fff;
    border-radius: 18px;
    font-size: 14px;
    font-weight: normal;
}

.form_input,
.form_textarea {
    width: 550px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    font-size: 16px;
    line-height: 27px;
    border-radius: 5px;
    padding: 8px 20px;
    box-sizing: border-box;
    font-family: "Noto Sans JP", "MS PGothic", sans-serif;
}

.form_input:focus-visible,
.form_textarea:focus-visible {
    outline: none;
    border: 1px solid #2296DE;
    background: #fff;
}

.form_checkbox {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 550px;
}

.wpcf7-list-item {
    margin: 0 40px 0 0 !important;
    padding: 10px 0;
    height: 25px;
}

.wpcf7-list-item>label {
    display: flex;
    align-items: center;
}

.wpcf7-list-item>label:hover {
    cursor: pointer;
    color: #555;
}

.wpcf7-list-item input[type="checkbox"] {
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 25px;
    height: 25px;
    background: #f5f5f5;
    margin: 0 7px 0 0;
    appearance: inherit;
    /*チェックボックスのcssをなくす*/
    position: relative;
}

.wpcf7-list-item input[type="checkbox"]:hover {
    cursor: pointer;
}

.wpcf7-list-item input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    display: block;
    box-sizing: border-box;
    width: 18px;
    height: 9px;
    margin-top: -7px;
    top: 50%;
    left: 3px;
    transform: rotate(-45deg);
    border-bottom: 3px solid;
    border-left: 3px solid;
    border-color: #2296DE;
}

/***inquiry_privacy/recaptcha***/
.inquiry_privacy,
.inquiry_recaptcha {
    text-align: center;
    padding: 20px 0;
}

.inquiry_privacy {
    border-top: 1px solid #ccc;
    padding-top: 60px;
    margin-top: 20px;
}

.inquiry_recaptcha p {
    font-size: 13px;
    line-height: 22px;
    color: #888;
}

.inquiry_privacy a,
.inquiry_recaptcha a {
    color: #2296DE;
    text-decoration: underline;
    transition: all 0.3s;
}

.inquiry_privacy a:hover,
.inquiry_recaptcha a:hover {
    text-decoration: none;
}

/***inquiry_btn***/
.inquiry_btn {
    width: 300px;
    height: 70px;
    margin: 25px auto;
    position: relative;
    background: #CC2515;
    border-radius: 5px;
}

.inquiry_btn i {
    color: #FFF;
    font-size: 20px;
    position: absolute;
    top: 27px;
    right: 92px;
    z-index: 10;
}

.inquiry_btn i:hover {
    cursor: pointer;
}

.inquiry_btn input[type="submit"] {
    width: 300px;
    height: 70px;
    background: #CC2515;
    color: #FFF;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    padding: 0;
    padding-right: 20px;
    font-family: "Noto Sans JP", "MS PGothic", sans-serif;
    font-size: 20px;
    line-height: 26px;
    transition: all 0.3s;
}

.inquiry_btn:hover input[type="submit"] {
    background: #B91D0E;
    cursor: pointer;
}

.wpcf7-spinner {
    display: none !important;
}

/***response***/
.wpcf7-response-output {
    width: 800px;
    margin: 0 auto !important;
    text-align: center;
    color: #ff0000;
    border: 2px solid #ff0000 !important;
}

.wpcf7-not-valid-tip {
    color: #ff0000 !important;
    font-size: 14px !important;
}

.wpcf7-response-output:empty,
.screen-reader-response {
    visibility: hidden;
    width: 0;
    height: 0;
    border: none;
    padding: 0;
    margin: 0;
}

/*thanks*/
.inquiry_thanks h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.inquiry_thanks p {
    display: block;
    margin-bottom: 40px;
}

.inquiry_thanks a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    border-radius: 25px;
    line-height: 47px;
    background: #2296DE;
    color: #fff;
}

.inquiry_thanks a:hover {
    background: #2672c8;
}

/***privacy***/
.privacy_wrap p {
    margin-bottom: 40px;
}

.privacy_wrap h3 {
    margin-bottom: 10px;
}

.privacy_wrap a {
    display: block;
    color: #2296DE;
    text-decoration: underline;
}

.privacy_wrap a:hover {
    text-decoration: none;
}





/*
SP用
*/
@media screen and (max-width: 767px) {
    .inquiry_wrap {
        margin: 0 auto;
        border: 4px solid #f0f0f0;
        padding: 20px 5%;
        margin-bottom: 40px;
        width: 94%;
    }

    .inquiry_intro {
        padding: 0 0 25px;
        margin-bottom: 35px;
    }

    .inquiry_intro p {
        margin-bottom: 15px;
    }

    .inquiry_intro span {
        font-size: 13px;
        line-height: 22px;
    }

    /***form***/
    .inquiry_form {
        width: 100%;
    }

    .form_group {
        padding-bottom: 20px;
        flex-wrap: wrap;
    }

    .form_label {
        width: 100%;
        margin-bottom: 5px;
        font-size: 16px;
    }

    .form_label .required {
        width: 55px;
        border-radius: 15px;
    }

    .form_input,
    .form_textarea {
        width: 100%;
        padding: 8px 3%;
    }

    .form_checkbox {
        width: 100%;
    }

    .wpcf7-list-item {
        padding: 7px 0;
    }


    /***inquiry_privacy/recaptcha***/
    .inquiry_privacy,
    .inquiry_recaptcha {
        padding-bottom: 25px;
    }

    /***inquiry_btn***/
    /*送信ボタン用リセットcss*/
    input[type="submit"] {
        -webkit-appearance: none;
        border-radius: 0;
    }

    .inquiry_btn {
        width: 85%;
        height: 65px;
        margin: 20px auto 50px;
    }

    .inquiry_btn i {
        margin-right: 10px;
        top: 24px;
        right: 25%;
        z-index: 10;
        font-size: 18px;
    }

    .inquiry_btn input[type="submit"] {
        width: 100%;
        height: 65px;
        padding-right: 10%;
        font-size: 18px;
        line-height: 27px;
    }


    /***response***/
    .wpcf7-response-output {
        text-align: left;
        width: 90%;
    }


    /*thanks*/
    .inquiry_thanks h3 {
        margin-bottom: 10px;
    }

    .inquiry_thanks p {
        margin-bottom: 20px;
    }

    .inquiry_thanks a {
        width: 120px;
        line-height: 41px;
        margin: 0 auto;
    }

    /***privacy***/
    .privacy_wrap p {
        margin-bottom: 30px;
        font-size: 14px;
    }



}