/* reset */
* {
  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%;
}
.wrap {
  width: 100%;
}
main {
  width: 100%;
}
/* common */
html {
  /* scroll-behavior: smooth; */
  font-family: "Pretendard Variable", Pretendard, "Gmarket Sans",
    "Hakgyoansim Butpen";
  font-weight: 400;
  font-size: 10px;
  background: #fff;
  color: #000;
  line-height: 1.5;
}
.container {
  max-width: 1200px;
  width: 95%;
  margin: 0 auto;
}
.container1520 {
  max-width: 1520px;
  width: 95%;
  margin: 0 auto;
}
.page {
  overflow: hidden;
}
.page .container.innertop {
  padding-top: 14rem;
}
.page .container.innerbottom {
  padding-bottom: 14rem;
}
p {
  font-size: 2rem;
}
* b {
  font-weight: 700;
}
*.m50 {
  margin-bottom: 5rem;
}
*.m40 {
  margin-bottom: 4rem;
}
*.m30 {
  margin-bottom: 3rem;
}
*.m20 {
  margin-bottom: 2rem;
}
*.m10 {
  margin-bottom: 1rem;
}

/* header */
/* header.on */
header.on {
  background: #fff;
}
header.on .header_in_wrap {
  height: 80px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 19px 35px rgba(0, 0, 0, 0.11);
}
.header_in_wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: all 0.5s ease-in-out;
}
.header_in_wrap .logo {
  max-width: 240px;
}
/* .header_in_wrap nav {
  height: 100%;
  display: flex;
  align-items: center;
} */
.header_in_wrap .gnb {
  display: flex;
  /* color: #0b318f; */
  height: 100%;
  font-size: 2rem;
  font-weight: 700;
  height: 100%;
}
.header_in_wrap .gnb li a {
  transition: all 0.5s ease;
  overflow: hidden;
  position: relative;
}
/* .header_in_wrap .gnb li:hover a {
  color: #3758a6;
}
.header_in_wrap .gnb li.active a {
  color: #3758a6;
}
.header_in_wrap .gnb li.active a::before {
  width: 120%;
}
.header_in_wrap .gnb li a::before {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  margin-left: -10%;
  width: 0;
  height: 4px;
  background: #3758a6;
  transition-duration: 0.5s;
} */

.header_in_wrap .gnb a {
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 8rem;
}
.header_in_wrap .header_link {
  display: flex;
  align-items: center;
  font-family: "NEXON Lv2 Gothic";
  font-weight: bold;
  color: #000;
}
.link_img {
  margin-right: 1rem;
}
.header_link p {
  font-size: 1.5rem;
}
.header_link span {
  font-size: 2.6rem;
}
/* ëª¨ë°”ì¼ë©”ë‰´ */
.menu-wrap {
  display: none;
  position: relative;
  width: 30px;
  height: 18px;
  cursor: pointer;
}
.menu-wrap .line {
  position: absolute;
  width: 100%;
  height: 2.5px;
  border-radius: 2px;
  background: #222;
  left: 0;
}
.menu-wrap .line:first-child {
  top: 0;
  transform-origin: 25% 50%;
  transition: 0.3s;
}
.menu-wrap .line:nth-child(2) {
  top: calc(50% - 1px);
}
.menu-wrap .line:last-child {
  bottom: 0;
  transform-origin: 25% 50%;
  transition: 0.3s;
}
.menu-wrap.open .line:first-child {
  transform: rotate(45deg) translateX(10%);
}
.menu-wrap.open .line:nth-child(2) {
  opacity: 0;
}
.menu-wrap.open .line:last-child {
  transform: rotate(-45deg) translateX(10%);
}
#go_top , #go_top_m {
  cursor: pointer;
}
/* popup */
.popups {
  position: absolute;
  z-index: 9999999;
}
#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%;
  transform: translateY(-50%);
  right: 2vw;
  z-index: 100000;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 25%);
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
}
#quick-placeholder ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap */
}
#quick-placeholder ul li .img_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
}
#quick-placeholder ul li:nth-of-type(-n + 4) {
  width: 100%;
  border-bottom: 1px solid #d5d5d5bd;
}
#quick-placeholder ul li:first-of-type a {
  padding: 2rem 1.5rem 1.5rem;
}
#quick-placeholder ul li:last-of-type a {
  padding: 2rem 1.5rem 2rem;
  background: #e3f1c3;
  gap: 0.5rem;
  color: #000;
}
#quick-placeholder ul li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.5s;
  padding: 1.5rem 1.5rem;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  gap: 1rem;
  color: #000;
}
#quick-placeholder img {
  max-width: 30px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#quick-placeholder .quick ul {
  /* padding: 1rem 0; */
  display: block;
}
#quick-placeholder .quick {
  display: block;
}
#quick-placeholder .quick_m {
  display: none;
  border-top: 1px solid #00000047;
}
footer {
  background: #ffffff;
  color: #777777;
}
.footer_top {
  padding: 2rem 0;
  font-size: 2rem;
  font-weight: 400;
  background: #007133;
}
.f_logo {
  max-width: 54rem;
}
/* .footer_top ul {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  text-align: center;
}
.footer_top ul li {
  background: #fff;
  padding: 0.5rem;
  color: #777777;
  width: 100%;
} */
.footer_inner.bot {
  text-align: center;
  padding: 0rem 0 5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  max-width: 90rem;
  width: 90%;
}
.f_bot {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0 0rem;
}
.f_bot > li {
  margin: 0 1.5rem;
  margin-bottom: 1rem;
}
.f_bot > li span {
  font-weight: 700;
  margin-right: 0.5rem;
}
.f_bot + p {
  font-size: 2rem;
  /* font-weight: 500; */
  text-align: center;
}
.header_container {
  width: 100%;
  height: 90px;
}
.f_top {
  display: flex;
  font-weight: 400;
  flex-wrap: wrap;
  justify-content: center;
}
.f_top > li {
  margin: 0 1.5rem;
  margin-bottom: 1rem;
}
.f_bot,
.f_top {
  font-size: 2rem;
}

