/*******************************************************
 * 슬라이더 너비 미디어쿼리
 */
.slider {
    height: 250px;
}
@media screen and (max-width: 720px) {
    .slider {
        height: 200px;
    }
}
@media screen and (max-width: 540px) {
    .slider {
        height: 180px;
    }
}
@media screen and (max-width: 480px) {
    .slider {
        height: 500px;
    }
}
@media screen and (max-width: 410px) {
    .slider {
        height: 450px;
    }
}
@media screen and (max-width: 375px) {
    .slider {
        height: 400px;
    }
}
@media screen and (max-width: 330px) {
    .slider {
        height: 350px;
    }
}
@media screen and (max-width: 290px) {
    .slider {
        height: 300px;
    }
}

/*--------------------------------------
 * 슬라이더 내비게이션
 */
.slider-move {
    top: calc(50% - 25px);
}
.slider-move > svg {
    width: 50px;
    height: 50px;
}
.slider-navi {
    font-size: 1rem;
    line-height: 25px;
    height: 25px;
    gap: 20px;
}
.slider-navi > span {
    width: 25px;
    height: 25px;
}

/*******************************************************
 * 피자메뉴 목록
 */
.menus {
    font-size: 0.9rem;
    grid: "original premium side"
            "crust set topping" / 1fr 1fr 1fr;
    margin-top: 30px;
}
.menus > li {
    padding: 15px 10%;
}
.menus > li:nth-of-type(1) {
    border-radius: 0;
    border-top-left-radius: 10px;
}
.menus > li:nth-of-type(3) ~ li {
    border-top: 1px solid #CCC;
}
.menus > li:nth-of-type(3) {
    border: none;
    border-top-right-radius: 10px;
}
.menus > li:nth-of-type(4) {
    border-bottom-left-radius: 10px;
}
.menus > li:nth-of-type(6) {
    border-radius: 0;
    border-bottom-right-radius: 10px;
}
.menus > li > a > img {
    width: 54px;
    height: 54ps;
}

/*--------------------------------------
 * 피자메뉴 목록 미디어쿼리
 */
@media screen and (max-width: 480px) {
    .menus {
        margin-top: -20px;
    }
}
@media screen and (max-width: 375px) {
    .menus {
        margin-top: -15px;
    }
    .menus > li {
        white-space: nowrap;
    }
}
@media screen and (max-width: 330px) {
    .menus {
        grid: "original premium"
                "side crust"
                "set topping" / 1fr 1fr;
    }
    .menus > li:nth-of-type(2) ~ li {
        border-top: 1px solid #CCC;
    }
    .menus > li:nth-of-type(2n) {
        border-right: none;
    }
    .menus > li:nth-of-type(2) {
        border-top-right-radius: 10px;
    }
    .menus > li:nth-of-type(3) {
        border-right: 1px solid #CCC;
        border-radius: 0;
    }
    .menus > li:nth-of-type(4) {
        border-bottom-left-radius: 0;
    }
    .menus > li:nth-of-type(5) {
        border-bottom-left-radius: 10px;
    }
}

/*******************************************************
 * 공지사항
 */
.notice {
    margin-top: 320px;
}
@media screen and (max-width: 700px) {
    .notice {
        grid: "notice-img notice1"
                "notice-img notice2"
                "notice-img notice3" / 45px 1fr;
        font-size: 0.8rem;
    }
    .notice > li:nth-of-type(1) {
        align-self: start;
    }
    .notice > li:nth-of-type(1) > img {
        width: 32px;
        height: 32px;
    }
    .notice > li:nth-of-type(1) ~ li {
        padding: 10px 0;
    }
    .notice > li:nth-of-type(2n)::before {
        content: "공지";
        font-family: NanumSquareB;
        font-size: 0.8rem;
        background: #A7CEFF;
        padding: 5px 14px;
        border-radius: 20px;
        position: initial;
        margin-right: 10px;
    }
    .notice > li:nth-of-type(3)::before {
        content: "이벤트";
        font-family: NanumSquareB;
        font-size: 0.8rem;
        background: #FFCD2D;
        padding: 5px 8px;
        border-radius: 20px;
        position: initial;
        margin-right: 10px;
    }
}
@media screen and (max-width: 480px) {
    .notice {
        margin-top: 270px;
    }
}
@media screen and (max-width: 330px) {
    .notice {
        margin-top: 390px;
        white-space: nowrap;
    }
}

