/* Logo was h1; keep the same size/position after changing the tag. */
#header .hd_logo {position:absolute; display:block; width:200px; height:80px; left:0; top:0; z-index:30; transition: all .3s ease-in-out; background:none; margin:0;}
#header .hd_logo a{display:flex; height:inherit; align-items: center; justify-content: center;}
#header .hd_logo a img{display:block; width:200px; height:53px; vertical-align:middle;}
.jbFixed .header_in .hd_logo {height:60px; line-height:50px !important;}
.jbFixed .header_in .hd_logo img {width:80%; transition: all .3s ease-in-out;}
#header.jbFixed .hd_logo {height:60px;}

#mobile_header .hd_logo {width:200px; padding-top:6px; text-align:center; margin:0 auto;}
#mobile_header .hd_logo a{display:block; width:100%; height:100%;}
#mobile_header .hd_logo img {width:90%; overflow:hidden;}

.visual .li h1.slogan {margin:0;}
.section_style .group h2.title {margin:0; font-weight:600;}

/* 무료진단하기 헤더 버튼 */
#header .hd_apply{
	position:absolute; right:0; top:20px; z-index:20;
	display:flex; align-items:center; justify-content:center;
	height:40px; padding:0 16px; margin:0; border-radius:8px;
	background:#49B170; color:#fff; font-size:15px; font-weight:700; white-space:nowrap; line-height:40px;
	transform:none;
}
#header .hd_apply:hover{background:#3a9a5e; color:#fff;}
#lnb{float:right; margin-left:210px !important; margin-right:130px !important; max-width:calc(100% - 340px);}
#lnb .lnb_wrap > ul > li > a{padding:0 12px !important;}
#header.jbFixed .hd_apply{top:10px; transform:none;}
#mobile_header .inner{position:relative;}
#mobile_header .hd_apply--m{
	position:absolute; right:12px; top:10px; z-index:60;
	display:inline-flex; align-items:center; justify-content:center;
	min-height:40px; padding:0 12px; border-radius:8px;
	background:#49B170; color:#fff !important; font-size:13px; font-weight:700; white-space:nowrap;
}

@media all and (max-width:1100px){
	#lnb{margin-left:0 !important; margin-right:0 !important; max-width:none;}
	#header .hd_apply{display:none;}
}

/* 관리자 팝업레이어: 가로·세로 값 적용 */
#hd_pop .hd_pops_con { overflow:hidden; box-sizing:border-box; }
#hd_pop .hd_pops_con p { margin:0; height:100%; }
#hd_pop .hd_pops_con img { width:100%; height:100%; object-fit:contain; object-position:top center; display:block; }
