/* Samyoung 2026 subpages - consolidated responsive layer v6
   Desktop rules belong to renewal_2026.css.
   Preserve original logo, menu links, site copy, and footer company information.
*/

/* Desktop navigation: four equal items, separate sitemap space. */
#gnb_main #gnb_2depth_line {display:none!important}
#gnb_main ul.gnbmm>li>h2>a {
  color:#fff!important;font-family:'Malgun Gothic','Apple SD Gothic Neo',sans-serif!important;
  font-size:16px!important;font-weight:700!important;letter-spacing:-.035em;text-decoration:none!important;white-space:nowrap
}
/* Legacy PNG buttons have solid backgrounds; show the same existing labels as text. */
#gnb_main ul.gnbmm>li>h2>a img {display:none!important;filter:none!important}
#gnb_main #menu_1>h2>a::after{content:'법인소개'}
#gnb_main #menu_2>h2>a::after{content:'서비스분야'}
#gnb_main #menu_3>h2>a::after{content:'세무정보'}
#gnb_main #menu_4>h2>a::after{content:'고객센터'}
#gnb_main ul.gnbmm>li>h2>a:hover,#gnb_main ul.gnbmm>li>h2>a:focus-visible{background:#24577b!important;color:#fff!important}
@media(min-width:801px){
 .sy-sub-mobile-toggle{display:none!important}
 .gnboverarea{min-width:0!important;height:57px!important}
 #gnb_main{position:relative!important;box-sizing:border-box!important;width:980px!important;max-width:100%!important;height:57px!important}
 #gnb_main>ul.gnbmm{display:flex!important;align-items:stretch!important;width:calc(100% - 110px)!important;height:57px!important;padding:0!important;margin:0!important;box-sizing:border-box!important}
 #gnb_main>ul.gnbmm>li{flex:1 1 0!important;float:none!important;width:auto!important;min-width:0!important;position:static!important;box-sizing:border-box!important}
 #gnb_main>ul.gnbmm>li>h2,#gnb_main>ul.gnbmm>li>h2>a{height:57px!important;box-sizing:border-box!important}
 #gnb_main>ul.gnbmm>li>h2>a{position:relative!important;margin:0!important;display:flex!important;align-items:center!important;justify-content:center!important}
 #gnb_main>ul.gnbmm>li>h2>a::before{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:#7db8e6;opacity:0;transition:opacity .15s ease;pointer-events:none}
 #gnb_main>ul.gnbmm>li:hover>h2>a::before,#gnb_main>ul.gnbmm>li>h2>a:focus-visible::before{opacity:1}
 #gnb_main>a.gnbbtnALL,#gnb_main>#btnClose{position:absolute!important;left:auto!important;right:0!important;top:0!important;width:110px!important;height:57px!important;margin:0!important;padding:0!important;box-sizing:border-box!important;text-align:center!important;z-index:11020!important;align-items:center;justify-content:center}
 #gnb_main>a.gnbbtnALL{display:flex!important}
 #gnb_main>#btnClose{display:none}
 #gnb_main>a.gnbbtnALL img,#gnb_main>#btnClose img{max-width:100%!important;height:auto!important;filter:none!important;vertical-align:middle!important}
 #gnb_main>#btnClose>a{display:flex!important;height:57px!important;align-items:center;justify-content:center}
}

