/* ヘッダー */
.header {
  height: 82px;
  background: rgba(0, 0, 0, 0.8);
  padding: 0 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  position: fixed;
  top: 0;
  z-index: 10;
  width: 100%;
  box-sizing: border-box;
}

.header > * {
  flex: 1;
}

/* 左 */
.header-left {
  display: flex;
  align-items: baseline;
}

.header-subtext {
  font-size: 11px;
  margin-right: 16px;
  white-space: nowrap;
}

.header-category {
  font-size: 14px;
  white-space: nowrap;
}

/* 中 */

.header-center .img {
  display: block;
  margin: auto;
  width: auto;
  height: 23px;
}

/* 右 */

.header-nav-list {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-list.is-sp {
  display: none;
}

.header-nav-item + .header-nav-item {
  margin-left: 30px;
}
/*
.header-nav-item:not(:first-child) {
  margin-left: 23px;
} */

.header-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-nav-item .icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.header-nav-item .text {
  margin-top: 8px;
}

.header-nav-button {
  padding: 0;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/*
@media (max-width: 1600px) {
  .header-left {
    flex: auto;
  }
} */

@media (max-width: 1600px) {
  .header-left {
    flex: 0;
  }

  .header-center {
    display: none;
  }

  .header-right {
    flex: 0;
  }
}

@media (max-width: 1024px) {
  .header-category,
  .header-subtext {
    display: none;
  }

  .header {
    height: 77px;
    padding: 0 40px;
  }

  .header-nav-item .icon {
    height: 28px;
  }
}

@media (max-width: 640px) {
  .header {
    height: 70px;
    padding: 0 25px;
  }

  .header-left .img {
    height: 24px;
  }

  .header-nav-item .icon {
    height: 28px;
  }

  .header-nav-item + .header-nav-item {
    margin-left: 15px;
  }

  .header-nav-list {
    display: none;
  }

  .header-nav-list.is-sp {
    display: flex;
  }
}
