/********** header **********/
header {
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 95px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 110;
    width: 100%;
    background: transparent;
    transition: background .25s ease, backdrop-filter .25s ease;
}
header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(rgba(5, 12, 28, 0.5) 0%, rgba(5, 12, 28, 0.2) 50%, rgba(5, 12, 28, 0) 100%);
    backdrop-filter: blur(10px);
    -webkit-mask-image: -webkit-linear-gradient(#000 0%, #000 50%, rgba(0, 0, 0, .35) 86%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(#000 0%, #000 50%, rgba(0, 0, 0, .35) 86%, rgba(0, 0, 0, 0) 100%);
}
header.is_scrolled::before,
header.mobile_open::before {
    display: none;
}
header .logo,
header .header_right,
header .mobile_menu_btn {
    position: relative;
    z-index: 1;
}
header .logo a img {
    display: block;
    width: 180px;
    filter: brightness(0) invert(1);
}
.mobile_menu_btn {
    display: none;
}
header .gnb {
    display: flex;
    gap: 40px;
}
header .gnb > li > a {
    font-size: 20px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    padding: 35px 0;
}
header .gnb > li > a:hover,
header .gnb > li:hover > a {
    color: #1f3f8b;
}
header .gnb > li > a:after {
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background: #1f3f8b;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}
header .gnb > li:hover > a:after {
    transform: scaleX(1);
}
header .gnb .lnb {
    position: absolute;
    width: 100%;
    left: 0;
    top: 95px;
    z-index: 2;
    height: 0;
    transition: height 0.5s ease;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    background: #f4f4f4;
}
header .gnb .lnb.active {
    height: 72px;
}
header .gnb .lnb li {
    display: flex;
}
header .gnb .lnb a {
    padding: 24px;
    color: #333;
    text-shadow: none;
}
header .gnb .lnb a:hover {
    color: #1f3f8b;
    font-weight: 700;
}
.header_right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header_right a {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}
.header_right i {
    font-size: 28px;
}
.header_right p {
    font-size: 18px;
}
.header_right.login_after {
    gap: 8px;
}
.header_right.login_after a {
    gap: 0;
    font-size: 15px;
}
.header_right.login_after .btn {
    min-width: auto;
    height: 34px;
    padding: 0 12px;
    font-size: 14px;
}
.header_lang_switch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    color: inherit;
}
.header_right.login_after .header_lang_switch {
    margin-right: 12px;
}
.header_lang_switch span {
    display: block;
    width: 1px;
    height: 12px;
    background: currentColor;
    opacity: .35;
}
.header_lang_switch button {
    background: transparent;
    color: inherit;
    font-size: 14px;
    opacity: .5;
}
.header_lang_switch button.active {
    opacity: 1;
}
header .gnb > li > a,
header .header_right a,
header .header_right p,
.header_lang_switch,
.header_lang_switch button {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}
header.is_scrolled,
header.mobile_open {
    background: #fff;
    border-bottom-color: rgba(0, 0, 0, .08);
    box-shadow: 0 8px 24px rgba(18, 31, 61, .08);
    backdrop-filter: blur(14px);
}
header.is_scrolled .gnb > li > a,
header.is_scrolled .header_right a,
header.is_scrolled .header_right p,
header.is_scrolled .header_lang_switch,
header.is_scrolled .header_lang_switch button,
header.mobile_open .gnb > li > a,
header.mobile_open .header_right a,
header.mobile_open .header_right p,
header.mobile_open .header_lang_switch,
header.mobile_open .header_lang_switch button {
    color: #222;
    text-shadow: none;
}
header.is_scrolled .logo img,
header.mobile_open .logo img {
    filter: none;
}
header.is_scrolled .gnb > li > a:hover,
header.is_scrolled .gnb > li:hover > a,
header.mobile_open .gnb > li > a:hover,
header.mobile_open .gnb > li:hover > a {
    color: #1f3f8b;
}

/********** footer **********/
footer {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #10224f;
    padding: 40px 32px 30px;
}
.footer_inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.footer_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 30px;
    margin-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer_top .left {
    display: flex;
    gap: 90px;
}
.footer_top .left .title {
    margin-bottom: 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.02em;
}
.footer_top .left .text {
    display: flex;
    gap: 30px;
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
}
.footer_top .left .text + .text {
    margin-top: 4px;
}
.footer_top .left .text span:first-child {
    width: 100px;
    color: rgba(255, 255, 255, .56);
}
.footer_top .right {
    flex-shrink: 0;
}
.footer_top .right img {
    display: block;
    width: 190px;
}
.footer_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer_bottom p,
.footer_bottom .footer_link a {
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
}
.footer_bottom .footer_link {
    display: flex;
    gap: 30px;
}
.footer_bottom .footer_link a:hover {
    color: #fff;
}

