.guide {
    background-color: var(--pink);
    padding: 10rem 0 5rem;
}

.guide__title {
    text-align: center;
    margin-bottom: 2rem;
    text-wrap: balance;
}

.guide__content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10rem;
}

.guide__box {
    background-color: #fff;
    border-radius: 2.3rem;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    width: 47.5rem;
    flex-shrink: 0;
}

.guide__text {
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5;
}

.guide__img {
    width: 36.4rem;
    height: 36.4rem;
    flex-shrink: 0;

}

.guide__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 640px) {
    .guide {
        padding: 5rem 0;
    }

    .guide__content {
        flex-direction: column;
        gap: 2rem;
    }

    .guide__box {
        padding: 2rem;
        gap: 2rem;
        width: 100%;
    }

    .guide__text {
        font-size: 1.4rem;
    }

    .guide__img {
        width: 30rem;
        height: 30rem;

    }

    .guide__btn {
        width: 100%;
        text-align: center;
    }
}

.guide__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
    width: max-content;
}

.guide__items:has(.guide__box:only-child) {
    grid-template-columns: repeat(1, 1fr);
}

.guide__box {
    width: 100%;
    max-width: 47.5rem;
    min-width: 31rem;
}

.guide__items .main-btn {
    text-align: center;
}

@media (max-width: 640px) {
.guide__content {
    flex-direction: column-reverse;
}
    .guide__items {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
    }

    .guide__items:has(.guide__box:only-child) {
        grid-template-columns: repeat(1, 1fr);
    }

    .guide__box {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }

}