.bonus {
    --bonus-text: #1f1f1f;
    --bonus-pink: #f8e3ea;
    --bonus-sage: #f0f2ec;
    --bonus-number: #c0c892;
    color: var(--bonus-text);
    font-family: 'Averta CY', sans-serif;
}

.bonus :where(h2, h3, p) {
    margin: 0;
}

.bonus > section {
    margin-bottom: 0;
}

body:has(.bonus) footer {
    margin-top: 0;
}

.bonus-ttl {
    font: 600 44px/1 'Averta CY', sans-serif;
    text-align: center;
    margin-bottom: 40px;
}

.bonus-section {
    margin-top: 88px;
}

.bonus-hero {
    display: grid;
    grid-template-columns: 100%;
}

.bonus-hero picture {
    grid-area: 1 / 1;
}

.bonus-hero_pic {
    display: block;
    width: 100%;
    aspect-ratio: 406 / 680;
    object-fit: cover;
    border-radius: 16px;
}

.bonus-hero_content {
    display: contents;
}

.bonus-hero_head {
    grid-area: 1 / 1;
    align-self: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 33px 16px 0;
    text-align: center;
}

.bonus-hero_ttl {
    font: 600 44px/1 'Averta CY', sans-serif;
}

.bonus-hero_txt {
    font-size: 14px;
    line-height: 20px;
}

.bonus-hero_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    margin-top: 16px;
}

.bonus-hero_btn,
.bonus-hero_note {
    white-space: nowrap;
}

.bonus-hero_btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 24px;
    border-radius: 40px;
    background: var(--b-c--black);
    color: var(--b-c--white);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    transition: background-color .3s ease;
}

.bonus-hero_btn:hover {
    background: var(--b-c--Dgrey);
    color: var(--b-c--white);
}

.bonus-hero_note {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

.bonus-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 40px;
}

.bonus-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    aspect-ratio: 1;
    padding: 16px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
}

.bonus-card h3 {
    font: 600 22px/22px 'Averta CY', sans-serif;
}

.bonus-card p {
    font-size: 14px;
    line-height: 20px;
}

.bonus-steps_grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bonus-steps_pic {
    order: -1;
}

.bonus-steps_pic img {
    display: block;
    width: 100%;
}

.bonus-steps_head {
    display: none;
}

.bonus-steps_list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bonus-step {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 8px 13px 13px;
    border-radius: 10px;
    background: var(--bonus-pink);
}

.bonus-step h3 {
    font: 600 22px/22px 'Averta CY', sans-serif;
    margin-bottom: 8px;
}

.bonus-step p {
    font-size: 14px;
    line-height: 20px;
}

.bonus-step_num {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 66px;
    height: 66px;
    background: center / contain no-repeat;
    color: var(--bonus-number);
    font: 600 38px/1 'Averta CY', sans-serif;
}

.bonus-step_num-1 {
    background-image: url('img/star-1.svg');
}

.bonus-step_num-2 {
    background-image: url('img/star-2.svg');
}

.bonus-step_num-3 {
    background-image: url('img/star-3.svg');
}

.bonus-levels_box {
    padding: 8px 16px 16px;
    border-radius: 16px;
    background: var(--bonus-sage);
}

