@charset "utf-8";
/* 입원 안내 카테고리 */


/* 공통 요소 */
.intro{
    background-image: url(/img/spine/inpatient/inp-intro.jpg);
}


/* 입원 안내 */
/* video-come */
.video-come {
    background: #0A0A0A;
    padding-bottom: 0;
    overflow: visible;
    height: calc(var(--vh) * 300);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.video-come .title {
    margin-bottom: 10rem;
}
.video-come .title strong {
    font-family: 'Pretendard';
    color: #fff;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.3;
}
.video-come .title p:first-of-type{
    margin-top: 4.8rem;
}
.video-come .title p{
    font-weight: 200;
    color: #EAEAEA;
}
.video-come .video-area {
    position: sticky;
    top: 0;
    width: 60%;
    aspect-ratio: 1920 / 1080;
    max-height: calc(var(--vh) * 100);
    overflow: hidden;
    pointer-events: none;
    transition: 0.2s;
}
.video-come .video-area iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left bottom;
}


/* difference */
.difference{
    background: #0A0A0A;
}
.difference .wrap{
    max-width: 1360px;
}
.difference .title{
    margin-bottom: 7rem;
}
.difference .title h2{
    color: #fff;
}
.difference .container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2.4rem;
}
.difference .container div{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--main2);
    border-radius: 1.2rem;
    padding: 10rem 2rem 6rem;
}
.difference .container div img{
    height: 11rem;
    object-fit: contain;
}
.difference .container div strong{
    margin-top: 4.8rem;
    font-size: 3.6rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
}
.difference .container div p{
    margin-top: 2.4rem;
    color: #fff;
    font-size: clamp(14px, 1.6rem, 16px);
    line-height: 1.5;
    text-align: center;
}


