@charset "utf-8";

.inner {
    max-width: 1040px;
}

/*------------ フォーム表示制御用 ------------*/
/* .input_txt, */
.preview_txt {
    text-align: center;
}

.preview_txt {
    display: none;
}

.mw_wp_form_preview .input_txt {
    display: none !important;
}

.mw_wp_form_preview .preview_txt {
    display: block !important;
}

/*------------ フォーム ------------*/
.red {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    color: #FF0000;
    padding: 0 1px;
    margin: 0 2px 0;
}

.req {
    display: inline-flex;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    color: #FF0000;
    padding: 0 1px;
    margin: 2px 0 0;
    position: relative;
}

.form_table select {
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    line-height: 1.7;
    color: #000;
    position: relative;
    letter-spacing: 0.06em;
    overflow-wrap: break-word;
    word-wrap: break-word;
    border: 1px solid #ccc;
    padding: 10px 15px;
    border-radius: 0;
}

/*--- table内 ---*/
.table_no_bg {
    margin: 0 auto 30px;
}

.table_no_bg table th {
    font-weight: 400;
    width: 26.2%;
}

.table_no_bg table td {
    letter-spacing: 0.06em;
    padding: 20px 20px 20px;
}

.mw_wp_form_preview table th,
.mw_wp_form_preview table td {
    padding: 20px 21px 20px 25px;
}

table .req:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.form_table textarea {
    display: block;
    font-family: 'Noto Sans JP', 'Open Sans', sans-serif, "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    line-height: 1.7;
    letter-spacing: 0.08em;
    width: 100%;
    border: none;
    min-height: 180px;
    padding: 11px 15px;
    resize: vertical;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

/*------------ ボタン ------------*/
#form_btn_wrap {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    max-width: 680px !important;
    width: 100%;
    margin: auto;
    justify-content: center;
    position: relative;
}

.submit_btn_box {
    position: relative;
    width: 219px;
    max-width: 100%;
    height: 58px;
}

.submit_btn {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif, "游ゴシック", "Yu Gothic", Yu Gothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.05em;
    color: #FFF !important;
    background-color: #149EE7;
    /* border-radius: 100px; */
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    max-height: 100%;
    border: none !important;
    border-radius: 5px !important;
    position: relative;
}

.submit_btn:hover {
    background-color: #1C3342;
}

.back_btn {
    font-family: 'Noto Sans CJK JP', 'Noto Sans JP', sans-serif, "游ゴシック", "Yu Gothic", Yu Gothic, "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, "ＭＳ ゴシック";
    max-width: 140px;
    width: 100%;
    background: #f7f7f7;
    display: inline-block;
    padding: 6px;
    color: #7f7f7f;
    transition: background 0.3s;
    text-decoration: none;
    position: relative;
    text-align: center;
    margin-right: 20px;
    border: 1px solid #e6e6e6;
    font-size: 100%;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    border-radius: 5px;
}

.back_btn:hover {
    background: #fff;
    border: 1px solid #e6e6e6;
    cursor: pointer;
}

.w100 {
    width: 100%;
    box-sizing: border-box;
}


#content_wrap::before {
    background-color: #fff;
}


@media screen and (max-width: 767px) {

    /*------------ フォーム ------------*/
    .red {
        font-size: 1.3rem;
    }

    .req {
        font-size: 1.3rem;
        margin: 0;
    }

    /*--- table内 ---*/
    .table_no_bg {
        margin: 22px auto 35px;
        border-top: none;
    }

    .table_no_bg table th,
    .table_no_bg table td {
        display: block;
        width: 100%;
        padding: 13px !important;
        margin-bottom: 0px;
    }

    input,
    textarea {
        font-size: 1.3rem;
    }

    /*------------ ボタン ------------*/
    #form_btn_wrap {
        max-width: none;
        flex-direction: column-reverse;
        align-items: center;
    }

    .submit_btn_box {
        height: 50px;
    }

    .submit_btn {
        font-size: 1.4rem;
    }

    .back_btn {
        margin-right: 0;
        margin-top: 20px;
        margin-bottom: 30px;
        height: 50px;
        max-width: 160px;
    }

    /*--- プレビュー時---*/
    .mw_wp_form_preview .table_no_bg {
        margin: 0 auto 35px;
    }

    .mw_wp_form_preview #form_btn_wrap {
        margin-top: 35px;
    }
}