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


/* ==============================
   Contents
============================== */
.sub_contents {
    /* padding: 80px 0 140px;
    background: #fff; */
}

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

/* breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-bottom: 80px;
    font-size: 15px;
    color: #777;
}

.breadcrumb span,
.breadcrumb strong {
    position: relative;
    font-weight: 400;
}

.breadcrumb span::after {
    content: "";
    display: inline-block;
    width: 5px;
    height: 9px;
    margin-left: 12px;
    background: none;
    border-top: 1px solid #aaa;
    border-right: 1px solid #aaa;
    transform: rotate(45deg);
}

.breadcrumb strong {
    color: #111;
    font-weight: 600;
}

/* intro title */
.intro_title {
    text-align: center;
    margin-bottom: 100px;
}

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

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

.intro_title h3 {
    margin: 0 0 35px;
    font-size: 46px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.05em;
}

.intro_title p {
    width: 920px;
    max-width: 100%;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.85;
    font-weight: 300;
    color: #555;
    letter-spacing: -0.035em;
}

/* promise */
.promise_section {
    margin-top: 80px;
}

.promise_section h4 {
    margin: 0 0 55px;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #111;
    letter-spacing: -0.04em;
}

.promise_list {
    display: flex;
    gap: 40px;
}

.promise_item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: #f6f6f6;
}

.promise_img {
    position: relative;
    overflow: hidden;
}

.promise_img::after {
    content: "";
    position: absolute;
    inset: 0;
    /* background: rgba(0, 0, 0, 0.25); */
}

.promise_img img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promise_item:hover .promise_img img {
    transform: scale(1.05);
}

.promise_txt {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 55px 50px;
    color: #fff;
    z-index: 2;
}

.promise_txt h5 {
    margin: 0 0 20px;
    font-size: 34px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.promise_txt p {
    margin: 0;
    font-size: 20px;
    line-height: 1.7;
    font-weight: 300;
    letter-spacing: -0.035em;
}
