/* 서브 */
#sub {width:100%; display:inline-block; overflow: hidden; background: url(images/subtop_bg.png) -2rem 0 no-repeat; background-size: 80%; }
#sub .subtop {width:100%; text-align: center; padding: 4rem 0 6rem;}


#sub .snb {width:100%; }
#sub .snb ul {display: flex; justify-content: center;}
#sub .snb ul li {width: 15rem; height: 3.1rem; border-radius: 3.1rem; margin: 0.25rem; border: 1px #c8bcae solid; overflow: hidden;}
#sub .snb ul li a {display: block; text-align: center; line-height: 3rem;}
#sub .snb ul li a:hover,#sub .snb ul li a.on {font-weight: 700; background-color: #816543; color: #fff;}



#sub #content {width:100%; }

#sub .paragraph {width: 100%; }
#sub .paragraph hr.stick {width: 2rem; height: 0.5rem; border-radius: 0.5rem; border: 0; background-color: #816543; margin: 0 auto;}
#sub .paragraph hr.stick.beige {background-color: #c8bcae;}


#sub .paragraph.sub1_1 {background: url(images/sub1_1_bg.jpg) center / cover;color: #fff; padding: 9rem 0 5rem;}
#sub .paragraph.sub1_3 {background: url(images/sub1_3_bg.jpg) center / cover; padding: 8rem 0 6rem; text-align: center;}

#sub .paragraph.sub2_1 {background: url(images/sub2_1_bg.jpg) top center / 100%; padding: 5.5rem 0 4rem;}
#sub .paragraph.sub2_1 .inner2 {height: 100%; display: flex; flex-direction: column; justify-content: center;}
#sub .paragraph.sub2_2 {background: url(images/sub2_2_doctor.png) top right no-repeat; background-size: 55%; overflow: hidden; position: relative; }
#sub .paragraph.sub2_2 .flowingText { left: 0; z-index: -1;}


#sub .paragraph.visual { background-position: right top; background-repeat: no-repeat; background-size: auto 18rem;}
#sub .paragraph.visual .inner2 {padding-top:21rem; padding-left: 2rem;}
#sub .paragraph.visual.sub3_1_s1 {background-image: url(images/sub3_1_s1_visual.png);}
#sub .paragraph.visual.sub3_1_s2 {background-image: url(images/sub3_1_s2_visual.png);}
#sub .paragraph.visual.sub3_1_s3 {background-image: url(images/sub3_1_s3_visual.png);}
#sub .paragraph.visual.sub3_1_s4 {background-image: url(images/sub3_1_s4_visual.png);}
#sub .paragraph.visual.sub3_2_s1 {background-image: url(images/sub3_2_s1_visual.png);}
#sub .paragraph.visual.sub3_2_s2 {background-image: url(images/sub3_2_s2_visual.png);}
#sub .paragraph.visual.sub3_2_s3 {background-image: url(images/sub3_2_s3_visual.png);}
#sub .paragraph.visual.sub3_2_s4 {background-image: url(images/sub3_2_s4_visual.png);}
#sub .paragraph.visual.sub3_3_s1 {background-image: url(images/sub3_3_s1_visual.png);}
#sub .paragraph.visual.sub3_3_s2 {background-image: url(images/sub3_3_s2_visual.png);}
#sub .paragraph.visual.sub3_3_s3 {background-image: url(images/sub3_3_s3_visual.png);}
#sub .paragraph.visual.sub3_3_s4 {background-image: url(images/sub3_3_s4_visual.png);}
#sub .paragraph.visual.sub3_5_s1 {background-image: url(images/sub3_5_s1_visual.png);}
#sub .paragraph.visual.sub3_5_s2 {background-image: url(images/sub3_5_s2_visual.png);}
#sub .paragraph.visual.sub3_6_s1 {background-image: url(images/sub3_6_s1_visual.png);}


#sub .bg {background: linear-gradient( #ffffff, #f4f0eb); padding-bottom: 6rem;}
#sub .bg2 {background-color: #f4f0eb; padding: 6rem 0;}
#sub .bg3 {background-color: #fff1ae; padding: 5rem 0;}
#sub .bg4 {background-color: #2e2418; padding: 5rem 0; color: #fff;}
#sub .sub3_2_s4_1 {background-color: #fff1ae; border-radius: 3rem; padding: 2rem 0; margin-top: 1.5rem !important; text-align: center;}
#sub .sub3_2_s4_2 {background: url(images/sub3_2_s4_bg.jpg) center / cover; color: #fff; padding: 6rem 0;}
#sub .sub3_5_s1_2 {background: url(images/sub3_5_s1_2_bg.jpg) center / cover; color: #fff; padding: 6rem 0;}
#sub .sub3_6_s1_2 {background: url(images/sub3_6_s1_2_bg.jpg) center / cover; color: #fff; padding: 6rem 0;}

