/*-- 問い合わせフォーム --*/
#form.sub-page_top {
    background-image: url(../images/company/company_header_bg.jpg);
    background-position: top right;
}
section {
    width: 750px;
    margin: 0 auto;
    padding: 100px 0;
}
/*フォーム入力フロー*/
.step_bar {
    width: 100%;
    padding-bottom: 40px;
}
.step_bar.SP_ver {
    display: none;
}
.step_bar ul {
    list-style-type: none;
    display: flex;
    width: 100%;
    overflow: hidden;
    border: 1px solid #9c754a;
    border-radius: 3px;
    box-sizing: border-box;
    padding-inline-start: 0;
}
.step_item {
    flex: 1;
    position: relative;
    background: #fff;
    padding: 15px 0.1em 15px 1em;
    color: #9c754a;
    font-size: 18px;
    text-align: center;
    min-width: 70px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.step_item::before, .step_item::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
}
.step_item::before {
    top: -1px;
    right: -0.9em;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 25px 0 25px 1em;
    z-index: 11;
}
.step_item::after {
    top: -1px;
    right: -1em;
    border-style: solid;
    border-color: transparent transparent transparent #9c754a;
    border-width: 25px 0 25px 1em;
    z-index: 10;
}
.step_item.current_step {
    /* color: white;
    background: #469037; */
    background: #9c754a;
    font-weight: bold;
    color: #fff;
    font-weight: 600;
}
.step_item.current_step::before {
    z-index: 11;
    border-color: transparent transparent transparent #9c754a;
}
/*注意事項*/
.precaution {
    overflow-y: scroll;
    height: 300px;
    padding: 10px 20px;
    border: solid 1px gray;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 30px;
}
.precaution h3 {
    text-align: center;
}
div.note {
    font-size: 13px;
    color: red;
}
.mw_wp_form .error {
    white-space: nowrap;
}
/*フォーム*/
.contact_form {
    padding: 36px;
    padding-top: 10px;
    background: #efefef;
    border-radius: 10px;
    margin-top: 30px;
}
/*質問項目*/
.contact_form p {
    margin: 0;
}
.contact_form .label {
    margin: 22px 0 8px;
    font-weight: bolder;
}
.contact_form p br {
    display: none;
}
/*必須項目ラベル*/
.must::after {
    content: '必須';
    padding: 1px 8px;
    font-size: 10px;
    color: #ffffff;
    /* background: rgb(255, 51, 51); */
    background: #b98434;
    border-radius: 3px;
    margin-left: 10px;
}
/*入力欄*/
input, select, textarea {
    padding: 10px;
    border-radius: 4px;
    border: solid 1px;
    width: 100%;
    box-sizing: border-box;
    /* background: #f6f6f6; */
    border: solid 2px #b8bfb8;
}
.medium {
    width: calc(50% - 4px - 0.5rem);
}
.small {
    width: 30%;
    min-width: 165px;
}
.small2 {
    width: 15%;
    min-width: 76px;
}
.ss {
    width: 10%;
    min-width: 60px;
}
#lname, #lname_ruby {
    margin-right: 1rem;
}
input[type="radio"] {
    padding: initial;
    width: initial;
    width: auto;
}
select, input[type="radio"] {
    cursor: pointer;
}
textarea {
    line-height: 1.5;
}

/*住所*/
label {
    margin-right: 0.5rem;
    padding: 10px 0;
}
.pref_container, .work_container {
    padding-left: 20px;
}
.pref_container br, .work_container br {
    display: none;
}
.block {
    display: block;
}

/*プライバシーポリシー*/
.policy_wrap {
    overflow-y: scroll;
    height: 200px;
    border: solid 1px gray;
    border-radius: 4px;
    padding: 10px 5%;
    margin-top: 50px;
}
.policy_wrap h4, .policy_wrap h3 {
    text-align: center;
}
.policy_wrap h4 br {
    display: none;
}
.policy_wrap h4 .br {
    display: block;    
}
.policy_wrap ol {
    padding-inline-start: 20px;
}
.policy_wrap .policy_item {
    margin-bottom: 15px;
}
.policy_wrap .policy_item ul {
    padding-inline-start: 20px;
}
.bold {
    font-weight: bold;
}
.policy_wrap p, .policy_wrap li {
    font-size: 13px;
}

