@charset "UTF-8";

.intro-ani {
    display: block;
    opacity: 0;
    transform: translateY(-100%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    transform: translateY(calc(var(--header-height) * -1));
    /* top: calc(var(--header-height) * -1); */
    left: 0;
    right: 0;
    padding-right: var(--padding-right);
    z-index: 999;
    background-color: #fff;
    transition: transform .4s ease-in-out;
    will-change: transform;
}

.header.scroll-down {
    transform: translateY(0);
}

.header::before {
    content: '';
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: 0;
    background-color: #fff;
    transition: .3s;
    pointer-events: none;
}

.header.on::before {
    height: 8rem;
}

.header .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 1.5rem min(4.16vw, 8rem);
}

/* Logo */
.header .group-logo {
    position: relative;
    width: 100%;
    max-width: 13.8rem;
    z-index: 10;
}

.header .logo img {
    width: 100%;
    object-fit: cover;
}

/* Main Navigation */
.header .group-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    padding-right: var(--padding-right);
    transform: translateY(-50%);
}

.header .nav-list {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
}

.header .nav-item {
    display: flex;
    align-items: center;
    height: var(--header-height);
    padding: 0 min(1.4vw, 2.7rem);
    font-size: 1.8rem;
    color: var(--color-gray5);
    letter-spacing: -0.32px;
    transition: .3s;
}

/* .header .depth1-link { display: flex; align-items: center; height: var(--header-height); padding: 0 min(1.4vw, 2.7rem); font-size: 1.8rem; color: var(--color-gray5); letter-spacing: -0.32px; transition: .3s;} */
.header .depth1-link:hover,
.header .depth1-link:focus,
.header .depth2-link:hover,
.header .depth2-link:focus {
    color: var(--color-primary2);
}

.group-nav .depth2-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: min(2.8vw, 5.4rem);
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 995;
    width: 100%;
    height: 8rem;
    border-top: 1px solid var(--color-gray4);
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    transition: .3s .1s;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.header .depth2-list.show {
    opacity: 1;
    visibility: visible;
}

.header .depth2-link {
    font-size: 1.6rem;
    line-height: 1.3;
    letter-spacing: -0.36px;
    color: var(--color-gray5);
    transition: .3s;
}

/* Utility Area */
.header .group-util {
    display: flex;
    align-items: center;
    gap: min(1vw, 2rem);
    position: relative;
}

.header .util-area {
    display: flex;
    gap: min(0.83vw, 1.6rem);
}

.util-area .btn-util {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.5rem;
    color: var(--color-gray7);
    letter-spacing: -0.3px;
}

.util-area .ico {
    width: 4.8rem;
    height: 4.8rem;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}

.util-area .ico-signin {
    background-image: url(/img/common/ico-signin.svg);
}

.util-area .ico-logout {
    background-image: url(/img/common/ico-logout.svg);
}

.group-util .btn-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 4.8rem;
    height: 4.8rem;
    padding: 1.3rem;
}

.group-util .btn-hamburger span {
    width: 100%;
    height: 0.2rem;
    border-radius: 0.2rem;
    background-color: var(--color-gray5);
    transition: transform .4s, background-color .4s, opacity .4s;
}

.header.open .btn-hamburger span:nth-child(1) {
    transform: translateY(1rem) rotate(-45deg);
}

.header.open .btn-hamburger span:nth-child(2) {
    transform: translate(-50%);
    opacity: 0;
}

.header.open .btn-hamburger span:nth-child(3) {
    transform: translateY(-1rem) rotate(45deg);
}

/* Aside Menu */
.header .group-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--header-height));
    z-index: 995;
    background-color: #fff;
}

.header .menu-inner {
    height: 100%;
    overflow-y: auto;
}

.header .menu-link {
    font-family: "Noto Serif KR", serif;
    font-weight: 500;
    color: var(--color-primary2);
}

.group-menu .depth2-link {
    display: block;
}

