.main{
    .common-more{ display: inline-block; padding: 19rem 61.5rem 17rem; border: 2px solid var(--border); border-radius: 5em; font-size: 16rem; color: #888; transition:0.2s;
        &:hover{ background: #000; border-color: #0000; color: var(--white); }
    }
    [aria-hidden="true"]{ overflow: hidden; position: absolute; width: 0; height: 0; }
}

.main .visual{ contain: content; position: relative; display: grid; place-content: center; max-height: 100svh; height: 940rem; min-height: 600rem; background: var(--black); text-align: center; color: var(--white);
    .swiper{ position: absolute; inset: 0;
        .swiper-slide{ position: relative; }
        .swiper-slide::before{ content: ''; position: absolute; inset: 0; background: no-repeat 50% / cover; }
        .s1{ background-color: #5c5859; }
        .s2{ background-color: #434549; }
        .s3{ background-color: #746d6c; }
    }
    .box1{ position: relative; z-index: 1;
        .txt1{ text-transform: uppercase; font: italic 500 17rem var(--font-pop); letter-spacing: .05em; }
        .txt2{ margin-top: .31666667em; font: 400 var(--fs60) / 1.33333333 var(--font-pre); letter-spacing: 0; text-shadow: 0 0 .45em #00000040; }
        .more{ margin-top: 46rem; display: inline-flex; align-items: center; gap: 2.71428571em; padding: .57142857em .71428571em .5em 1.64285714em; border: 1px solid currentColor; border-radius: 5em; font: 14rem var(--font-pop); 
            .circle{ position: relative; display: grid; place-content: center; aspect-ratio: 1; width: 3.21428571em; background: var(--primary); border-radius: 50%; }
            .arrow{ width: 11rem; fill: currentColor; }
        }
    }
    .sidebar{ position: absolute; display: grid; place-content: center; width: var(--header-height); border: 0 solid color-mix(in srgb, currentColor 30%, #0000); z-index: 1;
        .control{ --gap: 35rem; display: grid; gap: var(--gap); }
        .pagination{ display: grid; align-items: center; justify-content: center; gap: var(--gap); }
        .swiper-pagination-bullet{ position: relative; margin: 0; width: 8px; height: 8px; background: currentColor; opacity: .4; }
        .swiper-pagination-bullet-active{ opacity: 1; }
        .swiper-pagination-bullet::before{ content: ''; position: absolute; inset: -15rem; border-radius: 50%; }
        .btn{ position: relative; display: flex; align-items: center; justify-content: center; width: 50rem; height: 50rem; border-radius: 50%; }
        .btn::before{ content: ''; position: absolute; inset: 0; border: 2px solid currentColor; border-radius: 50%; opacity: .4; }
        .state{ width: 12rem; height: 12rem; background: currentColor; }
        .btn.isPlay .state{ clip-path: polygon(0 110%, 0 0, 38% 0, 38% 110%, 71% 110%, 71% 0, 110% 0, 110% 110%); }
        .btn:not(.isPlay) .state{ clip-path: polygon(15% 10%, 85% 50%, 15% 90%); }
        .progress{ --progress: 0; --stroke: 151; position: absolute; inset: 0; width: 100%; height: 100%; stroke-width: 2px; stroke: currentColor; fill: none; stroke-dashoffset: calc(var(--stroke) * (1 - var(--progress))); stroke-dasharray: var(--stroke); transform: rotate(-90deg); }
        .scrollDown{ position: absolute; display: flex; align-items: center; gap: .28571429em; font: 500 14rem var(--font-mon); letter-spacing: -.025em; white-space: nowrap; writing-mode: vertical-rl; fill-rule: evenodd;  stroke: rgb(255, 255, 255); stroke-width: 2px; stroke-linecap: butt; stroke-linejoin: miter; fill: none; }
        .scrollDown-arrow{ display: inline-block; width: 10rem; height: 10rem; border: solid currentColor; border-width: 0 2rem 2rem 0; rotate: 45deg; }
    }
    @media(min-width:768px){
        .swiper{
            /* .s1::before{ background-image: url('/img/visual-s1-pc.webp'); }
            .s2::before{ background-image: url('/img/visual-s2-pc.webp'); }
            .s3::before{ background-image: url('/img/visual-s3-pc.webp'); } */
            .s1::before{ background-image: url('/img/contents/main_visual_01.png'); filter: brightness(60%);}
            .s2::before{ background-image: url('/img/contents/main_visual_02.png'); filter: brightness(60%);}
            .s3::before{ background-image: url('/img/contents/main_visual_03.png'); filter: brightness(60%);}
        }
        .box1{ max-width: initial; width: 100%; padding: 0 var(--header-height) .4%; }
        .sidebar{ inset: 0 0 0 auto; border-left-width: 1px; }
        .scrollDown{ inset: auto 0 5.6%; }
    }
    @media(max-width:1279px){
        &{ max-height: 100svh; }
    }
    @media(max-width:767px){
        .swiper{
            /* .s1::before{ background-image: url('/img/visual-s1-mob.webp'); }
            .s2::before{ background-image: url('/img/visual-s2-mob.webp'); }
            .s3::before{ background-image: url('/img/visual-s3-mob.webp'); } */
            .s1::before{ background-image: url('/img/contents/main_visual_01.png'); filter: brightness(60%);}
            .s2::before{ background-image: url('/img/contents/main_visual_02.png'); filter: brightness(60%);}
            .s3::before{ background-image: url('/img/contents/main_visual_03.png'); filter: brightness(60%);}
        }
        .sidebar{ inset: auto 0 0 0; width: auto; height: var(--header-height); border-top-width: 1px; }
        .control{ grid-template-columns: 1fr auto; }
        .pagination{ grid-template-columns: repeat(3, 1fr); }
        .scrollDown{ inset: auto 4% calc( var(--header-height) + 20rem) auto; }
    }
}
@media(prefers-reduced-motion:no-preference){
    .main .visual .swiper-slide::before{ scale: 1.05; opacity: 0; transition: 1.2s cubic-bezier(0.165, 0.840, 0.440, 1); }
    .main .visual .swiper-slide-active::before{ scale: 1; opacity: 1; }
    .main .visual .box1 > *{ animation: visual-txt .6s .4s both; }
    .main .visual .box1 > *:nth-child(1){ animation-delay: .6s; }
    .main .visual .box1 > *:nth-child(2){ animation-delay: .8s; }
    .main .visual .box1 > *:nth-child(3){ animation-delay: 1s; }
    @keyframes visual-txt {
        0%{ translate: 0 20rem; opacity: 0; }
        100%{ translate: 0 0; opacity: 1; }
    }
    
    @media(min-width:768px){
        .main .visual .sidebar{ animation: visual-sidebar .4s 1.6s both; }
        @keyframes visual-sidebar {
            0%{ translate: 100% 0; }
            100%{ translate: 0 0; }
        }
    }
    /* @media(max-width:767px){
        @keyframes visual-sidebar {
            0%{ translate: 0 100%; }
            100%{ translate: 0 0; }
        }
    } */
}

.main .about{ padding: clamp(60rem, calc( 138 / var(--inr) * 100vw ), 138rem) 0 clamp(60rem, calc( 150 / var(--inr) * 100vw ), 150rem);
    .area1{ display: grid; align-items: center; gap: 30rem 7.3%;
        .txt1{ margin-bottom: .16em; display: block; font-size: var(--fs50); font-weight: 500; color: #000; }
        .txt2{ display: block; text-wrap: balance; font-size: var(--fs25); font-weight: 500; }
        .bar{ border-bottom: 2px solid var(--border); }
    }
    .area2{ position: relative; margin-top: 91rem; user-select: none;
        :where(.box1, .box2){ display: grid; align-items: center; gap: 5.36%; font-size: clamp(25rem, calc( 50 / var(--inr) * 100vw ), 50rem); }
        :where(.box1, .box2) img{ max-width: 100%; width: auto; }
        :where(.box1, .box2) :is(.txt1, .txt2){ height: 3em; }
        :where(.box1, .box2) :is(.img1, .img2){ height: 4em; border-radius: 5em; }
        .box1{ grid-template-columns: auto 1fr; }
        .box2{ margin-top: 39rem; grid-template-columns: 1fr auto; justify-items: end;
            .img2{ translate: -.44% 0; }
        }
    }
    @media(min-width:768px){
        .area1{ grid-template-columns: auto 1fr auto;
            .bar{ translate: 0 2rem; }
            .common-more{ translate: 0 3rem; }
        }
    }
    @media(max-width:767px){
        .area1{ justify-items: start;
            .bar{ display: none; }
        }
        .area2{
            .txt2{ grid-column: 1 / 3; }
            /* .img2{ display: none; } */
        } 
    }
}

.main .strategy{ contain: content; padding: clamp(60rem, calc( 135 / var(--inr) * 100vw ), 135rem) 0 clamp(60rem, calc( 148 / var(--inr) * 100vw ), 148rem); background: #f7f7f7;
    .area1{ display: grid; align-items: center; gap: 0 max(2.7%, 40rem);
        .txt1{ grid-area: t1; font-size: var(--fs50); font-weight: 500; color: #000; }
        .txt2{ grid-area: t2; margin-top: 10rem; font-size: 16rem; color: #444; }
        .control{ grid-area: c; justify-self: end; display: flex; align-items: center; gap: 15rem;
            .btn{ position: relative; width: 26rem; height: 16rem;
                &.swiper-button-disabled{ opacity: .3; }
                &::before{ content: ''; position: absolute; inset: 0; background: url('/img/strategy-arrow.webp') no-repeat 50% / contain; }
            }
            .prev::before{ rotate: 180deg; }
            .separation{ height: 25rem; border-left: 1px solid var(--border); }
        }
        .common-more{ grid-area: m; }
    }
    .swiper{ overflow: initial; margin-top: clamp(30rem, calc( 94 / var(--inr) * 100vw ), 94rem); text-align: center; font-size: 20rem; font-weight: 500;
        .swiper-slide{ margin-right: clamp(25rem, calc( 50 / var(--inr) * 100vw ), 50rem); width: clamp(330rem, calc( 392 / var(--inr) * 100vw ), 392rem);
            &:nth-child(even){ margin-top: 80rem; }
            a{ display: grid; gap: 24rem; }
            img{ width: 100%; height: auto; }
        }
    }
    @media(min-width:768px){
        .area1{ grid-template: 't1 c m' 't2 c m' 1fr / auto 1fr auto;
            .control{ translate: 0 40%; }
            .common-more{ translate: 0 16%; }
        }
    }
    @media(max-width:767px){
        .area1{ grid-template: 't1 t1' 't2 t2' 'c m' 1fr / 1fr auto;
            .txt2{ margin-bottom: 20rem; }
        }
    }
}

.main .pg{ padding: clamp(60rem, calc( 135 / var(--inr) * 100vw ), 135rem) 0 clamp(60rem, calc( 154 / var(--inr) * 100vw ), 154rem); background: #55575c no-repeat 50% / cover; text-align: center; color: var(--white);
    .txt1{ margin-bottom: .2em; font-size: var(--fs50); font-weight: 500; }
    .txt2{ text-wrap: balance; font-size: 16rem; font-weight: 300; }
    .list1{ margin-top: clamp(40rem, calc( 94 / var(--inr) * 100vw ), 94rem); display: grid; grid-template-columns: repeat(var(--columns), 1fr); gap: 40rem clamp(30rem, 3.3%, 50rem); text-wrap: pretty; font-size: 20rem;
        .circle{ margin-bottom: 1.2em; display: grid; place-content: center; aspect-ratio: 1; width: 100%; border: 1px dashed currentColor; border-radius: 50%;
            img{ width: auto; }
        }
    }
    .common-more{ margin-top: clamp(40rem, calc( 94 / var(--inr) * 100vw ), 94rem); color: inherit; }
    @media(min-width:768px){
        /* &{ background-image: url('/img/pg-bg-pc.webp'); } */
        &{ background-image: url('/img/contents/pg_01.png'); }
        .list1{ --columns: 5;
            .circle img{ height: 70rem; }
        }
    }
    @media(max-width:767px){
        /* &{ background-image: url('/img/pg-bg-mob.webp'); } */
        &{ background-image: url('/img/contents/pg_01.png'); }
        .list1{ --columns: 2; 
            .circle img{ height: 70rem; }
        }
    }
}

.main .franchise{ contain: content; padding: clamp(60rem, calc( 140 / var(--inr) * 100vw ), 140rem) 0 0; background: #f1f1f1;
    .txt1{ font-size: var(--fs50); font-weight: 500; line-height: 1.3; color: #000; }
    .marquee{ margin-top: clamp(30rem, calc( 89 / var(--inr) * 100vw ), 89rem);
        img{ max-height:60rem; max-width:250rem; object-fit:contain;}
        [alt="KAKAO FRIENDS"]{ width: 137rem; }
        [alt="PARIS BAGUETTE"]{ width: 200rem; }
        [alt="MOM`S TOUCH"]{ width: 200rem; }
        [alt="7-ELEVEN"]{ width: 200rem; }
        [alt="FamilyMart"]{ width: 200rem; }
        [alt="HOLLYS"]{ width: 85rem; }
        [alt="CAFFE PASCUCCI"]{ width: 110rem; }
        [alt="LOTTERIA"]{ width: 128rem; }
    }
    .wrapApply{ position: relative; margin-top: clamp(60rem, calc( 143 / var(--inr) * 100vw ), 143rem);
        &::before{ content: ''; position: absolute; inset: 52% -50vw 0; background: var(--white); z-index: -2; }
        .apply{ padding: clamp(60rem, calc( 120 / var(--inr) * 100vw ), 120rem) clamp(4vw, calc( 150 / var(--inr) * 100vw ), 150rem) clamp(60rem, calc( 134 / var(--inr) * 100vw ), 134rem); background: #6e7278 no-repeat 40% / cover; color: var(--white); z-index: 1;
            .txt2{ margin-bottom: .18em; font-size: var(--fs50); font-weight: 500; }
            .txt3{ font-size: 16rem; font-weight: 300; }
            .common-more{ margin-top: clamp(40rem, calc( 54 / var(--inr) * 100vw ), 54rem); color: var(--white); }
        }
    }
    @media(min-width:768px){
        /* .wrapApply .apply{ background-image: url('/img/apply-bg-pc.webp'); } */
        .wrapApply .apply{ background-image: url('/img/contents/franchise_01.png'); }
    }
    @media(max-width:767px){
        /* .wrapApply .apply{ background-image: url('/img/apply-bg-mob.webp'); } */
        .wrapApply .apply{ background-image: url('/img/contents/franchise_01.png'); }
        img{max-height:50rem !important; max-width:150rem !important;}
    }
}
@media(prefers-reduced-motion:no-preference){
    .main .marquee{ display: flex; white-space: nowrap;
        &:hover ul{ animation-play-state: paused; }
        ul{ display: flex; white-space: nowrap; align-items: center; animation: franchise-marquee 80s linear infinite; }
        li{ margin-right: 80rem; }
        @media(max-width:767px){
            li{ margin-right:50rem; }
        }
    }
    @keyframes franchise-marquee {
        0%{ translate: 0 0; }
        100%{ translate: -100% 0; }
    }
}
@media(prefers-reduced-motion:reduce){
    .main .marquee{
        ul{ display: grid; grid-template-columns: repeat(var(--columns), 1fr); gap: 20rem; }
        .list2, .list3{ display: none; }
        a{ display: grid; place-content: center; height: 100%; }
        img{ max-width: 100%; }
        @media(min-width:768px){
            ul{ --columns: 4; }
        }
        @media(max-width:767px){
            ul{ --columns: 2; }
        }
    }
}

.main .notice{ contain: content; padding: clamp(60rem, calc( 150 / var(--inr) * 100vw ), 150rem) 0;
    .inr{ display: grid; align-items: center; gap: 40rem; }
    .area1{
        .txt1{ margin-bottom: .2em; font-size: var(--fs50); color: #000; }
        .txt2{ font-size: 16rem; color: #444; }
    }
    .swiper{ overflow: visible; max-width: 1118rem; width: 100%;
        .swiper-slide{ margin-right: clamp(20rem, calc( 50 / var(--inr) * 100vw ), 50rem); width: clamp(350rem, calc( 400 / var(--inr) * 100vw ), 400rem); }
        a{ display: grid; grid-template: 'h h' 'b b' 'd p'; padding: 55rem 39rem 52rem; border: 1px solid var(--hover-color, #ddd); transition:0.2s;}
        .head{ grid-area: h; min-height: 2.9em;; font-size: 20rem; line-height: 1.45; }
        .body{ grid-area: b; margin: 11rem 0 59rem; min-height: 2.875em; font-size: 16rem; line-height: 1.4375; color: #666; }
        .date{ grid-area: d; font-size: 13rem; color: #aaa; }
        .plus{ grid-area: p; justify-self: end; position: relative; width: 20rem; height: 20rem; translate: 0 -1rem;
            &::before, &::after{ content: ''; position: absolute; inset: 0; margin: auto; width: 2rem; background: var(--hover-color, #aaa); transition:0.2s;}
            &::after{ rotate: 90deg; }
        }
        .scrollbar{ margin-top: 60rem; background: #e5e5e5; }
        .swiper-scrollbar-drag{ position: relative; height: 3rem; background: #000; border-radius: 0;
            &::before{ content: ''; position: absolute; inset: -20rem 0; }
        }
    }
    @media(hover:hover){
        .swiper a:hover{ --hover-color: var(--primary); }
    }
    @media(min-width:768px){
        .inr{ grid-template-columns: 22.8% 74.53333333%; }
        .area1{ padding-bottom: 4.4%; }
        .common-more{ margin-top: 54rem; padding-inline: 70.5rem; }
        .swiper{ clip-path: inset(0 -100vw 0 0); }
    }
    @media(max-width:767px){
        .area1{ display: grid; grid-template: 't1 m' 't2 m' / 1fr auto; align-items: center; gap: 0 20rem; }
        .txt1{ grid-area: t1; }
        .txt2{ grid-area: t2; }
        .common-more{ grid-area: m; }
        .swiper{ max-width: 92vw; }
    }
}