/* 공통 */
.news,
.keywords,
.category,
.warehouse {
    margin-top: 8vw;
    overflow: hidden;
}

.section_inner {
    padding: 0 5.33333vw;
}

/* 상단배너 */
.eyecatch {
    overflow: hidden;
    position: relative;
    margin-top: 2.75vw;
}

.eyecatch_wrapper {
    overflow: hidden;
    position: relative;
    height: 23.33333vw;
    height: 18vw;
    background-color: rgb(244, 247, 250);
}

.eyecatch_inner {
    margin: auto;
    width: 75vw;
    overflow: hidden;
    position: relative;
    margin-top: 2.08333vw;
    padding-left: 2.08333vw;
}

.eyecatch_ttl {
    font-size: 2.444444vw;
    font-weight: normal;
}

.eyecatch_ttl span {
    margin-top: 1.25vw;
    font-size: 1.35417vw;
    display: block;
    color: #ee001e;
}

.eyecatch_wrapper::after {
    content: "";
    position: absolute;
    overflow: hidden;
    top: 0;
    right: 0;
    width: 44.8vw;
    height: 23.33333vw;
    background: url(/image/web/eye-catch.png) no-repeat center/contain;
}

/* 제품 */
.products {
    margin-top: 0;
    overflow: hidden;
}

.products_wrapper {
    position: relative;
    padding-bottom: 22.4vw;
}

.products_wrapper .section_inner {
    padding-top: 3.73333vw;
}

.products_wrapper .section_inner {
    padding: 0;
    padding-top: 12.26667vw;
}


.products_wrapper .section_ttl,
.keywords_wrapper .section_ttl,
.category_wrapper .section_ttl,
.warehouse_wrapper .section_ttl {
    letter-spacing: 0;
    color: #ee001e;
    font-size: 6vw;
    text-align: center;
    margin-bottom: 3vw;
}

.slick-dots li.slick-active button:before {
    color: #ee001e !important;
}

.slick-dots li button:before {
    font-size: 40px !important;
}

/* 카테고리 */
.category {
    margin-top: 5.88888vw;
}


.news_tag_wrapper span:last-of-type {
    display: inline-block;
    border-radius: 1.86667vw;
    margin-left: 0.88542vw;
    padding: 0.20833vw 0.88542vw;
    font-size: 0.72917vw;
}

.news_tag_wrapper span:last-of-type.topics {
    background: #b2d2f0;
}

.news_tag_wrapper span:last-of-type.sale {
    background: #e6dd7d;
}

.news_tag_wrapper span:last-of-type.event {
    background: #f1be8c;
}