@media(max-width:800px){
 html,body{width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;overflow-x:hidden!important}
 body{font-size:14px!important;line-height:1.75!important;background:#f4f7fa!important}
 #wrapper{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
 /* Header: remove the legacy 87px empty search placeholder and 108px minimum. */
#header,#header_wrapper,#header_wrapper .header_wrapper_class{
	width:100%!important;
	max-width:100%!important;
	min-width:0!important;
	height:auto!important;
	min-height:0!important;
	max-height:none!important;margin:0!important;
	padding:0!important;
	box-sizing:border-box!important
}
 #header_wrapper .header_wrapper_class{display:flow-root!important;position:relative!important}
 #header .head_search_wrap,.head_search_wrap{display:none!important;width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important}
 #header .skip_conDiv,#header .skip_con{display:none!important}
 #head_user_wrap{display:none!important}
 #header .top_logo{position:relative!important;top:auto!important;left:auto!important;right:auto!important;float:none!important;display:block!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;line-height:1!important;margin:0!important;padding:12px 14px 14px!important;box-sizing:border-box!important}
 #header .top_logo a{display:inline-block!important;line-height:0!important}
 #header .top_logo img{display:block!important;width:auto!important;height:auto!important;max-height:76px!important;max-width:min(300px,76vw)!important;object-fit:contain!important;filter:none!important}
 /* Navigation: full-width toggle + vertical menu, independent from desktop menu. */
 .gnboverarea{position:relative!important;z-index:9999!important;width:100%!important;min-width:0!important;height:auto!important;background:#173e5c!important}
 #gnb_main{height:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
 .sy-sub-mobile-toggle{display:flex!important;align-items:center;justify-content:space-between;width:100%;min-height:48px;padding:11px 20px;border:0;background:#173e5c;color:white;text-align:left;font-size:15px;font-weight:700;cursor:pointer}
 .sy-sub-mobile-toggle span{font-size:23px;line-height:1}
 #gnb_main>ul.gnbmm{display:none!important;width:100%!important;height:auto!important;min-width:0!important;margin:0!important;padding:0!important;flex-direction:column!important;background:#173e5c!important}
 body.sy-subnav-open #gnb_main>ul.gnbmm{display:flex!important}
 #gnb_main>ul.gnbmm>li{display:block!important;float:none!important;width:100%!important;height:auto!important;min-width:0!important;border-bottom:1px solid rgba(255,255,255,.13)!important;text-align:left!important}
 #gnb_main>ul.gnbmm>li>h2{height:auto!important;min-height:0!important;margin:0!important}
 #gnb_main>ul.gnbmm>li>h2>a{display:flex!important;justify-content:flex-start!important;align-items:center!important;min-height:44px!important;height:auto!important;margin:0!important;padding:12px 20px!important;border:0!important;font-size:15px!important}
 #gnb_main .gnbsingle{position:static!important;display:block!important;width:100%!important;height:auto!important;opacity:1!important;visibility:visible!important}
#gnb_main .gnbsingle div.gmbox{
	position:static!important;
	top:auto!important;
	left:auto!important;
	display:block!important;
	width:100%!important;
	min-width:0!important;
	height:auto!important;
	margin:0!important;
	padding:0 12px 12px!important;
	border:0!important;
	border-radius:0!important;
	box-shadow:none!important;
	background:#234b68!important;
	box-sizing:border-box!important;
}
#gnb_main .gnbsingle .gnb_2depth{
	position:static!important;
	display:block!important;
	width:100%!important;
	height:auto!important;
	margin:0!important;
	padding:0!important;
}
#gnb_main .gnbsingle .gnb_2depth>li{
	display:block!important;
	float:none!important;
	width:100%!important;
	height:auto!important;
	min-height:0!important;
	padding:0!important;
}
#gnb_main .gnbsingle .gnb_2depth strong{display:none!important}
#gnb_main .gnbsingle .gnbSubUL2{
	position:static!important;
	display:grid!important;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:4px;
	width:100%!important;
	margin:0!important;
	padding:0!important;
}
#gnb_main .gnbsingle .gnbSubUL2 li{display:block!important;float:none!important;width:100%!important;height:auto!important;}
#gnb_main .gnbsingle .gnbSubUL2 li a{
	display:block!important;
	padding:10px 12px!important;
	border-radius:6px!important;
	background:rgba(255,255,255,.07)!important;
	color:#fff!important;
	font-size:13px!important;
	line-height:1.4!important;
}
#gnb_main .gnbsingle .gnbSubUL2 li a span{color:#fff!important;}
 #gnb_main>a.gnbbtnALL,#gnb_main>#btnClose,#gnb_main>#gnb_2depth_line,.gnboverarea #gnbBg{display:none!important}
 /* Existing subpage content stays inside the screen. Wide forms/tables scroll locally. */
 #main_top{width:100%!important;max-width:100%!important;min-width:0!important;padding-top:0!important;overflow:visible!important}
 #main_top>table{min-width:0!important}
 .sy-sub-layout{display:block!important;width:100%!important;max-width:100%!important;margin:0 auto!important;table-layout:auto!important;border-spacing:0!important}
 .sy-sub-layout>tbody,.sy-sub-layout>tbody>tr{display:block!important;width:100%!important}
 .sy-sub-layout>tbody>tr>td{display:block!important;width:100%!important;max-width:100%!important;padding:0 12px!important;box-sizing:border-box!important}
 .sy-sub-layout>tbody>tr>td.sy-sub-sidebar{display:none!important}
 .sy-sub-layout>tbody>tr>td.sy-sub-body{padding:10px 14px 30px!important;min-width:0!important;overflow-wrap:anywhere}
 .sy-sub-body>table,.sy-sub-body>div>table{max-width:100%!important;width:100%!important;table-layout:auto!important}
 .sy-sub-body img,.sy-sub-body .News_content img{max-width:100%!important;height:auto!important}
 .sy-sub-body #mb_contents,.sy-sub-body #content_wrap,.sy-sub-body #articleContent,.sy-sub-body .container,.sy-sub-body .box_cont{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
 .sy-sub-body #mb_contents{margin:12px auto!important;padding:16px!important}
 .sy-sub-body #content_wrap{font-size:14px!important;line-height:1.9!important}
 .sy-sub-table-scroll{display:block!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;padding-bottom:5px}
 .sy-sub-table-scroll>table{max-width:none!important}
 .sy-sub-body input:not([type=radio]):not([type=checkbox]),.sy-sub-body textarea,.sy-sub-body select{max-width:100%!important}
 .sy-sub-body .font_subject{font-size:19px!important;white-space:normal!important}
 .sy-sub-path{display:block!important;position:static!important;z-index:auto!important;width:100%!important;max-width:100%!important;height:auto!important;margin:8px 0!important;padding:0 12px!important;box-sizing:border-box!important;text-align:left!important}
 .sy-sub-path .path{width:100%!important;max-width:100%!important;text-align:left!important;font-size:11px!important;overflow-wrap:anywhere}
 /* Footer: the real markup is #footer>.copyright and #footer2>.addr>address. */
 #footer,#footer2,#main_footer{clear:both!important;display:block!important;float:none!important;position:relative!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;overflow-wrap:anywhere!important}
 #footer .copyright,#footer .connect,#footer2 .addr{display:block!important;position:static!important;float:none!important;left:auto!important;right:auto!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;margin:0!important;padding:12px 16px!important;box-sizing:border-box!important}
 #footer .copyright{display:flow-root!important}
 #footer .copyright ul{display:flex!important;flex-wrap:wrap!important;gap:4px 10px!important;float:none!important;width:auto!important;max-width:100%!important;height:auto!important;margin:0!important;padding:0!important;list-style:none!important}
 #footer .copyright li{float:none!important;width:auto!important;padding:0!important}
 #footer .connect:empty{display:none!important}
 #footer2 .addr{padding:18px 16px 22px!important}
 #footer2 .addr address{display:block!important;position:static!important;float:none!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;margin:0!important;padding:0!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#fff!important;font-size:12px!important;line-height:1.8!important;box-sizing:border-box!important}
}
@media(max-width:380px){#gnb_main .gnbsingle .gnbSubUL2{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){#gnb_main ul.gnbmm>li>h2>a::before{transition:none}}

/* v7: remove broken desktop sitemap launcher, retain existing four menus. */
@media (min-width:801px) {
  #gnb_main > a.gnbbtnALL, #gnb_main > #btnClose { display:none!important; }
  #gnb_main > ul.gnbmm { width:100%!important; }
}

/* PC 상단 2차 메뉴 글자 줄바꿈 방지 */
@media (min-width: 801px) {
    #gnb_main .gnbsingle .gnbSubUL2 li a,
    #gnb_main .gnbsingle .gnbSubUL2 li a span {
        white-space: nowrap !important;
        word-break: keep-all !important;
    }

    #gnb_main .gnbsingle .gnbSubUL2 li {
        width: auto !important;
        min-width: max-content !important;
    }
}