@charset "utf-8";

#inc01{position:relative;background:var(--orange)}
#inc01 .sticky-container{height:600vh}
#inc01 .sticky-wrapper{position:sticky;top:0;height:100vh;display:flex;align-items:center;overflow-x:clip}

#inc01 .hero-pizza{position:absolute;z-index:10;top:-400px;right:-300px;max-width:1197px;width:100%;aspect-ratio:1197 / 1226}
#inc01 .hero-pizza .pizza-board{position:relative}
#inc01 .hero-pizza .pizza-board img{display:block;width:100%;height:auto}
#inc01 .hero-pizza .pizza-pieces{position:absolute;top:0;left:0;right:0;bottom:0}
#inc01 .hero-pizza .pizza-assembled{position:absolute;top:50%;left:50%;width:93%;height:auto;transform:translate(-50%,-50%) scale(.7) rotate(-90deg);opacity:0;animation:pizzaAssembled .8s cubic-bezier(.34,1.56,.64,1) .1s forwards}
@keyframes pizzaAssembled{to{transform:translate(-50%,-50%) scale(1) rotate(30deg);opacity:1}}
#inc01 .pattern{position:absolute;z-index:0;left:50%;bottom:15%;width:calc(100% - 15%);height:300px;margin:0 auto;background:var(--orange) url('./img/pattern.png');transform:translateX(-50%)}
#inc01 .best-card{overflow:hidden;position:relative;left:230px;z-index:5;display:inline-block;max-width:620px;width:100%;background:#fff}
#inc01 .best-card .best-top{display:flex;align-items:center;justify-content:center}
#inc01 .best-card .best-top img:first-child{transform:translateX(-18px)}
#inc01 .best-card .best-top h2{font-size:38px;font-weight:400;text-align:center;line-height:1;font-family:var(--deco-font)}
#inc01 .best-line{width:calc(100% - 80px);height:1px;margin:35px auto 40px;background:var(--ink)}
#inc01 .best-content{text-align:center}
#inc01 .best-content h3{font-size:30px;font-weight:700}
#inc01 .best-content .eng{margin:8px 0 15px;font-size:15px;color:#777;font-family:var(--e-font)}
#inc01 .best-content .menu-desc{font-size:18px;font-weight:600;word-break:keep-all}
#inc01 .prices{display:flex;justify-content:center;gap:20px;margin-top:30px}
#inc01 .prices span{display:flex;align-items:center;gap:5px;font-size:20px;font-weight:700}
#inc01 .prices b{display:grid;place-items:center;width:30px;height:30px;border-radius:50px;font-size:15px;font-weight:700;color:#fff}
#inc01 .prices .red-dot{background:var(--red)}
#inc01 .prices .yellow-dot{background:var(--yellow)}
#inc01 .best-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;margin-top:57px}
#inc01 .best-actions a{border-radius:50px;font-size:18px;font-weight:600;line-height:55px;transition:all .3s}
#inc01 .best-actions .primary{color:#fff;background:var(--red)}
#inc01 .best-actions .primary:hover{background:var(--yellow)}
#inc01 .best-actions .outline{border:2px solid var(--red);color:var(--red)}
#inc01 .best-actions .outline:hover{border-color:var(--yellow);color:#fff;background:var(--yellow)}
#inc01 .best-card .side-deco{position:absolute;top:5px;font-size:20px;font-weight:400;color:var(--red);animation:marqueeDown 20s linear infinite}
#inc01 .best-card .side-deco p{display:flex;flex-direction:column;justify-content:space-around;flex-shrink:0;gap:50px;margin-bottom:20px}
#inc01 .best-card .side-deco span{writing-mode:vertical-rl;transform:rotate(180deg)}
#inc01 .best-card .side-deco.left{left:5px}
#inc01 .best-card .side-deco.right{right:5px}
#inc01 .best-card-group{padding:70px}
@keyframes marqueeDown{from{transform:translateY(-50%)}to{transform:translateY(0)}}
#inc01 .pizza-pieces{width:100%;height:100%;transform:rotate(0deg);transform-origin:50% 50%;transition:transform .8s cubic-bezier(.22, 1, .36, 1);will-change:transform}
#inc01 .pizza-pieces.is-scroll-controlled{transition:none}
#inc01 .best-info{transition:none;will-change:transform,opacity}

/* 피자 6조각 active 효과 */
#inc01 .pizza-pieces.is-sliced .pizza-assembled{visibility:hidden}
#inc01 .pizza-slice{position:absolute;top:50%;left:50%;display:block;width:93%;height:auto;opacity:0;transform:translate(-50%,-50%) rotate(30deg);transform-origin:50% 50%;transition:transform .65s cubic-bezier(.22,1,.36,1),filter .65s ease,opacity .2s;pointer-events:none;will-change:transform}
#inc01 .pizza-pieces.is-sliced .pizza-slice{opacity:1}
#inc01 .pizza-slice:nth-of-type(2){clip-path:polygon(50% 50%,0 21.132%,0 0,50% 0)}
#inc01 .pizza-slice:nth-of-type(3){clip-path:polygon(50% 50%,50% 0,100% 0,100% 21.132%)}
#inc01 .pizza-slice:nth-of-type(4){clip-path:polygon(50% 50%,100% 21.132%,100% 78.868%)}
#inc01 .pizza-slice:nth-of-type(5){clip-path:polygon(50% 50%,100% 78.868%,100% 100%,50% 100%)}
#inc01 .pizza-slice:nth-of-type(6){clip-path:polygon(50% 50%,50% 100%,0 100%,0 78.868%)}
#inc01 .pizza-slice:nth-of-type(7){clip-path:polygon(50% 50%,0 78.868%,0 21.132%)}
#inc01 .pizza-slice.active{z-index:2;filter:drop-shadow(0 16px 10px rgba(0,0,0,.22))}
#inc01 .pizza-slice-1.active{transform:translate(-50%,calc(-50% - 4.67%)) rotate(30deg)}
#inc01 .pizza-slice-2.active{transform:translate(calc(-50% + 4.04%),calc(-50% - 2.34%)) rotate(30deg)}
#inc01 .pizza-slice-3.active{transform:translate(calc(-50% + 4.04%),calc(-50% + 2.34%)) rotate(30deg)}
#inc01 .pizza-slice-4.active{transform:translate(-50%,calc(-50% + 4.67%)) rotate(30deg)}
#inc01 .pizza-slice-5.active{transform:translate(calc(-50% - 4.04%),calc(-50% + 2.34%)) rotate(30deg)}
#inc01 .pizza-slice-6.active{transform:translate(calc(-50% - 4.04%),calc(-50% - 2.34%)) rotate(30deg)}

