﻿
@media screen and (max-width: 767px) {
    .home-container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-top: 70px;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area1 {
        width: 100%;
    }

    .home-container > .area1 > .content {
        width: 100%;
    }

    .home-container > .area1 > .content > img {
        width: 100%;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area2 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area2 > .content {
        width: var(--page-width);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 50px;
        padding: 40px 0px;
    }

    .home-container > .area2 > .content > .img-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area2 > .content > .img-box > img {
        width: 100%;
    }

    .home-container > .area2 > .content > .title-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area2 > .content > .title-box > .title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }

    .home-container > .area2 > .content > .title-box > .title > h4 {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .home-container > .area2 > .content > .title-box > .title::after {
        content: "";
        width: 50px;
        height: 4px;
        background-color: #800e13;
    }

    .home-container > .area2 > .content > .title-box > p:nth-of-type(1) {
        color: #666666;
        font-size: 16px;
        font-weight: 700;
        margin-top: 30px;
    }

    .home-container > .area2 > .content > .title-box > p:nth-of-type(2) {
        color: #adadad;
        font-size: 16px;
        font-weight: 700;
        margin-top: 10px;
    }

    .home-container > .area2 > .content > .product-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
    }

    .home-container > .area2 > .content > .product-box > a {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: hidden;
    }

    .home-container > .area2 > .content > .product-box > a > img {
        width: 100%;
    }

    .home-container > .area2 > .content > .product-box > a > p.name {
        width: 100%;
        color: #666666;
        font-weight: 700;
        margin-top: 10px;
        margin-left: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-container > .area2 > .content > .product-box > a > p.price {
        width: 100%;
        color: #666666;
        font-weight: 700;
        margin-top: 5px;
        margin-left: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area3 {
        width: 100%;
        background-color: #f5f5f5;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area3 > .content {
        width: var(--page-width);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 50px;
        padding: 40px 0px;
    }

    .home-container > .area3 > .content > .title-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area3 > .content > .title-box > .title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }

    .home-container > .area3 > .content > .title-box > .title > h4 {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .home-container > .area3 > .content > .title-box > .title::after {
        content: "";
        width: 50px;
        height: 4px;
        background-color: #800e13;
    }

    .home-container > .area3 > .content > .title-box > p:nth-of-type(1) {
        color: #666666;
        font-size: 22px;
        font-weight: 700;
        margin-top: 30px;
    }

    .home-container > .area3 > .content > .title-box > p:nth-of-type(2) {
        color: #adadad;
        font-size: 20px;
        font-weight: 700;
        margin-top: 20px;
        text-align: center;
    }

    .home-container > .area3 > .content > button {
        width: 240px;
        height: 54px;
        border: 1px solid rgba(0, 0, 0, 0);
        background-color: #800e13;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.4s;
    }

    .home-container > .area3 > .content > button > span {
        color: #ffffff;
        font-size: 20px;
        letter-spacing: 4px;
        line-height: 22px;
        pointer-events: none;
    }

    .home-container > .area3 > .content > button:hover {
        border: 1px solid #9b9b9b;
        background-color: #ffffff;
    }

    .home-container > .area3 > .content > button:hover > span {
        color: #9b9b9b;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area4 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area4 > .content {
        width: var(--page-width);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 50px;
        padding: 40px 0px;
    }

    .home-container > .area4 > .content > .title-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }

    .home-container > .area4 > .content > .title-box > .title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }

    .home-container > .area4 > .content > .title-box > .title > h4 {
        font-size: 28px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .home-container > .area4 > .content > .title-box > .title::after {
        content: "";
        width: 50px;
        height: 4px;
        background-color: #e50044;
    }

    .home-container > .area4 > .content > .product-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 40px;
    }

    .home-container > .area4 > .content > .product-box > a {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: hidden;
    }

    .home-container > .area4 > .content > .product-box > a > .img-box {
        width: 100%;
        overflow: hidden;
    }

    .home-container > .area4 > .content > .product-box > a > .img-box > img {
        width: 100%;
        transition: all 0.4s;
    }

    .home-container > .area4 > .content > .product-box > a:hover > .img-box > img {
        transform: scale(1.2);
    }

    .home-container > .area4 > .content > .product-box > a > p.name {
        width: 100%;
        color: #666666;
        font-weight: 700;
        margin-top: 10px;
        margin-left: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-container > .area4 > .content > .product-box > a > p.price {
        width: 100%;
        color: #666666;
        font-weight: 700;
        margin-top: 5px;
        margin-left: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area5 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area5 > .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 50px;
        padding-bottom: 40px;
    }

    .home-container > .area5 > .content > .banner-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area5 > .content > .banner-box > .up {
        width: 100%;
        display: flex;
        flex-direction:column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area5 > .content > .banner-box > .up > .left,
    .home-container > .area5 > .content > .banner-box > .up > .right {
        width: 100%;
        position: relative;
    }

    .home-container > .area5 > .content > .banner-box > .up > .left > img,
    .home-container > .area5 > .content > .banner-box > .up > .right > img {
        width: 100%;
    }

    .home-container > .area5 > .content > .banner-box > .up > .left > .more-box,
    .home-container > .area5 > .content > .banner-box > .up > .right > .more-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        position: absolute;
        top: calc(100% * 0.15789);
        left: calc(100% * 0.125);
    }

    .home-container > .area5 > .content > .banner-box > .up > .left > .more-box > p,
    .home-container > .area5 > .content > .banner-box > .up > .right > .more-box > p {
        color: #ffffff;
        font-size: 28px;
        font-weight: 700;
        letter-spacing: 4px;
        line-height: 28px;
    }

    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a {
        width: 100px;
        height: 46px;
        background-color: rgba(0, 0, 0, 0);
        border: 1px solid #ffffff;
        border-radius: 30px;
        box-sizing: border-box;
        color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.4s;
    }
    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a:link { color: #ffffff; }
    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a:hover { background-color: #ffffff; color: #9b9b9b; }
    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a:active { color: #ffffff; }

    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a > span {
        color: #ffffff;
        font-size: 14px;
        letter-spacing: 2px;
        line-height: 14px;
        margin-top: 2px;
        pointer-events: none;
    }

    .home-container > .area5 > .content > .banner-box > .down {
        width: 100%;
    }

    .home-container > .area5 > .content > .banner-box > .down > img {
        width: 100%;
    }
}

@media screen and (min-width: 768px) {
    .home-container {
        width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-top: 90px;
    }
    
    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area1 {
        width: 100%;
    }

    .home-container > .area1 > .content {
        width: 100%;
    }

    .home-container > .area1 > .content > img {
        width: 100%;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area2 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area2 > .content {
        max-width: var(--page-max-width);
        width: var(--page-width);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 80px;
        padding: 100px 0px;
    }

    .home-container > .area2 > .content > .img-box {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .home-container > .area2 > .content > .img-box > img {
        width: 50%;
    }

    .home-container > .area2 > .content > .title-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }

    .home-container > .area2 > .content > .title-box > .title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }

    .home-container > .area2 > .content > .title-box > .title > h4 {
        font-size: 38px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .home-container > .area2 > .content > .title-box > .title::after {
        content: "";
        width: 50px;
        height: 4px;
        background-color: #800e13;
    }

    .home-container > .area2 > .content > .title-box > p:nth-of-type(1) {
        color: #666666;
        font-size: 18px;
        font-weight: 700;
    }

    .home-container > .area2 > .content > .title-box > p:nth-of-type(2) {
        color: #adadad;
        font-size: 26px;
        font-weight: 700;
    }

    .home-container > .area2 > .content > .product-box {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 40px;
    }

    .home-container > .area2 > .content > .product-box > a {
        width: calc((100% - 120px) / 4);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: hidden;
    }

    .home-container > .area2 > .content > .product-box > a > img {
        width: 100%;
        height: 427px;
        object-fit: cover;
    }

    .home-container > .area2 > .content > .product-box > a > p.name {
        width: 100%;
        color: #666666;
        font-weight: 700;
        letter-spacing: 2px;
        margin-top: 10px;
        margin-left: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-container > .area2 > .content > .product-box > a > p.price {
        width: 100%;
        color: #666666;
        font-weight: 700;
        letter-spacing: 2px;
        margin-top: 5px;
        margin-left: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area3 {
        width: 100%;
        background-color: #f5f5f5;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area3 > .content {
        max-width: var(--page-max-width);
        width: var(--page-width);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 80px;
        padding: 100px 0px;
    }

    .home-container > .area3 > .content > .title-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area3 > .content > .title-box > .title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }

    .home-container > .area3 > .content > .title-box > .title > h4 {
        font-size: 38px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .home-container > .area3 > .content > .title-box > .title::after {
        content: "";
        width: 50px;
        height: 4px;
        background-color: #800e13;
    }

    .home-container > .area3 > .content > .title-box > p:nth-of-type(1) {
        color: #666666;
        font-size: 30px;
        font-weight: 700;
        margin-top: 80px;
    }

    .home-container > .area3 > .content > .title-box > p:nth-of-type(2) {
        color: #adadad;
        font-size: 26px;
        font-weight: 700;
        margin-top: 30px;
    }

    .home-container > .area3 > .content > button {
        width: 240px;
        height: 54px;
        border: 1px solid rgba(0, 0, 0, 0);
        background-color: #800e13;
        border-radius: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.4s;
    }

    .home-container > .area3 > .content > button > span {
        color: #ffffff;
        font-size: 20px;
        letter-spacing: 4px;
        line-height: 22px;
        pointer-events: none;
    }

    .home-container > .area3 > .content > button:hover {
        border: 1px solid #00416b;
        background-color: #ffffff;
    }

    .home-container > .area3 > .content > button:hover > span {
        color: #00416b;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area4 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area4 > .content {
        max-width: var(--page-max-width);
        width: var(--page-width);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 80px;
        padding: 100px 0px;
    }

    .home-container > .area4 > .content > .title-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 20px;
    }

    .home-container > .area4 > .content > .title-box > .title {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 5px;
    }

    .home-container > .area4 > .content > .title-box > .title > h4 {
        font-size: 38px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .home-container > .area4 > .content > .title-box > .title::after {
        content: "";
        width: 50px;
        height: 4px;
        background-color: #800e13;
    }

    .home-container > .area4 > .content > .product-box {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 40px;
    }

    .home-container > .area4 > .content > .product-box > a {
        width: calc((100% - 160px) / 5);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: hidden;
    }

    .home-container > .area4 > .content > .product-box > a > .img-box {
        width: 100%;
        overflow: hidden;
    }

    .home-container > .area4 > .content > .product-box > a > .img-box > img {
        width: 100%;
        height: 327px;
        object-fit: cover;
        transition: all 0.4s;
    }

    .home-container > .area4 > .content > .product-box > a:hover > .img-box > img {
        transform: scale(1.2);
    }

    .home-container > .area4 > .content > .product-box > a > p.name {
        width: 100%;
        color: #666666;
        font-weight: 700;
        letter-spacing: 2px;
        margin-top: 10px;
        margin-left: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-container > .area4 > .content > .product-box > a > p.price {
        width: 100%;
        color: #666666;
        font-weight: 700;
        letter-spacing: 2px;
        margin-top: 5px;
        margin-left: 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* ---------------------------------------------------------------------------------------------------- */

    .home-container > .area5 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area5 > .content {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 80px;
        padding-bottom: 100px;
    }

    .home-container > .area5 > .content > .banner-box {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .home-container > .area5 > .content > .banner-box > .up {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .home-container > .area5 > .content > .banner-box > .up > .left,
    .home-container > .area5 > .content > .banner-box > .up > .right {
        width: 50%;
        position: relative;
    }

    .home-container > .area5 > .content > .banner-box > .up > .left > img,
    .home-container > .area5 > .content > .banner-box > .up > .right > img {
        width: 100%;
    }

    .home-container > .area5 > .content > .banner-box > .up > .left > .more-box,
    .home-container > .area5 > .content > .banner-box > .up > .right > .more-box {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 20px;
        position: absolute;
        top: calc(100% * 0.15789);
        left: calc(100% * 0.125);
    }

    .home-container > .area5 > .content > .banner-box > .up > .left > .more-box > p,
    .home-container > .area5 > .content > .banner-box > .up > .right > .more-box > p {
        color: #ffffff;
        font-size: 50px;
        font-weight: 700;
        letter-spacing: 4px;
        line-height: 50px;
    }

    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a {
        width: 150px;
        height: 54px;
        background-color: rgba(0, 0, 0, 0);
        border: 1px solid #ffffff;
        border-radius: 30px;
        box-sizing: border-box;
        color: #ffffff;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.4s;
    }
    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a:link { color: #ffffff; }
    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a:hover { background-color: #ffffff; color: #9b9b9b; }
    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a:active { color: #ffffff; }

    .home-container > .area5 > .content > .banner-box > .up > :where(.left, .right) > .more-box > a > span {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: 4px;
        line-height: 18px;
        margin-top: 2px;
        pointer-events: none;
    }

    .home-container > .area5 > .content > .banner-box > .down {
        width: 100%;
    }

    .home-container > .area5 > .content > .banner-box > .down > img {
        width: 100%;
    }
}