@charset "utf-8";
@import url('reset.css');
@import url('common.css');

@font-face {
    font-family: 'Pretendard';
    src: url('font/Pretendard-Regular.eot');
    src: url('font/Pretendard-Regular.eot?#iefix') format('embedded-opentype'),
        url('font/Pretendard-Regular.woff2') format('woff2'),
        url('font/Pretendard-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('font/Pretendard-Medium.eot');
    src: url('font/Pretendard-Medium.eot?#iefix') format('embedded-opentype'),
        url('font/Pretendard-Medium.woff2') format('woff2'),
        url('font/Pretendard-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('font/Pretendard-Light.eot');
    src: url('font/Pretendard-Light.eot?#iefix') format('embedded-opentype'),
        url('font/Pretendard-Light.woff2') format('woff2'),
        url('font/Pretendard-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}


/* 공통스타일 잡아주기 */
a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Pretendard';
    font-weight: 500;
}

h3 {
    font-size: 50px;
    font-weight: bold;
}

.inner {
    max-width: 1600px;
    width: calc(100% - 30px);
    margin: 0 auto;
}

.mobile {
    display: none;
}


/******************************************/

/* header */
header {
    height: 100px;
    position: relative;
    z-index: 9;
}

header .inner {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .inner h1 {
    height: 50px;
}

header .inner h1 img {
    height: 50px;
}

header .inner .pc {
    position: relative;
}

header .inner .pc .gnb .depth01 {
    display: inline-block;
    vertical-align: top;
    position: relative;
}
header .inner .pc .gnb .depth01>a:hover {
    color: #bb181d;
}
header .inner .pc .gnb .depth01>a {
    display: block;
    line-height: 100px;
    padding: 0 30px;
    transition: .3s;
}

header .inner .pc .gnb .depth01 .depth02 {
    width: 150px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    text-align: center;
    display: none;
}

header .inner .pc .gnb .depth01 .depth02 li {
    padding: 15px;
}

header .inner .pc .bar {
    position: absolute;
    left: 0;
    bottom: 20px;
    background-color: #bb181d;
}


header .inner .pc .bar span {
    position: absolute;
    left: -9999999999px;
}

/* main_visual */
.main_visual {
    height: calc(100vh - 100px);
    position: relative;
}

.main_visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main_visual div {
    max-width: 1600px;
    width: calc(100% - 30px);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.main_visual div h2 {
    font-size: 50px;
    font-weight: bold;
    line-height: 1.3;
}

.main_visual div p {
    font-size: 25px;
    margin: 30px 0 10px;
}

.main_visual div span {
    font-size: 20px;
}

.main_visual div a {
    width: 150px;
    height: 45px;
    border: 1px solid #333;
    border-radius: 40px;
    text-align: center;
    line-height: 45px;
    display: block;
    margin-top: 100px;
}

/* .best */
.best {
    margin: 150px auto;
}

.best .title {
    display: flex;
    justify-content: space-between;
}

.best .title a {
    order: 1;
    width: 150px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 40px;
    text-align: center;
    line-height: 45px;
}

.best .title h3 {
    margin-top: 45px;
}

.best .best_menu {
    display: flex;
    justify-content: flex-end;
    margin: 40px 0 30px;
}

.best .best_menu li {
    margin-left: 30px;
}

.best .best_menu li.on {
    color: #bb181d;
}

.best .list {
    display: flex;
    justify-content: space-between;
}

.best .list .item {
    width: 24.12%;
    /* 386/1600*100 */
}

.best .list .item img {
    width: 100%;
    max-height: 420px;
    height: 26.25vw;
    /* 420/1600*100 => ?? */
}

.best .list .item .text h4 {
    height: 52px;
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 30px;
    line-height: 1.3;
}

.best .list .item .text div {
    display: flex;
    justify-content: space-between;
    font-size: 22px;
}

.best .list .item .text div p {
    color: #838383;
    text-decoration: line-through;
}

.best .list .item .text div strong {
    font-weight: bold;
}

.best .list .item .text div strong span {
    color: #bb181d;
}

.best .list .item img {
    width: 100%;
}

/* brand */
.brand {
    background-color: #fdf9ef;
    padding: 150px 0;
}

.brand .inner {
    display: flex;
    justify-content: space-between;
}

.brand .inner .title {
    /* 520/1600*100 */
    width: 32.5%;
}

.brand .inner .list {
    width: calc(100% - 32.5%);
    display: flex;
    justify-content: space-between;
}

.brand .inner .list .item {
    width: calc(100% / 2 - 10px);
    /* height: 395px; */
    max-height: 395px;
    height: 24.68vw;
    /* 395/1600*100 */
    position: relative;
}

.brand .inner .list .item div {
    position: absolute;
    left: 40px;
    bottom: 40px;
}

.brand .inner .list .item div h4 {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 20px;
}

.brand .inner .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand .inner .title div p {
    font-size: 30px;
    line-height: 1.3;
    margin: 50px 0 100px;
}

.brand .inner .title a {
    width: 150px;
    height: 45px;
    border: 1px solid #333;
    border-radius: 40px;
    text-align: center;
    line-height: 45px;
    display: block;
}

/* footer */
footer {
    padding: 20px 0;
    background-color: #bb181d;
    color: #fff;
    text-align: center;
}

@media screen and (max-width:1024px) {
    .pc {
        display: none;
    }

    .mobile {
        display: block;
    }

    .mobile_gnb {
        display: none;
    }

    h3 {
        font-size: 40px;
    }

    .best .list .item .text div {
        flex-wrap: wrap;
    }

    /* brand */
    .brand {
        padding: 60px 0;
    }

    .brand .inner {
        display: block;
    }

    .brand .inner .title {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .brand .inner .title div p {
        font-size: 16px;
        margin: 25px 0 30px;
    }

    .brand .inner .title div p br {
        display: none;
    }

    .brand .inner .list {
        width: 100%;
    }

    .brand .inner .list .item {
        height: 50vw;
    }



    /* 1024px */
}

@media screen and (max-width:767px) {
    header {
        height: 70px;
    }

    header .inner h1 {
        height: 25px;
    }

    header .inner h1 img {
        height: 25px;
    }

    /* main_visual */
    .main_visual div h2 {
        font-size: 30px;
    }

    .main_visual div p {
        font-size: 20px;
    }

    .main_visual div span {
        font-size: 16px;
    }

    /* best */
    .best {
        margin: 60px 0;
    }

    .best .best_menu {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .best .best_menu li {
        margin-left: 0;
        margin-right: 30px;
    }

    /* 
    + : 바로 뒤에 있는 형제 선택자
    ~ : 뒤에 있는 모든 형제 선택자
    */
    .best .list .item:nth-child(2)~.item {
        display: none;
    }

    .best .list .item {
        width: 49%;
    }

    .best .list .item img {
        height: auto;
    }

    .brand .inner .list .item div {
        bottom: 20px;
        left: 20px;
    }

    .brand .inner .list .item div h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    /* 767px */
}

@media screen and (max-width:480px) {

    /* best */
    .best .list .item .text h4 {
        font-size: 16px;
        margin: 7px 0 10px;
    }

    .best .list .item .text div {
        font-size: 16px;
    }

    /* brand */
    .brand .inner .list {
        /* display: block; */
        flex-wrap: wrap;
    }

    .brand .inner .list .item {
        width: 100%;
        margin-bottom: 15px;
    }

    /* 480px */
}

@media screen and (max-width:380px) {

    /* main_visual */
    .main_visual div h2 {
        font-size: 20px;
    }

    .main_visual h2 br {
        display: none;
    }

    .main_visual div p,
    .main_visual div span {
        font-size: 16px;
    }

    .best .title h3 {
        font-size: 22px;
    }

    .best .best_menu {
        font-size: 13px;
    }

    .main_visual div a {
        margin-top: 50px;
    }

    /* best */
    .best .title a {
        width: 100px;
        height: 30px;
        line-height: 30px;
    }
}