@charset "UTF-8";

/* --------------------------------------
お問い合わせ
---------------------------------------*/
.mail_wrap {
    width: 100%;
}

/* --------------------------------------
お問い合わせフォーム
---------------------------------------*/
.cform_wrap {
    width: 800px;
    margin: auto;
}
.cform tr {
    display: flex;
    justify-content: space-between;
    margin: 30px 0;
}
.cform th {
    font-size: 16px;
    height: 40px;
    width: 30%;
    /*変なところで改行される場合はここの数字を変更します。*/
    font-weight: 500;
    text-align: left;
    line-height: 40px;
}
.mw_wp_form_confirm .cform tr {
    border-bottom: 1px dotted #505050;
    padding-bottom: 1rem;
}
/* th必須項目 */
span.req_item::before {
    content: "必須";
    display: inline;
    font-size: 0.8rem;
    padding: 3px;
    background-color: #e78054;
    color: #fff;
    margin-left: 0.5rem;
}
.cform td {
    width: 70%;
    font-size: 16px;
    line-height: 40px;
}
.cform td p {
    font-size: 12px;
    line-height: 40px;
}
.cform {
    width: 100%;
    margin: auto;
}
.cform [type=submit] {
    display: inline-block;
    font-size: 20px !important;
    padding: 10px 30px;
    text-decoration: none;
    background: #ff8f00;
    color: #FFF;
    border-bottom: solid 4px #B17C00;
    border-radius: 3px;
}
input[type="submit"] {
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.cform option,
.cform input[type=text],
.cform input[type=email] {
    width: calc(100% - 20px);
    height: 40px;
    border: none;
    background-color: #fff;
    border: #999 1px solid;
    padding: 0 10px;
    font-size: 16px;
}
input.post_tel {
    width: 100px !important;
    border: none;
    background-color: #fff;
    border: #999 1px solid;
}
input.zip {
    width: 200px !important;
    border: none;
    background-color: #fff;
    border: #999 1px solid;
}
.cform textarea {
    width: calc(100% - 20px);
    border: none;
    background-color: #fff;
    border: #999 1px solid;
    font-size: 16px;
    padding: 10px;
}
.post_select {
    width: 100%;
    padding: 1px 2px;
    height: 40px;
    font-size: 16px;
    font-weight: 500;
    padding: 0 10px;
    border: none;
    background-color: #fff;
    border: #999 1px solid;
}
.post_select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/1697571/chevron-down.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    color: #505050;
}
.required-srt {
    font-size: 12pt;
    padding: 5px;
    background: #ce0000;
    color: #fff;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
}

.mw_wp_form_input .confirm {
    display: none;
}
.mw_wp_form_confirm .input_show {
    display: none;
}
@media only screen and (max-width:767px) {
    .cform_wrap {
        width: 100%;
    }
    .cform tr {
        display: block;
        justify-content: space-between;
        margin: 30px 0;
    }
    .cform th {
        line-height: 2rem;
    }
    .cform th,
    .cform td {
        width: 100%;
        height: auto;
        display: block;
        border-top: none;
        text-align: left;
    }
    .cform th.sp_hidden {
        display: none;
    }
    input.post_tel {
        width: 20% !important;
    }
}

/* チェックボタン位置調整 */
input.question {
    vertical-align: initial !important;
}
/* ラジオボタン調整 */
.mwform-radio-field input {
    height: auto;
    vertical-align: initial !important;
}
/* ラジオボタン横並び調整 */
.mw_wp_form .vertical-item {
    display: initial !important;
}
/* ラジオボタン横並び調整 */
span.mwform-checkbox-field-text {
    vertical-align: middle;
}
/* プレースホルダー色 */
::placeholder {
    color: #B3B3B3;
}
.contact_mes {
    width: 100%;
    padding: 2rem;
    box-sizing: border-box;
    background-color: #fcffcb;
    border-radius: 10px;
}
@media only screen and (max-width:520px) {
    .contact_mes {
        padding: 1rem;
    }
}

a.link_prv {
    color: #505050;
    text-decoration: underline;
}

/* 送信確認 */
td.policy_mes {
    width: 100%;
    line-height: 150%;
    font-size: 1rem;
}
td.policy_mes a {
    color: #2760BE;
    text-decoration: underline;
}
p.riyokiyaku_ok {
    font-size: 1rem;
}
/* 入力欄横並び設定 */
td.form_flex {
    display: flex;
    flex-wrap: wrap;
}
/* 入力欄横並び設定 ラジオボタン位置調整 */
.mw_wp_form .vertical-item+.vertical-item {
    margin-top: 0 !important;
}
@media only screen and (max-width:520px) {
    td.form_flex {
        display: block;
        flex-wrap: wrap;
    }
}
/* 入力欄横幅調整 */
.width180 {
    width: 180px !important;
    margin-right: 1rem;
}
@media only screen and (max-width:520px) {
    .width180 {
        width: 100% !important;
        margin-right: 0;
    }
}

/* --------------------------------------
お問い合わせフォームサンクスページ
---------------------------------------*/
.contact_btn_wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    gap: 1rem;
}
.submit-btn input,
.send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 60px;
    padding: 1rem 0;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 400;
    background-color: #FF8600;
    border: #FF8600 1px solid;
    color: #fff !important;
    transition: 0.5s;
    font-family: FontAwesome;
}
.submit-btn input:hover,
.send-btn:hover {
    background: #fff;
    color: #FF8600 !important;
}
.submit-btn-bk input {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 250px;
    height: 60px;
    padding: 1rem 0;
    box-sizing: border-box;
    font-size: 1rem;
    font-weight: 400;
    background-color: #fff;
    border: #505050 1px solid;
    color: #505050 !important;
    transition: 0.5s;
    font-family: FontAwesome;
}
.submit-btn-bk input:hover {
    background: #505050 !important;
    color: #fff !important;
}
@media only screen and (max-width:767px) {
    .submit-btn input,
    .send-btn {
        width: 45vw;
        max-width: 250px;
    }
    .submit-btn-bk input {
        width: 45vw;
        max-width: 250px;
    }
}


/* --------------------------------------
お問い合わせフォームサンクスページ
---------------------------------------*/
/* ホームに戻るボタン位置調整 */
.send-top-btn {
    text-align: center;
}