:root {
    --ani: cubic-bezier(.32, .94, .6, 1)
}


.main .sm_Tit {
    color: var(--gray);
    font-weight: 500;
    text-align: center;
}

.main .mainTit {
    font-weight: 600;
    text-align: center;
}

.main .mainTit span {
    font-weight: 800;
    color: var(--pointcolor)
}

.main .zum {
    position: relative;
    padding-left: 1rem;
}

.main .zum:after {
    content: '· ';
    left: 0;
    top: 0;
    position: absolute;
    color: var(--pointcolor);
}

.KB_Btn {
    padding: .7rem 1.3rem;
    border: 1px solid #fff;
    display: flex;
    justify-content: space-between;
    border-radius: 1.375rem;
}

.KB_Btn {
    position: relative;
    white-space: nowrap;
    background-color: transparent;
    color: transparent;
    width: 13.125rem;
    transition-property: all;
    transition-duration: 0.6s;
    z-index: 9;
    overflow: hidden;
    text-shadow: -50px 0 0 transparent, 0 0 0 #fff;
    transition-timing-function: cubic-bezier(0.77, 0, 0.175, 1);
}

.KB_Btn .material-symbols-outlined {
    font-size: 1.2rem !important;
}

.KB_Btn:before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fff;
    transform: translate(-100%, 0);
    content: "";
    position: absolute;
    z-index: -3;
    transition-property: inherit;
    transition-duration: inherit;
    transition-timing-function: inherit;
}

.KB_Btn:hover {
    text-shadow: 0 0 0 var(--pointcolor), 50px 0 0 transparent;
}

.KB_Btn:hover:before {
    transform: translate(0, 0);
}

.main .Sky {
    color: #8ad3f5;
}

.main .xgap3 {
    --x-gap: 3rem;
}

.main .ygap5 {
    --y-gap: 5rem;
}

/* mainSlide */
#mainSlide {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* aspect-ratio: 16/8;  */
    margin-top: 70px;
    height: 90vh;
    transition: transform .6s var(--ani)
}

#mainSlide .mainSwiper {
    opacity: 0;
    transform: scale(1.05);
    width: 100%;
    height: 100%;
    transition: all 2s var(--ani)
}

#mainSlide .mainSwiper.on {
    opacity: 1;
    transform: scale(1)
}

#mainSlide .mainSwiper .swiper-slide {
    height: 100%;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: transform .3s
}

#mainSlide .mainSwiper .swiper-slide-active {
    transform: skew(0)
}

#mainSlide .bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: 80% no-repeat;
    background-size: cover
}

#mainSlide .bg.bg-1 {
    background-image: url('/img/main/mainSlide01.jpg')
}

#mainSlide .mainSwiper .swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem 2.5rem;
    bottom: 5rem;
}

#mainSlide .mainSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #e72837;
    opacity: 1;
    margin: 0;
}

#mainSlide .mainSwiper .swiper-pagination-bullet-active {
    position: relative;
    transition: .3s;
}

#mainSlide .mainSwiper .swiper-pagination-bullet-active:after {
    content: '';
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #e72837;
    position: absolute;
    left: -7px;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}


/* special */
#special .TabMenu {
    width: 100%;
    text-align: center;
    --y-gap: 0;
}

#special .TabMenu li {
    outline: 1px solid #e1e1e1;
    background-color: #f9fbfc;
    padding: 1.6rem .5rem;
    cursor: pointer;
}

#special .TabMenu li.active {
    background-color: var(--pointcolor);
    color: #fff;
    font-weight: 700;
}

#special .TabContent .Img {
    align-self: stretch;
    justify-self: stretch;
    border-radius: 1.25rem;
    overflow: hidden;
    background: no-repeat center / cover;
    min-height: 28.875rem;
}

#special .TabContent .Desc {
    padding-left: 2.625rem;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    justify-content: space-between;
}

#special .TabContent .Desc2 {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#special .TabContent .Desc2 img {
    width: 9.8125rem;
}

#special .TabContent ul {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

#special .TabContent ul li {
    color: var(--pointcolor);
    font-weight: 600;
}



/* rollingBox */
#rollingBox {
    width: 100%;
    overflow: hidden;
    padding: 6.5rem 0;
}

#rollingBox .rolling {
    white-space: nowrap;
    color: #e9f4fb;
}

#rollingBox .rolling .rolling_text {
    font-size: 7.5rem;
    font-weight: 800;
    letter-spacing: 1rem;
    display: inline-block;
}



/* clinic */
#clinic {
    background: no-repeat top center url('/img/main/clinicBg.jpg');
    background-size: cover;
}

#clinic .clinicBox {
    display: flex;
    align-items: center;
    gap: .7rem;
}

#clinic .clinicBox .box {
    width: 14%;
    align-self: stretch;
    height: 475px;
    border-radius: 1.25rem;
    padding: 1rem 1.5rem;
    transition: width 0.6s ease;
}

