@charset "utf-8";

/*------------ フォーム表示制御用 ------------*/
.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;
}

/*------------ 電話 ------------*/
.tel_box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 68px;
    padding: 8.7% 3.3% 8.3%;
    background: #F1F1F3;
}

.tel_box_head {
    font-size: 2.3rem;
    letter-spacing: 0.06em;
    text-align: center;
    width: 50%;
}

.tel_box_content {
    width: 50%;
    padding-left: 0;
    text-align: center;
}

.tel_box_content a {
    display: block;
    font-family: Adobe Garamond Pro;
    font-size: 3.2rem;
    text-align: center;
    font-weight: 600;
}

.tel_box_content span {
    display: block;
    font-size: 1.5rem;
    text-align: center;
}

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

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

.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;
    /* -webkit-appearance: none; */
    border-radius: 0;
}

/*--- table内 ---*/
table {
    margin: 0 auto 50px;
}

table th {
    padding: 30px 21px 20px 25px;
    width: 26.05%;
}

table td {
    letter-spacing: 0.06em;
    padding: 20px 25px 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;
}

/* table th {
	vertical-align: middle;
} */

.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;
}

/* #zipcode {
	width: 170px;
	margin: 0 0 10px 8px;
} */



/*------------ ボタン ------------*/
#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: 260px;
    max-width: 100%;
    height: 60px;
}

.submit_btn {
    border: none;

    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 6px;
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    letter-spacing: 0.06em;
    color: #FFF;
    background-color: #05618A;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all .3s ease;
    max-height: 100%;
    position: relative;
}

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

.back_btn {
    font-family: 'Noto Serif JP', '游明朝', 'Yu Mincho', YuMincho, 'Hiragino Mincho Pro', serif;
    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: 50px;
}

.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) {

    /*------------ 電話 ------------*/
    .tel_box {
        margin-bottom: 35px;
        padding: 20px;
    }

    .tel_box_head {
        font-size: 1.5rem;
        letter-spacing: 0.05em;
        text-align: center;
        width: 100%;
    }

    .tel_box_content {
        width: 100%;
        padding-left: 0;
    }

    .tel_box_content a {
        display: inline-block;
        font-size: 2.5rem;
        text-align: center;
    }

    .tel_box_content span {
        font-size: 1.3rem;
        text-align: center;
    }

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

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

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

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

    input[type="text"],
    input[type="email"],
    textarea {
        width: 100%;
    }

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

    .form_table select {
        font-size: 1.3rem;
    }

    .text_area_bottom input {
        margin-bottom: 10px;
        width: 76%;
    }

    input {
        box-sizing: border-box;
        margin-bottom: 0px;
    }



    /*------------ ボタン ------------*/
    #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: 260px;
    }

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

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