* { word-break: keep-all; }

body.noscroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* --------- 헤더 및 GNB 스타일 --------- */
.header {
    width: 100%;
    height: 100px;
}

.header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    width: 97%;
    box-sizing: border-box;
    /* background: #fff; */
    margin-top: 15px;
    padding: 15px 70px;
    border-radius: 11px;
}

.header .inner .logo a {
    width: 100%;
}

.header .inner .logo a img {
    width: 100%;
}

.mobile-gnbWrap {
    display: none;
}

.gnb-box .gnb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 32px;
}

.gnb-box .gnb li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 8px 16px;
    box-sizing: border-box;
    font-family: "Paperlogy" !important;
    font-weight: 700;
    font-size: 1.0925rem;
    color: #333;
}
.gnb-box .gnb li a:hover {
    background-color: var(--Primary);
    border-radius: 40px;
    }


.apply {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.gnb-badge-y {
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: 40px;
    background-color: var(--subcolor1);
    color: #fff !important;
}

.gnb-badge-b {
    padding: 8px 16px;
    box-sizing: border-box;
    border-radius: 40px;
    background-color: #205B48;
    color: #fff !important;
}

.m-menu {
    display: none;
}

.m-menu button {
    width: auto;
    height: auto;
    padding: 4px 13px;
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
    background: none;
    border: 2px solid currentColor;
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
}

.navclose {
    display: none;
}

@media screen and (max-width: 1260px) {

    /* -------- 모바일 내비게이션 --------  */
    .header {
        height: 72px;
    }

    .header .inner {
        position: relative;
        width: 100%;
        height: 100%;
        margin-top: 0;
        padding: 0 48px;
        border-radius: 0;
        box-sizing: border-box;
    }

    .gnb-wrap {
        display: none;
    }

    .mobile-gnbWrap {
        display: none;

        position: fixed;
        top: 0; right: 0; bottom: 0; left: 0;

        width: 100vw;
        max-height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);

        z-index: 10000;
    }

    .mobile-gnbBox {
        position: absolute;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 80%;
        padding: 56px 16px;
        box-sizing: border-box;
        background-color: white;
        overflow-y: auto;

        transition: right 0.5s ease;
    }

    .mobile-gnbBox.on {
        right: 0;
    }

    .mobile-gnbBox .gnb {
        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 24px;

        width: 100%;
    }

    .mobile-gnbBox .gnb li {
        width: 100%;
    }

    .mobile-gnbBox .gnb li a {
        display: flex;
        justify-content: center;
        align-items: center;

        font-family: "Paperlogy";
        font-weight: 700;

        padding: 8px 16px;
    }

    /* 사전/정산신청 외 나머지 메뉴 — 박스 없이 텍스트만 */
    .mobile-gnbBox .gnb > li > a {
        background: none;
        border-radius: 0;
        padding: 4px 0;
    }

    .mobile-gnbBox .gnb .apply {
        flex-direction: column;
        width: 100%;
    }

    .mobile-gnbBox .gnb .apply > li {
        width: 100%;
    }

    .mobile-gnbBox .gnb .apply > li > a {
        display: flex;
        justify-content: center;
        align-items: center;

        border-radius: 8px;
        color: #fff !important;
        padding: 8px 16px;
    }

    .m-menu {
        display: block;
    }

    .m-wd-100 {
        width: 100%;
    }

    .navclose {
        display: block;

        width: 32px;
        height: 32px;

        position: absolute;
        top: 8px;
        right: 24px;
    }

    .navclose img {
        width: 100%;
        height: 100%;
    }
}

@media screen and (max-width: 960px) {
    .header {
        height: 72px;
    }

    .header .inner {
        padding: 0 32px;
        margin-top: 10px;
    }

    .header .inner .logo a img {
        width: 70%;
    }
}

@media screen and (max-width: 440px) {
    :root {
        font-size: 16px;
    }

    .header {
        height: 60px;
    }

    .header .inner {
        margin-top: 8px;
        padding: 0 20px;
    }

    .subWrap .inner {
        height: 200px;
    }

    .coninner {
        padding: 20px 12px;
        margin-top: 20px;
        margin-bottom: 20px;
        gap: 40px;
    }
}


/* --------- SUBWRAP 스타일 --------- */
.container {
    width: 100%;
    padding-bottom: 80px;
    box-sizing: border-box;
}

