@charset "utf-8";
/* 공통 ***********************************************/

:root {
    --primary: #0b2a5b;
    --common-padding: 120px 20px;
    --common-margin-bt: 40px;
    --common-sec-title-h1-size: 36px;
    --common-sec-title-h1-weight: 600;
    --eng: "minerva-modern", sans-serif;
}

@media (max-width:768px) {
    :root {
        --common-padding: 100px 16px;
        --common-margin-bt: 40px;
        --common-sec-title-h1-size: 32px;
        --common-sec-title-h1-weight: 400;
        ;
    }
}

.section_address,
.root_daum_roughmap .cont {
    display: none !important;
}

.custom-chk-inp-wrap {
    display: inline-block;
}

.custom-chk-inp-wrap .chk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.custom-chk-inp-wrap input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.custom-chk-inp-wrap .chkbox {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1.5px solid #888;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
    transition: all .2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    opacity: .3;
}

.custom-chk-inp-wrap .txt {
    font-size: 14px;
    color: #111;
}

.custom-chk-inp-wrap .txt.all {
    font-size: 15px;
    font-weight: bold;
}

.custom-chk-inp-wrap .txt .privacy-link {
    text-decoration: underline;
    color: #111;
}

.custom-chk-inp-wrap input:checked + .chkbox {
    background-color: var(--primary);
    border-color: var(--primary);
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* 공통 ***********************************************/

.sub-container .sub-cont {
    padding: 80px 0;
}

.sub-container .sub-visual {

    height: 320px;
}

.sub-container .sub-visual .sub-txt {
    display: flex;
    align-items: center;
    text-align: left;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    max-width: 1280px;
    margin: 0 auto;
    height: 320px;
    padding-top: 60px;
}

.sub-container .sub-visual .sub-txt h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.sub-container .sub-visual .sub-txt h2 {
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 12px;
}

.sub-container .sub-visual .sub-txt p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.2;
}

.sub-container .sub_nav_wrap {
    position: relative;
    margin-top: 140px;
}

.sub-container .sub_nav_wrap > ul.sub_menu {
    text-align: center;
    table-layout: fixed;
    width: 100%;
    max-width: 1280px;
    height: 70px;
    font-size: 0;
    margin: 0 auto;
}

.sub-container .sub_nav_wrap > ul.sub_menu > li {
    display: inline-block;
    line-height: 70px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    font-size: 20px;
    color: #666;
}

.sub-container .sub_nav_wrap > ul.sub_menu > li.on {
    color: #fff;
    background: #0070B2;
    border-bottom: 2px solid #0070B2;
}

.sub-container .sub_nav_wrap > ul.sub_menu > li > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
}

.sub-container .sub_nav_tab ul {
    width: 100%;
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
    text-align: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: rgb(51 51 53 / 96%);
}

.sub-container .sub_nav_tab ul li {
    width: 16%;
}

.sub-container .sub_nav_tab ul li a {
    display: inline-block;
    width: 100%;
    height: 60px;
    line-height: 60px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.sub-container .sub_nav_tab ul li a span {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.sub-container .sub_nav_tab ul li a.active {
    position: relative;
    border-top: 3px solid #fff;
    color: #fff;
}

.sub-container .sub_nav_tab ul li a.active::after {
    content: "";
    position: absolute;
    bottom: 52px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #fff;
}

.sub-container .sub_nav_tab ul li a.active span {
    color: #fff;
}

@media (max-width:768px) {
    .sub-container .sub-visual .sub-txt {
        position: relative;
        z-index: 2;
        padding-top: 0;
        text-align: center;
        justify-content: center;
    }
    
    .sub-container .sub-visual {
        position: relative;
        overflow: hidden;
    }
    
    .sub-container .sub-visual:after {
        content: "";
        position: absolute;
        inset:0;
        background: rgb(0,0,0,.3);
        z-index: 1;
    }
    
    .sub-container .sub-visual .sub-txt h2 {
        font-size: 2rem;
    }
    
    .sub-container .sub-visual .sub-txt p {
        font-size: 1rem;
        padding: 0 20px;
        word-break: keep-all;
    }
    
        .sub-container .sub_nav_tab ul {
        height: 50px;
        margin: -50px auto 0;
    }

    .sub-container .sub_nav_tab ul li a {
        height: 50px;
        line-height: 50px;
    }

    .sub-container .sub_nav_tab ul li a span {
        font-size: 14px;
    }

    .sub-container .sub_nav_tab ul li {
        width: 33.33333%;
    }

    .sub-container .sub_nav_tab ul li a.active::after {
        bottom: 42px;
    }
}

/* board reset *****************************************/

#bo_w,
#bo_v,
#bo_list {
    max-width: 1220px;
    margin: 0 auto;
    padding: var(--common-padding);
    position: relative;
}

.bbs-sectitle {
    text-align: center;
    margin-bottom: var(--common-margin-bt);
}

.bbs-sectitle h1 {
    font-size: var(--common-sec-title-h1-size);
    font-weight: var(--common-sec-title-h1-weight);
    line-height: 1;
}

@media (max-width:768px) {

    #bo_w,
    #bo_v,
    #bo_list {
        padding: var(--common-padding);
    }
}


