@charset "UTF-8";

/*================================================
　　お問合せ画面
================================================*/


/*inputスタイル*/

input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

input[type="checkbox"]:checked::before {
    content: '\f00c';
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #0077ff;
}

input,
textarea {
    font-family: inherit;
    font-size: 100%;
}

#contact_page {
    margin-top: 120px;
}

#contact_page .page_title {
    text-align: center;
    margin-bottom: 60px;
}

#contact_page .page_title h2 {
    font-size: 2.8em;
    color: #3c3c3c;
    -webkit-text-fill-color: #3c3c3c;
}

#contact_page .page_title h2 span {
    display: block;
    font-size: 0.7em;
    font-weight: bold;
    color: #0077ff;
    margin-top: 3px;
}

#contact_page form img {
    width: 100px;
}

#contact_page form .form_area {
    width: 630px;
    background: #f7f7f7;
    border-radius: 10px;
    margin: 20px auto;
    padding: 30px 60px;
}

#contact_page form div.form_area {
    position: relative;
}

#contact_page form div.form_area img {
    position: absolute;
    top: -70px;
    right: 20px;
}

#contact_page .btn_area {
    text-align: center;
    margin: 40px 0 100px;
}

#contact_page form ul li {
    margin: 20px 0;
}

#contact_page label {
    display: block;
    font-weight: bold;
    margin-bottom: 2px;
}

#contact_page form label span {
    font-size: 0.9em;
    letter-spacing: 3px;
    color: #fff;
    background: #50b0ff;
    border-radius: 15px;
    padding: 2px 10px;
}

#contact_page form input,
#contact_page form textarea {
    width: 100%;
    height: 34px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#contact_page form input:focus,
#contact_page form textarea:focus {
    outline: none;
    border-color: #0077ff;
    -webkit-box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
    box-shadow: inset 0 1px 1px rgb(0 0 0 / 8%), 0 0 8px rgb(102 175 233 / 60%);
}

#contact_page form textarea {
    width: 100%;
    height: 100px;
}


/*エラー時のテキスト色指定*/

#contact_page form ul li span strong {
    font-size: 0.8em;
    color: #e3342f;
    width: 100%;
    float: left;
}


/*エラー時のテキストボックスborder色指定*/

#contact_page form ul li input.is-invalid {
    border-color: #e3342f;
    box-shadow: 0 0 0 0.1rem rgb(227 52 47 / 25%);
}


/*placeholderのテキストカラー*/

#contact_page form input::placeholder,
#contact_page form textarea::placeholder {
    color: #e2e3e4f3;
}


/*ボタン装飾*/

#contact_page form button {
    font-weight: bold;
    border-radius: 100vh;
    color: #fff;
    background-image: -webkit-linear-gradient(120deg, #0077ff 0%, #00ccff 100%);
    background-image: linear-gradient(120deg, #0077ff 0%, #00ccff 100%);
    width: 300px;
    height: 42px;
    font-size: 16px;
    margin: 20px 0;
}

#contact_page form button:hover {
    /* background-image: -webkit-linear-gradient(120deg, #e6e6e6 0%, #e6e6e6 100%);
    background-image: linear-gradient(120deg, #e6e6e6 0%, #e6e6e6 100%); */
    background: #fff;
    border: #0077ff solid 2px;
    color: #0077ff;
}

.sweet-alert h2 {
    -webkit-text-fill-color: #575757;
}


/*プライバシーポリシーに同意する*/

#contact_page form .privacy_policy {
    align-items: center;
    font-size: 16px;
}

#contact_page form .privacy_policy input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: #3c3c3c solid 1px;
    background-color: #fff;
}

#contact_page form .privacy_policy a {
    color: #0077ff;
    text-decoration: underline;
    margin-left: 5px;
}

@media screen and (max-width: 800px) {
    #contact_page {
        margin-top: 112px;
    }
    #contact_page form .form_area {
        width: 85%;
        padding: 30px 4%;
    }
}

@media screen and (max-width: 450px) {
    #contact_page form img {
        width: 90px;
    }
    #contact_page form div.form_area img {
        top: -63px;
    }
    #contact_page form .privacy_policy {
        font-size: 13px;
    }
}
