.global-nav {
  width: 100%;
  border-top: 2px solid #222;
  border-bottom: 1px solid #8f9285;
  background: #dcdfd6;
}

.global-nav__list {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav__item {
  flex: 1 1 0;
  min-width: 0;
  box-sizing: border-box;
  border-right: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.12);
  background: linear-gradient(
    to bottom,
    #f8f9f7 0%,
    #e5e7e1 52%,
    #c6c8ba 54%,
    #b2b5a6 100%
  );
}

.global-nav__item:last-child {
  border-right: none;
  box-shadow: none;
}

#gNavi .global-nav__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  padding: 6px 4px;
  text-decoration: none;
  box-sizing: border-box;
  transition: filter 0.15s ease;
}

.global-nav__link:hover {
  filter: brightness(1.04);
}

/* PC表示：テキストを表示、SVGを非表示 */
.global-nav__pc {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.global-nav__sp {
  display: none;
}

.global-nav__title {
  color: #1c1c1c;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
}

.global-nav__sub {
  margin-top: 2px;
  color: #f7f8f5;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

/* =========================================
   スマホ表示：PCテキストを非表示、SVGをそのまま表示
   ========================================= */
@media (max-width: 768px) {
  #gNavi .global-nav .global-nav__list .global-nav__item a.global-nav__link {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    background-image: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  #gNavi .global-nav .global-nav__list .global-nav__item .global-nav__link img.global-nav__sp {
    display: block;
    width: 85%;
    max-width: none;
    height: auto;
    margin: 0 auto;
  }
  .global-nav {
    border-top: none;
  }

  .global-nav__item {
    /* SVGの文字位置に合わせて背景グラデーションの境目を少し下げる */
    background: linear-gradient(
      to bottom,
      #f8f9f7 0%,
      #e5e7e1 62%,
      #c6c8ba 64%,
      #b2b5a6 100%
    );
  }

  .global-nav__link {
    min-height: auto;
    padding: 4px 2px;
  }

  #gNavi li a span.global-nav__pc {
    display: none;
  }

}
