/************** 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{font-weight: 700;}
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: "S-Core Dream";
  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;
}

#go_top , #go_top_m {
  cursor: pointer;
}

/* 기본 상태: 아래에 있고 투명 */
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

/* 화면에 보이면: 자연스럽게 나타남 */
.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}
/*************** 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: 1rem 1.5rem 1rem;
}
#quick-placeholder ul li:last-of-type a {
  padding: 1rem 1.5rem 1rem;
  background: #17ABB1;
  gap: 0.5rem;
  color: #000E1A;
  font-weight: 700;
  font-size: 2.2rem;
  flex-direction: row;
}
#quick-placeholder .li_first a {
  color: #fff;
  font-size: 2.3rem;
  line-height: 2.9rem;
  text-align: left;
  letter-spacing: -0.6px;
  align-items: flex-start;
  gap: 0;
  background: #17ABB1;
}
#quick-placeholder .li_first a i{
  font-weight: 900;
}
#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: #FAFAFA;
  color: #7E7E7E;
}
footer .container{
  padding: 5rem 0;
  font-size: 14px;
}

.f_logo{
  max-width: 320px;
}
.f_wrap{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.f_right{
  text-align: right;
  line-height: 2;
}
footer hr{margin: 2rem 0;}
ul.copy_menu{display: flex;gap: 1rem;cursor: pointer;font-size: 16px;font-weight: 500;}

@media (min-width: 0px) and (max-width: 1280px) {
  .page .container.innertop {
    padding-top: 12rem;
  }
  .page .container.innerbottom {
    padding-bottom: 12rem;
  }
  /*************** 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) {
  .page .container.innertop {
    padding-top: 10rem;
  }
  .page .container.innerbottom {
    padding-bottom: 10rem;
  }
  /*************** 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 ;
  }
  
}
@media (min-width: 0px) and (max-width: 500px) {
  .page .container.innertop {
    padding-top: 8rem;
  }
  .page .container.innerbottom {
    padding-bottom: 8rem;
  }
  .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 ******************/
  /* footer */
  .f_right ul{
    font-size:16px ;
  }
  .f_wrap{
    flex-direction: column-reverse;
    gap: 1rem;
  }
  /*************** 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); /* 🎯 점점 커지면서 등장 */
  }
}
@media (min-width: 0px) and (max-width: 365px) {
  .page .container.innertop {
    padding-top: 6rem;
  }
  .page .container.innerbottom {
    padding-bottom: 6rem;
  }
}
