Use the border drawn by the pseudo class to remove the last one.
&:not(:last-child)::after{
content: '';
height: 4upx;
position: absolute;
background-color: #efefef;
width: 110%;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}