* {
  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:
    "NEXON",
    "MaruBuri",
    -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: #282828;
  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;
}

/* 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;
}
p {
  font-size: 20px;
  line-height: 2;
}
/* popup */
#popup_10 {
  z-index: 101;
}
#popup_9 {
  z-index: 102;
}
#popup_8 {
  z-index: 103;
}
#popup_7 {
  z-index: 104;
}
#popup_6 {
  z-index: 105;
}
#popup_5 {
  z-index: 106;
}
#popup_4 {
  z-index: 107;
}
#popup_3 {
  z-index: 108;
}
#popup_2 {
  z-index: 109;
}
#popup_1 {
  z-index: 110;
}

.popup_wrap {
  width: 100%;
  max-width: 450px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  z-index: 9999;
}
.popup_foot {
  padding: 10px;
  font-size: 1.5rem;
}
.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.introani {
  animation: introanimation 0.8s forwards ease;
}
/* quick */
#quick-placeholder {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(calc(-50% + 80px));
  z-index: 21;
  letter-spacing: -0.1em;
}
#quick-placeholder ul {
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

#quick-placeholder ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
#quick-placeholder ul li:not(:last-of-type) {
  border-bottom: 1px solid #e0e0e0;
}
#quick-placeholder ul li .img_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}

#quick-placeholder ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
  text-align: center;
  word-spacing: -5px;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 5px;
  gap: 0.7rem;
  color: #000;
}
#quick-placeholder img {
  max-width: 30px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#quick-placeholder .quick_m ul li:first-child {
  padding-top: 0px;
}
#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%;
}
/* 초기 상태: .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: #003b75;
  position: absolute;
  top: 0;
  left: 0;
  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: 1.8rem;
  }
  html *.m50 {
    margin-bottom: 3rem;
  }
  /* popup */
  .popup_wrap {
    left: 0 !important;
  }
  /* 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: 4.3vw;
  }
  /* popup */
  .popup_wrap {
    left: 0 !important;
  }
  /* quick */
  #quick-placeholder ul li a {
    padding: 5px;
  }
  #quick-placeholder img {
    max-width: 32px;
  }
  html *.custom30 {
    margin-bottom: 2rem !important;
  }
}

/* 텍스트 애니메이션 - 글자 하나하나 순차 등장 (h2 또는 .text-animate 클래스 사용) */
h2 {
  overflow: visible;
  position: relative;
}
.text-animate {
  overflow: visible;
  position: relative;
  /* 기존 스타일 유지 - color는 상속받음 */
}
h2 span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-50px) rotateX(90deg);
  transition:
    opacity 0.3s ease,
    transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.text-animate span {
  display: inline-block;
  opacity: 0;
  transform: translateY(-50px) rotateX(90deg);
  color: inherit; /* 부모의 색상 상속 */
  transition:
    opacity 0.3s ease,
    transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
h2.animate span,
.text-animate.animate span {
  opacity: 1;
  transform: translateY(0) rotateX(0deg);
}
/* 각 글자마다 딜레이 적용 */
h2 span:nth-child(1),
.text-animate span:nth-child(1) {
  transition-delay: 0.1s;
}
h2 span:nth-child(2),
.text-animate span:nth-child(2) {
  transition-delay: 0.15s;
}
h2 span:nth-child(3),
.text-animate span:nth-child(3) {
  transition-delay: 0.2s;
}
h2 span:nth-child(4),
.text-animate span:nth-child(4) {
  transition-delay: 0.25s;
}
h2 span:nth-child(5),
.text-animate span:nth-child(5) {
  transition-delay: 0.3s;
}
h2 span:nth-child(6),
.text-animate span:nth-child(6) {
  transition-delay: 0.35s;
}
h2 span:nth-child(7),
.text-animate span:nth-child(7) {
  transition-delay: 0.4s;
}
h2 span:nth-child(8),
.text-animate span:nth-child(8) {
  transition-delay: 0.45s;
}
h2 span:nth-child(9),
.text-animate span:nth-child(9) {
  transition-delay: 0.5s;
}
h2 span:nth-child(10),
.text-animate span:nth-child(10) {
  transition-delay: 0.55s;
}
h2 span:nth-child(11),
.text-animate span:nth-child(11) {
  transition-delay: 0.6s;
}
h2 span:nth-child(12),
.text-animate span:nth-child(12) {
  transition-delay: 0.65s;
}
h2 span:nth-child(13),
.text-animate span:nth-child(13) {
  transition-delay: 0.7s;
}
h2 span:nth-child(14),
.text-animate span:nth-child(14) {
  transition-delay: 0.75s;
}
h2 span:nth-child(15),
.text-animate span:nth-child(15) {
  transition-delay: 0.8s;
}
h2 span:nth-child(16),
.text-animate span:nth-child(16) {
  transition-delay: 0.85s;
}
h2 span:nth-child(17),
.text-animate span:nth-child(17) {
  transition-delay: 0.9s;
}
h2 span:nth-child(18),
.text-animate span:nth-child(18) {
  transition-delay: 0.95s;
}
h2 span:nth-child(19),
.text-animate span:nth-child(19) {
  transition-delay: 1s;
}
h2 span:nth-child(20),
.text-animate span:nth-child(20) {
  transition-delay: 1.05s;
}
h2 span:nth-child(21),
.text-animate span:nth-child(21) {
  transition-delay: 1.1s;
}
h2 span:nth-child(22),
.text-animate span:nth-child(22) {
  transition-delay: 1.15s;
}
h2 span:nth-child(23),
.text-animate span:nth-child(23) {
  transition-delay: 1.2s;
}
h2 span:nth-child(24),
.text-animate span:nth-child(24) {
  transition-delay: 1.25s;
}
h2 span:nth-child(25),
.text-animate span:nth-child(25) {
  transition-delay: 1.3s;
}
h2 span:nth-child(26),
.text-animate span:nth-child(26) {
  transition-delay: 1.35s;
}
h2 span:nth-child(27),
.text-animate span:nth-child(27) {
  transition-delay: 1.4s;
}
h2 span:nth-child(28),
.text-animate span:nth-child(28) {
  transition-delay: 1.45s;
}
h2 span:nth-child(29),
.text-animate span:nth-child(29) {
  transition-delay: 1.5s;
}
h2 span:nth-child(30),
.text-animate span:nth-child(30) {
  transition-delay: 1.55s;
}
h2 span:nth-child(n + 31),
.text-animate span:nth-child(n + 31) {
  transition-delay: 1.6s;
}
