
.main_area{
	width:1200px;
	margin-left: calc(50% - 600px);
}

.main_area h1{
	line-height:100%;
	margin-bottom:14px;
	letter-spacing:10px;
}

 .main_visual{
	overflow:hidden;
 
 }
.event_img {
    display: flex;
}
.sub_header{
	display:none;
}
nav li{
width:16% !important;
}
.img_block {
    width: 100%;
	padding: 40px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
	gap:10px;
}

.img_block  a{
	color:#fff !important;
}
.block_area{
	padding:30px 10px;
	border-radius:10px;
	min-height:300px;
	color:#fafaf5;
 background-image: 
        linear-gradient(135deg, #a3a3a3 25%, transparent 25%), 
        linear-gradient(225deg, #a3a3a3 25%, transparent 25%), 
        linear-gradient(45deg, #a3a3a3 25%, transparent 25%), 
        linear-gradient(315deg, #a3a3a3 25%, #f0f0f0 25%);
    background-position: 20px 0, 20px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}

#color_area_main{
	background:url('/img/color_parts.png');
	background-position: right 15% bottom 50%;
	background-repeat:no-repeat;
	background-size:500px auto;
	min-height:750px;
	position:relative;
	margin:30px 0;
	color:#222;
}

#color_area_main .certificate{
display:flex;
object-fit: contain;

}
#color_area_main .certificate img{
	max-height:200px;
	margin: 30px 20px 0 0;
}
#color_area_main .sub_area{
	width:1200px;
	position:absolute;
	z-index:99;
	left: 0;
  right: 0;
  max-width: 1200px;
  margin: 0 auto;
}
#color_area_main .title{
	padding-top:100px;
font-size:2em;
margin-bottom:30px;
font-weight:900;
    font-family: 'Nanum Myeongjo', sans-serif;
}

#color_area_main .content{
	width:600px;
	font-size:1.1em;
	line-height:300%;
	padding-left:100px;
}

