@charset "UTF-8";


/* pc */
@media screen and (min-width: 768px) {
    .under_faq_main::after{
        content: "";
        background-image: url(../img/under_contact_img01.jpg);
        width: 804px;
        height: 399px;
        position: absolute;
        top: 0;
        left: 322px;
    }
    .under_contact_txt01{
        margin: 200px auto 80px;
    }
    .under_contact_txt01 p{
        color: #3F210E;
        font-size: 16px;
        line-height: 205%;
        text-align: center;
    }
    .under_contact_txt01 p span{
        color: #950000;
    }
    .wpcf7{
        width: 820px;
        margin: 0 auto 150px !important;
    }
    #form1 dl{
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    } 
    #form1 dl dt{
        width: calc(25% - 10px);
        margin-bottom: 35px;
        padding-top: 18px;
        padding-left: 10px;
        color: #3F210E;
    }
    #form1 dl dt .kome{
        color: #950000;
    }
    #form1 dl dd{
        width: calc(75% - 10px);
        margin-bottom: 35px;
        padding-right: 10px;
    }
    #form1 dl dd label span select{
        width: calc(100% - 22px);
        height: 48px;
        border: solid 1px #735D50;
        border-radius: 0px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding: 7px 10px;
        color: #000;
        font-size: 16px;
        cursor: pointer;
    }
    #form1 dl dd label span.menu-314{
        position: relative;
    }
    #form1 dl dd label span.menu-314::after{
        content: "";
        background-image: url(../img/under_contact_selectarrow.png);
        position: absolute;
        width: 20px;
        height: 11px;
        right: 15px;
        top: 3px;
    }
    #form1 dl dd label span input{
        width: calc(100% - 22px);
        height: 34px;
        border: solid 1px #735D50;
        border-radius: 0px;
        padding: 7px 10px;
        display: block;
        outline: none;
        color: #000;
        font-size: 16px;
    }
    #form1 dl dd label span textarea{
        width: calc(100% - 22px);
        height: 200px;
        border: solid 1px #735D50;
        border-radius: 0px;
        padding: 7px 10px;
        display: block;
        outline: none;
        color: #000;
        font-size: 16px;
    }
    #form1 dl dt.form1_gr{
        position: relative;
        background-color: #F4F4F4;
        height: 238px;
    }
    #form1 dl dd.form1_gr{
        position: relative;
        background-color: #F4F4F4;
        height: 238px;
        padding-top: 18px;
    }
    #form1 p{
        text-align: center;
        color: #3F210E;
        margin-top: 20px;
    }
    #form1 p a{
        color: #950000;
    }
    #form1 .submit-btn input{
        background-color: #950000;
        padding: 5px 20px 0px;
        box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        width: 180px;
        height: 40px;
        display: flex;
        align-items: center;
        background-image: url(../img/side_arrow.png);
        background-repeat: no-repeat;
        background-position: 90% center;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        margin: 20px auto 0;
        cursor:pointer;
    }
    #form1 .submit-btn input:nth-child(1){
        background-color: #ffffff;
        padding: 5px 20px 0px;
        box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
        color: #3F210E;
        text-decoration: none;
        font-size: 14px;
        width: 180px;
        height: 40px;
        display: flex;
        align-items: center;
        background-image: url(../img/side_arrow2.png);
        background-repeat: no-repeat;
        background-position: 90% center;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        margin: 20px auto 0;
    }
    #form1 .submit-btn input[type="submit"]:disabled{
        opacity: 0.2;
        background-color: #666666;
        box-shadow:none;
    }
    #form1 .submit-btn input.wpcf7c-force-hide:disabled{
        display:none;
    }
    span.wpcf7-not-valid-tip{
        color: #950000;
        font-size: 16px;
        font-weight: normal;
        display: block;
        margin-top: 5px;
        padding: 12px 10px 8px;
        background-color: #fbebeb;
    }
    div.wpcf7-validation-errors{
        border: none;
        padding: 22px 20px 18px;
        background-color: #950000;
        color: #ffff;
        text-align: center;
        font-weight: bold;
        width: calc(100% - 22px);
        box-sizing:border-box;
    }  
}
/* sp */
@media screen and (max-width: 767px) {
    .under_contact_txt01{
        margin: 10px auto 40px;
    }
    .under_contact_txt01 p{
        color: #3F210E;
        font-size: 14px;
        line-height: 205%;
        text-align: center;
        width: 88%;
        margin: 0 auto;
    }
    .under_contact_txt01 p span{
        color: #950000;
    }
    .wpcf7{
        width: 100%;
        margin: 0 auto 70px !important;
    }
    #form1 dl{
    } 
    #form1 dl dt{
        width: 88%;
        margin: 0 auto 5px;
        padding-top: 0px;
        color: #3F210E;
    }
    #form1 dl dt .kome{
        color: #950000;
    }
    #form1 dl dd{
        width: 88%;
        margin: 0 auto 20px;
    }
    #form1 dl dd label span select{
        width: calc(100% - 22px);
        height: 48px;
        border: solid 1px #735D50;
        border-radius: 0px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding: 7px 10px;
        color: #000;
        font-size: 16px;
    }
    #form1 dl dd label span.menu-314{
        position: relative;
    }
    #form1 dl dd label span.menu-314::after{
        content: "";
        background-image: url(../img/under_contact_selectarrow.png);
        position: absolute;
        width: 20px;
        height: 11px;
        right: 15px;
        top: 3px;
    }
    #form1 dl dd label span input{
        width: calc(100% - 22px);
        height: 34px;
        border: solid 1px #735D50;
        border-radius: 0px;
        padding: 7px 10px;
        display: block;
        outline: none;
        color: #000;
        font-size: 16px;
    }
    #form1 dl dd label span textarea{
        width: calc(100% - 22px);
        height: 200px;
        border: solid 1px #735D50;
        border-radius: 0px;
        padding: 7px 10px;
        display: block;
        outline: none;
        color: #000;
        font-size: 16px;
    }
    #form1 dl dt.form1_gr{
        position: relative;
        background-color: #F4F4F4;
        padding: 20px 6% 0;
        margin: 0;
    }
    #form1 dl dd.form1_gr{
        position: relative;
        background-color: #F4F4F4;
        min-height: 238px;
        width: 88%;
        padding: 5px 6% 0px;
    }
    #form1 p{
        text-align: center;
        color: #3F210E;
        margin-top: 20px;
        width: 88%;
        margin: 0 auto;
        font-size: 16px;
    }
    #form1 p a{
        color: #950000;
    }
    #form1 .submit-btn input{
        background-color: #950000;
        padding: 5px 20px 0px;
        box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.5);
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        width: 180px;
        height: 40px;
        display: flex;
        align-items: center;
        background-image: url(../img/side_arrow.png);
        background-repeat: no-repeat;
        background-position: 90% center;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        margin: 20px auto 0;
    }
    #form1 .submit-btn input:nth-child(1){
        background-color: #ffffff;
        padding: 5px 20px 0px;
        box-shadow: 0px 5px 10px 0px rgba(0,0,0,0.2);
        color: #3F210E;
        text-decoration: none;
        font-size: 14px;
        width: 180px;
        height: 40px;
        display: flex;
        align-items: center;
        background-image: url(../img/side_arrow2.png);
        background-repeat: no-repeat;
        background-position: 90% center;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border: none;
        margin: 20px auto 0;
    }
    #form1 .submit-btn input[type="submit"]:disabled{
        opacity: 0.2;
        background-color: #666666;
        box-shadow:none;
    }
    span.wpcf7-not-valid-tip{
        color: #950000;
        font-size: 16px;
        font-weight: normal;
        display: block;
        margin-top: 5px;
        padding: 12px 10px 8px;
        background-color: #fbebeb;
    }
    div.wpcf7-validation-errors{
        border: none;
        padding: 22px 20px 18px;
        background-color: #950000;
        color: #ffff;
        text-align: center;
        font-weight: bold;
        line-height: 185%;
        box-sizing:border-box;
        width: calc(100% - 22px);
    }  
}