#clinic .clinicBox .box.on {
    width: 72%;
    border-radius: 1.875rem;
    padding: 5rem 4rem;
}

#clinic .clinicBox .box1.on {
    background: no-repeat center right url('/img/main/clinic01.jpg');
    background-size: cover;
}

#clinic .clinicBox .box2.on {
    background: no-repeat center right url('/img/main/clinic02.jpg');
    background-size: cover;
}

#clinic .clinicBox .box3.on {
    background: no-repeat center right url('/img/main/clinic03.jpg');
    background-size: cover;
}

#clinic .clinicBox .box1 {
    background-color: #00283f;
}

#clinic .clinicBox .box2 {
    background-color: #005281;
}

#clinic .clinicBox .box3 {
    background-color: #00283f;
}

#clinic .clinicBox .TitBox {
    cursor: pointer;
}

#clinic .clinicBox .TitBox img {
    width: 8rem;
}

#clinic .clinicBox .xsBox {
    margin-top: 2.5rem;
}

#clinic .clinicInner {
    background-image: linear-gradient(to right, #02507e, #1c83c3);
    margin-top: 5rem;
    display: flex;
    min-height: 477px;
    border-radius: 1.25rem;
    color: #fff;
    padding: 5rem 4rem;
    position: relative;
}

#clinic .clinicInner.Re {
    background-image: linear-gradient(to right, #1c83c3, #02507e);
}

#clinic .clinicInner .Img {
    position: absolute;
    left: 1rem;
    bottom: 0;
}

#clinic .clinicInner .Img.R {
    left: auto;
    right: -4rem;
}

#clinic .clinicInner .Img.L {
    left: -7rem;
}

#clinic .clinicInner .img {
    width: 47.3125rem;
}

#clinic .clinicInner .Txt {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 19.8125rem;
    align-self: stretch;
}

#clinic .clinicInner .Txt.R {
    margin-left: auto;
    width: fit-content;
    text-align: right;
}

@media(max-width:990px) {
    #clinic .clinicBox {
        flex-direction: column;
    }

    #clinic .clinicBox .box {
        width: 100%;
        height: auto;
        transition: height 0.6s ease;
    }

    #clinic .clinicBox .box.on {
        width: 100%;
        height: 31.25rem;
    }

    #clinic .clinicBox .TitBox {
        display: flex;
        align-items: center;
        gap: 2rem;
        text-align: left;
        justify-content: space-between;
        width: 90%;
        margin: auto;
    }

    #clinic .clinicBox .xsBox {
        width: 50%;
        margin-top: 0;
    }

    #clinic .clinicBox .TitBox img {
        margin-right: auto;
        margin-left: 0;
        width: 6rem;
    }

    #clinic .clinicInner {
        margin-top: 5.625rem;
        min-height: 560px;
        padding: 4rem 3rem;
    }

    #clinic .clinicInner img {
        width: 43rem;
    }

    /* #clinic .clinicInner .Img, #clinic .clinicInner .Img.R, #clinic .clinicInner .Img.L {left: 0; right: 0; margin: auto; width: fit-content;}  */
}



/* checkup */
#checkup {
    background-color: #92aab9;
}

#checkup .Line {
    width: 6.875rem;
    height: .3125rem;
    background-color: #fff;
    margin: 1.875rem auto 0;
}

#checkup img {
    border-radius: 1.25rem;
    overflow: hidden;
}

#checkup .box {
    padding: 0 1rem;
}

#checkup .box.box1,
#checkup .box.box2 {
    border-right: 1px solid #fff;
}

#checkup .More {
    text-transform: uppercase;
    border: 1px solid #fff;
    padding: .4rem 2rem;
    display: block;
    width: fit-content;
    color: #fff;
    font-weight: 300;
    margin: 2rem auto 0;
    transition: .3s;
}

#checkup .More:hover {
    background-color: #fff;
    color: var(--pointcolor);
    transition: .3s;
}

@media(max-width:990px) {
    #checkup .box.box2 {
        border-right: none;
    }

    #checkup .box.box3 {
        border-right: 1px solid #fff;
    }
}

@media(max-width:500px) {

    #checkup .box.box1,
    #checkup .box.box2,
    #checkup .box.box3 {
        border: none;
    }
}



/* doctor */
#doctor .flexTit {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#doctor .flexBox {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem 2rem;
    padding-top: 13rem;
}

#doctor .flexBox.DrBox2 {
    padding-top: 28rem;
}

#doctor .Img {
    width: 45%;
    position: relative;
}

#doctor .Img:after {
    content: '';
    width: 100%;
    height: 19.0625rem;
    border-radius: 1.875rem;
    background-color: #b8e7f8;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}

#doctor .Img .doctorImg {
    position: absolute;
    width: 33.125rem;
    bottom: 0;
}

#doctor .Img .DrImg1 {
    right: -1rem;
}

#doctor .Img .DrImg2 {
    left: -1rem;
}

#doctor .Desc {
    width: 50%;
    padding: 0 2rem;
}

