
/*
-----------------
contact @PC
-----------------
*/
#contact{
    width: 1080px;
    margin: 20px auto 0 auto;
}
#contact h2{
    text-align: center;
    font-size: 24px;
    letter-spacing: 3px;
    padding: 0 0 20px 0;
    color: #000;
    position: relative;
}
#contact h2 span{
    font-size: 11px;
    color: #5dc259;
    letter-spacing: 4px;
    display: block;
}
#contact p{
    font-size: 14px;
    padding: 0 20px 10px 20px;
}
#contact > div > p a{
    color: #5dc259;
}
#contact h3{
    background: #5dc259;
    padding: 10px 20px 10px 20px;
    color: #fff;
    text-align: left;
    font-size: 18px;
    margin: 20px 0 0 0;
}
#contact h4{
    font-weight: 500;
    padding: 20px 20px 0 20px;
}

@media screen and (max-width: 1080px){
    #contact{
        width: 94vw;
        margin: 40px auto 0 auto;
    }
}


.free_text{
    width: calc(100% - 40px);
    padding: 20px 20px 20px 20px;
}
.free_text textarea{
    width: calc(100% - 40px);
    height: 140px;
    border: 1px solid #dcdcdc;
    box-sizing: border-box;
    padding: 20px;
}

#contact table{
    width: calc(100% - 40px);
    margin: 0 auto;
}
#contact table tr{
    border-top: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}
#contact table tr th, #contact table tr td{
    padding: 10px 0 10px 0;
    text-align: left;
    font-size: 14px;
    vertical-align: middle;
    letter-spacing: 2px;
}
#contact table tr th, #contact table tr td a{
    color: #5dc259;
}
#contact table tr th{
    width: 30%;
    font-weight: 500;
}
#contact table tr th span.requireItem{
    position: relative;
    display: inline-block;
    padding: 0 50px 0 0;
}
#contact table tr th span.requireItem:after{
    content: "※必須";
    color: #cc0000;
    position: absolute;
    right: 0;
    top: 0;
}
#contact table tr td > input{
    padding: 8px 5px 8px 5px;
    border: 1px solid #dcdcdc;
    font-size: 16px;
    border-radius: 2px;
}
#contact table tr td > input:hover{
    border: 1px solid #5dc259;
}
#contact tr select {
    width: 24.5%;
    padding-right: 1em;
    cursor: pointer;
    text-indent: 0.01px;
    text-overflow: ellipsis;
    border: 1px solid #dcdcdc;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
    padding: 8px;
}
#contact td.todouhuken{
    position: relative;
}
#contact td.todouhuken:before{
    position: absolute;
    top: 1.7em;
    left: 21%;
    width: 0;
    height: 0;
    padding: 0;
    content: '';
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666666;
    pointer-events: none;
}
#contact td br{
    display: none;
}

.mw_wp_form_confirm td.todouhuken:before{
    display: none;
}
#zip1{
    width: 40px;
}
#zip2{
    width: 60px;
}
#company{
    width: calc(70%);
}
#sikutyouson{
    width: calc(70%);
}
#tatemono{
    width: calc(70%);
}
#company{
    width: calc(70%);
}
.email{
    width: calc(50%);
}

.mm{
    width: calc(100% - 120px);
    margin: 20px auto 0 auto;
    padding: 20px 40px 20px 40px;
    background: #f8f8f8;
}



#contact .mm p{
    font-size: 14px;
    padding: 0;
}
.privacycheck{
    width: calc(100% - 120px);
    margin: 0 auto;
    padding: 20px 40px 20px 40px;
    background: #f5f3e1;
}
.privacycheck a{
    color: #5dc259;
    margin: 0 0 0 20px;
}
#contact .privacycheck p{
    font-size: 14px;
    padding: 0;
}