@media (min-width: 768px) {

    /* 공통 */
    .section {
        margin: 0 auto;
    }

    .products_wrapper .section_ttl,
    .keywords_wrapper .section_ttl,
    .category_wrapper .section_ttl,
    .warehouse_wrapper .section_ttl {
        margin-left: 2.13542vw;
        font-size: 2.29167vw;
        text-align: left;
        margin-bottom: 1vw;
        letter-spacing: 0;
        color: #ee001e;
    }

    .section_inner {
        margin: 0 auto;
        padding: 0;
        width: 75vw;
    }

    /* 제품 */
    .products_wrapper {
        padding-bottom: 6.33333vw;
    }

    .products_wrapper .section_inner {
        padding-top: 4vw;
    }

    .products_wrapper .section_inner {
        width: 100%;
    }

    .products_wrapper .section_ttl {
        margin-left: 1vw;
    }

    .products_wrapper .section_ttl,
    .keywords_wrapper .section_ttl,
    .category_wrapper .section_ttl,
    .warehouse_wrapper .section_ttl {
        margin-left: 2.13542vw;
        font-size: 2.29167vw;
        text-align: left;
        margin-bottom: 1vw;
    }

    .product_list_wrapper {
        /* padding: 0 2.08333vw; */
        padding: 0;
        margin: auto;
        width: 75%;
        background: #fff;
    }

    .product_list {
        display: flex;
        margin: 0.36458vw -0.67708vw;
        padding: 0;
        flex-wrap: wrap;
    }

    .product_list_item {
        margin: 0.2vw 0.4vw !important;
        background-color: rgb(241, 241, 241);
        border: solid thin #ccc;
    }

    .product_head {
        margin-bottom: 0.46875vw;
    }

    .product_code {
        font-size: 0.83333vw;
        font-weight: bold;
        text-align: right;
    }

    .product_code span {
        font-size: 0.63333vw;
        font-weight: normal;
    }

    .product_img {
        width: 100%;
        height: 200px; /* 이미지의 일반적인 높이에 맞춰 조정하세요 */
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f0f0f0; /* 배경색을 원하는 대로 조정하세요 */
    }

    .product_code_placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 24px;
        color: #333;
        font-weight: bold;
        background-color: rgba(51, 51, 51, 0.1);
    }

    .product_list_item a .product_img {
        overflow: hidden;
    }

    .product_list_item a .product_img img {
        display: block;
        width: auto;
        margin: auto;
        height: 10.33334vw;
        min-height: 10.33334vw;
        max-height: 10.33334vw;
        transition: 0.3s;
    }

    .product_desc {
        margin-top: 0.46875vw;
    }

    .product_list_item a {
        display: block;
        padding: 1.40625vw;
        padding-top: 0.3vw;
        padding-bottom: 0.6vw;
    }

    .product_list_item a .product_name {
        line-height: 1.2em;
        height: 3em;
        font-size: 1.14583vw;
    }

    .product_list_item a .product_tag,
    .product_list_item a .product_price {
        transition: 0.3s;
        height: 3em;
    }

    .product_tag {
        margin-top: 0.36458vw;
        font-size: 0.83333vw;
    }

    .product_tag span {
        display: block;
        font-weight: bold;
        line-height: 1.3;
        background: #ccc;
        width: 6.2em;
        border-radius: 8em;
        padding: 0.1em 0.6em;
        text-align: center;
        font-weight: normal;
        margin-top: 1.06667vw;
        font-size: 0.63333vw;
    }

    .product_list_item a:hover .product_name,
    .product_list_item a:hover .product_tag,
    .product_list_item a .product_price {
        text-shadow: 0px 0px 0.5px black;
    }

    .product_list_item a:hover .product_img img {
        transform: scale(1.05);
    }

    .product_list_item a .product_tag,
    .product_list_item a .product_price {
        transition: 0.3s;
        height: 3em;
    }

    .product_price {
        margin-top: 0.36458vw;
        font-size: 1.14583vw;
        color: #ee001e;
        text-align: right;
    }

    .product_price span {
        display: block;
        font-weight: bold;
        line-height: 1.3;
        font-size: 0.83333vw;
        color: #222;
        text-align: left;
    }

    /* 공지 */
    .news {
        padding-top: 2.333333vw;
        padding-bottom: 2.333333vw;
        margin-top: 4vw;
        background-color: rgb(241, 241, 241);
        position: relative;
    }

    .news::before {
        content: "";
        position: absolute;
        top: 0;
        left: 5.98832vw;
        background: #ee001e;
        border-right: 2px solid #ddd;
        border-left: 2px solid #ddd;
        width: 30.52083vw;
        height: 100%;
        transform: skewX(-21deg);
        transform-origin: top center;
    }

    .news_wrapper {
        position: relative;
    }

    .news .section_inner {
        display: flex;
    }

    .news .section_ttl_wrapper {
        display: block;
        margin-top: 0;
        padding-left: 2.08333vw;
        width: 26.30208vw;
    }

    .news .section_ttl {
        margin-right: 2.29167vw;
        font-size: 2.29167vw;
        color: #fff;
    }

    .news_link a {
        font-size: 0.9375vw;
        position: relative;
        color: #ee001e;
        font-weight: bold;
        color: #fff;
    }

    .news_link a::after {
        content: "";
        display: inline-block;
        margin-bottom: 0.15625vw;
        margin-left: 1.04167vw;
        width: 2.70833vw;
        height: 0.41667vw;
        transform: translateX(0);
        transition: 0.3s;
        background: url(/image/web/arrow_white.png) no-repeat center/contain;
    }

    .news_link a:hover::after {
        transform: translateX(1.04167vw);
    }

    .news_list {
        margin-top: 0.52083vw;
        margin-left: 0.36458vw;
        width: calc(100% - 25.9375vw);
    }

    .news_list a {
        transition: 0.3s;
    }

    .news_list a:hover .news_tag_wrapper span:first-of-type {
        text-shadow: 0px 0px 0.5px black;
    }

    .news_tag_wrapper {
        font-size: 0.9375vw;
    }

    .news_desc {
        position: relative;
        margin-top: 0.36458vw;
        transition: 0.3s;
        letter-spacing: 0;
        font-size: 0.83333vw;
    }

    .news_desc::after {
        content: "";
        position: absolute;
        top: 0;
        right: 4.6875vw;
        bottom: 0;
        margin: auto;
        width: 2.70833vw;
        height: 0.41667vw;
        transition: 0.3s;
        background: url(/image/web/arrow_red.png) no-repeat center/contain;
    }

    .news_list a:hover .news_desc::after {
        right: 3.64583vw;
    }

    .news_list a:hover .news_desc {
        color: #ef001e;
    }

    .news_list li + li {
        margin-top: 1.66667vw;
    }

    .news_link {
        margin-top: 1.51042vw;
    }

    /* 카테고리 */
    .keywords_wrapper,
    .category_link_wrapper {
        margin-top: 0;
        padding: 2.08333vw 0;
        overflow: hidden;
    }

    .category_list_item {
        margin: 0;
        width: calc(33% - 4.5417vw);
    }

    .category_list_item {
        float: left;
        height: 64px;
        position: relative;
        padding: 0.83333vw 0;
        font-size: 0.83333vw;
        padding-left: 0.83333vw;
        border: none;
        border-bottom: thin solid rgb(214, 214, 214);
    }

    .category_list_item:nth-child(3n-1) {
        margin-left: 7.11112vw;
        margin-right: 7.1112vw;
    }

    .category_list_item:nth-child(3n) {
        margin-right: 0;
    }

    ul.category_list li a:after {
        content: "";
        position: absolute;
        top: 0;
        right: 2.60417vw;
        bottom: 0;
        margin: auto;
        width: 2.70833vw;
        height: 0.41667vw;
        transition: 0.3s;
        background: url(/image/web/arrow_red.png) no-repeat center/contain;
    }

    ul.category_list li a:hover {
        color: #ef001e;
    }

    ul.category_list li a:hover:after {
        right: 1.5625vw;
    }
}

