@charset "utf-8";


.main_navi > ul > li:nth-child(5) > a {
    display: inline-block;
    border-bottom: 3px solid #051766;
    color: #222;
    font-weight: 700;
    box-sizing: border-box;
}

.s_tab ul li:first-child a {
    display: block;
    border-bottom: 3px solid #051766;
    color: #051766;
    font-weight: 700;
    box-sizing: border-box;
}


/* store_top ///////////////////////////// */
#store_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* mall_title ///////////////////////////// */
.mall_title {
    margin-left: 10px;
}
.mall_title h2 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 30px;
}
.mall_title h4 {
    font-size: 18px;
    font-weight: 500;
    color: #474747;
}
.mall_title p {
    color: #2E4D86;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* search ///////////////////////////// */
.search ul {
    display: flex;
    margin-right: 10px;
    margin-top: 30px;
    background: #eee;
    border-radius: 10px;
}
.search ul li {
    text-align: center;
    margin: 10px;
}
.search ul li a {
    font-size: 13px;
    display: block;
    color: #000;
}

/* mileage ///////////////////////////// */
.mileage ul {
    display: flex;
    justify-content: space-between;
    background: #D0E7F6;
    border-radius: 10px;
    height: 50px;
    margin: 0 10px;
    margin-bottom: 50px;
}
.mileage ul li {
    line-height: 50px;
    margin: 0 30px;
    font-size: 16px;
    font-weight: 500;
}
.mileage ul li a {
    color: #051766;
    font-size: 20px;
    font-weight: 700;
}
.mileage ul li img {
    vertical-align: sub;
    margin: 0 10px;
}

/* open_bar ///////////////////////////// */
#open_bar dl dt {
    height: 50px;
    margin: 0 10px;
    border: 1px solid #ccc;
    line-height: 50px;
    position: relative;
    color: #222;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}
#open_bar dl dt span {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 17px;
    height: 17px;
    display: block;
    background: url(../img/sub_05/Vector_down_01.png) no-repeat 0 0;
}
#open_bar dl dt.active span {
    background-position-x: -19px;}

#open_bar dl dd {
    margin: 0 10px;
    border: 1px solid #ccc;
    overflow: hidden;
    display: none;
    padding: 10px 20px;
}
#open_bar dl dt:nth-last-of-type(1) {
    border-top: none;
}
#open_bar dl dd:nth-of-type(1) {
    border-top: none;
}
#open_bar dl dd:nth-of-type(2) {
    border-top: none;
}
#open_bar dl dd strong {
    display: block;
    font-size: 1.2em;
    margin-bottom: 20px;
}
#open_bar dl dt img {
    vertical-align: sub;
    margin: 0 10px 0 30px;
}
#open_bar dl dd img {
    width: 98%;
    margin: 1%;
    border-radius: 10px;
    margin-bottom: 0;
}
.a_event {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 10px 20px 10px;
}
.bullet {
    display: flex;
    margin-left: 50%;
    transform: translateX(-50%);
}
.bullet li a {
    display: block;
    width: 45px;
    height: 6px;
    margin: 5px 3px;
    background: #ccc;
    text-indent: -9999px;
    border-radius: 4px;
}
.bullet li a.on {
    background: #051766;
}
.ev_text a {
    font-size: 16px;
    font-weight: 500;
    padding: 5px 17px;
    background: #051766;
    color: #fff;
    border-radius: 20px;
}


/* kal_store ///////////////////////////// */
#kal_store {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 80px 10px 30px 10px;
}
#kal_store h2 {
    font-size: 25px;
    font-weight: 700;
    margin-left: 50%;
    transform: translateX(-50%);
}

.p_align p {
    margin-bottom: 5px;
    color: #474747;
}
.p_align strong {
    width: 70px;
    font-size: 16px;
    font-weight: 500;
    display: block;
    background: url(../img/sub_06/Vector_down.png) no-repeat 55px 10px /10px;
    border-bottom: 1px solid #000;
    cursor: pointer;
}



