/* main_banner */
/* main{background: #fff;} */
.main_wrap {
    background: #fff;
}

.main_before {
    height: 100px;
    width: 100%;
}

.main_station .train_item .img_box {
    position: relative;
}

.highlight.bannerTit {
    animation: fadeIn 1s ease forwards .3s;
}

@keyframes fadeIn {
    from {
        transform: translateY(30%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* tit */
.modu_tit {
    font-size: 5rem;
    line-height: 1.2;
}

.modu_tit .logo_tit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.modu_tit .logo_tit::before {
    content: '';
    width: 1.1em;
    aspect-ratio: 1/1;
    flex-shrink: 0;
    background: url('../img/logo_tit.png') no-repeat 0 0 / contain;
}

.modu_tit i {
    font-weight: 300;
}

.modu_tit em {
    color: #3b308e;
}

/*  */
/*  */
.sec1 {
    background: url('../img/sec1_bg_v4.webp') no-repeat 30% 50% / cover;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.deco_kes {
    position: absolute;
    bottom: 0;
    right: calc(calc(100% - 1520px) / 3);
    max-width: 280px;
    line-height: 0;
    z-index: 23;
    z-index: 2;
}

.sec1 .container {
    max-width: 1520px;
    width: 90%;
    margin: 0 auto;
}

.sec1 .innertop {
    padding-top: 100px;
}

.sec1 .innerbottom {
    padding-bottom: 100px;
}

.sec1 .modu_tit {
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.5;
}

.sec1 .modu_tit .logo_tit::before {
    background: url('../img/logo_tit_w.png') no-repeat 0 0 / contain;
}

.sec1 .modu_tit+p {
    color: #fff;
}

.s1_wrap {
    display: flex;
    /* align-items: start; */
    gap: 20px;
    margin-bottom: 70px;
}

.s1_wrap .left_wrap {
    width: 100%;
}

.s1_wrap .map_wrap {
    position: relative;
    width: 100%;
    line-height: 0;
}

.s1_wrap .map_wrap .icon {
    position: absolute;
    width: 50px;
    height: 70px;
    transition: .5s;
    background: url('../img/icon_map_view.png') no-repeat center center / contain;
    position: absolute;
    cursor: pointer;
    transform: translate(-50%, -100%);
}

.s1_wrap .map_wrap .icon:hover,
.s1_wrap .map_wrap .icon.on {
    width: 70px;
    height: 110px;
    background: url('../img/icon_map_view_hover.png') no-repeat center center / contain;
    filter: drop-shadow(0px 0px 5px rgba(255, 255, 255, 0.2));
    z-index: 2;
}

.s1_wrap .map_wrap .icon:hover i,
.s1_wrap .map_wrap .icon.on i {
    background: #f39800;
    transform: scale(1.2);
    bottom: 10px;

}

/* .s1_wrap .map_wrap .icon.shop3 i{
    left: auto;
    right: -85px;
} */
.s1_wrap .map_wrap .icon i {
    position: absolute;
    bottom: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    left: -85px;
    width: 90px;
    height: 25px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.03em;
    background: #00295b;
    color: #fff;
}

/* 발산 */
.shop1 {
    top: 50%;
    left: 44%;
}

/* 부평 */
.shop2 {
    top: 64%;
    left: 21%;
}

/* 신중동 */
.shop3 {
    top: 54%;
    left: 29%;
}

/* 연수 */
.shop4 {
    top: 78%;
    left: 18%;
}

/* 신당 */
.shop5 {
    top: 46%;
    left: 69%;
}

/* 노원 */
.shop6 {
    top: 17%;
    left: 77%;
}

/* 시흥신천 */
.shop7 {
    top: 66%;
    left: 29%;
}

/* 인천서구 */
.shop8 {
    top: 50%;
    left: 15%;
}

/* 김포구래 */
.shop9 {
    top: 32%;
    left: 23%;
}

/*  */
.shop_wrap {
    width: 100%;
}

.shop_slide_wrap {
    display: flex;
    width: 100%;
    height: 100%;
}

.right_slider img.on {
    opacity: 1;
}

.right_slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: .3s;
}

.right_slider {
    overflow: hidden;
    position: relative;
    margin-left: auto;
    width: 80%;
    height: 70%;
    /* margin-top:  20%; */
    /* border-radius: 0 100px 0 0 ; */
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.6);
}

.shop_txt_wrap {
    width: 80%;
    /* max-width: 620px; */
    margin: 0;
    position: relative;
}

.shop_txt_wrap li.on {
    opacity: 1;
    z-index: 3;
}

.shop_txt_wrap li {
    opacity: 0;
    pointer-events: auto;
    /* pointer-events: none; */
    box-shadow: 3px 3px 20px rgba(0, 0, 0, 0.6);
    padding: 35px;
    /* border-radius: 20px; */
    background: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 1;
    /* transform: translateY(-50%); */
}

.shop_txt_wrap .clinic_logo {
    /* max-width: 350px; */
    height: 45px;
    margin-bottom: 20px;
}

.shop_txt_wrap .clinic_logo img {
    height: 100%;
    width: auto;
}

.shop_a {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    gap: 10px;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.shop_a.tel:before {
    background: url('../img/shop_a_tel.png') no-repeat 50% 50% / contain;
}

.shop_a.way:before {
    background: url('../img/shop_a_way.png') no-repeat 50% 50% / contain;
}

.shop_a::before {
    content: '';
    width: 1.5em;
    aspect-ratio: 1/1;
    flex-shrink: 0;
}

.shop_wrap .a_shop {
    pointer-events: auto;
    width: 100%;
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.shop_wrap .a_shop a {
    width: 100%;
}

.shop_wrap .a_shop a {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 20px;
    border-radius: 30px;
    transition: .3s;
    pointer-events: auto;
}

.shop_wrap .a_shop .naver_map:hover {
    color: #3b308e;
    background: #e5e4f7;
    border: 2px solid #3b308e;
}

.shop_wrap .a_shop .naver_map {
    background: #3b308e;
    color: #fff;
    border: 2px solid #3b308e00;
}

.shop_wrap .a_shop .home:hover {
    color: #3b308e;
    background: #e5e4f7;
    border: 2px solid #3b308e;
}

.shop_wrap .a_shop .home {
    background: #e5e4f7;
    color: #3b308e;
    border: 2px solid #3b308e00;
}

/* s1_tab */
.s1_tab {
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

.s1_tab li:not(:last-child) {
    border-right: 1px solid #cccccc61;
}

.s1_tab li {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    font-weight: 700;
    font-size: 20px;
    color: #cccccc;
    transition: .3s;
    cursor: pointer;
}

.s1_tab li.on {
    background: #2c2369;
    color: #fff;
}

.s1_tab li::before {
    content: '';
    width: .9em;
    aspect-ratio: 2/3;
    background: url('../img/s1_tab_g.png') no-repeat 50% 50% / contain;
}

.s1_tab li.on::before {
    background: url('../img/s1_tab_w.png') no-repeat 50% 50% / contain;
}


/* con2 */
.con2 {
    background: url('../img/con2_bg.webp') no-repeat 0 0 / cover;
}

.con2_wrap {
    display: flex;
    gap: 2rem;
}

.con2_wrap>* {
    width: 100%;
}

.con2_txt {
    align-self: center;
    padding: 10rem 0;
}

.con2_txt p {
    opacity: 0.6;
}

.con2_img {
    line-height: 0;
    width: 100%;
    align-self: end;
}

/* con3 */
.c3bg {
    background: rgba(38, 35, 109, 0.05);
    position: relative;
}

.c3bg::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../img/con3_bg.png') no-repeat 33% 50px / 30%;
    pointer-events: none;
}

.con3_wrap {
    display: flex;
    gap: 4rem;
}

.con3_left {
    width: 45%;
    padding-left: calc(calc(100vw - 1520px) / 2);
    display: flex;
    gap: 5rem;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.con3_right {
    width: 55%;
    aspect-ratio: 5/3;
    overflow: hidden;
    transform: translateY(100px);
}

.con3_right .swiper-wrapper .swiper-slide {
    width: 100%;
    height: 100%;
}

.con3_right .swiper-wrapper .swiper-slide img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.con3 .modu_tit {
    font-size: 70px;
}

.con3_txtwrap {
    font-weight: 300;
    width: 100%;
    margin-bottom: 10rem;
}

.c3_tit {
    font-size: 3rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #464342;
}

.c3_tit em {
    display: block;
    font-size: 2rem;
    color: #3b308e;
    margin-bottom: 1rem;
}

.c3_tit+p {
    font-weight: 300;
}

.navi_wrap {
    position: relative;
    bottom: 50px;
    height: 50px;
    left: 0;
    /* background: #888; */
    width: 100px;
    display: flex;
    justify-content: space-between;

}

.navi_wrap .line {
    height: 30px;
    width: 3px;
    border-radius: 2px;
    background: #3b308e;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.4;
}

.navi_wrap .swiper-button-next:hover,
.navi_wrap .swiper-button-prev:hover {
    opacity: 1;
}

.navi_wrap .swiper-button-next,
.navi_wrap .swiper-button-prev {
    font-size: 30px;
    position: relative;
    width: auto;
    height: auto;
    top: 0;
    opacity: 0.4;
    transition: .3s;
}

.navi_wrap .swiper-button-next:after,
.navi_wrap .swiper-button-prev:after {
    font-size: 30px;
    font-weight: 700;
    color: #3b308e;
    position: relative;
}

/* news_wrap */
.news_wrap {
    background: url('../img/news_bg.png') no-repeat 50% 50% / cover;
    color: #fff;
    position: relative;
}

.news_wrap .logo_bg {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30%;
    line-height: 0;
    pointer-events: none;
}

.news_wrap .con {
    display: flex;
}

.c5_left {
    flex: 1;
    min-width: 300px;
    width: 20%;
    margin-left: calc(calc(100vw - 1520px) / 2);
}

.c5_right {
    flex: 4;
    width: 80%;
}

.news_wrap .logo_tit::before {
    background: url(../img/logo_tit_w.png) no-repeat 0 0 / contain;
}

.news_wrap .copy_e .copy {
    color: rgba(255, 255, 255, 1);
}

.news_wrap .modu_tit {
    color: #fff;
    margin-bottom: 80px;
    /* line-height: 1.5; */
}

.news_wrap .img_wrap {
    background: #000;
    aspect-ratio: 3/2;
    overflow: hidden;
    margin-bottom: 30px;
}

.news .img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_tit {
    font-size: 22px;
    font-weight: 500;
}

.c3_btn,
.c5_btn {
    display: flex;
    gap: 15px;
}

.c3_btn>*,
.c5_btn>* {
    cursor: pointer;
    max-width: 50px;
}

/* con4 */
.con4 {
    position: relative;
}


/*왼쪽에서 오른쪽으로 텍스트가 흐르는 애니메이션*/
@keyframes text-to-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

/*오른쪽에서 왼쪽으로 텍스트가 흐르는 애니메이션*/
@keyframes text-to-left {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.con4 .txt_bg {
    position: absolute;
    top: 200px;
    left: 0;
    width: 100%;
    color: #464342;
    opacity: 0.05;
    font-weight: 900;
    font-size: 10vh;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
}

.flowing-text {
    display: inline-block;
    animation: text-to-right 40s linear infinite;
}

.c4_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 0;
    height: 300px;
    background: url('../img/c4_bottom.webp') no-repeat 50% 100% / cover;
}

.c4_bottom img {
    width: 100%;
    height: auto;
    display: block;
}

.c4_box {
    position: relative;
    line-height: 0;
}

.c4_txt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.c4_txt i {
    font-size: 2rem;
    font-weight: 700;
}

.c4_tit {
    font-size: 5rem;
    font-weight: 800;
    margin: 1.5rem 0 5rem;
}

.c4_txt em {
    max-width: 750px;
    padding: 0 2rem;
    font-size: 2.2rem;
    font-weight: 500;
}

/*  */
/* 문의하기 폼 스타일링 */
.inquiry_section {
    background: url(../img/inquiry_bg.webp) no-repeat 50% 50% / cover;
    /* background-attachment: fixed; */
}

.inquiry_wrap {
    display: flex;
    gap: 80px;
}

.inquiry_left {
    width: 100%;
    flex: 1;
}

.inquiry_right {
    width: 100%;
    flex: 2;
    border-top: 1px solid #3b308e;
    background: rgba(255, 255, 255, 0.6);
}

.inquiry_p {
    opacity: 0.5;
    margin-bottom: 50px;
}

.inquiry_img {
    max-width: 200px;
}

.form_group.chk_group {
    padding: 0;
    padding-bottom: 10px;
    border-bottom: 0;
}

.form_group.chk_group label {
    font-size: 18px;
    font-weight: 400;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
    cursor: pointer;
}

.form_group.chk_group label:hover {
    opacity: 0.8;
}

.form_group.chk_group input {
    width: auto;
}

.submit_btn {
    display: block;
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(to right, #5b48bc, #8f6ce5, #5b48bc);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 350px;
    background-size: 200% auto;
    /* 배경 크기 설정 */
    transition: background 0.5s ease;
    /* 배경 애니메이션에 부드러운 전환 효과 */
}

.submit_btn:hover {
    animation: gradientMove 2s linear infinite;
    /* 그라데이션 이동 애니메이션 */
}

/* 배경 그라데이션이 움직이는 애니메이션 */
@keyframes gradientMove {
    0% {
        background-position: 200% center;
        /* 시작 위치 */
    }

    100% {
        background-position: 0% center;
        /* 중간 위치 */
    }
}

.m7_btn_arr {
    /* justify-self: flex-end; */
    /* position: absolute; */
    /* right: 20px;
    top: 50%; */
    line-height: 0;
    display: flex;
    justify-content: flex-end;
    gap: 0;
}

.m7_btn_arr img {
    line-height: 0;
    /* transform: translateY(-50%); */
    max-width: .5em;
    animation: opa .8s linear infinite alternate;
}

.m7_btn_arr img:nth-of-type(2) {
    animation-delay: .2s;
}

.m7_btn_arr img:nth-of-type(3) {
    animation-delay: .2s;
}

@keyframes opa {
    0% {
        opacity: 50%;
    }

    50% {
        opacity: 80%;
    }

    100% {
        opacity: 100%;
    }
}

.form_group {
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 0.5px solid rgba(70, 67, 66, 0.2);
}

.form_group label {
    width: 180px;
    display: block;
    font-weight: bold;
    font-size: 25px;
    flex-shrink: 0;
}

.form_group input,
.form_group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
}

.form_group textarea {
    height: 190px;
    resize: none;
    font-family: "Pretendard Variable";
    line-height: 1.7;
    width: 100%;
}

.form_group input.maxw {
    max-width: 400px;
    width: 100%;
}

.inquiry_section .container {
    position: relative;
}

.submit_wrap {
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateY(-100%);
}



/* site_bg */
.site_bg.on {
    display: block;
}

.site_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999999;
}

.site_popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    max-width: 1000px;
    width: 90%;
    height: 80%;
    position: relative;

}

.closeButton:hover {
    background-color: #c1272d;
}

.closeButton {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 2rem;
    font-weight: 600;
    background: #333;
    color: #fff;
    width: 3rem;
    height: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
}

/* 개인정보처리방침 */
.site_tab {
    width: 100%;
    padding: 2rem;
    margin: 0 auto;
    max-width: 1500px;
    font-size: 2.0rem;
    line-height: 1.7em;
    font-weight: 400;
    word-break: keep-all;
    color: #272727;
    height: 100%;
    overflow-y: scroll;
}

.site_tab>li.on {
    display: block;
}

.site_tab>li {
    display: none;
}

.site_tab h6 {
    /* height: 30px; */
    line-height: 2;
    padding-left: 0px;
    font-size: 2.6rem;
    margin-bottom: 15px;
    color: #000;
    font-weight: normal;
}

.site_tab h4 {
    font-size: 4.5rem;
    font-weight: 800;
    text-align: center;
    margin: 5rem 0;
    line-height: 1.5;
    display: block;
}

.site_tab h4::before {
    display: none;
}

/* 비급여 */
.time_wrap table {
    line-height: 1.5;
    text-align: center;
    font-size: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    color: #000;
    font-weight: 700;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-left: 0;
}

table,
td {
    border-spacing: 0px;
    padding: 0px;
}

.time_wrap table tr td {
    padding: 10px;
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

tr.bg td {
    background: rgba(0, 0, 0, 0.1);
}

tr.bg2 td {
    background: rgba(35, 104, 196, 0.2);
    font-weight: 700;
}