@charset "utf-8";

/* common.css */
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-size: 1.6rem;
    line-height: 1.5;
    color: #222;
    overflow-x: hidden;
    letter-spacing: -.5px;
    position: relative;
    word-break: auto-phrase;
}




/* 공통 */
.mo {
    display: none;
}

@media (max-width:1024px) {
    .pc {
        display: none;
    }

}

@media (max-width:768px) {
    .mo {
        display: block;
    }

}



/* header */

.header {
    position: fixed;
    top: 0;
    color: #fff;
    position: fixed;
    background-color: transparent;
    z-index: 995;
    width: 100%;
}

.header .wrapper {
    transition: background 0.4s ease;
}

.header .h_logo {
    width: 175px;
    text-align: center;
    margin: 0 auto;

    >a {
        width: 100%;
        cursor: pointer;
        margin: 50px 0 20px;
        display: inline-block;
    }

    >a>img {
        width: 100%;
    }
}

.sub .header .h_logo {
    width: 210px;
}

.sub .header .h_logo img {
    transition: all 0.3s ease;
}

.header .gnb {
    display: flex;
    font-size: var(--font-size_18);
    justify-content: center;
}

.header .gnb>li {
    padding: 0 50px;
    position: relative;
}

.header .gnb>li>a {
    color: #fff;
    padding: 30px 0;
    display: inline-block;
}

.gnb li a {
    transition: color 0.3s ease;
}

.header .drop_menu {
    width: 500%;
    display: flex;
    position: absolute;
    left: 0;
    z-index: 995;
    height: 450px;
}


.header .drop_menu .line {
    background: #ccc;
    width: 1px;
    height: 100%;
}

.header .drop_menu .line:nth-of-type(1) {
    margin-right: 40px;
}

.header .drop_menu .line:nth-of-type(2) {
    margin: 0 30px 0 150px;
}


.header .lnb {
    padding-top: 30px;
}

.header .lnb li a {
    color: #333;
    font-size: 1.6rem;
    display: inline-block;
    padding: 10px;
}


.header .info {
    padding-top: 40px;
}

.header .info>a>div {
    width: 300px;
    margin-bottom: 20px;
}

.header .info>a>div img {
    width: 100%;
}

.header .info p {
    font-size: 1.5rem;
    color: #333;
}



.header .drop_menu {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.header .drop_menu.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.header .drop_bg {
    height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    opacity: 0;
    background: #fff;
}

.header .drop_bg.show {
    height: 450px;
    opacity: .9;
    background: #fff;
}


/* 모바일 헤더 */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 65px;
    z-index: 500;
}

.m-header>.m-top-bar {
    width: 100%;
    height: 65px;
    position: relative;
    padding: 0 20px;
    box-sizing: border-box;
}

.m-header.m-header-scroll {
    background-color: #fff;
    border-bottom: 1px solid #dfdfdf;
}

/* 모바일 로고 */
.m-header>.m-top-bar>.m-top-logo {
    position: absolute;
    top: 50%;
    transform: translatey(-50%);
}

.m-header>.m-top-bar>.m-top-logo>a>img {
    height: 33px;
}

/* 모바일 메뉴 아이콘 */
.m-header>.m-top-bar>.m-global-nav>.m-menu-ico {
    position: absolute;
    top: 22px;
    right: 15px;
    width: 20px;
    height: 15px;
    cursor: pointer;
}

/* .m-header>.m-top-bar>.m-global-nav>.m-menu-ico>div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
} */

.m-header>.m-top-bar>.m-global-nav>.m-menu-ico>div:nth-child(2) {
    top: 50%;
    transform: translatey(-50%);
}

.m-header>.m-top-bar>.m-global-nav>.m-menu-ico>div:nth-child(3) {
    top: auto;
    bottom: 0;
}

/* 모바일 메뉴 */
.m-menu-wrap {
    position: fixed;
    /* top: 65px; */
    left: 0;
    width: 100%;
    height: 0;
    /* background-color: rgba(76, 75, 73, .6); */
    background-color: rgba(255, 255, 255, .8);
    z-index: 400;
    overflow-y: auto;
    transition: height .5s;
}

