/* ============================================
   프론트(메인) 페이지 CSS
   ============================================ */

/* --- header --- */
header.header {
    background: transparent;
    border-bottom-color: transparent;
    color: #fff;
}

header.header .logo--dark {
    display: none;
}
header.header .logo--light {
    display: inline-block;
}

header.header.header_change {
    background: #fff;
    border-bottom-color: rgba(0, 0, 0, 0.5);
    color: inherit;
}
header.header.header_change .logo--dark {
    display: inline-block;
}
header.header.header_change .logo--light {
    display: none;
}

/* --- main swiper --- */
section.main {
    width: 100%;
    height: 100vh;
    position: relative;
    padding-top: 0 !important;
}
.main_swiper-container {
    width: 100%;
    height: 100%;
}
.main_swiper {
    height: 100%;
}
.main_swiper .slide__inner {
    width: 100%;
    height: 100%;
}
.main_swiper .slide__img {
    width: 100%;
    height: 100%;
}
.main_swiper .slide__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main_swiper .swiper-slide {
    overflow: hidden;
}

.main__pagination--wrap {
    position: absolute;
    bottom: var(--size-30);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: #fff;
}

.main__fraction--pagination .bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #fff;
    border-radius: 2px;
    transition: width 0.3s;
}

.main__fraction--current {
    color: var(--primary);
}

.main__pagination--wrap {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0 1rem;
}

[class^="main__button--"] {
    padding: 2rem;
}
.main__button--prev {
    transform: scaleX(-1);
}

/* ============================================
   con01 : 브랜드/프랜차이즈 카드
   ============================================ */

.con01__top {
    height: 100svh;
}

/* bg */
.con01__bg {
    right: 0;
}

.con01_01 {
    bottom: -10rem;
    left: 50%;
    transform: translateX(-50%);
}

/* left */
.con01__left {
    top: 27rem;
    left: 17rem;
}
.con01__left .subheadS {
    margin-top: 4rem;
}

/* right */
.con01__right {
    top: 50rem;
    right: 17rem;
}
/* center */
.con01__center {
    clip-path: inset(9rem 70rem 9rem 70rem round 500px);
}

.con01__mq {
    top: 27rem;

    > img {
        animation: marqueeX 20s infinite linear;
    }
}

/* ============================================
   con01_b : 브랜드/프랜차이즈 카드
   ============================================ */
.con01__bottom {
    padding: 3rem 6rem;
    box-sizing: border-box;
}

.con01 .bottom__container {
    padding: 16rem 0 10rem;
    background: url(/images/01_con02_05_1.webp) no-repeat center/cover;
    box-sizing: border-box;
    height: 100%;
    border-radius: 5rem;
    outline: 1px solid var(--bg-color);
    outline-offset: 8px;
}

.con01__bottom .head--wrap {
    color: #fff;
}

/* best menu swiper */
.best__menu--swiper {
    overflow: visible !important;
    clip-path: inset(-100% 0);
}