/*******************************************************
 * 배너
 */
.bn {
    grid: "franchise ytb story"
            "store ytb story" / 1.5fr 0.8fr 0.8fr;
    gap: 10px;
}
.bn > ul > li:nth-child(1) {
    font-size: 1rem;
    margin-bottom: 12px;
}
.bn-franchise > li:nth-of-type(2),
.bn-store > li:nth-of-type(2) {
    font-size: 0.8rem;
}
.bn-franchise::after {
    top: calc(50% - 23px);
    right: 7%;
    width: 46px;
    height: 46px;
}
.bn-store::after {
    top: calc(50% - 23px);
    right: 7%;
    width: 46px;
    height: 46px;
}
.bn > ul:nth-of-type(1),
.bn > ul:nth-of-type(2) {
    padding: 5% 7%;
    padding-right: calc(7% + 56px);
}
.bn > ul:nth-of-type(3),
.bn > ul:nth-of-type(4) {
    padding: 8% 10%;
}
.bn > ul > li:nth-of-type(1) {
    font-size: 1rem;
    margin-bottom: 12px;
}
.bn-ytb > li:nth-of-type(2) > iframe {
    height: 100px;
}
.bn-ytb > li:nth-of-type(3),
.bn-story > li:nth-of-type(2) {
    font-size: 0.8rem;
}
.bn-ytb > li:nth-of-type(1)::after,
.bn-story > li:nth-of-type(1)::after {
    font-size: 1rem;
}
.bn-story > li {
    left: 10%;
    right: 10%;
}
.bn-story > li:nth-of-type(1) {
    top: 25px;
}
.bn-story > li:nth-of-type(2) {
    top: 55px;
    line-height: 1.3rem;
}

@media screen and (max-width: 700px) {
    /* .bn {
        grid: "franchise" 1fr
                "store" 1fr
                "ytb" 5fr
                "story" 1.5fr;
    } */
    .bn {
        grid: "franchise" max-content
                "store" max-content
                "ytb" max-content
                "story" max-content;
    }
    /* .bn {
        grid: "franchise"
                "store"
                "ytb"
                "story" / auto;
    } */
    .bn > ul > li:nth-of-type(1) {
        font-size: 1.2rem;
    }
    .bn > ul:nth-of-type(1),
    .bn > ul:nth-of-type(2) {
        padding: 4% 3%;
        padding-right: calc(3% + 56px);
    }
    .bn-franchise::after {
        right: 3%;
    }
    .bn-store::after {
        right: 3%;
    }
    .bn > ul:nth-of-type(3),
    .bn > ul:nth-of-type(4) {
        padding: 4% 3%;
    }
    .bn-ytb > li:nth-of-type(2) > iframe {
        height: 320px;
    }
    .bn-ytb > li:nth-of-type(3) {
        text-align: center;
    }
    .bn-story {
        height: 120px;
    }
    .bn-story::before {
        background-position: center bottom;
    }
    .bn-story > li {
        left: 3%;
        right: 3%;
    }
    .bn-story > li:nth-of-type(2) {
        left: 3%;
        right: 50%;
    }
}
@media screen and  (max-width: 550px) {
    .bn-ytb > li:nth-of-type(2) > iframe {
        height: 250px;
    }
}
@media screen and (max-width: 515px) {
    .bn-story {
        height: 140px;
    }
}
@media screen and  (max-width: 450px) {
    .bn-ytb > li:nth-of-type(2) > iframe {
        height: 210px;
    }
}
@media screen and  (max-width: 360px) {
    .bn-ytb > li:nth-of-type(2) > iframe {
        height: 170px;
    }
    .bn-story {
        height: 160px;
    }
}
@media screen and (max-width: 285px) {
    .bn-story {
        height: 180px;
    }
}
@media screen and  (max-width: 280px) {
    .bn-ytb > li:nth-of-type(2) > iframe {
        height: 130px;
    }
}