<style>main .portfolio_list_name {}

main .portfolio_list_name .sub_tap {
    font-size: 20px;
    font-weight: bold;
    color: #666;
}

main .portfolio_list_name .sub_tap.on {
    color: #d6a57f;
}

main .portfolio_list_name .sub_tap:after {
    content: "ㅣ";
    opacity: 0.5;
    color: black;
    padding-left: 5px;
}

main .portfolio_list_name .sub_tap:last-child:after {
    content: "";
}

main .portfolio_list {}

main .portfolio_list .title {
    font-size: 24px;
    border-bottom: 1px solid black;
    font-weight: bold;
}

main .portfolio_list ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    margin: 50px 0px 120px;
}

main .portfolio_list .list {
    display: none;
    margin-top: 10px;
}


main .portfolio_list .list.t2.view {
    display: grid;
}

main .portfolio_list .list.t3.view {
    display: grid;
}

main .portfolio_list ul:first-child {
    margin-top: 50px;
}

main .portfolio_list ul li {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
    background-color: #eee;
    cursor: pointer;
}


main .portfolio_list ul li .bigimg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10000001;
    display: none;
    background-color: #383838;
}

main .portfolio_list ul li.on .bigimg {
    display: inline-block;
}


main .portfolio_list ul li.on .bigimg img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
}

main .portfolio_list ul li:after {
    position: absolute;
    top: 0px;
    left: 0px;
    content: "";
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: black;
    transition: opacity .5s;
}

main .portfolio_list ul li:hover:after {
    opacity: 0.5
}

main .portfolio_list ul li .imgbox img {
    width: 100%;
    height: 250px;
    transition: transform .5s;
}

main .portfolio_list ul li:hover .imgbox img {
    transform: scale(1.1);
}

main .portfolio_list ul li .imgbox .imgname {
    position: absolute;
    bottom: 15px;
    left: 10%;
    font-size: 17px;
    font-weight: bold;
    color: white;
    z-index: 99;
    opacity: 0;
}

main .portfolio_list ul li .imgbox .go {
    opacity: 0;
    position: absolute;
    bottom: 40px;
    left: 10%;
    font-size: 17px;
    color: white;
    z-index: 99;
}

main .portfolio_list ul li:hover .imgbox .go,
main .portfolio_list ul li:hover .imgbox .imgname {
    opacity: 1;
}

main .portfolio_list ul li .imgbox .go:after {
    content: "→";
    padding-left: 5px;
    font-weight: bold;
    color: white;
}

main .portfolio_list .more {
    border: 0;
    background-color: black;
    color: white;
    padding: 0px 15px;
    cursor: pointer;
    margin-top: 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    line-height: 40px;
}

main .portfolio_list .close {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    z-index: 10000001;
    cursor: pointer;
    visibility: hidden;
}

main .portfolio_list .close.on {
    visibility: visible;
}

main .portfolio_list .close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: white;
    transform: translate(-50%, -50%);
}

main .portfolio_list .close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

main .portfolio_list .close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}



@media only screen and (min-width:100px) and (max-width:1100px) {
    main .portfolio_list ul {
        grid-template-columns: 1fr 1fr;
    }

    main .portfolio_list ul li {
        height: 300px;
    }

    main .portfolio_list ul li .imgbox img {
        height: 300px;
    }

    main .portfolio_list ul li .imgbox .imgname {
        bottom: 5%;
        left: 4%;
    }

    main .portfolio_list ul li .imgbox .go {
        bottom: 15%;
        left: 4%;
    }

}

@media only screen and (min-width:100px) and (max-width:1000px) {

    main .portfolio_list_name .sub_tap {
        font-size: 18px;
    }

    main .portfolio_list ul li {
        height: 350px;
    }

    main .portfolio_list ul li .imgbox img {
        height: 350px;
    }

    /*
        main .portfolio_list ul li.on .bigimg img{
            width: 100%;
        }
*/
}

@media only screen and (min-width:100px) and (max-width:800px) {
    main .portfolio_list_name .sub_tap {
        font-size: 16px;
    }

    main .portfolio_list ul {
        grid-template-columns: 1fr;
    }
}

@media only screen and (min-width:100px) and (max-width:600px) {
    main .portfolio_list_name .sub_tap {
        font-size: 14px;
    }
}

@media only screen and (min-width:100px) and (max-width:499px) {

    main .portfolio_list ul {
        margin: 50px 0px 50px;
    }

    main .portfolio_list_name .sub_tap {
        font-size: 10px;
        line-height: 2.2;
    }

    main .portfolio_list_name .sub_tap:after {
        padding: 0px 2px;
    }

    main .portfolio_list ul {
        grid-template-columns: 1fr 1fr;
    }

    main .portfolio_list ul li {
        height: 140px;
    }

    main .portfolio_list ul li .imgbox img {
        height: 140px;
    }

    main .portfolio_list ul li .imgbox .imgname {
        font-size: 12px;
    }

    main .portfolio_list ul li .imgbox .go {
        font-size: 12px;
    }

}

</style>