@charset "UTF-8";

body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #666;
  margin: 0;
  padding: 0;
  background-image: url(../images/common/bg.jpg);
}
img {
  max-width: 100%;
}
@media(max-width:639px) {
  .pc-only {
    display: none;
  }
}
@media(min-width:640px) {
  .sp-only {
    display: none;
  }
}
span.name, span.name a {
  color: #f00;
}
.mt2 {
  margin-top: 2rem;
}
.rank_container {
  max-width: 852px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem;
  background: #fff;
  text-align: center;
}
.header-index-sp h1 {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 1rem .5rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    color: #fff;
    background-color: #f00;
    text-shadow: 0 1px 1px #444;
}
.sp-only .rank1, .sp-only .rank2-5 {
  text-align: center;
  font-weight: bold;
}
.sp-only .rank1 {
  font-size: 20px;
  color : #daa520;
}
.sp-only .rank2 {
  color : #c0c0c0;
}
.sp-only .rank3 {
  color : #a0522d;
}
.sp-only .rank4 {
  color : #bc8f8f;
}
.sp-only .rank5 {
  color : #808080;
}
.sp-only .rank2-5, .sp-only .rank2-5 span {
  font-size: 16px !important;
}
.sp-only .rank1 img {
  max-width: 60%;
}
.rank2-5 > ul.rank_box li {
  width: 49%;
  margin-right: 2%;
}
.rank2-5 > ul.rank_box li:nth-child(even) {
  margin-right: 0;
}
.rank_box {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}
a.btn {
  background: #fe0000;
  border-radius: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  width: 230px;
  padding: 15px 0;
  text-decoration: none;
  margin: 15px 0;
  box-shadow: 0px 3px 0px 0px #95030e;
  -moz-box-shadow: 0px 3px 0px 0px #95030e;
  text-align: center;
  display: inline-block;
}
.u-map {
  position: relative;
}
.u-map > div {
    text-align: center;
    position: absolute;
    bottom: 2.5%;
    right: 0;
    left: 0;
}
.rank_box li {
  margin-bottom: 2rem;
}
@media(max-width:359px) {
  .rank_box li {
    width: 49%;
    margin-right: 2%
  }
  .rank_box li:nth-of-type(2n) {
    margin-right: 0;
  }
}
@media(min-width:360px) and (max-width:479px) {
  .rank_box li {
    width: 32%;
    margin-right: 2%;
  }
  .rank_box li:nth-of-type(3n) {
    margin-right: 0;
  }
}
@media(min-width:480px) and (max-width:599px) {
  .rank_box li {
    width: 23.5%;
    margin-right: 2%;
  }
  .rank_box li:nth-of-type(4n) {
    margin-right: 0;
  }
}
@media(min-width:600px) and (max-width:767px) {
  .rank_box li {
    width: 18%;
    margin-right: 2.5%;
  }
  .rank_box li:nth-of-type(5n) {
    margin-right: 0;
  }
}
@media(min-width:768px) {
  .rank_box li {
    width: 15%;
    margin-right: 2%;
  }
  .rank_box li:nth-of-type(6n) {
    margin-right: 0;
  }
}
.rank_box .rank {
  color: #fff;
  background: #f00;
  border: #fff 1px solid;
  border-radius: 10px;
  margin: 0.5rem auto;
  width: 60px;
  font-weight: bold;
  position: relative;
  padding: 0.2rem;
}
.rank_box .rank:after {
  content:"";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  width: 110%;
  height: 120%;
  border: #f00 1px solid;
  border-radius: 10px;
}
.rank_box .votes, .rank_box .shop {
  font-size:10px;
  font-weight:bold;
}
.rank_box .name {
  font-size:small;
  font-weight:bold;
}
.rank_number_sub_bg {
  max-width: 730px;
  width: 100%;
  margin: 1.5rem auto;
  text-align: center;
  border-radius: 15px;
  background-image:url(/images/event/election/rank_n_bg.jpg);
  background-position: center center;
	background-repeat: repeat-x;
  font-size: 32px;
  font-weight: bold;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  color: #fff;
  text-shadow:
            2px 2px 0px #ff0000, -2px -2px 0px #ff0000,
           -2px 2px 0px #ff0000,  2px -2px 0px #ff0000,
            2px 0px 0px #ff0000, -2px -0px 0px #ff0000,
            0px 2px 0px #ff0000,  0px -2px 0px #ff0000;
}
.rank_number_sub_bg p {
  margin: 0 1rem;
}
.rank_number_sub_bg:before, .rank_number_sub_bg:after {
  content:"";
  display: inline-block;
  width: 38px;
  height: 38px;
  background-image:url(/images/event/election/rank_n_bg_dec.png);
  background-position: center center;
	background-repeat: no-repeat;
  background-size: 100%;
}
@media(max-width:767px) {
  .rank_number_sub_bg {
    font-size: 24px;
    display: none;
  }
  .rank_number_sub_bg:before, .rank_number_sub_bg:after {
    width: 30px;
    height: 30px;
  }
}
