@charset 'euc-jp';

/* Fonts
 *********************************** */
@font-face {
  font-family: 'Sawarabi Mincho';
  src: url('https://www.maru-jan.com/fonts/sawarabi-mincho-medium.woff?1255') format('woff');
}

/* Layout
 ************************************ */
#ranking_head_link+div {
  width: 976px;
  border: 1px solid #000;
}

.ranking-body {
  background:
    url('https://www.maru-jan.com/image/ksc/2026/ranking/ama_bg_01_02.png') center bottom no-repeat,
    url('https://www.maru-jan.com/image/ksc/2026/ranking/ama_bg_01_01.png') center top repeat-y;
}

.ranking-ksc-header {
  position: relative;
}

.ranking-ksc-header__status {
  width: 100%;
  height: 72px;
  line-height: 72px;
  font-family: '¥Ò¥é¥®¥ÎÌÀÄ« Pro W6', 'Sawarabi Mincho', ÞâÌÀÄ«ÂÎ, 'Yu Mincho', YuMincho, HGÌÀÄ«E, '£Í£Ó £ÐÌÀÄ«', '£Í£Ó ÌÀÄ«', serif;
  font-size: 20px;
  text-align: center;
  color: #fff;
  background: url('https://www.maru-jan.com/image/ksc/2026/ranking/ama_bg_header_01.png') center top no-repeat;
}

.mj_page_footer {
  padding-top: 0;
}

.mj_page_footer .history_back {
  margin-bottom: 24px;
}

.ranking-ksc-header__title {}

.ranking-ksc-header__links {
  width: 100%;
  line-height: 1.8;
  font-family: '¥Ò¥é¥®¥ÎÌÀÄ« Pro W6', 'Sawarabi Mincho', ÞâÌÀÄ«ÂÎ, 'Yu Mincho', YuMincho, HGÌÀÄ«E, '£Í£Ó £ÐÌÀÄ«', '£Í£Ó ÌÀÄ«', serif;
  font-size: 24px;
  text-align: center;
  color: #fff;
}

.ranking-ksc-header__links a:link,
.ranking-ksc-header__links a:visited,
.ranking-ksc-header__links a:hover,
.ranking-ksc-header__links a:active {
  color: #ffd986;
}

.ranking-ksc-header__note {
  line-height: 1.4;
  font-family: '¥Ò¥é¥®¥ÎÌÀÄ« Pro W6', 'Sawarabi Mincho', ÞâÌÀÄ«ÂÎ, 'Yu Mincho', YuMincho, HGÌÀÄ«E, '£Í£Ó £ÐÌÀÄ«', '£Í£Ó ÌÀÄ«', serif;
  font-size: 20px;
  color: #fff;
}

.ranking-ksc-header__note a:link,
.ranking-ksc-header__note a:visited,
.ranking-ksc-header__note a:hover,
.ranking-ksc-header__note a:active {
  color: #ffd986;
}

.ranking-block {
  position: relative;
}

.table-tab {
  margin-right: auto;
  margin-left: auto;
  width: 940px;
  letter-spacing: -4px;
}

.table-block {
  margin-top: -2px;
}

.ranking-table {
  margin-right: auto;
  margin-left: auto;
  border-collapse: separate;
}

.ranking-table th,
.ranking-table td {
  font-size: 24px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #ffe0b3;
}

.ranking-table th {
  background-color: #ffe0b3;
}

.ranking-table td {
  padding-top: 12px;
  padding-bottom: 12px;
  color: #fff;
  background: #161a20;
}

.ranking-table td+td {
  font-size: 22px;
}

.ranking-table td+td+td {
  font-size: 24px;
}

.ranking-table td+td+td+td {
  font-size: 24px;
}

.ranking-table td img {
  vertical-align: middle;
}

.ranking-table .rank_1st_24th td {
  background: #3c0909;
}

.ksc-ranking-pro-1st .ranking-table .rank_1st_24th td {
  background: #273218;
}

.ksc-ranking-pro-2nd .ranking-table .rank_1st_24th td {
  background: #1d2b3d;
}

.rank_under_101th {
  background: #000;
}

.ranking-body__notes {
  line-height: 1.4;
  font-family: '¥Ò¥é¥®¥ÎÌÀÄ« Pro W6', 'Sawarabi Mincho', ÞâÌÀÄ«ÂÎ, 'Yu Mincho', YuMincho, HGÌÀÄ«E, '£Í£Ó £ÐÌÀÄ«', '£Í£Ó ÌÀÄ«', serif;
  font-size: 20px;
  color: #ffae00;
}

/* Borderline
 ************************************ */
.ranking-table__borderline td {
  position: relative;
  padding: 0;
  height: 4px;
  background: #82735f;
}

.ranking-table__borderline td::before {
  position: absolute;
  right: -18px;
  bottom: -32px;
  content: url('https://www.maru-jan.com/image/ksc/2026/ranking/borderline.png');
}

/* Page Footer
 ************************************ */
.history_back {
  margin: 0 auto 20px;
  width: 100%;
  text-align: center;
}

.c-\#d30000 {
  color: #d30000;
}

/* Certificate of commendation
 ************************************ */
.cert-block {
  position: relative;
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
  padding-top: 98px;
  width: 954px;
  height: 610px;
  background: url('https://www.maru-jan.com/image/ksc/2026/ranking/bg_03.png') center top no-repeat;
}

.cert-block__list {
  margin-right: auto;
  margin-left: auto;
  width: 820px;
  font-family: '¥Ò¥é¥®¥ÎÌÀÄ« Pro W6', 'Sawarabi Mincho', ÞâÌÀÄ«ÂÎ, 'Yu Mincho', YuMincho, HGÌÀÄ«E, '£Í£Ó £ÐÌÀÄ«', '£Í£Ó ÌÀÄ«', serif;
  font-size: 20px;
  color: #fff;
}

.cert-block__list .item {
  position: relative;
  height: 78px;
}

.cert-block__list .item:first-child {
  height: 93px;
}

.cert-block__rank-list {
  position: absolute;
  z-index: 12000;
  bottom: 0;
  left: 0;
  padding-left: 148px;
  line-height: 64px;
  font-size: 32px;
  letter-spacing: -1px;
}

.cert-block__rank-image {
  position: absolute;
  z-index: 10000;
  top: 0;
  left: 0;
}

.cert-block__rank-list-name {
  display: inline-block;
  width: 320px;
  text-align: right;
}

.cert-block__rank-list-pt {
  display: inline-block;
  width: 120px;
  text-align: right;
}

.max-id-length-1,
.max-id-length-2,
.max-id-length-3,
.max-id-length-4,
.max-id-length-5,
.max-id-length-6,
.max-id-length-7,
.max-id-length-8,
.max-id-length-9,
.max-id-length-10,
.max-id-length-11,
.max-id-length-12 {
  font-size: 26px;
}

.max-id-length-13,
.max-id-length-14 {
  font-size: 24px;
}

.max-id-length-15,
.max-id-length-16 {
  font-size: 22px;
}

.c-\#ffae00,
.c-\#ffae00:link,
.c-\#ffae00:visited,
.c-\#ffae00:hover,
.c-\#ffae00:active {
  color: #ffae00;
}

.c-\#ffd986,
.c-\#ffd986:link,
.c-\#ffd986:visited,
.c-\#ffd986:hover,
.c-\#ffd986:active {
  color: #ffd986;
}
