* {
  margin: 0;
  padding: 0;
  word-break: keep-all;
}
*,
*:after,
*:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: inherit;
}
ul,
ol {
  list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}
b,
strong {
  font-weight: inherit;
}
i,
em,
address {
  font-style: inherit;
}
img {
  max-width: 100%;
}

/* common */
html {
  font-family:
    "Paperlogy",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    "Helvetica Neue",
    "Segoe UI",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 10px;
  background: #fff;
  color: #2a2e33;
  line-height: 1.5;
  letter-spacing: -0.02em;
  word-spacing: 0.1em;
}
.page {
  overflow: hidden;
  width: 100%;
}
.innerTop {
  padding-top: 140px;
}
.innerBot {
  padding-bottom: 140px;
}
.content_inner {
  margin: 0 auto;
  max-width: 1280px;
  width: 95%;
}
p {
  font-size: 20px;
  line-height: 1.5;
}

/* h3 */

* b {
  font-weight: 700;
}
html *.c {
  text-align: center;
}
html *.m100 {
  margin-bottom: 10rem;
}
html *.m80 {
  margin-bottom: 8rem;
}
html *.m50 {
  margin-bottom: 5rem;
}
html *.custom30 {
  margin-bottom: 3rem !important;
}
html *.m10 {
  margin-bottom: 1rem;
}
/* popup — 중앙 모달 + 슬라이드 */
.popup_overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}
.popup_modal {
  width: 100%;
  max-width: 450px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  overflow: hidden;
}
.popup_slider {
  position: relative;
}
.popup_slides_viewport {
  overflow: hidden;
  width: 100%;
}
.popup_slides_track {
  display: flex;
  transition: transform 0.35s ease;
  will-change: transform;
}
.popup_slide {
  flex: 0 0 100%;
  min-width: 100%;
  box-sizing: border-box;
}
.popup_slide .popup a {
  display: block;
}
.popup_slide .popup img {
  display: block;
  width: 100%;
  height: auto;
}
.popup_nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}
.popup_nav:disabled {
  opacity: 0.35;
  cursor: default;
}
.popup_prev {
  left: 8px;
}
.popup_next {
  right: 8px;
}
.popup_slider--single .popup_nav {
  display: none;
}
.popup_dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px 4px;
}
.popup_dots:empty {
  display: none;
}
.popup_dot {
  width: 8px;
  height: 8px;
  border: none;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  padding: 0;
}
.popup_dot.is-active {
  background: #3758a6;
}
.popup_foot {
  padding: 10px;
  font-size: 1.5rem;
  border-top: 1px solid #eee;
}
.popup_foot > div {
  display: flex;
  justify-content: space-between;
}
.popup_foot label span {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.popup_close {
  cursor: pointer;
}
.popup_wrap--list {
  width: 100%;
  max-width: 450px;
  position: fixed;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.popup_wrap--list .popup a {
  display: block;
}
.popup_wrap--list .popup img {
  display: block;
  width: 100%;
  height: auto;
}
/* quick */
#quick-placeholder {
  position: fixed;
  right: 40px;
  bottom: 40px;
  z-index: 21;
  letter-spacing: -0.1em;
}
#quick-placeholder ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#quick-placeholder ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 50%;
  background: rgba(123, 133, 145, 0.5);
  width: 60px;
  aspect-ratio: 1/1;
  line-height: 0;
  cursor: pointer;
}
#quick-placeholder ul li:hover {
  background: rgba(123, 133, 145, 1);
}
#quick-placeholder ul li.to-top {
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}
#quick-placeholder ul li.to-top:hover {
  background: rgba(123, 133, 145, 1);
}
#quick-placeholder ul li.to-top:hover img {
  filter: invert(100%) sepia(100%) saturate(0) hue-rotate(200deg)
    brightness(200%) contrast(201%);
}
#quick-placeholder ul li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}
#quick-placeholder img {
  max-width: 32px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#quick-placeholder .quick {
  display: block;
}
#quick-placeholder .quick_m {
  display: none;
  border-top: 1px solid #00000047;
}

/* ani */
.img_wr {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
  line-height: 0;
}
/* 초기 상태: .dim 요소 */
.animate_me .dim {
  /* 개별 transform 프로퍼티 (실험적 기능) */
  translate: none;
  rotate: none;
  scale: none;
  transform-origin: 100% 50%;
  transform: scale(0, 1);
}
.right_img.animate_me .dim {
  transform-origin: 0% 50%;
}
/* .img_wr 내부의 .dim 스타일 */
.animate_me .img_wr .dim {
  width: 100%;
  height: 100%;
  background: #154385;
  position: absolute;
  top: 0;
  left: -1px;
  z-index: 2;
  transition: opacity 0.5s;
}
/* active 클래스가 적용되면 leftDim 애니메이션 실행 */
.animate_me.active .dim {
  animation: leftDim 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards 0.3s;
}
.right_img.animate_me.active .dim {
  animation: rightDim 1.2s cubic-bezier(0.215, 0.61, 0.355, 1) forwards 0.3s;
}

.map_wrap .root_daum_roughmap .cont {
  display: none;
}
.map_wrap .root_daum_roughmap .wrap_controllers {
  display: none;
}
.map_wrap .root_daum_roughmap_landing {
  width: 100%;
  height: 100%;
}
.map_wrap .root_daum_roughmap .wrap_map {
  height: 100%;
}
@keyframes leftDim {
  0% {
    transform: scale(0, 1);
  }
  40% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1) translateX(-100%);
  }
}
@keyframes rightDim {
  0% {
    transform: scale(0, 1);
  }
  40% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1) translateX(100%);
  }
}

