header {
  width: 100%;
}
header .header-container {
  width: 100%;
  height: 80px;
  padding-inline: 40px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .header-container .logo img {
  width: 100%;
  max-width: 288px;
}
header .header-container .nav-pc {
  display: flex;
  align-items: center;
  gap: 30px;
}
header .header-container .nav-pc a {
  font-size: 18px;
  font-weight: 500;
}
header .header-container .nav-pc a img {
  width: 100%;
  max-width: 176px;
}
header .hamBtn {
  display: none;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  border: none;
  background-color: #ffffff;
  cursor: pointer;
}
header .hamBtn .ham-line {
  width: 40px;
  height: 3px;
  background-color: #0d3f7c;
}
header .ham-list {
  display: none;
}
header .nav-overlay {
  display: none;
}
/* hamburger active state */
header .hamBtn.is-open .ham-line:nth-child(1) {
  transform: translateY(15px) rotate(45deg);
}
header .hamBtn.is-open .ham-line:nth-child(2) {
  opacity: 0;
}
header .hamBtn.is-open .ham-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
header .hamBtn .ham-line {
  transition: transform 0.25s ease, opacity 0.25s ease;
}
@media (max-width: 1200px) {
  header .header-container {
    padding-inline: 20px;
  }
  header .header-container .logo img {
    max-width: 220px;
  }
  header .header-container .nav-pc {
    gap: 20px;
  }
  header .header-container .nav-pc a img {
    max-width: 160px;
  }
}
@media (max-width: 950px) {
  header .header-container .nav-pc {
    display: none;
  }
  header .header-container .hamBtn {
    display: flex;
    z-index: 1001;
  }
  header .header-container {
    position: relative;
    z-index: 1001;
  }
  header .ham-list {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 120px 20px 80px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }
  header .ham-list.is-open {
    transform: translateX(0);
  }
  header .ham-list > a {
    display: block;
    text-align: center;
    width: 100%;
    max-width: 390px;
    font-size: 24px;
    font-weight: 500;
    color: #333333;
    padding: 14px 0;
    position: relative;
    border-bottom: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
      linear-gradient(to right, #1e64ae, #d2be8f) border-box;
  }
  header .ham-list > a:nth-of-type(1) {
    border-block: 2px solid transparent;
  }

  header .ham-list .btn-group {
    display: flex;
    flex-direction: column;
  }
  header .nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 900;
  }
  header .nav-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }
}
