@import url("base.css");
@import url("header.css");
@import url("footer.css");


/* ==============================
    Layout
============================== */
#sContainer {
    position: relative;
    margin-bottom: 200px;
}


/* ==============================
    Sub Visual
============================== */
.sub_visual {
    width: 100%;
    margin-bottom: 50px;
    padding: 0;
}

.sub_visual_bg {
    position: relative;
    width: 100%;
    height: 620px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: url('/img/sub/bg_01.png') center center / cover no-repeat;
}

.sub_visual_bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(0, 0, 0, 0.48);
}

.sub_visual_inner {
    max-width: 1520px;
    width: calc(100% - 40px);
    margin: 0 auto;
}

.sub_visual_text {
    position: relative;
    z-index: 2;

    text-align: center;
    color: #fff;
}

.sub_visual_text .plus {
    font-family: 'Pretendard_SB';
    font-size: 40px;
    line-height: 1;
}

.sub_visual_text h2 {
    margin: 10px 0;

    font-family: 'Pretendard_SB';
    font-size: 48px;
}

.sub_visual_text p {
    margin: 0;

    font-size: 20px;
    color: #eee;
}


/* ==============================
    Sub Title
============================== */
.sub_title {
    margin-bottom: 80px;
    text-align: center;
}

.sub_title span {
    display: block;
    margin-bottom: 16px;

    font-size: 16px;
    font-weight: 700;
    color: #1459aa;
    letter-spacing: 0.16em;
}

.sub_title h2 {
    margin-bottom: 24px;

    font-size: 48px;
    font-weight: 800;
    color: #111;
}

.sub_title p {
    font-size: 22px;
    line-height: 1.6;
    color: #444;
}


.certificate_container {
    width: 100%;
    background: #fff;
}

.certificate_inner {
    max-width: 1520px;
    width: calc(100% - 40px);
    margin: 0 auto;
    /* padding: 100px 0 140px; */
}
.cert_intro {
    padding: 60px 70px;
    border-radius: 28px;
    background: #f5f8fc;
    margin-bottom: 80px;
}

.cert_intro h3 {
    font-size: 38px;
    font-weight: 800;
    color: #111;
    margin-bottom: 24px;
}

.cert_intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.call_info {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin: 32px 0 18px;
    padding: 18px 32px;
    border-radius: 50px;
    background: #1459aa;
    color: #fff;
}

.call_info span {
    font-size: 17px;
    font-weight: 600;
}

.call_info strong {
    font-size: 28px;
    font-weight: 900;
}

.notice {
    color: #1459aa !important;
    font-weight: 700;
}

.cert_section {
    margin-bottom: 80px;
}

.section_title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.section_title span {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #1459aa;
    color: #fff;
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section_title h3 {
    font-size: 32px;
    font-weight: 800;
    color: #111;
}

.process_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process_list li {
    position: relative;
    min-height: 170px;
    padding: 36px 30px;
    border-radius: 22px;
    border: 1px solid #e4e8ef;
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.04);
}

.process_list li::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid #1459aa;
    border-right: 2px solid #1459aa;
    transform: translateY(-50%) rotate(45deg);
}

.process_list li:last-child::after {
    display: none;
}

.process_list span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #1459aa;
    margin-bottom: 22px;
}

.process_list strong {
    display: block;
    font-size: 24px;
    font-weight: 800;
    color: #111;
}

.table_wrap {
    width: 100%;
    overflow-x: auto;
}

.cert_table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #111;
    table-layout: fixed;
}

.cert_table caption {
    display: none;
}

.cert_table th,
.cert_table td {
    padding: 22px 24px;
    border-bottom: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    word-break: keep-all;
}

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

.cert_table thead th {
    background: #1459aa;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
}

.cert_table tbody th {
    background: #f7f9fc;
    color: #111;
    font-weight: 800;
    text-align: center;
    vertical-align: middle;
}

.cert_table td {
    background: #fff;
}

.table_notice {
    margin-top: 18px;
    font-size: 16px;
    color: #666;
}

.text_box {
    padding: 36px 42px;
    border-radius: 22px;
    background: #f7f9fc;
}