@media (min-width: 0px) and (max-width: 1200px) {
  /* header */
  header .header_in_wrap {
    height: 65px;
    justify-content: space-between;
  }
  header.on .header_in_wrap {
    height: 65px;
  }
  .menu-wrap {
    display: block;
  }

  .link_img {
    width: 40px;
  }
  /* mobile menu */
  .header_in_wrap nav.menu_open {
    /* display: block; */
    height: auto;
  }
  .header_in_wrap .logo {
    max-width: 220px;
  }
  .header_in_wrap nav {
    display: block;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: #fff;
    height: 0px;
    overflow: hidden;
    transition: all 0.5s ease;
  }
  .header_in_wrap .gnb {
    font-size: 1.6rem;
  }
  header.on .header_in_wrap nav {
    top: 65px;
  }
  header.on .header_in_wrap nav .gnb {
    font-size: 1.6rem;
    color: #000;
  }
  header .header_in_wrap nav .gnb {
    flex-direction: column;
  }
  header .header_in_wrap nav .gnb a {
    line-height: 4rem;
    border-bottom: 1px solid #79797982;
  }
  header .header_in_wrap nav .gnb a::before {
    display: none;
  }
  header .header_in_wrap nav .gnb .active a {
    background: #ececec;
  }
  .f_bot,
  .f_top {
    font-size: 2rem;
  }
}
@media (min-width: 0px) and (max-width: 900px) {
  /* popup */
  .popup_wrap {
    top: 65px !important;
    left: 0 !important;
  }
  /* quick */
  #quick-placeholder .quick {
    display: none;
  }
  #quick-placeholder .quick_m {
    display: block;
  }
  #quick-placeholder {
    position: fixed;
    top: auto;
    bottom: 0;
    right: 0;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.3);
    background: #ffffff;
    border-radius: 0px;
    overflow: visible;
    width: 100%;
    transform: translate(0, 0);
  }
  #quick-placeholder .quick_m ul li a {
    padding: 1.5rem 0;
  }
  #quick-placeholder ul li:last-of-type a {
    background: none;
    color: #000;
  }
  #quick-placeholder ul li:nth-of-type(-n + 4) {
    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 {
    /* display: flex; */
    flex-direction: row;
    /* align-items: center; */
    /* gap */
  }
  #quick-placeholder ul li .img_wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
  }
  #quick-placeholder ul li {
    width: 100%;
    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;
  }
  /* footer */
  .footer_top {
    padding: 3rem 0;
    font-size: 1.5rem;
  }
  .footer_inner.bot {
    padding: 0rem 0 15rem;
  }
  .f_top > li::after {
    margin: 0 2rem;
  }
  .f_logo {
    max-width: 35rem;
  }
  .f_top {
    margin: 0rem;
  }
  .f_bot + p {
    font-size: 1.6rem;
  }
  .f_bot,
  .f_top {
    font-size: 2rem;
  }

  .page .container.innertop {
    padding-top: 8rem;
  }
  .page .container.innerbottom {
    padding-bottom: 8rem;
  }
  *.m50 {
    margin-bottom: 30px;
  }
}
@media (min-width: 0px) and (max-width: 500px) {
  .h_logo {
    width: 150px;
  }
  .mobile {
    display: block;
  }

  /* common */ /* custom하림 */
  .page .container.innertop {
    padding-top: 5rem;
  }
  .page .container.innerbottom {
    padding-bottom: 5rem;
  }

  /* popup */
  .popup_wrap {
    left: 0 !important;
  }
  /* quick */
  #quick-placeholder ul li a {
    padding: 1.5rem;
  }
  #quick-placeholder img {
    max-width: 30px;
  }
  #quick-placeholder ul li:last-of-type {
    display: none;
  }
  /* footer */
  .footer_top ul {
    gap: 0.5rem;
    flex-direction: column;
  }
  .f_bot .f_top {
    font-size: 1.2rem;
  }
  .f_bot + p {
    font-size: 1.1rem;
  }
  *.m50 {
    margin-bottom: 20px;
  }
  .f_bot,
  .f_top {
    font-size: 1.6rem;
  }
  @media (min-width: 0px) and (max-width: 416px) {
    .f_top {
      flex-direction: column;
    }
    .f_bot,
    .f_top {
      font-size: 1.2rem;
    }
  }
  /*aos*/
  [data-aos="opacity"] {
    opacity: 0;
    transform: translateY(5px) scale(0.9); /* 🎯 더 멀리 이동 & 작게 시작 */
    transition: opacity 1.5s ease-out, transform 1.5s ease-out; /* 더 부드럽고 길게 */
  }

  [data-aos="opacity"].aos-animate {
    opacity: 1;
    transform: translateY(0) scale(1); /* 🎯 점점 커지면서 등장 */
  }
}
