@import "./fonts.css";
:root {
    --theme: #f5ebdc;
    --point: #4f2c16;
    --white: #fff;
    --black: #000;
    --red: #ba4330;
    touch-action: manipulation;
    word-break: keep-all;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
h1,
h2,
ul,
dl,
dd,
p,
img,
button,
input,
table,
th,
td {
    margin: 0;
    padding: 0;
    font: inherit;
}
h1,
h2 {
    font: inherit;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: inherit;
}
button {
    background: none;
    border: none;
    cursor: pointer;
}
input {
    background: none;
    border: none;
}
input[type="checkbox"] {
    display: none;
}
a,
button,
input,
label {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: top;
}
table {
    border-spacing: 0;
    border-collapse: collapse;
}

/* Common */
body,
html {
    font: 400 15px/1 pre;
}
body {
    width: 100%;
}
#app {
    min-height: 100vh;
    color: var(--black);
    font-size: 1.6rem;
}
section {
    position: relative;
    width: 100%;
    overflow: hidden;
}
main {
    position: relative;
    min-height: calc(100vh - 183px);
}
section .inner {
    position: relative;
    padding: 0 24px;
}
.sub {
    padding-top: 23rem;
}
.title {
    font-size: 7.5rem;
    color: var(--red);
    text-align: center;
    line-height: 1.2;
    padding: 0 2.4rem;
}
.char {
    font-family: BlueRidge;
}
.pattern04 {
    background: var(--bg, var(--white))
        url(/view/assets/images/common/pattern04.png) repeat-x 0 0 / contain;
}
.pattern01 {
    background: var(--bg, var(--theme))
        url(/view/assets/images/common/pattern01.png) repeat-x 0 0 / contain;
}
.pattern02 {
    background: var(--bg, var(--theme))
        url(/view/assets/images/common/pattern02.png) repeat-x 0 0 / contain;
}
.pattern03 {
    background: var(--bg, var(--theme))
        url(/view/assets/images/common/pattern03.png) repeat-x 0 0 / contain;
}
.blind {
    position: absolute;
    font-size: 0;
    line-height: 0;
    text-indent: -999px;
}
.badge {
    width: 32.3rem;
}
.sign {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: 2rem;
    font-variation-settings: "wght" 600;
}
.sign img {
    width: 15.4rem;
}
.swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
}
.swiper-vertical > .swiper-wrapper {
    flex-direction: column;
}
.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    display: block;
}
.swiper-scrollbar-drag {
    width: 100%;
    position: relative;
    background: var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, 0.5));
    left: 0;
    top: 0;
}
.fade-up {
    opacity: 0;
    transform: translateY(var(--y, 50px));
    transition: transform 0.6s ease-out, opacity 0.4s ease;
}
.fade-down {
    opacity: 0;
    transform: translateY(var(--y, -50px));
    transition: transform 0.6s ease-out, opacity 0.4s ease;
}
.fade-left {
    opacity: 0;
    transform: translateX(var(--X, -50px));
    transition: transform 0.6s ease-out, opacity 0.4s ease;
}
.scale-down {
    transform: scale(1.05);
}
.fade-up.is-visible,
.fade-down.is-visible,
.fade-left.is-visible {
    opacity: 1;
    transform: translate(0);
}
.scale-down.is-visible {
    transform: scale(1);
    transition: transform 1s linear
}

