.index-container {
    width: 100%;
    height: auto;
    color: var(--ui-neutral);
    margin-top: 0;
    margin-bottom: 30px;
    max-width: 1200px;
    font-size: 1rem;
}

.index-banner {
    margin: 0 auto;
    max-width: 1200px;
    text-align: center;
}

.index-banner__image {
    display: block;
    width: 100%;
    height: auto;
}

.Web {
    display: block;
}

.mobile {
    display: none;
}
#consent-form {
    margin-bottom:24px;
}
#consent-form.is-invalid-control {
    border: 1px solid var(--ui-error);
    border-radius: 8px;
    padding: 12px;
}

.consent-option:last-of-type {
    margin-top:.25rem;
}
.index-heading {
    margin-bottom: 1.5rem;
    color: #000;
    font-size: clamp(1.5rem, 1.2vw + 1.1rem, 1.875rem);
    font-weight: 600;
    line-height: 1.3;
}

.index-control {
    width: 100%;
    min-height: 44px;
    font-size: 1rem;
}

.index-legend {
    width: auto;
    margin-bottom: .5rem;
    border: 0;
    font-size: 1rem;
}

.index-gender-options {
    display: flex;
    width: min(100%, 360px);
    gap: 0.5rem;
}

.index-gender-options.is-invalid-control {
    border: 1px solid var(--ui-error);
    border-radius: 10px;
}

.index-gender-choice {
    position: relative;
    flex: 1;
}

.index-gender-choice .form-check-input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.index-gender-choice label {
    display: block;
    min-height: 44px;
    margin: 0;
    padding: 0.55rem 1rem;
    color: var(--ui-secondary);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    background: #fff;
    border: 1px solid var(--ui-border);
    border-radius: 8px;
}

.index-gender-choice .form-check-input:checked + label {
    color: var(--ui-secondary);
    background: rgba(0, 174, 239, 0.12);
    border-color: var(--ui-primary);
    box-shadow: 0 0 0 1px var(--ui-primary);
}

.index-gender-choice .form-check-input:focus-visible + label {
    outline: 3px solid rgba(0, 174, 239, 0.35);
    outline-offset: 2px;
}

.index-instruction {
    color: var(--ui-error);
    text-align: center;
    overflow-wrap: anywhere;
    margin-top: 24px;
}

.note {
    overflow-wrap: anywhere;
    padding-inline: 20px;
    margin-top:24px;
}


.index-interest {
    margin: 0.5rem 0 1.5rem;
    padding: 1.25rem;
    background: rgba(0, 174, 239, 0.08);
    border: 1px solid rgba(0, 174, 239, 0.28);
    border-radius: var(--ui-radius);
}

.index-captcha {
    display: none;
    margin: 15px;
    text-align: center;
}

.index-submit {
    width: auto;
    min-width: 290px;
    border: 0;
    background: var(--ui-secondary);
}

.index-control:focus,
.form-control:focus {
    border-color: var(--ui-primary);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.16);
}

.index-container .select2-container {
    width: 100% !important;
    max-width: 100%;
}

.index-captcha img,
.index-captcha canvas,
.index-captcha svg {
    max-width: 100%;
    height: auto;
}

.index-captcha input {
    max-width: 100%;
}

.select2-container .select2-selection--single,
.select2-container .select2-dropdown,
.select2-container .select2-results__option {
    font-size: 1rem !important;
}

@media (max-width: 767.98px) {
    .Web {
        display: none;
    }

    .mobile {
        display: block;
    }

    .index-banner__image {
        width: 100%;
        object-fit: cover;
    }

    .index-container {
        margin-top: 20px;
        margin-bottom: 0;
        padding-right: 16px;
        padding-bottom: 120px;
        padding-left: 16px;
        font-size: 1rem;
    }

    .index-heading {
        margin-bottom: 1.25rem;
        font-size: clamp(1.4rem, 5vw, 1.625rem);
        line-height: 1.3;
    }

    .index-legend,
    .index-gender-options label {
        font-size: 0.9375rem;
    }

    .index-gender-options {
        width: 100%;
    }

    .index-captcha {
        margin: 15px 0;
        overflow: hidden;
    }

    .index-interest {
        padding: 1rem;
    }

    .index-submit {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 374.98px) {
    .index-container {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 0.9375rem;
    }

    .index-heading {
        font-size: 1.35rem;
    }

    .index-legend,
    .index-gender-options label {
        font-size: 0.9375rem;
    }
}
