﻿


/* 공통 */
.wrap {
    max-width: 1300px;
    margin: 150px auto;
}

.wrap>div{
    max-width: 1300px;
    margin: 0 auto;
}

.column_wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

/*#region 타이틀*/
.title_wrap{
    text-align:center;
    margin-bottom: 4rem;
}

.title_wrap h1{
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

 .title_wrap p{
     font-size: 1.13rem;
     color: #616161;
 }
/*#endregion */

@media (max-width:1320px) {

    .wrap>div{
        margin: 0 0.5rem;
    }

}

@media (max-width:768px) {

    .wrap {
        margin: 120px auto;
    }

}


/*#region 탭메뉴*/
.tabmenu {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; /* 모바일 부드럽게 */
    touch-action: pan-x;
    margin: 0 auto 3rem;
}

.tabmenu > div {
    display: flex;
    background: var(--light-color);
    padding: 0.8rem;
    flex-wrap: nowrap; /* 줄바꿈 방지 */
    border-radius: 50px;
    gap: 8px;
    min-width: max-content; /* 내용만큼 늘어남 */
    justify-content: center;
    width: max-content;
    margin: 0 auto;
}

.tabmenu span{
    font-size: 1.13rem;
}

.opt_obj:not(:last-child){
    margin-right: 0 !important;
}

.opt_obj input[type="radio"] + span{
    width: 140px;
    height: 50px;
    line-height: 50px;
    padding: 0;
}

.opt_obj input[type="radio"]:checked + span{
    width: 140px;
    height: 50px;
    line-height: 50px;
    padding: 0;
    border: none;
    border-radius: 50px;
    box-shadow: 0 0 6px 0 #9FC7EF;
    background: #fff;
}

@media (max-width:768px) {

    .tabmenu {
        margin-bottom: 2.5rem;
    }

}

@media (max-width:580px) {

    .tabmenu > div{
        padding: 0.6rem;
    }

    .tabmenu span{
        font-size: 1rem;
    }

    .opt_obj input[type="radio"] + span,
    .opt_obj input[type="radio"]:checked + span  {
        width: 120px;
        height: 45px;
        line-height: 45px;
    }

}
/*#endregion*/


/*#region 기존 탭메뉴*/
.tab{
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.tab_box{
    box-shadow: 0px 0px 5px 1px rgba(119,119,119,0.3);
    border-radius: 15px;
    width: 100px;
    height: 100px;
    border: none;
    background: #fff;
    transition: all 0.3s ease-in-out;
}

.tab_box img{
    width: 40px;
}

.tab_box p{
    font-size: 1.13rem;
    color: #BCBCBC;
    margin-top: 0.3rem;
}

.tab_box.active{
    box-shadow: 0px 0px 5px 1px rgba(64,144,255,0.7);
}
.tab_box:hover{
    transform: scale(1.05);
}
.tab_box.active p{
    color: #4090FF;
}

@media (max-width: 768px) {

    .tab{
        max-width: unset;
        width: 90% !important;
    }

    .tab_box{
        width: 80px;
        height: 80px;
    }

    .tab_box img{
        width: 30px;
    }

    .tab_box p{
        font-size: 1rem;
    }

}

@media (max-width: 580px) {

     .tab{
        width: unset !important;
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        max-width: 94%;
        justify-items: center;
    }

     .tab_box{
         width: 100%;
        height: 100%;
        padding: 1rem 0;
    }

      .tab_box img{
        width: 40px;
    }
      .tab_box p{
        font-size: 1.13rem;
    }
    
}
/*#endregion*/


/*#region 칼럼*/
.column {
    width: 100%;
    list-style: none;
    display: grid;    
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    box-sizing: border-box;
    position: relative;
    height: auto;
}

.column li {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    cursor: pointer;
    border-radius: 25px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px 2px rgba(141,141, 141, 0.25);
    transition: all 0.3s ease-in-out;
}

.column li:hover{
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

.col_img {
    width: 100%;
    height: 240px;
    background: url(/common/img/column/cont_img1.png) no-repeat center;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/*#region 배경이미지*/
/*.column li:nth-child(1) >.col_img {
    background: url(/common/img/column/cont_main21.png) no-repeat center;
}
.column li:nth-child(2) >.col_img {
    background: url(/common/img/column/cont_main20.png) no-repeat center;
}
.column li:nth-child(3) >.col_img {
    background: url(/common/img/column/cont_main19.png) no-repeat center;
}
.column li:nth-child(4) >.col_img {
    background: url(/common/img/column/cont_main18.png) no-repeat center;
}
.column li:nth-child(5) >.col_img {
    background: url(/common/img/column/cont_main17.png) no-repeat center;
}
.column li:nth-child(6) >.col_img {
    background: url(/common/img/column/cont_main16.png) no-repeat center;
}
.column li:nth-child(7) >.col_img {
    background: url(/common/img/column/cont_main15.png) no-repeat center;
}
.column li:nth-child(8) >.col_img {
    background: url(/common/img/column/cont_main14.png) no-repeat center;
}
.column li:nth-child(9) >.col_img {
    background: url(/common/img/column/cont_main13.png) no-repeat center;
}
.column li:nth-child(10) >.col_img {
    background: url(/common/img/column/cont_main12.png) no-repeat center;
}
.column li:nth-child(11) >.col_img {
    background: url(/common/img/column/cont_main11.png) no-repeat center;
}
.column li:nth-child(12) >.col_img {
    background: url(/common/img/column/cont_main10.png) no-repeat center;
}
.column li:nth-child(13) >.col_img {
    background: url(/common/img/column/cont_main9.png) no-repeat center;
}
.column li:nth-child(14) >.col_img {
    background: url(/common/img/column/cont_main8.png) no-repeat center;
}
.column li:nth-child(15) >.col_img {
    background: url(/common/img/column/cont_main7.png) no-repeat center;
}
.column li:nth-child(16) >.col_img {
    background: url(/common/img/column/cont_main6.png) no-repeat center;
}
.column li:nth-child(17) >.col_img {
    background: url(/common/img/column/cont_main5.png) no-repeat center;
}
.column li:nth-child(18) >.col_img {
    background: url(/common/img/column/cont_main4.png) no-repeat center;
}
.column li:nth-child(19) >.col_img {
    background: url(/common/img/column/cont_main3.png) no-repeat center;
}
.column li:nth-child(20) >.col_img {
    background: url(/common/img/column/cont_main2.png) no-repeat center;
}
.column li:nth-child(21) >.col_img {
    background: url(/common/img/column/cont_main1.png) no-repeat center;
}*/
/*#endregion*/

.col_img {
    background-size: cover;
    background-position: center;
}

.col_img{
    position: relative;
}
.col_text{
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: grid;
    justify-items: flex-end;
    padding: 0.5rem;
}
.col_tag{
    border: 1px solid #fff;
    padding: 5px 10px;
    border-radius: 20px;
    color: #fff;
    font-size: 15px;
    text-align: center;
    margin-bottom: 0.3rem;
    background: rgba(0,0,0,0.05);
}
.col_main{
    font-size:1.75rem;
    text-align: right;
    color: #fff;
    font-weight: 800;
    word-break: keep-all;
}

.color1 {
    background: #1338ff;
}
.col_tex {
    width: 100%;
    box-sizing: border-box;
    padding: 1.2rem .93rem;
}

.col_tex h3 {
    font-size: 19px;
    text-align: left;
    word-break: keep-all;
    cursor: pointer;
}

.col_tex > div {
    color: #878787;
    display: flex;
        align-items: center;
    flex-wrap: wrap;
    gap: .93rem;
    margin-top: 10px;
}

.col_tex > div p:nth-child(5){
    display: none;
}

@media (max-width: 1320px) {

    .column {
        grid-template-columns: repeat(2, 1fr);
    }

    .col_tex p:last-child{
        display: none;
    }

}

@media (max-width: 768px) {
   
    .column {
        grid-template-columns: repeat(1, 1fr);
    }

    .column:not(:last-of-type){
        margin-bottom: 6rem;
    }

    .col_img {
        height: 240px !important;
    }
}

@media (max-width: 580px) {

    .col_img {
        height: 200px !important;
    }
}
/*#endregion*/

/*페이지네이션*/
.pagenation{
    margin-top: 5rem;
}

@media (max-width:580px){

    .pagenation{
        margin-top: 3rem;
    }

}

/*#region 기존 페이지네이션*/
.page_n{
    width: 100%;
    text-align: center;
    margin: 100px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-right: 0;
    padding-left: 0;
    column-gap: 0.5rem;
}

.pagination li{
    background: #EDF4FF;
    border-radius: 5px;
    color: #97A5B8;
}

.pagination li.on{
    background: #4090FF;
    color: #fff;
}

.pagination li a{
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
}
/*#endregion*/


.prev,
.next{
    cursor: pointer;
}