@charset 'utf-8';
@import url(https://cdn.rawgit.com/theeluwin/NotoSansKR-Hestia/master/stylesheets/NotoSansKR-Hestia.css);

:root {
  --main-color: #2452c6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding-top: 68px;
  font-family:'Noto Sans Korean','Malgun Gothic','맑은 고딕',Dotum,'돋움';
  color: #222;
  background: #f7f8fb;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
}

.wrap {
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 상단 메뉴 */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eceef3;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 20px;
}

.logo img {
  display: block;
  margin-top: 8px;
  width: 150px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 68px;
  transition: color .2s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 100%;
  height: 2px;
  background: var(--main-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.nav a:hover {
  color: var(--main-color);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.menu-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* 모바일 메뉴 */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  z-index: 1100;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 340px);
  height: 100vh;
  background: #fff;
  box-shadow: -18px 0 40px rgba(0,0,0,0.12);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 1200;
  padding: 2px 15px 18px;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #edf0f5;
}

.mobile-menu-logo img {
  display: block;
  margin-top: 8px;
  width: 130px;
  height: auto;
}

.mobile-menu-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-icon {
  width: 18px;
  height: 18px;
  display: block;
}

.mobile-menu-nav {
  display: grid;
  gap: 2px;
}

.mobile-menu-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  color: #222;
}

.mobile-menu-nav a:hover {
  background: #f3f7ff;
  color: var(--main-color);
}

/* 푸터 */
.footer {
  background: #18306f;
  color: #dfe7ff;
  padding: 0;
  margin-top: 0;
  font-size: 14px;
  text-align: left;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-section {
  flex: 1;
  min-width: 0;
}

.footer-section + .footer-section {
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.footer-section p {
  margin: 0 0 8px;
  line-height: 1.7;
  color: #dfe7ff;
  font-size: 14px;
}

.footer .company-name {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center;
  padding: 16px 20px 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