#contact ul{
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: wrap;
    justify-content: center;
}
#contact ul li{
    margin: 30px 15px 0 15px;
}
#contact ul li a.btnRewrite{
    background: #f5f6f3;
    color: #999;
    display: inline-block;
    padding: 20px 110px 20px 110px;
    font-size: 15px;
    line-height: 1em;
}
.backto_contact{
    background: #f5f6f3!important;
    color: #999!important;
}
#contact ul li input[type="submit"]{
    background: #5dc259;
    color: #fff;
    display: block;
    padding: 20px 110px 20px 110px;
    font-size: 15px;
    border: none;
    line-height: 1em;
    transition: all 0.2s linear;
    -o-transition: all 0.2s linear; /* opera */
    -moz-transition: all 0.2s linear; /* firefox */
    -webkit-transition: all 0.2s linear; /* chrome, safari */
    -ms-transition: all 0.2s linear; /* ie */
}
#contact ul li input[type="submit"]:hover{
    opacity: 0.6;
}

#contact table tr td{
    width: 70%;
}
.catalog{
    margin: 20px auto!important;
}
.catalog th{
    width: 30px!important;
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
    background: #ecf7ed;
    padding: 10px!important;
}
.catalog tr:nth-child(2) th{
    background: #f8f8f8!important;
    text-align: center!important;
}
.catalog tr:nth-child(2) th input{
    width: 20px;
    height: 20px;
    line-height: 1em;
}
.catalog tr:nth-child(2) td.catalogimg{
    width: 160px!important;
    text-align: center!important;
    padding: 10px!important;
}
.catalog td{
    border-top: 1px solid #dcdcdc;
    border-bottom: 1px solid #dcdcdc;
}
.catalog img{
    width: 220px;
    display: block;
    margin: 0 auto;
}
.catalog p{
    font-size: 15px!important;
    padding: 8px!important;
}

