/* main_banner */
.main_before {
    height: 80px;
    width: 100%;
}


h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    font-size: 50px;
    line-height: 1.25;
    font-weight: 300;
}

h2::before {
    content: '';
    width: 70px;
    aspect-ratio: 1/1;
    background: url('/pyeongtaek/img/apple-icon-114x114.png') no-repeat 50% 50% /contain;
}


/* con1 */
.con1 {
    background: url('/pyeongtaek/img/c1_bg.png') no-repeat 50% 50% / cover;
    color: #fff;
}

.c1_tit {
    font-size: 65px;
    font-weight: 500;
}

.c1_tit b {
    font-weight: 800;
    color: #fffb76;
}

.c1_count_wrap {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 90px;
    gap: 10px;
}

.count_box {
    background-color: rgba(0, 0, 0, 0.4);
    aspect-ratio: 4/5;
    max-width: 140px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    border-radius: 20px;
}

.c1_count_wrap+.date {
    font-size: 20px;
    font-weight: 300;
    opacity: 0.5;
    margin: 20px 0 50px;
}

.c1_30 {
    font-size: 35px;
    color: #abc84c;
}

.c1_50 {
    font-size: 50px;
}

.c1_50 b {
    color: #fffb76;
}

.c1_box {
    background: linear-gradient(90deg, #abc84c 0.0001%, #578035 100%);
    font-size: 35px;
    display: inline-block;
    padding: 10px 30px;
    border-radius: 10px;
}

.c1_box b {
    color: #fffb76;
}

.c1_box+p {
    max-width: 860px;
    margin: 0 auto;
}

.logo_carousel {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #abc84c;
}

.logo_carousel .logos {
    display: flex;
    width: max-content;
    animation: scrollLeft 40s linear infinite;
}

.logo_carousel img {
    height: 40px;
    margin: 0 30px;
    max-width: 250px;
    object-fit: contain;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

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

@keyframes scrollRight {
    0% {
        transform: translateX(-50%);
    }

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

.con6 .logo_carousel {
    border-bottom: 0;
    border-top: 1px solid rgba(51, 51, 51, 0.2);
    padding: 5px 0;
}

.con6 .logo_carousel img {
    height: 70px;
    margin-right: 60px;
}

.logo_carousel2.logo_carousel {
    padding: 5px 0;
}

.logo_carousel2.logo_carousel .logos {
    animation: scrollRight 45s linear infinite;
}

.logo_carousel2.logo_carousel img {
    height: 80px;
    margin: 0 30px;
    max-width: 270px;
    object-fit: contain;
}



/* con2 */
.doctor_slider_wrap .doctor_li {
    display: flex;
    gap: 4rem;
    padding: 0 60px;
}

.doctor_slider_wrap .doctor_li>* {
    width: 100%;
}

.doctor_slider_wrap .swiper-button-next,
.doctor_slider_wrap .swiper-button-prev {
    color: #fff;
    background: #b1b1b1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    /* padding: 10px; */
    overflow: hidden;
}

.doctor_slider_wrap .swiper-button-next:after,
.doctor_slider_wrap .swiper-button-prev:after {
    font-size: 25px;
}

.doctor_txt_wrap {
    align-self: center;
    padding-bottom: 50px;
}

.doctor_img_wrap {
    line-height: 0;
    align-self: flex-end;
    background: url('/pyeongtaek/img/doctor_bg.png') no-repeat 50% 50% / contain;
    display: flex;
    justify-content: center;
}

.doctor_img_wrap img {
    width: 90%;
}

.doctor_name {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    line-height: 1;
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 25px;
    margin-bottom: 35px;
    border-bottom: 1px solid #45633e;
}

.doctor_name i {
    font-size: 0.65em;
    font-weight: 400;
}

.doctor_txt {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.doctor_txt>* {
    width: 100%;
}

.doctor_txt li:not(:last-child) {
    margin-bottom: 7px;
}

.doctor_txt li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 16px;
    font-weight: 500;
}

.doctor_txt li::before {
    content: '•';
}

/* con2/진료과목 */
.c2_bg {
    background: url('/pyeongtaek/img/c2_bg.png') no-repeat 50% 50% / cover;
    position: relative;
}

.c2_bg h2 {
    color: #fff;
}

.c2_bg h2::before {
    filter: invert(100%) sepia(100%) saturate(0) hue-rotate(200deg) brightness(200%) contrast(201%);
}

.outline_text {
    font-size: 7vw;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 1px #abc84c;
    /* 초록색 외곽선 */
    text-transform: uppercase;
    position: absolute;
    white-space: nowrap;
    z-index: 1;
}

.txt_bg {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    font-size: 7vw;
    font-weight: bold;
    color: transparent;
    -webkit-text-stroke: 1px #abc84c;
    /* 초록색 외곽선 */
    text-transform: uppercase;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
    opacity: .6;
}

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

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

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

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

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

.c2_wrap {
    width: 100%;
    position: relative;
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}

.c2_wrap .swiper-wrapper {
    display: flex;
}

.c2_wrap .swiper-slide.swiper-slide-active .txt {
    opacity: 1;
}

.c2_wrap .swiper-slide .txt {
    opacity: 0.6;
}

.c2_wrap .swiper-slide {
    flex-shrink: 0;
    height: auto;
    box-sizing: border-box;
    padding: 10px;
    transition: transform 0.3s;
}

.c2_wrap .img_wrap {
    opacity: 1;
    margin-bottom: 20px;
    position: relative;
    line-height: 0;
}

.c2_wrap .swiper-slide.swiper-slide-active .img_wrap::after {
    background: rgba(0, 0, 0, 0);
}

.c2_wrap .img_wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    transition: .3s;
    transition-delay: .5s;
}

.c2_pagination.swiper-pagination-progressbar {
    position: relative;
    /* margin:50px auto 100px; */
    background: rgba(255, 255, 255, 0.5);
}

.c2_pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #fffb76;
}

/* article */
article.logo_bg {
    background: #fff url('/pyeongtaek/img/doctor_bg.png') no-repeat 100% 90% / 40%;
}

article.gra_bg {
    background: linear-gradient(90deg, rgba(87, 128, 53, 0.1) 0.0001%, rgba(255, 255, 255, 0) 100%);
}

h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 50px;
    font-weight: 700;
    padding-bottom: 3rem;
    margin-bottom: 7rem;
    border-bottom: 1px solid #45633e;
}

