.ranking_cat {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", "Arial", 'Noto Sans JP', sans-serif;
  color: #222;
}

.rank5__title {
  font-size: 1.1rem;
  margin: 10px 0 30px
}

.rank5__title small {
  font-size: .9rem;
  color: #666;
  margin-left: .5em;
  font-weight: normal
}

.rank5 {
  position: relative;
  max-width: 100%
}

.rank5__list {
  display: flex;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform .35s ease;
  will-change: transform;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.rank5__list::-webkit-scrollbar {
  display: none
}

.rank5__list.is-dragging {
  cursor: grabbing
}

.rank5__item {
  flex: 0 0 calc(20% - 9.5px);
  box-sizing: border-box;
  padding-top: 14px;
}

@media (max-width:1024px) {
  .rank5__item {
    flex-basis: calc(25% - 9px)
  }
}

@media (max-width:768px) {
  .rank5__item {
    flex-basis: calc(33.333% - 8px)
  }
}

@media (max-width:480px) {
  .rank5__item {
    flex-basis: calc(50% - 6px)
  }
}

.rank5__link {
  display: block;
  text-decoration: none;
  color: inherit
}

.rank5__thumb {
  position: relative;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
  overflow: visible
}

.rank5__thumb::before {
  content: "";
  display: block;
  padding-top: 100%
}

.rank5__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.rank5__name {
  display: block;
  font-size: .85rem;
  line-height: 1.6
}

.category-name {
  display: block;
  font-size: .7rem;
  margin: .25rem 0 0;
  color: #666
}

.rank5__badge {
  position: absolute;
  top: -12px;
  left: ;
  display: inline-block;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  font-size: .85rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
  z-index: 2;
}

.rank5__badge.rank-1 {
  background: #FFE08A;
  color: #6b4e00
}

.rank5__badge.rank-2 {
  background: #E0E4F1;
  color: #3f4554
}

.rank5__badge.rank-3 {
  background: #F4C7A1;
  color: #5a3a1b
}

.rank5__badge.rank-else {
  background: #fff;
  color: #939393;
  border: 1px solid #939393
}

.rank5__nav {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #222;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: opacity .2s;
  z-index: 5;
}

.rank5__nav--prev {
  left: -8px
}

.rank5__nav--next {
  right: -8px
}

.rank5__nav[disabled] {
  opacity: .35;
  cursor: default
}

.category-name:empty::before {
  content: "";
  display: block;
  height: 1.2em;
}