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


.infusion_clinic {
    width: 100%;
    /* padding: 100px 0 150px; */
    background: #fff;
}

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

/* 제목 */
.sub_title {
    text-align: center;
    margin-bottom: 80px;
}

.sub_title span {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1459aa;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
}

.sub_title h2 {
    font-size: 48px;
    font-weight: 800;
    color: #111;
    margin-bottom: 24px;
}

.sub_title p {
    font-size: 22px;
    line-height: 1.6;
    color: #444;
}
/* 전체 내용 */
.clinic_content {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.clinic_row {
    display: grid;
    grid-template-columns: 640px 600px;
    justify-content: center;
    align-items: center;
    gap: 110px;
}

/* 왼쪽 리스트 */
.clinic_list {
    width: 100%;
}

.clinic_item {
    display: grid;
    grid-template-columns: 20px 170px 1fr;
    align-items: center;
    min-height: 72px;
    border-bottom: 1px solid #e5e5e5;
}

.clinic_item:first-child {
    border-top: 0;
}

.clinic_item strong {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    background: #004a9f;
    color: #fff;
    font-size: 14px;
    line-height: 17px;
}

.clinic_item h3 {
    font-family: 'Pretendard_SB';
    padding-left: 12px;
    font-size: 18px;
    color: #222;
}

.clinic_item p {
    font-size: 16px;
    color: #777;
    line-height: 1.5;
    word-break: keep-all;
}

/* 오른쪽 이미지 */
.clinic_img {
    width: 600px;
    height: 510px;
    overflow: hidden;
    background: #c9c9c9;
}

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

.gray_box {
    background: #c9c9c9;
}


/* ==============================
   Responsive - Infusion Clinic
============================== */

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

    .clinic_row {
        grid-template-columns: 600px 540px;
        gap: 80px;
    }

    .clinic_img {
        width: 540px;
        height: 470px;
    }

    .clinic_item {
        grid-template-columns: 20px 160px 1fr;
    }
}


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

    .clinic_content {
        gap: 80px;
    }

    .clinic_row {
        grid-template-columns: 1fr 440px;
        gap: 50px;
    }

    .clinic_img {
        width: 440px;
        height: 410px;
    }

    .clinic_item {
        grid-template-columns: 20px 145px 1fr;
        min-height: 68px;
    }

    .clinic_item h3 {
        font-size: 17px;
    }

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


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

    .clinic_row {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .clinic_row:nth-child(even) .clinic_img {
        order: 1;
    }

    .clinic_row:nth-child(even) .clinic_list {
        order: 2;
    }

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

    .clinic_item {
        grid-template-columns: 24px 170px 1fr;
    }
}


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

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

    .clinic_content {
        gap: 65px;
    }

    .clinic_row {
        gap: 28px;
    }

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

    .clinic_item {
        display: grid;
        grid-template-columns: 24px 1fr;
        align-items: start;
        gap: 0 12px;
        min-height: auto;
        padding: 18px 0;
    }

    .clinic_item strong {
        grid-row: 1 / 3;
        width: 20px;
        height: 20px;
        font-size: 13px;
        line-height: 20px;
        margin-top: 2px;
    }

    .clinic_item h3 {
        padding-left: 0;
        margin-bottom: 6px;
        font-size: 18px;
        line-height: 1.35;
    }

    .clinic_item p {
        grid-column: 2 / 3;
        font-size: 15px;
        line-height: 1.6;
    }
}


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

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

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

    .clinic_content {
        gap: 55px;
    }

    .clinic_item {
        grid-template-columns: 22px 1fr;
        gap: 0 10px;
        padding: 16px 0;
    }

    .clinic_item strong {
        width: 18px;
        height: 18px;
        font-size: 12px;
        line-height: 18px;
    }

    .clinic_item h3 {
        font-size: 16.5px;
    }

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


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