@charset "utf-8";
@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@400;500;600;700&display=swap");

/* header */
header {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;

  transition: 0.3s;
}
header.active {
  background: #fff;
}
header .header {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  /* padding: 30px 0; */
  height: 120px;
}
header .header .logo {
  background: url(/img/header_logo.png) no-repeat center center;
  background-size: cover;
  width: 56px;
  height: 58px;
}
header .header .logo.active {
  background: url(/img/header_logo_fixed.png) no-repeat center center;
  background-size: cover;
  width: 56px;
  height: 58px;
}
header .header .logo a {
  width: 100%;
  height: 100%;
}
header .header nav ul.gnb {
  display: flex;
}
header .header nav ul.gnb > li {
  height: fit-content;
  width: fit-content;
  line-height: 120px;
  position: relative;
  top: 0;
}
header .header .gnb > li:hover > ul.sub {
  display: block;
  animation: forwards any 0.3s;
}
@keyframes any {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
header .header nav ul.gnb > li > a {
  color: #fff;
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 22px;
  /* padding: 19px 40px; */
  padding: 0 40px;
  width: inherit;
  height: inherit;
}
header .header nav ul.gnb > li > a.active {
  color: #171d21;
}
header .header nav ul.gnb > li > ul.sub {
  position: absolute;
  top: 90px;
  width: 100%;
  text-align: center;
  /* background: #afafaf; */

  display: none;
}
header .header nav ul.gnb > li > ul.sub.active {
  top: 120px;
  background: #fff;
}
header .header nav ul.gnb > li > ul.sub > li {
  line-height: normal;
}
header .header nav ul.gnb > li > ul.sub.active li:hover a {
  color: #004289;
}
header .header nav ul.gnb > li > ul.sub > li:hover a {
  color: #000;
}
header .header nav ul.gnb > li > ul.sub > li > a {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  padding: 20px 0;
  transition: 0.3s;
}
header .header nav ul.gnb > li > ul.sub > li > a.active {
  color: #000;
}
header .header .hamburger {
  width: 24px;
  height: 20px;
  position: relative;
  top: 0;

  display: none;
}
header .header .mobile_bg {
  display: none;
}
header .header .hamburger.active {
  display: block;
}
header .header .hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #000;
  position: absolute;
}
header .header .hamburger span:nth-child(1) {
  top: 0;
}
header .header .hamburger span:nth-child(2) {
  top: 50%;
}
header .header .hamburger span:nth-child(3) {
  top: 100%;
}

/* footer */
footer {
  width: 100%;
  background: #171d21;
}
footer .footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 0 48px 0;
}
footer .footer .top {
  display: flex;
  align-items: center;
  gap: 48px;
}
footer .footer .top .logo {
  width: 70px;
  height: 72px;
}
footer .footer .top .right {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer .footer .top .right div {
  display: flex;
  align-items: center;
  gap: 12px;
}
footer .footer .top .right div p,
footer .footer .top .right div p a {
  font-size: 14px;
  font-weight: 400;
  color: #e6e6e6;
}
footer .footer .top .right div span {
  display: block;
  width: 1px;
  height: 12px;
  background: #e6e6e6;
}
footer .footer .line {
  display: block;
  width: 100%;
  height: 1px;
  background: #e6e6e6;
  margin: 48px 0;
}
footer .footer .bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
footer .footer .bottom .left {
  display: flex;
  gap: 12px;
}
footer .footer .bottom .left p {
  font-size: 14px;
  font-weight: 400;
  color: #e6e6e6;
}
footer .footer .bottom .left span {
  display: block;
  width: 1px;
  height: 12px;
  background: #e6e6e6;
}
footer .footer .bottom .right {
  display: flex;
  gap: 24px;
}
footer .footer .bottom .right a {
  width: 36px;
  height: 36px;
}
