/* */

section .sec_inner {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 100px 0 0;
}

section.fir_cont .sec_inner {
    padding: 0;
}

section.sec_cont .sec_inner {
    padding: 40px 0 0;
}

section._sec .sec_inner {
    padding: 100px 0 0;
}

strong.stit {
    display: inline-block;
    position: relative;
    margin: 0 0 50px;
    font-size: 36px;
    font-weight: 600;
    color: #1B7286;
}

strong.stit:after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: -10px;
    height: 1px;
    width: 100%;
    background-color: #1B7286;
}

strong.dtit {
    display: inline-block;
    position: relative;
    margin: 0 0 15px;
    font-size: 28px;
    font-weight: 600;
    color: #1B7286;
}

strong.stit._non {
    margin: 0 0 10px;
}

strong.stit._non:after {
    display: none;
}

.s_dec {
    font-size: 16px;
    color: #3D3D3D;
}

.fxs_tit {
    margin: 0 0 30px;
    font-size: 34px;
    font-weight: 600;
    color: #3D3D3D;
}

.fxs_tit span {
    margin-right: 10px;
    padding: 5px 20px;
    background-color: #1B7286;
    font-size: 24px;
    color: #fff;
    border-radius: 20px;
}

/* */

.fxs_stit {
    margin: 20px 0 0;
    font-size: 20px;
    font-weight: 600;
    color: #1B7286;
}

.fxs_stit span {
    margin-right: 10px;
    padding: 5px 20px;
    background-color: #1B7286;
    font-size: 24px;
    color: #fff;
    border-radius: 20px;
}

a.s_more {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #3D3D3D;

    position: absolute;
    right: 10px;
    color: #1B7286;
}

a.s_more span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-left: 6px;
    background: #1B7286;
    border-radius: 50%;
}

.tit_area {
    padding: 14px 0;
    border: 1px solid #C0C0C0;
    border-width: 1px 0;
}

/* 메인 */

#banner_wrap {
    height: 100vh;
}

#banner_wrap .swiper-slide {
    height: 100vh; 
}

.main_ban_conainer .bg {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    -webkit-animation-delay: 0.7s;
    animation-delay: 0.7s;
    -webkit-animation-play-state: paused;
    animation-play-state: paused;
    opacity: 0.8;
}

.main_ban_conainer .bg:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

.main_ban_conainer .swiper-slide.swiper-slide-active .bg {
    -webkit-transition: all 0.5s linear 0s;
    transition: all 0.5s linear 0s;
    -webkit-animation: bgScale 10s both;
    animation: bgScale 10s both;
    opacity: 1;
}

@keyframes bgScale {
    0% {
        -webkit-transform: scale(1.1) rotate(0.01deg);
        transform: scale(1.1) rotate(0.01deg);
    }
    100% {
        -webkit-transform: scale(1.0) rotate(0.01deg);
        transform: scale(1.0) rotate(0.01deg);
    }
}