@media (min-width: 0px) and (max-width: 1520px) {
  .h3_txt {
    font-size: 4.5rem;
  }
}
@media (min-width: 0px) and (max-width: 1280px) {
  #quick-placeholder ul li {
    width: 60px;
    height: 60px;
    padding: 5px;
  }
  .innerTop {
    padding-top: 12rem;
  }
  .innerBot {
    padding-bottom: 12rem;
  }
  html *.m100 {
    margin-bottom: 8rem;
  }
  html *.m80 {
    margin-bottom: 6rem;
  }
  html *.m50 {
    margin-bottom: 4rem;
  }
  html *.m10 {
    margin-bottom: 1rem;
  }
  p {
    font-size: 18px;
  }
}

@media (min-width: 0px) and (max-width: 900px) {
  .innerTop {
    padding-top: 10rem;
  }
  .innerBot {
    padding-bottom: 10rem;
  }
  p {
    font-size: 18px;
  }
  html *.m50 {
    margin-bottom: 3rem;
  }
  /* popup */
  .popup_overlay {
    padding: 12px;
  }
  .popup_wrap--list {
    left: 0 !important;
    max-width: 420px;
  }
  /* common */
  .bg_wrap.bluebg::before {
    display: none;
  }

  .map_wrap .root_daum_roughmap .wrap_map {
    height: 400px;
  }
  /* quick */
}
@media (min-width: 0px) and (max-width: 600px) {
  #quick-placeholder {
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    background: rgba(137, 137, 137, 0.8);
    border-radius: 0px;
    overflow: visible;
    width: 100%;
    transform: translate(0, 0);
  }
  #quick-placeholder ul {
    padding: 0;
    gap: 0;
  }
  #quick-placeholder ul li {
    border-radius: 0;
    /* padding: 10px 5px; */
  }
  /* #quick-placeholder ul li:last-of-type a{background: none;color: #fff;} */
  /* #quick-placeholder ul li:nth-of-type(-n+4){border-bottom: none;} */
  #quick-placeholder ul li:nth-of-type(-n + 2) {
    border-bottom: none;
  }
  #quick-placeholder #m_side {
    position: fixed;
    bottom: 10rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
  }
  #quick-placeholder #m_side li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 5px;
    border: none;
    background: #3758a6;
    color: #fff;
    font-size: 1.1rem;
    gap: 0.2rem;
  }
  #quick-placeholder #m_side .top_btn .img_wrap {
    max-width: 2rem;
  }
  #quick-placeholder ul {
    flex-direction: row;
    align-items: stretch;
    border-radius: 0;
  }
  #quick-placeholder ul li .img_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
  }
  #quick-placeholder ul li {
    width: 100%;
    height: auto;
    border-bottom: none;
  }
  #quick-placeholder ul li:last-of-type {
    border-bottom: none;
  }
  #quick-placeholder ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    /* font-weight: 500; */
  }
  #quick-placeholder ul li:hover a {
    background: inherit;
  }

  #quick-placeholder img {
    max-width: 30px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  /* common */
  .innerTop {
    padding-top: 6rem;
  }
  .innerBot {
    padding-bottom: 6rem;
  }
  html *.m100 {
    margin-bottom: 5rem;
  }
  html *.m80 {
    margin-bottom: 4rem;
  }
  html *.m50 {
    margin-bottom: 2.5rem;
  }
  html *.m10 {
    margin-bottom: 1rem;
  }
  p {
    font-size: min(16px, 4vw);
  }
  /* popup */
  .popup_overlay {
    padding: 10px;
  }
  .popup_foot {
    font-size: 1.35rem;
  }
  .popup_wrap--list {
    left: 0 !important;
    max-width: 100%;
  }
  /* quick */
  #quick-placeholder ul li a {
    padding: 5px;
  }
  #quick-placeholder img {
    max-width: 32px;
  }
  html *.custom30 {
    margin-bottom: 2rem !important;
  }
}

/* 텍스트 애니메이션 */
.text-animate {
  overflow: visible;
  position: relative;
}

@keyframes charReveal {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(0.6em);
  }
  50% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 16px rgba(0, 161, 233, 0.6);
    transform: translateY(-0.05em);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    text-shadow: none;
  }
}

.text-animate span {
  display: inline-block;
  opacity: 0;
  color: inherit;
  will-change: transform, opacity, filter;
}

.text-animate.animate span {
  animation: charReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.05s);
}

@keyframes charRevealMint {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(0.6em);
  }
  50% {
    opacity: 1;
    filter: blur(0);
    text-shadow: 0 0 16px rgba(198, 233, 224, 0.6);
    transform: translateY(-0.05em);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
    text-shadow: none;
  }
}

.mint.text-animate.animate span {
  animation: charRevealMint 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.05s);
}

/* 서브 배너 등: 블러 대신 가로로 스르륵 드러나는 리빌 */
@keyframes charBannerReveal {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateX(-0.08em);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateX(0);
  }
}

.text-animate.text-animate--banner-reveal span {
  will-change: clip-path, transform, opacity;
}

.text-animate.text-animate--banner-reveal.animate span {
  animation: charBannerReveal 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
}
