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

/* map */
#daumRoughmapContainer1625814443777 {width: 100% !important; position: relative;}
.map-wrap .inner {position: absolute; top: 0; z-index: 999; height: 100%; background-color: #00000059; max-width: 35%;}
.map-wrap .map-box {background-color: #3d4b6f; padding: 20px 60px; position: absolute; right: -25%; top: 4%;}
.map-wrap .map-box li {margin-top: 15px;}
.map-wrap .map-box li:first-child {margin-top: 0;}

.map-wrap .map-box p {color: #fff; font-weight: 400; display: flex; justify-content: space-between; line-height: 1.8;}
.map-wrap .map-box li:first-child p {display: block;}
.map-wrap .map-box p span {display: block;}
.map-wrap .map-box li:nth-child(2) p:last-of-type {font-weight: 300;}

.map-wrap .map-box h5 {display: flex; align-items: center; margin-bottom: 5px;}
.map-wrap .map-box h5::before {content: ''; display: block; width: 34px; height: 34px; background-size: cover; margin-right: 5px;}
.map-wrap .map-box li:nth-child(1) h5::before {background: url(../img/main/main_icon01.png);}
.map-wrap .map-box li:nth-child(2) h5::before {background: url(../img/main/main_icon02.png);}
.map-wrap .map-box li:nth-child(3) h5::before {background: url(../img/main/main_icon03.png);}


/* main-slide */
#main-slide {position:relative;}
#main-slide .swiper-slide {display:table; background-position:center; background-size:cover; width:100%;}
#main-slide .pg-wrap {position:absolute; bottom:0; left:0px; width:100%; text-align:center; height:40px; z-index:1000;}
#main-slide .swiper-pagination1 {z-index:10; display:table; margin:0 auto;}
#main-slide .pg-wrap .swiper-pagination-bullet {position:relative; border-radius: 30px; width:30px; height:30px; overflow:hidden; display:block; float:left; margin:0; padding:0; font-weight:500; opacity:1; background:#333333; z-index:0; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; margin-right:5px;}
#main-slide .pg-wrap .swiper-pagination-bullet:before {position:absolute; left:0; top:0; color:#fff; width:100%; height:100%; text-align:center; line-height:30px; font-size:15px; box-sizing: border-box; webkit-box-sizing: border-box; moz-box-sizing: border-box; }
#main-slide .pg-wrap .swiper-pagination-bullet-active {width:260px; background:#fff;}
#main-slide .pg-wrap .swiper-pagination-bullet-active:before {color:#282828;}

#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(1):before {content:"01";}
#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(2):before {content:"02";}
#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(3):before {content:"03";}
#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(4):before {content:"04";}
#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(5):before {content:"05";}

#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(1):before {content:"분야별 협진 진료"; }
#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(2):before {content:"디지털 장비 보유"; }
#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(3):before {content:"임플란트 책임 보증제도"; }
#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(4):before {content:"감염 예방 강화 의료기관"; }
#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(5):before {content:"서울안심치과 철학"; }

/* sub-slide */

.mobile-contact {display: none;}
.mobile-contact ul {display: flex;}
.mobile-contact ul li {width: 50%;}
.mobile-contact ul li:first-child {margin-right: 10px;}

/* content */
.title {text-align: center; margin-top: 120px;}
.title h2 {font-size: 35px; font-weight: 800; white-space: normal;} /* SEO: h4→h2 변경, 기존 h4 크기 유지 */
.img-menu ul {display: flex;}
.img-menu ul li {width: 100%;}
.img-menu ul:first-of-type li:last-child {margin-left: 10px;}
.img-menu ul:first-of-type li:last-child div:last-of-type {margin-top: 10px;}
.img-menu ul:last-of-type {margin-top: 10px;}
.img-menu ul:last-of-type li {margin-left: 10px;}
.img-menu ul:last-of-type li:first-child {margin-left: 0;}
.img-menu img {width: 100%;}

.img-box {position: relative; display: inline-block;}
.img-box .upper-image {position: absolute; top: 0; left: 0; transition: opacity 0.4s; opacity: 0;}
.img-box .upper-image:hover {opacity: 1;}

#sub-slide .pg-wrap {position:absolute; top: 10px; left:15px; width:100%; z-index:1000;}
#sub-slide .pg-wrap .swiper-pagination-bullet {margin-left: 8px;}

.circle-list {display: flex; justify-content: space-between; margin-bottom: 60px;}
.circle-list li {margin-left: 10px;}
.circle-list li:first-child {margin-left: 0;}


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

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

	#daumRoughmapContainer1625814443777 {padding: 0 10px; margin-top: 10px;}
	.root_daum_roughmap .wrap_map {height: 250px !important;}

	.map-wrap {margin-top: 10px;}
	.map-wrap .inner {background-color: transparent; position: relative; max-width: 100%;}
	.map-wrap .inner .map-box {position: relative; width: 100%; right: 0; padding: 20px 40px;}
	.map-wrap .map-box li {display: flex; justify-content: flex-start; align-items: flex-start;}
	.map-wrap .map-box h5 {width: 30%; margin-right: 20px;}
	.map-wrap .map-box div {width: calc(70% - 20px);}

	.title {margin-top: 60px;}
	.title h2 {font-size: 30px;}
	
}

/* ===================== Mobile size : 767px ======================= */

@media screen and (max-width:769px){
	#main-slide .pg-wrap {height: 30px;}
	#main-slide .pg-wrap .swiper-pagination-bullet {position:relative; border-radius: 50%; width:10px; height:10px; background:#333333; margin-right:10px;}
	#main-slide .pg-wrap .swiper-pagination-bullet-active {background:#fff;}
	#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(1):before, #main-slide .pg-wrap .swiper-pagination-bullet:nth-child(2):before,
	#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(3):before, #main-slide .pg-wrap .swiper-pagination-bullet:nth-child(4):before,
	#main-slide .pg-wrap .swiper-pagination-bullet:nth-child(5):before,#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(1):before,
	#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(2):before, #main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(3):before,
	#main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(4):before, #main-slide .pg-wrap .swiper-pagination-bullet-active:nth-child(5):before {content:""; }

	#sub-slide {display: none;}
	
	.mobile-contact {display: block; margin-top: 20px;}

	.map-wrap .inner .map-box {position: relative; width: 100%; right: 0; padding: 15px 10px;}
	.map-wrap .map-box h5 {white-space: pre-line;}
	
	.title {margin-top: 30px;}
	.title h2 {font-size: 25px;}
	.img-box, .img-menu ul {display: block;}
	.img-menu ul:last-of-type li, .img-menu ul:first-of-type li:last-child {margin-left: 0;}

	.img-menu ul:last-of-type::after {content: ''; display: block; clear: both;}
	.img-menu ul:last-of-type li {float: left; width: calc(50% - 5px);}
	.img-menu ul:last-of-type li:nth-child(2), .img-menu ul:last-of-type li:nth-child(4) {margin-left: 10px;}
	.img-menu ul:last-of-type li:nth-child(3), .img-menu ul:last-of-type li:nth-child(4) {margin-top: 10px;}

	.img-menu img {width: 100% !important;}

	.circle-list {display: none;}

}

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

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

	.map-wrap .map-box li {display: block;}
	.map-wrap .map-box h5, .map-wrap .map-box div {width: 100%;}
	.map-wrap .map-box h5 {white-space: inherit;}
	.title h2 {font-size: 20px;}

}

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

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

}