@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
============================== */
.pain_visual {
    position: relative;
    height: 935px;
    overflow: hidden;
}

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

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

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

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

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

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

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

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


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

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


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

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

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

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

.psj_box {
    float: left;
}

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

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

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

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

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

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

.pst_box {
    margin-bottom: 10px;
}


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

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


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

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

.pain-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.35;
    font-weight: 800;
    color: #111;
}

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


/* doctor */
.pain-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-size: 42px;
    line-height: 1.35;
    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;
    word-break: keep-all;
}

.doctor-visual {
    position: relative;
    min-height: 610px;
    background: url("../img/sub/pain/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: 210px;
    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 */
.pain-equipment-section {
    position: relative;
    padding: 80px 0 165px;
    background: url("../img/sub/pain/equip_bg.png") center top no-repeat;
    overflow: hidden;
}

.pain-equipment-section .inner {
    position: relative;
    z-index: 1;
    max-width: 1520px;
    margin: 0 auto;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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



/* promise */
.pain-promise-section {
    padding: 78px 0 115px;
    text-align: center;
    background: #eef6ff;
}

.pain-promise-section .section-title p {
    margin-bottom: 13px;
    font-size: 17px;
    font-weight: 600;
    color: #0054a6;
}

.pain-promise-section .section-title h2 {
    margin: 0;
    font-size: 34px;
}

.promise-content {
    display: grid;
    grid-template-columns: 1fr 430px;
    align-items: end;
    gap: 95px;
    width: 1260px;
    max-width: 100%;
    margin: 70px auto 0;
}

.promise-list {
    padding-bottom: 15px;
}

.promise-list .promise-item:nth-child(even) {
    padding-left: 150px;
}

.promise-item {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 20px;
    margin-bottom: 55px;
    text-align: left;
}

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

.promise-item strong {
    display: block;
    margin-top: -8px;
    font-family: 'Pretendard_Bl';
    font-size: 76px;
    line-height: 0.9;
    color: #0054a6;
    letter-spacing: -4px;
}

.promise-item h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 800;
    color: #111;
    letter-spacing: -0.7px;
}

.promise-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    word-break: keep-all;
}

.promise-doctor img {
    width: 430px;
}

