html { scroll-behavior: smooth; }
:root {
  --container-max: 440px;
  --bottom-h: 64px;
}
body { 
    margin: 0;
    padding-bottom: calc(var(--bottom-h) + env(safe-area-inset-bottom)); /* 하단 바 공간 */
    background-color: #000000;
}
.nav{
    height: auto;
}

.main-title {
    position: relative;
    padding: 0;
    max-width: min(600vw, 660px); 
    /* max-width: var(--container-max); */
    height: 50px;
    border-bottom: 1px solid var(--border-color);
    background-color: #00000054; 
    /* background-color: transparent;  */
    overflow: hidden;
    margin: 0 auto;
}

/* 화면이 클 때는 너무 넓어지지 않게 제한 */
@media (min-width: 768px) {
  .main-title-img {
    max-width: var(--container-max); 
    margin-left: auto;
    margin-right: auto;
    /*margin: 0 auto;*/
    padding: 0 1.25rem;
  }
}
.main-title-overlays {
  position: relative;
  inset: 0;
  z-index: 10;

  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;

  display: flex;
  justify-content: space-between;
  /* align-items: flex-start; */
  align-items: center;
  background-color: transparent;
}
.main-title-overlay-left,
.main-title-overlay-right,
.main-title-overlay-center {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
    background-color: transparent;
}

/* 좌상단 로고용 */
.main-title-overlay-left {
  /* left: 0.1rem;
  position: relative; */
  /* margin-left: 0px; */
  left: 1.25rem;  
}

/* 우상단 언어 드롭다운용 */
.main-title-overlay-right {
  /* display: flex;
  right: 0.1rem; */
  /* justify-content: flex-end;
  margin-right: -40px; */
  right: -1.25rem;
}
.main-title-overlay-center{
  /* display: flex;
  margin: 0 auto;
  height: 80px; */
  /* justify-content: center; */
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 좌상단 작은 로고/배지, 버튼 스타일 */
.main-title-back-btn{
  display: flex;
  align-items: center;
  gap: 0.4rem; 
  /*grid-template-columns: 1fr;*/
  /*max-width: 120px;*/
  width: 150px;
  height: 20px;
  margin-left: 0px;
  margin-top: 8px;

  /*padding: 0.3rem 0.6rem;*/
  background-color: transparent;
  /*box-shadow: 0 12px 32px rgba(0,0,0,0.2);*/
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.main-title-back-button-img {
  width: 8px;
  height: 13px;
}
.main-title-back-button-text-img{
  width: 41px;
  height: 18px;
}
.page-before-btn-text h1 {
  font-size: 1.2rem;
  color: #fff;
}
.main-title-logo-img {
  display: block;
  /*max-width: 120px;*/
  width: 72px;
  height: 19px;
  /* margin-left: 0px; */
  margin: 0;

  background-color: transparent;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.05);
}
.main-title-center-logo-img {
  display: block;
  /*max-width: 120px;*/
  width: 63px;
  height: 15px;

  background-color: transparent;
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  border: 1px solid rgba(0,0,0,0.05);
  margin: 0px auto;
  /* margin-right: 63px; */
}
.lang-dropdown-icon-img{
  display: block;
  width: 20px;
  height: 20px;
  /* margin-left: 0px;
  margin-right: -5px;
  margin-top: 8px; */
  margin: 0 0 0 0; 
  background-color: transparent;
}
.lang-dropdown{
  position: relative;
  width: 100px;
  height: 32px;
  background: transparent;
  margin-top: 0px;
}
.lang-dropdown select{
  position: absolute;
  padding: 8px 20px 8px 8px;
  border: 1px solid transparent;
  /*border-radius: 8px;*/
  background: transparent;
  outline: none;
  cursor: pointer;
  /* color: transparent; */
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
  
  background-image: url('../Images/common/lang_arrow_icon.png');
  background-repeat: no-repeat;
  background-position: right 10px center;  /* 오른쪽 안쪽에 배치 */
  background-size: 9px auto;
  
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.lang-dropdown select option{
  color: #000;
}
#langSelectIcon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform:translateY(-50%);
  width: 31px;
  height: 16px;
  pointer-events: none;
  display: block;
  margin-top: 2px;
}
/* 실제로 펼쳐지는 리스트 (한국어 / English / 日本語) */
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 140px;

  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 24px 48px rgba(0,0,0,0.12);

  list-style: none;
  margin: 0;
  padding: 0.5rem 0;

  display: none;
  z-index: 20;
}

/* 리스트 안 각 언어 항목 */
.lang-menu li {
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  color: #0f172a;
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1.2;
}
.lang-menu li:hover {
  background-color: #f1f5f9;
}

.screen-division-line{
  width: 100%;
  max-width: var(--container-max);
    margin: 50px auto;
}
.screen-division-line-img{
    width: 100%;
    height: 3px;
    display: flex;
    object-fit: cover;
    justify-content: center; /* 수평 가운데 */
    margin: 0 auto;
}


@font-face {
  font-family: 'Inter';   /* 내가 붙일 이름 */
  src: url('../Fonts/SeoulAlrimTTF-Medium.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../Fonts/SeoulAlrimTTF-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../Fonts/SeoulAlrimTTF-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../Fonts/SeoulAlrimTTF-Heavy.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

[data-i18n] {
  white-space: pre-line;
}