@keyframes rotateTxt {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 병원 정보 */
.sc-info {
    display: grid;
    grid-template-columns: 44.8% 55.2%;
    grid-template-rows: repeat(2, auto);
    border-top: 1px solid var(--color-gray4);
}

.sc-info .cnt-left {
    padding: 10rem 8.3vw 0 4.6875vw;
}

.sc-info .group-cnt {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 6.25vw;
}

.sc-info .info-box-01 {
    width: 100%;
    max-width: 32.4rem;
}

.sc-info .info-box-02 {
    flex-shrink: 0;
}

.sc-info .info-ttl {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.56px;
}

.sc-info .info-txt {
    margin-top: 4rem;
}

.sc-info .info-txt .phone {
    font-family: "Spoqa Han Sans Neo";
    font-size: 4.4rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-primary);
}

.sc-info .info-txt .address {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.4px;
}

.sc-info .btn-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem 1.2rem;
    margin-top: 4rem;

    width: fit-content;
    min-width: 0;
}

.sc-info .btn-wrap .btn {
    justify-content: center;
    gap: 2px;
    width: 100%;
    max-width: 15.6rem;
    padding: 0.8rem 2.4rem;
    border: 1px solid var(--color-gray4);
    white-space: nowrap;
}

.sc-info .btn-wrap .btn.btn-naver {
    border-color: #03C75A;
    background-color: #03C75A;
    color: #fff;
}

.sc-info .btn-wrap .btn.btn-kakao {
    border-color: #FFDC00;
    background-color: #FFDC00;
}

.sc-info .btn-wrap .btn.btn-google {
    background-color: #fff;
}

.sc-info .btn-wrap .btn.btn-tmap {
    background-color: #fff;
}

.sc-info .btn-wrap .btn-naver .ico {
    background: url(/img/common/ico-naver.svg) no-repeat center center / 100% auto;
}

.sc-info .btn-wrap .btn-kakao .ico {
    background: url(/img/common/ico-kakaomap.svg) no-repeat center center / 100% auto;
}

.sc-info .btn-wrap .btn-google .ico {
    background: url(/img/common/ico-google.svg) no-repeat center center / 100% auto;
}

.sc-info .btn-wrap .btn-tmap .ico {
    background: url(/img/common/ico-tmap.svg) no-repeat center center / 100% auto;
}

.sc-info .btn-wrap .ico {
    display: block;
    width: 2.4rem;
    aspect-ratio: 1 / 1;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% auto;
}

.sc-info .time-item {
    display: flex;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.4px;
}

.sc-info .day {
    width: 14rem;
}

.sc-info .cnt-right {
    grid-row: span 2;
    border-left: 1px solid var(--color-gray4);
}

.sc-info .cnt-right #map {
    width: 100%;
    height: 100%;
}

.sc-info .cnt-right img {
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/* Footer */
.footer {
    grid-row: 2;
    margin-top: 8rem;
    /* padding-left: 8.3vw;
    padding-right: 4.6875vw; */
    padding-bottom: 7rem;
    color: var(--color-gray7);
    font-size: 1.6rem;
    line-height: 1.3;
    letter-spacing: -0.32px;
}

.footer .ft-top {
    border-top: 1px solid var(--color-gray4);
    padding: 4rem 0;
}

.footer .f-nav-list {
    display: flex;
    gap: 2rem;
}

.footer .f-nav-item {
    width: fit-content;
}

.footer .ft-logo {
    width: 13.8rem;
    max-width: 100%;
}

.footer .ft-address {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
    margin-top: 1.6rem;
}

.footer .company-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.4rem;
}

.footer .copyright {
    display: block;
    margin-top: 4rem;
}

