@charset "utf-8";

* {
    font-family: "Noto Sans KR", sans-serif;
    color: #333;
    line-height: 1.2;
}
header {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 100;
}
header .inner {
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
header .inner button.menuBtn {
    background: none;
    font-family: xeicon !important;
    color: #fff;
    font-size: 24px;
}
header .inner .logo img {
    height: 113px;
}
header .inner > * {
    height: 143px;
    display: flex;
    align-items: center;
}
header .inner .gnb {
    z-index: 1001;
}
header .inner .gnb .gnb-close {
    font-family: xeicon !important;
    background: none;
    font-size: 20px;
    color: #fff;
    position: absolute;
    left: calc(100% + 15px);
    top: 15px;
    display: none;
}
header .inner .gnb-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: #000;
    opacity: 0.5;
    display: none;
}
header .inner .gnb .depth1 {
    display: flex;
}
header .inner .gnb .depth1 > li {
    position: relative;
}
header .inner .gnb .depth1 > li > a {
    color: #292929;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 20px;
    position: relative;
    transition: all 0.2s ease;
    display: block;
}

header .inner .gnb .depth1 > li.on > a {
    color: #212121;
    font-weight: 700;
}
header .inner .gnb .depth1 > li > a:hover {
    color: #f5343d;
}
header .inner .gnb .depth1 > li.on > a::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 2px;
    left: 0;
    bottom: -1px;
    background: #f5343d;
}
header .inner .gnb .depth2 {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    min-width: 160px;
    margin: 2px 0 0;
    text-align: left;
    background: #fff;
    font-size: 13px;
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    padding: 0;
    visibility: hidden;
    display: block;
    opacity: 0;
    transition: all 0.3s ease;
    overflow: hidden;
}
header .inner .gnb .depth2 > li > a {
    font-size: 13px;
    color: #212121;
    padding: 10px 20px;
    display: block;
    transition: all 0.3s ease;
}
header .inner .gnb .depth2 > li > a:hover {
    color: #fff;
    background-color: #f5343d;
}
header .inner .gnb .depth1 > li:hover .depth2 {
    visibility: visible;
    opacity: 1;
    display: block;
}

header .inner .line {
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 14px;
    background: rgba(37, 183, 0, 0.5);
    height: auto;
    color: #fff;
    transition: all 0.2s ease;
}
header .inner .line:hover {
    background: rgba(245, 52, 61, 0.6);
}
header .inner .line i {
    padding-right: 5px;
    font-size: 20px;
    color: #fff;
}