#sub .sub4_s1_4 {background: url(images/sub4_s1_4_bg.png) left no-repeat; padding: 6rem 0;}
#sub .sub4_s1_6 {background: url(images/sub4_s1_6_bg.jpg) center / cover; color: #fff; padding: 5rem 0;}
#sub .sub4_s3_2 {background: url(images/sub4_s3_2_bg.jpg) center / cover; color: #fff; padding: 6rem 0;}
#sub .sub4_s4_2 {background: url(images/sub4_s4_2_bg.jpg) center / cover; color: #fff; padding: 6rem 0;}


#sub .paragraph .imgtext {}
#sub .paragraph .imgtext.rightimg {}
#sub .paragraph .imgtext .imgarea {width: 100%;}
#sub .paragraph .imgtext .imgarea img {width: 100%;}
#sub .paragraph .imgtext .txtarea {width: auto; display: flex; flex-direction: column; justify-content: center; padding-left: 2rem; }
#sub .paragraph .imgtext .txtarea:first-child {padding-right: 2rem; padding-left: 0;}
#sub .paragraph .imgtext .txtarea h2 {background: url(images/bullet_jeju.png) top left no-repeat; background-size: auto 1rem; padding-top: 2.5rem; margin-top: 1.5rem;}
#sub .paragraph .imgtext .txtarea h2.num {background: none; padding-top: 0; position: relative; padding-left: 3.75rem;}
#sub .paragraph .imgtext .txtarea h2.num::before {counter-increment: number 1; content: counter(number, decimal-leading-zero); font-family: "Marcellus", serif; color: #dbd3ca; font-weight: 300; width: 3.75rem; display: inline-block; position: absolute; left: 0;}
#sub .paragraph .inner .imgtext .txtarea {padding-left: 5rem; }
#sub .paragraph .inner .imgtext .txtarea:first-child {padding-right: 5rem; padding-left: 0;}

 
.num_reset {counter-reset: number 0;}

#sub .paragraph .roundingbox.flex {gap: 1rem; justify-content: space-between;}
#sub .paragraph .roundingbox > div {width:100%; border-radius: 1.5rem; border: 1px #c8bcae solid; background-color: #fff; padding: 1rem 0rem;}

#sub .paragraph .num_roundingbox {gap: 1rem; display: grid; grid-template-columns: 1fr;}
#sub .paragraph .num_roundingbox > div {width:100%; border-radius: 1.5rem; border: 1px #c8bcae solid; background-color: #fff; padding: 1.5rem 0.5rem; position: relative; padding-left: 5rem;}
#sub .paragraph .num_roundingbox > div::before {width: 5rem; counter-increment: number 1; content: counter(number, decimal-leading-zero); font-family: "Marcellus", serif; color: #dbd3ca; font-weight: 300; text-align: center; display: block; position: absolute; left: 0; top: 50%; margin-top: -1rem; font-size: 2rem; line-height: 2rem;}
#sub .paragraph .num_roundingbox.flex {gap: 2rem; display: flex;}
#sub .paragraph .num_roundingbox.flex > div {display: flex; align-items: center; padding: 1rem 0.5rem; padding-left: 4rem;}
#sub .paragraph .num_roundingbox.flex > div:nth-child(even) {background-color: #f4f0eb;}
#sub .paragraph .num_roundingbox.flex > div::before {width: 4rem;}


#sub .paragraph .chr_roundingbox {gap: 1rem; display: grid; grid-template-columns: 1fr 1fr 1fr;}
#sub .paragraph .chr_roundingbox > div {width:100%; height: 6rem; display: flex; flex-direction: column; justify-content: center; border-radius: 1.5rem; border: 1px #c8bcae solid; background-color: #fff; padding: 1.5rem; text-align: center; color: #5a4a37;}
#sub .paragraph .chr_roundingbox > div:nth-child(even) {background-color: #f4f0eb;}
#sub .paragraph .chr_roundingbox.p2 {grid-template-columns: 1fr 1fr !important;}



