/* ============================================= /
/ [ フォント ]
/ ==============================================*/
@import url('https://fonts.googleapis.com/css2?family=RocknRoll+One&display=swap');
/*[アイコンフォント]*/
@import url('https://cdn.jsdelivr.net/npm/remixicon@2.5.0/fonts/remixicon.css');
/* [ https://remixicon.com/ ] */

/* ============================================= /
/ []
/ ==============================================*/
html, body {
  margin: 0;
  padding: 0;
  user-select: none;
}
body {
  padding: 100px 0;
  font-family: 'RocknRoll One', sans-serif;
  background: #f9f9f9;
  background-image: linear-gradient(-45deg, #eee 25%, #f2f2f2 25%, #f2f2f2 50%, #eee 50%, #eee 75%, #f2f2f2 75%, #f2f2f2);
  background-size: 15px 15px;
}
body.modal {
  overflow: hidden;
}
a { color: #333; }
a:hover { color: #000; text-decoration: none; }

@media (max-width: 520px) {
}
/* ============================================= /
/ [プレイヤー]
/ ==============================================*/
.player {
  width: 550px;
  height: 210px;
  margin: auto;
  background-color: #f2f2f2;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: 2px 2px 2px rgba(0,0,0,.07) inset, 2px 2px 1px rgba(255,255,255,.7);
  display: none;
}
.player.show {
  display: block;
}
  .shutter {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgba(204,204,204,.95) 95%, rgba(238,238,238,.95) 95%, rgba(238,238,238,.95));
    background-size: 15px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
    /* box-shadow: 0 3px 10px rgba(0,0,0,.3); */
    box-shadow: 1px 1px 3px rgba(0,0,0,.3) inset;
  }
  .shutter.hide {
    top: -210px;
  }
    .shutter .shutter-text-base {
      padding: 5px 20px;
      color: #fff;
      font-size: 38px;
      line-height: 1;
      text-shadow: 1px 1px 3px rgba(0,0,0,.3);
      display: inline-flex;
      box-sizing: border-box;
      position: relative;
      overflow: hidden;
    }
  .player-status {
    width: 100%;
    padding: 20px;
    list-style: none;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    box-sizing: border-box;
  }
    .player-status-item {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      box-sizing: border-box;
      cursor: pointer;
      transition: 90ms;
      box-shadow: 0 2px 3px rgba(0,0,0,.2);
    }
    .player-status-item:hover {
      box-shadow: 0 0 10px rgba(0,0,0,.6);
      transform: scale(1.05);
    }
    .player-status-item:active {
      box-shadow: 0 1px 2px rgba(0,0,0,.4);
      transform: scale(1);
    }
      .player-status-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
@media (max-width: 520px) {
}
/* ============================================= /
/ [スタートボタン]
/ ==============================================*/
.start-button {
  width: 400px;
  height: 120px;
  margin: 0 auto 40px;
  color: #ff0;
  font-size: 60px;
  background-image: linear-gradient(0deg, rgba(0, 178, 252, 1) 30%, rgba(72, 201, 255, 1) 70%);
  border: 1px solid rgba(0,178,252,1);
  border-radius: 14px;
  box-shadow: 2px 2px 1px rgba(255,255,255,.2) inset, -2px -2px 2px rgba(0,0,0,.1) inset;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 100ms;
}
.start-button:hover {
  box-shadow: 2px 2px 1px rgba(255,255,255,.2) inset, -2px -2px 2px rgba(0,0,0,.1) inset, 0 0 40px rgba(0,178,252,1) inset;
}
.start-button:active {
  text-shadow: 0 0 10px rgba(255,255,0,.7);
  box-shadow: -2px -2px 1px rgba(255,255,255,.2) inset, 2px 2px 2px rgba(0,0,0,.1) inset, 0 0 40px rgba(0,178,252,1);
}
.start-button.disable {
  color: #fff;
  background: #ccc;
  border-color: #eee;
  cursor: default;
  box-shadow: 1px 1px 5px rgba(0,0,0,.1) inset;
  display: none;
}
.start-button.disable:hover {
  box-shadow: 1px 1px 5px rgba(0,0,0,.1) inset;
}
.start-button.disable:active {
  text-shadow: none;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [CPU表示]
/ ==============================================*/
.main-display {
  width: 550px;
  height: 412.5px;
  margin: 0 auto 50px;
  color: rgba(0,0,0,.9);
  text-shadow: 3px 3px 0 rgba(0,0,0,.3);      /*共通フォントスタイル(文字に影を入れてモニタに移されている感じを出す)*/
  background: rgba(144,153,80,1);
  border: 10px solid rgba(117,124,80,1);
  border-radius: 14px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
.main-display:before {
  content: '';
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  background: linear-gradient(144deg, rgba(255,255,255,.17), rgba(255,255,255,.2) 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.05));
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  z-index: 10;
  box-shadow: 0 25px 50px rgba(255,255,255,.6) inset, 1px 1px 1px rgba(0,0,0,.5) inset, 1px 1px 2px rgba(255,255,255,.5);
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [タイトル]
/ ==============================================*/
.title {
  margin: 50px auto;
  font-size: 78px;
  text-align: center;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [CPU出し手]
/ ==============================================*/
.send-cpu,
.send-player {
  position: absolute;
}
  .send-cpu img,
  .send-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
.send-cpu {
  width: 250px;
  height: 250px;
  top: 20px;
  left: 20px;
}
  .send-cpu img {
  }
.send-player {
  width: 230px;
  height: 230px;
  bottom: 20px;
  right: 20px;
}
  .send-player img {
  }
@media (max-width: 520px) {
}
/* ============================================= /
/ [ディスプレイタイトル文字]
/ ==============================================*/
.main-title {
  font-size: 48px;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [モニター表示テキスト(じゃんけん)]
/ ==============================================*/
.jan-text,
.ken-text,
.pon-text {
  font-size: 88px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
}
.jan-text {
  left: 40px;
}
.ken-text {
  right: 40px;
}
.pon-text {
  /* color: rgba(255,0,0,.7); */
  transform: translateY(-50%) rotate(-5deg) scale(0);
  transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [待機中CPU]
/ ==============================================*/
.stay-cpu {
  width: 300px;
  height: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
}
.stay-cpu.show {
  transform: translate(-50%, -50%) scale(1);
}
  .stay-cpu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
  }
@media (max-width: 520px) {
}
/* ============================================= /
/ [CPU表示]
/ ==============================================*/
.say-cpu {
  width: 200px;
  height: 200px;
  position: absolute;
  left: 20px;
  top: 20px;
  transform: scale(0) rotate(270deg);
  transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
}
  .say-cpu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
@media (max-width: 520px) {
}
/* ============================================= /
/ [プレイヤー表示]
/ ==============================================*/
.say-player {
  width: 200px;
  height: 200px;
  position: absolute;
  right: 20px;
  bottom: 20px;
  transform: scale(0) rotate(270deg);
  transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
}
  .say-player img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
@media (max-width: 520px) {
}
/* ============================================= /
/ [結果テキスト]
/ ==============================================*/
.result-text {
  font-size: 68px;
  z-index: 50;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [勝利後カウントテキスト]
/ ==============================================*/
.interval-text {
  font-size: 28px;
  letter-spacing: .2em;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [勝利数テキスト]
/ ==============================================*/
.win-count-text {
  font-size: 28px;
  position: absolute;
  top: 20px;
  right: 20px;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [敗北後のテキスト]
/ ==============================================*/
.lose-end-text {
  font-size: 36px;
}
.lose-end-text.and-win {
  font-size: 52px;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [結果ボタン]
/ ==============================================*/
.result-buttons {
  width: 100%;
  font-size: 24px;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 20px;
  position: relative;
  top: 60px;
  z-index: 100;
  transition: 150ms;
}
  .rank-entry-button,
  .retry-button {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transform: scale(1);
    transition: 250ms cubic-bezier(.47, 1.64, .41, .8);
  }
  .rank-entry-button:hover,
  .retry-button:hover {
    color: #000;
    transform: scale(1.2);
  }
  .rank-entry-button:before,
  .retry-button:before {
    content: '';
    width: 0;
    height: 0;
    border-bottom: 2px solid rgba(0,0,0,1);
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
  }
  .rank-entry-button:hover:before,
  .retry-button:hover:before {
    color: #000;
    width: 100%;
  }
  .rank-entry-button {
  }
  .retry-button {
  }
@media (max-width: 520px) {
}
/* ============================================= /
/ [ネームエントリーボタン]
/ ==============================================*/
.entry-button-container {
  width: 80%;
  margin: auto;
  text-align: center;
  position: absolute;
  bottom: 30px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
}
  .entry-button {
    width: 50px;
    height: 50px;
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 150ms;
    position: relative;
    
    cursor: pointer;
    box-sizing: border-box;
    border: 4px solid transparent;
  }
  .entry-button.long {
    width: 100px;
    font-size: 26px;
    letter-spacing: .2em;
  }
  .entry-button:hover {
    border-color: rgba(0,0,0,.3);
  }
  .entry-button:active {
    border-color: rgba(0,0,0,.7);
    background: rgba(0,0,0,.1);
  }
@media (max-width: 520px) {
}
/* ============================================= /
/ [ネームエントリーディスプレイ]
/ ==============================================*/
.entry-display-head {
  width: 100%;
  height: 40px;
  text-align: center;
  position: absolute;
  top: 30px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  overflow: hidden;
}
  .entry-display-head > span {
    font-size: 30px;
    letter-spacing: .1em;
  }
.entry-display {
  width: 80%;
  padding: 10px;
  font-size: 48PX;
  letter-spacing: .3em;
  line-height: 1;
  /* background: rgba(0,0,0,.1); */
  text-align: center;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 90px;
  left: 50%;
  gap: 10px;
  z-index: 100;
  transform: translateX(-50%);
  box-sizing: border-box;
}
  .entry-display .display-id {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: relative;
    border: 4px solid #111;
  }
@media (max-width: 520px) {
}
/* ============================================= /
/ [ランキング一覧ヘッド]
/ ==============================================*/
.rank-lists-head {
  width: 100%;
  font-size: 38px;
  text-align: center;
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [ランキング一覧]
/ ==============================================*/
.rank-lists {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%);
}
  .rank-lists-item {
    margin-bottom: 10px;
    font-size: 22px;
    letter-spacing: .1em;
    line-height: 1;
    text-align: center;
    display: flex;
  }
  .rank-lists-item.head {
    margin-bottom: 20px;
    font-size: 20px;
  }
    .rank-lists-item .rank {
      width: 60px;
    }
    .rank-lists-item .name {
      width: 150px;
    }
    .rank-lists-item .score {
      width: 80px;
    }

    .rank-lists-item.head .rank,
    .rank-lists-item.head .name,
    .rank-lists-item.head .score {
    }
    .rank-lists-item.head .rank {
    }
    .rank-lists-item.head .name {
    }
    .rank-lists-item.head .score {
    }
    .rank-lists-item .rank,
    .rank-lists-item .name,
    .rank-lists-item .score {
    }
    .rank-lists-item .rank {
      text-align: right;
    }
    .rank-lists-item .name {
    }
    .rank-lists-item .score {
    }
@media (max-width: 520px) {
}
/* ============================================= /
/ [履歴]
/ ==============================================*/
.history-container {
  width: 550px;
  height: 413px;
  position: absolute;
  top: 100px;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
}
  .history-player,
  .history-cpu {
    width: 50px;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: absolute;
    top: 0;
    box-sizing: border-box;
  }
    .history-player > span,
    .history-cpu > span {
      width: 100%;
      margin-bottom: 10px;
      background: rgba(227,227,227,1);
      border-radius: 50%;
      display: inline-block;
      position: relative;
      box-shadow: 0 2px 0 rgba(255,255,255,1), 0 1px 2px rgba(0,0,0,.2) inset;
    }
    .history-player > span:before,
    .history-cpu > span:before {
      content: '';
      padding-top: 100%;
      display: block;
    }
      .history-player > span img,
      .history-cpu > span img {
        width: 80%;
        height: 80%;
        mix-blend-mode: overlay;
        object-fit: cover;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        filter: drop-shadow(0 2px 1px rgba(0,0,0,.2));
        transition: 250ms cubic-bezier(.47, 1.64, .41, .8);
      }
      .history-player > span img.top,
      .history-cpu > span img.top {
        mix-blend-mode: normal;
      }
  /* [個別] */
  .history-player {
    left: 100%;
    margin-left: 10px;
  }
    .history-player > span {
    }
      .history-player > span img {
      }
  .history-cpu {
    right: 100%;
    margin-right: 10px;
  }
    .history-cpu > span {
    }
      .history-cpu > span img {
      }
@media (max-width: 520px) {
}
/* ============================================= /
/ [ヘッダボタン]
/ ==============================================*/
.head-button {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
}
  .head-button-lists {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 20px;
    justify-content: center;
  }
    .head-button-lists-item {
      width: 45px;
      height: 45px;
      color: #999;
      background: linear-gradient(#fff, #eee 50%, #fff);
      border-radius: 0 0 7px 7px;
      position: relative;
      transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
      overflow: hidden;
      box-shadow: 0 2px 5px rgba(0,0,0,.3);
      cursor: pointer;
    }
    .head-button-lists-item:hover {
      width: 150px;
      color: #333;
    }
    .head-button-lists-item:active {
      background: linear-gradient(#fff, #eee);
      box-shadow: 0 0px 2px rgba(0,0,0,.3);
    }
      .head-button-lists-item i {
        font-size: 36px;
        text-shadow: 0 -1px 0 rgba(0,0,0,1), 0 1px 0 rgba(255,255,255,1);
        position: relative;
        top: 5px;
        left: 5px;
      }
      .head-button-lists-item span {
        font-size: 20px;
        text-shadow: none;
        position: relative;
        top: 0;
        left: 5px;
      }
      .head-button-lists-item:hover span {
        text-shadow: 0 -1px 0 rgba(0,0,0,1), 0 1px 0 rgba(255,255,255,1);
        top: -2px;
      }
@media (max-width: 520px) {
}
/* ============================================= /
/ [クレジット・ランクモーダルベース]
/ ==============================================*/
.modal-base {
  width: 100%;
  height: 100vh;
  background: rgba(144,153,80,.98);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
  transform: scale(0);
}
.modal-base.show {
  transform: scale(1);
}
.modal-base:before {
  content: '';
  width: 100%;
  height: 100%;
  background: linear-gradient(144deg, rgba(255,255,255,.17), rgba(255,255,255,.2) 50%, rgba(255,255,255,.15) 50%, rgba(255,255,255,.05));
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
@media (max-width: 520px) {
}
/* ============================================= /
/ [クレジット]
/ ==============================================*/
.credit-container {
  width: 550px;
  min-height: 400px;
  padding: 20px 40px;
  background: rgba(255,255,255,.2);
  position: absolute;
  top: -420px;
  left: 50%;
  transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
  /* transition: 250ms; */
  transform: translateX(-50%);
  z-index: 1100;
  box-shadow: 0 0 30px rgba(0,0,0,.2);
  box-sizing: border-box;
}
.credit-container.show {
  top: 100px;
}
  .credit-container .subject {
    margin: 20px 0 30px;
    font-size: 32px;
    text-align: center;
  }
  .credit-container dl {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
  }
    .credit-container dl dt,
    .credit-container dl dd {
      margin: 0;
      padding: 0;
    }
    .credit-container dl dt {
      width: 20%;
      font-size: 20px;
      position: relative;
      top: 3px;
    }
      .credit-container dl dt i {
        margin-right: 5px;
        padding: 5px;
        font-size: 16px;
        color: #fff;
        border-radius: 50%;
        background: #111;
        box-sizing: border-box;
      }
    .credit-container dl dd {
      width: 80%;
      margin-bottom: 20px;
      font-size: 24px;
    }
      .credit-container dl dd > span {
        font-size: 13px;
        display: block;
      }
      .credit-container dl dd > span > i {
        margin-left: 3px;
        font-size: 18px;
        position: relative;
        top: 3px;
      }
  .credit-container .foot {
    width: 100%;
    padding: 0 20px;
    text-align: right;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    box-sizing: border-box;
  }

  .credit-close {
    width: 60px;
    height: 60px;
    color: #555;
    border: 4px solid #555;
    font-size: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 150ms;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .credit-close:hover {
    color: #000;
    border-color: #000;
    border-radius: 50%;
  }
  .credit-close:active {
    transform: scale(.75);
  }
    .credit-close i {
      transition: 450ms cubic-bezier(.47, 1.64, .41, .8);
    }
    .credit-close:hover i {
      transform: rotate(270deg);
    }
    
@media (max-width: 520px) {
}
/* ============================================= /
/ [ランクヘッド]
/ ==============================================*/
.all-rank-lists-head {
  width: 100%;
  font-size: 38px;
  text-align: center;
  position: absolute;
  top: 50px;
  left: 50%;
  z-index: 10000;
  transform: translateX(-50%) scale(0);
  transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
}

@media (max-width: 520px) {
}
/* ============================================= /
/ [ランクリスト]
/ ==============================================*/
.all-rank-lists-container {
  width: 550px;
  height: 360px;
  padding-top: 20px;
  position: absolute;
  z-index: 10000;
  top: 150px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  overflow-y: auto;
  box-sizing: border-box;
  transition: 350ms cubic-bezier(.47, 1.64, .41, .8);
}
.all-rank-lists-container::-webkit-scrollbar {
  width: 20px;
}
.all-rank-lists-container::-webkit-scrollbar-track {
  background: rgba(0,0,0,.5);
}
.all-rank-lists-container::-webkit-scrollbar-thumb {
  background: rgba(3,149,35,.9);
}
  .all-rank-lists {
    margin: 0;
    padding: 0;
    list-style: none;
  }
    .all-rank-lists-item {
      margin-bottom: 10px;
      font-size: 22px;
      letter-spacing: .1em;
      line-height: 1;
      text-align: center;
      display: flex;
    }
    .all-rank-lists-item.head {
      margin-bottom: 20px;
      font-size: 20px;
    }
      .all-rank-lists-item .rank {
        width: 140px;
      }
      .all-rank-lists-item .name {
        width: 250px;
      }
      .all-rank-lists-item .score {
        width: 130px;
      }

      .all-rank-lists-item.head .rank,
      .all-rank-lists-item.head .name,
      .all-rank-lists-item.head .score {
      }
      .all-rank-lists-item.head .rank {
      }
      .all-rank-lists-item.head .name {
      }
      .all-rank-lists-item.head .score {
      }
      .all-rank-lists-item .rank,
      .all-rank-lists-item .name,
      .all-rank-lists-item .score {
      }
      .all-rank-lists-item .rank {
        text-align: right;
      }
      .all-rank-lists-item .name {
      }
      .all-rank-lists-item .score {
      }
@media (max-width: 520px) {
}
/* ============================================= /
/ [ランク閉じる]
/ ==============================================*/
.modal-close {
  width: 60px;
  height: 60px;
  color: #555;
  border: 4px solid #555;
  font-size: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 150ms;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10000;
}
.modal-close:hover {
  color: #000;
  border-color: #000;
  border-radius: 50%;
}
.modal-close:active {
  transform: scale(.75);
}
  .modal-close i {
    transition: 450ms cubic-bezier(.47, 1.64, .41, .8);
  }
  .modal-close:hover i {
    transform: rotate(270deg);
  }

@media (max-width: 520px) {
}
/* ============================================= /
/ []
/ ==============================================*/
@media (max-width: 520px) {
}


