/* Shared header contract, v1. Existing home content styles are not overridden. */
@font-face{font-family:VM Pretendard;src:url('../assets/fonts/PretendardVariable.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
.vm-site{--vm-font:'VM Pretendard','Apple SD Gothic Neo','Malgun Gothic',sans-serif;--vm-ink:#173c34;--vm-gold:#a18748;--vm-paper:#fbfaf6;--vm-line:#d9ded2;--vm-header-height:100px;--vm-content-max:1240px;--vm-gutter:40px}
.vm-site .vm-header{position:sticky;top:0;z-index:45;height:var(--vm-header-height);display:block;padding:0;background:#ffffff;border-bottom:1px solid var(--vm-line);font:400 16px/1.75 var(--vm-font);color:var(--vm-ink)}
.vm-site .vm-header-inner{width:100%;max-width:1440px;height:100%;margin:auto;padding:0 32px;display:grid;grid-template-columns:150px minmax(0,1fr) 174px;gap:22px;align-items:center}
.vm-site .vm-header .brand{display:flex;flex-direction:row;justify-content:center;align-items:center;width:150px;gap:0;margin:0;line-height:1.2}
.vm-site .vm-header .brand img{display:block;width:136px;height:auto;object-fit:contain;margin:0}
.vm-site .vm-header .nav{display:flex;align-items:center;justify-content:center;gap:clamp(16px,2vw,30px);margin:0}
.vm-site .vm-header .nav a{padding:30px 0;border-bottom:2px solid transparent;font:400 16px/1.75 var(--vm-font);letter-spacing:normal;white-space:nowrap}
.vm-site .vm-header .nav a:hover,.vm-site .vm-header .nav a[aria-current=page]{color:var(--vm-gold);border-bottom-color:var(--vm-gold)}
.vm-site .vm-header .header-phone{display:flex;align-items:center;justify-content:center;gap:9px;width:174px;height:48px;padding:0 14px;border-radius:50px;background:#214a3c;color:white;white-space:nowrap}
.vm-site .vm-header .header-phone:after{content:none}
.vm-site .vm-header .header-phone svg{display:block;width:21px;height:21px;flex:none}
.vm-site .vm-header .header-phone .phone-number{display:block;padding:0;margin:0;background:none;border-radius:0;font:650 21px/1.2 var(--vm-font);letter-spacing:-.025em}
.vm-site .vm-header .hamburger{display:none;border:0;background:transparent;padding:0;color:var(--vm-ink);width:44px;height:44px}
.vm-site .vm-header .hamburger span{display:block;width:24px;height:2px;flex:none;margin:0;background:currentColor}
.vm-site .menu-panel{display:none}
.vm-site .menu-panel a[aria-current=page]{color:#e8d99c}
@media(min-width:991px) and (max-width:1199px){.vm-site .vm-header-inner{padding:0 24px;gap:18px;grid-template-columns:128px minmax(0,1fr) 166px}.vm-site .vm-header .brand{width:128px}.vm-site .vm-header .brand img{width:124px}.vm-site .vm-header .nav{gap:18px}.vm-site .vm-header .nav a{font-size:14px}.vm-site .vm-header .header-phone{width:166px}.vm-site .vm-header .header-phone .phone-number{font-size:20px}}
@media(max-width:990px){
.vm-site{--vm-header-height:76px;--vm-gutter:24px}
.vm-site .vm-header-inner{grid-template-columns:44px minmax(0,1fr) 44px;padding:0 16px;gap:12px}
.vm-site .vm-header .hamburger{grid-column:1;grid-row:1;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}
.vm-site .vm-header .brand{grid-column:2;grid-row:1;justify-self:center;width:135px;max-width:100%;gap:4px}
.vm-site .vm-header .brand img{width:116px;max-width:100%}
.vm-site .vm-header .nav{display:none}
.vm-site .vm-header .header-phone{grid-column:3;grid-row:1;width:44px;height:44px;padding:11px;border-radius:50%}
.vm-site .vm-header .header-phone .phone-number{display:none}
.vm-site .vm-header .header-phone svg{width:22px;height:22px}
.vm-site .menu-panel.open{display:block;position:fixed;inset:76px 0 0;z-index:44;padding:20px 24px calc(90px + env(safe-area-inset-bottom));overflow-y:auto;background:var(--vm-ink);color:#fff;font:400 16px/1.75 var(--vm-font)}
.vm-site .menu-panel a{display:block;padding:15px 8px;font-size:16px}
.vm-site .menu-panel .menu-phone{font-size:24px}
}
@media(max-width:599px){.vm-site{--vm-gutter:20px}}

/* Fixed shared geometry; no page-specific overrides of the header. */
.vm-site .vm-header,.vm-site .vm-header *{box-sizing:border-box}
.vm-site .vm-header .brand{flex:none}
.vm-site .vm-header .nav a{font-weight:500}
.vm-site .vm-header .header-phone{transition:background-color .15s}
.vm-site .vm-header .header-phone:hover{background:#173c34}
.vm-site .vm-skip{position:fixed;z-index:100;left:20px;top:-90px;background:var(--vm-ink);color:white;padding:12px 18px;font:500 15px var(--vm-font)}
.vm-site .vm-skip:focus{top:12px}
.vm-site.menu-open{overflow:hidden}
.vm-site .vm-header .hamburger[aria-expanded=true] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.vm-site .vm-header .hamburger[aria-expanded=true] span:nth-child(2){opacity:0}
.vm-site .vm-header .hamburger[aria-expanded=true] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.vm-site .vm-page-heading h1:focus{outline:none}

/* v5: shared PC header brand colors only; existing geometry is unchanged. */
@media(min-width:991px){
 .vm-site .vm-header{color:#302318}
 .vm-site .vm-header .header-phone{background:#302318}
 .vm-site .vm-header .nav a:hover,.vm-site .vm-header .nav a[aria-current=page]{color:#302318;border-bottom-color:#b0bc00}
}

/* v8: one PC viewport gutter and one footer contract across all routes.
   Footer markup is moved by the main driver, so styling must not depend on #home. */
@media(min-width:991px){
 html{scrollbar-gutter:stable}
 .vm-site footer{margin:0;background:#292219;color:#d4cec0;font:400 12px/1.95 var(--vm-font);padding:22px max(175px,calc((100vw - 1440px)/2 + 70px)) 24px max(48px,calc((100vw - 1440px)/2 + 64px))}
 .vm-site footer .footer-info{max-width:none;margin:0;text-align:left}
 .vm-site footer .footer-info p{font:inherit;color:inherit;margin:0}
 .vm-site footer .footer-notice{font-size:10px!important;line-height:1.75!important;margin-top:14px!important;color:#b4ad9d!important}
 .vm-site footer a{color:inherit}
}
@supports not (scrollbar-gutter:stable){
 @media(min-width:991px){html{overflow-y:scroll}}
}
@media(min-width:991px) and (max-width:1199px){
 .vm-site footer{padding-left:48px;padding-right:145px}
}
@media(min-width:991px) and (max-height:780px){
 .vm-site footer{font-size:11px;line-height:1.8;padding-top:16px;padding-bottom:18px}
 .vm-site footer .footer-notice{margin-top:10px!important}
}
@media(min-width:991px) and (max-height:650px){
 .vm-site footer{font-size:10px;padding-top:12px;padding-bottom:14px}
 .vm-site footer .footer-notice{font-size:9px!important}
}

/* v3 assembly: shared footer brand colors for PC and mobile, without geometry changes. */
.vm-site footer{background:#302217;color:#e2d9cd}
.vm-site footer .footer-info>p:first-child{color:#e2d9cd}
.vm-site footer .footer-notice{color:#c7bbac!important}
.vm-site footer a{color:inherit}
