.wcb_s,
.wcb_o {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh
}

.wcb_s {
    position: fixed;
    z-index: 999;
    display: none;
}

.wcb_o {
    position: absolute;
    background: rgba(0, 0, 0, .8)
}

@media only screen and (max-width:500px) {
    .wcb {
        max-width: none;
    }
}

.wcb_m {
    width: 580px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 50px;
    border-radius: 8px;
}


.wcb_c {
    position: absolute;
    z-index: 5;
    top: 4%;
    right: 3%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    opacity: .5;
}

.wcb_c svg {
    width: 20px;
    height: 20px;
    fill: var(--color-main);
}

.wcb_c:hover {
    opacity: 1;
}

.wcb_m h2 {
    margin-bottom: 17px;
    font-weight: 700;
    font-size: 18px;
    line-height: 22px;
    color: #333;
    text-align: center;
    text-transform: uppercase
}

.wcb_m p {
    font-size: 14px;
    line-height: 17px;
    text-align: center;
    color: #333;
    margin: 0 auto 30px
}

.wcb {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.wcb>.form-item-name input,
.wcb>.form-item-tel input {
    width: 100%;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    outline: none;
    border: 2px solid #ececec;
    text-align: center;
    letter-spacing: 1.5px
}

.wcb>.form-item-name input:active,
.wcb>.form-item-name input:focus,
.wcb>.form-item-tel input:active,
.wcb>.form-item-tel input:focus {
    border: 2px solid var(--color-main);
}

@media only screen and (max-width:767px) {
    .wcb_m {
        max-width: 95%;
        padding: 30px;
    }

    .wcb_m p {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 20px
    }

    .wcb>.form-item-name input,
    .wcb>.form-item-tel input {
        width: 100%;
        margin-bottom: 14px
    }
}




.wcb > .form-item-confidentiality input {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.wcb > .form-item-confidentiality input+label {
    user-select: none;
    display: inline-block;
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
    line-height: 16px;
}

.wcb > .form-item-confidentiality input+label a {
    color: var(--color-light);
    font-weight: 700;
}

.wcb > .form-item-confidentiality a:hover {
    color: var(--color-main);
}

.wcb > .form-item-confidentiality input+label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #adb5bd;
    border-radius: 5px;
    margin-right: 8px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 70% 70%;
}

.wcb > .form-item-confidentiality input:checked+label::before {
    border-color: #0b76ef;
    background-color: #0b76ef;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3e%3c/svg%3e");
}

.wcb > .form-item-confidentiality input:not(:disabled):not(:checked)+label:hover::before {
    border-color: #b3d7ff;
}

.wcb > .form-item-confidentiality input:not(:disabled):active+label::before {
    background-color: #b3d7ff;
    border-color: #b3d7ff;
}

.wcb > .form-item-confidentiality input:focus+label::before {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.wcb > .form-item-confidentiality input:focus:not(:checked)+label::before {
    border-color: #80bdff;
}

.wcb > .form-item-confidentiality input:disabled+label::before {
    background-color: #e9ecef;
}

.wcb .db {
    font-size: 16px;
    line-height: 24px;
    justify-content: center;
    margin-bottom: 10px;
}


.wcb fieldset {
    padding: 10px 0;
}

.wcb fieldset > legend > span {
    text-align: center;
    color: #333;
    margin: 0 auto 30px;

}
.wcb > fieldset > .fieldset-wrapper > .webform-options-display-buttons-vertical {
    display: grid !important;
    row-gap: 10px;
    display: grid;
    margin-top: 10px;
    column-gap: 10px;
    grid-template-columns: repeat(2, 1fr);
}

.wcb .webform-options-display-buttons label.webform-options-display-buttons-label {
    padding: 5px !important;
}