@charset "utf-8";

/* =========================== 공통 변수 =========================== */
:root {
  --primary: #3ec890;
  --primary-20: rgba(62, 200, 144, .2);
  --second: #102e48;
  --mainsize: 1460px;
  --enfont: 'Wix Madefor Display';
  --line: #e9ecef;
  --text: #222;
  --muted: #666;
  --bg: #fff;
  --radius: 16px;
}

/* =========================== SUB (서브 상단 비주얼) =========================== */
#shSub {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  margin: 0 auto;
  background: url(../img/sub/company1_bg.jpg) center no-repeat;
  background-size: cover;
}

#shSub .txt_area {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  font-family: var(--k-font);
}

#shSub .txt_area p {
  margin-bottom: 20px;
  font-size: 46px;
  font-weight: 700;
}

#shSub .txt_area div {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}

#shSub .txt_area div a { padding-top: 3px; }
#shSub .txt_area div svg { fill: #fff; }
#shSub .txt_area div i { margin: 0 20px; font-size: 14px; }
#shSub .sub_tit { display: none; }

/* 반응형 서브 비주얼 */
@media (max-width: 1024px) {
  #shSub { height: 350px; }
  #shSub .txt_area p { margin-bottom: 10px; font-size: 36px; }
  #shSub .txt_area div { font-size: 15px; }
  #shSub .txt_area div i { margin: 0 15px; }
}

@media (max-width: 480px) {
  #shSub {
    height: 55px;
    background: none;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
  }
  #shSub .txt_area p { margin: 0; font-size: 16px; color: #000; }
  #shSub .txt_area div { display: none; }
}

/* =========================== SNB (서브 네비게이션) =========================== */
#shSnb {
  display: flex;
  justify-content: center;
  margin: 0 auto 50px;
  background: var(--primary);
}

#shSnb li + li { border-left: 1px solid rgba(255, 255, 255, .15); }

#shSnb li a {
  display: block;
  min-width: 160px;
  height: 62px;
  padding: 0 20px;
  font-size: 17px;
  font-weight: 500;
  line-height: 62px;
  text-align: center;
  color: #fff;
  font-family: var(--k-font);
}

#shSnb li.on a {
  font-weight: 600;
  color: var(--primary);
  background: #fff;
}

@media (max-width: 1024px) {
  #shSnb { display: none; }
}

/* =========================== 오시는 길 (LOCATION PAGE) =========================== */
#locationPage {
  color: var(--text);
  font-family: system-ui, -apple-system, "Pretendard", "Noto Sans KR", Arial, sans-serif;
  background: #fff;
  overflow: hidden; /* 가로 스크롤 방지 */
}

#locationPage * { box-sizing: border-box; }

/* 상단 헤더 섹션 */
#locationPage .loc-hero {
  text-align: center;
  padding: 80px 20px 40px;
}

#locationPage .loc-hero-kicker {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--primary);
  text-transform: uppercase;
}

#locationPage .loc-hero-line {
  display: block;
  width: 1px;
  height: 30px;
  margin: 15px auto;
  background: var(--primary);
}

#locationPage .loc-hero-sub {
  margin: 0 0 10px;
  font-size: 18px;
  color: #aaa;
  font-weight: 400;
}

#locationPage .loc-hero-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
}

#locationPage .loc-hero-title b { color: var(--primary); font-weight: 800; }

/* 탭 버튼 스타일 */
#locationPage .loc-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

#locationPage .loc-tab {
  border: 1px solid var(--line);
  background: #fff;
  color: #666;
  height: 50px;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .3s ease;
}

#locationPage .loc-tab.is-active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-20);
}

/* 본문 레이아웃 */
#locationPage .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

/* 정보 영역 (텍스트) */
#locationPage .location-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

#locationPage .location-title {
  font-size: 24px;
  font-weight: 800;
  position: relative;
  padding-bottom: 15px;
}

#locationPage .location-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
}

#locationPage .location-meta .addr {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111;
}

#locationPage .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  color: var(--muted);
}

#locationPage .meta-item b {
  color: #333;
  margin-right: 8px;
}

/* 지도 박스 Full-bleed (전체 너비) 설정 */
#locationPage .map-box {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  height: 500px; /* 지도 높이 */
  background: #f8f9fa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
}

/* 1. 전체 배경 및 프레임 구분 제거 (강력 초기화) */
#sh_wrapper, 
#sh_container, 
#sh_container_wrapper, 
#sh_content, 
#locationPage {
    background: #fff !important;
    border: none !important;
    box-shadow: none !important; /* 회색 테두리 느낌을 주는 그림자 제거 */
    max-width: 100% !important;
}

/* 2. 푸터 상단에 생기는 흰색/회색 도형이나 구분선 강제 제거 */
.ft_upper, .white-shape, #sh_ft_upper {
    display: none !important;
}

/* 3. 탭 버튼 활성화 스타일 */
.loc-tab {
    transition: all 0.3s ease;
}
.loc-tab.is-active {
    background: var(--primary) !important;
    color: #fff !important;
    border-color: var(--primary) !important;
}

/* 4. 탭 패널 제어 */
.loc-panel { display: none; }
.loc-panel.is-active { display: block !important; }

/* 5. 지도 위치 보정 (풀블리드) */
.map-box.full-bleed {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    left: 0;
}
.map-box iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 컨테이너 배경 고정 */
#sh_container,
#sh_container_wrapper,
#sh_content {
  background: #fff !important;
}

/* =========================== 정보 섹션 (Info Section) =========================== */
#locationPage .info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 20px;
}

#locationPage .info-row {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.3s ease;
}

#locationPage .info-row:hover {
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

#locationPage .info-row .icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
}

#locationPage .info-title {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}

#locationPage .info-desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* 모바일 반응형 추가 수정 */
@media (max-width: 768px) {
  #locationPage .loc-hero { padding: 50px 20px 30px; }
  #locationPage .loc-hero-title { font-size: 24px; }
  #locationPage .map-box { height: 350px; }
  #locationPage .meta-row { flex-direction: column; gap: 10px; }
  #locationPage .info { grid-template-columns: 1fr; }
}