@charset "utf-8";

.gallery {
    width: calc(100% - 30px);
    max-width: 1200px;
    margin: 0 auto 100px;
    position: relative;
    padding-top: 50px;
}


.gallery h3 {
    font-size: 3.6rem;
}

.gallery:before, .gallery:after {
    position: absolute;
    top: 0; left: -19vw;;
    content: '';
    width: 320px; height: 100%;
    background: url(../img/sub01_leftBg.png) repeat top;
    transform: translateX(-190px);
    opacity: 0;
    animation: sub01Ani .8s cubic-bezier(.895,.03,.585,.22) .3s forwards;
    -webkit-animation: sub01Ani .8s cubic-bezier(.895,.03,.585,.22) .3s forwards;
}

.gallery:after {
    left: auto; right: -19vw;
    background-image: url(../img/sub01_rightBg.png);
    transform: translateX(190px);
}

@keyframes sub01Ani {to {opacity: 1; transform: translateX(0);}}
@-webkit-keyframes sub01Ani {to {opacity: 1; transform: translateX(0);}}


.gallery_list {

}

.tab_nav {
    display: flex;
    flex-wrap: wrap;
    font-size: 1.6rem;
    gap: 20px;
    margin: 20px 0 30px;
}

.tab_nav a {
    width: calc((100% - (20px*4)) / 5);
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #eaeaea;
    color: #999;
    font-weight: 500;
    font-weight: 1.8rem;
}

.tab_nav a.on {
    color: #fff;
    background-color: #8dc63f;
}

.tab_nav a:hover {
    opacity: 0.7;
}

.gallery_list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery_list li {
    width: calc((100% - (20px*3)) / 4);
}

.gallery_list img {
    width: 100%;
}

.gallery_list .line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 5px;
}

.gallery_list .category {
    background-color: #8dc63f;
    color: #fff;
    font-size: 1.4rem;
    font-style: normal;
    padding: 5px 10px;
    box-sizing: border-box;
    border-radius: 99px;
}

.gallery_list .category.sub {
    background-color: #e7be08;
}

.gallery_list .name {
    font-weight: 600;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.gallery_list .brand {
    color: #999;
    font-size: 1.4rem;
}

/* Paging Style Set */
.paging {
	margin-top: 15px;
	text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.paging a {
	display: flex;
    justify-content: center;
    align-items: center;
	width: 35px;
	height: 35px;
	border: 1px solid #dbdbdb;
	color: #666;
	font-size: 13px;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}
.paging a:hover {
    border-color: #8dc63f;
}
.paging a.on {
    color: #fff;
	background: #8dc63f;
	border: none
}

.paging .direction {
    font-size: 1.6rem;
}

.paging .fisrt i {
    transform: rotate(-90deg);
    
}

.paging .last i {
    transform: rotate(90deg);
}

.gallery_list .thum {
    max-height: 270px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.gallery_list .thum img {
}

@media screen and (max-width: 1719px) {
    .gallery:before, .gallery:after {
        display: none;
    }
    
}

@media screen and (max-width: 1400px) {
    .gallery_list .name {
        font-size: 1.6rem;
    }


    .gallery_list .category {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 1024px) {
    .gallery_list li {
        width: calc((100% - (20px*2)) / 3);
    }
}

@media screen and (max-width: 960px) {
    .gallery_list li {
        width: calc((100% - (20px*1)) / 2);
    }

    .gallery_list .thum {
        height: 400px;
    }

    .tab_nav {
        gap: 10px;
    }

    .tab_nav a {
        width: auto;
        padding: 0 15px;
    }
}

@media screen and (max-width: 650px) {
    .gallery_list li {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .gallery_list .thum {
        width: 100px;
        height: 100px;
        overflow: hidden;
        border: 1px solid #eaeaea;
    }

    .gallery_list .txt_box {
        width: calc(100% - 110px);
    }
}

































































































