/* KAN 홈페이지 공통 스타일 · 빌드: _scripts/build_site.py */
@font-face{font-family:'Barlow';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/barlow-400.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:500;font-display:swap;src:url(fonts/barlow-500.woff2) format('woff2')}
@font-face{font-family:'Barlow';font-style:normal;font-weight:700;font-display:swap;src:url(fonts/barlow-700.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:400;font-display:swap;src:url(fonts/barlow-condensed-400.woff2) format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:600;font-display:swap;src:url(fonts/barlow-condensed-600.woff2) format('woff2')}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:#0B1B33}
*{box-sizing:border-box}
img{max-width:100%;display:block}
a{color:#0A4DA2;text-decoration:none}a:hover{color:#073B7E}
a:focus-visible,button:focus-visible{outline:3px solid #5EEAD4;outline-offset:2px}
.kan-menu-btn{display:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* 헤더: 메뉴가 한 줄에 들어가지 않는 폭부터 「메뉴」 버튼으로 접는다. 문의 버튼은 메뉴 버튼 왼쪽에 그대로 둔다 */
@media (max-width:1100px){
  .kan-head{gap:8px 12px !important;position:relative}
  .kan-menu-btn{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:50px;padding:0 14px;order:2;background:#FFFFFF;border:1px solid #CBD5E1;border-radius:8px;font-family:inherit;font-size:15px;font-weight:700;line-height:1;color:#0B1B33;cursor:pointer}
  .kan-menu-btn i{display:block;width:18px;height:2px;background:#0B1B33;box-shadow:0 6px 0 #0B1B33,0 -6px 0 #0B1B33}
  .kan-head>a:last-child{order:1;margin-left:auto}
  .kan-head>nav{display:none !important;flex:1 1 100%;flex-direction:column;align-items:stretch !important;gap:0 !important;border-top:1px solid #DCE2EA;margin-top:4px;padding-top:4px;order:3}
  .kan-head.open>nav{display:flex !important}
  .kan-head>nav a{padding:14px 4px !important;border-bottom:1px solid #EEF2F7 !important;font-size:17px}
}
/* 좁은 화면 */
@media (max-width:860px){
  .kan-head{padding:10px 20px !important}
  .kan-head>a:first-child img{height:36px !important}
  .kan-top>div{padding:7px 20px !important}
  .kan-top>div>span:first-child{display:none}
  .kan-root footer a:not([href^="mailto"]){padding-top:10px !important;padding-bottom:10px !important;min-height:44px;display:flex;align-items:center}
}
/* 휴대전화: 문의 버튼도 메뉴 안으로 */
@media (max-width:640px){
  .kan-menu-btn{margin-left:auto;min-height:44px;padding:0 12px}
  .kan-head>a:last-child{display:none !important}
  .kan-head.open>a:last-child{display:flex !important;flex:1 1 100%;justify-content:center;order:4;margin-top:8px;margin-left:0}
  .kan-root section>div,.kan-root footer>div,.kan-root>div>div[style*="max-width:1304px"]{padding-left:20px !important;padding-right:20px !important}
}

