@charset "utf-8";
/* ============================================================
   Plan Dental multilingual - responsive overlay
   데스크탑(1400px 이상)은 원본과 100% 동일. 1400px 미만에서만 적용.
   ============================================================ */
@media (max-width: 1399px) {
  html, body { min-width: 0 !important; overflow-x: hidden; -webkit-text-size-adjust: 100%; }
  img { max-width: 100%; height: auto; }

  /* 헤더 */
  #header { min-width: 0 !important; position: relative !important; }
  #header .hd_top { min-width: 0 !important; padding: 0 16px !important; height: auto !important; }
  #header .hd_top .hd_banner { display: none !important; }
  #header .hd_top .hd_logo { position: static !important; margin: 0 auto !important; padding: 14px 0 !important; text-align: center; }
  #header .hd_top .hd_logo img { max-height: 42px; width: auto; }
  #header .hd_top .hd_member { position: static !important; text-align: center; padding-bottom: 8px; }

  /* GNB : 가로 스크롤 */
  #header .gnb { overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch; border-top: 1px solid #eee; }
  #header .gnb::-webkit-scrollbar { height: 0; }
  #header .gnb ul { display: flex !important; white-space: nowrap; padding: 0 10px; }
  #header .gnb ul li { float: none !important; flex: 0 0 auto; line-height: 50px !important; }
  #header .gnb ul li a { padding: 0 12px !important; font-size: 15px !important; }
  #header .submenu, #header .all_menu { display: none !important; }

  /* 공통 컨테이너 */
  .contain, .contain02, .contain_menu { width: 100% !important; max-width: 1400px; padding-left: 16px; padding-right: 16px; }
  .contain_menu { height: auto !important; }
  .b_contain { width: 100% !important; max-width: 1400px; margin: 30px auto !important; padding: 0 16px !important; }

  /* 풀와이드 이미지 : 잘림 없이 축소 */
  .full_img, .sub_location { min-width: 0 !important; max-width: 100% !important; }
  .full_img img { position: static !important; left: auto !important; margin-left: 0 !important; width: 100% !important; max-width: 100% !important; height: auto !important; }

  /* 사이드/하단 고정요소 : 화면 가림 방지 */
  .quick_menu, .left_quick { display: none !important; }
  .quick_inquiry { position: static !important; }
  .quick_inquiry .contain { padding: 0 16px; }

  /* 국가 선택 */
  .nation_menu { position: static !important; text-align: center; }

  /* 푸터 */
  #footer, .footer { padding: 24px 16px !important; }
  #footer .contain, .footer .contain { width: 100% !important; }
}

/* 모바일 세부 */
@media (max-width: 767px) {
  #header .hd_top .hd_logo img { max-height: 36px; }
  #header .gnb ul li a { font-size: 14px !important; padding: 0 10px !important; }
  #header .gnb ul li { line-height: 46px !important; }
  .b_contain { margin: 20px auto !important; }
}
