// ===========================================
// header 文字中心テイスト
// ===========================================

#header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
  padding-inline: 20px;
  background: transparent;
  color: map-get($colors, text-invert);
  transition: background 0.3s ease, color 0.3s ease, height 0.3s ease;
  @include mq-up('s') {
    height: 96px;
    padding-inline: 40px;
  }
  // スクロール後 / 白基調ページ用
  &.is-sticky,
  &.is-light {
    background: map-get($colors, white);
    color: map-get($colors, text);
    border-bottom: 1px solid map-get($colors, gray-border);
  }
}

/* logo
--------------------------------- */
.header-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: $font-family-base;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.08em;
  line-height: 1;
  .logo {
    display: inline-flex;
    align-items: center;
    img {
      width: 32px;
      height: auto;
      display: block;
      @include mq-up('s') {
        width: 40px;
      }
    }
  }
  .name {
    display: none;
    @include mq-up('s') {
      display: block;
    }
  }
}

// ===========================================
// global navigation
// ===========================================

#gnav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gnav-list-01 {
  display: none;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: $font-family-base;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  @include mq-up('m') {
    display: flex;
  }
  > li {
    position: relative;
    a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: inherit;
      text-decoration: none;
      padding-block: 8px;
      .en {
        font-family: $font-family-sofia;
        font-size: 11px;
        letter-spacing: 0.24em;
        text-transform: uppercase;
        opacity: 0.6;
      }
      &:hover {
        opacity: 0.7;
      }
    }
  }
  .recruit {
    a {
      padding: 12px 22px;
      border: 1px solid currentColor;
    }
  }
}

/* hamburger
--------------------------------- */
.gnav-btn-01 {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid currentColor;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  cursor: pointer;
  color: inherit;
  @include mq-up('m') {
    display: none;
  }
  span {
    display: block;
    width: 18px;
    height: 1px;
    background: currentColor;
  }
}

#lnav-01 {
}