#color_area_main .color_layer {
    width: 100%;
    position: absolute;
    height: 100%;
    display: block;
    background: linear-gradient(340deg, #8edee6, #8edee680);
}
.block_area p span{
 display: block;
}
.event .block_1{
	background:#68BAE3;
}
.event .block_2{
	background: linear-gradient(340deg, #686DE3, #d4d6f7);
}

.event .block_3 {
    background: linear-gradient(160deg, #6893E3, #c5d9ff);
}
.event .block_4{
	background:#68E1E3;
}

.event .block_5{
	background:#68E1E3;
}
.event .block_6{
	background: linear-gradient(340deg, #686DE3, #d4d6f7);
}

.event .block_7{
    background: linear-gradient(160deg, #6893E3, #c5d9ff);
}

.event .block_8{
	background:#68BAE3;
}

.block_area p{
	text-align:center;
	font-size:2em;
	font-weight:900;
}
.block_area li{
	list-style:none;
	text-align:left;
	font-size:1.5em;
	line-height:200%;
}

.event_txt {
    background: linear-gradient(359deg, #ffffff, transparent);
    width: 100%;
    height: 50%;
    bottom: 0;
    position: absolute;
	padding: 10px;
}

.event_txt p{
font-size:2em;
font-weight:600;
color:#222;
position:absolute;
bottom:0;
}
.event_txt span{
font-size:0.6em;
font-weight:300;
padding-left:5px;
}

.special{
width:100%;
height:900px;
padding-top:100px;
display:inline-block;
background:url('/img/004.jpg');
background-size:cover;
background-repeat:no-repeat;

}

.sub_block a{
text-decoration:none;
color:#222;
}

.sub_block .block1 .img_box{
	min-width:100px;
    background: #fafaf5;
    padding: 10px;
    min-height: 600px;
	background:url('/img/main_block.png');
	background-size:cover;
}
.sub_block .block2 .img_box{
	min-width:100px;
    background: #fafaf5;
    padding: 10px;
    min-height: 600px;
	background:url('/img/main_block02.png');
	background-size:cover;
}

.sub_block .block3 .img_box{
	min-width:100px;
    background: #fafaf5;
    padding: 10px;
    min-height: 600px;
	background:url('/img/main_block03.png');
	background-size:cover;
}

.sub_block .block4 .img_box{
	min-width:100px;
    background: #fafaf5;
    padding: 10px;
    min-height: 600px;
	background:url('/img/main_block04.png');
	background-size:cover;
}

.sub_block .block5 .img_box{
	min-width:100px;
    background: #fafaf5;
    padding: 10px;
    min-height: 600px;
	background:url('/img/main_block05.png');
	background-size:cover;
}

.sub_block .block6 .img_box{
	min-width:100px;
    background: #fafaf5;
    padding: 10px;
    min-height: 600px;
	background:url('/img/main_block06.png');
	background-size:cover;
}

.sub_block .block {
	line-height:200%;
}

.sub_block .block .title{
	font-weight:900;
	font-size:36pt;
	margin:16px;
}

.sub_block .block .sub{
	font-weight:600;
	font-size:28pt;
	margin:8px;
    background: #e4ff00;
    width: 50%;
}
/*
.beforeslider .before_img_txt p:before {
    content: ' ';
    display: block;
    width:20px;
    height: 20px;
    background: #e4ff00;
    position: absolute;
    margin-top: 0;
    z-index: -9;
}
*/


.special_slide{
padding-left: calc(50% - 600px);
width:50%;
list-style:none;
display:flex;
margin-top:5%;    
}

.special_slide li{
width:32%;
margin:1%;
}


.special_slide img{
width:100%;
}

.overlay{
width:100%;
height:100%;
position:absolute;
z-index:99;
}

.overlay p{
display:none;
font-size:2em;
text-align:center;
color:#fff;
font-weight:600;
}

.overlay:hover{
background:rgba(0,0,0,0.5);
}

.overlay:hover p{
display:block;
}


.machine {
    background: url(/m_sample/img/005.jpg);
    background-position: bottom;
    background-size: cover;
	position: relative;
    min-height: 700px;
	display:inline-block;
	width:100%;
}
.machine h1{color:#fff;
padding-bottom:30px;}

.machine h1 span{
font-weight:100;
font-size:1em;}

.machine .row{
	position: absolute;
	z-index: 99;
  display: flex;
  justify-content: space-between;
}


.machine .block{background:#fff;
position:relative;}
.machine .machine_img{display:block;}
.machine b{
font-size:1.5em;
}
.machine p{
width:40%; 
position:absolute;
top: 5px; right:15px;

}

.first p{
position:relative;
margin-left:40px;

}
.machine  .first{
	flex: 4; 
	display:inline-block;
	margin: 10px;
	min-height:150px;
}

.machine .left{
	flex: 3; 
	min-height:200px;
	margin-top:10px;
}

.machine .right{
	flex: 3; 
	min-height:200px;
	margin-top:10px;
}

.first .machine_img{
    background: url(/m_sample/img/006.jpg);
	width:100%;
	height: 50%;
	}

.left .top .machine_img{
    background: url(/m_sample/img/007.jpg);
	width:50%;
	min-height: 200px;
	}
.left .bt .machine_img{
    background: url(/m_sample/img/008.jpg);
	width:50%;
	min-height: 200px;

}
.right .top  .machine_img{
    background: url(/m_sample/img/009.jpg);
	width:50%;
	min-height: 200px;
}
.right .bt .machine_img{
    background: url(/m_sample/img/010.jpg);
	width:50%;
	min-height: 200px;
}

.machine .top{
	min-height:150px;
	margin-bottom:10px;
}

.machine .bt{
	min-height:150px;
}

.block {
	margin-right: 10px;
}

.intro{
	width:100%;
	background: linear-gradient(180deg, #898989, #ebebeb);
}
}
.intro .intro_info{
	width:1000px;
	height:600px;
	display:block;
	background: url('./img/doctor_info.png');
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
	margin:0 auto;
}

.banner_area .banner_list {
    display: flex
;
    width: 1200px;
    margin: 0 auto;
}

.event .banner_img{
	width:50%;
	display:block;
	margin: 0 auto;
}
.beforeafter{
position:relative;
min-height:700px;
}

.beforeimg{
width:50%;
margin-top:5%;
margin-left:12.5%;
list-style:none;
}
.before_left {display:none;}

.beforeimg li img{
height:500px !important;
margin-bottom:10px;
}

.beforeimg .slick-slide img{
width:auto;
height:500px !important;
}

.beforetxt_line {
    content: "";
    height: 400px;
    width: 4px;
    background-color: #222;
    display: inline-block;
    margin-right: 10px;
    position: absolute;
    top: 170px;
    right: 30%;
}

.beforetxt {
    display: none;
	list-style:none;
	margin: 28px auto;
}

.beforetxt li{
    font-size:2em;
	line-height:2em;
	font-weight:600;
	margin-right:28px;
	padding-bottom:16pt;
	color:#222;
}
.beforetxt li:hover{
	color:#eaeaea;
	cursor:pointer;
}

.info{
position:relative;
min-height:800px;
padding-top:100px;
text-align:center;

}
.main_info{
margin:50px auto;
}

.left_info p{
font-size:1.3em;
margin:0;
}

.left_info .address{
font-size:24pt;
font-weight:900;
color:#222;
margin:10px;
}

.left_info .tel{
font-size:2.5em;
font-weight:900;
margin:0;
margin:10px;
color:#222;
}

.left_info .tel .tel_title{
margin-right:16px;
color:#8edee6;
}

.left_info .tel .floor{
	background:#8edee6;
	color:#fff;
	border-radius:50px;
    font-size: 0.9em;
    border-radius: 50px;
    padding: 10px;
}

.right_info{
width:49%;
display:inline-block;
color:#fff;
}


.right_flex{display:flex}

.right_info .block{
width:33%;
margin: 1%;
background:#8edee6;
min-height:200px;
font-size:1.2em;
font-weight:600;
border-radius:20px;
}


.right_info i{
width:70%;
height:60%;
margin-top:15%;
margin-left:15%;
font-size:5em;
color:#fff;
text-align:center;
display:block;
}

#special .flex_box{display:flex;}
#special .flex_box div{width:45%; margin:5px; text-align:center; padding:20px;
border:1px #eee solid;}

.doctor_info{
position:absolute; 
display:flex;
}

.doctor_info p{display:block;
font-size:2.5em;
color:#fff;
margin-left:170px;
}
.doctor_info ul{
margin-left:150px;
font-size:1.3em;
color:#fff;
}
.doctor_info img{
height:450px;
right:100px;
top:-50px;
}

.community {
min-height:400px;
}
.community .beforetxt{
list-style:none;
    max-height: 50px;
}
.community .beforetxt{
display:none;
}

.community_list {
	margin-top:50px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    width: 100%;
}

.community_parts{
	margin:15px;
}
ul.community_content p{
margin-top:1rem;
}

ul.community_content a {
    text-decoration: none;
    color: #222;
}

.community li{
cursor:pointer;
display:flex;
align-items:center;
position:relative;
    max-height: 50px;
}

.slick-initialized .slick-slide {
    display: flex;
}
.community .commu_list li:after{
display:block;
content:"";
width:1px;
height:24px;
background:#eaeaea;
    right: -14px;
    position: absolute;
    top: 20px;
}

.community .title.on{
	color:#8edee6; 
}
.community .commu_list li:nth-child(3):after{
display:none;
}
.community .community_content li{
border-bottom:1px solid #eaeaea;
}
.community li span{
color:#8edee6; font-weight:600;
margin-right:5px;
}



.beforeslider {
    width: 90%;
    margin: 0 5%;
}
.beforeslider .before_img{
	border-radius:20px;
    width: 500px;
	height:620px;
    margin: 20px;
	position:relative;
	overflow:hidden;
}

.beforeslider img{
    width: 500px;
	position:absolute;
}
.beforeslider .before_img_txt{
	position:absolute;
	bottom:0;
	min-height:100px;
}
.beforeslider .before_img_txt p{
	font-size:14pt;
	margin-bottom:14px;
	font-weight:600;
}
.beforeslider .before_img_txt{
	font-size:14pt;
}
h3.new,h3.best {
    text-align: left;
    padding-left: 5%;
    font-size: 24pt;
    margin-top: 50px;
    font-weight: 900;
}

h3.new span,h3.best span{
	font-size:.4em;
	color:#222;
	font-weight:300;
}

p.small{
    text-align: right;
    padding-right: 5%;
	color:#bbb;
}

.main_area, .banner_area{
	margin:50px auto;
}

.before_pop {
	  position: fixed;
	  top: 10px;
    z-index: 99;
	display:none;
	top:20px;
	cursor:pointer;
	left: 50%;
	transform: translateX(-50%);
}

.before_pop img{
	width:auto;
	height: 95vh;
}


@media all and (max-width:1025px)  {
header {
    background-color: #fff;
    color: #555;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 99;
}

.sub_header{
	display:none !important;
}
 .main_area{
	width:100%;
	margin-left: 0;
 
 }

 .beforeslider {
	overflow:hidden;
 }

   .slider {
            width: 100%;
            height: auto;
        }
        .slider img {
            width: 100vw;
            height: 600px;
			object-fit: cover; 
			object-position: center;  
        }
.event{
min-height:600px; height:auto; text-align:center; }
.event_img{display:block; font-size:2em;}
.event_txt{
    width: 95%;
	padding-left:5%;
}

.event_txt span {
    display: block;
    width: 100%;
}
.event .banner_img{
	width:100%;
}
.img_block{
padding:0;
}
.intro {
    background: url('./img/doctor_info.png');
    position: relative;
    min-height: 600px;
	background-repeat:no-repeat;
	background-size:cover;
}

.intro h1{
padding-top:50px;
color:#fff;
}

.intro h3{
color:#fff;
}
.doctor_info p{display:block;
margin-left:50px;
}
.doctor_info ul{
margin-left:40px;
}
.doctor_info img{
opacity:30%;
}
.doctor_info p{
position:absolute;
z-index:10;
top:-50px;
font-size:3em;
}

.doctor_info ul{
position:absolute;
font-size:2em;
z-index:10;
top:50px;
}

.beforeimg {
    width: 80%;
    margin-top: 5%;
    margin-left: 10%;
    list-style: none;
	display:flex;
	text-align:center;
}
.before_left {
	width:30%;
	background:#8edee6;
	font-size:2em;
	color:#fff;
	font-weight:600;
	padding:2%;
	display:block;
}
.before_left p{margin-top:70px;}
.before_left button{margin-top:50px;background:transparent;
border:solid 3px #fff; color:#fff;
padding:10px 20px;
width:70%;
font-size:1.2em;
cursor:pointer;

}
.before_right {
    width: 65%;
}

.beforeafter {
    min-height: 800px;position:relative;
}
.beforetxt{
width:100%;
	justify-content: center;
}
.beforetxt li {
    font-size: 1.5em;
    font-weight: 600;
    color: #222;
    border-bottom: none !important;
    padding: 15px;
    display: inline-block;
    float: left;
    margin: 0px 16px;
    text-align: center;
}

.beforeimg {
    position:absolute;
    list-style: none;
}


.beforetxt li:hover{
    color: #fff;
	background:#eaeaea;
}
.beforetxt_line{
display:none;
}

.beforetxt {
    display: flex;
    position: relative;
    list-style: none;
    top: 0px;
    padding-left: 0px;
    right: 0;
	font-size:1.5em;
	align-items:center;
}

.banner_area .banner_list {
    display: block;
    width: 100%;
    margin: 0 auto;
}

.event .banner_img{
	width:100%;
}


.community ul {
	padding:10px;
}


.community li {
    cursor: pointer;
    border-bottom: 1px solid #eaeaea;
    padding: 10px 0;
	font-size:1em;
	line-height: 2em;
}
.community .beforetxt li{
	line-height: revert;
}
.community .beforetxt {
	    max-height: 50px;
}
.machine .row{display:block; position:relative;}
.machine .first{display:block; width:80%; 
margin-left:10%; font-size:2em; margin-bottom:20px;}

.left , .right {
display:none;
}
.machine .block {background:transparent; }


.machine p, 
.first p {
    position: relative;
    margin-left: 10px;
}
.machine b{
  display:none;} 
.machine p {
    top: 0;
text-align:center;
    right: 0;
    height: 150px;
    overflow: inherit;
    width: 90%;
	font-size:1.5em;
	color:#fff;
}

.right_flex{
    display: block;
}


.main_info{display:block;}

.left_info, .right_info{width:100%; font-size:2em;}
.right_info .right_flex{display:flex;}
.right_info .block{
width:300px;
height:300px;
border-radius:300px;
font-size:1.5em;
margin:48px auto;
}

.right_info .block:nth-child(1){
background:#7baf4b;
}
.right_info .block:nth-child(2){
background:#ffd400;
color:#222;
}
.right_info .block:nth-child(2) i{
color:#222;
}
.right_info .block:nth-child(3){
}

.right_info i {
    font-size: 1.5em;
	padding-top:0.5em;
	width:200px;
	height:100px;
	margin-top:5%;
}
.right_info .block {
min-height: 70px;
}

 .machine_img {
    opacity: 30%;
}


}


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

	h1{
		font-size:1.5em !important;
	}
	.main_area h1{
	letter-spacing: 5px;
	}
	h3{
		font-size:1.2em !important;
	}
	.main_area{
		margin-top:28px;
	}
	.sub_block{
	width:100%;
	height:400px;
	}

	.event {
        min-height: 400px;
    }
	
   .sub_block .img_box {
    min-width: 100px;
	width:100%;
    background: #fafaf5;
    padding: 10px;
    min-height: 300px !important;
	}		
	.block_area p{
		font-size:1.5em;
	}

	.block_area li{
		font-size:1em;
	}

	.sub_block .block .sub{
		font-size:1.2rem;
	}
	.sub_block .block .title{
		font-size:2.3rem;
	}
	.sub_block .block .sub{
	background:#fff;
	}
#color_area_main .content{
	font-size:1rem;
	line-height: 150%;
	margin-bottom:50px;
}

#color_area_main .certificate{
	padding-top:20px;
}
#color_area_main .title{
	font-size:1.5rem;
}

#color_area_main{
	    min-height: 550px;
}
#color_area_main .certificate img{
	margin:5px;
}


	.beforeslider .before_img{
        max-width: 350px;
		min-height:400px;
		height:auto;
	}


	.beforeslider img{
		width:330px;
		height:330px;
		position: absolute;
	}

