/* 메가누수케어 공통 머리말·꼬리말·하단 전화 바 (2026-10-27). 지역 페이지 /l/** 는 이 파일을 읽지 않는다. */
.mgc-header,.mgc-header *,.mgc-footer,.mgc-footer *,.mgc-dock,.mgc-dock *{box-sizing:border-box}
body:has(>header.mgc-header){margin:0}
header.mgc-header{position:sticky;top:0;left:auto;right:auto;z-index:60;display:block;float:none;margin:0;padding:0;width:auto;max-width:none;height:auto;min-height:0;background:#fffffff7;border:0;border-bottom:1px solid #dfe5e9;border-radius:0;box-shadow:0 2px 12px #102b3f08;color:#08283e;font:500 15px/1.4 Pretendard,system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;letter-spacing:0;text-align:left;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
.mgc-header .mgc-in{max-width:1280px;margin:0 auto;padding:10px 28px;display:flex;align-items:center;gap:24px}
.mgc-header a{text-decoration:none;border:0}
.mgc-header .mgc-brand{display:flex;align-items:center;gap:10px;min-height:44px;color:#08283e;flex-shrink:0;padding:0;background:none}
.mgc-header .mgc-mark{display:block;width:60px;height:28px;background:url(/assets/mg-mark-200.webp) left center/contain no-repeat;flex-shrink:0}
.mgc-header .mgc-name{display:block}
.mgc-header .mgc-name strong{display:block;white-space:nowrap;font-size:19px;font-weight:800;letter-spacing:-.04em;line-height:1.15;color:#08283e}
.mgc-header .mgc-name small{display:block;margin-top:2px;font-size:12px;font-weight:500;line-height:1.3;color:#4a5f6e;letter-spacing:0}
.mgc-header .mgc-nav{display:flex;flex:1;justify-content:center;gap:2px;flex-wrap:nowrap;margin:0;padding:0;border:0;background:none}
.mgc-header .mgc-nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;color:#33495a;font-size:15px;font-weight:600;white-space:nowrap;background:none}
.mgc-header .mgc-nav a:hover{background:#eef3f6;color:#08283e}
.mgc-header .mgc-nav a[aria-current=page]{color:#08283e;box-shadow:inset 0 -3px 0 #275eb6;border-radius:0}
.mgc-header .mgc-call{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;border-radius:10px;background:#0d3a5c;color:#fff;font-size:16px;font-weight:800;white-space:nowrap;flex-shrink:0;letter-spacing:0}
.mgc-header .mgc-call small{font-size:13px;font-weight:600;color:#d5e4f0}
.mgc-header .mgc-call:hover{background:#08283e}
.mgc-header a:focus-visible,.mgc-footer a:focus-visible,.mgc-dock a:focus-visible{outline:3px solid #f6b84e;outline-offset:2px}
@media(max-width:960px){
 .mgc-header .mgc-in{flex-wrap:wrap;gap:4px 10px;padding:6px 14px 0}
 .mgc-header .mgc-brand{flex:1;min-width:0}
 .mgc-header .mgc-mark{width:48px;height:24px}
 .mgc-header .mgc-name strong{font-size:17px}
 .mgc-header .mgc-name small{display:none}
 .mgc-header .mgc-call{min-height:44px;padding:0 14px;font-size:15px}
 .mgc-header .mgc-call small{display:none}
 .mgc-header .mgc-nav{order:3;flex-basis:100%;justify-content:flex-start;overflow-x:auto;margin:2px -14px 0;padding:0 6px;border-top:1px solid #edf1f3;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .mgc-header .mgc-nav::-webkit-scrollbar{display:none}
 .mgc-header .mgc-nav a{font-size:14px;padding:0 10px}
}
footer.mgc-footer{display:block;margin:0;padding:48px 0 28px;width:auto;max-width:none;background:#0b2233;color:#c9d6df;border:0;font:400 14px/1.75 Pretendard,system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;text-align:left;letter-spacing:0}
.mgc-footer .mgc-fin{max-width:1180px;margin:0 auto;padding:0 28px;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:36px}
.mgc-footer strong{display:block;color:#fff;font-size:20px;font-weight:800;letter-spacing:-.03em}
.mgc-footer p{margin:10px 0;color:#c9d6df}
.mgc-footer h2{margin:0 0 10px;color:#fff;font-size:14px;font-weight:700;letter-spacing:.02em}
.mgc-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.mgc-footer a{color:#e4edf3;text-decoration:none}
.mgc-footer ul a{display:inline-flex;align-items:center;min-height:36px}
.mgc-footer a:hover{text-decoration:underline;text-underline-offset:4px}
.mgc-footer .mgc-ftel{display:inline-flex;align-items:center;min-height:48px;margin-top:6px;padding:0 18px;border-radius:10px;background:#fff;color:#0b2233;font-size:18px;font-weight:800}
.mgc-footer .mgc-bottom{max-width:1180px;margin:32px auto 0;padding:18px 28px 0;border-top:1px solid #27414f;font-size:13px;color:#a9bac6}
.mgc-footer .mgc-bottom p{margin:4px 0;color:#a9bac6}
@media(max-width:760px){footer.mgc-footer{padding:36px 0 24px}.mgc-footer .mgc-fin{grid-template-columns:1fr;gap:22px;padding:0 20px}.mgc-footer .mgc-bottom{padding:16px 20px 0}}
.mgc-dock{display:none}
@media(max-width:760px){
 .mgc-dock{display:grid;grid-template-columns:1.5fr 1fr;position:fixed;left:0;right:0;bottom:0;z-index:70;margin:0;background:#0d3a5c;box-shadow:0 -4px 18px #08283e2e;padding-bottom:env(safe-area-inset-bottom)}
 .mgc-dock a{display:flex;align-items:center;justify-content:center;min-height:58px;padding:6px;color:#fff;text-decoration:none;font:800 16px/1.2 Pretendard,system-ui,-apple-system,'Apple SD Gothic Neo',sans-serif;letter-spacing:0}
 .mgc-dock a+a{background:#e9dac0;color:#232a20;font-weight:700;font-size:15px}
 body:has(.mgc-dock){padding-bottom:64px}
}
