/********** error **********/
.error_page_wrap {
    width: 100%;
    height: 100vh;
}
.error_page_wrap .error_inner {
    height: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.error_page_wrap .error_inner i {
    font-size: 100px;
    color: #f55529;
}
.error_page_wrap .error_inner h2 {
    text-align: center;
    font-weight: 800;
    font-size: 32px;
}
.error_page_wrap .error_inner p {
    text-align: center;
    font-size: 18px;
}
.error_page_wrap .error_inner .btn_group {
    display: flex;
    gap: 8px;
}
.error_page_wrap .error_inner .btn_group .btn {
    width: 135px;
    font-size: 16px;
    height: 48px;
}

@media screen and (max-width: 1199px) {
    .error_page_wrap .error_inner i {
        font-size: 60px;
    }
    .error_page_wrap .error_inner h2 {
        font-size: 28px;
        line-height: 36px;
    }
    .error_page_wrap .error_inner h2 br {
        display: block;
    }
    .error_page_wrap .error_inner p br {
        display: none;
    }
    .error_page_wrap .error_inner p {
        font-size: 16px;
        line-height: 22px;
    }
}

.skip_link {
    position: absolute;
    left: -9999px;
    top: 0;
}
.skip_link:focus {
    left: 16px;
    top: 16px;
    padding: 10px 14px;
    background: #fff;
    border: 2px solid #000;
    z-index: 9999;
}

/********** header **********/
.header {
    position: fixed;
    top: 0;
    z-index: 50;
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}
.header_bg {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 270px;
    background: #fff;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #bbb;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1;
}
.header.is-open .header_bg,
.gnb_wrap:focus-within .header_bg {
    opacity: 1;
    pointer-events: auto;
}

/* side_bar */
.side_bar {
    position: fixed;
    left: 0;
    top: 0;
    width: 60px;
    height: 100vh;
    z-index: 100;
}
.side_bar .site_wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.side_bar .site_wrap li {
    display: flex;
    height: 25%;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.side_bar .site_wrap li a {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    writing-mode: sideways-rl;
    color: #555;
    background: #e5e5e5;
    font-weight: 500;
    border-bottom: 1px solid #999;
    transition: all 0.3s;
}
.side_bar .site_wrap li:last-child a {
    border-bottom: none;
}
.side_bar .site_wrap li a:hover {
    background-color: #333;
    color: #fff;
    font-weight: 600;
}
.header .gnb_mobile {
    display: none;
}

/* header_inner */
.header .header_inner {
    max-width: 1660px;
    margin: 0 auto;
    width: 100%;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    height: 100px;
    z-index: 100;
}
.logo_wrap a {
    display: flex;
    flex-direction: column;
}
.logo_wrap a .logo_txt {
    font-family: "songmyung";
    font-size: 29px;
    line-height: 1;
}
.logo_wrap a img {
    display: block;
    width: 184px;
}
.logo_wrap .mobile_menu_open_btn {
    display: none;
}

/* gnb */
.header .gnb,
.header .gnb_wrap,
.header .gnb_wrap .gnb_item {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}
.header .gnb_wrap .gnb_item > a {
    font-size: 22px;
    text-align: center;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    height: 100%;
    padding: 0 40px;
    height: 100%;
    width: auto;
    min-width: 190px;
}
.header.is-open .gnb_wrap .gnb_item:hover > a {
    font-weight: 700;
}

.header .gnb_wrap .gnb_2dep {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    white-space: nowrap;
    padding: 16px 0;
    height: 270px;
    width: 100%;
    z-index: 10;
}
.header.is-open .gnb_wrap .gnb_2dep {
    display: block;
}
.gnb_item:focus-within .gnb_2dep,
.gnb_item:hover .gnb_2dep {
    display: block;
}
.header .gnb_wrap .gnb_2dep::after {
    content: "";
    position: absolute;
    top: 16px;
    right: 0;
    width: 1px;
    height: calc(100% - 32px);
    background-color: #ddd;
}
.header .gnb_wrap .gnb_2dep li {
    padding: 0 16px;
}
.header .gnb_wrap .gnb_2dep li a {
    padding: 14px 12px;
    display: block;
    color: #333;
    font-size: 17px;
    font-weight: 500;
    line-height: 1;
}
.header .gnb_wrap .gnb_2dep li a:hover {
    background-color: #f4f4f4;
    color: #000;
    font-weight: 700;
}

.header .user_menu {
    display: block;
    width: 153px;
    padding-right: 24px;
    text-align: right;
    position: relative;
}
.mypage_layer {
    position: absolute;
    top: 50px;
    right: 0;
    width: 100px;
    padding: 16px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.25s ease;
    text-align: left;
}
.user_menu:hover .mypage_layer,
.user_menu:focus-within .mypage_layer {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.layer_btn {
    font-size: 15px;
    font-weight: 500;
    color: #555;
}
.layer_btn:hover {
    font-weight: 600;
    color: #000;
}

@media screen and (max-width: 1770px) {
    .header .header_inner {
        max-width: none;
        padding-left: 70px;
        height: 80px;
    }
    .logo_wrap a img,
    .header .user_menu {
        width: 130px;
    }
    .logo_wrap a .logo_txt {
        font-size: 25px;
    }
    .header .gnb_wrap .gnb_item > a {
        font-size: 18px;
        min-width: 160px;
    }
    .header .gnb_wrap .gnb_2dep {
        top: 80px;
        height: 200px;
    }
    .header .gnb_wrap .gnb_2dep li {
        padding: 0 10px;
    }
    .header .gnb_wrap .gnb_2dep li a {
        font-size: 15px;
        padding: 10px;
    }
    .header .user_menu img {
        width: 24px;
    }
    .header_bg {
        height: 200px;
    }

    .side_bar {
        width: 50px;
    }
    .site_wrap li a {
        font-size: 14px;
    }
}
@media screen and (max-width: 1280px) {
    .side_bar,
    .header .gnb_wrap,
    .header .user_menu {
        display: none;
    }
    .header .logo_wrap .mobile_menu_open_btn {
        display: block;
        background: transparent;
        position: absolute;
        top: 18px;
        right: 20px;
    }
    .header .header_inner {
        height: 64px;
        position: relative;
        padding-left: 20px;
    }
    .header .gnb_mobile {
        display: block;
        width: 100%;
        height: 100%;
        overflow: auto;
        position: fixed;
        top: 0;
        left: 100%;
        z-index: 100;
        background: #fff;
        transition: left 0.4s;
    }
    .gnb_mobile.is-open {
        left: 0;
    }
    .header .gnb_mobile .top {
        padding: 14px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .header .gnb_mobile .top .user_wrap {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .header .gnb_mobile .top .user_wrap .btn_st1 {
        padding: 10px 16px;
        border-radius: 100px;
        font-size: 15px;
        background-color: #f4f4f4;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header .gnb_mobile .top .user_wrap span {
        font-size: 14px;
        color: #777;
        font-weight: 500;
    }
    .header .gnb_mobile .top .user_wrap span b {
        font-size: 18px;
        color: #000;
        font-weight: 700;
    }
    .header .gnb_mobile .top .gnb_close_btn {
        background: transparent;
    }
    .header .gnb_mobile .top .gnb_close_btn img {
        display: block;
    }

    .header .gnb_mobile .gnb_mobile_wrap {
        padding: 20px;
    }
    .header .gnb_mobile .gnb_item + .gnb_item {
        padding-top: 20px;
    }
    .header .gnb_mobile .gnb_item .toggle_btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 12px;
        font-size: 20px;
        font-weight: 600;
        cursor: pointer;
        width: 100%;
        color: #000;
    }
    .header .gnb_mobile .gnb_mobile_wrap .gnb_2dep {
        display: none;
    }
    .header .gnb_mobile .gnb_mobile_wrap .gnb_2dep.open {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .header .gnb_mobile .gnb_mobile_wrap .gnb_2dep a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }

    .header .gnb_mobile .gnb_mobile_wrap .gnb_3dep {
        display: flex;
        flex-wrap: wrap;
        column-gap: 0;
        padding: 6px 6px 14px 24px;
    }
    .header .gnb_mobile .gnb_mobile_wrap .gnb_3dep li {
        width: 50%;
    }
    .header .gnb_mobile .gnb_mobile_wrap .gnb_3dep a {
        font-size: 14px;
        color: #555;
        padding: 0 10px;
    }

    .header .gnb_mobile .bottom {
        padding: 20px;
    }
    .header .gnb_mobile .bottom .site_wrap {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding-bottom: 48px;
    }
    .header .gnb_mobile .bottom .site_wrap li {
        width: 100%;
    }
    .header .gnb_mobile .bottom .site_wrap li a {
        padding: 12px;
        height: 100%;
        background-color: #eee;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 500;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 4px;
    }
    .header .gnb_mobile .bottom .site_wrap li a i {
        color: #555;
    }
    .header .gnb_mobile .bottom .logout_btn {
        padding: 10px 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 15px;
        font-weight: 500;
        display: inline-block;
    }
}

@media screen and (max-width: 500px) {
    .header .gnb_mobile .bottom .site_wrap li a {
        height: 58px;
    }
}

@media screen and (max-width: 374px) {
    .header .gnb_mobile .bottom .site_wrap {
        grid-template-columns: repeat(1, 1fr);
    }
    .header .gnb_mobile .bottom .site_wrap li a {
        height: auto;
    }
}

/********** footer **********/
.footer {
    background: #111;
}
.footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}
.footer .footer_inner {
    width: 100%;
    max-width: 1660px;
    margin: 0 auto;
    padding: 40px 30px 40px;
}
.footer .footer_inner .logo_wrap {
    width: fit-content;
}

.footer .footer_inner .footer_wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.footer .footer_inner .logo_wrap .logo_txt {
    color: #fff;
}
.footer .footer_inner .footer_link {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 32px 0 40px;
}
.footer .footer_inner .footer_link li {
    flex: 0 0 auto;
}
.footer .footer_inner .footer_link li button,
.footer .footer_inner .footer_link li a {
    display: flex;
    color: #ccc;
    align-items: center;
    transition: all 0.3s;
    font-size: 17px;
    text-decoration: none;
}
.footer .footer_inner .footer_link li button:hover,
.footer .footer_inner .footer_link li a:hover {
    color: #fff;
}
.footer .footer_inner .footer_link li button::after,
.footer .footer_inner .footer_link li a::after {
    content: "";
    display: block;
    width: 1px;
    height: 12px;
    background-color: #777;
    margin-left: 20px;
}
.footer .footer_inner .footer_link li:last-child button:after,
.footer .footer_inner .footer_link li:last-child a:after {
    display: none;
}
.footer .footer_inner .footer_wrap .text_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 56px;
    max-width: 700px;
}
.footer .footer_inner .footer_wrap .info_col {
    display: grid;
    grid-template-columns: 120px 1fr;
    row-gap: 4px;
    column-gap: 20px;
}
.footer .footer_inner .footer_wrap .info_col:last-child {
    grid-template-columns: 50px 1fr;
}
.footer .footer_inner .footer_wrap .info_col dt,
.footer .footer_inner .footer_wrap .info_col dd {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: #fff;
}
.footer .footer_inner .footer_wrap .info_col dt {
    color: #ccc;
    font-weight: 700;
}

.footer .footer_inner .footer_wrap .sns_wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer .footer_inner .footer_wrap .sns_wrap a {
    display: block;
    transition: all 0.2s;
}
.footer .footer_inner .footer_wrap .sns_wrap a:hover {
    filter: invert(1);
}
.footer .footer_inner .footer_wrap .copy {
    font-size: 14px;
    color: #999999;
    margin-top: 32px;
}

@media screen and (max-width: 1770px) {
    .footer .footer_inner {
        padding: 24px 20px 24px 70px;
        max-width: none;
    }
    .footer .footer_inner .footer_wrap {
        margin-top: 30px;
    }
    .footer .footer_inner .footer_link {
        gap: 12px;
        margin-bottom: 20px;
    }
    .footer .footer_inner .footer_link li button,
    .footer .footer_inner .footer_link li a {
        font-size: 15px;
    }
    .footer .footer_inner .footer_link li button::after,
    .footer .footer_inner .footer_link li a::after {
        margin-left: 12px;
    }
    .footer .footer_inner .footer_wrap .text_wrap {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .footer .footer_inner .footer_wrap .info_col,
    .footer .footer_inner .footer_wrap .info_col:last-child {
        grid-template-columns: 88px 1fr;
    }
    .footer .footer_inner .footer_wrap .info_col dt,
    .footer .footer_inner .footer_wrap .info_col dd {
        font-size: 14px;
    }
    .footer .footer_inner .footer_wrap .copy {
        font-size: 12px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 1280px) {
    .footer .footer_inner {
        gap: 20px;
        padding: 24px 20px;
    }
    .footer .footer_inner .footer_link {
        gap: 12px;
        margin: 20px 0;
    }
    .footer .footer_inner .footer_link li button,
    .footer .footer_inner .footer_link li a {
        font-size: 15px;
    }
    .footer .footer_inner .footer_link li button::after,
    .footer .footer_inner .footer_link li a::after {
        margin-left: 12px;
    }
    .footer .footer_inner .footer_wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .footer .footer_inner .footer_logo {
        width: 154px;
    }
    .footer .footer_inner .footer_wrap .copy {
        font-size: 11px;
        margin-top: 20px;
    }
    .footer .footer_inner .footer_wrap .sns_wrap img {
        width: 36px;
        height: 36px;
    }
}



/* floating */
.floating_bar {
    position: fixed;
    right: 0;
    bottom: 40px;
    width: 84px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 20px 0 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 10;
}
.floating_sns ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.floating_sns a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}
.floating_sns a img {
    width: 100%;
}
.floating_sns a:hover,
.btn_top:hover {
    outline: 2px solid #333;
    outline-offset: 3px;
}

.btn_top {
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: #555;
    transition: all 0.2s;
    border-radius: 50%;
}
.btn_top .arrow {
    font-size: 16px;
}
.btn_top .txt {
    font-size: 14px;
}

@media screen and (max-width: 1280px) {
    .floating_bar {
        padding: 6px;
        width: 52px;
        bottom: 32px;
        border-radius: 8px 0 0 8px;
    }
    .floating_sns {
        display: none;
    }
    .btn_top {
        width: 40px;
        height: 40px;
        border-radius: 4px;
    }
    .btn_top .arrow {
        font-size: 12px;
    }
    .btn_top .txt {
        font-size: 13px;
    }
}
