@charset "utf-8";

/* 공통 */
html {
  font-size: 16px;
  transition: font-size 0.4s ease-in-out;
}
/* 태블릿 세로 & 모바일 가로 (768px ~ 1023px) */
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

@media (max-width: 764px) {
  html {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 10px;
  }
}

.inner {
  width: 100%;
  height: 100%;
  max-width: 1520px;
  padding-left: 100px;
  padding-right: 100px;
  transition: all 0.3s ease;
  margin: 0 auto;
}

/* 데스크탑 (1440px ~ 1919px) */
@media (max-width: 1440px) {
  .inner {
    padding-left: 60px;
    padding-right: 60px;
  }
}

/* 태블릿 세로 & 모바일 가로 (768px ~ 1023px) */
@media (max-width: 1024px) {
  .inner {
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* 모바일 (480px ~ 767px) */
@media (max-width: 764px) {
  .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 헤더 */
#hd {
  background-color: #fff;
  min-width: 100%;
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 1000;
  box-sizing: border-box;
  border-bottom: none;
  height: auto;
}

#hd.scrolled {
  border-bottom: 1px solid #ebebeb;
}

#skip_to_container {
  display: none;
}

#hd_wrapper {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding 0.4s ease-in-out, height 0.6s ease-in-out;
}

@media (max-width: 1024px) {
  #hd_wrapper {
    height: 60px;
  }
}

/* 헤더 로고 */
#logo {
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  #logo {
    z-index: 1000;
  }
}

#logo > a > img {
  width: 80px;
  padding: 0;
  height: auto;
  display: flex;
  align-items: center;
  transition: width 0.4s ease-in-out;
}

@media (max-width: 1024px) {
  #logo > a > img {
    width: 60px;
  }
}

/* 헤더 - 모바일 메뉴 버튼 */

#hd_mobile_buttons {
  display: none;
  justify-content: center;
  align-items: center;
}

@media (max-width: 1024px) {
  #hd_mobile_buttons {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.m_menuBtn_open,
.m_menuBtn_close {
  font-size: 24px;
}

/* 헤더 - 우측 옵션(언어, 모바일 메뉴) */

.hd_option {
  display: flex;
  gap: 18px;
}

.hd_lang {
  position: relative;
  display: inline-block;
  font-size: 14px;
}

#hd_lang_btn {
  padding: 10px 20px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 20px;
  background-color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 1024px) {
  #hd_lang_btn {
    padding: 6px 14px;
  }
}

#hd_lang_btn::after {
  content: "▼";
  font-size: 12px;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

#hd_lang_btn.active::after {
  transform: rotateX(180deg);
}

#hd_lang_menu {
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  background: white;
  border-radius: 15px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  padding: 0;
  text-align: center;
  z-index: 900;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

#hd_lang_menu.active {
  display: flex;
  max-height: 200px;
  padding: 10px 0;
}

.hd_lang_item {
  display: block;
  padding: 8px 0;
  cursor: pointer;
  font-weight: bold;
}

.inactive {
  opacity: 0.5;
}

/* 헤더메뉴 호버 시 오버레이 */
#hd_overlay {
  display: none;
  top: 0;
  left: 0;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: #333;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  z-index: 100;
}

/* 상단햄버거 버튼 */
.gnb_mnal {
  display: block;
}

/* 콘텐츠 */

/* 바디 */
#wrapper,
#container_wr {
  width: 100%;
}

#container_wr {
  display: flex;
  flex-direction: column;
}

#container {
  width: 100%;
  margin: 0;
}

/* 푸터 */
#ft_bg {
  width: 100%;
}

#ft {
  width: 100%;
  height: auto;
  background-color: #333;
  text-align: left;
  transition: all 0.3s ease;
}

.ft_content {
  padding-top: 80px;
  padding-bottom: 80px;
  transition: all 0.3s ease;
}

.ft_content h2 {
  font-size: 1.125rem;
  color: #fff;
}

.ft_info {
  font-size: 0.875rem;
  color: #fff;
  opacity: 0.6;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#ft_copy {
  width: 100%;
  min-width: 100%;
}

.ft_login {
  margin-top: 10px;
}

.ft_login_loginBtn,
.ft_login_logoutBtn {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .ft_content {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

#top_btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  line-height: 46px;
  border: 1px solid #d6ccc8;
  color: #333;
  text-align: center;
  font-size: 15px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.5);
}
#top_btn:hover {
  border-color: #4274af;
  background: #4274af;
  color: #fff;
}

/* 커서 */
/* 기본 커서 스타일 */
.cursor {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border-radius: 100%;
  border: 2px solid #4274af;
  position: fixed;
  pointer-events: none;
  z-index: 99999; /* z-index를 더 높임 */
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background-color 0.2s ease, opacity 0.3s ease;
}

.cursor_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: normal;
  font-size: 0.3rem;
  color: #4274af;
  font-weight: 600;
  opacity: 0;
  transform: translate(0, 50%);
}

/* 페이지 로딩 시 숨겨진 경우 대비 */
.cursor.hidden {
  opacity: 0;
}
