.process{
    margin-top: 100px;
}

.process__items{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 50px;
}

.process__box{
    display: flex;
    justify-content: center;
    height: 100%;
    gap: 60px;
}


.process__left{
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}

.process__item{
    width: calc(20% - 10px * 4 / 5);
    background: #F2F2F6;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    transition: width 0.3s ease;
    border-radius: 5px;
    cursor: pointer;
}

.process__item:nth-last-of-type(1){
    background: #030049;
    color: #fff;
}

.process__item.active{
    width: calc(34.13% - 10px * 4 / 5);
}

.process__item.disabled{
    width: calc(16.4675% - 10px * 4 / 5);
}

.proces__left{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.process__body{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.process__head{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.process__number{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    letter-spacing: 0.03em;
    color: #030049;
    margin-top: 10px;
}

.process__item:nth-last-of-type(1) .process__number{
    color: #fff;
}

.process__title{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0.05em;
    text-align: center;
    margin-top: 20px;
    color: #040315;
    writing-mode: vertical-rl;
    text-orientation: upright;
}

.process__item:nth-last-of-type(1) .process__title{
    color: #fff;
}

.process__bottom{
    text-align: center;
    margin-top: 25px;

}

.proces__icon{
    background: #fff;
    border: 1px solid #DADAE0;
    border-radius: 50px;
    width: 51px;
    height: 27px;
}

.process__right{
    display: none;
    opacity: 0;
    transform: translateX(20px);
}

.process__item.active .process__right{
    display: block;
    animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.process__wrap{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.process__text{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    letter-spacing: 0.05em;
    color: #040315;
    margin-top: 20px;
}

.process__item:nth-last-of-type(1) .process__text{
    color: #fff;
}

@media (max-width: 1024px) {
    .process{
        margin-top: 50px;
    }
    
    .process__items{
       flex-direction: column;
        margin-top: 30px;
    }

    .process__left{
        display: flex;
        flex-direction: row;
        width: 100%;
        position: relative;
    }
    
    .process__item{
        padding: 20px;
        width: 100%;
    }
    
    .process__item.active{
        width: 100%;
    }
    
    .process__item.disabled{
        width: 100%;
    }
    
    .proces__left{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        position: relative;
    }


    
    .process__body{
        flex-direction: row;
    }

    .process__head{
        justify-content: start;
        align-items: start;
        margin-left: 20px;
    }
    
    .process__number{
        font-weight: 500;
        margin-top: 0;
    }
    
  
    .process__title{
        font-size: 16px;
        margin-top: 10px;
        writing-mode: horizontal-tb;
        text-orientation: normal;
    }

    .process__box{
        justify-content: start;
        flex-direction: column;
        gap: 40px;
    }
    
    .process__bottom{
        display: flex;
        align-items: center;
        margin-top: 0;
    
    }

    .process__right{
        position: relative;
    }

    .process__right::before{
        position: absolute;
        content: "";
        width: 100%;
        height: 1px;
        background: #DADAE0;
        left: 0;
        top: -20px;
    }
    
    .process__wrap{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }
    
    .process__text{
        line-height: 140%;
        font-size: 12px;
        margin-top: 20px;
    }
}
