@charset "utf-8";

@import url(reset.css);
@import url(common.css);

/* .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 {
    display: block;
    width: 150px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 40px;
    margin-top: 100px;
}

/* .best */
.best {
    margin: 150px 0;
}
.best .title {
    display: flex;
    justify-content: space-between;
}
.best .title a {
    order: 1;
    width: 150px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 40px;
}
.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;
    margin-bottom: 10px;
    cursor: pointer;
}
.best .best_menu li.on {
    color: #BB181D;
}
.best .list {
    display: flex;
    justify-content: space-between;
}
.best .list .item {
    /* 386 / 1600 * 100 => 24.125 */
    width: 24.12%;
}
.best .list .item img {
    width: 100%;
    max-height: 420px;
    height: 26.25vw; /* 420 / 1600 * 100 => 26.25 */
    object-fit: cover;
}
.best .list .item .text h4 {
    font-size: 20px;
    font-weight: bold;
    margin: 20px 0 30px;
    line-height: 1.3;
    height: 52px;
}
.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;
    margin-left: 10px;
}

/* .brand */
.brand {
    background-color: #fdf9ef;
    padding: 150px 0;
}
.brand .inner {
    display: flex;
    justify-content: space-between;
}
.brand .inner .title {
    /* 520 / 1600 * 100 => 32.5 */
    width: 32.5%;
}
.brand .inner .title div p {
    font-size: 30px;
    line-height: 1.3;
    margin: 50px 0 100px;
}
.brand .inner .title a {
    display: block;
    width: 150px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border: 1px solid #333;
    border-radius: 40px;
}
.brand .inner .list {
    width: calc(100% - 32.5%);
    display: flex;
    justify-content: space-between;
}
.brand .inner .list .item {
    width: calc(100% / 2 - 10px);
    max-height: 395px;
    height: 24.68vw; /* 395 / 1000 * 100 => 24.68 */
    position: relative;
}
.brand .inner .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.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;
}

@media screen and (max-width: 1024px) {
    h3 {
        font-size: 40px;
    }

    /* .best */
    .best .list .item .text div {
        flex-wrap: wrap;
    }

    /* .brand */
    .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) {
    /* .main_visual */
    .main_visual div h2 {
        font-size: 30px;
    }
    .main_visual div p {
        font-size: 20px;
    }

    /* .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 {
        width: 49%;
    }
    .best .list .item img {
        height: auto;
    }
    .best .list .item:nth-child(2) ~ .item {
        display: none;
    }

    /* .brand */
    .brand {
        padding: 60px 0;
    }
    .brand .inner .list .item div {
        left: 20px;
        bottom: 20px;
    }
    .brand .inner .list .item div h4 {
        font-size: 20px;
        margin-bottom: 10px;
    }
}/* 767px */

@media screen and (max-width: 480px) {
    /* .main_visual */
    .main_visual div a {
        width: 120px;
        height: 40px;
        line-height: 40px;
    }

    /* .best */
    .best .title a {
        width: 95px;
        height: 35px;
        line-height: 35px;
    }
    /* max-width: 480px
    .best안에 있는 item폰트크기 16px으로 변경 */
    .best .list .item .text h4 {
        font-size: 16px;
        margin: 7px 0 10px;
    }
    .best .list .item .text div {
        font-size: 16px;
    }

    /* .brand */
    .brand .inner .title div {
        width: 70%;
    }
    .brand .inner .title a {
        width: 95px;
        height: 35px;
        line-height: 35px;
    }
    .brand .inner .list {
        display: block;
    }
    .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 div h2 br {
        display: none;
    }
    .main_visual div p {
        font-size: 16px;
    }
    .main_visual div span {
        font-size: 16px;
    }
    .main_visual div a {
        margin-top: 50px;
    }

    /* .best */
    h3 {
        font-size: 22px;
    }
    .best .best_menu li {
        font-size: 13px;
    }
}/* 380px */