/* 반응형 [s] */
@media (max-width:1900px){
#inc01 .best-card{left:10%}
}
@media (max-width:1800px){
#inc01 .hero-pizza{max-width:clamp(1100px,66.5vw,1197px)}
#inc01 .best-card{left:2.5%}
}
@media (max-width:1600px){
#inc01 .hero-pizza{top:-350px;max-width:clamp(925px,68.7vw,1100px)}
}
@media (max-width:1400px){
#inc01 .hero-pizza{top:-270px;max-width:clamp(790px,71.4vw,1000px)}
#inc01 .best-card{left:20px;max-width:550px}
#inc01 .best-card .best-top h2{font-size:34px}
#inc01 .best-content h3{font-size:26px}
#inc01 .best-actions{margin-top:50px}
#inc01 .best-actions a{font-size:16px;line-height:50px}
}
@media (max-width:1200px){
#inc01 .best-card-group{padding:70px 50px}
#inc01 .best-card{max-width:500px}
#inc01 .best-card .best-top h2{font-size:30px}
#inc01 .best-card .best-top img{width:54px}
#inc01 .best-line{margin:30px auto 35px}
#inc01 .best-content h3{font-size:22px}
#inc01 .best-content .menu-desc{font-size:16px}
#inc01 .best-actions{gap:10px;margin-top:40px}
#inc01 .best-actions a{font-size:15px;line-height:45px}
#inc01 .best-card .side-deco{font-size:17px}
#inc01 .hero-pizza{top:-250px;max-width:clamp(770px, 73.3vw, 880px)}
}
@media (max-width:1024px){
#inc01 .best-card{z-index:20;max-width:430px;box-shadow:6px 8px 20px rgba(0,0,0,0.15)}
#inc01 .hero-pizza{top:50%;right:-300px;transform:translateY(-50%);max-width:clamp(580px,77.1vw,790px)}
#inc01 .best-card .best-top h2{font-size:26px}
#inc01 .best-card .best-top img{width:44px}
#inc01 .best-card .best-top img:first-child{transform:translateX(-14px)}
#inc01 .best-content h3{font-size:18px}
#inc01 .best-content .menu-desc{font-size:15px}
#inc01 .best-content .eng{font-size:14px}
#inc01 .prices{margin-top:25px}
#inc01 .prices span{font-size:17px}
#inc01 .prices b{width:26px;height:26px;font-size:13px}
#inc01 .best-card-group{padding:100px 40px}
#inc01 .best-actions a{font-size:14px}
#inc01 .pattern{width:100%}
}
@media (max-width:768px){
#inc01 .best-card-group{padding:80px 50px}
#inc01 .hero-pizza{top:100px;right:50%;transform:translateX(50%) rotate(120deg);max-width:295px}
#inc01 .pizza-slice.active{filter:drop-shadow(0 4px 4px rgba(0,0,0,.22))}
#inc01 .best-card{left:unset;max-width:480px;width:calc(100% - 40px);margin:0 auto}
}
@media (max-width:768px) and (max-height:860px){
#inc01 .hero-pizza{top:27px}
}
@media (max-width:480px){
#inc01 .hero-pizza{top:70px;max-width:230px}
#inc01 .best-card .best-top h2{font-size:23px}
#inc01 .best-card .best-top img{width:36px}
#inc01 .best-card .best-top img:first-child{transform:translateX(-12px)}
#inc01 .best-line{margin:25px auto 30px}
#inc01 .best-content h3{font-size:17px}
#inc01 .best-actions{grid-template-columns:repeat(1,1fr);margin-top:34px}
#inc01 .best-content .eng{margin:6px 0 10px}
#inc01 .best-card .side-deco{font-size:15px}
#inc01 .best-card .side-deco p{gap:36px}
#inc01 .prices span{font-size:15px}
#inc01 .prices{margin-top:20px}
#inc01 .prices b{width:22px;height:22px;font-size:11px}
#inc01 .best-actions{margin-top:26px}
#inc01 .best-actions a{font-size:13px}
}
@media (max-width:480px) and (max-height:860px){
#inc01 .hero-pizza{top:40px}
}
@media (max-width:390px){
#inc01 .hero-pizza{top:135px;max-width:200px}
#inc01 .best-card-group{padding:60px 50px}
#inc01 .best-card .best-top img{width:28px}
#inc01 .best-card .best-top h2{font-size:20px}
#inc01 .best-content h3{font-size:16px}
#inc01 .best-line{margin:18px auto 24px}
#inc01 .best-content .eng{margin:4px 0 8px;font-size:13px}
}
@media (max-width:390px) and (max-height:860px){
#inc01 .hero-pizza{top:70px}
}
@media (max-width:390px) and (max-height:790px){
#inc01 .hero-pizza{top:15px}
}