/* view-point */
.view-point{
    overflow: visible;
    height: 140rem;
}
.view-point.img3{
    height: 190rem;
}
.view-point .wrap{
    position: sticky;
    top: 18rem;
}
.view-point .title{
    width: 50%;
}
.view-point .title b{
    font-family: 'Noto Serif KR', serif;
    font-weight: 600;
    font-size: 2.4rem;
    color: var(--main2);
}
.view-point .title h3{
    margin-top: 4.8rem;
    letter-spacing: -0.02em;
}
.view-point .title .p_box{
    margin-top: 2.4rem;
}
.view-point .title .p_box p{
    font-size: clamp(14px, 2rem, 20px);
    color: #555;
}
.view-point .title .p_box p.b{
    font-weight: 600;
    color: #353535;
}
.view-point .r-img{
    position: absolute;
    top: 18rem;
    right: 0;
    width: 48%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.view-point .r-img img{
    width: 100%;
    height: 50rem;
    object-fit: cover;
    border-radius: 2.4rem 0 0 2.4rem;
}


/* need */
.need{
    padding-top: 10rem;
}
.need .title{
    margin-bottom: 12rem;
}
.need .title h3{
    margin-top: 2.4rem;
}
.need .container{
    width: 100%;
    display: flex;
    gap: 2.4rem;
}
.need .container.c1{
    margin-bottom: 8rem;
}
.need .container div{
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 12rem;
    transition: margin-top 0.4s;
} 
.need .container div.visible:nth-child(even) {
    margin-top: 0; 
}
.need .container div img{
    width: 100%;
    object-fit: contain;
    border-radius: 1.4rem;
}
.need .container div h4{
    margin-top: 1.2rem;
    font-weight: 700;
}
.need .container div p{
    font-weight: 300;
    font-size: clamp(14px, 1.8rem, 18px);
    line-height: 1.5;
    color: #7D7D7D;
}
.need .container div p span{
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #353535;
}


/* guide */
.guide{
    padding-top: 10rem;
}
.guide .title{
    margin-bottom: 7rem;
}
.guide .title h3{
    margin-top: 2.4rem;
}
.guide .guide-all{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.guide .guide-all img{
    width: 100%;
    object-fit: contain;
    border-radius: 1.2rem;
    box-shadow: 0 0 1.2rem rgba(0, 0, 0, .16 );
}
.guide .guide-all img.m{
    display: none;
}




/* 입퇴원 안내 */
/* system */
.system{
    background: var(--ivory);
}
.system .title{
    margin-bottom: 8rem;
}
.system .container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2.4rem;
}
.system .container div{
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.system .container div img{
    width: 100%;
    object-fit: cover;
    border-radius: .8rem;
}
.system .container div b{
    margin-top: 4.8rem;
    padding: .6rem 6rem;
    background: var(--main2);
    color: #fff;
    font-weight: 600;
    font-size: clamp(16px, 2.4rem, 24px);
    line-height: 1.4;
    letter-spacing: -0.01em;
    border-radius: 100px;
}
.system .container div ul{
    position: relative;
    margin-top: 2.4rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}
.system .container div ul::before{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% + 3.5rem);
    background-image: url(/img/spine/inpatient/icon_short_arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
    z-index: -1;
    opacity: .35;
}
.system .container div:first-child ul:before{
    background-image: url(/img/spine/inpatient/icon_long_arrow.svg);
}
.system .container div ul li{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 400;
    font-size: 2.2rem;
    line-height: 1.5;
    letter-spacing: -0.01em;
    background: #fff;
    border-radius: .4rem;
    padding: 1.4rem 2rem;
}
.system strong{
    margin: 10rem auto 0;
    display: block;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #fff;
    font-weight: 500;
    background: var(--main2);
    border-radius: 100px;
    padding: 2.2rem 2rem;
    text-align: center;
}


/* procedures */
.procedures{
    background: var(--main2);
    z-index: -2;
}
.procedures .title b{
    color: #ffffffac;
}
.procedures .title h2{
    color: #fff;
    font-weight: 600;
    position: relative;
}
.procedures .title h2::before{
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 110%;
    height: 45%;
    transform: translateX(-50%);
    background: #c0ab8d4f;
    z-index: -1;
}
.procedures .contents{
    margin-top: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.procedures .contents strong{
    font-weight: 700;
    font-size: 3.4rem;
    line-height: 1.4;
    text-align: center;
    color: #fff;
}
.procedures .contents .step-all{
    margin-top: 4rem;
    width: 100%;
    max-width: 1104px;
}
.procedures .contents .step-all:first-of-type{
    margin-bottom: 8rem;
}
.procedures .contents .step-all img{
    width: 100%;
    object-fit: contain;
}
.procedures .contents .step-all img.m{
    display: none;
}
.procedures .contents .steps{
    width: 100%;
    display: flex;
    display: none;
}
.procedures .contents .steps div{
    margin-top: 4rem;
}
.procedures .contents .steps div:first-child{
    margin-bottom: 8rem;
}
/* 시간관계상 svg 처리 */
.procedures .contents .steps div img{}
.procedures .contents .steps div span{}
.procedures .contents .steps div h4{}



.documents .title{
    margin-bottom: 6rem;
}
.documents img{
    width: 100%;
    object-fit: contain;
}
.documents img.m{
    display: none;
}





/* 식단 안내 */
/* food-talk */
.food-talk .wrap{
    display: flex;
    flex-direction: column;
    gap: 12rem;
}
.food-talk .con{
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}
.food-talk .con .title{
    flex-shrink: 0;
}
.food-talk .con .title h2{
    font-family: 'Noto Serif KR', serif;
    font-weight: 600;
    margin-top: 4.8rem;
    font-size: clamp(28px, 4vw, 5.4rem);
}
.food-talk .con1 .title h2{
    margin-top: 2.4rem;
}
.food-talk .con .title span{
    font-weight: 500;
    font-size: 2.2rem;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #fff;
    background: var(--main2);
    border-radius: 100px;
    padding: 4px 4rem;
}
.food-talk .con .title ul{
    margin-top: 4.8rem;
    list-style: square;
    padding-left: 2rem;
}
.food-talk .con .title ul li{
    font-weight: 400;
    font-size: 2rem;
    line-height: 1.65;
    letter-spacing: -0.01em;
    color: #7D7D7D;
}
.food-talk .con .title .p_box p{
    font-size: 2rem;
}
.food-talk .con img{
    width: 49.17%;
    object-fit: contain;
    flex-shrink: 1;
    
}


/* food-point */
.food-point{
    padding-top: 10rem;
}
.food-point .title{
    margin-bottom: 10rem;
}
.food-point .title h3{
    margin-top: 2.4rem;
}
.food-point .food-point-all{
    position: relative;
    width: 100%;
}
.food-point .food-point-all hr{
    position: absolute;
    left: 0;
    top: 25%;
    width: 100%;
    height: 0;
    border: .5px solid #CCCCCC;
    z-index: -1;
}
.food-point .food-point-all .wrap{
    display: flex;
    justify-content: center;
}
.food-point .food-point-all img{
    width: 100%;
    object-fit: contain;
    max-width: 1044px;
}
.food-point .food-point-all img.m{
    display: none;
}



/* food-photo */
.food-photo{
    padding-top: 10rem;
}
.food-photo .title{
    margin-bottom: 6rem;
}
.food-photo .title h3{
    margin-top: 2.4rem;
}
.food-photo .food-slide-area{
    width: 100%;
    background: linear-gradient(to bottom, #242424, #8A8A8A);
    padding: 14rem 0 10rem;
}
.food-photo .food_slide .swiper-slide img{
    width: 100%;
    object-fit: contain;
}
.food-photo .swiper-pagination{
    margin-top: 6rem;
    position: relative;
    width: 100%;
    object-fit: contain;
}
.food-photo .swiper-pagination .swiper-pagination-bullet {
    width: 1.5rem;
    height: 1.5rem;
    background-color: #CCCCCC;
    border-radius: 50%;
    opacity: 1;
    transition: 0.4s;
}
.food-photo .swiper-pagination .swiper-pagination-bullet-active {
    width: 10rem;
    height: 1.5rem;
    background-color: #FFFFFF;
    border-radius: 100px;
}









@media (min-width: 1920px) {

}
@media (max-width: 1440px) {
    /* 입원 안내 */
    .video-come {
        overflow: hidden;
        height: auto;
    }
    .video-come .video-area {
        position: relative;
        top: auto;
        width: 100%;
        aspect-ratio: 1920 / 1080;
    }

    .difference .container{
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 4rem;
    }
    .difference .container div{
        width: 85%;
    }
    .need .container div{
        margin-top: 0 !important;
    } 
    .need .container div.visible:nth-child(even) {
        margin-top: 4rem !important; 
    }
    .view-point, .view-point.img3{
        height: auto;
    }
    .view-point{
        padding-top: 0;
    }
    .view-point.c1{
        padding-top: 14rem;
    }
    .view-point .wrap{
        position: relative;
        top: auto;
    }
    .view-point .title {
        width: 100%;
    }
    .view-point .r-img{
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        margin: 6rem auto 0;
    }
    .view-point .r-img img{
        border-radius: 0;
    }
    .need .container{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2.4rem;
    }
}
@media (max-width: 1024px) {
    /* 입원 안내 */
    .guide .guide-all img.m{
        display: block;
    }
    .guide .guide-all img.pc{
        display: none;
    }
    .view-point .title p br{
        display: none;
    }

    /* 입퇴원 안내 */
    .system .container{
        flex-direction: column;
        justify-content: flex-start;
        gap: 8rem;
    }

    /* 식단 안내 */
     .food-talk .con{
        flex-direction: column-reverse;
        justify-content: flex-start;
        gap: 6rem;
    }
    .food-talk .con .title h2{
        margin-top: 2.4rem;
    }
    .food-talk .con1 .title h2{
        margin-top: 1.2rem;
    }
    .food-talk .con .title span{
        padding: 4px 3rem;
    }
    .food-talk .con .title ul{
        margin-top: 2.4rem;
        padding-left: 2.5rem;
    }
    .food-talk .con img{
        width: 100%;
        aspect-ratio: 10 / 5;
        object-fit: cover;
        min-height: 200px;
    }
    .food-point{
        padding: 8rem 0 10rem;
    }
}
@media (max-width: 768px) {
    /* 입퇴원 안내 */
   .procedures .contents .step-all img.pc{
        display: none;
    }
    .procedures .contents .step-all img.m{
        display: block;
        max-width: 85%;
        margin: 0 auto;
    }
    .system strong{
        font-size: 2.4rem;
    }
    .documents img.pc{
        display: none;
    }
    .documents img.m{
        display: block;
    }

    /* 식단 안내 */
    .food-point .food-point-all hr{
        display: none;
    }
    .food-point .food-point-all img.m{
        display: block;
        width: 85%;
        max-width: 340px;
    }
    .food-point .food-point-all img.pc{
        display: none;
    }
}
@media (max-width: 480px) {
    /* 입원 안내 */
    .video-come {
        padding-top: 12rem;
    }
    .video-come .title p br{
        display: none;
    }
    .difference .container div{
        width: 95%;
    }
    .difference .container div p{
        padding: 0 2rem;
    }
    .difference .container div p br{
        display: none;
    }
    .view-point .title .p_box{
        padding-right: 3rem;
    }

    /* 입퇴원 안내 */
    .system{
        padding-top: 12rem;
    }

    /* 식단 안내 */
    .food-talk{
        padding-top: 12rem;
    }
}