header {
  width: 100%;
  max-width: 1400px;
  padding: 34px 41px;
  font-family: "Noto Sans JP";
}

.header-inner {
  width: 100%;
  height: 91px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 2.5px;
  padding-inline: 32px 12px;
  border-radius: 200px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.24);
}

.header-logo img {
  width: 222px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav ul {
  display: flex;
}

.header-nav li {
  text-align: center;
  padding-inline: 24px;
  font-size: 16px;
  color: #333333;
  font-weight: 500;
}

.header-line img {
  width: 294px;
}

.hamburger-btn {
  display: none;
  background-color: #05355f;
  border: none;
  border-radius: 50%;
  height: 48px;
  position: relative;
  width: 48px;
}

.btn-line {
  background-color: #ffffff;
  border-radius: 3px;
  display: block;
  height: 3px;
  margin: 4px auto;
  pointer-events: none;
  width: 24px;
}

nav.activeNav {
  display: flex;
  position: absolute;
  top: 200px;
  left: 0;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 32px;
}

body.hamburger-open {
  overflow: hidden;
}

body.hamburger-open::before {
  content: "";
  position: absolute;
  background-color: #d2d8e5;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 2;
}

@media (max-width: 1300px) {
  header {
    padding: 20px 30px;
  }

  .header-nav {
    gap: 20px;
  }
  .header-nav li {
    padding-inline: 10px;
  }
}

@media (max-width: 1100px) {
  header {
    padding: 16px;
  }

  .header-logo img {
    width: 154px;
  }

  .header-inner {
    height: 70px;
  }

  .header-nav {
    gap: 10px;
  }

  .header-line img {
    width: 200px;
  }
}

@media (max-width: 768px) {
  header {
    position: relative;
    z-index: 10;
  }

  .header-logo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1000;
    height: 100%;
  }

  .header-inner {
    background-color: #ffffff;
    flex-direction: column;
  }

  .hamburger-btn {
    display: block;
  }

  .header-nav {
    display: none;
  }

  .header-nav ul {
    width: 100%;
    flex-direction: column;
    padding-inline: 12px;
  }

  .header-nav li {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 16px;
    border-top: 1px dashed #ffffff;

    img {
      width: 10px;
      height: 10px;
    }

    a {
      color: #05355f;
      font-size: 20px;
    }
  }

  .header-nav ul li:first-child {
    border-top: none;
  }

  .header-line img {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  body.hamburger-open .btn-line {
    position: relative;
  }
  body.hamburger-open .btn-line:first-child {
    transform: rotate(45deg);
    top: 3px;
  }
  body.hamburger-open .btn-line:nth-child(2) {
    transform: rotate(135deg);
    top: -4px;
  }
  body.hamburger-open .btn-line:last-child {
    display: none;
  }
}
