/*테마 공용 css*/
/*프리텐다드*/
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");
/*세종병원체*/
@font-face {
    font-family: 'Sejonghospital';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/SejonghospitalLight.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Sejonghospital';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2312-1@1.1/SejonghospitalBold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/*var*/
:root{
    --color-white: #FFFFFF;
    --color-black: #000000;

    --color-1: #FFFFFF; /* 흰색 */
    --color-2: #DCDCDC; /* border */
    --color-3: #FBFBFB; /* 섹션배경 */
    --color-4: #ADADAD; /* 섹션배경 */

    --main-font-1 : 'Pretenard';
    --main-font-2 : 'Sejonghospital';

    --f-size-1 : 1rem; /*16*/
    --f-size-2 : 0.88rem; /*14*/
    --f-size-3 : 0.75rem; /*12*/
    --f-size-4 : 0.63rem; /*10*/
}

/*드래그*/
::selection{
    /*background-color: var(--color-2);*/
}
/*스크롤바*/
::-webkit-scrollbar{
    /*width: 10px;*/
}
    /*바*/
::-webkit-scrollbar-thumb {
    /*border-radius: 100px;*/
}

html{
    font-size: 16px;
}
body{
    font-family: var(--main-font-2);
}
@media(width < 1400px){
}
@media(width < 1024px){
    html{
        font-size: 14px;
    }
}
@media(width < 768px){
    html{
        font-size: 12px;
    }
}
@media(width < 576px){
}
/*헤더전체*/
.header {
    z-index: 100;
    width: 100%;
    text-transform: uppercase;
    font-weight: 400;
    padding-top: clamp(0px, 2.5vw, 30px);
    padding-bottom: clamp(0px, 2.5vw, 30px);
    transition: all 0.5s;
    height: auto;
}
.header > .wrap {
    width: 100%;
    display: flex;
    padding-left: clamp(20px, 5.3vw, 100px);
    padding-right: clamp(20px, 5.3vw, 100px);
}
/*로고*/
.logo{
    position: relative;
    margin-right: auto;
    padding: 10px;
    z-index: 10;
    max-width: 120px;
    max-height: 60px;
}
.logo a{
    display: inline-block;
    width: 100%;
    height: 100%;
}
.logo img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
    margin: 0 auto;
}

#wrap{
    height: auto;
}
/*gnb*/
.nav{
    position: sticky;
    z-index: 999;
    top: 0 ;
    background-color: var(--color-white);
    padding-top: 10px;
    padding-bottom: 10px;
}
.nav .wrap{
    display: flex;
    justify-content: space-between;
    padding-left: clamp(20px, 5.3vw, 100px);
    padding-right: clamp(20px, 5.3vw, 100px);
}
.gnb,
.gnb-1d-ul{
    height: 100%;
}
.gnb{
    position: relative;
}
.gnb-1d-ul{
    height: 100%;
    display: flex;
    column-gap: clamp(0px, 2vw, 30px);
    align-items: center;
}
.gnb-1d-a{
    display: flex;
    align-items: center;
    width: 100%;
    padding: 10px 10px;
    color: var(--color-4);
}
.gnb-1d-a.active{
    color: var(--color-black);
}

.nav-right{
    display: flex;
    gap: 45px;
    align-items: center;
    transition: .5s all;
    opacity: 1;
}
.nav-right.hide{
    opacity: 0;
}
.social{
    display: flex;
    gap: 10px;
    align-items: end;
}
.social-link{
    background-color: var(--color-4);
    color: var(--color-white);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}
.social-link:hover{
    background-color: var(--color-black);
}

/*메뉴버튼*/
.menu-btn{
    display: flex;
    align-items: end;
    width: 24px;
}
.menu-btn .menu-btn-wrap{
    /*버튼스타일죽이기*/
    border:unset;
    padding: unset;
    background: unset;
    /**/
    position: relative;
    transition: color 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 70%;
}
.menu-btn .menu-btn-line{
    display: block;
    background-color: #000;
    height: 1px;
    width: 100%;
    transition: all 0.5s;
}
/*서브네비*/

