@charset "UTF-8";

/*-----タイトル用-----*/

#page-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#page-title h1 {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

#page-title p {
    display: flex;
    justify-content: center;
    text-align: center;
    padding-bottom: 50px;
    margin: 0 30%;
}

/*-----フォーム用-----*/

.form-blk .inner {
    max-width: 900px;
}

input#your-name,
input#furigana,
input#e-mail,
input#phone-num {
    font-size: 1.8rem;
    height: 40px;
    width: 75%;
    border: 1px solid #c2c2c2;
    padding: 10px;
    box-sizing: border-box;
}

label.your-name-c:after,
label.phone-num-c:after {
    content: "※";
    color: #f00;
    font-size: 1.4rem;
    margin: 0 0 0 5px;
}

.form-blk table {
    width: 100%;
}

.form-blk tr {
    width: 100%;
}

.form-blk th {
    width: 20%;
    padding: 0 0 50px;
    font-weight: normal;
    vertical-align: top;
}

.form-blk td {
    padding: 0 0 50px;
}

.form-blk textarea {
    font-size: 1.8rem;
    width: 95%;
    height: 300px;
    border: 1px solid #c2c2c2;
    padding: 10px;
    box-sizing: border-box;
}

/*-----送信用-----*/

.notes-item {
    display: flex;
    justify-content: center;
    text-align: center;
}

.notes-item::before {
    content: "※";
    color: #f00;
    font-size: 1.4rem;
    margin: 0 0 0 5px;
}

.notes-contents {
    display: flex;
    justify-content: center;
    text-align: center;
}


.submit-blk {
    display: flex;
    justify-content: center;
}

input#btn-submit {
    font-size: 1.6rem;
    width: 200px;
    height: 40px;
    text-align: center;
    line-height: 30px;
    color: #fff;
    background: #808080;
    border-radius: 5px;
    border: none;
    margin: 50px 0;
}

input#btn-submit:hover {
    background: #fff;
    color: #808080;
    border: solid 1px #808080;
}

/*-----入力チェック-----*/

#error_messages li {
    color: #ff0000;
}

/*-----モーダルウィンドウ-----*/

html,
body {
    height: 100%;
}

.send {
    width: 60%;
    margin: 200px auto;
    height: 500px;
    background-color: #ddd;
    border-radius: 10px;
    text-align: center;
}

.thankyou {
    color: #333;
    display: flex;
    justify-content: center;
    padding-top: 230px;
}

/*--------------------------------------
スマホ
--------------------------------------*/

@media screen and (max-width: 431px) {

    /*-----タイトル用-----*/

    #page-title p {
        margin: 0 60px;
    }

    /*-----フォーム用-----*/

    .form-blk .inner {
        width: 94%;
    }

    .form-blk form table {
        width: 100%;

    }

    .form-blk form tr {
        display: flex;
        flex-direction: column;
    }

    .form-blk form th {
        width: 100%;
        padding-bottom: 10px;
    }

    .form-blk form td {
        width: 100%;
        padding: 0 0 30px;
    }

    .form-blk form textarea {
        width: 100%;
        height: 200px;
    }

    input#your-name,
    input#furigana,
    input#e-mail,
    input#phone-num {
        width: 100%;
    }

    .notes-contents {
        width: 350px;
    }

    /*-----モーダルウィンドウ-----*/
    .thankyou {
        padding-top: 190px;
    }

}