/*************** 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%;
}
.aos-animate {
  z-index: 10;
}
/*************** common ******************/
html {
  /* scroll-behavior: smooth; */
  font-family: "Pretendard Variable", Pretendard, "Gmarket Sans";
  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;
}

*.m100 {
  margin-bottom: 10rem;
}
*.m90 {
  margin-bottom: 9rem;
}
*.m80 {
  margin-bottom: 8rem;
}
*.m70 {
  margin-bottom: 7rem;
}
*.m60 {
  margin-bottom: 6rem;
}
*.m50 {
  margin-bottom: 5rem;
}
*.m40 {
  margin-bottom: 4rem;
}
*.m30 {
  margin-bottom: 3rem;
}
*.m20 {
  margin-bottom: 2rem;
}
*.m10 {
  margin-bottom: 1rem;
}


/*************** menu gnb ******************/
.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;
}
/*************** pop up ******************/
.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: #003556;
  gap: 0.5rem;
  color: #fff;
}
#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 ******************/
footer {
  background: #ffffff;
  color: #777777;
}
footer{
    background: #003556;
    color: #fff;
    font-family: "Pretendard Variable";
    font-weight: 400;
}
footer .container{
    padding: 5rem 0;
    display: flex;
    justify-content: space-between;
}
.f_logo{
    max-width: 30rem;
}
.f_left p{
    color: #fff;
    font-size: 1.8rem;
    line-height:2;
    font-weight: 400;
}
.f_left p:last-child{margin-top: 3rem;}

.f_right{
    text-align: end;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.f_right ul{
    font-size: 2rem;
    opacity: 0.6;
}
.f_right ul li:not(:last-child){
    margin-bottom: 10px;
}

@media (min-width: 0px) and (max-width: 1200px) {
  /*************** footer ******************/
    footer .container{
        flex-direction: column;
        gap: 3rem;
    }
    .f_right{flex-direction: row-reverse;align-items: end;}
    .f_right ul{display: flex; gap: 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 .container{
    padding: 5rem 0 12rem;
  }
  .f_left p{font-size: 1.6rem;}
  .f_logo{display: none;}
  .f_right {
    text-align: left;
    flex-direction: row;
    font-size:18px ;
  }

  .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;
  }
  /*************** 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 ******************/
  .f_right ul{
    font-size:16px ;
  }
  /*************** 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); /* 🎯 점점 커지면서 등장 */
  }
}
