#contact form,
#contact .caution-block {
    background-color: #fff;
    padding: 80px 65px 130px 65px;
    border-radius: 30px;
    margin-top: 45px;
}
#contact .caution-block h3 {
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}
#contact .caution-block .description {
    font-size: 16px;
    line-height: 1.8;
    text-align: center;
}
#contact .item {
    display: flex;
    flex-direction: column;
    margin-bottom: 45px;
}
#contact .item label {
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 20px;
}
#contact .item label .neccesarry {
    font-size: 16px;
    background-color: #C22F4D;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    padding: 3px 18px;
    margin-left: 30px;
}
#contact .item span {
    width: 100%;
}
#contact .item span input,
#contact .item span textarea {
    width: 100%;
    border: 1px solid #707070;
    border-radius: 4px;
    padding: 15px 10px;
}
#contact .term {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}
#contact .term label {
    font-size: 18px;
    font-weight: bold;
    margin-left: 13px;
}
#contact .term label a {
    text-decoration: underline;
}
#contact input[type="submit"] {
    position: relative;
    width: 310px;
    margin: 0 auto;
    display: block;
    background-color: #C22F4D;
    background-image: url("../img/cv-wh.png");
    background-repeat: no-repeat;
    background-size: 12px auto;
    background-position: right 17px center;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    padding: 20px 0; /* 右に余白を作る */
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
#contact input[type="button"] {
    position: relative;
    width: 310px;
    margin: 0 auto;
    display: block;
    background-color: #333;
    background-image: url("../img/cv-wh180.png");
    background-repeat: no-repeat;
    background-size: 12px auto;
    background-position: left 17px center;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    border: none;
    padding: 20px 0; /* 右に余白を作る */
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
#contact input[type="submit"]:hover {
    opacity: 0.6;
}
#contact .wpcf7-submit:disabled {
    background: url("../img/arrow-right-bl.png") no-repeat right 15px center / 43px auto, #ccc; 
}
#contact-first {
    padding-bottom: 215px;
}
#contact fieldset {
    border: none;
}
#contact .multi p {
    display: flex;
    align-items: center;
    justify-content: center;
}
@media screen and (max-width: 768px) {
    #contact-first {
        padding-top: 60px;
    }
    #contact form,
    #contact .caution-block {
        padding: 40px 16px 65px 16px;
        border-radius: 25px;
        margin-top: 45px;
    }
    #contact .caution-block h3 {
        font-size: 14px; /* 修正済み */
        margin-bottom: 20px;
    }
    #contact .caution-block .description {
        font-size: 14px;
        line-height: 2;
        text-align: left;
    }
    #contact .item {
        margin-bottom: 30px;
    }
    #contact .item label {
        font-size: 14px; /* 修正済み */
        margin-bottom: 15px;
    }
    #contact .item label span {
        padding: 1px 10px;
        margin-left: 10px;
    }
    #contact .term {
        margin-bottom: 43px;
    }
    #contact .term label {
        font-size: 14px;
    }
    #contact input[type="submit"],
    #contact input[type="button"] {
        width: 100%;
    }
    #contact input[type="button"] {
        margin-bottom: 20px;
    }
    #contact-first {
        padding-bottom: 73px;
    }
    #contact .multi p {
        flex-direction: column;
    }
}