footer .copy {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    background: #2e7e7c;
    padding: 15px 0;
}
footer .footerWrap {
    padding: 30px 0;
    background: #383838;
}
footer .footerWrap .inner {
    max-width: 980px;
    padding: 0 15px;
    margin: auto;
    display: flex;
}
footer .footerWrap .inner h2 {
    width: 50%;
    font-size: 12px;
    color: #fff;
    font-weight: 400;
}
footer .footerWrap .inner > div {
    width: 50%;
    display: flex;
}
footer .footerWrap .inner ul {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
footer .footerWrap .inner ul li {
    display: flex;
    padding: 0 15px;
}
footer .footerWrap .inner ul li a,
footer .footerWrap .inner ul li button {
    font-size: 12px;
    color: #fff;
    font-weight: 400;
    background: none;
}
footer .footer_info {
    background: #2e7e7c;
    text-align: center;
    padding-top: 15px;
}

footer .footer_info p {
    color: #fff;
    font-weight: 400;
    font-size: 12px;
    text-align: center;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    z-index: 1001;
    display: none;
}
.popup .pop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    height: 72px;
}
.popup .pop-header h5 {
    font-size: 18px;
    font-weight: 500;
}
.popup .pop-close {
    font-family: xeicon !important;
    background: none;
    font-size: 20px;
}
.popup .pop-segment {
    max-height: calc(80vh - 96px);
    overflow-y: auto;
    padding: 24px;
    padding-top: 0;
    font-size: 15px;
    margin-bottom: 24px;
}
.popup-bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: #000;
    display: none;
    opacity: 0.5;
}
main .container {
    max-width: 980px;
    padding: 0 15px;
    margin: auto;
    text-align: center;
}
main .container > hr {
    height: 30px;
}
main .container .bnr {
    margin: auto;
}
main .container .bnr > * {
    margin: 15px auto;
}
main .container .video-container {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
}
main .container .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
main .container .fa {
    font-family: FontAwesome !important;
}
main .container .ourclinic {
    margin: 60px 0;
}
main .container .ourclinic h3 {
    color: #36ccc6;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 60px;
}
main .container .ourclinic ul {
    display: flex;
    flex-wrap: wrap;
    gap: 60px 0;
}
main .container .ourclinic ul li {
    width: calc(100% / 4);
}
main .container .ourclinic ul li i {
    font-size: 48px;
    color: #000;
    margin-bottom: 15px;
}
main .container .ourclinic ul li p {
    color: #36ccc6;
    font-size: 15px;
    font-weight: 700;
    word-break: keep-all;
}
main .container .contact {
    background: #383838;
    padding: 60px 0;
    position: relative;
}
main .container .contact::before {
    content: "";
    display: block;
    position: absolute;
    height: 100%;
    width: 100vw;
    background: #383838;
    z-index: -1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
}
main .container .contact h3 {
    font-size: 48px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 60px;
}
main .container .contact ul {
    display: flex;
    flex-wrap: wrap;
}
main .container .contact ul li {
    width: calc(100% / 3);
    text-align: center;
}
main .container .contact ul li a {
    display: inline-block;
}
main .container .contact ul li i {
    color: #ffffff;
    font-size: 40px;
    background-color: #f5343d;
    border-radius: 100%;
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}
main .container .contact ul li p {
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    word-break: keep-all;
    margin-top: 15px;
    display: block;
}

