@import url('/assets/site-shell-core.css?v=20260923-3');
@import url('/assets/global-title-alignment.css?v=20260911-1138');

/* MOBILE_IOS_ROOT_SCROLL_V1 - 모바일 전체 페이지 하단 스크롤 구조 통일 */
@media (max-width:900px){
  html{height:100%;min-height:100%;overflow:hidden!important;background:#172840!important}
  body{height:100svh!important;min-height:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;display:block!important;margin:0!important}
  body>.dg-shell-footer,body>footer,body>.footer{margin-top:0!important;margin-bottom:0!important;width:100%!important}
}

/* DETAIL_TITLE_STATIC_V3 - 5개 업무 메인페이지 공통 제목 스타일 */
html:has(link[rel="canonical"]:is([href$="/inheritance.html"],[href$="/renunciation.html"],[href$="/corporate.html"],[href$="/realestate.html"],[href$="/family.html"])) .subhero-copy>.label{display:none!important}
html:has(link[rel="canonical"]:is([href$="/inheritance.html"],[href$="/renunciation.html"],[href$="/corporate.html"],[href$="/realestate.html"],[href$="/family.html"])) .subhero-copy>h1{position:relative!important;display:inline-block!important;max-width:100%!important;margin:4px 0 24px!important;padding:0 0 14px 0!important;font-size:clamp(34px,4.4vw,49px)!important;line-height:1.16!important;letter-spacing:-2.8px!important;font-weight:900!important;white-space:nowrap!important}
html:has(link[rel="canonical"]:is([href$="/inheritance.html"],[href$="/renunciation.html"],[href$="/corporate.html"],[href$="/realestate.html"],[href$="/family.html"])) .subhero-copy>h1::before{content:none!important;display:none!important;background:none!important}
html:has(link[rel="canonical"]:is([href$="/inheritance.html"],[href$="/renunciation.html"],[href$="/corporate.html"],[href$="/realestate.html"],[href$="/family.html"])) .subhero-copy>h1::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#82cef1;border-radius:2px}
@media(max-width:800px){
  html:has(link[rel="canonical"]:is([href$="/inheritance.html"],[href$="/renunciation.html"],[href$="/corporate.html"],[href$="/realestate.html"],[href$="/family.html"])) .subhero-copy>h1{margin-top:2px!important;padding-left:0!important;padding-bottom:11px!important;font-size:clamp(20px,6.2vw,27px)!important;letter-spacing:-1.65px!important}
}
@media(max-width:360px){
  html:has(link[rel="canonical"]:is([href$="/inheritance.html"],[href$="/renunciation.html"],[href$="/corporate.html"],[href$="/realestate.html"],[href$="/family.html"])) .subhero-copy>h1{font-size:19px!important;letter-spacing:-1.4px!important}
}
