/* ============================ main style start ============================= */
@charset "utf-8";

/* youtube responsive*/
.embed-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.swiper-slide img {
    width: 100%;
}

main {
    position: relative;
    margin-top: 190px;
}
.content:first-of-type {
    padding-top: 0;
}
#footer {
    border-top: none;
}
#header {
    position: fixed;
}
.treatment {
    margin: 0 auto;
    width: 80% !important;
}

.treatment li > div {
    height: 500px;
    color: #222;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
}
.treatment li:first-child > div {
    background-image: url(../img/main/treatment_01.jpg);
    margin-left: 0;
}
/* .treatment li:nth-child(2) > div {
    background-image: url(../img/main/treatment_02.jpg);
} */
.treatment li:nth-child(3) > div {
    background-image: url(../img/main/treatment_03.jpg);
}
.treatment li:nth-child(2) > div {
    background-image: url(../img/main/treatment_04.jpg);
}
.treatment li a {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.treatment li h5 {
    white-space: pre-line;
    opacity: 1;
    transition: all ease 0.3s;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    line-height: 1.2;
    color: #333;
    text-align: center;
    width: 100%;
    font-family: 'NanumSquare', san-serif;
    font-weight: 400;
}
.treatment li b {
    font-size: 1em;
    font-weight: 800;
}
.treatment li span {
    font-size: 0.7em;
    font-weight: 400;
    margin-bottom: 5px;
    display: inline-block;
}

/* special */
.special {
    background-color: #ebf4f2 !important;
}
.special ul {
    position: relative;
    display: flex;
    justify-content: center;
}
.special ul:after {
    position: absolute;
    content: '';
    display: block;
    top: 25px;
    width: calc(100% - 30%);
    height: 2px;
    background-color: #b6b6b6;
    z-index: 0;
}
.special ul li:before {
    position: relative;
    content: attr(data-number);
    display: flex;
    justify-content: center;
    align-items: center;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: #244683;
    color: #fff;
    border-radius: 50%;
    font-size: 25px;
    z-index: 1;
    font-weight: 500;
}

.special h6 {
    margin: 20px 0 15px;
    padding: 8px 10px;
    border-radius: 40px;
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
    transform: skew(-0.1deg);
    color: #fff;
    background: #08254f;
}
.special p {
    white-space: pre-line;
}
.special .detail-btn {
    display: inline-block;
    border: 1px solid #ddd;
    padding: 5px 30px;
    border-radius: 20px;
}
.special .detail-btn:hover {
    border-color: #244683;
    background-color: #244683;
    color: #fff;
    transition: all ease 0.3s;
}

.special img {
    width: 100%;
}

/* 시간 */
.info-wrap {display: flex; align-items: center; flex-wrap: wrap; background: #f9f9f9;}
.info-wrap > li {width: 50%; height: 100%;}
.info-wrap .time-wrap {display: flex; justify-content: center;}
.time-wrap .time {display: flex; flex-direction: column;}
.time-wrap .time > ul {display: flex; flex-direction: column;}
.time-wrap .time > ul > li {padding: 0 10px;}
.time-wrap .time > ul > li:not(:first-child) {margin-top: 10px;}
.time-wrap .time > ul > li.night {position: relative; background: #28afd7; color: #fff; }
.time-wrap .time > ul ul {display: flex; align-items: center;}
.time-wrap .time > ul ul > li:first-child {width: 160px; text-align-last: justify; margin-right: 30px;}
.time-wrap .time > ul ul > li:first-child h4 {font-weight: bold;}
.time-wrap .time > ul ul > li:last-child h4 {font-weight: 300;}
.time-wrap .time .notice {margin-top: 20px;}
.time-wrap .time .notice p {white-space: pre-line; font-size: 22px; line-height: 1.5;}
.time-wrap .time .notice p b {color: #009bd3;}
.map-wrap .root_daum_roughmap {width: 100%;}
.map-wrap .wrap_map {width: 100%; height: 500px !important;}
.map-wrap .root_daum_roughmap .wrap_controllers {display: none;}

.info-time .btm {padding: 40px 20px; background: #28afd7; color: #fff;}
.info-time .btm > ul {display: flex; align-items: center;}
.info-time .btm > ul > li {width: 50%;}
.info-time .btm .tit {display: inline-block; width: 110px; text-align: center; padding: 2px 20px; border-radius: 20px; font-weight: 900; background: #fff; color: #333;}
.info-time .btm .left {text-align: center;}
.info-time .btm .right ul > li {display: flex; align-items: center; margin-top: 10px;}
.info-time .btm .right ul > li p.sub {margin-left: 15px;}

/* ===================== Mobile size : 1500px ======================= */

@media screen and (max-width: 1500px){

}


/* ===================== Mobile size : 1200px ======================= */

@media screen and (max-width: 1200px){
    main {
        margin-top: 86px;
    }
.info-wrap > li {width: 100%;}
.time-wrap > div {padding: 40px 0;}
.map-wrap .wrap_map {height: 350px !important;}

.info-time .btm .right ul > li {display: block;}
.info-time .btm .right ul > li p.sub {margin: 5px 0 0 0;}
}


/* ===================== Mobile size : 1024px ======================= */

@media screen and (max-width: 1024px){

}

/* ===================== Mobile size : 900px ======================= */

@media screen and (max-width: 900px){

}

/* ===================== Mobile size : 769px ======================= */

@media screen and (max-width: 769px){
.time-wrap .time > ul ul > li:first-child {width: 120px; margin-right: 20px;}
.time-wrap .time .notice p {font-size: 18px;}
.map-wrap .wrap_map {height: 300px !important;}
}

/* ===================== Mobile size : 600px ======================= */

@media screen and (max-width: 600px) {
.info-time .btm > ul {flex-wrap: wrap;}
.info-time .btm > ul > li {width: 100%;}
.info-time .btm .right ul {margin-top: 40px; text-align: center;}
}

/* ===================== Mobile size : 480px ======================= */

@media screen and (max-width: 480px){
.time-wrap .time > ul > li.night {border-radius: 10px 0 10px 0;}
.time-wrap .time > ul > li.night::before {width: 30px; height: 30px; left: -35px;}
.time-wrap .time > ul ul > li:first-child {width: 85px;}
.time-wrap .time h4 {font-size: 20px;}
.time-wrap .time .notice p {font-size: 15px;}

.info-time .btm .right ul {margin-top: 20px;}
}

/* ===================== Mobile size : 380px ======================= */

@media screen and (max-width: 380px){

}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box {
    display: flex;
    align-items: start;
    justify-content: flex-start;
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid #dddddd;
    text-align: end;
}
.basic-box:last-child{
    border-bottom: 0px solid black;
}
.basic-box:nth-child(2n){
    text-align: start;
}
.basic-box:first-of-type {
    margin-top: 0;
}
.basic-box li {
    width: 100%;
}
.basic-box li:first-child {
    flex: 1;
}
.basic-box li:last-child {
    margin-left: 30px;
    flex: 1;
}
.basic-box li h5 {
    margin: 0 0 15px;
    font-weight: 600;
    white-space: pre-line;
    transform: skew(-0.1deg);
}
.basic-box li.num h5 {
    margin: 20px 0 15px;
}
.basic-box li p {
    white-space: pre-line;
}
.basic-box.line li h5 {
    position: relative;
    padding-bottom: 10px;
}
.basic-box.line li h5::before {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #2c6eb6;
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width: 769px) {
    /* 사진+텍스트 들어간 기본 스타일 */
    .basic-box {
        display: flex;
        text-align: center;
        flex-direction: column;
    }
    .basic-box:nth-child(2n){
        flex-direction: column-reverse;
        text-align: center;
    }
    .basic-box:not(:first-of-type) {
        margin-top: 40px;
    }
    .basic-box li:last-child {
        margin-left: 0;
        margin-top: 20px;
    }
    .basic-box li h5 {
        margin: 20px 0 10px !important;
    }
    .basic-box li img {
        border-radius: 20px;
        max-width: 500px;
        width: 100%;
    }
    .basic-box.line li h5::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width: 600px) {
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width: 425px) {
    /* 사진+텍스트 들어간 기본 스타일 */
    .basic-box li img {
        border-radius: 10px;
        max-width: 70%;
    }
    .basic-box li h5 {
        margin: 15px 0 10px !important;
        line-height: 1.4;
    }
}