.contact-form-section {
    width: 90.28%;
    margin: 0 auto 0 auto;
}

.wpcf7 {
    position: relative;
    width: 100%;
    background-color: #F9F9F9;
    border-radius: 80px;
    padding: 6.6% 0 6.6% 0;
    box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.25);
}

.wpcf7-form {
    width: 58.14%;
    margin: 0 auto 0 auto; 
}

.contact-label {
    display: block;
    width: 100%;

    &:nth-child(n+3) {
        margin-top: 20px;
    }
}

.contact-item-wap {
    justify-content: flex-start;
}

.contact-item {
    color: #000;
    font-size: 18px;
    letter-spacing: 0.04em;
}

.required {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 22px;
    border-radius: 3.2px;
    background-color: #E54838;
    color: #FFF;
    font-size: 16px;
    letter-spacing: 0.04em;
    margin-left: 12px;
    padding-bottom: 3px;
}

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin-top: 12px;
}

.wpcf7-form-control {
    display: block;
    width: 100%;
    border: none;
    background-color: rgba(0, 0, 0, 0.08);
    font-size: 16px;
    letter-spacing: 0.04em;
    padding: 9px 16px 9px 16px;
    border-radius: 4px;
}

.contact-box {
    width: 100%;
    margin-top: 20px;
}

.contact-label-short {
    width: 48.8%;
}

.wpcf7-submit {
    cursor: pointer;
    background: #E54838;
    color: #FFF;
    border-radius: 80px;
    font-size: 25px;
    font-weight: bold;
    padding: 12px 0 12px 0;
    margin-top: 40px;
    transition: opacity 0.3s ease; 
}

.wpcf7-submit:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease; 
}

.wpcf7-not-valid-tip {
    margin-top: 10px;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-response-output {
    display: none;
}


/* SP */
@media screen and (max-width: 768px) {
    .contact-form-section {
        width: 87.1%;
    }

    .wpcf7 {
        border-radius: 20px;
        padding: 32px 0 60px 0;
    }

    .wpcf7-form {
        width: 88.47%;
    }

    .contact-label {
        &:nth-child(n+3) {
            margin-top: 16px;
        }
    }

    .contact-item {
        font-size: 16px;
    }

    .required {
        width: 40px;
        height: 16px;
        border-radius: 2px;
        font-size: 12px;
        padding-bottom: 1px;
    }

    .wpcf7-form-control-wrap {
        margin-top: 16px;
    }

    .wpcf7-form-control {
        font-size: 12px;
        padding: 10px 12px 10px 12px;
        border-radius: 2.46px;
    }

    .contact-box {
        display: block;
        margin-top: 16px;
    }

    .contact-label-short {
        width: 100%;

        &:nth-child(2) {
            margin-top: 16px;
        }
    }

    .wpcf7-submit {
        border-radius: 27.65px;
        font-size: 15.48px;
        padding: 13px 47px 13px 47px;
        margin-top: 24px;
    }
}