.systems{
    margin-top: 100px;
    text-align: center;
    background: #fff;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
}

.systems-mv{
    background-image: url(../img/systems/fv.png);
}

.systems__nav{
    margin-top: -50px;
    z-index: 0;
    background: #F2F2F6;
    padding: 200px 0;
}

.systems__nav__items{
    display: flex;
    position: relative;
    height: 160px;
}

.systems__nav__item{
    aspect-ratio: 372 / 160;
    width: 26.57%;
    border: 2px dotted #030049;
    border-radius: 30px;
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
}

.systems__nav__item:nth-of-type(1){
    left: 0;
}

.systems__nav__item:nth-of-type(2){
    left: calc(26.57% * 1 - 2.06%);
}

.systems__nav__item:nth-of-type(3){
    left: calc(26.57% * 2 - 2.06% * 2);
}

.systems__nav__item:nth-of-type(4){
    left: calc(26.57% * 3 - 2.06% * 3);
}

.systems__nav__item::before{
    position: absolute;
    content: "";
    width: 26px;
    height: 2px;
    background: #030049;
    left: 50%;
    bottom: -2px;
    transform: translateX(-50%);
}

.systems__nav__item::after{
    position: absolute;
    content: "";
    width: 7px;
    height: 16px;
    background-image: url(../img/systems/arrow01.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%) translateY(100%);
}

.systems__nav__item:hover{
    background: #fff;
}

.systems__link{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

.systems__number{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0.03em;
    color: #030049;
}

.systems__description{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 400;
    font-size: 10px;
    line-height: 100%;
    letter-spacing: 0.03em;
    margin-top: 15px;
    color: #4F4F5C;
}

.systems__heading{
    font-family: "ten-mincho-antique", sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 120%;
    letter-spacing: 0.05em;
    margin-top: 10px;
    color: #040315;
}

@media (max-width: 1200px) {
    .systems{
        padding-bottom: 50px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    .systems__nav{
        background: #F2F2F6;
        padding: 100px 0 50px 0;
    }
    
    .systems__nav__items{
        display: flex;
        position: relative;
        height: 112px;
        width: 100%;
    }
    
    .systems__nav__item{
        aspect-ratio: 372 / 140;
        width: 26.57%;
        border: 1px dotted #030049;
        border-radius: 25px;
        position: absolute;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .systems__nav__item:nth-of-type(1){
        left: 0;
    }
    
    .systems__nav__item:nth-of-type(2){
        left: calc(26.57% * 1 - 2.06%);
    }
    
    .systems__nav__item:nth-of-type(3){
        left: calc(26.57% * 2 - 2.06% * 2);
    }
    
    .systems__nav__item:nth-of-type(4){
        left: calc(26.57% * 3 - 2.06% * 3);
    }
    
    .systems__nav__item::before{
        position: absolute;
        content: "";
        width: 20px;
        height: 1px;
        background: #030049;
        left: 50%;
        bottom: -1px;
        transform: translateX(-50%);
    }
    
    .systems__nav__item::after{
        position: absolute;
        content: "";
        width: 6px;
        height: 14px;
        background-image: url(../img/systems/arrow01.svg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        left: 50%;
        bottom: -10px;
        transform: translateX(-50%) translateY(100%);
    }
    
    .systems__nav__item:hover{
        background: #fff;
    }
    
    .systems__link{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
    }
    
    .systems__number{
        font-family: "ten-mincho-antique", sans-serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 100%;
        letter-spacing: 0.03em;
        color: #030049;
    }
    
    .systems__description{
        font-family: "ten-mincho-antique", sans-serif;
        font-weight: 400;
        font-size: 9px;
        line-height: 100%;
        letter-spacing: 0.03em;
        margin-top: 12px;
        color: #4F4F5C;
    }
    
    .systems__heading{
        font-family: "ten-mincho-antique", sans-serif;
        font-weight: 500;
        font-size: 20px;
        line-height: 120%;
        letter-spacing: 0.05em;
        margin-top: 8px;
        color: #040315;
    }
}

@media (max-width: 1024px) {
    .systems__nav__items{
        flex-wrap: wrap;
        height: auto;
    }
    .systems__nav__item{
        position: relative;
        width: calc(100% - 36px);
        aspect-ratio: unset;
        padding: 47px 30px;
        left: 0!important;

    }
    .systems__nav__item::before{
        left: auto;
        right: -1px;
        bottom: auto;
        top: 50%;
        width: 1px;
        height: 20px;
        transform: translateX(0) translateY(-50%);
    }
    .systems__nav__item::after{
        left: auto;
        right: -36px;
        bottom: auto;
        top: 50%;
        width: 36px;
        height: 7px;
        transform: translateX(0) translateY(-50%);
        background-image: url(../img/common/arrow02.svg);
    }
    .systems__nav__item:nth-of-type(2){
        transform: translateY(-20px);
    }
    .systems__nav__item:nth-of-type(3){
        transform: translateY(-40px);
    }
    .systems__nav__item:nth-of-type(4){
        transform: translateY(-60px);
    }
    .systems__number{
        font-size: 20px;
        position: absolute;
        top: 50%;
        left: 30px;
        transform:  translateY(-50%);
    }
    
    .systems__description{
        font-size: 10px;
        margin-top: 0;
        text-align: center;
    }
    
    .systems__heading{
        font-size: 18px;
        margin-top: 10px;
    }

    .systems__link{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }
    .systems__body{
        padding-left: 40px;
    }
    
}

@media (max-width: 768px) {
    .systems{
        margin-top: 50px;
        text-align: left;
    }
}

