/* 発売月スライダー。高さは 44px に固定し、後から差し込まない。 */
.gms {
  height: 44px;
  box-sizing: border-box;
  background: var(--color_bg, #fdfdfd);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.gms .gms-inner {
  display: flex;
  align-items: stretch;
  height: 44px;
  box-sizing: border-box;
  padding-right: 0;
}

.gms-caption {
  flex: 0 0 auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  height: 28px;
  margin: 0 8px 6px 0;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: #6b6b6b;
  white-space: nowrap;
}

.gms-scroller {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  height: 44px;
}

.gms-scroller::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 28px;
  pointer-events: none;
  background: linear-gradient(to right, transparent, var(--color_bg, #fdfdfd));
}

.gms.is-fit .gms-scroller::after,
.gms.is-scrolled-end .gms-scroller::after {
  opacity: 0;
}

.gms-track {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 44px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 28px 6px 0;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.gms-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.gms-year {
  flex: 0 0 auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 2px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.04em;
  color: #9a9a9a;
  white-space: nowrap;
}

.gms a.gms-all {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid #d5d5d5;
  border-radius: 999px;
  background: transparent;
  color: #6b6b6b;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.gms a.gms-all:hover {
  border-color: #9a9a9a;
  color: #333;
}

.gms a.gms-all:focus-visible {
  outline: 2px solid var(--color_main, #04384c);
  outline-offset: 2px;
}

.gms a.gms-btn {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  min-width: 52px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  background: #fff;
  color: var(--color_text, #333);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.gms a.gms-btn:hover {
  border-color: var(--color_main, #04384c);
  color: var(--color_main, #04384c);
}

.gms a.gms-btn:focus-visible {
  outline: 2px solid var(--color_main, #04384c);
  outline-offset: 2px;
}

.gms a.gms-btn.is-mark {
  border-color: var(--color_main, #04384c);
  color: var(--color_main, #04384c);
  font-weight: 700;
}

.gms a.gms-btn.is-now,
.gms a.gms-btn.is-now:hover {
  background: var(--color_main, #04384c);
  border-color: var(--color_main, #04384c);
  color: #fff;
  font-weight: 700;
}

.gms-badge {
  position: absolute;
  top: -8px;
  right: -2px;
  padding: 1px 4px;
  border-radius: 999px;
  background: var(--color_main, #04384c);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0;
  pointer-events: none;
  white-space: nowrap;
}

.gms a.gms-btn.is-now .gms-badge {
  background: #fff;
  color: var(--color_main, #04384c);
}
