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


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


/* ==============================
    Right Fixed Menu
============================== */
#right {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: 795px;
    transform: translateY(-50%);
    z-index: 100;
}

.doctor_consult {
    position: relative;
    width: 97px;
    height: 141px;
    margin-bottom: 30px;
    overflow: hidden;
}

.doctor_consult li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    opacity: 0;
    transition: opacity 0.5s ease;
}

.doctor_consult li.active {
    opacity: 1;
}

.doctor_consult li img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.right_nav {
    margin-bottom: 10px;
    border-radius: 5px;
    background: #144891;
}


/* ==============================
    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 {
    width: 1520px;
    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;
}


/* ==============================
   Sub Container
============================== */
.sub_container {
    width: 100%;
    padding: 0 0 200px;
    background: #fff;
}

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

/* ==============================
   Breadcrumb
============================== */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 55px;
    font-size: 15px;
    color: #999;
}

.breadcrumb em {
    font-style: normal;
    color: #c7c7c7;
}

.breadcrumb strong {
    font-weight: 500;
    color: #333;
}

/* ==============================
   Doctor List
============================== */
.doctor_list {
    display: flex;
    flex-direction: column;
    gap: 90px;
}

/* ==============================
   Doctor Card
============================== */
.doctor_card {
    display: grid;
    grid-template-columns: 560px 1fr;
    align-items: stretch;
    gap: 70px;
    padding-bottom: 90px;
    border-bottom: 1px solid #e5e5e5;
}

.doctor_list .doctor_card:nth-child(3) {
    margin-bottom: 0;
}

.doctor_card.reverse {
    grid-template-columns: 1fr 560px;
}

.doctor_card.reverse .doctor_img {
    order: 2;
}

.doctor_card.reverse .doctor_info {
    order: 1;
}

/* ==============================
   Doctor Image
============================== */
.doctor_img {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.doctor_img::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
    width: 100%;
    height: 58%;
}

.doctor_img img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==============================
   Doctor Info
============================== */
.doctor_info {
    padding: 45px 0 30px;
}

.doctor_info h3 {
    margin-bottom: 34px;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: #111;
}

/* 진료과목 */
.subject {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    padding: 24px 0;
    border-top: 2px solid #222;
    border-bottom: 1px solid #ddd;
}

.subject strong {
    flex: 0 0 95px;
    font-size: 18px;
    font-weight: 600;
    color: #111;
}

.subject p {
    font-size: 19px;
    line-height: 1.6;
    letter-spacing: -0.03em;
    color: #333;
}

/* 원장 메시지 */
.message {
    margin: 38px 0 42px;
    font-size: 28px;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: -0.04em;
    color: #222;
}

.message::before,
.message::after {
    font-size: 36px;
    line-height: 1;
    color: #b9c9d9;
}

.message::before {
    content: "“";
    margin-right: 4px;
}

.message::after {
    content: "”";
    margin-left: 4px;
}

/* ==============================
   Career
============================== */
.career_box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 42px;
}

.career_box li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 13px;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -0.03em;
    color: #555;
}

.career_box li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #8fa7bd;
}