@charset "UTF-8";

/* ==========================================
   NEOK JAPAN - 공통 디자인 시스템 (common.css)
   ※ 서브페이지 공통 적용 / !important 0개 준수
   ========================================== */

/* 1. 디자인 변수 */
:root {
  --main-navy: #0f2645;
  --text-dark: #222222;
  --text-gray: #666666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --font-main: "りょうゴシック B", "Ryo Gothic B", "Noto Sans JP", sans-serif;
}

/* 2. 전체 초기화 (Reset) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  padding-top: 90px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol, li {
  list-style: none;
}

/* 3. 공통 레이아웃 */
.section-padding {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .en-title {
  display: block;
  font-size: 13px;
  color: var(--text-gray);
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.section-title h2 {
  font-size: 28px;
  color: var(--main-navy);
  font-weight: 700;
}

/* ------------------------------------------
   4. 고정 화이트 헤더 & 네비게이션
   ------------------------------------------ */
/* ==========================================
   4. 고정 화이트 헤더 & 드롭다운 네비게이션
   ========================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background-color: var(--white);
  z-index: 1000;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  /* 기본 상태에서도 깔끔한 은은한 그림자 적용 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #f0f0f0;
}

#header.scrolled {
  /* 스크롤 시 선명해지는 그림자 */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 로고 영역 (불필요한 점/불릿 요소 완전 차단) */
.logo,
.logo a {
  display: flex;
  align-items: center;
  list-style: none !important;
  text-decoration: none;
}

.logo::before,
.logo a::before,
.logo::after,
.logo a::after {
  content: none !important;
}

.logo-img {
  height: 45px;
  width: auto;
  display: block;
}

/* PC 화면 기본: 햄버거 버튼 숨기기 (로고 옆 점 원인 해결) */
.hamburger-btn {
  display: none;
}

/* 네비게이션 메뉴 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-menu > ul {
  display: flex;
  gap: 30px;
}

.nav-menu > ul > li {
  position: relative;
  padding: 30px 0;
}

.nav-menu > ul > li > a {
  font-size: 15px;
  font-weight: 500;
  color: var(--main-navy);
  transition: color 0.2s;
}

.nav-menu > ul > li:hover > a {
  color: #1d4d8c;
}

/* 드롭다운 서브메뉴 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  min-width: 280px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1100;
  border: 1px solid #eee;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background-color: #f0f4f8;
  color: var(--main-navy);
  font-weight: 700;
}

/* 문의하기 버튼 */
.btn-contact {
  display: inline-block;
  padding: 10px 24px;
  background-color: var(--white);
  border: 1px solid var(--main-navy);
  color: var(--main-navy) !important;
  font-weight: 600 !important;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.btn-contact:hover {
  background-color: var(--main-navy);
  color: var(--white) !important;
}

/* ------------------------------------------
   5. 푸터 & 사이트맵
   ------------------------------------------ */
footer {
  background-color: var(--main-navy);
  color: var(--white);
  padding: 70px 0 25px;
  margin-top: auto;
}

.footer-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-brand {
  flex: 0 0 320px;
}

.footer-logo-img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 12px;
}

.footer-company-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.footer-company-en {
  font-size: 13px;
  color: #a0aec0;
  margin-bottom: 20px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-contact-info .small-text {
  font-size: 13px;
  color: #cbd5e0;
  line-height: 1.6;
}

.footer-contact-info .small-text a {
  color: #cbd5e0;
  text-decoration: underline;
}

.footer-sitemap {
  flex: 1;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

.sitemap-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.sitemap-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sitemap-col ul li a {
  font-size: 13px;
  color: #a0aec0;
  transition: color 0.2s ease;
}

.sitemap-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  max-width: 1300px;
  margin: 50px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 11px;
  color: #a0aec0;
}

/* ------------------------------------------
   6. 모바일 반응형
   ------------------------------------------ */
@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }

  #header {
    height: 70px;
  }

  .header-inner {
    padding: 0 20px;
  }

  .logo-img {
    height: 35px;
  }

  .hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1200;
    padding: 0;
  }

  .hamburger-btn span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--main-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .hamburger-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .hamburger-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 30px 20px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu > ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu > ul > li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: #f8f9fa;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    padding: 0;
    margin-top: 10px;
    transition: max-height 0.3s ease;
  }

  .has-dropdown.open .dropdown-menu {
    max-height: 500px;
    padding: 10px 0;
  }

  .btn-contact {
    text-align: center;
    margin-top: 10px;
  }

  footer {
    padding: 40px 0 25px;
  }

  .footer-inner {
    flex-direction: column;
    padding: 0 20px;
    gap: 20px;
    text-align: center;
    align-items: center;
  }

  .footer-brand {
    flex: none;
    width: 100%;
  }

  .footer-sitemap {
    display: none;
  }

  .footer-bottom {
    margin-top: 25px;
    padding: 15px 20px 0;
  }
}