.wpcf7:has(#wpcf7cpcnf) {
    height: 1530px;
}
.wpcf7 fieldset {
    border: none;
    padding: 0;
    margin: 0;
}
.wpcf7 .p-contact-form-body__list-check input {
    display: block;
    opacity: 0;
    visibility: hidden;
    height: 0;
    width: 0;
}
#wpcf7cpcnf {
    z-index: 1 !important;
}
#wpcf7cpcnf table {
    width: 100%;
    border: none;
    background-color: var(--color-light-bg-1000);
}
#wpcf7cpcnf table th,
#wpcf7cpcnf table td {
    text-align: left;
    vertical-align: baseline;
}
@media (max-width: 768px) {
    #wpcf7cpcnf table th,
    #wpcf7cpcnf table td {
        display: block;
        width: 100%;
    }
}
#wpcf7cpcnf table tr {
    display: block;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 1px solid var(--color-light-border-300);
}
@media (min-width: 768px) {
    #wpcf7cpcnf table tr {
        padding-top: 30px;
        padding-bottom: 30px;
    }
}
#wpcf7cpcnf table th p {
    font-size: .9375rem;
    font-weight: 500;
}
@media (min-width: 768px) {
    #wpcf7cpcnf table th p {
        width: 275px;
        -ms-flex-negative: 0;
            flex-shrink: 0;
        font-size: inherit;
        font-weight: inherit;
    }
    #wpcf7cpcnf table td {
        width: 100%;
    }
}
#wpcf7cpcnf table th p,
#wpcf7cpcnf table td p {
    margin: 0;
}
#wpcf7cpcnf table tr:last-child td p {
    height: 250px;
    padding: 4px;
    border: 1px solid var(--color-light-border-500);
    border-radius: 3px;
    overflow-y: auto;
}
#wpcf7cpcnf .wpcf7cp-btns {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
    border-top: 1px solid var(--color-light-border-300);
    padding-top: 25px;
    margin: 0;
}
@media (min-width: 768px) {
    #wpcf7cpcnf .wpcf7cp-btns {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        gap: 60px;
    }
}
#wpcf7cpcnf button {
    display: block;
    width: 100%;
    max-width: 330px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border: solid 1px #000;
    background-color: #000;
    text-decoration: none;
    padding-top: 15.25px;
    padding-bottom: 15.25px;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    -webkit-transition: 200ms ease-out;
    -o-transition: 200ms ease-out;
    transition: 200ms ease-out;
}
@media (min-width: 768px) {
    #wpcf7cpcnf button {
        width: 240px;
    }
}
#wpcf7cpcnf button::after {
    content: '';
    width: 27.5px;
    height: 8px;
    background-image: url(/common/img/icon_arrow01_white.svg);
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto 0;
}
#wpcf7cpcnf button.wpcf7cp-cfm-edit-btn {
    border-color: #8c8c8c;
    background: #8c8c8c;
}
#wpcf7cpcnf button.wpcf7cp-cfm-edit-btn::after {
    background-image: url(/common/img/icon_arrow04_white.svg);
    left: 20px;
    right: auto;
}
#wpcf7cpcnf button:hover {
    color: #000;
    background: var(--color-light-bg-1000);
    opacity: 1 !important;
}
#wpcf7cpcnf button:hover::after {
    -webkit-filter: invert(100%);
    filter: invert(100%);
}

.wpcf7 form .wpcf7-response-output {
    color: var(--color-light-text-r01) !important;
    border: solid 1px var(--color-light-border-r02) !important;
    background-color: var(--color-light-bg-red-800) !important;
    font-weight: 500 !important;
    margin: 35px 0 0 !important;
    padding: 12px 15px;
}

@media (min-width: 768px) {
    .wpcf7 form .wpcf7-response-output {
        padding: 23px 30px !important;
    }
}