@import url("sub.css");





/*** 인사말 ***/
/* GREETING — WRAP */
.greeting{overflow: hidden;}
.greeting_in {position:relative; display:flex; flex-direction:column; align-items:center; gap:70px;}
.greeting_ci {position:absolute; right:0; top:290px; width:493px; height:auto; pointer-events:none; animation:greetingRotate 60s linear infinite;}
@keyframes greetingRotate {from {transform:rotate(0deg);} to {transform:rotate(360deg);}}
@media (prefers-reduced-motion:reduce) {.greeting_ci {animation:none;}}

/* GREETING — IMAGE */
.greeting_img {position:relative; width:100%; height:520px; border-radius:var(--borderR30); overflow:hidden;}
.greeting_img img {position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover;}

/* GREETING — TEXT */
.greeting_txt {position:relative; display:flex; flex-direction:column; gap:22px; width:100%; max-width:1080px; word-break:keep-all;}
.greeting_txt .fs26 > span{display: inline-block;}
.greeting_body {display:flex; flex-direction:column; gap:12px;}
.greeting_underline {text-decoration:underline; text-underline-position:from-font;}
.greeting_sign {margin:30px 0 0;}



/*** 병원소개 ***/
/* ABOUT — ROW */
.about_in {display:flex; flex-direction:column; gap:30px;}
.about_row {display:flex; align-items:center;}
.about_img {position:relative; flex-shrink:0; align-self:stretch; width:40.52%; min-height:700px; border-radius:var(--borderR30); overflow:hidden;}
.about_img img {position:absolute; left:0; top:0; width:100%; height:100%; object-fit:cover;}

/* ABOUT — TEXT */
.about_txt {display:flex; flex-direction:column; gap:22px; flex:1; min-width:0; padding:0 0 0 70px; word-break:keep-all;}
.about_tit {display:flex; flex-direction:column; gap:4px;}
.about_desc {display:flex; flex-direction:column; gap:12px;}
.about_underline {display:block; text-decoration:underline; text-underline-position:from-font;}

/* ABOUT — ICON LIST */
.about_icon_list {display:flex; flex-direction:column; gap:14px; padding:12px 0 0; counter-reset:aboutIcon;}
.about_icon_list li {display:flex; align-items:center; gap:22px;}
.about_icon_list .icon_area {position:relative; display:flex; justify-content:center; align-items:center; flex-shrink:0; width:140px; height:140px; border-radius:50%; background:var(--grayBg); counter-increment:aboutIcon;}
.about_icon_list .icon_area::before {content:counter(aboutIcon, decimal-leading-zero); position:absolute; left:0; top:0; display:flex; justify-content:center; align-items:center; width:34px; height:34px; border-radius:50%; background:var(--main); font-family:var(--eng); font-size:0.8rem; line-height:100%; letter-spacing:0; color:var(--white);}
.about_icon_list .icon_area img {width:56px; height:auto;}
.about_icon_list .icon_txt {display:flex; flex-direction:column; gap:2px; flex:1; min-width:0;}

/*** 오시는 길 ***/
/* LOCATION — WRAP */
.location {background:var(--grayBg);}

/* LOCATION — MAP */
.location_adr {padding:0 0 25px; text-align:center;}
.location_adr::before {content:'\e0c8'; display: inline-block; vertical-align: middle; margin: -4px 5px 0 0; font-family:var(--icon); font-size:34px; font-weight:400; line-height:1; letter-spacing:0; color:var(--black);}
.location_map {position:relative; height:570px; border:1px solid var(--border); border-radius:var(--borderR30); overflow:hidden; background:var(--grayBg);}
.location_map .map-shield{position:absolute; left:0; top:0; width:100%; height:100%; z-index:4; box-sizing:border-box; cursor:pointer;}
.location_map .root_daum_roughmap {width: 100% !important; height: 100% !important;}
.location_map .wrap_map {width: 100% !important; height: 100% !important;}
.location_map .wrap_controllers {display: none !important;}
.location_map .map_border {display: none !important;}
.location_map .cont{display: none !important;}
.location_map .map_btn {position:absolute; left:50%; bottom:39px; transform:translateX(-50%); display:flex; gap:2px; z-index: 5;}
.location_map .map_btn a {display:flex; justify-content:space-between; align-items:center; width:170px; padding:14px 25px; border-radius:var(--borderR50); white-space:nowrap; transition:transform .3s, box-shadow .3s;}
.location_map .map_btn a:hover {transform:translateY(-3px); box-shadow:0 6px 16px rgba(0,0,0,0.15);}
.location_map .map_btn a img {flex-shrink:0; width: 20px; height:auto;}
.location_map .map_btn a.naver {background:var(--naver); color:var(--white);}
.location_map .map_btn a.kakao {background:var(--katalk); color:var(--katalkText);}

/* LOCATION — INFO */
.location_info {display:flex; align-items:stretch; gap:121px; padding:70px 0 0;}
.location_info .info_box {position:relative; flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:18px; padding:0 0 0 120px;}
.location_info .info_box.transit::after {content:''; position:absolute; left:-61px; top:0; bottom:0; width:1px; background:var(--border);}
.location_info .info_icon {position:absolute; left:0; top:0; display:flex; justify-content:center; align-items:center; width:72px; height:72px;}
.location_info .info_icon img {width:100%; height:auto;}
.location_info .dot_list {display:flex; flex-direction:column; gap:6px;}
.location_info .dot_list li {position:relative; padding:0 0 0 12px;}
.location_info .dot_list li::before {content:''; position:absolute; left:0; top:14px; width:4px; height:4px; background:var(--main);}
.location_info .transit_in {display:flex; flex-direction:column; gap:20px; width:100%;}
.location_info .transit_item {display:flex; flex-direction:column; align-items:flex-start; gap:12px;}
.location_info .transit_item.subway {gap:10px;}