.privacy_contact {
    padding: 13px;
    margin: 0;
    background-color: #efef;
    border-radius: 6px;
}
.privacy_contact span {
    font-size: 25px;
}
/* .privacy_contact h3 br {
    display: none;
}
.privacy_contact_subwrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.tel_wrap {
    font-size: 30px;
    padding: 30px;
}
.recept_wrap p {
    font-size: 17px;
    margin: 0;
} */
.submit_consent {
    text-align: center;
    margin-top: 20px;
}
.submit_consent p br {
    display: none;
}
.mw_wp_form_confirm .submit_consent p br {
    display: block;
}
/*送信ボタン*/
input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    /* padding: 1.5vw 6.5vw; */
    width: initial;
    width: auto;
    padding: 20px 65px;
    color: white;
    background: #095133;
    border: none;
    font-size: 15px;
    margin: 40px 0;
}
input[name="submitBack"] {
    background: #a0a0a0;
}
input[type="submit"]:hover {
    filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7; 
}
/*注記*/
span.note {
    font-size: 13px;
    font-weight: initial;
}

/*-- 確認画面・完了画面 --*/
.confirm_show,
.complete_show,
.mw_wp_form_confirm .input_show,
.mw_wp_form_complete .input_show {
    display: none;
}
.mw_wp_form_confirm .confirm_show,
.mw_wp_form_complete .complete_show {
    display: inline-block;
}

.caption {
    text-align: center;
}
.mw_wp_form_confirm .label,
.mw_wp_form_confirm .input {
    display: inline-block;
}
.mw_wp_form_confirm .label.input_show,
.mw_wp_form_confirm .input.input_show {
    display: none;
}
.mw_wp_form_confirm .format,
.mw_wp_form_confirm .must::after {
    display: none;
}
.mw_wp_form_confirm .br.confirm_show {
    display: block;
    line-height: 0;
}
.mw_wp_form_confirm .pref_container {
    display: inline-block;
    padding-left: 0;
}
.mw_wp_form_confirm .post {
    padding-right: 10px;
}
.mw_wp_form_complete p {
    text-align: center;
}
@media screen and (max-width: 780px) {
    section {
        width: 90%;
        padding-top: 60px;
    }
    .step_item {
        font-size: 15px;
    }
    #lname, #lname_ruby {
        margin-right: 0.25rem;
    }
    .medium {
        width: calc(50% - 4px - 0.125rem);
    }
    .recept_wrap p {
        font-size: 15px;
    }
    .tel_wrap {
        font-size: 20px;
    }
}
@media screen and (max-width: 600px) {
    .privacy_contact_subwrap {
        flex-direction: column;
    }
    .tel_wrap {
        padding: 20px;
    }
}
@media screen and (max-width: 480px) {
    body {
        font-size: 13px;
    }
    .step_item {
        font-size: 13px;
        padding: 15px 0.1em 15px 0.8em;
    }
    .step_item::before, .step_item::after {
        border-width: 23px 0 23px 1em;
    }
    .contact_form {
        padding:10px 10px 20px ;
    }
    .submit_consent span.note {
        text-align: left;
    }
    /*submitボタン*/
    input[type="submit"] {
        padding: 12px 40px;
        font-size: 13px;
    }
    .mw_wp_form_complete p {
        text-align: left;
    }
    .mw_wp_form_complete .step_bar {
        padding-bottom: 20px;
    }
}
@media screen and (max-width: 400px) {
    .step_bar.wide_ver {
        display: none;
    }
    .step_bar.SP_ver {
        display: block;
    }
    .privacy_contact h3 br {
        display: block;
    }
    .tel_wrap {
        padding: 10px 0 20px;
    }
    input, select, textarea {
        padding: 7px;
    }
}
@media screen and (max-width: 350px) {
    .mwform-tel-field input[tyoe="text"] {
        width: 60px;
    }
    .recept_wrap p {
        font-size: 13px;
    }
}