section#contact {
    padding-bottom: 100px;
}

section#contact .titleBox h2 {
    position: relative;
}

section#contact .titleBox h2::before {
    content: "";
    background: url(../../img/png/h2_contact.png) no-repeat;
    background-position: center;
    background-size: 100%;
    width: 570px;
    height: 146px;
    position: absolute;
    bottom: -15px;
    right: 0;
    left: 0;
    margin: auto;
}

section#contact .titleBox h2 span {
    position: relative;
}

.contactContent {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 80px;
}

.form-group dl {
    display: flex;
    flex-direction: row;
    padding: 20px;
    border-top: 2px solid #eee;
    align-items: center;
}

.form-group dt {
    width: 30%;
    padding-right: 30px;
}

.form-group dt span {
    background: #E08801;
    padding: 3px 8px;
    margin-right: 8px;
    border-radius: 2px;
    font-size: 1.1rem;
}

.form-group dt span.ninni {
    background: #999;
}

.form-group dd {
    width: 70%;
}


/* text */

.form-group .wpcf7-text {
    height: 38px;
    padding: 2px 10px;
    width: 100%;
    box-sizing: border-box;
}


/* label */

.form-group .wpcf7-list-item-label {
    font-size: 1.6rem;
    font-weight: bold;
}

/* checkbox */

.form-group .wpcf7-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.form-group .wpcf7-checkbox input {
    margin: 0;
    width: 20px;
    height: 20px;
    margin-right: 5px;
    box-sizing: border-box;
    display: block;
    accent-color: #333;
}

.form-group .wpcf7-list-item {
    margin: 0;
    margin-right: 20px;
}

.form-group .wpcf7-list-item label {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.form-group .wpcf7-list-item {
    margin: 0;
    margin-right: 20px;
}


/* textarea */

.form-group textarea {
    height: 100px;
    width: 100%;
    padding: 5px 10px;
    box-sizing: border-box;
}

.wpcf7-not-valid-tip {
    font-size: 1.4rem!important;
    font-weight: bold!important;
    margin-top: 10px;
}

.wpcf7-submit {
    display: block;
    background: #000;
    width: 400px;
    max-width: 80%;
    height: 60px;
    color: #fff;
    border-radius: 30px;
    margin: 20px auto 0;
    border: 0;
    font-size: 2.2rem;
    font-weight: bold;
}

.wpcf7-submit:hover {
    background: #E08801;
    cursor: pointer;
}



/*********************************/


/*        SP Responsive          */


/*********************************/

@media (max-width: 768px) {
    section#contact .titleBox h2::before {
        width: 70%;
        height: 100px;
    }
    .contactContent {
        margin-bottom: 60px;
    }
    .form-group dl {
        display: flex;
        flex-direction: column;
        padding: 20px 0;
        border-top: 2px solid #eee;
        align-items: flex-start;
    }
    .form-group dt,
    .form-group dd {
        width: 100%;
        padding: 0;
    }
    .form-group dt {
        margin-bottom: 20px;
    }
    .form-group .wpcf7-list-item label {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .form-group .wpcf7-checkbox input {
        margin: 0;
        margin-bottom: 10px;
    }
    .form-group .wpcf7-text {
        height: 38px;
        padding: 2px 10px;
    }
    .wpcf7-submit {
        height: 50px;
        border-radius: 25px;
        font-size: 1.7rem;
    }
}

@media (max-width: 450px) {
    section#contact .titleBox h2::before {
        width: 90%;
        height: 100px;
    }
}