@charset "utf-8";

/*========================================================================================================================================= */
/*================================================================ common ================================================================= */
/*========================================================================================================================================= */

#wrapper {margin-top: 90px;}
section:last-of-type {padding-bottom: 120px;}
main {overflow: hidden;}

.link {position: absolute; top: -120px; left: 0;}
.res-bg{padding: 120px 0 !important;}
.title-num{display: flex;  padding-top: 5px; margin: 0 auto 10px; background: #003377; color: #fff; font-size: 30px; width: 60px; height: 60px; align-items: center; justify-content: center; font-family: 'NanumSquare',san-serif; font-weight: 700; transform: skew(-0.1deg); border-radius: 50%;}

.stick ul.flex li h6{background: #003377; color: #fff; padding: 10px; font-family: 'NanumSquare',san-serif; font-weight: 700; transform: skew(-0.1deg);}
.stick ul.flex li:nth-child(2n) h6{background: #006a65;}

/* 레이아웃 */
	.col-2, .col-3, .col-4, .col-5 {display: flex; flex-wrap: wrap; width: 100%; justify-content: center;}
	.col-2 li, .col-3 li, .col-4 li, .col-5 li {position: relative; margin-left: 2%; flex: 0 0 auto; width: 100%;}
	.col-2 li {width: calc(50% - 2%);}
	.col-4 li {width: calc(25% - 2%);}
	.col-3 li, .col-5 li {width: calc(33.3% - 2%);}
	.col-2 li:first-child, .col-2 li:nth-child(3), .col-2 li:nth-child(5), 
	.col-3 li:first-child, .col-3 li:nth-child(4), .col-3 li:nth-child(7),
	.col-4 li:first-child, .col-4 li:nth-child(5),
	.col-5 li:first-child, .col-5 li:nth-child(4) {margin-left: 0;}
	.col-2 li:nth-child(3), .col-2 li:nth-child(4),	.col-2 li:nth-child(5),
	.col-3 li:nth-child(4), .col-3 li:nth-child(5), .col-3 li:nth-child(6), .col-3 li:nth-child(7), .col-3 li:nth-child(8), .col-3 li:nth-child(9),
	.col-4 li:nth-child(5), .col-4 li:nth-child(6), .col-4 li:nth-child(7), .col-4 li:nth-child(8),
	.col-5 li:nth-child(4), .col-5 li:nth-child(5), .col-5 li:nth-child(6), .col-5 li:nth-child(7), .col-5 li:nth-child(8), .col-5 li:nth-child(9), .col-5 li:nth-child(10),
	.col-5 li:nth-child(11), .col-5 li:nth-child(12), .col-5 li:nth-child(13), .col-5 li:nth-child(14), .col-5 li:nth-child(15) {margin-top: 3%;}
	.col-2 li h5, .col-3 li h5, .col-4 li h5, .col-5 li h5 {margin: 3% 0 2% 0; font-weight: 500;}

    @media screen and (max-width: 769px) {
  .col-4 li {
    width: calc(50% - 2%);
  }

  .col-4 li:nth-child(3),
  .col-4 li:nth-child(7) {
    margin-left: 0;
  }

  .col-3 li:nth-child(4),
  .col-3 li:nth-child(5),
  .col-3 li:nth-child(6),
  .col-3 li:nth-child(7),
  .col-3 li:nth-child(8),
  .col-3 li:nth-child(9),
  .col-4 li:nth-child(3),
  .col-4 li:nth-child(4),
  .col-4 li:nth-child(5),
  .col-4 li:nth-child(6),
  .col-4 li:nth-child(7),
  .col-4 li:nth-child(8) {
    margin-top: 3%;
  }

  .col-3 {
    display: flex !important;
  }
}

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

  .col-3 li {
    display: block !important;
  }

  .col-3 .circle-box {
    display: flex !important;
  }

  .col-3 li,
  .col-3 li:first-child,
  .col-3 li:nth-child(4),
  .col-3 li:nth-child(7) {
    max-width: 425px;
    margin: 0 auto 6%;
    width: 60%;
  }

  .col-3 li.circle-box {
    width: calc(33.3% - 2%);
  }

  .m-col-3 li {
    width: calc(33.3% - 2%) !important;
    margin-top: 3% !important;
  }

  .col-2 {
    display: block;
  }

  .col-2 li {
    width: 100%;
    margin-left: 0;
  }

  .col-2 li:nth-child(2) {
    margin-top: 3%;
  }

  .col-2 li p,
  .col-5 li p {
    white-space: pre-line;
  }

  .col-2 li p br,
  .col-5 li p br {
    display: none;
  }

  .col-5 li {
    width: calc(50% - 2%);
    margin-left: 0;
  }

  .col-5 li:nth-child(2),
  .col-5 li:nth-child(4),
  .col-5 li:nth-child(6),
  .col-5 li:nth-child(8),
  .col-5 li:nth-child(10),
  .col-5 li:nth-child(12),
  .col-5 li:nth-child(14) {
    margin-left: 2%;
  }

  .col-5 li:nth-child(3),
  .col-5 li:nth-child(4),
  .col-5 li:nth-child(5) {
    margin-top: 3%;
  }
}
/* 숫자 스타일 */
.num::before {content: attr(data-num); display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; background-color: #003377; color: #fff; font-size: 24px; font-weight: 500; text-align: center;}
.num.num-posa::before {position: absolute; margin: 0;}


/* 미들 타이틀 (작은 타이틀) */
.middle-title {font-weight: 500; text-align: center; margin-bottom: 40px;} 
.middle-title p {font-weight: 400; white-space: pre-line; margin-top: 20px;} 
.middle-title h4 {font-weight: 500;} 
.middle-title h6 {font-family: 'NanumSquare',san-serif; font-weight: 700; transform: skew(-0.1deg); white-space: pre-line; } 
.middle-title > span.num::before {font-family: 'NanumSquare',san-serif; font-weight: 400; transform: skew(-0.1deg); margin: 0 auto 20px;} 


/* 테이블 스타일 */
.table-wrap {text-align: center;}
.table-wrap .middle-title h4 {display: inline-block; padding: 8px 20px; background-color: #003377; color: #fff;}
.table-wrap table {width: 100%; white-space: pre-line;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 18px; padding: 15px 10px; border: 1px solid #eee; vertical-align: middle;}
.table-wrap table thead tr, .table-wrap table tbody tr th {background: #f5f5f5; font-weight: 600;}
.table-wrap .imp-icon img{max-width: 50px; margin-bottom: 10px;}


/* 사진 들어간 테이블 */
.photo-table table {text-align: center; width: 100%;}
.photo-table table tr, .photo-table table tr td {padding: 15px 10px; border: 1px solid #ccc; vertical-align: middle;}
.photo-table table td {white-space: pre-line;}
.photo-table table thead tr:first-of-type td, .photo-table table thead tr {border: none;}
.photo-table table thead tr:first-of-type td {padding: 0;}
.photo-table table thead tr:last-of-type td {background: #003377; color: #fff; font-weight: 600; font-size: 20px;}
.photo-table table thead tr:first-of-type td:not(:first-child) {border: 1px solid #ccc; border-bottom: none;}


/* 숫자 리스트 */
.num-list .num {position: relative; margin-bottom: 30px; padding-left: 50px; text-align: left; /* display: flex; align-items: center; */}
.num-list .num:last-child {margin-bottom: 0;}
.num-list .num::before {position: absolute; display: flex; align-items: center; justify-content: center; left: 0; top: 0px; width: 35px; height: 35px; font-size: 20px;}
.num-list .num:nth-child(2n)::before {background-color: #0e53af;}
.num-list.middle .num::before {top: 50%; transform: translateY(-50%);}


/* 이미지 테두리 리스트 */
.line-list img {border: 1px solid #ccc; width: 100%;}


/* 원형 이미지 테두리 리스트 */
.circle-list img {border-radius: 50%; border: 1px solid #ccc;}
.circle-list {text-align: center;}


/* 파란 선 들어간 네모 박스 */
.line-box li > div {position: relative; padding: 30px 20px 30px 30px; border: 1px solid #eee;}
.line-box li > div::after {content: ''; display: block; width: 10px; height: 100%; position: absolute; left: 0; top: 0; background-color: #003377;}
.line-box h5 {margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; font-weight: 500;}
.line-box p {white-space: pre-line;}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box {display: flex; align-items: center; justify-content: flex-start; margin-top: 40px;}
.basic-box:first-of-type {margin-top: 0;}
.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: #274c8d;}


/* 원 안에 아이콘 없는 박스 */
.circle-box > div > div {border-radius: 50%; background-color: #f5f5f5;}
.circle-box:nth-child(2n-1) > div > div {background-color: #ebf4ff;}
.circle-box > div > div::after {content: ''; display: block; padding-bottom: 100%;}
.circle-box p {position: absolute; width: 100%; height: auto; bottom: 50%; transform: translate(0, 50%); text-align: center; white-space: pre-line;}
.circle-box h5 {position: absolute; white-space: pre-line; text-align: center; bottom: 50%; transform:translateY(50%); display: inline-block; width: 100%;	}
/* .circle-box span{font-size: 24px; font-weight: bold;} */


/* 원 안에 아이콘 들어간 리스트 */
.circle-icon {border-radius: 50%; border: 2px solid #f5f5f5; height: 100%; width: 100%;}
.circle-icon:nth-child(2n-1) {border: 2px solid #e5f4fd;}
.circle-icon * {margin: 0 auto; text-align: center;}
.circle-icon::after {content: ''; display: block; padding-bottom: 100%;}
.circle-icon div {position: absolute; top: 50%; transform: translate(-50%, -50%); left: 50%; height: 50%; width: 100%; display: flex; flex-direction: column; justify-content: center;}
.circle-icon p {text-align: center; white-space: pre-line; line-height: 1.2; margin-top: 5%;}

	/* 원 안에 아이콘 들어간 리스트 */
	.circle-icon {max-width: 250px;}
	.circle-icon img {max-width: 50%;}

	.circle-wrap {display: flex;}
	.circle-wrap li, .circle-wrap li:first-child {width: calc(33.3% - 2%);}
	.circle-wrap li img, .circle-wrap li:first-child img {max-width: 40%;}

/* 배경색 타이틀 */
.bg-tit {display: inline-block; padding: 4px 28px; margin: 0 auto; background: linear-gradient(to right, #1f3d74, #4067aa); color: #fff;}


/* 둥근 모서리를 가진 배경색 타이틀 */
.radius-tit {display: inline-block; padding: 8px 42px; margin: 0 auto; border-radius: 40px; background: linear-gradient(to right, #1f3d74, #4067aa); color: #fff;}


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

}

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

}

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

}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width:900px) {
/* 테이블 스타일 */
.table-wrap .table-scroll {overflow-x: scroll; overflow-y: hidden; max-width: 100%;}
.table-wrap table {min-width: 900px;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 15px;}
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
section:last-of-type {padding-bottom: 80px;}

.res-bg{padding: 80px 0 !important;}

/* 숫자 스타일 */
.num::before {margin: 10px auto 0; width: 40px; height: 40px;}
.num-list .num::before {margin: 0 10px 0 0;}


/* 사진 들어간 테이블 */
.photo-table table td {font-size: 15px;}
.photo-table table thead tr:last-of-type td {font-size: 18px;}


/* 사진+텍스트 들어간 기본 스타일 */
.basic-box {display: block; 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%);}


/* 파란 선 들어간 네모 박스 */
.line-box li::after {width: 8px;}
.line-box li > div {height: auto !important;}
}

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

}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:425px) {
section:last-of-type {padding-bottom: 60px;}

.link {top: -60px;}
.res-bg{padding: 50px 0 !important;}
.stick .flex > li > div.m10{margin: 5px;}
.title-num{font-size: 20px; width: 45px; height: 45px;}


/* 숫자 스타일 */
.num::before {width: 35px; height: 35px; font-size: 17px; margin: 0 auto;}
.num-list .num {display: flex; align-items: center; margin-bottom: 0; padding-left: 40px;}
.num-list .num:not(:first-child) {margin-top: 20px;}
.num-list .num::before {width: 30px; height: 30px; margin: 0 auto; font-size: 16px;}


/* 미들 타이틀 (작은 타이틀) */
.middle-title{margin-bottom: 20px;}
.middle-title p{margin-top: 10px;}
.middle-title > span.num::before {margin: 0 auto 10px;}


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


/* 원 안에 아이콘 없는 박스 */
.circle-box > div {margin: 5px !important;}
.circle-box h5 {font-size: 15px;}


/* 파란 선 들어간 네모 박스 */
.line-box li::after {width: 5px;}
.line-box li > div {padding: 25px 20px 30px 25px;}
.line-box li h5 {padding-bottom: 5px; margin-bottom: 10px;}


/* 테이블 스타일 */
.table-wrap table {min-width: 700px;}
.table-wrap table tr, .table-wrap table th, .table-wrap table td {font-size: 12px;}
.table-wrap .imp-icon img{max-width: 30px; margin-bottom: 5px;}


/* 사진 들어간 테이블 */
.photo-table table td {font-size: 12px;}
.photo-table table tr, .photo-table table tr td {padding: 10px 5px;}
.photo-table table thead tr:last-of-type td {font-size: 15px;}


/* 배경색 타이틀 */
.bg-tit {padding: 3px 24px;}


/* 둥근 모서리를 가진 배경색 타이틀 */
.radius-tit {padding: 6px 32px;}
}


/*========================================================================================================================================= */
/*================================================================ common ================================================================= */
/*========================================================================================================================================= */



/*========================================================================================================================================= */
/*================================================================ banner ================================================================= */
/*========================================================================================================================================= */
	
/* 배곧탑치과 */
.banner-bg.sub-banner-1 {background: url(../img/sub/sub-banner-1.jpg) center/cover no-repeat;}
.banner-bg.sub-banner-2 {background: url(../img/sub/sub-banner-2.jpg) center/cover no-repeat;}
.banner-bg.sub-banner-3 {background: url(../img/sub/sub-banner-3.jpg) center/cover no-repeat;}
.banner-bg.sub-banner-4 {background: url(../img/sub/sub-banner-4.jpg) center/cover no-repeat;}
.banner-bg.sub-banner-5 {background: url(../img/sub/sub-banner-5.jpg) center/cover no-repeat;}
.banner-bg.sub-banner-6 {background: url(../img/sub/sub-banner-6.jpg) center/cover no-repeat;}

/* common */
.banner-bg {padding: 220px 0;}
.banner-bg h2 {color: #fff; text-align: center;}
.banner-bg p {color: #fff; text-align: center; font-size: 13px; letter-spacing: 2px;}


/* about */
.about-bg.banner-bg {background: url(../img/sub/about_bg.jpg) center/cover no-repeat;}
.info-dentist-bg.banner-bg {background: url(../img/sub/info_dentist_bg.jpg) center/cover no-repeat;}
.info-equipment-bg.banner-bg {background: url(../img/sub/info_equipment_bg.jpg) center/cover no-repeat;}
.info-interior-bg.banner-bg {background: url(../img/sub/info_interior_bg.jpg) center/cover no-repeat;}
.info-time-bg.banner-bg {background: url(../img/sub/info_time_bg.jpg) center/cover no-repeat;}
.info-map-bg.banner-bg {background: url(../img/sub/info_map_bg.jpg) center/cover no-repeat;}
.info-special-bg.banner-bg {background: url(../img/custom/info_special_bg.jpg) center/cover no-repeat;}

/* sub2, sub3 */
.implant-bg.banner-bg {background: url(../img/sub/implant_bg.jpg) center/cover no-repeat;}
.ortho-bg.banner-bg {background: url(../img/sub/ortho_bg.jpg) center/cover no-repeat;}
.basic-bg.banner-bg {background: url(../img/sub/basic_bg.jpg) center/cover no-repeat;}
.member-bg.banner-bg {background: url(../img/sub/login_bg.jpg) center/cover no-repeat;}

/* sub4 */
.wisdom-bg.banner-bg {background: url(../img/sub/wisdom_bg.jpg) center/cover no-repeat;}
.jaw-point-bg.banner-bg {background: url(../img/sub/jaw_point_bg.jpg) center/cover no-repeat;}
.caries-bg.banner-bg {background: url(../img/sub/caries_bg.jpg) center/cover no-repeat;}
.prosthetic-bg.banner-bg {background: url(../img/sub/prosthetic_bg.jpg) center/cover no-repeat;}
.denture-bg.banner-bg {background: url(../img/sub/denture_bg.jpg) center/cover no-repeat;}
.gum-therapy-bg.banner-bg {background: url(../img/sub/gum_therapy_bg.jpg) center/cover no-repeat;}
.root-canal-bg.banner-bg {background: url(../img/sub/root_canal_bg.jpg) center/cover no-repeat;}
.aesthetic-bg.banner-bg {background: url(../img/sub/aesthetic_bg.jpg) center/cover no-repeat;}
.tooth-bg.banner-bg {background: url(../img/sub/tooth_bg.jpg) center/cover no-repeat;}


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

}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width:1200px) {
.banner-bg{padding: 150px 0;}
}

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

}

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

}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
.banner-bg{padding: 100px 0;}
}

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

}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:425px) {
.banner-bg{padding: 60px 0;}
}


/*========================================================================================================================================= */
/*================================================================ banner ================================================================= */
/*========================================================================================================================================= */



/*============================================================================================================================================= */
/*================================================================ sub1 style ================================================================= */
/*============================================================================================================================================= */


/* =========== info-dentist======== */
/* 탭 메뉴 스타일 */
.dentist .tab-btn {display: flex; margin: 20px 0 40px;}
.dentist .tab-btn input {display: none;}
.dentist .tab-btn label {display: inline-block; padding: 15px 25px; text-align: center; border: 1px solid #ccc; color: #bbb; background-color: #fff;}
.dentist .tab-btn label:hover {color: #1860ab; cursor: pointer; transition: all ease 0.3s;}
.dentist .tab-btn input:checked + label {color: #fff; background-color: #295093; transition: all ease 0.3s;}

/* 탭 메뉴 내용 스타일 */
.dentist .tab-content {}
#tab-content2, #tab-content3, #tab-content4, #tab-content5 {display: none;}
.dentist .tab-content > ul {display: flex; width: 100%; background: url(../img/custom/logo.png) no-repeat; background-position: right bottom; background-size: auto;}
.dentist .tab-content > ul > li {width: 50%;}
.dentist .tab-content > ul > li:last-child {margin-left: 30px;}
.dentist .tab-content .tab-name {border-bottom: 2px dotted #ddd; margin-bottom: 20px; padding-bottom: 20px;}
.dentist .tab-content .tab-name > div {display:flex; align-items:center; margin-bottom: 10px;}
.dentist .tab-content .tab-name > div h3 {font-weight: 900;}
.dentist .tab-content .tab-name > div span {font-size: 0.6em; font-weight: 500;}
.dentist .tab-content .tab-name p {font-weight: 700;}
.dentist .tab-content .disc-list{list-style-type: disc; margin-left: 20px;}
.dentist .tab-content .disc-list li {line-height: 1.8;}

/* =========== info-interior ======== */
.gallery-top {position: relative; height: 80%; width: 100%; overflow: hidden;}
.gallery-thumbs {position: relative; height: 20%; padding: 10px 0; overflow: hidden;}
.gallery-thumbs .swiper-slide {width: 20%; height: 100%; opacity: 0.4;}
.gallery-thumbs .swiper-slide-thumb-active {opacity: 1;}

#gallery img {width: 100%;}
#gallery .swiper-button-prev,
#gallery .swiper-button-next {position: absolute; top: 50%; transform: translateY(-50%); margin: 0; width: 50px; height: 50px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.8); color: #333;
text-align: center; line-height: 30px; cursor: pointer; transition: all 0.4s ease-in-out;}
#gallery .swiper-button-prev:after,
#gallery .swiper-rtl .swiper-button-next:after {display: none;}
#gallery .swiper-button-next:after,
#gallery .swiper-rtl .swiper-button-prev:after {display: none;}
#gallery .swiper-button-prev i,
#gallery .swiper-button-next i {font-size: 16px;}
#gallery .swiper-button-prev {left: 10px;}
#gallery .swiper-button-next {right: 10px;}
#gallery .swiper-button-prev:hover,
#gallery .swiper-button-next:hover {background-color: rgba(22, 22, 22, 0.8); color: #fff;}

/* =========== info-equipment ======== */
#equipment li:nth-child(n+4):nth-child(-n+99) {margin-top: 20px;}
#equipment li h5 {margin-top: 10px; font-family: 'NanumSquare',san-serif; transform: skew(-0.1deg); font-weight: 800;}
#equipment li img {width: 100%; border: 1px solid #eee;}



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

}

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

/*================================================================ 1025px 이하 ================================================================= */
@media screen and (max-width:1025px) {
.dentist .tab-content > ul {background-size: 30%;}
}

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

}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
/* =========== info-dentist ======== */
.dentist .tab-btn {margin: 20px auto 40px; flex-direction: column; max-width: 350px;}
.dentist .tab-btn label {padding: 8px 15px;}

.dentist .tab-content .tab-name > div{display: block;}
.dentist .tab-content img {max-width: 350px; width: 100%;}
.dentist .tab-content > ul {display: block; background: none;}
.dentist .tab-content > ul > li {width: 100%; text-align: center;}
.dentist .tab-content > ul > li:last-child{margin: 20px 0 0 0;}
.dentist .tab-content .disc-list {display: flex; flex-direction: column; align-items: flex-start; max-width: 400px; margin: 0 auto; text-align: left;}
}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width:600px) {
/* =========== info-equipment ======== */
#equipment li {width: 50%;}
#equipment li:nth-child(n+3):nth-child(-n+99) {margin-top: 20px;}
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:425px) {
/* =========== info-dentist ======== */
.dentist .tab-btn {margin: 10px auto 30px;}

.dentist .tab-content .tab-name > div h3 {font-size: 32px;}
.dentist .tab-content .tab-name p {font-size: 14px;}
.dentist .tab-content .disc-list {max-width: 260px;}
.dentist .tab-content .disc-list li {font-size: 14px;}

}

/* =========== 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 {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;
    }

    /* 원 안에 아이콘 들어간 리스트 */
	.circle-icon {max-width: 250px;}
	.circle-icon img {max-width: 50%;}

	.circle-wrap {display: flex;}
	.circle-wrap li, .circle-wrap li:first-child {width: calc(33.3% - 2%);}
	.circle-wrap li img, .circle-wrap li:first-child img {max-width: 40%;}
}

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

@media screen and (max-width:426px){
	main {margin-top: 70px !important;}
	.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;
    }
	
}

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

@media screen and (max-width:366px){
	
}
/*============================================================================================================================================= */
/*================================================================ sub1 style ================================================================= */
/*============================================================================================================================================= */


/*========================================================================================================================================= */
/*======================================================== sub etc style ================================================================== */
/*========================================================================================================================================= */


/* ============= imp-navigation ============ */
.imp-navi-area1 article {margin-top: 60px; text-align: center;}
.imp-navi-area1 article * {white-space: pre-line;}
.imp-navi-area1 article h5 {position: relative; display: inline-block; margin: 0 auto; border-bottom: 5px solid #d9dfee; border-top: 5px solid #d9dfee; padding: 30px 100px; font-weight: 500; }
.imp-navi-area1 article h5::before, .imp-navi-area1 article h5::after {position: absolute; font-size: 80px; font-weight: 600; line-height: 1;}
.imp-navi-area1 article h5::before {content: '“'; left: 0; top: 0;}
.imp-navi-area1 article h5::after {content: '”'; right: 0; top: 0;}

/* ============= imp-highlevel ============ */
.imp-high-area1 ul.flex > li > div img {border: 1px solid #ccc; border-radius: 50%;}

/* ============= imp-denture ============ */
.imp-den-area1 .line-box li > div {height: 200px;}

.imp-den-area2 table {width: 100%;}
.imp-den-area2 table tr {display: flex;}
.imp-den-area2 table tr td {width: 20%; text-align: center;}
.imp-den-area2 table tr td:first-child, .imp-den-area2 table tr td:last-child {width: 40%;}
.imp-den-area2 table tr td:nth-child(2) p {font-weight: 800;}
.imp-den-area2 table tr:first-child td {background: #fff !important;}
.imp-den-area2 table tr:first-child td:not(:nth-child(2)) p {color: #fff;}
.imp-den-area2 table tr td:last-child p {color: #003377; font-weight: 800;}
.imp-den-area2 table tr:nth-child(2n) td {background: #ebf4ff;}
.imp-den-area2 table tr:not(:first-child) td{padding: 15px 5px;}

.imp-den-area2 .middle-title p {display: inline-block; padding: 4px 14px; color: #fff; background: #003377;}

/* ============= imp-oneday ============ */
.imp-oneday-area1 .line-box li > div {height: 250px;}

/* ============= imp-caution ============ */
.imp-caution-area1 .line-box li > div {height: 300px;}


/* ============= imp-insurance ============== */
.imp-insurance {text-align: center;}

.insurance-box {border: 2px solid #eee; padding: 60px 0; background: url(../img/sub/imp_insurance.jpg) no-repeat; background-size: cover; background-position: center bottom;}
.insurance-box .point {display: flex; align-items: flex-end; justify-content: center;}
.insurance-box .point li:nth-child(2) {margin: 0 20px;}
.insurance-box .point li h1 {font-size: 90px; transform: skew(-0.1deg); letter-spacing: -3px;}
.insurance-box .point li p {display: inline-block; padding: 2px 10px; font-weight: 600; background-color: #f5f5f5; }
.insurance-box .point li:last-child h1 {font-family: "GmarketSansBold"; transform: skew(-0.1deg);}
.insurance-box .point li:last-child p {background-color: #d9dfee;}

.insurance-box .info {position: relative; margin: 40px auto 0; padding: 15px 30px 15px 40px; width: 100%; max-width: 550px; border: 2px solid #eee; text-align: left; background: #fff;}
.insurance-box .info::before {position: absolute; content: ''; display: block; left: 0; top: 0; width: 15px; height: 100%; background-color: #003377;}
.insurance-box .info li {display: flex; align-items: center; padding: 20px 0; border-bottom: 2px solid #eee;}
.insurance-box .info li:last-child {border-bottom: none;}
.insurance-box .info li h6 {margin-right: 30px; font-weight: 500;}
.insurance-box .info li p {white-space: pre-line;}


/* =========== gum-therapy =========== */
.gum-therapy-area2 .basic-box li:first-child {text-align: center;}
.gum-therapy-area2 .basic-box li:last-child {flex: 2;}


/* =========== root-canal =========== */
.root-canal-area1 ul.flex > li:nth-child(n+4):nth-child(-n+5) {margin-top: 20px;}
.root-canal-area2 ul.flex img{max-width: 90px;}


/* =========== replantation =========== */
.rep-area1 ul.flex > li:nth-child(n+4):nth-child(-n+5) {margin-top: 30px;}


/* =========== chin =========== */
.chin-area1 ul.flex > li:nth-child(n+4):nth-child(-n+5) {margin-top: 30px;}
.chin-area1 ul.flex img {width: 100%;}


/* =========== prosthetic =========== */
.prosthetic-area1 img {max-width: 350px;}


/* =========== whitening =========== */
.whitening-area1 {background: #ebf4ff !important;}




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

}

/*================================================================ 1200px 이하 ================================================================= */
@media screen and (max-width:1200px) {
.navi h5::before, .navi h5::after {font-size: 60px;}
}

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

}

/*================================================================ 900px 이하 ================================================================= */
@media screen and (max-width:900px) {
/* =========== prosthetic =========== */
.prosthetic-area1.table-wrap table {min-width: 700px;}
}

/*================================================================ 769px 이하 ================================================================= */
@media screen and (max-width:769px) {
/* ============= imp-navigation ============ */
.imp-navi-area1 article h5 {padding: 10px 0; display: block; width: 100%; max-width: 600px;}
.imp-navi-area1 article h5::before, .imp-navi-area1 article h5::after {font-size: 50px; height: 40px; position: relative; width: 100%; display: block; top: 0;}
.imp-navi-area1 article h5::after {margin-top: 5px;}


/* ============= imp-denture ============ */
.imp-den-area2 table tr:not(:first-child) td {display: flex; justify-content:center; align-items:center; padding: 0; height: 60px;}


/* ============= imp-insurance ============= */
.insurance-box {padding: 40px 10px;}
.insurance-box .point li h1 {font-size: 70px;}
.insurance-box .info::before {width: 10px;}


/* ============= imp-caution ============ */
.imp-caution-area1 .line-box .num::before {margin: 0;}
.imp-caution-area2 .num-list {max-width: 400px; margin: 20px auto 0;}


/* =========== gum-therapy =========== */
.gum-therapy-area2 .basic-box img {max-width: 250px;}


/* =========== root-canal =========== */
.root-canal-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 20px;}


/* =========== replantation =========== */
.rep-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 20px;}


/* =========== chin =========== */
.chin-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 20px;}


/* =========== aesthetic =========== */
.aesthetic-area1 .num-list {max-width: 400px; margin: 0 auto;}

}

/*================================================================ 600px 이하 ================================================================= */
@media screen and (max-width:600px) {
/* ============= imp-navigation ============ */
.imp-navi-area1 ul.flex > li {width: 100%;}
.imp-navi-area1 ul.flex > li:not(:first-child) {margin-top: 20px;}


/* =========== gum-therapy =========== */
.gum-therapy-area1 ul.flex > li {width: 50%;}


/* =========== root-canal =========== */
.root-canal-area2 ul.flex img{max-width: 50px;}
}

/*================================================================ 425px 이하 ================================================================= */
@media screen and (max-width:425px) {
/* ============= imp-navigation ============ */
.imp-navi-area1 article::before, .imp-navi-area1 article:after {font-size: 35px; height: 25px;}


/* ============= imp-highlevel ============ */
.imp-high-area2.table-wrap table {min-width: 550px;}
.imp-high-area2.table-wrap table td {padding: 10px 5px;}


/* ============= imp-denture ============ */
.imp-den-area2 table tr:not(:first-child) td {height: 50px;}


/* ============= imp-insurance ============= */
.insurance-box {}
.insurance-box .point li h1 {font-size: 50px;}
.insurance-box .info {padding: 10px 20px; margin: 20px auto 0;}
.insurance-box .info::before {width: 5px;}
.insurance-box .info li {padding: 15px 0;}
.insurance-box .info li h6 {margin-right: 20px;}


/* ============= imp-caution ============ */
.imp-caution-area2 .num-list {max-width: 280px; margin: 10px auto 0;}


/* =========== gum-therapy =========== */
.gum-therapy-area2 .basic-box img {max-width: 180px;}


/* =========== root-canal =========== */
.root-canal-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 0;}
.root-canal-area2 ul.flex > li > div {margin: 5px;}


/* =========== chin =========== */
.chin-area1 ul.flex > li:nth-child(n+3):nth-child(-n+5) {margin-top: 5px;}
.chin-area1 ul.flex > li > div {margin: 5px;}

.chin-area2 ul.flex img {max-width: 250px;}
.chin-area2 ul.flex > li:not(:first-child) {margin-top: 20px;}

/* =========== prosthetic =========== */
.prosthetic-area1 img {max-width: 200px;}
.prosthetic-area1.table-wrap table {min-width: 500px;}


/* =========== aesthetic =========== */
.aesthetic-area1 .num-list {max-width: 260px;}


/* =========== children =========== */
.children-area1 .middle-title{padding: 30px 15px;}
.children-area2{padding: 40px 0;}
.children-area3{padding: 30px 15px;}
.children-area4 > li > div{padding: 10px 5px; margin: 5px !important;}
}


/*========================================================================================================================================= */
/*======================================================== sub etc style ================================================================== */
/*========================================================================================================================================= */


/* ========= ortho-age ========== */
.ortho-age {display: flex;}
.ortho-age li {margin-left: 2%;}
.ortho-age li:first-child {margin-left: 0;}

.age-box {display: flex; align-items: center; margin-top: 3%;}
.age-box ul {width: 100%; height: 100%;}
.age-box .line-box {max-width: 100%;}

.age-box .line-box li div{border: none; padding: 3% 3% 3% 5%;}

.ortho-title{width: 100%; max-width: 660px; margin: auto; background-color: #d7e1f0; height: 30px; margin-top: 6%; position: relative;}
.ortho-title span{display: inline-block; text-align: center; font-size: 38px; font-weight: 500; width: 100%; position: absolute; top: -20px;}

/* ========= ortho-trans, ortho-clippy ========== */
.trans-clippy {display: flex; justify-content: center;}
.trans-clippy > li:first-child {margin-right: 5%;}
.trans-clippy > li > p {margin-top: 5%;}
.trans-clippy ul {display: flex; position: relative; max-width: 426px;}
.trans-clippy ul::before {content: '+'; display: block; border: none; color: #1f3b6b; position: absolute; left: 50%; font-size: 40px; font-weight: 600; transform: translate(-50%, -50%); top: 50%;}
.trans-clippy ul li {border: 2px solid #1f3b6b; border-radius: 50%; width: 100%; position: relative; margin-left: 10%;}
.trans-clippy ul li:first-child {margin-left: 0;}
.trans-clippy ul li p {position: absolute; width: 100%; height: auto; top: 50%; transform: translate(0, -50%); text-align: center; white-space: pre-line;}
.trans-clippy ul li::after {content: ''; display: block; padding-bottom: 100%;}

	/* ========= ortho-retainer =========== */
	.retainer * {text-align: center;}
	.retainer li {background-color: #f5f5f5; padding: 6% 0;}
	.retainer li:nth-child(2n-1) {background-color: #e6f4fd;}
	.retainer li h5:last-of-type::before {content: ''; width: 40px; background-color: #1f3b6b; height: 3px; display: block; margin: 3% auto 3%;}

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

	.special-circle{width: auto;}

	/* ========= ortho-clippy ========= */
	.clippy li p {bottom: 28%;}
	.clippy li img {top: 16%;}
}
@media screen and (max-width:769px){
 .age-box {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    /* ========= trans-clippy ========== */
	.trans-clippy {display: block; text-align: center;}
	.trans-clippy > li:first-child {margin-right: 0;}
	.trans-clippy > li > p {margin-top: 3%;}
	.trans-clippy ul {margin: 3% auto 0;}


}
@media screen and (max-width:429px){
    /* ========= ortho-retainer ========== */
	.retainer li h5:last-of-type::before {width: 20px;}
}

.children-box{
  margin-top: 50px;
  padding: 40px;
  display: flex;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 30px;
  background-color: #ebf4ff;
}
.children-box p {
  white-space: pre-line;
}
.children-box h5 {
  font-weight: 900;
}
  
@media (max-width:769px){
  .children-box p {
    white-space: normal;
  }
}

.children-area{
  margin-top: 120px; 
  padding-bottom: 120px;
  background-color: #ebf4ff;
}