@charset "utf-8";
/* 서브페이지 공통 요소 */


/* intro */
.intro{
    background-image: url(/img/spine/inpatient/inp-intro.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 50rem;
    padding: 0;
}
.intro .wrap{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.intro .tit{
    padding-top: 6.5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.intro .tit span{
    font-family: 'Noto Serif KR', serif;
    font-weight: 400;
    font-size: clamp(12px, 1.4rem, 14px);
    letter-spacing: 0.04em;
    color: #ccc;
}
.intro .tit h2{
    font-family: 'Noto Serif KR', serif;
    font-size: 4.8rem;
    font-weight: 200;
    color: #fff;
}
.intro nav{
    position: absolute;
    left: 0;
    bottom: 4rem;
    width: 100%;
}
.intro nav ul{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.intro nav ul li.line{
    width: 1px;
    height: clamp(12px, 1.4rem, 14px);
    background: #aeaeae;
    flex-shrink: 0;
}
.intro nav ul li a{
    display: block;
    font-weight: 300;
    font-size: clamp(14px, 1.6rem, 16px);
    line-height: 1.5;
    letter-spacing: -0.025em;
    color: #d9d9d9;
    transition: .3s;
}
.intro nav ul li.now a{
    color: var(--main1);
    font-weight: 500;
}


/* 인용구 섹션 */
.quote{
    padding: 18rem 0;
}
.quote .wrap{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}
.quote span{
    font-family: 'Noto Serif KR', serif;
    font-weight: 600;
    font-size: 2.8rem;
    color: #ccc;
}
.quote .title strong{
    margin-top: 0;
    font-size: 4.8rem;
    line-height: 1.5;
}
.quote .title p{
    margin-top: 2.4rem;
    color: #555;
}
.quote.back{
    background-size: cover;
    background-repeat: no-repeat;
}
.quote.back span{
    color: #fff;
}
.quote.back strong{
    font-weight: 500;
    color: #fff;
}
.quote.back p{
    font-weight: 300;
    color: #fff;
}


/* 토글 탭 */
.toggle_tab_wrap {
    padding-top: 14rem;
    display: flex;
    width: 100%;
}
.toggle_tab_wrap .toggle_tab {
    padding: 1.95rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    font-weight: 500;
    font-size: clamp(14px, 1.8rem, 18px);
    color: #8a8a8a;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.toggle_tab_wrap .toggle_tab.active {
    color: #353535;
    border-bottom: 2px solid #353535;
}

/* 토글 내용 */
.toggle_tab_con_wrap {
  position: relative;
}
.toggle_tab_con {
  display: none;
}
.toggle_tab_con.active {
  display: block;
}


/* key-point */
.key-point{
    background: #F6F5F2;
}
.key-point.back-white{
    background: #fff;
}
.key-point .container{
    margin-top: 12rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2.4rem;
}
.key-point .container > div{
    max-width: 360px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.key-point .container > div b{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.8rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: 0.03em;
    color: #fff;
    background: var(--main2);
}
.key-point .container > div h4{
    margin-top: 3.4rem;
    font-weight: 700;
    color: var(--main2);
}
.key-point .container > div .p_box{
    margin-top: 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
}
.key-point .container > div .p_box p{
    font-weight: 400;
    font-size: clamp(14px, 1.6rem, 16px);
    line-height: 1.55;
}


/* process-wrap */
.process-wrap.back-color{
    background: #F6F5F2;
}
.process-wrap .process_slide{
    margin-top: 10rem;
    position: relative;
    width: 100%;
}
.process-wrap .num_pagination{
    position: absolute;
    left: 0;
    top: 0;
    width: fit-content;
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    font-family: 'Noto Serif KR', serif;
    font-weight: 700;
    font-size: 2.2rem;
    line-height: 1;
    color: #ccc;
}
.process-wrap .num_pagination span.current{
    font-size: 4.4rem;
    color: var(--main2);
}
.process-wrap .swiper-wrapper{
    width: 100%;
}
.process-wrap .swiper-slide{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2.4rem;
}
.process-wrap .swiper-slide .text_box{
    padding-top: 9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.process-wrap .swiper-slide .text_box h3{
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1.5;
    color: var(--main2);
    margin-bottom: 2.4rem;
}
.process-wrap .swiper-slide .text_box .p.box{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.process-wrap .swiper-slide .text_box p{
    font-weight: 400;
    font-size: 1.8rem;
    line-height: 1.5;
    color: var(--main2);
    min-height: 38px;
}
.process-wrap .swiper-slide img{
    width: 50%;
    object-fit: cover;
}
.process-wrap .slide_bottom{
    margin-top: 7rem;
    width: 100%;
}
.process-wrap .slide_bottom .pager{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.process-wrap .slide_bottom button{
    width: 7.4rem;
}
.process-wrap .slide_bottom button.disabled {
    opacity: 0.3;
    pointer-events: none;
}
.process-wrap .slide_bottom button img{
    width: 100%;
    object-fit: contain;
}
.process-wrap .slide_bottom .progress_bar {
    width: 100%;
    height: 0.4rem;
    background-color: #E0E0E0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-top: 1.5rem;
}
.process-wrap .slide_bottom .progress_fill {
    height: 100%;
    background-color: var(--main2);
    transition: 0.6s cubic-bezier(0.39, 0.575, 0.565, 1);
    width: 0;
    transform: translateX(0%);
}







@media (min-width: 1920px) {

}
@media (max-width: 1440px) {

}
@media (max-width: 1024px) {
    .key-point .container{
        margin-top: 8rem;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 6.5rem;
    }
    .key-point .container > div h4 {
        margin-top: 2.8rem;
    }
    .process-wrap .process_slide {
        margin-top: 4rem;
    }
    .process-wrap .num_pagination{
        position: relative;
        left: auto;
        top: auto;
    }
    .process-wrap .num_pagination span.current{
        font-size: 3.8rem;
    }
    .process-wrap .swiper-slide{
        flex-direction: column;
        justify-content: flex-start;
        gap: 2.8rem;
    }
    .process-wrap .swiper-slide .text_box{
        padding-top: 4.8rem;
        display: flex;
        flex-direction: column;
    }
    .process-wrap .swiper-slide img{
        width: 100%;
    }
    .process-wrap .slide_bottom{
        margin-top: 4.4rem;
    }
}
@media (max-width: 768px) {
    .intro nav {
        bottom: 3.2rem;
    }
    .intro nav ul{
        overflow-x: auto; 
        scrollbar-width: none;
    }
    .intro nav ul li a{
        white-space: nowrap
    }
    .intro .tit h2{
        font-size: 3.6rem;
    }
    .toggle_tab_wrap {
        overflow-x: auto; 
        scrollbar-width: none;
    }
    .toggle_tab_wrap .toggle_tab {
        padding: 1.95rem 1.8rem;
        white-space: nowrap
    }
    .quote{
        padding: 10rem 0;
    }
    .quote .wrap{
        gap: 3rem;
    }
    .quote .title strong{
        font-size: 3.2rem;
    }
    .process-wrap .swiper-slide .text_box h3{
        font-size: 3.2rem;
        margin-bottom: 1.6rem;
    }
}
@media (max-width: 480px) {
    .intro{
        height: 40rem;
    }
    .intro nav ul {
        gap: 1.8rem;
    }
    .process-wrap .swiper-slide .text_box h3{
        font-size: 21px;
    }
    .process-wrap .swiper-slide .text_box p br{
        display: none;
    }
}
