@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

/* =========================================
   1. 기본 레이아웃 및 폰트
========================================= */
body {
    font-family: 'font-R', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

/* =========================================
   2. 상단 Hero 비주얼 영역 (애니메이션 포함)
========================================= */
.a_sec1_hero {
    position: relative;
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -1px;
}

.hero_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
}

.a_sec1_hero .inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.a_sec1_hero h1 {
    color: #fff;
    font-size: 70px;
    letter-spacing: 5px;
    margin: 0;
}

.fade-up {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUpAnim 1s ease-out forwards;
}

@keyframes fadeUpAnim {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   3. FAQ 카테고리 탭 (좌측 정렬 문제 해결)
========================================= */
.rb_faq {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px 150px;
    box-sizing: border-box;
    clear: both;
}

#bo_cate {
    margin: 0 auto 30px;
    width: 100%;
    display: block;
    height: 60px;
    padding: 0;
    box-sizing: border-box;
}

#bo_cate #bo_cate_ul {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

#bo_cate #bo_cate_ul:after {
    display: none;
}

#bo_cate li {
    padding: 0px;
    height: 100%;
}

#bo_cate a {
    display: block;
    padding: 0px 20px;
    border: 0px;
    font-size: 16px;
    color: #000;
    background-color: transparent;
    line-height: 45px;
    height: 45px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

#bo_cate a:first-child {
    border: 1px solid #ccc;
    margin: 0 10px;
}

#bo_cate a:hover,
#bo_cate #bo_cate_on {
    color: #2196F3;
    font-family: 'font-B', sans-serif;
}

#bo_cate #bo_cate_ul:before {
    content: "";
    bottom: 0;
    position: absolute;
    width: 100%;
    margin: 0;
    height: 1px;
    background-color: rgba(0, 0, 0, .1);
}

#bo_cate #bo_cate_on::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 20px;
    left: 0px;
    height: 2px;
}

/* =========================================
   4. FAQ 본문 리스트 (에디터 리스트 충돌 해결)
========================================= */
#faq_wrap h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

/* 💡 자식 선택자(>)를 사용하여 에디터 내부의 ol, li에는 적용되지 않도록 방어! */
#faq_con>ol {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #ececec;
}

#faq_con>ol>li {
    border-bottom: 1px solid #ddd;
    background: #fff;
    position: relative;
    margin: 0;
    padding: 0;
}

/* --- 질문(Q) 영역 --- */
#faq_con>ol>li>h3 {
    font-family: 'font-R', sans-serif;
    font-size: 16px;
    color: #000;
    margin: 0;
    padding: 20px 60px 20px 45px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

#faq_con>ol>li>h3:hover {
    background: #fafafa;
}

#faq_con>ol>li>h3 .tit_bg {
    font-family: 'font-B', 'Noto Sans KR';
    font-size: 30px;
    color: #00A7F8;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    margin: 0;
}

#faq_con>ol>li>h3 a {
    display: block;
    font-family: 'Noto Sans KR', sans-serif !important;
    font-weight: 500;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    text-decoration: none;
    word-break: keep-all;
    width: 100%;
}

/* --- 버튼 영역 (+/- 중복 현상 해결) --- */
#faq_con>ol>li>h3 .tit_btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #c5cdd8;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

#faq_con>ol>li>h3.faq_li_open a {
    color: #000;
    font-family: 'font-B', sans-serif;
}

#faq_con>ol>li>h3.faq_li_open .tit_btn {
    color: #2196F3;
}

#faq_con>ol>li>h3.faq_li_open .tit_btn i:before {
    content: "\f068";
}

/* --- 답변(A) 영역 --- */
#faq_con .con_inner {
    display: none;
    width: auto;
    box-sizing: border-box !important;
    margin: 0;
    padding: 30px 40px 30px 45px;
    background: #f8f9fa;
    border-top: 1px solid #ececec;
    font-size: 15px;
    color: #444;
    line-height: 1.6;
}

#faq_con .con_inner img {
    max-width: 100%;
    height: auto;
}

#faq_con .con_inner .tit_bg {
    display: none;
}

#faq_con .con_inner .closer_btn {
    display: none !important;
}

/* 💡 에디터 작성 내용 내부의 숫자, 글머리기호 정상화 코드 */
#faq_con .con_inner ul {
    list-style-type: disc !important;
    padding-left: 25px !important;
    margin-bottom: 15px !important;
    border: none !important;
}

/* 💡 2. ol 태그일 때는 확실하게 숫자(decimal) 모양 지정 */
#faq_con .con_inner ol {
    list-style-type: decimal !important;
    padding-left: 25px !important;
    margin-bottom: 15px !important;
    border: none !important;
}

/* 💡 3. 리스트 아이템(li)에 박힌 reset.css의 list-style: none을 강제로 깨부숩니다 */
#faq_con .con_inner li {
    display: list-item !important;
    /* 혹시 모를 display: block 방해 공작 차단 */
    list-style: inherit !important;
    /* 부모(ul 또는 ol)가 가진 모양을 그대로 상속받음 */
    border: none !important;
    /* FAQ 껍데기의 밑줄 간섭 차단 */
    background: transparent !important;
    /* FAQ 껍데기의 배경색 간섭 차단 */
    padding: 3px 0 !important;
    margin: 0 !important;
}

/* =========================================
   5. 관리 버튼 
========================================= */
.btns_gr_wrap {
    position: fixed;
    top: 128px;
    left: 0px;
    width: 100%;
    z-index: 10;
    height: 0px;
}

.btns_gr_wrap .sub {
    padding: 0px;
    height: 0px;
    min-height: 0px;
    margin: 0 auto;
}

.btns_gr_wrap .btns_gr {
    float: right;
    width: 50px;
    margin-right: -100px;
}

.btns_gr_wrap .btns_gr .fl_btns {
    width: 50px;
    height: 50px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    display: block;
    line-height: 45px;
    text-decoration: none;
}

.btns_gr_wrap .btns_gr .fl_btns:hover {
    border-color: #2196F3;
}

.tooltips {
    opacity: 0;
    transition: all 350ms cubic-bezier(0.645, 0.045, 0.355, 1);
    cursor: default;
    position: absolute;
    left: 50px;
    width: max-content;
    color: #fff;
    background-color: #212121;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: 11px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.tooltips:after {
    border-top: 4px solid rgba(0, 0, 0, 0);
    border-left: 4px solid #212121;
    border-right: 4px solid rgba(0, 0, 0, 0);
    border-bottom: 4px solid rgba(0, 0, 0, 0);
    content: "";
    position: absolute;
    left: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
}

.fl_btns:hover .tooltips {
    left: 60px;
    opacity: 1;
}

/* =========================================
   6. 모바일 반응형
========================================= */
@media all and (max-width: 1024px) {
    .a_sec1_hero {
        height: 350px;
    }

    .a_sec1_hero h1 {
        font-size: 60px;
    }
}

@media all and (max-width: 768px) {
    .a_sec1_hero {
        height: 250px;
    }

    .a_sec1_hero h1 {
        font-size: 40px;
    }

    #faq_con>ol>li>h3 {
        padding: 15px 40px 15px 35px;
    }

    #faq_con>ol>li>h3 .tit_bg {
        left: 5px;
        top: 15px;
        font-size: 16px;
        display: none;
    }

    #faq_con>ol>li>h3 .tit_btn {
        right: 10px;
    }

    #faq_con .con_inner {
        padding: 20px 20px 20px 35px;
        font-size: 14px;
    }
}