body {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #898989;
  background: #ffffff;
  margin: 0;
  overflow-x: hidden;
  -webkit-user-select:none;
  -moz-user-select:none;
  -ms-user-select:none;
  user-select:none;
}

a {
  color: #333;
  text-decoration: none;
}

.mo {
  display: none;
}

header .header-bar.mo {
  display: none;
}

.btn {
  width: 130px;
  padding: 10px;
  border: 2px solid #333;
  border-radius: 4px;
  color: #333;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  display: block;
}

.btn:hover {
  background-color: #333;
  color: #fff;
}

/* 글자 등장 애니메이션 CSS */

/* .back-to-position{
  opacity: 0;
  transition: 1s;
}

.back-to-position.to-down{ 
  transform: translateY(30px);
}

.show .back-to-position {
  opacity: 1;
  transform: translateY(0);
}

.show .back-to-position.delay-0 {
  transition-delay: 0s;
}

.show .back-to-position.delay-1 {
  transition-delay: .1s;
}

.show .back-to-position.delay-2 {
  transition-delay: .2s;
}

.show .back-to-position.delay-3 {
  transition-delay: .3s;
} */

/* header */

header {
  height: 68px;
  opacity: 1;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 6px rgba(88, 88, 88, 0.1);
  transition: box-shadow 0.35s ease-in, background-color 0.15s ease-in;
  position: fixed;
  top: 0;
  z-index: 9;
  font-family: 'Noto Sans KR', sans-serif;

}

header .inner {
  width: 1170px;
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;

}

header .logo {
  width: 180px;
}

header .header-bar {
  display: flex;
  margin-bottom: 0;
  gap: 50px;
}

header .header-bar a {
  position: relative;
}

header .header-bar a::after {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  display: block;
  content: '';
  background-color: #333;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

header .header-bar a:hover{
  color:royalblue;
}

header .header-bar a:hover:after {
  transform: scaleX(1);
} 

.ham_menu {
  display: none;
  width: 35px;
  height: 25px;
  align-items: center;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.ham_menu p {
  width: 100%;
  height: 3px;
  background-color: #333;
  margin: 0;
  border-radius: 2px;
  transition: all .5s;
}

/* 햄버거 토글 */
.ham_menu.active {
  position: relative;
}

.ham_menu.active p {
  position: absolute;
  top: 50%;
}

.ham_menu.active p:nth-child(1) {
  left: 0;
  transform: rotate(45deg);
}
.ham_menu.active p:nth-child(2) {
  opacity: 0;
}
.ham_menu.active p:nth-child(3) {
  right: 0;
  transform: rotate(-45deg);
}

@media screen and (max-width: 1170px) {
  header {
    gap: 30px;
  }
  header .inner {
    width: 90%;
  }
  header .header-bar {
    gap: 30px;
  }
}

@media screen and (max-width: 900px) {
  header{
    padding: 0 20px;
    justify-content: space-between;
  }
  header .header-bar.mo {
    position: fixed;
    top: 60px;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: block;
    padding-top: 30px;
    transition: all .5s;
    z-index: 99;
  }

  header .header-bar.mo li {
    margin-bottom: 15px;
  }

  header .header-bar.mo .site_map {
    margin-top: 60px;
  }

  .site_map div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  header .header-bar .site_map a::after {
    display: none;
  }

  .ham_menu {
    display: flex;
  }

}

/* footer */

footer {
  padding: 100px 0;
  width: 100%;
  position: relative;
  font-family: 'pretendard', sans-serif;
  font-weight: 400;
}

footer p {
  margin-bottom: 0;
}

.footer {
  width: 1170px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 5%;
}

.footer_left {
  position: relative;
}

.footer_logo {
  position: absolute;
  top: 0;
  left: 0;
}

.footerLogo {
  width: 130px;
}

.footer_info {
  margin-top: 90px;
}

.footer_info p:first-child {
  font-weight: bold;
  margin-bottom: 5px;
}

.footer_info p:nth-child(2) {
  display: flex;
  justify-content: space-between;
}

.footer_info p:last-child {
  margin-top: 30px;
}

.footer_right {
  width: 350px;
  padding-top: 90px;
}

.footer_right .site_map {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer_right .sns_map {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.footer_right .sns_map img {
  width: 60px;
}

.footer_right p:first-child {
  font-weight: bold;
  margin-bottom: 5px;
}

@media screen and (max-width: 1400px) {
  .footer {
    width: 90%;
  }
}

@media screen and (max-width: 900px) {
  .footer {
    width: 95%;
    text-align: center;
  }

  .footer_logo {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer_left {
    font-size: 12px;
  }

  .footer_info p:nth-child(2) {
    justify-content: center;
    gap: 10px;
  }

  .footer_right {
    display: none;
  }

  header .pc {
    display: none;
  }

}

@media screen and (max-width: 500px) {
  .pc {
    display: none;
  }

  .mo {
    display: block;
  }

  header .mo {
    display: block;
  }

  .footer_info p:first-child {
    font-size: 14px;
  }

  .footer_left {
    font-size: 12px;
  }
}