/* 공통 */
.contents{padding-bottom:100px;}
.contents *{word-break: keep-all;}
.point_txt {color: var(--main);font-weight: 600;}
.gray_txt {
    color: rgba(0, 0, 0, .6);
    font-size: 14px;
    font-weight: 300;
    line-height:1.2;
}

.info_sec {
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    border:1px solid #ccc;
}
.info_sec+.info_sec, #about {
    border-top: none;
}



.eng_label {
    font-size: 22px;
    font-weight: 800;
    color: var(--main);
    line-height: 1.2;
}

.sec_block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sec_block.gap_sm {
    gap: 15px;
}

.sec_tit {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
}


.sec_tit.underline {
    border-bottom: 1px solid #222;
    padding-bottom: 20px;
    text-decoration: none;
}

.sec_desc {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 400;
    line-height: 30px;
}

.bar_tit {
    border-left: 5px solid var(--main);
    padding-left: 10px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
}

.bar_tit.thin {
    border-left-width: 3px;
}

/* 탑배너 : 비주얼배너 */
.top_banner {
    background: var(--main);
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.top_banner_inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    position: relative;
}

.top_banner_txt {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.top_banner .top_banner_sub {
    font-size: 35px;
    font-weight: 800;
    color: #fff;
}

.top_banner h2 {
    font-size: 55px;
    font-weight: 800;
    color: #FDF8C5;
    margin-top: 5px;
}

.top_banner h2 span {color: #fff;}

.top_banner .top_banner_desc {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 400;
    color: #fff;
    line-height: 33px;
}

.top_banner_menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width:100%;
}

.top_banner_menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, .05);
    border-top: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    border-radius: 5px;
    padding: 15px 20px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 33px;
}

.top_banner_menu a b {color: #FDF8C5;}

.top_banner_menu a:hover {background: rgba(255, 255, 255, .14);}

.top_banner_img {
    width: 320px;
    height: 310px;
    object-fit: contain;
    flex: 0 0 320px;
}

.top_banner_download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: #fff;
    border-radius: 15px;
    padding: 15px 40px;
    box-shadow: 0 4px 2px rgba(12, 12, 13, .05), 0 16px 8px rgba(12, 12, 13, .1);
}

.top_banner_download p {
    font-size: 25px;
    font-weight: 800;
    color: var(--main);
}

.top_banner_download a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 250px;
    height: 46px;
    background: #222;
    color: #fff;
    border-radius: 10px;
    font-size: 22px;
    font-weight: 800;
}

.top_banner_download a img {
    width: 36px;
    height: 36px;
}

.top_banner_download a:hover {
    background: #000;
}

/* 퀵메뉴 */
.quick_menu {
    display: flex;
    border: 1px solid #ccc;
    border-top: 0;
}

.quick_menu a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 15px 10px;
    font-size: 18px;
    font-weight: 500;
    color: #222;
    text-align: center;
    border-left: 1px solid #ccc;
}

.quick_menu a:first-child {
    border-left: 0;
    background: var(--main_sub_bg);
    color: var(--main);
    font-weight: 800;
}

.quick_menu a:hover {
    background: var(--main_sub_bg);
}

/* 컨텐츠1 : 소방설비기사란 */
/* 소방설비기사란 */
.field_area {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

.field_card {
    flex: 1;
    background: #fff;
    border: 1px solid #ccc;
    border-top: 3px solid var(--main);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field_card.machine {
    border-top-color: var(--sub);
}

.field_card h4 {
    font-size: 22px;
    font-weight: 800;
}

.field_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 8px;
}

.field_list li {
    font-size: 18px;
    line-height: 25px;
    padding-left: 14px;
    position: relative;
}

.field_list li:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #222;
}

.twin_box {
    background: var(--main);
    border-radius: 10px;
    padding: 40px;
    color: #fff;
}

.twin_head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.twin_head strong {
    font-size: 30px;
    font-weight: 800;
}

.twin_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FEC762;
    color: #222;
    border-radius: 10px;
    padding: 10px 15px;
    font-size: 22px;
    font-weight: 600;
}

.twin_box p {
    font-size: 18px;
    line-height: 28px;
}

.twin_box p+p {
    font-weight: 600;
}