/* Header */
.header {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 99;
    transition: transform 0.3s;
}
.header .inner {
    width: 100%;
    padding: 15px 20px;
}
.header .logo {
    position: absolute;
    top: 0;
    left: calc(50% - 60px);
    transition: transform 0.3s;
}
.header .logo a {
    display: block;
}
.header .gnb {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 15px;
}
.header .gnb > div {
    display: flex;
}
.header .depth1 {
    position: relative;
    width: 200px;
    padding: 15px 0;
    text-align: center;
    line-height: 1.5;
    border-radius: 10px;
}
.header .slide {
    border-radius: 10px 10px 0 0;
}
.header .depth1 > a {
    font-family: BlueRidge;
}
.header .depth1:nth-child(n + 4) {
    order: 2;
}
.header .depth2 {
    visibility: hidden;
    position: absolute;
    min-width: 100%;
    height: 0;
    font-size: 16px;
    font-variation-settings: "wght" 700;
    overflow: hidden;
    transition: all 0.3s;
}
.header .about {
    --h: 122px;
}
.header .franchise {
    --h: 87px;
}
.header .depth2-list {
    height: 100%;
    padding-bottom: 15px;
}
.header .depth2 a {
    display: block;
    margin-top: 12px;
}
.header .depth1:hover {
    background: var(--red);
    color: var(--white);
}
.header .slide:hover .depth2 {
    visibility: visible;
    height: var(--h);
    background: var(--red);
    border-radius: 0 0 10px 10px;
}
.header .btn {
    position: relative;
    display: none;
    z-index: 11;
}
.header .btnOpen {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    gap: 5px;
}
.header .btnOpen span {
    width: 30px;
    height: 2px;
    background: var(--black);
}

.header.sticky {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    transform: translateY(-40px);
}
.header.sticky .logo {
    transform: scale(0.7);
}
.header.sticky .btnOpen span {
    background: var(--white);
}

/* Footer */
.footer {
    font-size: 13px;
    line-height: 1.6;
    background: var(--white);
}
.footer .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1357px;
    margin: 0 auto;
    padding: 50px 24px;
}
.footer .img {
    width: 177px;
}
.footer li {
    display: flex;
    align-items: flex-start;
}
.footer .key {
    font-variation-settings: "wght" 700;
}
.footer .info1 .key {
    width: 85px;
}
.footer .info2 .key {
    width: 125px;
}
.footer .copy {
    align-self: flex-start;
}

@media (max-width: 1200px) {
    .title {
        font-size: 6rem;
    }
    .badge {
        width: 25rem;
    }
    .store {
        padding-top: 15rem;
    }

    .header {
        top: 0;
    }
    .header .inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .header .logo {
        position: static;
        width: 80px;
        transform-origin: 0 0;
    }
    .header .btn {
        display: block;
    }
    .header .gnb {
        visibility: hidden;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        max-width: 100vw;
        height: 100vh;
        padding-top: 86px;
        background: rgba(0, 0, 0, 0.9);
        color: var(--white);
        z-index: -999;
        transform: translateY(-100%);
        transition: transform 0.4s;
    }
    .header .gnb > div {
        display: block;
    }
    .header .depth1 {
        width: 100%;
        padding: 15px;
    }
    .header .depth1 a {
        position: relative;
        display: block;
    }
    .header .depth2 {
        position: static;
        color: #ccc;
        z-index: -99;
    }
    .header .slide > a::before {
        content: "";
        position: absolute;
        top: 6px;
        left: 0;
        width: 10px;
        height: 10px;
        border: solid var(--white);
        border-width: 2px 2px 0 0;
        transform: rotate(45deg);
        transition: transform 0.3s;
    }
    .header .depth2-list {
        padding-bottom: 0;
    }
    .header .depth1:hover {
        background: none;
    }
    .header .depth1:hover .depth2 {
        visibility: hidden;
        background: none;
        height: 0;
    }
    .header .isOpen span {
        position: absolute;
        top: calc(50% - 1px);
        left: 0;
        background: var(--white);
        transition: transform 0.3s;
    }
    .header .isOpen span:nth-child(2) {
        opacity: 0;
    }
    .header .isOpen span:first-child {
        transform: rotate(45deg);
    }
    .header .isOpen span:last-child {
        transform: rotate(-45deg);
    }
    .header .gnb.show {
        visibility: visible;
        transform: translateY(0);
        z-index: 10;
    }
    .header .slide .open::before {
        transform: rotate(135deg);
    }
    .header .slide .open + .depth2 {
        visibility: visible;
        height: var(--h);
    }
    .header .depth2 a:hover {
        color: var(--white);
    }

    .header.sticky {
        transform: translateY(0);
    }
    .header.sticky .logo {
        transform: scale(1);
    }

    .footer {
        display: flex;
    }
    .footer .inner {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
        width: auto;
    }
    .footer .img {
        align-self: center;
        order: 2;
    }
    .footer .inner .key {
        flex-shrink: 0;
        width: 100px;
    }
}
@media (max-width: 768.99px) {
    .title {
        font-size: 5rem;
    }
    .badge {
        width: 20rem;
    }
    .sign {
        font-size: 1.5rem;
    }
    .sign img {
        width: 12rem;
    }
}
@media (max-width: 550.99px) {
    .sub {
        padding-top: 12rem;
    }
    .title {
        font-size: 4rem;
    }
    .badge {
        width: 13rem;
    }
    .sign {
        font-size: 1.2rem;
    }
    .sign img {
        width: 10rem;
    }

    .header .logo {
        width: 50px;
    }
    .header .btnOpen {
        align-items: center;
        gap: 3px;
    }
    .header .btnOpen span {
        width: 20px;
    }
}