@media screen and (min-width: 1025px) {

    /* header pc, mobile 분기 */
    .group-menu.mob,
    .header .util-area.mob {
        display: none;
    }

    .header .depth1-link {
        font-size: 2.16rem;
    }

    .header .depth2-link {
        font-size: 1.92rem;
    }

    /* Aside Menu */
    .header .group-menu {
        clip-path: inset(0 0 100% 0);
        transition: .4s ease-in-out;
    }

    .header.open .group-menu {
        clip-path: inset(0 0 0% 0);
    }

    .header .menu-inner {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: min(4.16vw, 8rem);
        max-width: 176rem;
        margin: 0 auto;
        padding: 6.5rem min(6.25vw, 12rem);
    }

    .header .menu {
        position: relative;
        flex: 1;
        margin-top: 1.5rem;
    }

    .header .menu::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: -6rem;
        width: 20rem;
        aspect-ratio: 1 / 1;
        background: url(/img/common/ico-circle-txt.svg) no-repeat center center / 100% auto;
        animation: rotateTxt 30s linear infinite;
        z-index: -1;
        pointer-events: none;
    }

    .header .menu-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, 19rem);
        grid-template-rows: repeat(2, auto);
        gap: 8rem;
    }

    .header .menu-link {
        font-size: 2.64rem;
        letter-spacing: -0.88px;
    }

    .group-menu .depth2-list {
        margin-top: 2.42rem;
    }

    .group-menu .depth2-item+.depth2-item {
        margin-top: 1.8rem;
    }

    .group-menu .depth2-link {
        font-size: 2.178rem;
    }

    .group-menu .depth2-link:hover {
        color: var(--color-primary);
    }

    .group-menu .img-area {
        position: relative;
        width: 27vw;
        max-width: 52rem;
        aspect-ratio: 520 / 670;
    }

    .group-menu .img-area img {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        transition: .4s ease;
    }

    .group-menu .img-area img.active {
        z-index: 2;
        opacity: 1;
    }
}

@media screen and (min-width: 1441px) {

    /* Aside Menu */
    .header .depth1-link {
        font-size: 1.8rem;
    }

    .header .menu-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, 16rem);
        grid-template-rows: repeat(2, auto);
        gap: 8rem;
    }

    .header .menu-link {
        font-size: 2.4rem;
        letter-spacing: -0.88px;
    }

    .group-menu .depth2-link {
        font-size: 1.8rem;
    }
}

@media screen and (max-width: 1400px) {

    /* Hospital Info Section */
    .sc-info .info-ttl {
        font-size: 3.08rem;
    }

    .sc-info .info-txt .phone {
        font-size: 4.84rem;
    }

    .sc-info .info-txt .address {
        font-size: 2.2rem;
    }

    .sc-info .btn-wrap .btn {
        max-width: 17.16rem;
    }

    .sc-info .time-item {
        font-size: 2.2rem;
    }

    .sc-info .group-cnt {
        flex-wrap: wrap;
        direction: ltr;
    }
}

@media screen and (max-width: 1200px) {
    .sc-info .info-box-01 {
        width: 100%;
        max-width: unset;
    }
}