/* 직무별 진로 및 전망 */
.bonus_label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 40px;
    padding: 5px 20px;
    border-radius: 99px;
    background: var(--main_sub_bg);
    color: var(--main);
    font-size: 18px;
    font-weight: 600;
}

.bonus_list {
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, .1);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.bonus_list li {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0;
    padding: 27px 8px;
    border-right: 1px solid rgba(0, 0, 0, .1);
    min-height: 114px;
}

.bonus_list li:last-child {
    border-right: 0;
}

.bonus_list b {
    display: block;
    color: var(--main);
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
}

.bonus_list span {
    display: block;
    font-size: 16px;
    line-height:1.3;
    white-space: nowrap;
    padding-top:5px;
}

.bonus_group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tbl_wrap {
    overflow: hidden;
    border-radius: 10px;
}

.tbl_wrap.border_dark {
    border: 1px solid #111;
}

.tbl_wrap.border_orange {
    border: 1px solid var(--main);
}

.tbl_wrap.tbl_scroll {
    overflow: auto;
}

table.tbl {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

table.tbl th,
table.tbl td {
    font-weight: 400;
    text-align: center;
}

table.job_tbl {
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}
.job_tbl td{
    text-align: left !important;
}

.job_swipe {
    display: none;
}

table.job_tbl th,
table.job_tbl td {
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 16px 12px;
    font-size: 16px;
    line-height: 23px;
}

table.job_tbl tr:last-child td,
table.job_tbl tr:last-child th {
    border-bottom: 0;
}

table.job_tbl th:last-child,
table.job_tbl td:last-child {
    border-right: 0;
}

table.job_tbl thead th {
    background: rgba(0, 0, 0, .05);
    font-size: 18px;
    font-weight: 600;
    border-bottom: 1px solid #ccc;
    padding: 10px 8px;
}

table.job_tbl thead th:first-child {
    width: 120px;
}

table.job_tbl tbody th {
    width: 120px;
    font-size: 16px;
    font-weight: 600;
    background: #fff;
}

/* 자격증 로드맵 */
.roadmap {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    max-width: 100%;
}

.roadmap_item {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    padding: 30px 16px;
    font-weight: 600;
    height:100px;
}

.roadmap_item.bg_black,
.roadmap_item.bg_black b,
.roadmap_item.bg_black span,
.roadmap_item.bg_orange,
.roadmap_item.bg_orange b,
.roadmap_item.bg_orange span {
    color: #fff !important;
}

.roadmap_item b {
    display: block;
    font-size: 22px;
    font-weight: 600;
    line-height:1.3;
}

.roadmap_item span {
    display: block;
    font-size: 18px;
    line-height: 25px;
}

.roadmap_item.bg_black {
    background: #111;
}

.roadmap_item.bg_orange {
    background: var(--main);
}

.roadmap_arrow {
    width: 24px;
    height: 24px;
    min-width: 24px;
    align-self: center;
    flex: 0 0 24px;
    display: block;
    overflow: visible;
}

.roadmap_side {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roadmap_side span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--main);
    border-radius: 10px;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px;
    text-align: center;
}

/* 컨텐츠2 : 시험정보 */
/* 시험정보 */
table.exam_tbl th, table.exam_tbl td {
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    padding: 20px;
    font-size: 16px;
    line-height:1.5
}

table.exam_tbl thead th {
    background: var(--main);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 30px;
    border: 0;
    padding: 10px;
}

table.exam_tbl .col_side {
    background: var(--main_sub_bg);
    font-weight: 600;
    width: 100px;
}

table.exam_tbl .col_type {
    font-weight: 600;
    border-right: 1px solid #ccc;
}

table.exam_tbl .item_num {
    color: var(--main);
    font-size: 14px;
}

table.exam_tbl td.align_left {
    text-align: left;
    white-space: nowrap;
}

table.exam_tbl tr.line_orange > th,
table.exam_tbl tr.line_orange > td,
table.exam_tbl .line_orange {
    border-bottom: 1px solid var(--main);
}
.line_split {
    border-bottom:0 !important;
}

table.exam_tbl td.last_row {
    border-right: 0;
}
.exam_tbl thead{
    border-bottom:none;
}

.exam_mo {
    display: none;
}

/* CBT 모의고사 */
.cbt_text {
    margin-top: 10px;
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
}

.cbt_img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