h3::before {
    content: '';
    width: 1.7em;
    aspect-ratio: 1/1;
    background: url('/pyeongtaek/img/apple-icon-114x114.png') no-repeat 50% 50% /contain;
}

.txt_flex {
    display: flex;
    align-items: flex-start;
    /* margin-bottom: 50px; */
}

h4 {
    font-size: 30px;
    font-weight: 700;
    flex-shrink: 0;
    width: 230px;
    color: #578035;
}

.txt_flex p b {
    font-weight: 600;
    color: #45633e;
}

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

.img_line {
    line-height: 0;
    padding: 10px;
    border: 1px solid #5780358a;
}

/* con3 */
.con3 {
    background: #f4f4f4;
    position: relative;
}

.con3 .txt_bg {
    top: 0;
    -webkit-text-stroke: 1px #578035;
    /* 초록색 외곽선 */
    opacity: .2;
    line-height: 1;
}

.con3 .green_bg {
    border-radius: 0 180px 0 0;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45%;
    height: 90%;
    background: #45633e url('/pyeongtaek/img/logo_w_bg.png') no-repeat 0 100% / 70%;
}

.con3 .container {
    position: relative;
    display: flex;
    padding: 160px 0 120px;
}

.con3 h2::before {
    filter: invert(100%) sepia(100%) saturate(0) hue-rotate(200deg) brightness(200%) contrast(201%);
}

.con3 h2 {
    color: #fff;
    text-align: left;
    align-items: flex-start;
    line-height: 1.5;
}

.c3_left {
    flex: 1;
    min-width: 350px;
    width: 30%;
}

.c3_right {
    flex: 3;
    width: 70%;
}

.c3_right .c3_li {
    display: flex;
    align-items: center;
    gap: 40px;
}

.c3_right .c3_li>* {
    width: 100%;
}

h5 {
    font-size: 40px;
    font-weight: 700;
    border-bottom: 1px solid #45633e;
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: #578035;
}