#sub .paragraph span.subject {background-color: #816543; color: #fff; font-weight: 700; padding: 0.1rem 0 0; text-align: center; width: 3.25rem; margin-right: 0.5rem; float: left; display: block; border-radius: 1rem;}
#sub .paragraph span.subject.black {background-color: #222;}



#sub .paragraph .num_underline {width: 100%; border-bottom: 1px #e0e0e0 solid; padding: 0.75rem 0 0.5rem 3rem; position: relative;}
#sub .paragraph .num_underline::before {width: 2.5rem; counter-increment: number 1; content: counter(number, decimal-leading-zero); font-family: "Marcellus", serif; color: #dbd3ca; font-weight: 300; text-align: center; display: block; position: absolute; left: 0; font-size: 1.2rem; margin-top: -0.2rem;}



#sub .paragraph .bullet::before {content: "\e928"; font-family: "xeicon"; color: #9a8672; margin-right: 0.5rem; margin-left: -1.25rem;}
#sub .paragraph .bullet {margin: 0.1rem 0; padding-left: 1.25rem;}

#sub .paragraph .overlapbox {display: flex;}
#sub .paragraph .overlapbox > div {width: calc(100%); border-radius: 100rem; border: 1px #c8bcae solid; padding: 1rem; margin-left:-0.75rem; margin-right: -0.75rem; text-align: center; background-color: #fff;}


#sub .paragraph .root_daum_roughmap {border-radius: 2.5rem;}
#sub .paragraph .root_daum_roughmap .wrap_controllers,
#sub .paragraph .root_daum_roughmap .cont,
#sub .paragraph .root_daum_roughmap .map_border {display: none;}

#sub .paragraph .map_btn {}
#sub .paragraph .map_btn a {border: 1px #c8bcae solid; width: auto; height: 2.5rem; line-height: 2.5rem; border-radius: 2.5rem; font-size: 0.9rem; padding: 0 1.5rem 0 3rem; display: inline-block; background-position: 15% center; background-repeat: no-repeat; margin-right: 0.5rem;}
#sub .paragraph .map_btn a.n_map {background-image: url(images/sub5_nmap.png);}
#sub .paragraph .map_btn a.k_map {background-image: url(images/sub5_kmap.png);}
#sub .paragraph .map_btn a:hover {background-color: #895c24; color: #fff;}

#sub .paragraph span.subject.map_bus1 {background-color: #386de8;}
#sub .paragraph span.subject.map_bus2 {background-color: #3bc344;}
#sub .paragraph span.subject.map_bus3 {background-color: #ffb202;}




#sub .paragraph #basic {border-collapse:collapse; }
#sub .paragraph #basic th {border-top: 2px #755734 solid; background-color: #f7f1e9; color: #755734; padding:1rem 0.5rem; border-bottom: 0;}
#sub .paragraph #basic th * {font-weight: 700;}
#sub .paragraph #basic td {padding:0.7rem 0.5rem; border-bottom: 1px #e0e0e0 solid;}

#sub .paragraph #basic .bg_gray {background:#f5f5f5}

#sub .paragraph #basic td.price {text-align: right; width: 30%; border-left: 1px #e0e0e0 solid;}
#sub .paragraph #basic td.price h5:before {content:"\20A9"; font-size:0.8rem;padding-top:0.25rem; margin-right:0.5rem; color: #999;}


#sub .paragraph .board_box {font-size:1rem !important;}
#sub .paragraph .board_box .board_bgcolor {width: 5rem;}
#sub .paragraph .board_box .board_bgcolor > span,#sub .paragraph .board_box .board_bgcolor > font,#sub .paragraph .board_box .att_title > font {font-size:1rem !important;}
#sub .paragraph .board_box .ext_search {text-align: justify !important;}
#sub .paragraph .board_box input[type="text"] {width: 95%;}
#sub .paragraph .board_box input[type="checkbox"] {width: 0.9rem; position: relative; top: 0.15rem;}
#sub .paragraph .board_box .bbsnewf5 a:nth-child(2) {overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    word-break: break-all;
    width: 17rem;
    display: block;}
    
#sub .paragraph .board_box #post_area img {max-width: 100% !important; height: auto !important;}
input[name="phone_no1"],
input[name="phone_no2"],
input[name="phone_no3"] {width: 30% !important;}
.table_02 td {padding: 0.5rem 0 !important;}



@media only screen and (max-width:640px) {
  #sub .subtop {background-size: cover !important;}
  
  .root_daum_roughmap {height: 62.5vw; zoom: 0.68;}
}