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


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


/* ==============================
   Main Visual
============================== */
.eye_visual {
    position: relative;
    height: 935px;
    overflow: hidden;
}

.eye_slider,
.eye_slider ul {
    width: 100%;
    height: 100%;
}

.eye_slider ul {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eye_slider li {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.eye_slider li.active {
    z-index: 2;
    opacity: 1;
}

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

.eye_pager {
    position: absolute;
    left: 50%;
    bottom: 50px;
    z-index: 20;
    display: flex;
    gap: 20px;
    transform: translateX(-50%);
}

.eye_pager button {
    width: 6px;
    height: 6px;
    padding: 0;
    /* border: 2px solid #fff; */
    border-radius: 50%;
    background: #fff;
    font-size: 0;
    cursor: pointer;
}

.eye_pager button.active {
    background: #144891;
}


#section1,
.eye-intro,
.doctor-section,
.equipment-section,
.process-section {
    opacity: 0;
    transform: translateY(70px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

#section1.on,
.eye-intro.on,
.doctor-section.on,
.equipment-section.on,
.process-section.on {
    opacity: 1;
    transform: translateY(0);
}


/* ==============================
   Medical Subject
============================== */
.eye_subject {
    height: 385px;
    background: url("../img/main/msj_bg.png") right bottom no-repeat #edf8ff;
    margin-bottom: 150px;
}

.esj_title {
    float: left;
    font-family: "Pretendard_SB";
    font-size: 36px;
    margin-right: 150px;
}

.esj_title > div {
    display: table-cell;
    height: 385px;
    vertical-align: middle;
}

.esj_title span {
    color: #144891;
    font-family: "Pretendard_M";
    font-size: 20px;
}

.esj_box {
    float: left;
}

.esj_box ul {
    padding-top: 112.5px;
}

.esj_box li {
    display: flex;
    align-items: center;
    justify-content: center;
    float: left;
    width: 160px;
    height: 160px;
    margin-right: 35px;
    overflow: hidden;
    border-radius: 50%;
    box-sizing: border-box;
    background-color: rgba(255, 255, 255, 0);
    transition: background-color 0.5s ease;
}

.esj_box li:hover {
    background-color: rgba(255, 255, 255, 1);
}

.esj_box li:last-child {
    margin-right: 0;
}

.es_tel {
    float: right;
    font-family: 'Pretendard_SB';
    font-size: 32px;
    color: #144891;
    padding-top: 112.5px;
}

.es_tel p {
    display: block;
    font-family: 'Pretendard_M';
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.est_box {
    margin-bottom: 10px;
}


.eye-clinic-page {
    width: 100%;
    overflow: hidden;
}

.eye-clinic-page .inner {
    width: 1520px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}


/* intro */
.eye-intro {
    padding: 0 0 190px;
    text-align: center;
}

.eye-intro .sub-title {
    margin: 0 0 5px;
    font-size: 17px;
    font-weight: 400;
    color: #444;
}

.eye-intro h2 {
    margin: 0 0 74px;
    font-size: 42px;
    line-height: 1.25;
    font-weight: 800;
    color: #111;
    letter-spacing: -1.5px;
}

.intro-card-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.intro-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.intro-card h3 {
    margin: 24px 0 13px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
}

.intro-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}


/* doctor */
.doctor-section {
    padding: 0 0 195px;
}

.doctor-inner {
    display: grid;
    grid-template-columns: 420px 1fr;
    align-items: center;
    gap: 110px;
}

.doctor-text h2 {
    margin: 0 0 120px;
    font-family: 'Pretendard_SB';
    font-size: 44px;
    line-height: 1.5em;
    /* font-weight: 800; */
    color: #111;
    letter-spacing: -1.4px;
}

.doctor-text h2 span {
    color: #0054a6;
}

.doctor-profile {
    position: relative;
}

.doctor-profile p {
    margin: 0 0 8px;
    font-size: 16px;
    color: #222;
}

.doctor-profile strong {
    display: block;
    margin-bottom: 25px;
    font-size: 31px;
    line-height: 1;
    font-weight: 800;
    color: #0054a6;
}

.doctor-profile .sign {
    position: absolute;
    top: 40px;
    left: 60px;
}

.doctor-profile ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.doctor-profile li {
    font-size: 16px;
    line-height: 1.75;
    color: #555;
}

.doctor-visual {
    position: relative;
    min-height: 610px;
    background: url("../img/sub/eye/doctor_bg.png") right top no-repeat;
}

.doctor-bg-text {
    position: absolute;
    right: 70px;
    top: 20px;
    z-index: 0;
    font-size: 230px;
    line-height: 1;
    font-weight: 900;
    color: rgba(0, 92, 184, 0.07);
    letter-spacing: -14px;
}

.doctor-main {
    position: absolute;
    left: 190px;
    bottom: 0;
    z-index: 2;
    width: 310px;
}

.doctor-photo {
    position: absolute;
    z-index: 3;
    overflow: hidden;
}

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

.doctor-photo.photo01 {
    right: 0;
    top: 115px;
    width: 340px;
    height: 205px;
}

.doctor-photo.photo02 {
    right: 120px;
    bottom: 35px;
    width: 340px;
    height: 215px;
}


/* equipment */
.equipment-section {
    position: relative;
    padding: 80px 0 165px;
    background: url("../img/sub/eye/equip_bg.png") center top no-repeat;
}

.equipment-section .inner {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
}

.section-title h2 {
    margin: 0 0 12px;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 800;
    color: #111;
    letter-spacing: -1px;
}

.section-title p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    color: #0054a6;
}

.equipment-wrap {
    position: relative;
    margin-top: 64px;
}

/* 슬라이더 보이는 영역 */
.equipment-slider {
    overflow: hidden;
    width: 100%;
}

/* 실제 움직이는 영역 */
.equipment-list {
    display: flex;
    gap: 16px;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* 3개 노출 */
.equipment-card {
    flex: 0 0 calc((100% - 32px) / 3);
}

.equipment-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
}

.equipment-card h3 {
    margin: 22px 0 12px;
    font-size: 19px;
    line-height: 1.35;
    font-weight: 800;
    color: #111;
}

.equipment-card h3 span {
    font-size: 14px;
    font-weight: 500;
    color: #555;
}

.equipment-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #333;
    word-break: keep-all;
}

.slide-btn {
    position: absolute;
    width: 56px;
    height: 56px;
    top: 150px;
    z-index: 5;
    border: 0;
    cursor: pointer;
    text-indent: -9999px;
}

.slide-btn.prev {
    left: -86px;
    background: url("../img/sub/eye/equip_prev.png") center / contain no-repeat;
}

.slide-btn.next {
    right: -86px;
    background: url("../img/sub/eye/equip_next.png") center / contain no-repeat;
}


/* process */
.process-section {
    padding: 83px 0 120px;
    /* background: #eef6ff; */
    background: url("../img/sub/eye/ps_bg.jpg") repeat-x;
}

.process-section .section-title h2 {
    font-size: 34px;
}

.process-list {
    width: 900px;
    max-width: 100%;
    margin: 58px auto 0;
}

.process-item {
    display: grid;
    grid-template-columns: 120px 190px 1fr;
    align-items: center;
    min-height: 130px;
    margin-bottom: 22px;
    padding: 24px 44px 24px 25px;
    background: #fff;
}

.process-item:last-child {
    margin-bottom: 0;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #e9f6ff;
}

.icon-box img {
    /* width: 48px;
    height: 48px; */
    object-fit: contain;
}

.process-title h3 {
    margin: 0 0 7px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.8px;
}

.process-title p {
    margin: 0;
    font-size: 17px;
    line-height: 1.4;
    color: #333;
}

.process-desc {
    font-size: 14px;
    line-height: 1.75;
    color: #444;
    word-break: keep-all;
}