.subWrap {
    width: 100%;
}

.subWrap .inner {
    display: flex;
    justify-content: center;
    align-items: center;

    position: relative;

    width: 100%;
    height: 280px;

    background: url(../images/common/inner_img.png) center center / cover no-repeat;
}

.subWrap .inner::before {
    display: none;
}

.subWrap .inner::after {
    display: none;
}

.subtit {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.subtit h2 {
    font-family: "Paperlogy";
}

.breadcrumb {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;

    color: var(--Greyscale7);
}
.noticebox{
    background-color: #f0f0f0;
    border: 2px solid #e3e3e3;
    padding: 13px;
    width: 100%;
    font-size: 1.1rem;
    box-sizing: border-box;
    max-height: 330px;
    overflow-y: auto;
    white-space: pre-line;
}

@media screen and (max-width: 960px) {
    .subWrap .inner::before {
        width: 320px;
        height: 140px;
    }

    .subWrap .inner::after {
        width: 260px;
        height: 130px;
    }
}

@media screen and (max-width: 480px) {
    .subWrap .inner::before {
        width: 200px;
        height: 90px;
    }

    .subWrap .inner::after {
        width: 160px;
        height: 80px;
    }
}

/* --------- 본문영역 --------- */
.container {
    width: 100%;
    background-color: var(--subcolor2);
}

.coninner {
    display: flex;
    flex-direction: column;
    gap: 64px;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 50px;
    box-sizing: border-box;

    background-color: #fff;
    border: 4px solid var(--subcolor1);

    /* subWrap 아래 여백 */
    margin-top: 80px;
    margin-bottom: 80px;
}

@media screen and (max-width: 1260px) {
    .coninner {
        width: calc(100% - 48px);
        padding: 40px 32px;
        margin-top: 60px;
        margin-bottom: 60px;
    }
}

@media screen and (max-width: 960px) {
    .container {
        margin-bottom: 0;
    }

    .coninner {
        width: calc(100% - 32px);
        padding: 32px 20px;
        box-sizing: border-box;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}


/* --------- 푸터 --------- */
#footer {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    padding: 80px 0;
    box-sizing: border-box;

    background-color: var(--Greyscale9);
}

.footerInner {
    width: 1200px;
    color: white;
}

@media screen and (max-width: 1260px) {
    #footer {
        font-size: 0.8rem;
    }

    .footerInner {
        width: 100%;
        padding: 0 16px;
    }
}


/* --------- 우측 퀵바 --------- */
.quick-bar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    border: 5px solid #333;
    background-color: #fff;
    box-sizing: border-box;
    overflow: hidden;
    z-index: 100;
    padding: 10px;
    border-radius: 20px;
}

.mobile-quick {
    display: none;
}

.quick-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    flex: 1;
    padding: 10px 8px;
    box-sizing: border-box;
    text-decoration: none;
    color: var(--Greyscale9);
    text-align: center;
    border-bottom: 1px solid #eee;
}

.quick-item:last-child {
    border-bottom: none;
}

.quick-icon {
    filter: invert(44%) sepia(19%) saturate(948%) hue-rotate(114deg) brightness(87%) contrast(91%);
}

.quick-item:hover {
    background-color: var(--Greyscale1);
    border-radius: 11px;
}

.quick-item p {
    font-family: "Paperlogy";
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.13;
}

@media screen and (max-width: 1200px) {
    .quick-bar {
        display: none;
    }

    .mobile-quick {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid #eee;
        gap: 9px;
    }

    .mobile-quick .quick-item {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        padding: 10px 14px;
        border-bottom: none;
        border-radius: 8px;
        background-color: var(--Background-FA, #fafafa);
        gap: 10px;
        word-break: keep-all;
        text-align: left;
    }

    .mobile-quick .quick-item p {
        font-size: 0.9rem;
        line-height: 1.2;
    }

    .mobile-quick .quick-icon {
        width: 26px;
        height: 26px;
        object-fit: contain;
        flex-shrink: 0;
    }
}


/* --------- 스크롤버튼 --------- */
.scrollTop {
    position: fixed;
    bottom: 16px;
    right: 16px;

    display: block;
    width: 48px;
    height: 48px;

    border-radius: 48px;
    box-sizing: border-box;

    background: url(../images/common/ico_arrow_upward.svg) center no-repeat;
    background-color: var(--Primary);

    z-index: 9000;
}

