/* タイトルの色 */
.fs-c-documentArticle__heading {
  background: #3572b0;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0 0 16px;
  padding: 4px 8px;
  text-align: center;
}

/*マイページアイコン*/
.fs-c-accountService {
  /*justify-content: space-around;*/
  width: 300px;
  margin: 0 auto;
}
/*マイページアイコンを2列&*/
@media screen and (min-width: 768px) {
  .fs-body-my-top .fs-c-accountService {
    width: auto;
  }
  .fs-body-my-top .fs-c-accountService li {
    flex-basis: calc((100% - 80px) / 5);
  }
  .fs-body-my-top .fs-c-accountService li:last-of-type {
    flex-basis: 100%;
  }
}
/*マイページアイコンを中央に*/
@media screen and (min-width: 960px) {
  .fs-body-my-top .fs-l-account {
    justify-content: center;
  }
  .fs-body-my-top .fs-c-accountService li {
    flex-basis: 128px;
  }
}


/* ランキングのCSS↓ */

/* 共通：商品ブロックに相対位置を設定 */
.fs-c-productListItem {
  position: relative;
}

/* =======================
   1位：new_grade-umi_a
======================= */
.fs-c-productListItem:has(a[href*="new_grade-umi_a"])::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid #e60033;
  border-left: 40px solid transparent;
  z-index: 1;
}
.fs-c-productListItem:has(a[href*="new_grade-umi_a"])::after {
  content: "1";
  position: absolute;
  top: 4px;
  right: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}

/* =======================
   2位：new_uminchu-T_a
======================= */
.fs-c-productListItem:has(a[href*="new_uminchu-T_a"])::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid #e60033;
  border-left: 40px solid transparent;
  z-index: 1;
}
.fs-c-productListItem:has(a[href*="new_uminchu-T_a"])::after {
  content: "2";
  position: absolute;
  top: 4px;
  right: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}

/* =======================
   3位：kinnikutsu_A_
======================= */
.fs-c-productListItem:has(a[href*="kinnikutsu_A_"])::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid #e60033;
  border-left: 40px solid transparent;
  z-index: 1;
}
.fs-c-productListItem:has(a[href*="kinnikutsu_A_"])::after {
  content: "3";
  position: absolute;
  top: 4px;
  right: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}

/* =======================
   4位：nagokuouka_A_
======================= */
.fs-c-productListItem:has(a[href*="nagokuouka_A_"])::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid #e60033;
  border-left: 40px solid transparent;
  z-index: 1;
}
.fs-c-productListItem:has(a[href*="nagokuouka_A_"])::after {
  content: "4";
  position: absolute;
  top: 4px;
  right: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}

/* =======================
   5位：nangokuryuka_A_
======================= */
.fs-c-productListItem:has(a[href*="nangokuryuka_A_"])::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 40px solid #e60033;
  border-left: 40px solid transparent;
  z-index: 1;
}
.fs-c-productListItem:has(a[href*="nangokuryuka_A_"])::after {
  content: "5";
  position: absolute;
  top: 4px;
  right: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  z-index: 2;
}