/* product ///////////////////////////// */
#product ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 0 10px;
}
#product ul li {
    width: 31.25%;
    margin-bottom: 50px;
}
#product ul li a figure {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 2px 2px 3px #999;
}
#product ul li a figure img {
    vertical-align: top;
    transition: 0.3s;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
#product ul li a p {
    margin-top: 25px;
    font-size: 16px;
    color: #000;
}
#product ul li a strong {
    font-size: 18px;
    font-weight: 700;
    color: #051766;
    text-decoration: none;
}
#product ul li a span {
    display: block;
    padding-top: 10px;
    font-size: 14px;
    color: #474747;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#product .sale {
    font-size: 12px;
    font-weight: 400;
    color: #474747;
}
#product .redt {
    font-size: 12px;
    font-weight: 400;
    color: #f00;
}


/* e_add ///////////////////////////// */
#e_add {
    text-align: center;
    margin-bottom: 50px;
}
#e_add p {
    display: inline-block;
    cursor: pointer;
}
#e_add p span {
    color: #636363;
}
#e_add p strong {
    color: #000;
}
#e_add img {
    transform: scale(0.8);
}


/* 반응형 스타일 ///////////////// */

@media screen and (max-width:480px) {
    .mileage ul {
        margin-bottom: 30px;
    }
    .mileage ul li {
        margin: 0 10px;
        font-size: 14px;
    }
    .mileage ul li img {
        margin: 0px 5px;
    }
    #open_bar dl dt {
        font-size: 16px;
    }
    #open_bar dl dt img {
        margin: 0 10px 0 10px;
    }
    .ev_text a {
        font-size: 13px;
        padding: 5px 15px;
    }
    #kal_store {
        margin: 30px 10px;
    }
    #kal_store h2 {
        font-size: 20px;
    }
    /* 판매 제품 나열 */
    #product ul li {
        width: 100%;
    }
    .p_align strong {
        width: 55px;
        font-size: 14px;
        background: url(../img/sub_06/Vector_down.png) no-repeat 43px 9px / 9px;
    }
} /* 모바일 최소: 480까지 */


@media screen and (max-width:570px) {
    /* 최상단 탭메뉴 안보이게 */
    .s_tab ul li a, .s_tab ul li:first-child a {
        display: none;
    }
    .mall_title h2 {
        margin-top: 0px;
    }
} /* 모바일: 0부터 570까지 */


@media screen and (max-width:768px) {
    .s_tab ul li a {
        font-size: 15px;
    }
    #store_top {
        flex-direction: column;
        align-items:flex-start;
    }
    .search ul {
        margin: 0 10px;
        margin-bottom: 10px;
    }
    /* 오픈탭(아코디언) */
    #open_bar dl dd {
        padding: 10px 10px;
    }
    .a_event {
        flex-direction: column;
        margin-bottom: 10px;
    }
    .bullet {
        display: flex;
        margin-left: 0%;
        transform: translateX(0%);
    }
    .ev_text {
        display: flex;
        justify-content: space-around;
        align-items: center;
        margin-top: 20px;
    }
    .ev_text span {
        padding: 0 10px;
    }
    
} /* 모바일: 0부터 768까지 */


@media screen and (min-width:481px) and (max-width:768px) {
    .mall_title p span {
        display: inline-block;
    }
    /* 판매 제품 나열 */
    #product ul li {
        width: 49%;
    }
} /* 중간: 501부터 768까지 */


@media screen and (max-width:979px) {
    .a_event .ev_text *{
        display: block;
    }
} /* 중간: 979까지 */


@media screen and (min-width:769px) {
    .s_tab ul li a {
        padding: 0 23px;
    }
    .search ul li a figure {
        padding: 0 10px;
    }

    .search ul li:hover a {
        color: #000;
        text-decoration: underline;
    }
    .mileage ul li a:hover {
        text-decoration: underline;
    }
    .ev_text a:hover {
        background: #082399;
    }
    #product ul li:hover a figure img {
        transform: scale(1.1);
    }
    #product ul li:hover a p {
        text-decoration: underline;
    }
    #e_add p:hover {
        border-bottom: 1px solid #000;
    }
} /* 마우스오버 활성화 외: 769부터 */