.how-work {
    position: relative;
    width: 100%;
}

.how-work::before {
    content: '';
    background: var(--s-color);
    position: absolute;
    top: 52%;
    right: 0;
    width: 34%;
    height: 360px;
    border-radius: 100px 0 0 100px;
    transform: translateY(-30%);
    z-index: -1;
}

.how-work::after {
    content: '';
    background: var(--s-color);
    position: absolute;
    top: 52%;
    left: 0;
    width: 34%;
    height: 360px;
    border-radius: 0 100px 100px 0;
    transform: translateY(-30%);
    z-index: -1;
}

.how-work-contents .section-title {
    margin-bottom: 100px;
}

.how-work-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 140px;
}

.how-work-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.how-work-card-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.how-work-card-items h3 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.how-work-card-items h3 {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    color: var(--w-color);
}

.how-work-card-image {
    line-height: 0;
    background: var(--w-color);
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 100%;
}

.how-work-card-image img {
    width: 100%;
}

.how-work-card-items p {
    font-size: 18px;
    text-align: center;
    line-height: 1.8;
    color: var(--w-color);
}

.how-work-card:nth-child(2) .how-work-card-image {
    background: var(--p-color);
}


.how-work-card.how-work-card-d h3,
.how-work-card.how-work-card-d p {
    color: var(--t-color);
}



@media (max-width: 1200px) {
    .how-work-card-image {
        width: 100px;
        height: 100px;
        padding: 24px;
    }

    .how-work-card-items h3 {
        font-size: 20px;
    }

    .how-work-card-items p {
        font-size: 17px;
        text-align: center;
        line-height: 1.8;
    }
}

@media (max-width: 992px) {

    .how-work::before,
    .how-work::after {
        top: 46%;
    }

    .how-work-contents .section-title {
        margin-bottom: 60px;
    }

    .how-work-cards {
        gap: 50px;
    }

    .how-work-card {
        gap: 20px;
    }

    .how-work-card-items {
        gap: 8px;
    }

    .how-work-card-items h3 {
        font-size: 18px;
        font-weight: 700;
        text-align: center;
    }
}

@media (max-width: 768px) {

    .how-work {
        background: var(--s-color);
        padding: 40px 0;
    }

    .how-work-card-image {
        width: 90px;
        height: 90px;
        padding: 24px;
    }

    .how-work-cards {
        gap: 30px;
        grid-template-columns: repeat(1, 1fr);
    }

    .how-work-card-items p {
        font-size: 16px;
        text-align: center;
        line-height: 1.7;
    }

}

@media (max-width: 576px) {}

@media (max-width: 480px) {}

@media (max-width: 390px) {
    .how-work-contents .section-title {
        margin-bottom: 30px;
    }

    .how-work-card-image {
        width: 80px;
        height: 80px;
        padding: 18px;
    }
}

@media (max-width: 360px) {}