/* 버튼 */
.line_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #222;
    border-radius: 10px;
    padding: 20px;
    font-size: 22px;
    font-weight: 800;
    line-height: 30px;
    background: #fff;
}

.line_btn:hover {
    background: #111;
    color: #fff;
}

.line_btn.sm {
    padding: 0 20px;
    height: 38px;
    font-size: 18px;
    border-radius: 10px;
}

/* 답안 작성법 */
.answer_list {
    border-top: 1px solid #ccc;
}

.answer_list li {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 30px;
    border-bottom: 1px solid #ccc;
}

.answer_list img {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
}

.answer_list strong {
    display: block;
    color: var(--main);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.answer_list ul {
    padding-left: 20px;
}

.answer_list li li {
    list-style: disc;
    display: list-item;
    padding: 0;
    border: 0;
    gap: 0;
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 5px;
}


/* 시험일정 */
.tit_row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}

.red_note {
    color: var(--main);
    font-size: 14px;
    font-weight: 600;
    text-align: right;
}

table.schedule_tbl {
    border-collapse: collapse;
    width: 100%;
}
thead{border-bottom:1px solid #111;}

table.schedule_tbl th,
table.schedule_tbl td {
    text-align: center;
    font-size: 16px;
    line-height: 25px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 10px 4px;
}

table.schedule_tbl .th_dark {
    background: #111;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-color: #111;
    width: 80px;
}

table.schedule_tbl .pilgi {
    background: var(--main);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-color: #111;
}

table.schedule_tbl .silgi {
    background: var(--sub);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-color: #111;
}

table.schedule_tbl .th_pilgi {
    background: var(--main_sub_bg);
    font-weight: 600;
    color: #222;
}

table.schedule_tbl .th_silgi {
    background: var(--sub_sub_bg);
    font-weight: 600;
    color: #222;
}

table.schedule_tbl tbody th {
    background: rgba(0, 0, 0, .03);
    font-weight: 600;
    border-right: 1px solid #111;
    border-bottom: 1px solid #ccc;
}

table.schedule_tbl td.col_split,
table.schedule_tbl th.col_split {
    border-right: 1px solid #111;
}

table.schedule_tbl tr:last-child th,
table.schedule_tbl tr:last-child td {
    border-bottom: 0;
}

table.schedule_tbl th:last-child,
table.schedule_tbl td:last-child {
    border-right: 0;
}

/* 원서접수 및 수수료 */
.apply_step {
    display: flex;
    list-style: none;
    padding-top: 0;
}

.apply_step li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.apply_step li:before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 100%;
    height: 1px;
    background: var(--main);
    transform: translateY(-50%);
}

.apply_step li:last-child:before {
    display: none;
}

.apply_step i {
    position: relative;
    z-index: 1;
    width: 12px;
    height: 12px;
    background: #fff url("/ee/lab/img/info5/ico_step.svg") center/12px 12px no-repeat;
}

.apply_step b {
    color: var(--main);
    font-size: 14px;
    font-weight: 400;
    line-height: 25px;
}

.apply_step span {
    font-size: 16px;
    line-height: 25px;
}