.text_box p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.text_box p + p {
    margin-top: 14px;
}

.dot_list {
    padding: 38px 44px;
    border-radius: 22px;
    border: 1px solid #e4e8ef;
    background: #fff;
}

.dot_list li {
    position: relative;
    padding-left: 18px;
    font-size: 18px;
    line-height: 1.8;
    color: #555;
}

.dot_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 15px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #1459aa;
}

.download_area {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    padding: 42px;
    border-radius: 24px;
    background: #111;
}

.download_btn {
    min-width: 120px;
    height: 40px;
    padding: 0 10px;
    border-radius: 20px; 
    background: #1459aa;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 5px 0;
}


/* ==============================
   Responsive - Certificate Page
============================== */

/* 1600px 이하 */
@media (max-width: 1600px) {
    .certificate_inner {
        width: calc(100% - 60px);
        max-width: 1520px;
    }

    .cert_intro {
        padding: 55px 60px;
    }

    .cert_table th,
    .cert_table td {
        padding: 20px 22px;
        font-size: 16.5px;
    }

    .process_list li {
        padding: 32px 26px;
    }
}


/* 1280px 이하 */
@media (max-width: 1280px) {
    #sContainer {
        margin-bottom: 140px;
    }

    .sub_visual_bg {
        height: 520px;
    }

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

    .sub_visual_text p {
        font-size: 18px;
    }

    .sub_title {
        margin-bottom: 60px;
    }

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

    .sub_title p {
        font-size: 20px;
    }

    .cert_intro {
        padding: 50px;
        margin-bottom: 70px;
    }

    .cert_intro h3 {
        font-size: 34px;
    }

    .cert_intro p {
        font-size: 17px;
    }

    .section_title h3 {
        font-size: 29px;
    }

    .process_list {
        gap: 18px;
    }

    .process_list li {
        min-height: 155px;
        padding: 30px 24px;
    }

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

    .cert_table th,
    .cert_table td {
        padding: 18px 20px;
        font-size: 16px;
    }

    .text_box {
        padding: 32px 36px;
    }

    .text_box p,
    .dot_list li {
        font-size: 17px;
    }
}


/* 1024px 이하 - 태블릿 */
@media (max-width: 1024px) {
    .certificate_inner {
        width: calc(100% - 40px);
    }

    .cert_intro {
        padding: 42px 36px;
        border-radius: 24px;
    }

    .cert_intro h3 {
        font-size: 30px;
    }

    .call_info {
        padding: 16px 28px;
    }

    .call_info strong {
        font-size: 25px;
    }

    .cert_section {
        margin-bottom: 65px;
    }

    .process_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .process_list li::after {
        display: none;
    }

    .process_list li {
        min-height: 145px;
    }

    .table_wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }

    .table_wrap::-webkit-scrollbar {
        height: 6px;
    }

    .table_wrap::-webkit-scrollbar-thumb {
        background: #1459aa;
        border-radius: 10px;
    }

    .table_wrap::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .cert_table {
        min-width: 900px;
    }

    .cert_table th,
    .cert_table td {
        padding: 16px 18px;
        font-size: 15.5px;
    }

    .download_btn {
        min-width: 105px;
        height: 38px;
        font-size: 14px;
    }

    .text_box {
        padding: 30px 32px;
    }

    .dot_list {
        padding: 32px 36px;
    }
}


