@charset "utf-8";

#inc01{position:relative;min-height:1000px;padding-top:200px;background:var(--orange)}
#inc01 .hero-pizza{position:absolute;z-index:10;top:-400px;right:-300px}
#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;width:620px;background:#fff}
#inc01 .best-card .best-top{display:flex;align-items:center;justify-content:center;gap:10px}
#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}
#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{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% - 52px)) rotate(30deg)}
#inc01 .pizza-slice-2.active{transform:translate(calc(-50% + 45px),calc(-50% - 26px)) rotate(30deg)}
#inc01 .pizza-slice-3.active{transform:translate(calc(-50% + 45px),calc(-50% + 26px)) rotate(30deg)}
#inc01 .pizza-slice-4.active{transform:translate(-50%,calc(-50% + 52px)) rotate(30deg)}
#inc01 .pizza-slice-5.active{transform:translate(calc(-50% - 45px),calc(-50% + 26px)) rotate(30deg)}
#inc01 .pizza-slice-6.active{transform:translate(calc(-50% - 45px),calc(-50% - 26px)) rotate(30deg)}