:root {
    --vw: min(calc(100vw / 1920), 1px);
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}



/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

html {
    font-family:
        "Pretendard",
        -apple-system,
        BlinkMacSystemFont,
        "Apple SD Gothic Neo",
        "Noto Sans KR",
        "Malgun Gothic",
        sans-serif;
}

body,
button,
input,
select,
textarea {
    font-family: inherit;
}

sup {
    font-family:
        "Pretendard",
        -apple-system,
        BlinkMacSystemFont,
        "Apple SD Gothic Neo",
        "Noto Sans KR",
        "Malgun Gothic",
        sans-serif;
}

sup.trademark {
    font-family: "Russo One", sans-serif;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
}

/* Clickable controls */
button:not(:disabled):not([aria-disabled="true"]):not(.swiper-button-disabled) {
    cursor: pointer;
}

button:disabled,
button[aria-disabled="true"],
button.swiper-button-disabled {
    cursor: default;
}

html {
    /* 16px * 0.625 = 10px */
    font-size: 62.5%;
    scrollbar-gutter: stable;
}

.russo {
    font-family: "Russo One", sans-serif;
    font-style: normal;
}

/* Common pagination */
.sub-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: calc(28 * var(--vw));
    margin-top: calc(70 * var(--vw));
}

.sub-pagination > a,
.sub-pagination > button:not(.sub-pagination-arrow) {
    padding: 0;
    border: 0;
    background: none;
    color: #aaa;
    font-size: calc(16 * var(--vw));
    cursor: pointer;
}

.sub-pagination > a.is-active,
.sub-pagination > button.is-active {
    color: var(--red);
    font-weight: 700;
}

.sub-pagination-arrow {
    position: relative;
    width: calc(52 * var(--vw));
    height: calc(52 * var(--vw));
    padding: 0;
    border: 1px solid #b5b5b5;
    border-radius: 50%;
    background: none;
    cursor: pointer;
    transition: border-color .25s ease;
}

.sub-pagination-arrow::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(10 * var(--vw));
    height: calc(10 * var(--vw));
    border-top: calc(2 * var(--vw)) solid #b5b5b5;
    border-right: calc(2 * var(--vw)) solid #b5b5b5;
    content: "";
    transition: border-color .25s ease;
}

.sub-pagination-arrow.is-prev::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.sub-pagination-arrow.is-next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.sub-pagination-arrow:hover,
.sub-pagination-arrow:focus-visible {
    border-color: var(--red);
}

.sub-pagination-arrow:hover::before,
.sub-pagination-arrow:focus-visible::before {
    border-color: var(--red);
}

.sub-pagination-arrow:disabled {
    opacity: .35;
    cursor: default;
}

.sub-mypage-pagination-row[hidden] {
    display: none;
}

.sub-media-empty{text-align: center;}
/* ========================================
Error Page
======================================== */
.error-page {
    min-width: 320px;
    background-color: #fff;
}

.error-page-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: 40px;
}

.error-page-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
}

.error-page-icon {
    display: block;
    width: calc(125 * var(--vw));
    height: auto;
}

.error-page-title {
    margin: calc(70 * var(--vw)) 0 0;
    color: #000;
    font-size: calc(40 * var(--vw));
    font-weight: 700;
    line-height: 1.2;
}

.error-page-description {
    margin-top: calc(32 * var(--vw));
    color: #888;
    font-size: calc(18 * var(--vw));
    font-weight: 400;
    line-height: calc(30 * var(--vw));
    word-break: keep-all;
}

.error-page-description p:first-child {
    color: #111;
}

.error-page-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: calc(230 * var(--vw));
    height: calc(60 * var(--vw));
    margin-top: calc(64 * var(--vw));
    box-sizing: border-box;
    border-radius: 999px;
    background-color: #c00c00;
    color: #fff;
    font-size: calc(18 * var(--vw));
    font-weight: 600;
}

/* Responsive visibility */
.mo-only {
    display: none !important;
}


/* ========================================
Mobile (720px and below)
======================================== */
@media (max-width: 720px) {
    .sub-pagination {
        gap: 18px;
        margin-top: 40px;
    }

    .sub-pagination > a,
    .sub-pagination > button:not(.sub-pagination-arrow) {
        font-size: 14px;
    }

    .sub-pagination-arrow {
        width: 34px;
        height: 34px;
    }

    .sub-pagination-arrow::before {
        width: 7px;
        height: 7px;
        border-width: 1px;
    }

    .sub-pagination-arrow.is-prev::before {
        transform: translate(-40%, -50%) rotate(-135deg);
    }

    .sub-pagination-arrow.is-next::before {
        transform: translate(-60%, -50%) rotate(45deg);
    }

    .pc-only {
        display: none !important;
    }

    .mo-only {
        display: revert !important;
    }

    .error-page-main {
        padding: 30px 25px;
    }

    .error-page-icon {
        width: 88px;
    }

    .error-page-title {
        margin-top: 45px;
        font-size: 30px;
    }

    .error-page-description {
        margin-top: 24px;
        font-size: 14px;
        line-height: 23px;
    }

    .error-page-description p {
        display: inline;
    }

    .error-page-description p::after {
        content: " ";
    }

    .error-page-home {
        width: 200px;
        height: 54px;
        margin-top: 44px;
        font-size: 16px;
    }
}