@media (min-width: 600px) {
    .best__menu--swiper .swiper-wrapper {
        margin-left: -6rem;
    }
    .best__menu--swiper .swiper-slide {
        color: #fff;
        padding: 12rem 8rem;
        box-sizing: border-box;
        border-radius: 5rem;
        background-color: #000;
        transform: scale(0.6);

        transition-property: all;
        transition-duration: 0.6s;

        .menu__name {
            opacity: 0;
            margin: 0;
            height: 0;

            transition: all 0.6s;
        }

        .menu__img  {
            aspect-ratio: 44 / 30;
            overflow: hidden;

            img {
                height: 100%;
                object-fit: contain;
            }
        }
    }
    .best__menu--swiper .swiper-slide-active {
        background-color: #fff;
        color: #000;
        transform: scale(1) translateY(2rem);
        padding: 4rem 8rem;
        width: 60rem !important;

        .menu__name {
            opacity: 1;
            margin-top: 3rem;
            height: auto;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
    }
    /* next */
    .best__menu--swiper .swiper-slide-next {
        transform: scale(0.6) translateX(12rem);
    }
    .best__menu--swiper .swiper-slide-next + .swiper-slide {
        transform: scale(0.6) translateX(-20rem);
    }

    /* prev */
    .best__menu--swiper .swiper-slide-prev {
        transform: scale(0.6) translateX(-12rem);
    }
    .best__menu--swiper .swiper-slide:has(+ .swiper-slide-prev) {
        transform: scale(0.6) translateX(20rem);
    }
}

/* btn */
.best__menu--swiper .swiper_next {
    top: 22rem;
    right: 47rem;
}
.best__menu--swiper .swiper_prev {
    top: 22rem;
    left: 47rem;
}

/* view more */
.con02_04 {
    margin: 5rem auto 0;
    width: fit-content;
}

/* --------------con03--------------- */
.con03 {
    height: 100svh;
    @media (width<600px) {
        height: 100rem;
    }
}
[class^="con03__bg--line"] {
    width: 1px;
    background-color: #ddd;
    top: 0;
    height: 94%;
}
.con03__bg--line-1 {
    left: 12rem;
}
.con03__bg--line-2 {
    right: 12rem;
}

.con03__left {
    left: 16rem;
}
.con03__right {
    right: 16rem;
}

.con03__center {
    height: 38rem;
}

.con03 .img__item {
    height: 38rem;
}

.con03 [class^="con03__bg--text-"] {
    -webkit-text-stroke: 1px var(--bg-color);
    color: transparent;
    transition: all 0.4s;

    &.active {
        color: #000;
        -webkit-text-stroke: none;
    }
}
.con03__bg--bottom {
    bottom: 0;
}

/* --------------con04-------------- */

.con04 {
    height: 100svh;
    background-color: var(--secondary);
}

.con04__bg--right {
    right: 12rem;
    top: 50%;
    transform: translateY(-50%);
}
.con04 .bg__text--box {
    background-color: #fff;
    width: 18.4rem;
    aspect-ratio: 1/1;
    border-radius: 3rem;
    box-sizing: border-box;
    border: 1px solid var(--primary);
    box-shadow: 0 0 10px var(--primary);

    &.active {
        background-color: var(--primary);
    }
}

.con04__bg--bottom {
    bottom: -15rem;
    left: 50%;
    transform: translateX(-50%);
}

.con04__container {
    max-width: 144rem;
    margin: 30rem auto;
}

.con04 input[type="text"] {
    padding: 3rem;
    box-sizing: border-box;
    width: 70rem;
    height: 10rem;
    border-radius: 99px;
    border: 1px solid #000;
    font-size: var(--bodyXL);
    transition: border 0.3s;
}

.con04 input[type="text"]:hover,
.con04 input[type="text"]:focus {
    border-color: var(--primary);
}

.con04 .search--ico {
    top: 50%;
    right: 5rem;
    transform: translateY(-50%);
}

/* ---------------con05--------------- */
.con05 {
    background-color: var(--bg-color);
}
.con05__button {
    top: 81rem;
    left: 136rem;
}

.store__swiper {
    padding: 4rem 0;

    .swiper-slide {
        width: fit-content;
    }
}

.con05 .title__center {
    white-space: nowrap;
    overflow: hidden;
}
.con05 .center__text {
    overflow: hidden;
    will-change: width;
}

.con05__container {
    background-color: #fff;
    margin: 0 2rem 14rem;
    border-radius: 5rem;
    padding: 20rem 0 10rem;
}

.con05__bg {
    top: calc(-25.5rem / 2);
}

.con05 .con05__video__swiper {
    width: 108rem;
    aspect-ratio: 18 / 10;
    overflow: visible;

    .swiper-slide {
        cursor: pointer;
        border-radius: 5rem;
        overflow: hidden;
        background-color: var(--primary);

        transition: filter 0.3s 0.1s;
    }
    .swiper-slide:not(.swiper-slide-active) {
        filter: opacity(0);
    }

    iframe {
        pointer-events: none;
        scale: 1.05;
    }
}

.con05__mid--bg {
    top: 68rem;
}
.con05__mq {
    top: 65rem;

    img {
        animation: marqueeX 30s infinite linear;
    }
}

/* ----------------con06---------------- */
#front_06 {
    padding: 0;
}

.con06__container {
    padding: 20rem 0;
}

.con06 .event__swiper .swiper-slide {
    height: 22rem;
}

.con06 .press__swiper .swiper-slide {
    height: 22rem;
}

.con06 .swiper-slide {
    background-color: #fff;
    border: 1px solid #0a0a0a;
    box-sizing: border-box;
    padding: 6rem;
    border-radius: 3rem;
}

.con06 .swiper__title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.con06 .swiper__btn--wrap {
    margin-top: 6rem;
}

.con06 .swiper__date {
    opacity: 0.6;
}

/* ============================================
   모바일 (max-width: 599px)
   ============================================ */