#doctor .Descflex {
    display: flex;
    gap: 0 3vw;
}

#doctor .part {
    background-color: var(--pointcolor);
    color: #fff;
    padding: .3rem 1rem;
    border-radius: 5px;
}

#doctor .zum {
    margin: .5rem;
}

@media(max-width:1140px) {
    #doctor .Desc {
        width: 60%;
    }
}

@media(max-width:990px) {

    #doctor .section-left,
    #doctor .section-right {
        width: 90%;
        margin: auto;
    }

    #doctor .flexBox {
        flex-direction: column;
        padding-top: 0;
    }

    #doctor .flexBox.DrBox2 {
        padding-top: 3rem;
    }

    #doctor .Desc {
        width: 100%;
        order: 2;
    }

    #doctor .Img {
        width: 100%;
    }

    #doctor .Img .doctorImg {
        position: relative;
        right: 0;
        left: 0;
        margin: auto;
    }
}

@media(max-width:768px) {
    #mainSlide .bg.bg-1 {
        background-image: url(/img/main/m-mainSlide01.jpg);
    }
}

@media(max-width:500px) {
    #doctor .Descflex {
        flex-direction: column;
    }

    .Desc .flexTit+p>b {
        font-size: 13px;
    }

    #doctor .zum {
        font-size: 13px;
    }
}




/* interior */
#interior {
    background-color: #fbfbfb;
}

#interior .interiorSwiper {
    padding-bottom: 1rem;
}

#interior .interiorSwiper .swiper-slide {
    opacity: .3;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, .2);
}

#interior .interiorSwiper .swiper-slide-active {
    opacity: 1;
}

#interior .swiper-button-next:after,
#interior .swiper-button-prev:after {
    content: '';
}

#interior .swiper-button-next,
#interior .swiper-button-prev {
    width: 4.375rem;
    height: 4.375rem;
    border-radius: 50%;
    background-color: var(--pointcolor);
    color: #fff;
}

#interior .swiper-button-next {
    right: 20%;
}

#interior .swiper-button-prev {
    left: 20%;
}

@media(max-width:1440px) {
    #interior .swiper-button-next {
        right: 15%;
    }

    #interior .swiper-button-prev {
        left: 15%;
    }
}

@media(max-width:990px) {
    #interior .swiper-button-next {
        right: 5%;
    }

    #interior .swiper-button-prev {
        left: 5%;
    }
}

@media(max-width:768px) {
    #interior .swiper-button-next {
        right: 1%;
    }

    #interior .swiper-button-prev {
        left: 1%;
    }
}



/* footer */
footer {
    background-color: #3f3d3d;
    padding-top: 7.5rem;
}

footer .mapInfo {
    padding-bottom: 5.25rem;
}

footer .mapBox {
    word-wrap: 100%;
    min-height: 31.1875rem;
    align-self: stretch;
    border-radius: 1.875rem;
    overflow: hidden;
    position: relative;
}

footer .mapCover {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .01);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
}

footer .mapBox .wrap_controllers,
footer .mapBox .cont {
    display: none;
}

footer .root_daum_roughmap,
footer .root_daum_roughmap .wrap_map {
    width: 100%;
    height: 100%;
}

footer .Desc {
    padding-left: 2rem;
    position: relative;
}

footer .LogoImg {
    position: absolute;
    right: 5rem;
    top: -1.5rem;
    width: 11.75rem;
}

footer .Dot {
    position: relative;
    padding-left: 1.5rem;
    color: #8ad3f5;
}

footer .Dot:after {
    content: '•';
    font-weight: 800;
    position: absolute;
    left: 0;
    top: -0.125rem;
    font-size: 1.875rem;
    line-height: 1;
}

footer .Left {
    padding-left: 1.5rem;
}

footer .BtnInner {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding-left: 1.5rem;
}

footer .footerBtn {
    max-width: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .4rem;
    gap: .5rem;
    border-radius: 8px;
    color: #fff;
    font-size: .9375rem;
    cursor: pointer;
    background-color: #525050;
    transition: .3s;
}

footer .footerBtn:hover {
    background-color: #333;
    transition: .3s;
}

footer .footerBtn img {
    width: 1.125rem;
}

footer .star {
    font-size: 1rem;
    color: #999;
}

footer .Line {
    width: 100%;
    height: 1px;
    background-color: #5c5a5a;
}

footer .Info {
    padding: 3.7rem 0;
    display: flex;
    align-items: start;
    justify-content: space-between;
}

footer .gray {
    color: #999;
}

footer .footerLink {
    display: flex;
    align-items: center;
    gap: 3rem;
}

footer .footerLink a {
    color: #fff
}

@media(max-width:990px) {
    footer .Info {
        flex-direction: column;
        gap: 2rem;
    }

    footer .footerLink {
        margin-left: auto;
    }
}

@media(max-width:500px) {
    footer .LogoImg {
        right: 0;
        top: auto;
        bottom: 0;
    }
}