@charset "utf-8";

/* intro */
.intro{
    background-image: url(../img/before-after/intro-bna.jpg);
}


/* bna */
.bna{
    padding: 20rem 0;
}
.bna .title small{
    font-weight: 300;
    font-size: 14px;
    line-height: 1.57;
    color: var(--grey1);
}
.bna .title small:first-of-type{
    margin-top: 3rem;
    margin-bottom: 1rem;
}

/* filter_call(모바일 전용) */
.filter{
    width: 100%;
    height: fit-content;
    position: relative;
    z-index: 3;
}
.bna .filter_call{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 25px;
    color: #fff;
    background: var(--main);
    border-radius: 4px;
    cursor: pointer;
    display: none;
    box-shadow: 0 3px 12px rgba(0,0,0,.15);
}
.bna .filter_call.on{
    border-radius: 4px 4px 0 0 ;
}
.bna .filter_call b{
    font-weight: 600;
    font-size: 20px;
    letter-spacing: -0.002em;
}
.bna .filter_call .icon_box{
    width: 22px;
    height: 12px;
    background: url(../img/common/icon_m_down.svg) no-repeat;
    background-size: contain;
}
.bna .filter_call.on .icon_box{
    background-image: url(../img/common/icon_m_up.svg);
}

/* 카테고리 필터 */
.bna nav{
    width: 100%;
}
.bna nav ul{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.bna nav ul li{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: #8a8a8a;
    padding: 1.7rem 0;
    border-bottom: 1px solid #bbb;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
}
.bna nav ul li.on{
    border-bottom: 2px solid var(--main);
    color: var(--dark2);
    font-weight: 600;
}

.bna .bna_box{
    margin-top: 9rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}
.bna .bna_box img{
    position: relative;
    width: 50%;
    object-fit: cover;
}
.bna .bna_box img:nth-child(5), .bna .bna_box img:nth-child(6),
.bna .bna_box img:nth-child(9), .bna .bna_box img:nth-child(10),
.bna .bna_box img:nth-child(13), .bna .bna_box img:nth-child(14){
    margin-top: 4rem;
}