.main_ban_conainer .ban_group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.main_ban_conainer .txt {
    z-index: 999;
    font-size: 54px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: #fff;
    filter: drop-shadow(0 0 24px #000);
}

.main_ban_conainer .desc {
    z-index: 999;
    margin: 10px 0 0;
    font-size: 28px;
    font-weight: 100;
    line-height: 1.4;
    text-align: center;
    color: #fff;
    filter: drop-shadow(0 0 24px #000);
}

.main_ban_conainer .swiper-slide .txt {
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
    opacity: 0;
}

.main_ban_conainer .swiper-slide.swiper-slide-active .txt {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    -webkit-transition: all 1s ease-out 0s;
    transition: all 1s ease-out 0s;
    opacity: 1;
}

.main_ban_conainer .swiper-slide.swiper-slide-active .txt {
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
}

.main_ban_conainer .swiper-slide .desc {
    -webkit-transform: translateY(50%);
    transform: translateY(50%);
    opacity: 0;
}

.main_ban_conainer .swiper-slide.swiper-slide-active .desc {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    -webkit-transition: all 1s ease-out 0s;
    transition: all 1s ease-out 0s;
    opacity: 1;
}

.main_ban_conainer .swiper-slide.swiper-slide-active .desc {
    -webkit-transition-delay: 0.8s;
    transition-delay: 0.8s;
}

.swiper-navigation button.next {
    transform: rotate(180deg);
}

/* fir */

.sec_fir .grids {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 35px;
    row-gap: 40px;
}

.sec_fir .grids li {
    position: relative;
    overflow: hidden;
    height: 330px;
    background-color: #F4F4F4;
    border-radius: 10px;
}

.sec_fir .grids li .bg {
    position: absolute;
    overflow: hidden;
    width: 100%;
}

.sec_fir .grids li .bg img {
    display: block;
    width: 100%;
    background: #eee;
    border-radius: 10px;
    object-fit: cover;
}

.sec_fir .grids li .box {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(27, 114, 134, 0.8) 100%;
    border-radius: 10px;
    transition: all 0.8s ease 0s;
    opacity: 0;
}

.sec_fir .grids li a:hover .box {
    opacity: 1;
}

.sec_fir .grids li a .box > .fxc {
    flex-direction: column;
    height: 100%;
}

.sec_fir .grids li a .box > .fxc > i {
    margin-bottom: 20px;
}

.sec_fir .grids li a .box .fxc span {
    display: inline-block;
    padding: 0 10px 0;
    font-size: 26px;
    font-weight: 600;
    color: #fff;
}

.sec_fir .grids li a .box .fxc em {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 50px;
}

/* sec */

.sec_sec .grids {

}

/* thr */

.sec_thr {
    margin: 100px 0 0;
    background-color: #1B7286;
}

section.sec_thr .sec_inner {
    padding: 100px 0;
}

.sec_thr strong.stit {
    color: #fff;
}

.sec_thr strong.stit:after {
    background-color: #fff;
}

.sec_thr a.s_more {
    color: #fff;
}

.sec_thr a.s_more span {
    background-color: #fff;
}

:root {
    --swiper-navigation-size: 60px
}

.swiper_com .swiper-button-prev {
    z-index: 100;
    left: 30px;
    width: 60px;
    height: 60px;
    background: rgb(255,255,255,0.5);
    transform: rotate(180deg);
}

.swiper_com .swiper-button-next {
    z-index: 100;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgb(255,255,255,0.5);
    cursor: pointer;
}

.swiper_com .swiper-button-prev:after,
.swiper_com .swiper-button-next:after {
    content: '';
    display: inline-block;
    width: 23px;
    height: 36px;
    background-image: url(../img/main/ico_next.png);
}

/* TAB */

.tab ul {
    display: table;
    width: 100%;
    margin: 30px 0 50px;
    border-collapse: collapse;
}

.tab ul li {
    display: table-cell;
    width: 16.66%;
    border: 1px solid #dedede;
    vertical-align: middle;
}

.tab ul li a {
    display: block;
    width: 100%;
    padding: 18px 0;
    font-size: 20px;
    font-weight: 500;
    color: #8f8f8f;
    text-align: center;
    transition: all 0.3s;
}

/* .tab li:hover, */
.tab li.selected {
    background-color: #1B7286;
}

.tab li:hover a {

}

.tab li.selected a {
    /* color: #fff; */
    text-decoration: none;
    color: #fff;
}

.unify {
    display: none;
}

.skms0 {
    display: block;
}

.unify ul li {
    margin: 0 0 30px;
}

.unify ul li strong.tit {
    display: block;
    padding: 0 0 15px 0;
    font-size: 22px;
}

.unify ul li p {
    font-size: 17px;
    color: #444;
    line-height: 1.4;
}

/* 인사말 */

.cont_greet .grids {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
}

.grids ._tit {
    display: block;
    margin-bottom: 20px;
    font-size: 34px;
    font-weight: 600;
    color: #1B7286;
}

.cont_greet .grids ._stit {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: #1B7286;
    line-height: 1.46;
}

.cont_greet .grids p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #3D3D3D;
    line-height: 26px;
}

/* 의료진 소개 및 진료시간 안내 */

.cont_doctor .grids {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 80px;
}

.cont_doctor .grids + .grids {
    margin-top: 80px;
}

.cont_doctor .grids ._tit {
    display: block;
    margin-bottom: 7px;
    font-size: 34px;
    color: #3D3D3D;
}

.cont_doctor .grids ._dec {
    display: block;
    margin-bottom: 20px;
    font-size: 18px;
    color: #3D3D3D;
}

.cont_doctor .grids .lst_hist li {
    font-size: 16px;
    line-height: 1.5;
}

.cont_doctor .grids .fxsb {
    justify-content: flex-start;
    padding: 30px;
    background-color: #F1F1F1;
}

.cont_doctor .grids .fxsb > div {
    position: relative;
    padding: 0 30px 0 0;
}

.cont_doctor .grids .fxsb > div:before {
    content: "";
    display: block;
    position: absolute;
    left: -12px;
    width: 2px;
    height: 46px;
    background-color: #1B7286;
}

.cont_doctor .grids .fxsb span {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #1B7286;
}

.cont_doctor .grids .fxsb div.fxs {
    margin: 5px 0 0;
    font-size: 16px;
    color: #3D3D3D;
}

/* 입원/퇴원 안내 */

.diagram {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 37.5px;
    position: relative; 
    margin-top: 50px;
}

.diagram li { 
    flex-direction: column;
    position: relative;
    z-index: 1; 
    width: 230px;
    height: 230px;
    background-color: #1B7286; 
    border-radius: 50%; 
    text-align: center;
}

.diagram li:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    right: -29.25px;
    width: 21px;
    height: 20px;
    margin-top: -10.5px;
    background-image: url(../img/page/ico_diagram.png);
}

