* { box-sizing: border-box; }
body{
    margin: 0;
    font-family: 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;
    color: #333;
    background-color: #fff;
}
a{ text-decoration: none; color: inherit; }

/* 공통 헤더 (안내문 / FAQ 페이지 공용) */
.ntc_header,
.faq_header{
    display: flex;
    align-items: center;
    padding: 16px 40px;
    border-bottom: 1px solid #eee;
}
.ntc_header img,
.faq_header img{
    height: 20px;
    width: auto;
}

/* ===================== 안내문 (index.html) ===================== */
.ntc_wrap{
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 20px 100px 20px;
}

.ntc_badge{
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 14px;
    background-color: #d20d1a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 20px;
}
.ntc_title{
    margin: 0 0 30px 0;
    font-size: 24px;
    font-weight: 700;
    color: #111;
    line-height: 1.4;
}

.ntc_intro{
    margin-bottom: 40px;
    padding: 20px 22px;
    background-color: #f8f8f8;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.ntc_intro .ntc_note{
    display: block;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #ddd;
    color: #888;
    font-size: 13px;
}

.ntc_section{
    margin-bottom: 40px;
}
.ntc_section h3{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px 0;
    padding-bottom: 12px;
    border-bottom: 2px solid #222;
    font-size: 17px;
    font-weight: 700;
    color: #111;
}
.ntc_section h3 .num{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    font-size: 13px;
}
.ntc_section p{
    margin: 0;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
    white-space: pre-line;
}
.ntc_section ul{
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.ntc_section ul li{
    margin-bottom: 6px;
}
.ntc_section .ntc_meta{
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 1.8;
    color: #444;
}
.ntc_section .ntc_meta strong{
    display: inline-block;
    min-width: 90px;
    color: #111;
}

.ntc_contact{
    margin-bottom: 50px;
    padding: 30px 26px;
    background-color: #222;
    border-radius: 6px;
    text-align: center;
}
.ntc_contact p{
    margin: 0 0 16px 0;
    color: #ccc;
    font-size: 13px;
}
.ntc_btn_row{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ntc_btn{
    display: block;
    width: 100%;
    padding: 14px 22px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 700;
    color: #222;
    background-color: #fff;
    text-align: center;
    cursor: pointer;
}
#btn_add_inquiry{
    border: 1px solid #ddd;
}
.ntc_btn.outline{
    color: #fff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.ntc_form{
    margin-bottom: 50px;
}
.ntc_form_row{
    margin-bottom: 20px;
}
.ntc_form_row label{
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #111;
}
.ntc_form_row input,
.ntc_form_row select,
.ntc_form_row textarea{
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.ntc_form_row textarea{
    resize: vertical;
    line-height: 1.6;
}
.ntc_field_err{
    display: none;
    margin-top: 6px;
    font-size: 12px;
    color: #d20d1a;
}
.ntc_field_err.show{
    display: block;
}
.ntc_form_hint{
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
    line-height: 1.5;
}
.ntc_form_row input:focus,
.ntc_form_row select:focus,
.ntc_form_row textarea:focus{
    outline: none;
    border-color: #222;
}
.ntc_submit_btn{
    width: 100%;
    padding: 15px;
    background-color: #d20d1a;
    border: none;
    cursor: pointer;
    color: #fff;
}

.ntc_lookup_form{
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
}
.ntc_lookup_form input{
    flex: 1;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.ntc_lookup_form input:focus{
    outline: none;
    border-color: #222;
}
.ntc_lookup_btn{
    flex-shrink: 0;
    width: auto;
    background-color: #222;
    color: #fff;
    cursor: pointer;
    border: none;
}

.ntc_list{
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
    border-top: 2px solid #222;
}
.ntc_list_item{
    padding: 18px 4px;
    border-bottom: 1px solid #e5e5e5;
    cursor: pointer;
}
.ntc_list_item:hover{
    background-color: #f8f8f8;
}
.ntc_list_top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}
.ntc_type_badge{
    display: inline-block;
    padding: 4px 10px;
    background-color: #f0f0f0;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
}
.ntc_status_badge{
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    color: #fff;
    background-color: #999;
}
.ntc_status_badge.wait{
    background-color: #999;
}
.ntc_status_badge.done{
    background-color: #189b51;
}
.ntc_list_content{
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.ntc_list_date{
    font-size: 12px;
    color: #999;
}

.ntc_modal_dimd{
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    display: none;
}
.ntc_modal{
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 340px;
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    z-index: 999;
    display: none;
}
.ntc_modal_head{
    padding: 18px 20px;
    background-color: #222;
}
.ntc_modal_head h4{
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.ntc_modal_body{
    padding: 24px 20px;
}
.ntc_modal_body p{
    margin: 0 0 14px 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}
.ntc_modal_body input{
    box-sizing: border-box;
    width: 100%;
    padding: 12px 14px;
    font-size: 16px;
    letter-spacing: 4px;
    text-align: center;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.ntc_modal_body input:focus{
    outline: none;
    border-color: #222;
}
.ntc_modal_foot{
    display: flex;
    gap: 8px;
    padding: 0 20px 20px;
}
.ntc_modal_foot button{
    flex: 1;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.ntc_modal_foot .ntc_modal_cancel{
    background-color: #f0f0f0;
    color: #555;
}
.ntc_modal_foot .ntc_modal_confirm{
    background-color: #d20d1a;
    color: #fff;
}

.ntc_back_link{
    display: block;
    margin-bottom: 20px;
    font-size: 13px;
    color: #888;
}

.ntc_detail_meta{
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}
.ntc_detail_meta dl{
    margin: 0;
}
.ntc_detail_meta dt{
    margin-bottom: 4px;
    font-size: 12px;
    color: #999;
}
.ntc_detail_meta dd{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.ntc_qa_block{
    margin-bottom: 20px;
    padding: 20px 22px;
    background-color: #f8f8f8;
    border-radius: 6px;
}
.ntc_qa_block.a{
    background-color: #fff;
    border: 1px solid #eee;
}
.ntc_qa_label{
    display: inline-block;
    margin-bottom: 10px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: #222;
    border-radius: 4px;
}
.ntc_qa_label.a{
    background-color: #d20d1a;
}
.ntc_qa_block p{
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    white-space: pre-line;
}
.ntc_qa_block textarea{
    box-sizing: border-box;
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 14px;
    font-family: inherit;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    resize: vertical;
}
.ntc_qa_date{
    display: block;
    margin-top: 12px;
    font-size: 12px;
    color: #999;
}

.ntc_closing{
    padding-top: 30px;
    border-top: 1px solid #e5e5e5;
    font-size: 14px;
    line-height: 1.9;
    color: #555;
    text-align: center;
    word-break: keep-all;
}
.ntc_sign{
    margin-top: 24px;
    font-size: 14px;
    color: #333;
    text-align: right;
}
.ntc_sign strong{
    font-size: 16px;
}

@media (max-width: 600px){
    .ntc_header{ padding: 16px 20px; }
    .ntc_wrap{ padding: 40px 16px 80px 16px; }
    .ntc_title{ font-size: 19px; }
}

/* ===================== FAQ (faq.html) ===================== */
.faq_wrap{
    max-width: 500px;
    margin: 0 auto;
    padding: 60px 20px 100px 20px;
}
.faq_title{
    text-align: center;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
    color: #111;
}
.faq_subtitle{
    text-align: center;
    margin-bottom: 40px;
    font-size: 15px;
    color: #888;
}

.faq_notice_box{
    background-color: #f8f8f8;
    border-left: 4px solid #d20d1a;
    padding: 18px 20px;
    margin-bottom: 40px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.faq_list{
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 2px solid #222;
}
.faq_item{
    border-bottom: 1px solid #e5e5e5;
}
.faq_question{
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 20px 4px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}
.faq_question .q_mark{
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #222;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.faq_question .q_text{
    flex: 1;
}
.faq_question .q_arrow{
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(45deg);
    transition: transform .2s ease-in-out;
}
.faq_item.on .faq_question .q_arrow{
    transform: rotate(-135deg);
}
.faq_item.on .faq_question{
    color: #d20d1a;
}
.faq_item.on .faq_question .q_mark{
    background-color: #d20d1a;
}

.faq_answer{
    display: none;
    padding: 4px 4px 26px 44px;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    white-space: pre-line;
}
.faq_item.on .faq_answer{
    display: block;
}

.faq_contact{
    margin-top: 50px;
    padding: 30px;
    background-color: #222;
    border-radius: 6px;
    text-align: center;
}
.faq_contact p{
    margin: 0 0 16px 0;
    color: #ccc;
    font-size: 13px;
}

@media (max-width: 600px){
    .faq_header{ padding: 16px 20px; }
    .faq_wrap{ padding: 40px 16px 80px 16px; }
    .faq_title{ font-size: 22px; }
    .faq_question{ font-size: 14px; }
    .faq_answer{ padding-left: 40px; }
}