.sub-gnb{
    display: grid;
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: #fff;
    grid-template-columns: 50% 50%;
}
.sub-gnb-wrap{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
    height: 100%;
}
/*메뉴 위 영문이름*/
.sub-gnb-title{
    padding-left: 100px;
    font-size: clamp(14px, 2vw, 40px);
    padding-top: clamp(0px, 4vw, 50px);
    padding-bottom: clamp(0px, 2vw, 30px);
}
/**/
.sub-gnb-1d-ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 100%;
}
/*큰메뉴 글자*/
.sub-gnb-1d-a{
    font-size: 1.25rem;
    padding: clamp(0px, 2.1vw, 40px);
    white-space: nowrap;
}
/*한줄*/
.sub-gnb-1d-li{
    width: 100%;
    display: grid;
    grid-template-columns: 20% 20% 60%;
    justify-content: space-around;
    align-items: center;
    height: clamp(50px, 7.9vw, 150px);
    border-top: 1px solid var(--color-2);
    padding-left: clamp(0px,6vw,100px);
}
.sub-gnb-1d-li:last-child{
    border-bottom: 1px solid var(--color-2);
}
/*동그라미*/
.sub-gnb-key{
    height: clamp(50px, 7.9vw, 150px);
    aspect-ratio: 1/1;
    border: 1px solid var(--color-2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sub-gnb-2d-ul{
    font-size: var(--f-size-2);
    color: var(--color-4);
    display: flex;
    align-items: center;
    padding-left: clamp(0px, 4vw, 100px);
    gap: 5px;
    white-space: nowrap;
}
#nav-swiper{
    width: 100%;
    height: 100%;
}
#sub-nav-close{
    border:unset;
    padding: unset;
    background: unset;
    color: var(--color-white);
    position: absolute;
    top: 3vw;
    right: 3vw;
    z-index: 10;
    font-size: 2rem;
}
/*스크롤탑*/
.side{
    position: fixed;
    right: 35px;
    bottom: 70px;
    z-index: 95;
}
.go-top{
    width: 50px;
    height: 50px;
    border: 1px solid var(--color-2);
    border-radius: 50%;
    background-color: var(--color-1);
    color: var(--color-2);
    font-size: 1rem;
    padding: 15px;
    transition: all 0.5s;
}
.go-top:hover{
    background-color: var(--color-2);
    color: var(--color-1);
}
/*e:header*/

/*s:footer*/
.footer{
    padding-top: clamp(68px, 5.8vw, 110px);
    padding-bottom: clamp(68px, 5.8vw, 110px);
    border-top: 1px solid var(--color-2);
}
.footer-content{
    padding-left: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(20px, 3vw ,50px);
}
.footer-title{
    font-size: 1.25rem;
    font-weight: 700;
}
.footer-info{
    font-size: var(--f-size-3);
    line-height: 2.5;
}
.footer-copyright{
    font-size: var(--f-size-3);
}


@media(width < 1400px){
}
@media(width < 1024px){
    .header {
    }
    .logo img{
        max-width: 300px;
        max-height: 25px;
    }
    .menu-btn{
        width: 15px;
    }
    .menu-btn .menu-btn-wrap{
        gap: 3px;
    }
    .footer-content{
        padding-left: 0;
    }
    .sub-gnb{
        padding-top: clamp(0px, 20vw, 80px);
       display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }
    .sub-gnb .logo{
        position: absolute;
        top: clamp(0px, 5vw, 20px);
        left: 5vw;
    }
    .sub-gnb-1d-li{
        padding-left: 5vw;
        grid-template-columns: 15% 20% 65%;
    }
    .sub-gnb-title {
        padding-left: 5vw;
    }
    #nav-swiper{
        height: 80%;
    }
    #sub-nav-close{
        color: var(--color-black);
        padding-right: 20px;
    }
    .social-link{
        width: 30px;
        height: 30px;
    }
    .nav-right{
        display: flex;
        gap: 20px;
    }

}
@media(width < 768px){
    .gnb-1d-ul{
        gap: 0;
    }
    .gnb-1d-a{
        padding: 10px 5px;
    }
}
@media(width < 400px){

}

/*include*/
.hero-slider{
    /*padding-top: clamp(75px, 7vw, 120px);*/
    padding-left: clamp(20px, 5.3vw, 100px);
    padding-right: clamp(20px, 5.3vw, 100px);
    height: 100vh;
}
.hero-swiper{
    height: 100%;
}
.hero-swiper .swiper-slide{
    background-position: center;
}
.room-preview-swiper .swiper-slide img{
    aspect-ratio: 4/5;
}
.room-preview-swiper .text{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    font-size: var(--f-size-2);
}
.room-preview-swiper .text span:nth-child(1){
    color: var(--color-2);
}
@media(width < 1400px){
}
@media(width < 1024px){
    .hero-slider{
        height: 60vw;
    }
    .room-preview-swiper .swiper-slide img{
        aspect-ratio: 1/1;
    }
    .room-preview-swiper .text{
        display: none;
    }
}
@media(width < 768px){
}
@media(width < 576px){
}

/*common*/
.footer .wrap,
.section .wrap {
    padding-left: clamp(20px, 5.3vw, 100px);
    padding-right: clamp(20px, 5.3vw, 100px);
}


.page-title-section .wrap{
        display: flex;
        justify-content: space-between;
        padding-top: clamp( 80px, 11vw, 200px);
        padding-bottom: clamp( 60px, 6.3vw, 120px);
        position: relative;
        gap: 40px;
    }

.page-title-section .title,
.page-title-section .content{
        padding-left: clamp( 0px, 1.7vw, 32px);
        padding-right: clamp( 0px, 1.7vw, 32px);
    }
    .title-style{
        font-size: 2.5rem;
        word-break: keep-all;
    }
.page-title-section .content{
        text-align: right;
}
    .content-style,
    .content-style p{
        font-size: 1rem;
        line-height: 2;
    }

@media(width < 1400px){
}
@media(width < 1024px){
    .page-title-section .wrap .title,
    .page-title-section .wrap .content{
        padding-left: 0;
        padding-right: 0;
    }
    .title-style{
        font-size: 1.5rem;
    }
}
@media(width < 768px){
}
@media(width < 400px){
    .page-title-section .wrap{
        flex-direction: column;
    }
    .page-title-section .content-style,
    .page-title-section .content-style p{
        text-align: left;
    }
}

