article{
    min-height: 100vh;
}

.inner{
    width: 1200px;
    margin: 190px auto 250px;
}

.search__area{
    width: 490px;
    height: 70px;
    border: 3px solid #040000;
    display: flex;
    align-items: center;
    margin: 0 auto;
}

.search__area input{
    width: calc(100% - 70px);
    height: 100%;
    margin-right: 20px;
    padding: 0 20px;
    font-size: 26px;
    font-weight: 600;
    color: var(--color-block);
    display: flex;
    align-items: center;
}

.search__area input:focus{
    outline: none;
}

.search__area input:disabled{
    background-color: #fff;
}

.search__area img{
    width: 30px;
    height: 30px;
}

.result__tab{
    margin-top: 85px;
}

.result__tab h4{
    font-size: 20px;
    font-weight: 700;
    color: #9a9a9a;
}

.result__tab h4 span{
    color: var(--color-black);
}

.result__tab ul{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: 100%;
    height: 58px;
    margin-top: 18px;
}

.result__tab ul li{
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-black);
}

.result__tab ul li.active{
    background-color: var(--color-black);
    color: var(--color-white);
}

.result__tab ul li:nth-child(n+2){
    border-left: none;
}

.result__list{
    width: 100%;
    height: auto;
    margin-top: 85px;
}

.result__list ul{
    width: 100%;
    height: auto;
    display: flex;
}

.result__list ul:nth-child(n+2){
    margin-top: 90px;
}

.result__list > ul > li:nth-child(1){
    width: 275px;
    height: 100%;
    font-size: 26px;
    font-weight: 900;
    color: var(--color-black);
}

.result__list > ul > li:nth-child(2){
    width: calc(100% - 275px);
    height: auto;
}

.result__list .result__innerList{
    display: flex;
    flex-direction: column;
    border-top: 3px solid var(--color-black);
}

.result__list .result__innerList li{
    width: 100%;
    height: 70px;
    border-bottom: 1px solid #dcdcdc;
    padding-left: 10px;
}

.result__list .result__innerList li a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    background: url("/image/ico/ico_menuArr.png");
    background-repeat: no-repeat;
    background-position: 98% center;
    background-size: auto;
}






/* media */
@media screen and (max-width: 1310px){
    .inner{
        max-width: inherit;
        width: 100%;
        padding: 0 20px;
    }
}

@media screen and (max-width: 900px){
    .result__tab ul li{
        font-size: 16px;
    }

    .result__list > ul > li:nth-child(1){
        width: 150px;
    }
    .result__list > ul > li:nth-child(2){
        width: calc(100% - 150px);
    }
}

@media screen and (max-width: 800px){
    .result__tab ul{
        grid-template-columns: repeat(3, 1fr);
        height: auto;
    }

    .result__tab ul li{
        height: 58px;
    }

    .result__tab ul li:nth-child(n+4){
        border-top: none;
    }

    .result__tab ul li:nth-child(4){
        border-left: 3px solid var(--color-black);
    }

    .result__list{
        margin-top: 40px;
    }

    .result__list ul{
        flex-direction: column;
    }

    .result__list > ul > li:nth-child(1){
        width: 100%;
        font-size: 24px;
    }

    .result__list > ul > li:nth-child(2){
        width: 100%;
        margin-top: 10px;
    }

    .result__list ul:nth-child(n+2) {
        margin-top: 40px;
    }

    .result__list .result__innerList li{
        height: 60px;
    }

    .result__list .result__innerList li a{
        font-size: 18px;
    }
}

@media screen and (max-width: 600px){
    .search__area{
        width: 100%;
        height: 50px;
        justify-content: space-around;
    }

    .search__area input{
        font-size: 18px;
        padding: 0 10px 0 5px;
    }

    .search__area img{
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 500px){
    .inner{
        margin: 100px 0;
    }



    .result__tab ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .result__tab ul li{
        height: 50px;
    }

    .result__tab ul li:nth-child(n+3) {
        border-left: 3px solid var(--color-black);
    }

    .result__tab ul li:nth-child(4) {
        border-left: none;
    }

    .result__tab ul li:nth-child(3){
        border-top: none;
    }

    .result__list > ul > li:nth-child(1){
        font-size: 20px;
    }
    
    .result__list .result__innerList li a{
        font-size: 16px;
    }
}