/* 헤더 ***********************************************/
/* 헤더 ***********************************************/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 11;
    border-bottom: 1px solid rgba(234, 234, 234, 0.6);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all .1s;
    transition: all .1s;
    background: #fff;
}

.header.white {
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.05)
}

.header .inner {
    position: relative;
    height: 60px;
    margin: 0 auto;
    max-width: 1280px;

}

.header .inner .logo {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 40px;
    width: auto;
    overflow: hidden;
}

.header .inner .logo a {
    position: relative;
    display: inline-block;
    width: 110px;
    height: 38px;
    z-index: 2;
}

.header .inner .logo a:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(/images/logo-c.svg) center center no-repeat;
    background-size: 110px;
    display: block;
    z-index: 11;
}

@media (max-width:768px) {
    .header.white .inner .logo a:after,
    .header .inner .logo a:after {
        background-size: 90px;
    }
}

.header.white .logo a:after {
    background: url(/images/logo-c.svg) center center no-repeat;
    background-size: 110px;
}

.header .inner .menu_btn {
    position: absolute;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
}

.header .header_gnb {
    text-align: center;
}

.header .header_gnb .gnb_depth_1 {
    display: flex;
    justify-content: flex-end;
    gap: 48px;
}

.header .header_gnb .depth_1 {
    position: relative;
    display: flex;
    align-items: center;
    height: 60px;
}

.header .header_gnb .depth_1 > a {
    display: flex;
    align-items: center;
    font-weight: 500;
    color: #111;
    font-size: 15px;
}

.header .header_gnb .depth_1 > a span {
    position: relative;
    display: block;
    line-height: normal;
    font-weight: 500;
    color: #111;
    font-size: 1.1rem
}

.header.white .header_gnb .depth_1 > a,
.header.white .header_gnb .depth_1 > a > span {
    color: #111;
}

.header .header_gnb .depth_1 .depth_item {
    background-color: var(--primary);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.header .header_gnb .depth_1.current .depth_item {
    visibility: visible;
    opacity: 1;
    transition: all 0.5s;
}

.header .header_gnb .depth_1 .depth_item .gnb_depth_2 {
    padding: 10px 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s;
}

.header .header_gnb .depth_1.current .depth_item .gnb_depth_2 {
    visibility: visible;
    opacity: 1;
    transition: all 0.5s;
}

.header .header_gnb .depth_2 > a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #fff;
    transition: color 0.1s;
}

.header .header_gnb .depth_item li {
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.4s ease;
}

.header .header_gnb .depth_item li.fade-up {
    opacity: 1;
    transform: translateY(0);
}


.mob-header {
    position: relative;
}

.mob-header .dimmed {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 50;
    transition: opacity 0.3s ease;
}

.mob-header .dimmed.show {
    display: block;
}

/* ✅ 햄버거는 z-index 올림 */
.mob-header .mobBtn {
    position: relative;
    z-index: 1001;
}

/* 햄버거 */
.header .mobBtn {
    width: 24px;
    height: 18px;
    position: absolute;
    cursor: pointer;
    z-index: 1001;
    top: 50%;
    right: 0;
    transform: translate(-50%, -50%);
}

@media (min-width:769px) {
    .header .mobBtn {
        display: none;
    }
}

@media (max-width:768px) {
        .header .mobBtn {
        display: block;
    }
}

.header .mobBtn span,
.header .mobBtn::before,
.header .mobBtn::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background: #222;
    left: 0;
    transition: 0.3s ease;
}

.header .mobBtn span {
    top: 8px;
}

.header .mobBtn::before {
    top: 0;
}

.header .mobBtn::after {
    bottom: 0;
}

