@charset "UTF-8";
#contact .box-line{
    border-bottom: 1px solid #666464;
    padding: 30px 0;
}

#contact .w1000{
    max-width: 1000px;
    margin: 0 auto;
}

#form .form__box{
    padding-left: 150px;
    font-size: 1.8rem;
}

#form label{
    width: 150px;
    text-align: end;
    padding-right: 14px;
    vertical-align: top;
}

#form .form-check-label{
    width: auto;
}

#form .require{
    position: relative;
}

#form .norequire{
    padding-left: 150px;
}

#form .require:before{
    content:'必須';
    padding: 6px;
    width: 50px;
    background-color: #c5ad5d;
    color: #ffffff;
    left: 40px;
    top: 25px;
    position: absolute;
}

#form .form-control,
#form textarea{
    border: 1px solid #666464;
    font-size: 1.8rem;
    display: inline-block;
    width: 350px;
    font-weight: bold;
}

#form .submitBtn__box{
    padding: 0;
}

#form .submitBtn{
    font-size: 1.8rem;
    font-weight: bold;
    padding: 10px;
    text-align: center;
    width: 150px;
    background-color: #dcdddd;
    margin: 30px auto;
    display: block;
    border: 2px solid #9b9b9b;
    transition: .3s ease-in-out;
}

#form .submitBtn:disabled{
    color: #9b9b9b;
}

#thanks{
    width: 700px;
    margin: 100px auto 20px auto;
}

#thanks .thanks-title{
    font-size: 3.0rem;
    padding-bottom: 16px;
}

#thanks .caution{
    width: 500px;
    margin: 0 auto;
}

#thanks .common-button{
    margin: 0 auto;
}

#sendMail table th{
    text-align: start;
}

#sendMail table th,
#sendMail table td{
    padding: 4px 20px;
}

#sendMail .syomei{
    padding: 10px 0;
}

@media screen and (max-width: 768px){
    #form .form__box{
        padding-left: 0;
        font-size: 1.6rem;
    }

    #form label{
        width: 100%;
        text-align: left;
        padding-right: 0;
        padding-left: 60px;
    }

    #form .require:before{
        padding: 4px;
        left: 0;
        top: 25px;
        font-size: 1.4rem;
        text-align: center;
    }

    #form .form-control,
    #form textarea{
        font-size: 1.6rem;
        width: 100%;
    }

    #form .form-check-inline{
        display: block;
    }

    #form .form-check-label{
        padding-left: 10px;
    }

    #thanks{
        margin: 30px auto;
        width: 100%;
        padding: 0 10px;
    }

    #thanks .thanks-title{
        font-size: 2.0rem;
    }

    #thanks .caution{
        width: 350px;
    }

    #thanks .common-button{
        width: 280px;
    }
}

