/*--------------------------------------------------------------------------*
 *  
 *  contact.css
 *  
 *  問い合わせページ用
 *
 *--------------------------------------------------------------------------*/
.contact {
    padding: 40px 0 80px 0;
}
.contact .container {
    background-color: #ffffff;
    box-shadow: 10px 10px 15px -10px #707070;
    padding: 50px 70px 80px 70px;
    max-width: 84%;
}
.form_coler_label {
    color: #ffffff;
    background-color: #2F65A2;
    border-radius: 999px;
    padding: 2px 25px;
}
.badge.form_label {
    color: #ffffff;
    background-color: #2F65A2;
    font-family: "Noto Sans JP", serif;
    font-weight: normal;
    font-size: 0.9rem;
}
.badge.required {
    color: #FF0000;
    background-color: #ffffff;
    border: #FF0000 solid 1px;
    font-family: "Noto Sans JP", serif;
    border-radius: 0;
    margin-left: 15px;
    font-weight: normal;
    font-size: 0.7rem;
}
.form-control {
    background-color: #FAFAFA;
    border: #707070 solid 2px;
    font-size: 1.0rem;
}
.custom_checkbox {
    display: flex;
    /* align-items: center; */
    text-align: center;
    justify-content: center;
    white-space: nowrap;
}
.custom_checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #767676;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s, border-color 0.3s;
    margin-top: 3px;
}
.custom_checkbox input[type="checkbox"]::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background-color: transparent;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.custom_checkbox input[type="checkbox"]:checked {
    background-color: #ffffff;
}
.custom_checkbox input[type="checkbox"]:checked::after {
    background-color: #2F65A2;
}
.custom_checkbox label {
    margin-left: 10px;
    font-size: 1.0rem;
    font-family: "Noto Sans JP", serif;
    color: #767676;
    display: flex;
    align-items: center;
    white-space: nowrap; 
}
.custom_checkbox a {
    font-size: 1.0rem;
    font-family: "Noto Sans JP", serif;
    color: #767676;
    font-weight: bolder;
    height: auto;
}
.btn_submit {
    background-color: #2F65A2;
    color: #fff;
    border: #2F65A2 solid 2px;
    display: block;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
    font-family: "Noto Sans JP", serif;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all .3s ease-out;
}
.btn_submit::after {
    content: '';
    border: 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%) rotate(45deg);
}
.btn_submit:hover {
    background-color: #fff;
    color: #2F65A2;
    border: #2F65A2 solid 2px;
    opacity: 0.7;
    -webkit-opacity: .7;
    -moz-opacity: .7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
.btn_submit:hover:after {
    border-top: solid 2px #2F65A2;
    border-right: solid 2px #2F65A2;
}
.btn_submit:disabled {
    background-color: #2F65A2;
    color: #fff;
    border: #2F65A2 solid 2px;
    opacity: 0.5;
    cursor: not-allowed;
}
.error {
    font-family: "Noto Sans JP", serif;
    color: #FF0000;
    font-weight: normal;
    font-size: 0.8rem;
}
.form-control.error {
    border: #FF0000 solid 2px;
}
/* =========================================================
 * 確認ページ
========================================================= */
.btn_back {
    background-color: #9e9e9e;
    color: #fff;
    border: #9e9e9e solid 2px;
    display: block;
    position: relative;
    text-align: center;
    text-decoration: none;
    width: 100%;
    font-family: "Noto Sans JP", serif;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all .3s ease-out;
}
.btn_back::after {
    content: '';
    border: 0;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    display: inline-block;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%) rotate(-135deg);
}
.btn_back:hover {
    background-color: #fff;
    color: #9e9e9e;
    border: #9e9e9e solid 2px;
    opacity: 0.7;
    -webkit-opacity: .7;
    -moz-opacity: .7;
    filter: alpha(opacity=70);
    -ms-filter: "alpha(opacity=70)";
}
.btn_back:hover:after {
    border-top: solid 2px #9e9e9e;
    border-right: solid 2px #9e9e9e;
}
.form-control-plaintext {
    font-weight: normal;
    font-family: "Noto Sans JP", serif;
    font-size: 1.0rem;
    color: #707070;
}
/* =========================================================
 * thanksページ
========================================================= */
.contact_thanks {
    padding: 40px 0 40px 0;
}
.contact_thanks .container {
    background-color: #ffffff;
    box-shadow: 10px 10px 15px -10px #707070;
    padding: 50px 70px 150px 70px;
    max-width: 84%;
}
.contact_thanks_text i {
    font-size: 4.6rem;
}
.contact_thanks_text  {
    font-size: 1.0rem;
    line-height: 1.6;
}

/* 768px以下 */
@media (max-width: 767.98px) {
    .contact {
        padding: 40px 0 40px 0;
    }
    .contact .container {
        padding: 40px 25px 60px 25px;
        max-width: 88%;
    }
    .contact_thanks {
        padding: 40px 0 40px 0;
    }
    .contact_thanks .container {
        padding: 40px 30px 100px 30px;
        max-width: 88%;
    }
    .contact_thanks_text i {
        font-size: 2.2rem;
    }
    .contact_thanks_text_sm {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    .custom_checkbox label {
        display: block;
        font-size: 0.9rem;
    }
    .custom_checkbox a {
        font-size: 0.9rem;
    }
    .policy_noline_text {
        line-height: 2.0;
    }
    .custom_checkbox input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 3px;
    }
    .custom_checkbox input[type="checkbox"]::after {
        width: 10px;
        height: 10px;
    }
    .form-control-plaintext {
        font-size: 0.9rem;
    } 
}

/* 幅が 992px以下 */
@media (max-width: 991.98px) {
    .sp {
        display: block;
    }

}

/* 幅が 768px以上 992px以下 */
@media (min-width: 768px) and (max-width:991.98px) {
    .contact .container {
        padding: 40px 20px 60px 20px;
        max-width: 88%;
    }
    .contact_thanks_text i {
        font-size: 3.4rem;
    }
}

/* 幅が 992px以上 1400px以下であれば */
@media (min-width: 992px) and (max-width:1399.98px) {
    .contact_thanks .container {
        padding: 40px 50px 100px 50px;
        max-width: 88%;
    }
}