.diagram li:last-child:after { 
    display: none;
}

.diagram li .diagram_text {margin-top:5px; font-size:17px; font-weight:400; color:#fff; line-height:1.4;}

.diagram._dia {
    max-width: 830px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.diagram._dia li:after {
    right: -39.25px;
}

/* 다이어트 */

.sec_fir.sec_diet .grids {
    column-gap: 30px;
    row-gap: 30px;
}

.sec_fir.sec_diet .grids li {
    height: 240px;
}

.sec_fir.sec_diet .grids li a .box > .fxc > i {
    margin-bottom: 10px;
}

.sec__diet .lst_diagram li:after {
    right: -35.5px;
}

.sec__diet .lst_diagram li p {
    font-size: 18px;
    line-height: 1.45;
}

/* 중풍(뇌졸중) */

.sec_stroke .lst_diagram li:after {
    display: none;
}

/* 공통 */

.subject_wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 40px;
    row-gap: 40px;
    margin-top: 20px;
}

.lange_wrap {
    padding: 20px 80px;
    background-color: #F2F2F2;
}

.lange_wrap .lange_5 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 20px;
}

.lange_wrap .lange_5 li {
    margin: 7px 0;
}

.lange_wrap ul li {
    margin: 15px 0;
    padding: 10px 25px;
    background-color: #fff;
    font-size: 16px;
    border-radius: 20px;
}

.lange_wrap ul li.on {
    background-color: #1B7286;
    color: #fff;
}

.lange_wrap + .lange_wrap {
    margin: 40px 0 0;
}

.lst_diagram {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 33.3px;
}

.lst_diagram li {
    position: relative;
    height: 240px;
    padding: 45px 0 0;
    background-color: #1B7286;
    border-radius: 10px;
    text-align: center;
}

.lst_diagram li:after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 50%;
    right: -27px;
    width: 21px;
    height: 20px;
    margin-top: -10.5px;
    background-image: url(../img/page/ico_diagram.png);
}

.lst_diagram li:last-child:after {
    display: none;
}

.lst_diagram li strong {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}

.lst_diagram li p {
    margin: 15px 0 0;
    font-size: 16px;
    color: #fff;
    line-height: 1.5;
}

