.mcuf-wrap {
    max-width: var(--mcuf-max-width);
    margin: 0 auto;
    color: #2f2f33;
    font-family: inherit;
}

.mcuf-form {
    width: 100%;
}

.mcuf-required-note {
    margin: 0 0 28px;
    color: var(--mcuf-accent);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.mcuf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 44px;
}

.mcuf-field-full {
    grid-column: 1 / -1;
}

.mcuf-field-half {
    grid-column: span 1;
}

.mcuf-label {
    display: block;
    margin: 0 0 12px;
    color: #303035;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 4px;
    line-height: 1.3;
    text-transform: uppercase;
}

.mcuf-label b,
.mcuf-checkbox b {
    color: var(--mcuf-accent);
}

.mcuf-field input:not([type="checkbox"]),
.mcuf-field select,
.mcuf-field textarea {
    width: 100%;
    min-height: 76px;
    box-sizing: border-box;
    border: 1px solid #c7c7c7;
    border-radius: var(--mcuf-radius);
    background: #f5f5f5;
    color: #111;
    font: inherit;
    font-size: 22px;
    line-height: 1.3;
    padding: 18px 20px;
}

.mcuf-field textarea {
    min-height: 142px;
    resize: vertical;
}

.mcuf-field-error input:not([type="checkbox"]),
.mcuf-field-error select,
.mcuf-field-error textarea {
    border-color: #b42318;
    box-shadow: 0 0 0 1px #b42318;
}

.mcuf-field-message {
    margin: 8px 0 0;
    color: #b42318;
    font-size: 14px;
}

.mcuf-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: none !important;
    background-repeat: no-repeat !important;
    padding-right: 56px;
}

.mcuf-select-wrap {
    position: relative;
    display: block;
}

.mcuf-select-wrap::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 22px;
    width: 13px;
    height: 13px;
    border-right: 3px solid #333;
    border-bottom: 3px solid #333;
    pointer-events: none;
    transform: translateY(-65%) rotate(45deg);
}

.mcuf-field ::placeholder {
    color: #747474;
    opacity: 1;
}

.mcuf-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 20px;
    line-height: 1.4;
}

.mcuf-checkbox input {
    width: 22px;
    height: 22px;
    margin-top: 4px;
    accent-color: #00866f;
}

.mcuf-submit {
    display: block;
    width: 100%;
    min-height: 74px;
    margin: 38px 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--mcuf-button);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

.mcuf-submit:hover,
.mcuf-submit:focus {
    filter: brightness(0.95);
}

.mcuf-privacy {
    margin: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.55;
}

.mcuf-privacy a {
    color: #00866f;
    text-decoration: underline;
}

.mcuf-notice {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-left: 4px solid;
    background: #fff;
    font-size: 16px;
}

.mcuf-notice-success {
    border-color: #00866f;
}

.mcuf-notice-error {
    border-color: #b42318;
}

.mcuf-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 760px) {
    .mcuf-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mcuf-field-half,
    .mcuf-field-full {
        grid-column: 1;
    }

    .mcuf-label {
        font-size: 14px;
        letter-spacing: 2.5px;
    }

    .mcuf-field input:not([type="checkbox"]),
    .mcuf-field select,
    .mcuf-field textarea {
        min-height: 62px;
        font-size: 18px;
    }

    .mcuf-checkbox {
        font-size: 17px;
    }
}
