@charset "utf-8";
@import url("https://use.typekit.net/iye2yrs.css");
@import url("fonts.css");

/* Scroll Interaction Animations */
@keyframes imgBgMotion {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes opacityMotion {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes txtMotion {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Interaction Base Styles */
[data-ani="img"] img {
  opacity: 0;
  transform: translateY(100%);
}

[data-ani="txt"] {
  opacity: 0;
  transform: translateY(50px);
}

/* Scroll Interaction Active States */
[data-ani="img"].onTrans img {
  animation: imgBgMotion 1.5s cubic-bezier(0.175, 0.885, 0.32, 1) forwards, 
             opacityMotion 1s cubic-bezier(0, 0.55, 0.45, 1) forwards;
}

[data-ani="txt"].onTrans {
  animation: txtMotion 1s 0.15s ease-out forwards;
}

:root {
  /* common color */
  --color01: #262727;
  --color02: #868687;
  --color03: #B7BABA;
  --color04: #545454;
  --color05: #707070;
  --color06: rgba(51, 51, 51, 0.5);
  --color07: #FFE798;
  --color08: rgba(255, 231, 152, 0.5);
  --color09: #CA0019;
  --color10: #A7A7A7;
  --color11: #D2D2D2;
  --color12: #D9D9D9;
  --color13: #6E6E6E;
  --color14: #FFE798;
  --color15: #EDEDED;
  --color16: rgba(100, 100, 100, 0.7);
  --color17: #949493;
  --color18: #747474;

  /* black */
  --black01: #111;
  --black02: #222;
  --black03: #333;
  --black04: #444;
  --black05: #555;
  --black06: #666;
  --black07: #777;
  --black08: #888;
  --black09: #999;

  /* black */
  --black10: rgba(0, 0, 0, 0.1);
  --black15: rgba(0, 0, 0, 0.15);
  --black20: rgba(0, 0, 0, 0.2);
  --black25: rgba(0, 0, 0, 0.25);
  --black30: rgba(0, 0, 0, 0.3);
  --black35: rgba(0, 0, 0, 0.35);
  --black40: rgba(0, 0, 0, 0.4);
  --black45: rgba(0, 0, 0, 0.45);
  --black50: rgba(0, 0, 0, 0.5);
  --black55: rgba(0, 0, 0, 0.55);
  --black60: rgba(0, 0, 0, 0.6);
  --black65: rgba(0, 0, 0, 0.65);
  --black70: rgba(0, 0, 0, 0.7);
  --black75: rgba(0, 0, 0, 0.75);
  --black80: rgba(0, 0, 0, 0.8);
  --black85: rgba(0, 0, 0, 0.85);
  --black90: rgba(0, 0, 0, 0.9);
  --black95: rgba(0, 0, 0, 0.95);
  --black100: #000;

  /* white */
  --white10: rgba(255, 255, 255, 0.1);
  --white15: rgba(255, 255, 255, 0.15);
  --white20: rgba(255, 255, 255, 0.2);
  --white25: rgba(255, 255, 255, 0.25);
  --white30: rgba(255, 255, 255, 0.3);
  --white35: rgba(255, 255, 255, 0.35);
  --white40: rgba(255, 255, 255, 0.4);
  --white45: rgba(255, 255, 255, 0.45);
  --white50: rgba(255, 255, 255, 0.5);
  --white55: rgba(255, 255, 255, 0.55);
  --white60: rgba(255, 255, 255, 0.6);
  --white65: rgba(255, 255, 255, 0.65);
  --white70: rgba(255, 255, 255, 0.7);
  --white75: rgba(255, 255, 255, 0.75);
  --white80: rgba(255, 255, 255, 0.8);
  --white85: rgba(255, 255, 255, 0.85);
  --white90: rgba(255, 255, 255, 0.9);
  --white95: rgba(255, 255, 255, 0.95);
  --white100: #fff;

  /* font-weight */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
}

/* common */
html {
  font-size: 10px;
}
body {
  position: relative;
  font-family: 'Gotham', 'Pretendard', sans-serif;
  font-weight: var(--font-weight-regular);
  font-size: 1.6rem;
  color: var(--black01);
  letter-spacing: -0.01em; /* iOS 특정 텍스트 확대 문제 해결 */
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  word-break: break-word;
}
img {
  max-width: 100%;
}
address {
  font-style: normal;
}
input[type='text'],
input[type='password'],
button {
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type='checkbox'] {
  appearance: checkbox;
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
}
button {
  border: none;
  cursor: pointer;
}
select::-ms-expand {
  display: none;
}

.hide:not(caption) {
  display: block;
  position: absolute;
  width: 0;
  height: 0;
  text-indent: -9999999px;
  overflow: hidden;
}
caption.hide {
  position: static;
  width: 0;
  height: 0;
  text-indent: -9999px;
}
.pc-hide {
  display: none !important;
}
.mobile-flex {
  display: none !important;
}
.no-pd {
  padding: 0 !important;
}
.no-pd-t {
  padding-top: 0 !important;
}
.no-pd-b {
  padding-bottom: 0 !important;
}
.no-mg {
  margin: 0 !important;
}
.no-border {
  border: 0 !important;
}
.no-before:before {
  display: none !important;
}
.no-after:after {
  display: none !important;
}
.object-fit img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.object-contain img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.img-box {
  text-align: center;
}
.img-ratio {
  position: relative;
  height: 0;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  object-fit: cover;
}
.img-ratio img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.use-br {
  visibility: hidden;
}

/* font */
.font-pretendard {
  font-family: 'Pretendard', sans-serif;
}

.font-didot {
  font-family:"linotype-didot";
  font-weight: var(--font-weight-regular);
}

/* 스크롤바 커스터마이징 */
.custom-scrollbar {
  overflow: auto;
}
.custom-scrollbar::-webkit-scrollbar {
  width: 2px;
  height: 5px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--color03);
  border-radius: 10px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: var(--color03);
}
.custom-scrollbar::-webkit-scrollbar-track {
  background-color: var(--color28);
}

/* 마우스 오버 툴팁 */
.tooltip-label {
  position: absolute;
  z-index: 100;
  margin: 0 0 5px;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 5px;
  font-size: 1.4rem;
  color: #fff;
  transition: all 0.2s;
  box-sizing: border-box;
}
.tooltip-label:after {
  content: '';
  display: block;
  position: absolute;
  top: 100%;
  left: 5px;
  margin: 0;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.8);
}

/* 말줄임 */
.text-ellipsis {
  text-decoration: underline;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-wrap: normal;
  overflow: hidden;
}

* {
  word-break: keep-all;
}

@media screen and (max-width: 1024.98px) {
  /* common */
  .pc-hide {
    display: block !important;
  }
  .pc-hide.inline {
    display: inline !important;
  }
  .pc-hide.inline-block {
    display: inline-block !important;
  }
  .mobile-hide {
    display: none !important;
  }
  .mobile-flex {
    display: flex !important;
  }
}
