.mb-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mb-vertical,
.mbm-vertical {
    width: 1px;
    height: 60rem;
    background-color: #ccc;
}

.mb-line {
    width: 1101rem;
    height: 1px;
    background-color: #ccc;
}

.mb-box-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.mb-box-group {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.mb-box-group .mb-vertical {
    margin: 0 auto;
    margin-bottom: -10rem;
}

.mb-box {
    width: 200rem;
    padding: 15rem 0;
    font-size: 19rem;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 7rem;
    border: 1px solid #eee;
    background-color: #f8f8f8;
    cursor: pointer;
}

.mb-box.fd {
    color: #fff;
    font-weight: 600;
    background-color: #aaa;
    border: none;
}

.mb-box span {
    display: block;
    color: #777;
    font-size: 15rem;
}

.ceo {
    color: #fff;
    font-size: 24rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background-color: var(--main-color);
}

.ceo.gd {
    background-color: #111;
}

.mb-box:hover {
    filter: brightness(98%);
}

.mb-box-mobile,
.mbm-vertical {
    display: none;
}


/*==================================================*/
@media (max-width: 1350px) {
    .mb-line {
        width: 85%;
    }
}


@media (max-width: 768px) {
    .mb-box.ceo {
        display: none;
    }

    .mb-box-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mbm {
        width: 200rem;
        padding: 15rem 0;
        font-size: 19rem;
        font-weight: 700;
        border-radius: 7rem;
    }
    
    .mbm-vertical {
        display: flex;
    }
    
    .mbm-halfline {
        margin-left: 49%;
        width: 50%;
        border-top: 1px solid #ccc;
    }

    .mbm-line {
        width: 100%;
        height: 1px;
        background-color: #ccc;
        margin-top: 226rem;
        margin-left: -1px;
    }
    
    .mbm-vertical2 {
        min-width: 1px;
        height: 1300rem;
        margin-right: 100rem;
        margin-top: 25rem;
    }

    .mb-box-group {
        position: relative;
    }
    
    .mb-box-group::before {
        content: '';
        position: absolute;
        top: 25rem; left: -100rem;
        width: 100rem;
        height: 1px;
        background-color: #ccc;
    }

    .mb-box-group:last-child::after {
        content: '';
        position: absolute;
        bottom: 0; left: -110rem;
        width: 50rem;
        height: 89.5%;
        background-color: #fff;
    }
    
    .mb-vertical,
    .mb-line {
        display: none;
    }

    .mb-wrapper {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
    }

    .mb-box-wrapper {
        width: unset;
        flex-direction: column;
        gap: 50rem;
    }

    .mb-box {
        width: 300rem;
    }
}


@media (max-width: 550px) {
    .mbm-line {
        margin-top: 233rem;
    }
    
    .mbm,
    .mb-box {
        font-size: 22rem;
    }
}