/* LOCATION — SUBWAY */
.subway_line {width:360px; max-width:100%;}
.subway_line img {display:block; width:100%; height:auto;}





/*******************************************************************************
    @media 1700px
*******************************************************************************/
@media all and (max-width:1700px){

}

/*******************************************************************************
    @media 1500px
*******************************************************************************/
@media all and (max-width:1500px){
/* ABOUT — ROW */
.about_img {min-height:620px;}

/* ABOUT — TEXT */
.about_txt {padding:0 0 0 50px;}

/* LOCATION — INFO */
.location_info {gap:81px;}
.location_info .info_box {padding:0 0 0 100px;}
.location_info .info_box.transit::after {left:-41px;}


}
/*******************************************************************************
    @media ~1300px
*******************************************************************************/
@media all and (max-width:1300px){
/* GREETING — WRAP */
.greeting_in {gap:60px;}
.greeting_ci {top:240px; width:400px;}

/* GREETING — IMAGE */
.greeting_img {height:440px;}

/* ABOUT — ROW */
.about_img {min-height:540px;}

/* ABOUT — TEXT */
.about_txt {gap:18px; padding:0 0 0 40px;}

/* ABOUT — ICON LIST */
.about_icon_list li {gap:16px;}
.about_icon_list .icon_area {width:110px; height:110px;}
.about_icon_list .icon_area img {width:44px;}

/* LOCATION — MAP */
.location_map {height:480px;}

/* LOCATION — INFO */
.location_info {gap:61px;}
.location_info .info_box {padding:0 0 0 84px;}
.location_info .info_box.transit::after {left:-31px;}
.location_info .info_icon {width:62px; height:62px;}

}
/*******************************************************************************
    @media  ~980px               
*******************************************************************************/
@media all and (max-width:980px){
/* GREETING — WRAP */
.greeting_in {gap:50px;}
.greeting_ci {top:200px; width:320px;}

/* GREETING — IMAGE */
.greeting_img {height:360px;}

/* GREETING — TEXT */
.greeting_txt {gap:18px;}
.greeting_sign {margin:20px 0 0;}

/* ABOUT — ROW */
.about_in {gap:50px;}
.about_row {flex-direction:column; align-items:stretch;}
.about_img {width:100%; min-height:0; aspect-ratio:16/10;}

/* ABOUT — TEXT */
.about_txt {gap:14px; padding:30px 0 0;}

/* LOCATION — MAP */
.location_adr::before {font-size:28px;}
.location_map {height:400px;}
.location_map .map_btn {bottom:25px;}
.location_map .map_btn a {width:150px; padding:12px 20px;}

/* LOCATION — INFO */
.location_info {flex-direction:column; gap:50px; padding:50px 0 0;}
.location_info .info_box.transit::after {left:0; right:0; top:-25px; bottom:auto; width:auto; height:1px;}
.location_info .dot_list li::before{top:12px;}

}
/*******************************************************************************
    @media 481~680px
*******************************************************************************/
@media all and (max-width:680px){
/* GREETING — WRAP */
.greeting_in {gap:30px;}
.greeting_ci {top:130px; width:200px;}

/* GREETING — IMAGE */
.greeting_img {height:220px;}

/* GREETING — TEXT */
.greeting_txt {gap:15px;}
.greeting_body {gap:8px;}
.greeting_sign {margin:15px 0 0;}

/* ABOUT — ROW */
.about_in {gap:40px;}
.about_img {aspect-ratio:4/3;}

/* ABOUT — TEXT */
.about_txt {gap:10px; padding:20px 0 0;}
.about_desc {gap:8px;}

/* ABOUT — ICON LIST */
.about_icon_list {gap:10px; padding:5px 0 0;}
.about_icon_list li {gap:12px;}
.about_icon_list .icon_area {width:80px; height:80px;}
.about_icon_list .icon_area::before {width:26px; height:26px; font-size:0.65rem;}
.about_icon_list .icon_area img {width:32px;}

/* LOCATION — MAP */
.location_adr {padding:0 0 15px;}
.location_adr::before {font-size:24px;}
.location_map {height:300px;}
.location_map .map_btn {bottom:15px; width:calc(100% - 30px); justify-content:center;}
.location_map .map_btn a {flex:1; width:auto; max-width:150px; gap:8px; padding:8px 15px;}
.location_map .map_btn a img{width: 16px;}

/* LOCATION — INFO */
.location_info {gap:40px; padding:35px 0 0;}
.location_info .info_box {gap:10px; padding: 0 0 0 70px;}
.location_info .info_box.transit::after {top:-20px;}
.location_info .info_icon {width:48px; height:48px;}
.location_info .transit_in {gap:16px;}
.location_info .dot_list{gap: 4px;}
.location_info .dot_list li::before{top:10px;}
.location_info .transit_item{gap: 6px;}

/* LOCATION — SUBWAY */
.subway_line {width:300px;}


}