/* 768px 이하 - 모바일 */
@media (max-width: 768px) {
    #sContainer {
        margin-bottom: 100px;
    }

    .sub_visual {
        margin-bottom: 40px;
    }

    .sub_visual_bg {
        height: 360px;
    }

    .sub_visual_text .plus {
        font-size: 28px;
    }

    .sub_visual_text h2 {
        font-size: 34px;
    }

    .sub_visual_text p {
        font-size: 16px;
        line-height: 1.5;
    }

    .sub_visual_text p br {
        display: none;
    }

    .sub_title {
        margin-bottom: 45px;
    }

    .sub_title span {
        margin-bottom: 12px;
        font-size: 13px;
        letter-spacing: 0.12em;
    }

    .sub_title h2 {
        margin-bottom: 18px;
        font-size: 34px;
    }

    .sub_title p {
        font-size: 17px;
        line-height: 1.55;
    }

    .sub_title p br {
        display: none;
    }

    .certificate_inner {
        width: calc(100% - 30px);
    }

    .cert_intro {
        padding: 34px 26px;
        border-radius: 20px;
        margin-bottom: 55px;
    }

    .cert_intro h3 {
        font-size: 26px;
        line-height: 1.4;
        margin-bottom: 18px;
    }

    .cert_intro p {
        font-size: 16px;
        line-height: 1.7;
    }

    .call_info {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        margin: 26px 0 16px;
        padding: 15px 20px;
        gap: 12px;
    }

    .call_info span {
        font-size: 15px;
    }

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

    .notice {
        font-size: 15px !important;
    }

    .cert_section {
        margin-bottom: 55px;
    }

    .section_title {
        gap: 10px;
        margin-bottom: 24px;
    }

    .section_title span {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .section_title h3 {
        font-size: 24px;
    }

    .process_list {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .process_list li {
        min-height: auto;
        padding: 24px 22px;
        border-radius: 18px;
    }

    .process_list span {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .process_list strong {
        font-size: 20px;
    }

    .cert_table {
        min-width: 760px;
    }

    .cert_table th,
    .cert_table td {
        padding: 14px 15px;
        font-size: 14.5px;
        line-height: 1.6;
    }

    .cert_table thead th {
        font-size: 15px;
    }

    .table_notice {
        font-size: 14px;
        line-height: 1.6;
    }

    .text_box {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .text_box p {
        font-size: 15.5px;
        line-height: 1.7;
    }

    .dot_list {
        padding: 26px 22px;
        border-radius: 18px;
    }

    .dot_list li {
        padding-left: 16px;
        font-size: 15.5px;
        line-height: 1.7;
    }

    .dot_list li::before {
        top: 12px;
    }

    .download_btn {
        min-width: auto;
        height: 34px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 17px;
        vertical-align: middle;
    }

    .download_area {
        padding: 28px 22px;
        border-radius: 18px;
    }
}


/* 480px 이하 - 작은 모바일 */
@media (max-width: 480px) {
    .sub_visual_bg {
        height: 300px;
    }

    .sub_visual_text .plus {
        font-size: 24px;
    }

    .sub_visual_text h2 {
        font-size: 29px;
    }

    .sub_visual_text p {
        font-size: 15px;
    }

    .sub_title h2 {
        font-size: 29px;
    }

    .sub_title p {
        font-size: 16px;
    }

    .certificate_inner {
        width: calc(100% - 24px);
    }

    .cert_intro {
        padding: 28px 20px;
    }

    .cert_intro h3 {
        font-size: 23px;
    }

    .cert_intro p {
        font-size: 15px;
    }

    .call_info {
        display: flex;
        flex-direction: column;
        gap: 5px;
        border-radius: 18px;
    }

    .call_info strong {
        font-size: 21px;
    }

    .section_title h3 {
        font-size: 22px;
    }

    .section_title span {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .process_list li {
        padding: 22px 20px;
    }

    .process_list strong {
        font-size: 19px;
    }

    .cert_table {
        min-width: 680px;
    }

    .cert_table th,
    .cert_table td {
        padding: 12px 13px;
        font-size: 13.5px;
    }

    .cert_table thead th {
        font-size: 14px;
    }

    .text_box {
        padding: 24px 18px;
    }

    .text_box p {
        font-size: 14.5px;
    }

    .dot_list {
        padding: 24px 18px;
    }

    .dot_list li {
        font-size: 14.5px;
    }

    .download_btn {
        display: inline-flex;
        height: 32px;
        margin: 4px 0;
        font-size: 12.5px;
    }
}

.table_scroll_notice {
    display: none;
}

@media (max-width: 1024px) {
    .table_scroll_notice {
        display: block;
        margin: 0 0 12px;
        font-size: 14px;
        color: #777;
        text-align: right;
    }
}