.thanks{
    text-align: center;
}
.thanks a{
    background: #5dc259;
    color: #fff;
    display: inline-block;
    padding: 20px 110px 20px 110px;
    font-size: 15px;
    border: none;
    line-height: 1em;
    transition: all 0.2s linear;
    -o-transition: all 0.2s linear; /* opera */
    -moz-transition: all 0.2s linear; /* firefox */
    -webkit-transition: all 0.2s linear; /* chrome, safari */
    -ms-transition: all 0.2s linear; /* ie */
    margin: 40px 0 0 0;
}
.thanks a:hover{
    opacity: 0.6;
}
@media screen and (max-width:780px){
    .catalog{
        width: 88vw;
        margin: 0 auto;
        display: block;
    }
    .catalog th{
        width: 88vw!important;
        border-top: none;
        border-bottom: none;
        background: #ecf7ed;
        padding: 0!important;
        display: block;
    }
    .catalog tr:nth-child(2) th{
        background: #f8f8f8!important;
        text-align: center!important;
        display: block;
        padding: 10px 0 10px 0!important;
    }
    .catalog tr:nth-child(2) th input{
        width: 20px;
        height: 20px;
        line-height: 1em;
    }
    .catalog tr:nth-child(2) td.catalogimg{
        width: 160px!important;
        text-align: center!important;
        padding: 10px 0 10px 0!important;
        display: block;
    }
    .catalog td{
        border-top: none;
        border-bottom: 1px solid #dcdcdc;
        display: block;
    }
    #contact td br{
        display: block;
    }
    .free_text{
        width: 94vw;
        padding: 20px 0 20px 0;
        margin: 0 auto;
        text-align: center;
    }
    .free_text textarea{
        width: calc(100% - 40px);
        height: 140px;
        border: 1px solid #dcdcdc;
        box-sizing: border-box;
        padding: 20px;
        text-align: left;
    }
    #contact table{
        width: 88vw;
        margin: 0 auto;
        display: block;
    }
    #contact table tr{
        width: 100%;
        border-top: 1px solid #eeeeee;
        border-bottom: 1px solid #eeeeee;

    }
    #contact table tr th, #contact table tr td{
        padding: 10px 0 10px 0;
        text-align: left;
        font-size: 14px;
        vertical-align: middle;
        letter-spacing: 2px;
        display: block;
    }
    #contact table tr th{
        width: calc(88vw - 10px)!important;
        font-weight: 500;
        display: block;
    }
    #contact table tr td{
        width: calc(88vw - 10px)!important;
    }
    #contact tr select {
        padding-right: 1em;
        cursor: pointer;
        text-indent: 0.01px;
        text-overflow: ellipsis;
        border: 1px solid #dcdcdc;
        outline: none;
        background: transparent;
        background-image: none;
        box-shadow: none;
        -webkit-appearance: none;
        appearance: none;
        border-radius: 0;
        padding: 8px;
    }
    #fax{
        width: 100%;
    }

    .mm{
        width: calc(100% - 80px);
        margin: 20px auto 0 auto;
        padding: 20px 40px 20px 40px;
        background: #f8f8f8;
    }
    #kanamei{
        width: calc(88vw - 20px);
    }
    #kanasei{
        width: calc(88vw - 20px);
    }
    #namesei{
        width: calc(88vw - 20px);
    }
    #namemei{
        width: calc(88vw - 20px);
    }
    #company{
        width: calc(88vw - 20px);
    }
    #email{
        width: calc(88vw - 20px);
    }
    #sikutyouson{
        width: calc(88vw - 20px);
    }
    #busyo{
        width: calc(88vw - 20px);
    }
    #sikutyouson{
        width: calc(88vw - 20px);
    }
    #tatemono{
        width: calc(88vw - 20px);
    }
    #company{
        width: calc(88vw - 20px);
    }
    .email{
        width: calc(88vw - 20px);
    }
    #tel{
        width: calc(88vw - 20px);
    }
    #fax{
        width: calc(88vw - 20px);
    }



    #contact .mm p{
        font-size: 14px;
        padding: 0;
    }
    .privacycheck{
        width: calc(100% - 80px);
        margin: 0 auto;
        padding: 20px 40px 20px 40px;
        background: #f5f3e1;
    }

    #contact ul li{
        width: 100%;
        margin: 30px 0 0 0;
    }
    #contact ul li a.btnRewrite{
        width: 100%;
        text-align: center;
        background: #f5f6f3;
        color: #999;
        display: inline-block;
        padding: 20px 0 20px 0;
        font-size: 15px;
        line-height: 1em;
        display: block;
    }
    .backto_contact{
        background: #f5f6f3!important;
        color: #999!important;
        width: 100%;
        text-align: center;
    }
    #contact ul li input[type="submit"]{
        width: 100%;
        text-align: center;
        background: #5dc259;
        color: #fff;
        display: block;
        padding: 20px 0 20px 0;
        font-size: 15px;
        border: none;
        line-height: 1em;
        transition: all 0.2s linear;
        -o-transition: all 0.2s linear; /* opera */
        -moz-transition: all 0.2s linear; /* firefox */
        -webkit-transition: all 0.2s linear; /* chrome, safari */
        -ms-transition: all 0.2s linear; /* ie */
    }
}

/* confirm display changes */
label[for="catalog1-1"] .mwform-checkbox-field-text,
.mw_wp_form_confirm th.catalog1{
    display: none;
}
.mw_wp_form_input .mm_confirm,
.mw_wp_form_input .backto_contact{
    display: none;
}
.mw_wp_form_confirm .backto_contact{
    display: block;
}
.mw_wp_form_confirm .btnRewriteWrap{
    display: none;
}
.mw_wp_form_confirm .mm,
.mw_wp_form_confirm .privacycheck{
    display: none;
}
.mw_wp_form_confirm .yes,
.mw_wp_form_confirm .no{
    display: none;
}
.mw_wp_form_confirm table.catalog tr{
    display: none;
}
.mw_wp_form_confirm table.catalog tr,
.mw_wp_form_confirm table.catalog th{
    border: none !important;
    background: none;
    padding: 0 !important;
}