.lst_diagram._d2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 30px;
}

.lst_diagram._d2 li {
    height: auto;
    padding: 30px 50px;
}

.lst_diagram._d2 .fxs {
    padding: 3px 0;
    font-size: 22px;
    color: #fff;
}

.lst_diagram._d2 p {
    margin: 5px 0 0;
    font-size: 16px;
}

.lst_diagram._d5 {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 50px;
}

.lst_diagram._d5 li {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    height: 220px;
    padding: 0;
}

/* */

.basic_table {
    /* table-layout: fixed; */
    width: 100%;
    margin: 10px 0;
    /* border-top: 3px solid gray; */
    border-collapse: collapse;
    vertical-align: middle;
    font-size: 100%;
}

.basic_table caption {
    position: absolute;
    top: -500%;
    left: -500%
}

.basic_table th,
.basic_table td {
    padding: 10px;
    vertical-align: middle;
    line-height: 1.5em
}

.basic_table tbody th {
    background-color: #f4f4f4;
    font-size: 16px;
    font-weight: 500;
    color: #3D3D3D;
}

.basic_table tbody th span {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.basic_table tbody td {
    color: #3D3D3D;
}

.basic_table tbody td .flex button {
    padding: 16.5px 0;
    background: #000;
    font-size: 16px;
    color: #fff;
    border-radius: 10px;
}

/* */

.basic_list {
    table-layout: fixed;
    width: 100%;
    margin: 10px 0;
    border-collapse: inherit;
    /* border-top: 2px solid #3D3D3D;
    border-bottom: 1px solid #3D3D3D; */
    font-size: 100%;
    border-spacing: 3px;
}

.basic_list th,
.basic_list td {
    padding: 12px 10px;
    /* border-bottom: 1px solid #d2d2d2;
    border-right: 1px solid #d2d2d2; */
    border-top: none;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5em;
}

.basic_list tr:last-child th,
.basic_list tr:last-child td {
    /* border-bottom: 1px solid #3D3D3D; */
}

.basic_list th:last-child,
.basic_list td:last-child {
    border-right: 0;
}

.basic_list thead th {
    font-size: 16px;
    font-weight: 500;
    /* border-bottom: 1px solid #3d3d3d; */
    background-color: #B9B9B9;
}

.basic_list tbody td {
    font-size: 16px;
    background-color: #F1F1F1;
}

/* 미디어쿼리 */

@media all and (max-width: 1300px) {

    /* */

    .swiper_com .swiper-slide img {
        max-width: 100%;
    }    

    /* 공통 */

    .content {
        padding: 0 10px;
    }

    .quick-wing {
        display: none;
    }

    .img_wrap img {
        max-width: 100%;
    }

    .sub_visual .sub_top_text h3 {
        font-size: 24px;
    }

    .lnb .lnb_map li.dep a span {
        font-size: 14px;
    }

    /* */

    section .sec_inner {
        padding: 40px 0 0;
    }

    section.sec_thr .sec_inner {
        padding: 40px 0 50px;
    }

    strong.stit {
        margin: 0 0 20px;
        font-size: 24px;
    }

    strong.dtit {
        margin: 0 0 10px;
        font-size: 20px;
    }

    .s_dec {
        font-size: 14px;
    }

    .fxs_tit {
        font-size: 20px;
    }

    .fxs_tit span {
        font-size: 20px;
    }

    .fxs_stit {
        font-size: 16px;
    }

    .fxs_stit span {
        font-size: 16px;
    }

    /* 메인 */

    .main_ban_conainer .txt {
        font-size: 30px;
    }

    .main_ban_conainer .desc {
        font-size: 18px;
    }

    .sec_fir,
    .sec_thr {
        padding: 0 10px;
    }

    .sec_fir .grids {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sec_fir .grids li a .box .fxc span {
        font-size: 18px;
    }

    /* 인사말 */

    .cont_greet .grids {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        column-gap: 40px;
    }

            .grids ._tit {
        font-size: 20px;
    }

    .cont_greet .grids p {
        font-size: 14px;
        line-height: 22px;
    }

    /* 의료진 소개 및 진료시간 안내 */

    .cont_doctor .grids {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 40px;
    }

    /* 입원/퇴원 안내 */

    .diagram {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 50px;
    }

    .diagram li {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .diagram li:after {
        top: inherit;
        bottom: -35px;
        right: calc(50% - 10px);
        width: 20px;
        transform: rotate(90deg);
    }

    .diagram._dia {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 50px;
    }

    .diagram._dia li:after {
        top: inherit;
        bottom: -35px;
        right: calc(50% - 10px);
        width: 20px;
        transform: rotate(90deg);
    }

    /* 산재보험치료 */

    .lange_wrap {
        padding: 20px 10px;
    }

    .lange_wrap ul li {
        padding: 10px 10px;
        font-size: 13px;
    }

    .lst_diagram {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 50px;
    }

    .lst_diagram li {
        height: auto;
        padding: 40px 0;
    }

    .lst_diagram li:after {
        top: inherit;
        bottom: -35px;
        right: calc(50% - 10px);
        width: 20px;
        transform: rotate(90deg);       
    }

    /* 중풍(뇌졸중) */

    .lst_diagram._d2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        row-gap: 20px;
    }

    .lst_diagram._d2 .fxs {
        font-size: 16px;
    }

    .lst_diagram._d2 p {
        font-size: 14px;
    }

    /* 다이어트 */

    .lst_diagram._d5 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .sec__diet .lst_diagram li:after {
        right: calc(50% - 10px) !important;
    }

    /* */

    .tab ul li {
        display: block;
        float: left;
        width: 50%;
        border-top: 0;
    }

	.tab ul li:nth-child(1),
	.tab ul li:nth-child(3),
	.tab ul li:nth-child(5) {border-right: 0}

	.tab ul li:nth-child(2),
	.tab ul li:nth-child(4),
	.tab ul li:nth-child(6) {border-right: 1px solid #dedede}

	.tab ul li:nth-child(1),
	.tab ul li:nth-child(2) {border-top: 1px solid #dedede}

    .tab ul li a {
        font-size: 14px;
    }

    .basic_list thead th,
    .basic_list tbody td {
        padding: 6px 5px;
        font-size: 13px;
    }

}

@media all and (max-width: 800px) {

    colgroup {
        display: none;
    }

    .mTable caption {
        font-size: 1.3em;
    }

    .mTable {
        border: 0;
    }

    .mTable thead {
        border: none;
        clip: rect(0 0 0 0);
        height: 1px;
        margin: -1px;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 1px;
    }

    .mTable th {
        display: block;
    }

    .mTable tr {
        border-top: 3px solid gray;
        border-bottom: 3px solid #ddd;
        display: block;
        margin-bottom: .625em;
    }

    .mTable td {
        border-bottom: 1px solid #ddd;
        display: block;
        font-size: .8em;
        text-align: right;
    }

    .mTable td::before {
        content: attr(data-label);
        /*data-label을 가상요소 표출*/
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .mTable td:last-child {
        border-bottom: 0;
    }

}

@media all and (max-width: 768px) {

    /* */

    .cont_greet .grids img {
        max-width: 100%;
    }

    /* 메인 */

    #banner_wrap,
    #banner_wrap .swiper-slide,
    .main_ban_conainer .ban_group {
        height: 100svh;
    }    

    .sec_fir .grids {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    /* 인사말 */

    .cont_greet .grids .img img {
        max-width: 100%;
    }

    /* 의료진 소개 및 진료시간 안내 */

    .cont_doctor .grids .img img {
        max-width: 100%;
    }

    .cont_doctor .grids .fxsb {
        flex-wrap: wrap;
    }

    .cont_doctor .grids .fxsb > div {
        margin: 10px 0;
    }

    /* 척추 통증 */

    .lange_wrap .lange_5 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

}

@media all and (max-width: 430px) {

    .sec_fir .grids li .bg img {
        width: min-content;
    }

}