@media screen and (max-width: 960px) {

    /* Hospital Info Section */
    .sc-info {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .sc-info .group-cnt {
        flex-wrap: wrap;
    }

    .sc-info .info-box-01 {
        max-width: 100%;
    }

    .sc-info .info-ttl {
        font-size: 3.388rem;
    }

    .sc-info .info-txt .phone {
        font-size: 5.324rem;
    }

    .sc-info .info-txt .address {
        font-size: 2.42rem;
    }

    .sc-info .btn-wrap .btn {
        max-width: 18.876rem;
    }

    .sc-info .time-item {
        font-size: 2.42rem;
    }

    .footer {
        grid-row: 3;
    }

    .footer .company-info {
        flex-direction: column;
        gap: .8rem;
    }

    .footer .f-nav {
        overflow-x: auto;
    }
}

@media screen and (max-width: 1024px) {

    /* header pc, mobile 분기 */
    .header .group-nav,
    .header .util-area.pc,
    .group-menu.pc {
        display: none;
    }

    /* Header */
    .header .header-inner {
        height: var(--header-height);
        padding: 1.6rem 0 1.6rem 2.2rem;
    }

    /* Logo */
    .header .group-logo {
        max-width: 10.6rem;
    }

    /* 모바일 메뉴 */
    .group-menu.mob,
    .header .util-area.mob {
        display: block;
    }

    .header .group-menu {
        transform: translateX(100%);
        will-change: transform;
    }

    /* .header.open .group-menu.mob { transform: translateX(0);  will-change: transform;} */
    .header .menu-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
        position: relative;
        width: 100%;
        padding: 1.8rem 3rem;
        border-bottom: 1px solid var(--bg-gray1);
        font-size: 1.6rem;
        letter-spacing: -0.64px;
    }

    .header .menu-link::after {
        content: '';
        width: 2.4rem;
        height: 2.4rem;
        background: url(/img/common/arw-bottom-bk.svg) no-repeat center center / 100% auto;
        pointer-events: none;
        transform: rotate(0deg);
        transition: .4s;
    }

    .header .menu-link.open::after {
        transform: rotate(180deg);
    }

    .group-menu .depth2-list {
        display: none;
        background-color: var(--bg-gray2);
    }

    .group-menu .depth2-link {
        display: block;
        width: 100%;
        padding: 1.5rem 3.6rem;
        border-bottom: 1px solid var(--bg-gray1);
        font-weight: 300;
        font-size: 1.6rem;
        letter-spacing: -0.32px;
    }

    /* Utility Area */
    .header .util-area.mob {
        display: flex;
        gap: 1.6rem;
        padding: 2.4rem 3rem;
        font-size: 1.6rem;
    }

    .util-link {
        display: flex;
        align-items: center;
    }

    .util-area .ico {
        width: 3rem;
        height: 3rem;
    }

    /* hamburer button */
    .group-util .btn-hamburger {
        width: 5.8rem;
        height: 5.8rem;
        padding: 2rem;
    }

    .header.open .btn-hamburger span:nth-child(1) {
        transform: translateY(.8rem) rotate(-45deg);
    }

    .header.open .btn-hamburger span:nth-child(3) {
        transform: translateY(-.8rem) rotate(45deg);
    }

    /* 병원 정보 */
    .sc-info {
        display: flex;
        flex-direction: column;
        direction: ltr;
    }

    .sc-info .cnt-left {
        padding: 3rem 2rem 0 2rem;
    }

    .sc-info .group-cnt {
        gap: 2.4rem;
    }

    .sc-info .info-box-01 {
        width: 100%;
        max-width: unset;
    }

    .sc-info .info-ttl {
        font-size: 2.2rem;
        letter-spacing: -0.44px;
    }

    .sc-info .info-txt {
        margin-top: 2.4rem;
    }

    .sc-info .info-txt .phone {
        font-size: 3rem;
    }

    .sc-info .info-txt .address {
        font-size: 1.7rem;
        letter-spacing: -0.34px;
    }

    .sc-info .btn-wrap {
        margin-top: 3rem;
    }

    .sc-info .btn-wrap .btn {
        max-width: 15.6rem;
    }

    .sc-info .time-item {
        font-weight: 300;
        font-size: 1.7rem;
        letter-spacing: -0.34px;
    }

    .sc-info .cnt-right {
        grid-row: 2;
        width: 100%;
        aspect-ratio: 375 / 400;
        margin-top: 5rem;
    }

    .sc-info .cnt-right img {
        height: 100%;
    }

    /* Footer */
    .footer {
        width: 100%;
        /* margin-top: 0; */
        padding: 0 0 10rem;
        border-top: none;
        font-size: 1.4rem;
        letter-spacing: -0.28px;
        overflow: hidden;
    }

    .footer .ft-top {
        padding: 2rem 0;
    }

    .footer .f-nav {
        width: 100%;
        margin: 0 auto;
    }

    .footer .f-nav-list {
        width: max-content;
    }

    .footer .f-nav-item {
        width: fit-content;
        min-width: 0;
        flex-shrink: 0;
    }

    .footer .f-nav a {
        white-space: nowrap;
    }

    .footer .ft-logo {
        width: 10.5rem;
    }

    .footer .ft-address {
        gap: .8rem;
        margin-top: 1.4rem;
    }

    .footer .copyright {
        display: none;
    }
}