.header {
  display: flex;
  position: sticky;
  top: 0;
  /* 스크롤업되는 컨텐츠 위로 올라오도록 */
  z-index: 1000;

  top: 0;
  height: var(--height-toolbar);
  justify-content: space-between;
  align-items: center;
  background-color: white;
  color: #2f2f2f;
}

.header__container {
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__homelink {
  display: inline-block;
  height: var(--height-toolbar);
  line-height: var(--height-toolbar);
  cursor: pointer;
}
.header__logo {
  height: 48px;
  vertical-align: middle;
  margin-bottom: 4px;
}

.header__nav-item a {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  display: inline-block;
  height: var(--height-toolbar);
  line-height: var(--height-toolbar);
}

@media (max-width: 1350px) {
  .header__nav {
    display: none;
  }

  .header__logo {
    height: 32px;
    vertical-align: middle;
    margin-bottom: 4px;
  }
  /* 햄버거 버튼 */
  .header__menu-btn {
    all: unset;
    display: block;
    width: var(--height-toolbar);
    height: var(--height-toolbar);
    background-image: url(../images/m6-menu-btn.svg);
    background-size: 32px;
    background-repeat: no-repeat;
    background-position: center;
  }
  .header__menu-btn:checked {
    background-image: url(../images/m6-menu-close.svg);
    background-size: 32px;
    background-color: white;
  }
  .header__menu-btn:checked + .header__nav {
    display: inherit;
    position: absolute;
    top: var(--height-toolbar);
    right: 0;
    background-color: white;
  }

  .header__nav-item {
    width: 100vw;
  }
  .header__nav-item a {
    margin-top: 20px;
    padding-left: 40px;
    width: 100vw;
  }
  .header__nav-item:last-child {
    color: #b6262f;
    margin-bottom: 20px;
  }
}

@media (min-width: 1351px) {
  .header {
    padding: 22px 0px;
  }
  .header__nav-item {
    display: inline-block;
    position: relative;
  }
  .header__nav-item:last-child {
    margin-right: 1.6em;
    color: #b6262f;
  }
  .header__nav-item a {
    padding: 0px 0px 0px 100px;
  }
  .header__menu-btn {
    display: none;
  }
}