@media (max-width: 599px) {
    section.main {
        height: 160vw;
    }

    .con01_02 img {
        width: 11rem !important;
    }

    .con01__left {
        top: 9rem;
        left: 4rem;
    }
    .con01__right {
        top: 77rem;
        right: 7rem;
    }
    .con01 .con01__center {
        /* top: 36rem; */
        /* height: 50rem; */
        height: 100%;
        clip-path: inset(6rem 0rem 9rem 0rem round 500px);
    }
    .con01__mq {
        top: 50rem;

        img {
            width: 150rem !important;
        }
    }

    .con01v {
        height: 100%;
    }
    .con01__bg {
        top: 59rem;
        right: 0;
        width: 100%;
    }
    .con01_06 {
        top: 19rem;
        left: 3rem;

        > img {
            width: 24rem !important;
        }
    }
    .con01_01 {
        bottom: -10rem;
        img {
            width: 50rem !important;
        }
    }
    .con01__top {
        height: 190vw;
    }
    .con01__left .subheadS {
        margin-top: 0rem;
    }
    .con01__bottom {
        padding: 3rem 3rem;
        box-sizing: border-box;
    }

    .con01 .bottom__container {
        height: auto;
        padding: 12rem 0 7rem;
    }

    .con02_01 img {
        width: 10rem !important;
    }
    .best__menu--swiper {
        margin-top: 6rem;
    }
    .best__menu--swiper .swiper-slide {
        background-color: #fff;
        box-sizing: border-box;
        padding: 3rem;
        border-radius: 3rem;

        transition: background-color 0.3s;
    }

    .best__menu--swiper .swiper-slide:not(.swiper-slide-active) {
        background-color: rgba(255, 255, 255, 0.5);
    }

    .menu__name {
        margin-top: 2rem;
    }

    .best__menu--swiper .swiper_prev {
        top: auto;
        bottom: -10rem;
        left: 15rem;
    }
    .best__menu--swiper .swiper_next {
        top: auto;
        bottom: -10rem;
        right: 15rem;
    }
    .con02_04 {
        margin: 13rem auto 0;
        width: fit-content;

        img {
            width: 23rem !important;
        }
    }

    /* con03 */
    .con03 .con03__bg--text {
        gap: 15rem;
    }
    .con03 .con03__left {
        top: 10rem;
        left: 0;
        width: 100%;
        text-align: center;
    }
    .con03 .con03__right {
        right: 0;
        width: 100%;
        bottom: 10rem;
        text-align: center;
    }
    .con03__bg--line-1 {
        left: 4rem;
    }
    .con03__bg--line-2 {
        right: 4rem;
    }

    /* con04 */
    .con04 {
        height: 100rem;
    }
    .con04_01 img {
        width: 10rem !important;
    }
    .con04 .con04__bg--right {
        gap: 3rem;
    }
    .con04 .bg__text--box {
        width: 14rem;
    }
    .con04 .con04__container {
        max-width: 144rem;
        margin: 10rem auto;
        align-items: center;
        gap: 4rem;
    }
    .con04 input[type="text"] {
        width: 100%;
        font-size: var(--bodyXL);
    }
    .con04 .con04__left {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .con04__right {
        width: 90%;
    }
    .con04__bg--right {
        right: 50%;
        top: 52rem;
        transform: translate(50%, 0);
        z-index: 1;
    }
    .con04__bg--bottom {
        bottom: 0rem;
    }
    .con04__bg--bottom img {
        width: 70rem !important;
    }

    /* con05 */
    .con05__bg {
        top: calc(-17rem / 2);

        img {
            width: 17rem !important;
        }
    }
    .con05 .title__left img {
        width: 20rem !important;
    }
    .con05 .con05__container {
        padding: 12rem 0 1rem;
        border-radius: 4rem;
        gap: 10rem;
    }
    .con05 .con05__title {
        gap: 4rem;
    }
    .title__right img {
        width: 90% !important;
    }
    .con05 .con05__video__swiper {
        width: 96%;
        border-radius: 3rem;
    }
    .con05_05 {
        top: 70rem;
        left: 50%;
        transform: translate(-50%, 0);

        img {
            width: 300% !important;
        }
    }
    .con05__middle--text {
        top: 104.5rem;
        left: 50%;
        transform: translateX(-50%);
        white-space: nowrap;
    }

    /* con06 */
    .con06__bg {
        left: 50%;
        transform: translateX(-50%);
        img {
            width: 200% !important;
        }
    }
    .con06_01 img {
        width: 23rem !important;
    }

    .con06 .con06__container {
        padding: 10rem 0;
        background-color: #f2eeeb;
        gap: 3rem;
    }
    .con06 .tab--wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-top: 5rem;
    }
    .con06 .swiper__btn--wrap {
        margin-top: 4rem;
    }
}
