@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_05.jpg') 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;
}


/* ==============================
   Top Table + Image
================================ */
.vaccination_top {
    display: grid;
    grid-template-columns: 650px 500px;
    justify-content: center;
    align-items: start;
    gap: 14px;
    margin-bottom: 120px;
}

.vaccine_table_wrap {
    width: 100%;
}

.vaccine_table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border-bottom: 2px solid #004a9f;
}

.vaccine_table thead th {
    height: 55px;
    background: #f5f8fb;
    border-right: 8px solid #fff;
    border-bottom: 2px solid #004a9f;
    font-size: 15px;
    font-weight: 800;
    color: #004a9f;
    text-align: center;
     border-top-left-radius: 20px;
}

.vaccine_table thead th:last-child {
    border-right: 0;
}

.vaccine_table tbody td {
    height: 72px;
    padding: 0 18px;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.45;
    vertical-align: middle;
    word-break: keep-all;
}

.vaccine_table tbody tr:last-child td {
    border-bottom: 0;
}

.vaccine_table tbody td:first-child {
    font-weight: 800;
}

.vaccine_table small {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.vaccine_img {
    width: 500px;
    height: 510px;
    background: #d1d1d1;
    overflow: hidden;
}

.vaccine_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gray_box {
    background: #d1d1d1;
}

/* ==============================
   Precaution
================================ */
.caution_title {
    margin-bottom: 42px;
}

.precaution_area {
    width: 760px;
    margin: 0 auto;
    text-align: center;
}

.precaution_box {
    position: relative;
    width: 100%;
    padding: 34px 42px 38px;
    background: #f5f8fb;
    text-align: left;
}

.precaution_box h3 {
    margin-bottom: 28px;
    font-size: 20px;
    font-weight: 800;
    color: #004a9f;
    text-align: center;
}

.precaution_box li {
    position: relative;
    padding-left: 13px;
    margin-bottom: 24px;
}

.precaution_box li:last-child {
    margin-bottom: 0;
}

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

.precaution_box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 800;
    color: #222;
}

.precaution_box p {
    font-size: 12px;
    font-weight: 400;
    color: #555;
    line-height: 1.65;
    word-break: keep-all;
}

/* 가운데 세로선 + 점 */
.line_dot {
    position: relative;
    width: 1px;
    height: 38px;
    margin: 0 auto;
    background: #004a9f;
}

.line_dot::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -4px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #004a9f;
    transform: translateX(-50%);
    z-index: 100;
}

.notice_text {
    display: inline-block;
    margin-top: 30px;
    padding: 9px 16px;
    background: #fff5d8;
    font-size: 14px;
    font-weight: 700;
    color: #ff8a00;
    line-height: 1.4;
}

.notice_text::before {
    display: inline-block;
    content: "";
    width: 24px;
    height: 24px;
    vertical-align: middle;
    background: url("/img/sub/lb_icon.png");
    margin-right: 3px;
}

.bottom_notice {
    margin-top: 55px;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    line-height: 1.7;
    text-align: center;
    word-break: keep-all;
}


/* ==============================
   Responsive - Vaccination Page
============================== */

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

    .vaccination_top {
        grid-template-columns: 620px 460px;
        gap: 40px;
    }

    .vaccine_img {
        width: 460px;
        height: 500px;
    }
}


/* 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;
    }

    .vaccination_top {
        grid-template-columns: 1fr 400px;
        gap: 35px;
        margin-bottom: 100px;
    }

    .vaccine_img {
        width: 400px;
        height: 470px;
    }

    .vaccine_table tbody td {
        padding: 0 14px;
        font-size: 13.5px;
    }

    .precaution_area {
        width: 720px;
    }
}


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

    .vaccination_top {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 85px;
    }

    .vaccine_img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .vaccine_table_wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .vaccine_table_wrap::-webkit-scrollbar {
        height: 4px;
    }

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

    .vaccine_table {
        min-width: 760px;
    }

    .precaution_area {
        width: 100%;
        max-width: 760px;
    }
}


/* 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;
    }

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

    .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;
    }

    .vaccination_top {
        gap: 28px;
        margin-bottom: 70px;
    }

    .vaccine_table {
        min-width: 700px;
    }

    .vaccine_table thead th {
        height: 50px;
        font-size: 14px;
        border-right-width: 5px;
    }

    .vaccine_table tbody td {
        height: 64px;
        padding: 0 12px;
        font-size: 13px;
    }

    .vaccine_table small {
        font-size: 10.5px;
    }

    .vaccine_img {
        aspect-ratio: 4 / 3;
    }

    .caution_title {
        margin-bottom: 32px;
    }

    .precaution_box {
        padding: 30px 24px 34px;
    }

    .precaution_box h3 {
        margin-bottom: 24px;
        font-size: 19px;
    }

    .precaution_box li {
        margin-bottom: 22px;
    }

    .precaution_box strong {
        font-size: 14px;
    }

    .precaution_box p {
        font-size: 13px;
        line-height: 1.65;
    }

    .line_dot {
        height: 32px;
    }

    .notice_text {
        display: block;
        margin-top: 24px;
        padding: 12px 14px;
        font-size: 13px;
        text-align: left;
    }

    .notice_text::before {
        width: 20px;
        height: 20px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .bottom_notice {
        margin-top: 38px;
        font-size: 13px;
        line-height: 1.65;
    }

    .bottom_notice br {
        display: none;
    }
}


/* 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;
    }

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

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

    .vaccine_table {
        min-width: 650px;
    }

    .vaccine_table thead th {
        font-size: 13px;
    }

    .vaccine_table tbody td {
        height: 60px;
        padding: 0 10px;
        font-size: 12.5px;
    }

    .precaution_box {
        padding: 26px 18px 30px;
    }

    .precaution_box h3 {
        font-size: 18px;
    }

    .precaution_box p {
        font-size: 12.5px;
    }

    .notice_text {
        font-size: 12.5px;
    }

    .bottom_notice {
        font-size: 12.5px;
    }
}


/* 모바일 문단 줄바꿈 안정화 */
@media (max-width: 768px) {
    .vaccine_table td,
    .precaution_box p,
    .bottom_notice,
    .notice_text {
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

.table_scroll_notice {
    display: none;
} 

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