@charset "UTF-8";

@media screen and (min-width: 1131px) {
    #top-work .block-menu-inner {
        padding: 35px 50px;
        position: relative;
    }
}

@media screen and (max-width: 1130px) {
    #top-work .block-menu-inner {
        padding: 35px 0;
        position: relative;
    }
}

@media screen and (min-width: 761px) {
    #top-work .block-menu-inner {
        display: flex;
    }
    #top-work .content-wrap .block-soft {
        width: 100%;
        border-radius: 20px;
    }

    #top-work .block-soft h3 {
        border-radius: 20px 20px 0 0;
    }
}

#top-work .wi-list li {
    align-items: center;
    display: flex;
    font-weight: bold;
    letter-spacing: .1em;
    min-width: 10px;
    margin-left: 30px;
    gap: 15px;
}

@media screen and (max-width: 760px) {
    #top-work .wi-list li {
        margin-top: 0;
        margin-bottom:15px;
    }
}

@media screen and (max-width: 1130px) {
    #top-work .content-wrap {
        width: 94%;
        max-width: 580px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 10px;
        justify-content: center;
        align-items: center;
    }
    #top-work .top-grid-box {
        background-color: #fff; 
        text-align: center;
        border-radius: 5px;
    }

    #top-work .-a {
        order: 1;
    }
    #top-work .-b {
        order: 4;
    }
    #top-work .-c {
        order: 7;
    }
    #top-work .-d {
        order: 2;
    }
    #top-work .-e {
        order: 5;
    }
    #top-work .-f {
        order: 8;
    }
    #top-work .-g {
        order: 3;
    }
    #top-work .-h {
        order: 6;
    }
    #top-work .-i {
        order: 9;
    }

    #top-work .top-grid-item {
        position: relative;
    }

    #top-work .top-grid-item-link {
        display: flex;
        align-content: center;
        font-size: clamp(15px, 2.75vw, 18.5px);
        font-weight: bold;
        height: 70px;
        max-height: 60px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #top-work .top-grid-item-link::after{
        position: absolute;
        display: block;
        content: '';
        width: 20px;
        height: 20px;
        right: 2%;
        top: 0;
        bottom: 0;
        margin: auto 0;
        background: url(../../common/img/arrow_gray.svg);
    }
    }

    @media screen and (min-width: 1131px) {
        #top-work .content-wrap {
            max-width: 900px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3,1fr);
            grid-gap: 30px;
            justify-content: center;
            align-items: center;
        }

        #top-work .top-grid-item {
            position: relative;
        }

        #top-work .top-grid-item-link {
            display: flex;
            align-content: center;
            font-weight: bold;
            display: block;
            height: 75px;
            max-height: 80px;
            background-color: #fff; 
            text-align: center;
            border-radius: 5px;
        }

        #top-work .top-grid-item-link:hover {
            background-color: rgba(255, 255, 255, 0.9);
            color: #83cc0e;
        }

        #top-work .top-grid-item-link::after{
            position: absolute;
            display: block;
            content: '';
            width: 21px;
            height: 21px;
            right: 14px;
            top: 0;
            bottom: 0;
            margin: auto 0;
            background: url(../../common/img/arrow_gray.svg);
        }
    }
    

.wi-list {
    width: 100%;
}