/********** page **********/
.content_wrap {
    min-height: calc(100vh - 303px);
    background: #fff;
}

/********** section **********/
.section_wrap {
    width: 100%;
    max-width: 1200px;
    padding: 40px 30px 130px;
    margin: 0 auto;
}

/********** sub section **********/
.section_table_wrap {
    max-width: 1600px;
}
.section_map_wrap {
    max-width: 1600px;
}

/********** visual **********/
.visual_wrap {
    position: relative;
    height: 350px;
}
.visual_wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.visual_wrap p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 42px;
    color: #fff;
    font-weight: 700;
    width: calc(100% - 40px);
    text-align: center;
}

/********** sub menu **********/
.snb {
    position: relative;
    z-index: 2;
    display: flex;
    width: calc(100% - 60px);
    max-width: 1200px;
    margin: -66px auto 0;
    border: 1px solid #d7d9df;
    border-radius: 14px 14px 0 0;
    background: #fff;
    box-shadow: 0 -10px 24px rgba(16, 34, 79, .12);
    align-items: center;
    justify-content: center;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.snb.is_scrollable {
    justify-content: flex-start;
}
.snb::-webkit-scrollbar {
    display: none;
}
.snb li {
    display: flex;
    flex: 0 0 auto;
}
.snb li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 64px;
    padding: 0 32px;
    color: #526071;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}
.snb li a.active {
    color: #3156ca;
    font-weight: 800;
}
.snb li a.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: #3156ca;
}

/********** pagination **********/
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #d8e3f5;
    border-radius: 6px;
    background: #fff;
    color: #526071;
    font-size: 14px;
}
.pagination a i {
    font-size: 13px;
}
.pagination a.on {
    border-color: #1f3f8b;
    background: #1f3f8b;
    color: #fff;
    font-weight: 800;
}
.pagination a.disabled {
    border-color: #e4ebf5;
    background: #f5f7fb;
    color: #b8c3d2;
    cursor: default;
}
.pagination_status {
    display: none;
}

/********** content - bottom **********/
.content_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 30px;
}
.content_bottom .content_bottom_left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 250px;
}
.content_bottom .content_bottom_center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 500px);
}
.content_bottom .content_bottom_right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    width: 250px;
}

/********** error **********/
.error_page_wrap {
    width: 100%;
    height: 100vh;
    background: #fff;
}
.error_page_wrap .error_inner {
    height: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.error_page_wrap .error_inner i {
    font-size: 100px;
    color: #ea394d;
}
.error_page_wrap .error_inner h2 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
}
.error_page_wrap .error_inner p {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}
.error_page_wrap .error_inner .btn_group {
    display: flex;
    gap: 8px;
}
.error_page_wrap .error_inner .btn_group .btn {
    width: 135px;
    height: 48px;
    font-size: 16px;
}

/********** responsive **********/
@media (max-width: 1400px) {
    header {
        padding: 0 30px;
    }
    header .logo a img {
        width: 130px;
    }
    header .gnb {
        gap: 24px;
    }
    header .gnb > li > a {
        font-size: 15px;
    }
    header .header_right a,
    header .header_right p {
        font-size: 15px;
    }

    footer {
        padding-right: 60px;
        padding-left: 60px;
    }
}

@media (max-width: 1200px) {
    .footer_top .left {
        gap: 60px;
    }
}

@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;
    }
}

