@charset "utf-8";

html,body{
  width: 100%;
  height: 100%;
  background-color: #2E2E2E;
  margin: 0;
}

main{ 
  width: 90%;
  margin: 0 auto;
  zoom: 90%;
}

#header{
  text-align: center;
}

#head_img{
width: 15%;
height: 15%;
margin-top: 10px;
}

h1{
  font-size: 48px;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-weight: bold;
  text-align: left;
  color: #FF5722;
  margin: 0;
}

label{
  margin-right: 10px;
  color: whitesmoke;
}

.score {
  width: 20px;
  text-align: center;
  font-weight: bold;
}

.in_team_name {
  font-weight: bold;
}

.in_team_name:focus{
  background-color: #FFC107;
}

.in_team_name:hover{
  background-color: #FFC107;
}

.member:focus{
  background-color: #FFC107;
}

.member:hover{
  background-color: #FFC107;
}

.member{
  font-weight: bold;
}

.rand_name{
  color: whitesmoke;
  font-size: 20px;
  font-weight: bold;
}

.btn {
  background-color: #FF9800;
}

.btn:hover {
  cursor: pointer;
  background-color: #FFC107;
}

footer{
  background-color: #FF5722;
  Width: 100%;
  height: 60px;
  margin-left: 0px;
  margin-right: 0px;
  position: fixed;
  text-align: center;
  bottom: 0;
  left: 0;
  right: 0;
}

h2{
  font-size: 15px;
  margin: 19px;
}

/*========= ナビゲーションのためのCSS ===============*/

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:0;
    left: -120%;
  width:400px;
    height: 100vh;/*ナビの高さ*/
  background:#999;
    /*動き*/
  transition: all 0.6s;
}

#odds_keisan{
  display: flex;
}

#title_vote_sum {
  position: relative;
  left: 80px;
  top: 25px;
  color: #333;
  font-weight: bold;
}

#vote_sum {
  position: relative;
  width: 30px;
  left: 80px;
  top: 25px;
  text-align: center;
  color: #333;
  font-weight: bold;
}

#title_coin_sum {
  position: relative;
  left: 100px;
  top: 25px;
  color: #333;
  font-weight: bold;
}

#coin_sum {
  position: relative;
  width: 30px;
  left: 100px;
  top: 25px;
  text-align: center;
  color: #333;
  font-weight: bold;
}

#title {
  position: relative;
  left: 100px;
  top: 45px;
  color: #333;
  font-weight: bold;
}

#title_vote {
  position: relative;
  left: 135px;
  top: 45px;
  color: #333;
  font-weight: bold;
}

#title_odds {
  position: relative;
  left: 130px;
  top: 45px;
  color: #333;
  font-weight: bold;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    left: 0;
}


/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    top: 95px;
    width:400px;
    height: 85vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#list_main ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:65%;
    left:35%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#list_main li{
  list-style: none;
    text-align: center; 
}

#list_main .list:focus {
  background-color: #FFC107;
}

#list_main .list:hover {
  background-color: #FFC107;
}

#list_main li a{
  color: #333;
  /* text-decoration: none; */
  padding:10px;
  display: block;
  background-color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/* #g-nav-list {
  display: flex;
} */

#list_num ul{
  position: relative;
  margin-top: 25px;
  right: 10px;
}

#list_num {
  color: #333;
}

.list {
  font-weight: bold;
}

.vlist {
  width: 30px;
  font-weight: bold;
  text-align: center;
}

#list_vote_qty ul{
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:65%;
    left:71%;
    padding-left: 0;
    transform: translate(-50%,-50%);
}

#list_vote_qty li {
  list-style: none;
}

#list_odds ul{
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 65%;
    left:86%;
    padding-left: 0;
    transform: translate(-50%,-50%);
    width: 40px;
    text-align: right;
}

#list_odds li{
  text-align: right;
}

.odds{
  color: #2E2E2E;
  font-weight: bold;
  text-align: right;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1{
  position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
  top:10px;
  left: 10px;
  cursor: pointer;
    width: 50px;
    height:50px;
}
  
/*×に変化*/  
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
  background-color: #666;
    width: 45%;
  }

.openbtn1 span:nth-of-type(1) {
  top:15px; 
}

.openbtn1 span:nth-of-type(2) {
  top:23px;
}

.openbtn1 span:nth-of-type(3) {
  top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn1.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}