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

#wrapper {margin-top: 90px;}

/* 메인슬라이드 */
.main-slide .swiper-pagination-bullet-active {
	background-color: #ff9c11;
}


/* 진료과목 */
.treatment {display: flex;}
.treatment li {width: 23%; height: 400px; margin-left: 2%; color: #222; position: relative; background-size: cover; background-repeat: no-repeat;}
.treatment li:first-child {background-image: url(../img/main/treatment_01.jpg); margin-left: 0;} 
.treatment li:nth-child(2) {background-image: url(../img/main/treatment_02.jpg);}
.treatment li:nth-child(3) {background-image: url(../img/main/treatment_03.jpg);}
.treatment li:last-child {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; bottom: 4%; left: 7%; line-height: 1.2;color: #333;}
.treatment li b{font-size: 1em;}
.treatment li span{font-size: 0.9em; font-weight: 300;}
/* 진료과목 */



/* 치과의 특별함 */
.special {background-color: #f7f7f7; margin-top: 100px; padding-bottom: 100px; position: relative;}
.special ul {display: flex; justify-content: center;}
.special ul:after {content: ''; display: block; width: 100%; height: 0.5%; position: absolute; background-color: #313131; top: 15.5%; z-index: 0;}
.special ul li {text-align: center; margin-left: 5%; width: 100%;}
.special ul li:first-child {margin-left: 0;}
.special ul li:before {top: 15px; content: attr(data-number);  font-family: 'GmarketSansMedium'; display: inline-block; background-color: #1a4079; color: #fff; border-radius: 50%; font-size: 25px; width: 50px; height: 40px; padding-top: 10px; margin: 0 auto 7%; z-index: 1; position: relative;}

.special ul li h4 {font-weight: 500; margin-top: 5%; margin-bottom: 3%; line-height: 1.3;}
.special ul li h4::before {content: ''; display: block; width: 2px; height: 40px; background-color: #111; margin: 15px auto; transform: rotate(40deg);}
.special .title {text-align: center;}
.special .title h3 {background-color: #003377; color: #fff; padding: 0.5% 2% 0 2%; display: inline-block;}
.special .title::after {display: none;}
.special .title h3::after{display: none;}
.special .detail-btn {display: inline-block; border: 1px solid #ddd; padding: 5px 30px; border-radius: 20px; margin-top: 5%;}
.special .detail-btn:hover {border-color: #1a4079; background-color: #1a4079; color: #fff; transition: all ease 0.3s;}
.special p{transition:0.3s; color: #333;}
.special p.active{color: #1a4079; font-weight: 500; transition:0.3s;}
/* 치과의 특별함 */



/* =========== info-time ======== */
.time-table {position: relative; padding-bottom: 100px;}
.time-table * {
    text-align: center;
}
.time-table ul {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto 0;
}
.time-table ul li {
    width: 100%;
}
.time-table ul li:last-child {
    margin-left: 50px;
}
.time-table h6 {
    padding: 5px 0;
    font-family: 'NanumSquare', san-serif;
    font-weight: 700;
    transform: skew(-0.1deg);
    font-size: 20px;
}
.time-table h6:nth-of-type(2n) {
    padding: 10px 0;
}
.time-table h6:nth-of-type(2n-1) {
    background-color: #f0f0f0;
    font-weight: 800;
}
.time-table h6.night-time {
    background: #003377;
    color: #fff;
}
.time-table article {
    margin-top: 80px;
}
.time-table article img {
    margin-right: 20px;
}



/* 오시는 길 */
.map {background-color: #f7f7f7; padding-bottom: 100px; position: relative;}

.map ul.flex > li > div {
    padding: 50px 0;
    height: 340px;
    border: 2px solid #d1d1d1;
	background-color: #fff;
}
.map ul.flex h5 {
    margin-top: 10px;
    font-family: 'NanumSquare', san-serif;
    font-weight: 800;
    transform: skew(-0.1deg);
}
.map ul.flex p {
    position: relative;
    margin-top: 10px;
    padding-top: 20px;
    font-weight: 700;
}
.map ul.flex p::before {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #ddd;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.map .root_daum_roughmap {
    width: calc(100% - 20px) !important;
    margin: 0 auto;
}

.map li img {
    height: 60px;
}

@media screen and (max-width: 1200px) {
    .time-table article {
        margin-top: 40px;
    }
}


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

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

}


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

@media screen and (max-width:1200px) {
	#wrapper {margin-top: 48px;}

	main {margin-top: 83px;}
	.special {padding: 70px 0}
}


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

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

	.special {padding: 50px 0}
	.special ul li:before {font-size: 20px; width: 45px; height: 35px; padding-top: 10px;}
	.special ul li h4::before {height: 30px;}
}

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

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

	.treatment {display: block; max-width: 600px; margin: 0 auto;}
	.treatment li {float: left; width: calc(50% - 1%);}
	.treatment li:nth-child(3) {margin-left: 0;}
	.treatment li:nth-child(3), .treatment li:nth-child(4) {margin-top: 2%;}
	.treatment::after {content: ''; display: block; clear: both;}
	
	.special ul {display: block;}
	.special ul:after {display: none;}
	.special ul li {margin-left: 0; margin-bottom: 5%;}
	.special ul li:before {margin-bottom: 3%; top: 0;}
	.special ul li h4 {margin-top: 3%;}
	.special ul li img {width: 60%;}
	.special ul li img:hover {transform: scale(1);}

	 /* =========== info-time ======== */
    .time-table ul {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }
    .time-table ul li img {
        width: 70%;
    }
    .time-table ul li:last-child {
        margin: 40px auto 0;
    }
    .time-table h6 {
        font-size: 18px;
    }

	/* ========= info-map ========= */
    .map ul.flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    .map ul.flex > li {
        width: 100%;
    }
    .map ul.flex > li > div {
        height: auto;
    }
}

/* ===================== Mobile size : 425px ======================= */

@media screen and (max-width:426px){
	.time-table ul {width: 100%;}
	.time-table h6 {font-size: 16px;}

	.treatment li {height: 100%; padding: 40% 0;}
	.treatment li h5::after {height: 35px;}

	.special ul li h4::before {height: 20px;}

	 /* =========== info-time ======== */
    .time-table ul {
        width: 100%;
    }
    .time-table h6 {
        font-size: 16px;
    }
    .time-table article {
        margin-top: 30px;
    }
    .time-table article img {
        max-width: 40px;
        margin-right: 15px;
    }

	/* ========= info-map ========= */
    .map ul.flex > li > div {
        padding: 30px 0;
    }
    .map ul.flex > li p {
        margin-top: 5px;
        padding-top: 15px;
    }
    .map ul.flex > li img {
        max-width: 50px;
    }
	
}

/* ===================== Mobile size : 366px ======================= */

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