.beforeslider .before_img_txt{
    min-height: 55px;
}
.beforeslider .before_img_txt span{
	display:none;
}

	.img_block{
		padding:5px;
	}

	
	.block_area ul{
		padding:5px;
	}

	
	.block_area li{
		text-align:center;
	}

	.block_area p span {
    line-break: anywhere;
	font-size:0.6em;
}

	.left_info .tel{
		font-size:1em;
		line-break: anywhere;
	}

	.left_info .jn{
		font-size:0.7em;
	}

	#color_area_main{
		background-size:contain;
	}

	#color_area_main .content{
		width:100%;
		padding-left:10px;
	}

	#color_area_main .sub_area{
		position:relative;
		z-index:0;
		width:100%;
	}

	#color_area_main .certificate img {
    max-width: 150px;
    margin: 5px;
}

    .community .beforetxt li {
        line-height: revert;
	font-size: 1rem;
    }
.community .beforetxt, .community li{
    margin: 5px auto;
	padding:0;
}
.community .beforetxt{
	max-height:30px;
	font-size: 1.2rem;
}

.community .commu_list li:after{
	top:3px;
}
.community .community_content  li{
	max-height:200px;
}

.community .beforetxt{
display:flex;
}
.commu_parts .community_content {
	display:none;
}
ul.community_content p{
	margin-top:.2rem;
	margin-bottom:.2rem;
}

.commu_parts:nth-child(1) .community_content {
	display:block;
}
.community_list{
	display:block;
	    margin-top: 0;
}
.community_list h3{
	display:none;
}
.info{
	padding-top:0;
}
.left_info .address{
	font-size:1.5rem;
}

.left_info p{
	font-size:1.5rem;
}

  header {
        height: 180px !important;
    }

}