/* 메뉴 레이어 */
.mob-header .mob-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100%;
    background: #fff;
    z-index: 51;
    padding: 20px;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mob-header .mob-nav.open {
    right: 0;
}

/* 닫기 버튼 */
.mob-header .nav-close {
    background: none;
    border: none;
    cursor: pointer;
}

/* nav-top */
.mob-header .nav-top {
    display: flex;
    justify-content: flex-end;
    align-items:flex-end;
}

.mob-header .nav-top img {
    width: 130px;
}

/* 메뉴 항목 */
.mob-header .nav-list {
    margin-top: 20px;
}

.mob-header .nav-item {
    border-bottom: 1px solid #eee;
}

.mob-header .nav-link {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-transform: uppercase;
}

/* 공통 화살표 스타일 */
.mob-header .nav-link .arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

/* ▼ 아래 방향 기본 화살표 */
.mob-header .nav-item:not(.no-sub) .arrow {
    transform: rotate(0deg);
    /* ▼ */
}

.mob-header .nav-item.open .arrow {
    transform: rotate(180deg);
    /* ▲ */
}

/* 👉 오른쪽 방향 화살표는 회전 없음 */
.mob-header .nav-item.no-sub .arrow.right {
    transform: rotate(0deg);
    /* → */
}

.mob-header .sub-menu {
    display: none;
    padding: 10px 0 14px 12px;
    background: #f9f9f9;
}

.mob-header .nav-item.open .sub-menu {
    display: block;
}

.mob-header .sub-menu li {
    padding: 6px 0;
    font-size: 14px;
    color: #555;
}

/* 카피라이트 */
.mob-header .copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
}


@media (max-width:768px) {
    .header .inner {
        margin: 0 20px;
    }
    
    .header .header_gnb {
        display: none;
    }
}


/* 푸터 ***********************************************/
/*    footer    */
#footer {
    position: relative;
    padding: 100px 0;
    background: #181818;
}

#footer .inner {
    position: relative;
    z-index: 1;
    padding: 0 80px;
}

#footer .inner .ft_top,
#footer .inner .ft_mid,
#footer .inner .ft_addr {
    margin-bottom: 40px;
}

#footer .inner .ft_top .dflx {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#footer .inner .ft_top .dflx .nav ul {
    display: flex;
}

#footer .inner .ft_top .dflx .nav a {
    color: #999;
}

#footer .inner .ft_top .dflx .nav a:first-child {
    color: #fff;
}

#footer .inner .ft_top .dflx .nav ul li:not(:last-child) {
    margin-right: 16px;
}

#footer .inner .ft_top .dflx .cont {
    text-align: right;

}

#footer .inner .ft_top .dflx .cont h3 a,
#footer .inner .ft_top .dflx .cont h3 {
    color: #fff;
    font-size: 24px;
}

#footer .inner .ft_mid .dflx {
    display: flex;
    justify-content: space-between;
}

#footer .inner .ft_mid .dflx .left .ft_tit h2 {
    font-size: 32px;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 24px;
    font-family: var(--font-na);
}

#footer .inner .ft_mid .dflx .left .ft_tit a {
    display: inline-block;
    width: 180px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border: 1px solid #fff;
    color: #fff;
}

#footer .inner .ft_mid .dflx .right ul {
    display: flex;
}

#footer .inner .ft_mid .dflx .right ul li {
    width: 20%;
}

#footer .inner .ft_mid .dflx .right ul li:not(:last-child) {
    margin-right: 50px;
}

#footer .inner .ft_mid .dflx .right ul li h3 {
    color: #fff;
    font-size: 16px;
    line-height: 1;
    margin-bottom: 16px;
}

#footer .inner .ft_mid .dflx .right ul li a {
    color: #fff;
    opacity: .8;
    display: block;
    font-size: 15px;
}

#footer .inner .ft_mid .dflx .right ul li a:not(:last-child) {
    margin-bottom: 8px;
}

#footer .inner .ft_addr p {
    font-size: 13px;
    color: #999;
}

#footer .inner .ft_addr p:first-child {
    margin-bottom: 8px;
}

#footer .inner .ft_addr p span {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    margin-right: 10px;
    font-weight: 400;
}

#footer .inner .ft_bot .brand ul {
    display: flex;
}

#footer .inner .ft_bot .brand ul li {
    color: #fff;
}

#footer .inner .ft_bot .brand ul li:not(:last-child) {
    margin-right: 8px;

}

#footer .inner .ft_bot {
    position: relative;
}