/* 수수료 */
.fee_area {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.fee_list {
    flex: 1;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px 20px;
}

.fee_list li {
    display: flex;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    line-height: 25px;
}

.fee_list li:last-child {
    border-bottom: 0;
}

.fee_price {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fee_card {
    flex: 1;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 35px;
    min-height: 110px;
}

.fee_card span {
    font-size: 20px;
}

.fee_card b {
    font-size: 30px;
    font-weight: 600;
}

.fee_card.pilgi {
    background: var(--main);
}

.fee_card.silgi {
    background: var(--sub);
}

/* 응시자격 */
.cond_box {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cond_row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.cond_name {
    width: 209px;
    flex: 0 0 209px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    padding: 20px;
}

.cond_name.bg_dark {
    background: #111;
}

.cond_name.bg_gray {
    background: #333;
}

.cond_name.bg_light {
    background: #555;
}

.cond_list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cond_list p {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    font-size: 16px;
}

.cond_note {
    background: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 16px;
}

.cond_note strong {
    font-weight: 600;
}

.cond_note li {
    display: flex;
    gap: 10px;
    line-height: 1.5;
}

/* 합격률 */
.pass_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 10px;
}

.pass_head .pass_source {
    color: #808080;
    font-size: 14px;
    font-weight: 300;
}

.pass_top {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.pass_avg {
    border: 1px solid #c6c6c8;
    border-radius: 10px;
    padding: 33px 27px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.pass_avg>p {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}

.pass_avg_row {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.pass_avg_col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.pass_avg_col+.pass_avg_col {
    padding-left: 20px;
}

.pass_avg_row .pass_avg_col:first-child {
    border-right: 1px solid #ccc;
    padding-right: 20px;
}

.pass_tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    height: 30px;
    padding: 0 20px;
    border-radius: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.pass_tag.pilgi {
    background: var(--main);
}

.pass_tag.silgi {
    background: var(--sub);
}

.pass_avg_col b {
    font-size: 30px;
    font-weight: 600;
    line-height: 30px;
    color: var(--main);
}

.pass_avg_col.silgi b {
    color: var(--sub);
}

.pass_avg_col small {
    display: block;
    color: #808080;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}

.pass_and {
    display: block;
}

.pass_board .job_arrow {
    display: none;
}

.pass_track {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.pass_chart {
    flex: 1 1 0;
    min-width: 0;
    border: 1px solid #c6c6c8;
    border-radius: 10px;
    padding: 28px 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.pass_chart_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding:0 12px;
}

.pass_chart_top p {
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
    white-space: nowrap;
}

.pass_legend {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.pass_legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #222;
}

.pass_legend i {
    width: 18px;
    height: 3px;
    border-radius: 2px;
    display: block;
}

.pass_legend .pilgi i {
    background: var(--main);
}

.pass_legend .silgi i {
    background: var(--sub);
}


.pass_avg {
    flex: 0 0 auto;
}

.pass_chart_box {
    position: relative;
    width: 100%;
    height: 240px;
    min-width: 0;
    flex: 0 0 240px;
}

.pass_chart_box canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 106% !important;
    height: 100% !important;
}

table.schedule_tbl {
    width: 100%;
    table-layout: fixed;
}

.pass_table_tit {
    font-size: 18px;
    font-weight: 600;
    padding: 20px 0 10px;
}

/* 컨텐츠3 : 학습전략 */
.study_list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.study_list.col_3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.bar_tit+.study_list {
    margin-top: 20px;
}

.study_card {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.study_tit {
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.study_tit b {
    color: var(--main);
    font-size: 18px;
    font-weight: 600;
}

.study_tit span {
    color: #808080;
    font-size: 16px;
    font-weight: 600;
}

.study_card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.study_card li {
    display: flex;
    gap: 5px;
    font-size: 16px;
    line-height: 25px;
}

.study_card li i {
    font-style: normal;
    font-weight: 300;
    flex: 0 0 auto;
}

/* 컨텐츠4 : 합격 커리큘럼 */
.curri {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.curri_row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.curri_side {
    width: 58px;
    flex: 0 0 58px;
    border-radius: 10px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.curri_side.pilgi {
    background: var(--main);
}

.curri_side.silgi {
    background: var(--sub);
}

.curri_items {
    flex: 1;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.curri_card {
    flex: 1;
    min-width: 0;
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, .05);
    display: flex;
    flex-direction: column;
}

.curri_card h4 {
    background: #eee;
    margin: 0;
    padding: 10px 6px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

.curri_card .curri_body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px 8px;
    text-align: center;
    font-size: 16px;
    line-height: 25px;
}

.curri_tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fdefea;
    color: red;
    border-radius: 99px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    margin-top: auto;
}

/* 컨텐츠5 : 합격가이드 */
.prof_tab {
    display: flex;
    gap: 40px;
}

.prof_tab button {
    flex: 1;
    border: 1px solid #111;
    background: #fff;
    color: #222;
    border-radius: 99px;
    padding: 20px;
    font-size: 22px;
    font-weight: 800;
    line-height: 30px;
    cursor: pointer;
    font-family: inherit;
}

.prof_tab button.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.prof_list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.prof_card {
    border: 1px solid #ccc;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    min-height: 372px;
    scroll-margin-top: 90px;
}

.prof_photo {
    width: 309px;
    flex: 0 0 309px;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

.prof_photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 12%;
    position: absolute;
    inset: 0;
}

.prof_body {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.prof_title {
    border-bottom: 1px solid #111;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.prof_title em {
    font-style: normal;
    font-size: 22px;
    font-weight: 600;
    color: var(--main);
}

.prof_card.machine .prof_title em {
    color: var(--sub);
}

.prof_title strong {
    font-size: 30px;
    font-weight: 800;
}

.prof_title strong span {
    font-weight: 600;
}

.prof_quote {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
    line-height: 1.45;
}

.prof_quote .quote {
    color: var(--main);
    font-weight: 500;
    font-size: 22px;
}

.prof_card.machine .prof_quote .quote {
    color: var(--sub);
}

.goods_wrap {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.goods_wrap .goods_name {
    background: #111;
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    flex: 0 0 auto;
}

.goods_item {
    flex: 1;
    border: 1px solid var(--main);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.prof_card.machine .goods_item {
    border-color: var(--sub);
}

.goods_item b {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 62px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.goods_item em {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    background: var(--main);
    color: #fff;
    font-style: normal;
    font-size: 18px;
    font-weight: 600;
}

.prof_card.machine .goods_item em {
    background: var(--sub);
}

.foot_note {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 300;
    color: rgba(0, 0, 0, .6);
    line-height: 1.4;
}

/* 반응형 1100px */
@media (max-width:1100px) {
    /* 공통 */
    .sub-wrap .sub-body .content{
        padding:0;
    }

    /* 탑배너 : 비주얼배너 */
    .top_banner {
        padding: 40px 24px;
    }

    .top_banner h2 {
        font-size: 42px;
    }

    .top_banner_img {
        width: 220px;
        height: 210px;
        flex-basis: 220px;
    }

    /* 공통 */
    .info_sec {
        padding: 64px 24px;
    }

    /* 원서접수 및 수수료 */

    .fee_price {
        width: 220px;
    }

    /* 컨텐츠5 : 합격가이드 */
    .prof_photo {
        width: 220px;
        flex-basis: 220px;
    }

    .prof_body {
        padding: 24px;
    }
}
.mo{display:none;}
.pc{display:block;}

/* 반응형 820px 모바일 */
@media (max-width:820px) {
    .foot_note{font-size:12px;}
    /* 공통 */
    .mo{display:block;}
    .pc{display:none;}
    .flex_dir{flex-direction: column;}

    /* 탑배너 */
    .top_banner_inner{
        display:block;
    }

    .top_banner_download {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .top_banner_download a {
        width: 100%;
    }

    /* 퀵메뉴 */
    .quick_menu {
        overflow-x: auto;
    }

    .quick_menu a {
        min-width: 110px;
        font-size: 15px;
        padding: 12px 8px;
    }

    /* 공통 */
    .info_sec {
        padding: 48px 16px;
        gap: 36px;
    }

    .sec_tit {
        font-size: 24px;
    }

    /* 컨텐츠3 : 학습전략 / 컨텐츠4 : 합격 커리큘럼 */
    .study_list,
    .study_list.col_3,
    .curri_items {
        display: flex;
        flex-direction: column;
    }

    .curri_side {
        width: 100%;
        flex-basis: auto;
        padding: 12px;
    }

    .fee_price,
    .cond_name,
    .prof_photo {
        width: 100%;
        flex-basis: auto;
    }

    .prof_photo {
        height: 280px;
    }

    /* 답안 작성법 */
    .answer_list {
        border-top: 0;
    }

    .answer_list > li {
        display: block;
        padding: 0 0 20px;
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
    }

    .answer_list > li:last-child {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .answer_list img {
        display: none;
    }

    .answer_list strong {
        display: inline;
        margin-bottom: 0;
        padding: 2px 4px;
        background: #FDF8C5;
        font-size: 16px;
        line-height: 1.6;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .answer_list ul {
        padding-left: 18px;
        margin: 10px 0 0;
    }

    .answer_body li::after {
        content: none;
    }

    /* 시험일정 */
    .red_note {text-align: left;}
    .tit_row{align-items:flex-start;}


    /* 컨텐츠5 : 합격가이드 */
    .prof_tab {
        gap: 10px;
    }

    .prof_tab button {
        font-size: 16px;
        padding: 14px 8px;
    }

    /* 컨텐츠1 : 직무별 진로 및 전망 */
    .bonus_list {
        border: 0;
        gap: 8px;
    }

    .bonus_list li,
    .bonus_list li:last-child {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        min-height: 0;
        padding: 16px 18px;
        text-align: left;
        border: 1px solid #e6e6e6;
        border-radius: 8px;
    }

    .bonus_list span {
        order: 1;
        flex: 1;
        padding-top: 0;
        white-space: normal;
        font-size: 15px;
        line-height: 1.4;
        color: #222;
    }

    .bonus_list b {
        order: 2;
        flex: 0 0 auto;
        font-size: 20px;
        line-height: 1.2;
    }

    /* 탑배너 : 비주얼배너 */
    .top_banner {
        padding: 28px 16px;
        gap: 24px;
    }

    .top_banner .top_banner_sub {
        font-size: 22px;
    }

    .top_banner h2 {
        font-size: 32px;
    }

    .top_banner .top_banner_desc,
    .sec_desc,
    .cbt_text {
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
    }

    .top_banner_txt,
    .top_banner_menu {
        gap: 16px;
    }

    .top_banner_menu a {
        font-size: 16px;
        line-height: 1.4;
        padding: 12px 16px;
    }

    .top_banner_download p {
        font-size: 18px;
        text-align: center;
    }

    .top_banner_download a {
        font-size: 16px;
    }

    /* 공통 */
    .eng_label {
        font-size: 16px;
    }

    .bar_tit {
        font-size: 18px;
    }

    /* 버튼 */
    .line_btn {
        font-size: 18px;
        padding: 14px;
    }

    /* 컨텐츠1 : 소방설비기사란 */
    .twin_box {
        padding: 24px 16px;
    }

    .twin_head {
        flex-wrap: wrap;
        gap: 10px;
    }

    .twin_head strong {
        font-size: 22px;
    }

    .twin_badge {
        font-size: 16px;
        padding: 8px 12px;
    }

    .twin_box p,
    .field_list li {
        font-size: 16px;
        line-height: 1.45;
    }

    /* 자격증 로드맵 */
    .roadmap {
        padding: 16px;
        align-items: stretch;
    }

    .roadmap_arrow {
        transform: rotate(90deg);
    }

    .roadmap_item {
        padding: 16px 12px;
    }

    .roadmap_item b {
        font-size: 18px;
    }

    .roadmap_item span,
    .roadmap_side span {
        font-size: 16px;
    }

    /* 표 공통 */
    .tbl_wrap.tbl_scroll {
        -webkit-overflow-scrolling: touch;
    }

    table.exam_tbl,
    table.schedule_tbl,
    table.job_tbl {
        min-width: 680px;
    }

    table.exam_tbl th,
    table.exam_tbl td,
    table.schedule_tbl th,
    table.schedule_tbl td,
    table.job_tbl th,
    table.job_tbl td {
        font-size: 14px;
        line-height: 1.4;
    }

    table.exam_tbl td.align_left {
        padding: 10px 12px;
    }

    /* 원서접수 및 수수료 */
    .apply_step {
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .apply_step li {
        min-width: 72px;
    }

    .apply_step b,
    .apply_step span {
        font-size: 12px;
        line-height: 1.3;
    }

    .fee_price {
        flex-direction: row;
    }

    .fee_card {
        min-height: 88px;
    }

    .fee_card span {
        font-size: 16px;
    }

    .fee_card b {
        font-size: 24px;
    }

    /* 응시자격 */
    .tit_row2{align-items:center;}
    .line_btn.sm{font-size:16px;}
    .cond_name {
        min-height: 56px;
        font-size: 18px;
        padding: 14px;
    }

    .cond_list p,
    .answer_list li li {
        font-size: 15px;
        line-height: 1.45;
    }

    /* 합격률 */
    .pass_board {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .pass_board .job_arrow {
        display: block;
    }

    .pass_track {
        flex: 1;
        min-width: 0;
        flex-direction: row;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    .pass_track::-webkit-scrollbar {
        display: none;
    }

    .pass_card {
        flex: 0 0 100%;
        min-width: 0;
        scroll-snap-align: start;
    }

    .pass_head {
        background: #ececec;
        border-radius: 8px;
        padding: 14px 16px;
        margin-bottom: 12px;
    }

    .pass_head .bar_tit {
        border-left: 0;
        padding-left: 0;
        font-size: 16px;
    }

    .pass_source {
        display: none;
    }

    .pass_chart {
        order: -1;
        flex: 0 0 auto;
        width: 100%;
        min-height: 280px;
        overflow: visible;
        padding: 16px 12px 8px;
    }

    .pass_chart_box {
        height: 220px;
        min-height: 220px;
        flex: 0 0 220px;
    }

    .pass_avg {
        border: 0;
        padding: 0;
        align-items: stretch;
        gap: 10px;
    }

    .pass_avg > p,
    .pass_tag,
    .pass_table_tit,
    .pass_table {
        display: none;
    }

    .pass_avg_row {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 0;
    }

    .pass_avg_row .pass_avg_col:first-child,
    .pass_avg_col + .pass_avg_col {
        border: 0;
        padding: 16px;
    }

    .pass_avg_col {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 4px 12px;
        text-align: left;
        background: #f3f4f6;
        border-radius: 12px;
    }

    .pass_avg_col::before {
        content: "5개년 평균 필기 합격률";
        flex: 1 1 100%;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
        color: #222;
    }

    .pass_avg_col.silgi {
        background: #1c1c1e;
    }

    .pass_avg_col.silgi::before {
        content: "5개년 평균 실기 합격률";
        color: #fff;
    }

    .pass_avg_col b{
        font-size: 28px;
        line-height: 1.2;
        color: var(--main);
    }

    .pass_avg_col.silgi b{
        color:#fff;
    }
    .pass_avg_col small {
        margin-left: auto;
        text-align: right;
        font-size: 13px;
        line-height: 1.4;
        color: #666;
    }

    .pass_avg_col.silgi small {
        color: #fff;
    }

    .pass_and {
        display: inline;
    }

    .pass_and:before {
        content: " · ";
    }

    /* 컨텐츠4 : 합격 커리큘럼 */
    .curri_side {
        min-height: 48px;
    }

    /* 컨텐츠3 : 학습전략 */
    .study_card {
        padding: 16px;
        gap: 12px;
    }

    /* 컨텐츠5 : 합격가이드 */
    .prof_tab {
        display: none;
    }

    .prof_list {
        gap: 32px;
    }

    .prof_list > div {
        display: grid;
        grid-template-columns: 96px 1fr;
        column-gap: 14px;
        row-gap: 6px;
        align-items: start;
        background:#fff;
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }

    .prof_card,
    .prof_body {
        display: contents;
    }

    .prof_photo {
        grid-column: 1;
        grid-row: 1 / span 2;
        width: 96px;
        height: 120px;
        flex: 0 0 96px;
    }

    .prof_title {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        border-bottom: 0;
        padding: 0;
        gap: 4px;
    }

    .prof_title em {
        font-size: 17px;
        line-height: 1.35;
    }

    .prof_title strong {
        font-size: 20px;
        line-height: 1.3;
    }
    .foot_note {margin: 0;}

    .prof_quote {
        display: none;
    }

    .goods_wrap {
        grid-column: 1 / -1;
        grid-row: 3;
        gap: 8px;
        margin-top: 10px;
    }

    .goods_wrap .goods_name {
        min-height: 44px;
        border-radius: 8px;
    }

    .goods_item {
        border: 1px solid var(--main);
        border-radius: 8px;
        background: #fff;
        flex: 1;
    }

    .prof_card.machine .goods_item {
        border-color: var(--sub);
    }

    .goods_item b {
        height: 48px;
        color: #111;
        font-size: 16px;
    }

    .goods_item em {
        height: 36px;
        background: var(--main);
        color: #fff;
        font-size: 15px;
    }

    .prof_card.machine .goods_item em {
        background: var(--sub);
        color: #fff;
    }

    /* 컨텐츠1 : 직무별 진로 및 전망 */
    .bonus_group .tbl_scroll {
        display: none;
    }

    .job_swipe {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .job_arrow {
        flex: 0 0 28px;
        width: 28px;
        height: 44px;
        border: 0;
        background: transparent;
        color: #c8c8c8;
        padding: 0;
        cursor: pointer;
    }

    .job_track {
        flex: 1;
        min-width: 0;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        gap:10px;
    }

    .job_track::-webkit-scrollbar {
        display: none;
    }

    .job_card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        background: #fff;
        border-radius: 16px;
        padding: 22px 18px;
        background: #f5f5f5;
        border: 1px solid #ccc;
    }

    .job_card h4 {
        margin: 0 0 6px;
        font-size: 18px;
        font-weight: 800;
        line-height: 1.3;
    }

    .job_field {
        margin: 0 0 14px;
        color: #808080;
        font-size: 14px;
        line-height: 1.4;
    }

    .job_card ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .job_card li {
        position: relative;
        padding-left: 22px;
        font-size: 15px;
        line-height: 1.45;
    }

    .job_card li:before {
        content: "✓";
        position: absolute;
        left: 0;
        top: 0;
        font-weight: 700;
    }

    /* 시험일정 */
    .schedule_pc {
        display: none;
    }

    .plan_card {
        flex: 0 0 100%;
        scroll-snap-align: start;
        box-sizing: border-box;
        background: #fff;
        border: 1px solid #ccc;
        border-radius: 10px;
        overflow: hidden;
    }

    .plan_card h4 {
        margin: 0;
        padding: 12px 16px;
        background: #111;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
    }

    .plan_block {
        padding: 12px;
    }

    .plan_block + .plan_block {
        border-top: 1px solid #eee;
    }

    .plan_block p {
        display: flex;
        align-items: center;
        min-height: 32px;
        margin: 0 0 8px;
        padding: 0 10px;
        border-radius: 6px;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.3;
    }

    .plan_block p.pilgi {
        background: var(--main);
    }

    .plan_block p.silgi {
        background: var(--sub);
    }

    .plan_block dl {
        margin: 0;
    }

    .plan_block dl div {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 4px;
        padding: 8px 10px;
        border-radius: 6px;
    }

    .plan_block:has(p.pilgi) dl div {
        background: var(--main_sub_bg);
    }

    .plan_block:has(p.silgi) dl div {
        background: var(--sub_sub_bg);
    }

    .plan_block dt {
        flex: 0 0 auto;
        color: #666;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.4;
    }

    .plan_block dd {
        margin: 0;
        text-align: right;
        color: #111;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.4;
    }

    /* 시험정보 */
    .exam_pc {
        display: none;
    }

    .exam_mo {
        display: block;
    }

    .exam_mo_tbl {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin-bottom: 28px;
        border: 1px solid var(--main);
        border-radius: 10px;
        overflow: hidden;
    }

    .exam_mo_tbl th,
    .exam_mo_tbl td {
        border-bottom: 1px solid #ccc;
        border-right: 1px solid #ccc;
        padding: 14px 8px;
        text-align: center;
        font-size: 14px;
        font-weight: 500;
        line-height: 1.45;
        background: #fff;
        color: #222;
    }


    .exam_mo_tbl thead th:nth-child(1),
    .exam_mo_tbl thead th:nth-child(2) {
        width: 20%;
    }

    .exam_mo_tbl thead th {
        background: var(--main);
        color: #fff;
        border: 0;
        font-size: 15px;
        font-weight: 600;
        padding: 12px 8px;
    }

    .exam_mo_tbl tbody th {
        font-weight: 600;
        background: var(--main_sub_bg);
    }

    .exam_mo_tbl td {
        text-align: left;
        padding-left: 10px;
        background: #fff;
    }

    .exam_mo_tbl tr:last-child th,
    .exam_mo_tbl tr:last-child td {
        border-bottom: 0;
    }

    .exam_mo_tbl th:last-child,
    .exam_mo_tbl td:last-child {
        border-right: 0;
    }

    .exam_mo_split th,
    .exam_mo_split td {
        border-top: 1px solid var(--main);
    }

    .exam_extra {
        margin-top: 22px;
    }

    .exam_extra_tit {
        display: flex;
        align-items: center;
        min-height: 36px;
        padding: 0 14px;
        border-radius: 8px;
        background: var(--main);
        color: #fff;
        font-weight: 600;
        line-height: 1;
    }

    .exam_extra ul {
        margin: 12px 0 0;
        padding-left: 18px;
    }

    .exam_extra li {
        list-style: disc;
        font-size: 16px;
        line-height: 1.5;
        margin-top: 8px;
    }

    .exam_extra li b {
        color: var(--main);
        font-weight: 600;
    }

    .exam_extra_note {
        padding-left:18px;
        color: rgba(0, 0, 0, .6);
        font-size: 13px;
        line-height: 1.45;
    }
    .goods_wrap .goods_name{
        display: none;
    }
}