.bonus-levels details {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.bonus-levels details:last-child {
    border-bottom: none;
}

.bonus-levels details[open] {
    padding-bottom: 20px;
}

.bonus-levels summary {
    gap: 12px;
    padding-right: 36px;
}

.bonus-levels summary h3 {
    font: 600 28px/32px 'Averta CY', sans-serif;
}

.bonus-levels summary p {
    font-size: 14px;
    line-height: 20px;
}

.bonus-levels summary::after {
    content: '';
    top: 22px;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28" fill="none"><path d="M7 10.5L14 17.5L21 10.5" stroke="%23202020" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
    transition: transform .2s ease;
}

.bonus-levels_pic {
    position: relative;
    aspect-ratio: 710 / 406;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    color: var(--b-c--white);
    overflow: hidden;
}

.bonus-levels_name {
    position: absolute;
    top: 12px;
    left: 16px;
    font: 600 20px/1.2 'Averta CY', sans-serif;
}

.bonus-levels_percent {
    position: absolute;
    left: 12px;
    bottom: 8px;
    font: 700 64px/1 'Averta CY', sans-serif;
    letter-spacing: -.08em;
}

.bonus-faq_list details {
    border-bottom: 1px solid var(--b-c--Lgrey);
}

.bonus-faq_list summary {
    padding-top: 32px;
    padding-bottom: 32px;
}

.bonus-faq_list details[open] summary {
    padding-top: 32px;
    padding-bottom: 12px;
}

.bonus-faq_list summary::after {
    top: 36px;
}

.bonus-faq_list summary h3 {
    font: 600 22px/24px 'Averta CY', sans-serif;
}

.bonus-faq_list p {
    font-size: 14px;
    line-height: 20px;
}

.bonus-faq_list p + p {
    margin-top: 12px;
}

.bonus-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.bonus-more_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.bonus-more_ttl {
    font: 600 44px/1 'Averta CY', sans-serif;
}

.bonus-more_txt {
    font-size: 14px;
    line-height: 20px;
    max-width: 300px;
}

.bonus-more_qr {
    display: block;
    width: 114px;
    margin-top: 36px;
}

.bonus-more_qr img {
    display: block;
    width: 100%;
}

.bonus-more_pic {
    display: block;
    margin: 0 calc(-1 * var(--padding--side));
}

.bonus-more_pic img {
    display: block;
    width: 100%;
}

@media (min-width: 600px) {
    .bonus-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .bonus {
        color: var(--b-c--black);
    }

    .bonus-ttl {
        font-size: 60px;
        line-height: 56px;
        margin-bottom: 60px;
    }

    .bonus-section {
        margin-top: 140px;
    }

    .bonus-hero {
        display: block;
        position: relative;
        border-radius: 20px;
        overflow: hidden;
    }

    .bonus-hero_pic {
        aspect-ratio: 1280 / 560;
        min-height: 480px;
        border-radius: 0;
    }

    .bonus-hero_content {
        position: absolute;
        top: 50%;
        left: 64px;
        max-width: 507px;
        transform: translateY(-45%);
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .bonus-hero_head {
        align-items: flex-start;
        gap: 20px;
        padding: 0;
        text-align: left;
    }

    .bonus-hero_ttl {
        font-size: 60px;
        line-height: 56px;
    }

    .bonus-hero_txt {
        font-size: 16px;
    }

    .bonus-hero_actions {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 20px;
        margin-top: 20px;
    }

    .bonus-hero_btn {
        padding: 15px 28px;
    }

    .bonus-hero_btn,
    .bonus-hero_note {
        font-size: 16px;
    }

    .bonus-cards {
        grid-template-columns: repeat(4, 1fr);
        margin-top: 48px;
    }

    .bonus-card p {
        font-size: 16px;
    }

    .bonus-steps .bonus-ttl {
        margin-bottom: 140px;
    }

    .bonus-steps_grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .bonus-steps_pic {
        --steps-overflow: calc(547 / 441);
        order: 0;
        position: relative;
    }

    .bonus-steps_card,
    .bonus-steps_head {
        display: block;
        position: absolute;
        inset: 0;
    }

    .bonus-steps_card {
        border-radius: 16px;
        overflow: hidden;
    }

    .bonus-steps_pic img {
        position: absolute;
        left: 0;
        bottom: 0;
        height: calc(100% * var(--steps-overflow));
        object-fit: cover;
        object-position: center bottom;
    }

    .bonus-steps_head img {
        clip-path: inset(0 0 calc(441 / 547 * 100%) 0);
    }

    .bonus-step {
        flex-direction: row;
        align-items: center;
        gap: clamp(16px, 1.7vw, 24px);
        min-height: 139px;
        padding: 12px 20px;
        border-radius: 16px;
    }

    .bonus-step h3 {
        font-size: clamp(26px, 2.5vw, 36px);
        line-height: 1.1;
        margin-bottom: 12px;
    }

    .bonus-step p {
        font-size: clamp(14px, 1.1vw, 16px);
    }

    .bonus-step_num {
        width: clamp(76px, 7.2vw, 104px);
        height: clamp(76px, 7.2vw, 104px);
        font-size: clamp(44px, 4.2vw, 60px);
    }

    .bonus-levels_box {
        position: relative;
        min-height: 526px;
        padding: 60px 40px 60px 80px;
        border-radius: 20px;
    }

    .bonus-levels details {
        width: 339px;
        border-bottom-color: rgba(0, 0, 0, .04);
    }

    .bonus-levels details[open] {
        padding-bottom: 0;
    }

    .bonus-levels summary,
    .bonus-levels details[open] summary {
        padding: 24px 40px 28px 0;
    }

    .bonus-levels details:first-child summary {
        padding-top: 0;
    }

    .bonus-levels summary::after {
        top: 30px;
    }

    .bonus-levels details:first-child summary::after {
        top: 6px;
    }

    .bonus-levels details[open] summary::after {
        transform: rotate(-90deg);
    }

    .bonus-levels summary h3 {
        font-size: 36px;
        line-height: 40px;
    }

    .bonus-levels summary p {
        font-size: 16px;
    }

    .bonus-levels_pic {
        position: absolute;
        top: 50%;
        left: calc(80px + 339px + 60px);
        right: 40px;
        transform: translateY(-50%);
        max-height: calc(100% - 120px);
        border-radius: 18px;
    }

    .bonus-levels_name {
        top: 18px;
        left: 24px;
        font-size: 33px;
    }

    .bonus-levels_percent {
        left: 18px;
        bottom: 10px;
        font-size: 121px;
    }

    .bonus-faq_list {
        max-width: 850px;
        margin: 0 auto;
    }

    .bonus-faq .bonus-ttl {
        margin-bottom: 80px;
    }

    .bonus-faq_list summary {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .bonus-faq_list p {
        font-size: 16px;
        line-height: 24px;
    }

    .bonus-more {
        flex-direction: row;
        align-items: center;
        gap: 60px;
    }

    .bonus-more_content {
        flex: 0 0 416px;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
    }

    .bonus-more_ttl {
        font-size: 60px;
        line-height: 56px;
    }

    .bonus-more_txt {
        font-size: 16px;
        line-height: 24px;
        max-width: none;
    }

    .bonus-more_qr {
        margin-top: 28px;
    }

    .bonus-more_pic {
        flex: 1 1 auto;
        max-width: 860px;
        margin: 0 calc(-1 * var(--padding--side)) 0 auto;
    }
}