.c3_pagination.swiper-pagination-progressbar {
    width: 70% !important;
    margin-left: auto;
    position: relative;
    margin-top: 50px;
    background: rgba(255, 255, 255, 1);
}

.c3_pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #45633e;
}

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

.c3_btn>*,
.c5_btn>* {
    cursor: pointer;
}

/* 보유장비 */
.sub13_ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10rem 3rem;
}

.sub13_ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sub13_ul .img_wrap {
    width: 100%;
    border: 1px solid #e4e4e4;
    margin-bottom: 2rem;
    overflow: hidden;
    aspect-ratio: 1/1;
    position: relative;
    padding-top: 4px;
    /* 보더 공간 확보 */
}

.sub13_ul .img_wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #abc84c 0.0001%, #578035 100%);
}

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

.sub13_ul h6 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #578035;
}

/* 둘러보기 */
.tour_wrap {
    background: rgba(158, 158, 158, 0.08);
}

.tour_wrap .swiper-wrapper {
    display: flex;
    align-items: center;
}

.tour_wrap .tour_swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    line-height: 0;
    background: #333;
    /* 이미지 없는 경우 대비 */
    transition: transform 1s ease-in-out;
    transform: scale(0.85);
    /* 기본 크기를 작게 설정 */
    opacity: 0.8;
    /* 투명도 조정 */
}

/* 활성화된 슬라이드는 크기를 원래대로 */
.tour_wrap .tour_swiper .swiper-slide-active {
    transform: scale(1);
    /* 중앙 슬라이드는 원래 크기 */
    opacity: 1;
    /* 투명도 완전하게 */
}

.tour_wrap .swiper-slide img {
    /* width: 100%; */
    height: auto;
    /* object-fit: cover; */
}

.tour_pagination.swiper-pagination-progressbar {
    position: relative;
    margin: 80px auto 150px;
    background: #fff;
}

.tour_pagination.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #abc84c;
}

/* con5/더세움 뉴스 */
.con5 {
    background: url('/pyeongtaek/img/news_bg.png') no-repeat 50% 50% / cover;
    color: #fff;
    position: relative;
}

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

.con5 .con {
    display: flex;
}

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

.c5_right {
    flex: 3;
    width: 70%;
}

.con5 h2::before {
    filter: invert(100%) sepia(100%) saturate(0) hue-rotate(200deg) brightness(200%) contrast(201%);
}

.con5 h2 {
    color: #fff;
    text-align: left;
    align-items: flex-start;
    /* line-height: 1.5; */
}

.news .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;
}

/* 오시는 길 */
.map_wrap .root_daum_roughmap .cont {
    display: none;
}

.map_wrap .root_daum_roughmap .wrap_controllers {
    display: none;
}

.map_wrap .root_daum_roughmap {
    width: 100%;
    height: 100%;
}

.map_wrap .root_daum_roughmap .wrap_map {
    height: 100%;
    min-height: 300px;
}

.map_flex {
    display: flex;
    gap: 40px;
}

.map_flex>* {
    width: 100%;
    flex: 1;
}

.map_box {
    width: 100%;
    box-sizing: border-box;
}

.map_wrap {
    width: 100%;
}

.map_txt {
    width: 100%;
    padding: 50px 0;
}

.map_flex .map_tit {
    margin-bottom: 20px;
    font-size: 30px;
    font-weight: 700;
    color: #578035;
}

.map_txt ul li {
    display: flex;
    gap: 30px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
}

.map_txt ul li span {
    display: flex;
    justify-content: space-between;
    width: 90px;
}

.map_txt ul li b {
    font-weight: 600;
    color: #578035;
}

.map_txt .red {
    color: #c62828;
    font-size: 18px;
}

.map_txt hr {
    margin: 30px 0;
    background: #abc84c;
    height: 1px;
    border: 0;
}

.map_box {
    width: 100%;
    padding: 50px 30px;
    background: rgba(171, 200, 76, 10%);
}

/* .map_box:last-child{background: rgba(87, 128, 53    , 10%);} */
.map_box p b {
    color: #578035;
    font-weight: 600;
}








/* 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 {
    width: 100%;
    font-size: 45px;
    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-family: 700;
}