.m-menu-wrap.active {
    height: 100%;
}

.m-menu-wrap>.m-menu-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: top .8s;
}

.m-menu-wrap.active>.m-menu-container {
    top: 65px;
}

.m-menu-wrap>.m-menu-container>ul>li {
    border-bottom: 1px solid #dfdfdf;
}

.m-menu-wrap>.m-menu-container ul>li>a {
    display: block;
    font-size: 14px;
    padding: 20px 10px;
    background-color: #fff;
    text-align: center;
    color: #876445;
    cursor: pointer;
}

.m-menu-wrap>.m-menu-container ul>li>ul.sub-2-menu {
    display: none;
}

.m-menu-wrap>.m-menu-container ul>li>ul.sub-2-menu>li>a {
    padding: 15px 10px;
    background-color: #f2f2f2;
    border-top: 1px solid #dfdfdf;
    color: #333;
}

/* 기타 반응형 */
@media (max-width:1200px) {

    .wrapper,
    .drop_bg {
        display: none !important;
    }

    .header .info {
        display: none;
    }

}

@media (min-width:1201px) {
    .mobile-only {
        display: none !important;
    }
}







/* location */

#location {
    display: flex;
    background: #f6f2ee;
    color: #222 !important;
    justify-content: space-between;
}

#location .txt {
    margin-left: calc(50% - 700px);
    width: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

#location .txt p {
    font-weight: 500;
    font-size: var(--font-size_18);
}

#location .txt .call {
    font-size: var(--font-size_40);
    font-weight: 700;
}

#location .txt .time tr {
    margin-bottom: 10px;
    font-size: var(--font-size_18);
}

#location .txt .time tr td:nth-of-type(1) {
    padding: 10px;
}

#location .txt .time tr td:nth-of-type(2) {
    font-weight: 500;
}

#location .txt .button {
    display: flex;
    gap: 15px;
}

#location .txt .button a {
    padding: 10px 25px;
    color: var(--main-color);
    font-size: var(--font-size_18);
    font-weight: 700;
    background: #ecdec2;
}

.nt:after {
    display: inline-block;
    clear: both;
    content: "(야간진료)";
    color: #d87676ff;
    font-size: var(--font-size_18);
    margin-left: 5px;
}


#daumRoughmapContainer1759315632394 {
    width: 100%;
}

.root_daum_roughmap .cont {
    display: none;
}

.root_daum_roughmap .wrap_controllers {
    display: none;
}

.map .map_mo {
    display: none;
}


@media (max-width:1450px) {
    #location .txt {
        margin-left: 5%;
        width: 700px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 30px;
    }

    #daumRoughmapContainer1759315632394 {
        width: 500px !important;
    }
}

@media (max-width:1024px) {
    #location {
        display: block;
    }

    #location .txt {
        width: 90%;
        padding: 10% 0;
        margin: 0 10%;
    }

    #location .txt .button {
        margin: 0;
    }

    #location .txt .time tr td:nth-of-type(2) {
        text-align: left;
    }

    .map_pc #daumRoughmapContainer1759315632394 {
        width: 100% !important;
    }

    .map_pc .root_daum_roughmap .wrap_map {
        height: 400px !important;
    }
}

@media (max-width:768px) {
    #location .txt {
        margin: 0 5%;
    }

    .map .map_mo {
        display: block;
    }

    .map .map_pc {
        display: none;
    }

    #daumRoughmapContainer1759317412813 {
        width: 100% !important;
    }
}




/* footer */

#footer {
    background: #876445;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

#footer ul {
    display: flex;
    justify-content: center;
    gap: 30px;
}

#footer ul li:nth-of-type(3) {
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
}

#footer ul a {
    color: #fff;
}

#footer h1 {
    width: 150px;
    margin: 0 auto 30px;

    >img {
        width: 100%;
    }
}

#footer .copy {
    font-weight: 200;
    opacity: .5;
    margin-top: 10px;
}

.f-info {
    >p {
        display: inline-block;
    }

    >span {
        margin: 0 10px;
    }
}

@media (max-width: 768px) {
    .f-info {
        margin: 5px auto;

        >p {
            display: block;
        }

        >span {
            display: none;
        }
    }
}