@media (max-width: 1024px) {
    body.mobile_menu_open {
        overflow: hidden;
    }
    header {
        height: 72px;
        padding: 0 24px;
        justify-content: space-between;
        background: #fff;
        border-bottom-color: rgba(0, 0, 0, .08);
        box-shadow: 0 8px 24px rgba(18, 31, 61, .06);
    }
    header::before {
        display: none;
    }
    header.mobile_open {
        height: 100dvh;
        align-items: flex-start;
        overflow: hidden;
    }
    header .logo {
        position: absolute;
        top: 14px;
        left: 24px;
        z-index: 4;
    }
    header .logo a img {
        filter: none;
    }
    header .gnb > li > a,
    header .header_right a,
    header .header_right p {
        color: #222;
        text-shadow: none;
    }
    header .mobile_menu_btn {
        position: absolute;
        top: 14px;
        right: 20px;
        z-index: 4;
        display: flex;
        width: 40px;
        height: 40px;
        background: #fff;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }
    header .mobile_menu_btn span {
        display: block;
        width: 20px;
        height: 2px;
        border-radius: 100px;
        background: #1f2937;
        transition: transform .25s ease, opacity .2s ease;
    }
    header.mobile_open .mobile_menu_btn span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    header.mobile_open .mobile_menu_btn span:nth-child(2) {
        opacity: 0;
    }
    header.mobile_open .mobile_menu_btn span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    header .gnb {
        position: absolute;
        top: 72px;
        right: 0;
        bottom: 0;
        left: 0;
        display: none;
        padding: 0 24px 18px;
        background: #fff;
        overflow-y: auto;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #e7ebf3;
        box-shadow: none;
    }
    header.mobile_open .gnb {
        display: flex;
        height: calc(100vh - 141px);
    }
    header .gnb > li {
        border-bottom: 1px solid #eef1f6;
    }
    header .gnb > li:last-child {
        border-bottom: 0;
    }
    header .gnb > li > a {
        display: block;
        padding: 18px 0 10px;
        font-size: 16px;
    }
    header .gnb > li > a::after {
        display: none;
    }
    header .gnb .lnb,
    header .gnb .lnb.active {
        position: static;
        display: flex;
        width: auto;
        height: auto;
        padding: 0 0 16px;
        background: transparent;
        box-shadow: none;
        overflow: visible;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 6px 16px;
        transition: none;
    }
    header .gnb > li:last-child .lnb {
        padding-bottom: 0;
    }
    header .gnb .lnb a {
        padding: 0;
        color: #667085;
        font-size: 14px;
    }
    header .gnb .lnb a:hover {
        color: #1f3f8b;
    }
    header .header_right {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 3;
        display: none;
        padding: 14px;
        border-top: 1px solid #e8edf5;
        align-items: center;
        justify-content: center;
        background: #fff;
        width: 100%;
        gap: 10px;
        flex-wrap: wrap;
    }
    header.mobile_open .header_right {
        display: flex;
    }
    header .header_right a {
        height: 40px;
        padding: 0 14px;
        border-radius: 100px;
        background: #f5f7fb;
        font-size: 14px;
        font-weight: 700;
    }
    header .header_right a,
    header .header_right p,
    .header_lang_switch button {
        color: #1f2937;
    }
    .header_lang_switch {
        justify-content: center;
    }
    .header_lang_switch button {
        font-size: 13px;
    }
    .header_right.login_after .btn {
        height: 40px;
        border-radius: 100px;
        padding: 0 14px;
    }
    .header_right.login_after a {
        font-size: 14px;
    }

    footer {
        padding: 36px 32px;
    }
    .footer_top {
        align-items: flex-start;
    }
    .footer_top .left {
        gap: 36px;
        flex-direction: column;
    }

    .content_wrap {
        padding-top: 72px;
    }

    .visual_wrap {
        height: 320px;
    }
    .visual_wrap p {
        padding-top: 0;
        font-size: 42px;
        margin-top: -32px;
    }
    .snb {
        margin-top: -60px;
        box-shadow: 0 -8px 20px rgba(16, 34, 79, .12);
    }
    .snb li a {
        height: 58px;
        padding: 0 20px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    footer {
        padding: 32px 20px;
    }
    .footer_top {
        padding-bottom: 28px;
        margin-bottom: 24px;
        flex-direction: column;
        gap: 30px;
    }
    .footer_top .left {
        width: 100%;
        gap: 24px;
    }
    .footer_top .left .title {
        margin-bottom: 10px;
        font-size: 15px;
    }
    .footer_top .left .text {
        gap: 12px;
        font-size: 13px;
    }
    .footer_top .left .text span:first-child {
        width: 88px;
        flex: 0 0 88px;
    }
    .footer_top .right img {
        width: 160px;
    }
    .footer_bottom {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 16px;
    }

    .section_wrap {
        padding: 40px 20px 80px;
    }

    .visual_wrap {
        height: 220px;
    }
    .visual_wrap p {
        font-size: 32px;
        margin-top: 0;
    }
    .snb {
        width: 100%;
        max-width: none;
        margin-top: 0;
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        box-shadow: initial;
    }
    .snb li a {
        height: 52px;
        padding: 0 16px;
        font-size: 14px;
    }

    .pagination {
        gap: 8px;
    }
    .pagination a {
        display: none;
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        font-size: 13px;
    }
    .pagination a[title="이전 페이지"],
    .pagination a[title="다음 페이지"],
    .pagination a.on {
        display: inline-flex;
    }
    .pagination:has(.pagination_status) a.on {
        display: none;
    }
    .pagination_status {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 66px;
        height: 36px;
        padding: 0 12px;
        border: 1px solid #004bb4;
        border-radius: 6px;
        background: #004bb4;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
    }
    .pagination a i {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .visual_wrap {
        height: 190px;
    }
    .visual_wrap p {
        font-size: 28px;
    }
    .snb li a {
        height: 48px;
        padding: 0 14px;
    }
}