@import "./fonts.css";
:root {
    --theme: #f5ebdc;
    --point: #4f2c16;
    --white: #fff;
    --black: #000;
    --red: #ba4330;
    touch-action: manipulation;
    word-break: keep-all;
}

/* ... (중략: 기존 공용 CSS 그대로 유지) ... */

/* Footer */
.footer {
    font-size: 13px;
    line-height: 1.6;
    background: var(--white);
}
.footer .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1357px;
    margin: 0 auto;
    padding: 50px 24px;
}
.footer .img {
    width: 177px;
}
.footer li {
    display: flex;
    align-items: flex-start;
}
.footer .key {
    font-variation-settings: "wght" 700;
}
.footer .info1 .key {
    width: 85px;
}
.footer .info2 .key {
    width: 125px;
}
.footer .copy {
    align-self: flex-start;
}

/* ... (중략: 반응형 미디어쿼리 부분도 그대로 유지) ... */

/* ✅ Popup Bottom Buttons (Dark Style) */
.popup-btns {
    display: flex;
    width: 100%;
    margin-top: 12px;
}

.popup-btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* 검은색 바탕, 흰색 글씨 버튼 */
.popup-btn.dark-btn {
    background: #2b2b2b;
    color: #fff;
}

.popup-btn.dark-btn:hover {
    background: #444;
}

/* 버튼 사이 구분선 효과 (옵션) */
.popup-btns .popup-btn + .popup-btn {
    border-left: 1px solid #555;
}

/* Popup Title */
.popup-title {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 3px 0;
    border-bottom: 1px solid #ddd;
}

/* Popup Content */
.popup-content {
    flex: 1;
    padding: 0;            /* 내부 여백 제거 */
    margin: 0;             /* 외부 여백 제거 */
    overflow: hidden;      /* 스크롤 제거 */
}

/* Popup Bottom Buttons (Dark Style) */
.popup-btns {
    display: flex;
    width: 100%;
    background: #2b2b2b;   /* 버튼 배경 */
    margin: 0;             /* 공백 제거 */
}

.popup-btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    background: transparent;
}

/* Hover 효과 */
.popup-btn:hover {
    background: #444;
}

/* 버튼 사이 구분선 */
.popup-btns .popup-btn + .popup-btn {
    border-left: 1px solid #555;
}
/* Popup Title */
.popup-title {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    padding: 3px 0;
    border-bottom: 1px solid #ddd;
}

/* Popup Content */
.popup-content {
    flex: 1;
    padding: 0;
    margin: 0;
    overflow: hidden;
    line-height: 0; /* ✅ 이미지와 버튼 사이 공백 제거 */
}

/* popup-content 안의 기본 태그 여백 제거 */
.popup-content img,
.popup-content p,
.popup-content div {
    margin: 0;
    padding: 0;
    line-height: 0;
}

/* Popup Bottom Buttons (Dark Style) */
.popup-btns {
    display: flex;
    width: 100%;
    background: #2b2b2b;
    margin: 0;
}

.popup-btn {
    flex: 1;
    padding: 12px 0;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    background: transparent;
}

/* Hover 효과 */
.popup-btn:hover {
    background: #444;
}

/* 버튼 사이 구분선 */
.popup-btns .popup-btn + .popup-btn {
    border-left: 1px solid #555;
}