@media (max-width: 767px) {
    /* 배너 */
    .eyecatch_ttl {
        font-size: 16px;
    }

    .eyecatch,
    .eyecatch_wrapper {
        height: 30vw;
    }

    .eyecatch_inner {
        width: 100%;
        margin: 1.2vw 3vw;
        padding: 0;
    }

    .eyecatch_ttl span {
        margin-bottom: 2vw;
        font-size: 4vw;
    }

    .eyecatch_wrapper:after {
        right: -156px;
        width: 89.8vw;
        height: 30.33333vw;
    }

    /* 제품 */
    .products {
        display: none;
        height: 0;
    }

    .category_list_item {
        position: relative;
        height: 64px;
        font-size: 16px;
        border-bottom: thin solid rgb(214, 214, 214);
    }

    ul.category_list li a:after {
        content: "";
        position: absolute;
        top: 0;
        right: 5.33333vw;
        bottom: 0;
        margin: auto;
        width: 44px;
        height: 10px;
        transition: 0.3s;
        background: url(/image/web/arrow_red.png) no-repeat center / contain;
    }

    ul.category_list li:last-child {
        margin-bottom: 20px;
    }

    .news_wrapper .section_ttl_wrapper {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .news_wrapper .section_ttl_wrapper .news_link {
        margin-left: 10px;
    }

    .news_wrapper h3 {
        font-size: 20px;
        font-weight: bold;
        color: #ee001e;
    }

    .news_list li:not(:last-child) {
        margin-bottom: 15px;
    }

    .news_tag_wrapper span:last-of-type {
        display: inline-block;
        border-radius: 15px;
        padding: 2px 16px;
        font-size: 14px;
        font-width: bold;
    }

    .news_desc {
        word-break: keep-all;
    }
}