main .container.intro {
    max-width: none;
    padding: 0;
    width: 100%;
    height: 100dvh;
    display: flex;
}
main .container.intro > div {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
main .container.intro > div:last-child {
    border-left: 1px solid #ddd;
}
main .container.intro > div a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}
main .container.intro > div a:hover {
    scale: 1.1;
}
main .container.intro > div a p {
    font-size: 65px;
    font-weight: 700;
    line-height: 1;
}
main .container.intro > div a span {
    font-size: 18px;
    margin-top: 15px;
}
main .container.intro > div a img {
    width: 80px;
    border: solid 1px #ddd;
    margin-bottom: 20px;
}
/* main .container.intro > div a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    opacity: 0.4;
    transition: all 0.3s ease;
}
main .container.intro > div a:hover:before {
    opacity: 1;
    background: transparent;
}
main .container.intro > div a img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: -1;
    transition: all 0.3s ease;
}
main .container.intro > div a:hover img {
    scale: 1.1;
} */
.sub1_sw {
    margin-bottom: 60px;
}
.sub1_sw .swiper-slide {
    position: relative;
}
.sub1_sw .swiper-slide .segment {
    background: rgba(46, 126, 124, 0.8);
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 15px;
}
.sub1_sw .swiper-slide .segment p {
    font-size: 14px;
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.sub1_sw .swiper-slide .segment i {
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    margin-left: 15px;
}
.sub1_sw .swiper-slide img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.m_ct {
    display: none !important;
}

@media (max-width: 1024px) {
    .m_ct {
        display: block !important;
    }
    .pc_ct {
        display: none !important;
    }
    header {
        background: #383838;
    }
    header .inner {
        height: 48px;
    }
    header .inner > * {
        height: auto;
    }
    header .inner .logo {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    header .inner .logo img {
        height: 34px;
    }
    header .inner .line {
        font-size: 0;
        background: none;
        padding: 0;
        transition: none;
    }
    header .inner .line i {
        padding: 0;
        font-size: 24px;
    }

    header .inner .line i::before {
        content: "\ea09";
    }

    header .inner .gnb {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        background: #383838;
        max-width: 300px;
        width: calc(100% - 60px);
        display: block;
    }
    header .inner .gnb.is-animated {
        transition: transform 0.3s cubic-bezier(0.59, 0.535, 0.15, 0.86);
    }
    header .inner .gnb .gnb-close {
        display: block;
    }
    header .inner .gnb .depth1 {
        display: flex;
        flex-direction: column;
    }
    header .inner .gnb .depth1 > li {
        position: relative;
        border-bottom: 1px solid rgba(238, 238, 238, 0.2);
    }

    header .inner .gnb .depth1 > li > a {
        display: block;
        color: #eee;
        font-weight: 300;
        font-size: 14px;
        padding: 13px 50px 14px 20px;
    }

    header .inner .gnb .depth1 > li > a:hover {
        color: #eee;
    }
    header .inner .gnb .depth1 > li.on > a {
        color: #f5343d;
        font-weight: 300;
    }
    header .inner .gnb .depth1 > li.on > a::before {
        display: none;
    }

    header .inner .gnb .depth1 > li > button {
        width: 100%;
        color: #eee;
        font-weight: 300;
        font-size: 14px;
        padding: 13px 50px 14px 20px;
        padding-right: 20px;
        background: none;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    header .inner .gnb .depth1 > li.on > button {
        color: #f5343d;
        font-weight: 300;
    }
    header .inner .gnb .depth1 > li > button i {
        color: #eee;
        font-size: 14px;
        transition: all 0.3s;
    }
    header .inner .gnb .depth1 > li.active > button i {
        transform: rotate(180deg);
    }
    header .inner .gnb .depth2 {
        position: initial;
        min-width: auto;
        border-radius: 0;
        box-shadow: none;
        visibility: initial;
        opacity: 1;
        border: none;
        transition: none;
        margin: 0;
        width: 100%;
        background: none;
    }
    header .inner .gnb .depth2 li a {
        padding: 8px 50px 8px 20px;
        padding-left: 30px;
        color: #eee;
        font-weight: 300;
    }
    footer .footerWrap {
        padding-top: 20px;
    }
    footer .footerWrap .inner {
        flex-direction: column-reverse;
    }
    footer .footerWrap .inner ul {
        gap: 12px;
    }
    footer .footerWrap .inner ul li {
        padding: 0;
    }
    footer .footerWrap .inner h2 {
        margin-top: 30px;
    }
    .popup {
        width: calc(100% - 30px);
    }
    .popup .pop-header {
        padding: 15px;
        height: 54px;
    }
    .popup .pop-header h5 {
        font-size: 16px;
    }
    .popup .pop-segment {
        padding: 15px;
        padding-top: 0;
        font-size: 13px;
        margin-bottom: 15px;
    }

    main .container .bnr > * {
        margin: 8px auto;
    }
    main .container .ourclinic ul {
        max-width: 500px;
        margin: auto;
    }
    main .container .ourclinic ul li {
        width: calc(100% / 2);
    }
    main .container .ourclinic h3,
    main .container .contact h3 {
        font-size: 28px;
    }

    main .container .contact ul li {
        width: 100%;
    }
    main .container .contact ul {
        gap: 20px;
    }
    main .container.intro {
        flex-direction: column;
    }
    main .container.intro > div {
        width: 100%;
    }
    main .container.intro > div:last-child {
        border: none;

        border-top: 1px solid #ddd;
    }
    main .container.intro > div a {
        scale: 1 !important;
    }
    main .container.intro > div a p {
        font-size: 45px;
    }

    main .container.intro > div a img {
        width: 60px;
        margin-bottom: 15px;
    }
    main .container.intro > div a span {
        margin-top: 10px;
    }
    .sub1_sw .swiper-slide .segment {
        padding: 15px 10px;
    }
    .sub1_sw .swiper-slide .segment p {
        font-size: 13px;
    }
}