#footer .inner .ft_bot .cp {
    color: #999;
    font-size: 14px;
}

.footer_sns .inner {
    background: #fff;
}

.footer_sns .inner .dflx ul {
    display: flex;
    justify-content: space-between;
    height: 300px;

}

.footer_sns .inner .dflx ul li {
    width: 33.333333%;
    display: inline-block;
    height: 100%;
    border-top: 1px solid #111;
}



.footer_sns .inner .dflx ul li:not(:last-child) {
    border-right: 1px solid #111;
}

.footer_sns .inner .dflx ul li a {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.footer_sns .inner .dflx ul li a:hover {
    background: #f1f1f1;
}

.footer_sns .inner .dflx ul li a .top {
    font-size: 24px;
    font-family: var(--eng-font);
}

.footer_sns .inner .dflx ul li a .bot .df {
    display: flex;
    justify-content: flex-end;
    font-weight: 400;
    font-size: 40px;
    font-family: var(--eng-font);
}

/* ✅ Dim */
.ft-policy-dim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

/* ✅ Modal */
.ft-policy-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: #fff;
    border-radius: 8px;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.ft-policy-inner {
    padding: 2rem;
    position: relative;
}

.ft-policy-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
}

.ft-policy-content .ft-policy-item:not(:last-child) {
    margin-bottom: 24px;
}

.ft-policy-content .ft-policy-item h4 {
    font-size: 15px;
}

.ft-policy-content .ft-policy-item ul {
    margin-top: 8px;
}

.ft-policy-content .ft-policy-item ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ft-policy-item ul li::before {
    content: "•";
    flex-shrink: 0;
    color: #333;
}


/* ✅ Close Button */
.ft-policy-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
}

/* ✅ 공통 모달 스타일은 기존 유지 */

.ft-policy-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    /* 골드/주황 느낌 */
    margin-bottom: 1.2rem;
}

/* 강조 문구 */
.ft-policy-highlight {
    font-size: 1.05rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* 일반 본문 */
.ft-policy-content .ft-policy-item ul li,
.ft-policy-content p {
    font-size: 13.5px;
    color: #555;
    line-height: 1.7;
}

.ft-policy-content p {
    margin-top: 8px;
}

/* 게시일 */
.ft-policy-date {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1.5rem;
}

@media (max-width:1200px) {
    #footer .inner .ft_mid .dflx {
        display: block;
    }

    #footer .inner .ft_mid .dflx .right {
        display: none;
    }
}

@media (max-width:1024px) {
    #footer .inner .ft_bot .cp {
        position: static;
        margin-top: 24px;
    }

    #footer .inner {
        padding: 0 40px;
    }
}

@media (max-width:830px) {
    #footer .inner .ft_top .dflx {
        display: block;
    }

    #footer .inner .ft_top .dflx .cont {
        margin-top: 32px;
        text-align: left;
    }
}

@media (max-width:768px) {
    .footer_sns .inner {
        background: #fff;
    }

    .footer_sns .inner .dflx ul {
        flex-direction: column;
        height: auto;
    }

    .footer_sns .inner .dflx ul li {
        width: 100%;
        border-top: none;
    }

    .footer_sns .inner .dflx ul li:first-child {
        border-top: 1px solid #111;
    }

    .footer_sns .inner .dflx ul li:not(:last-child) {
        border-bottom: 1px solid #111;
        border-right: none;
    }

    .footer_sns .inner .dflx ul li a {
        flex-direction: row;
        align-items: center;
        padding: 20px;
    }

    .footer_sns .inner .dflx ul li a .top {
        font-size: 18px;
    }

    .footer_sns .inner .dflx ul li a .bot .df {
        font-size: 22px;
    }

    #footer .inner {
        padding: 0 20px;
    }

    #footer .inner .ft_mid .dflx .left .ft_tit h2 {
        font-size: 20px;
    }

    #footer .inner .ft_top .dflx .cont h3 {
        font-size: 20px;
    }

    #footer .inner .ft_bot .brand ul {
        flex-wrap: wrap;
    }

    #footer .inner .ft_bot .brand ul li {
        line-height: 1.4;
    }

    #footer {
        padding: 80px 0;
    }

    #footer .inner .ft_top .dflx .nav a {
        font-size: 14px;
    }

    #footer .inner .ft_top .dflx .nav a:not(:last-child) {
        margin-right: 8px;
    }

    #footer .inner .ft_bot .cp {
        font-size: 13px;
    }
}
