@charset "UTF-8";

#pitcher,
#catcher,
#infielder,
#outfielder{
  scroll-margin-top:55px;
}
#themesong_wrap{
  padding:0 3%;
}
#localNav_wrap{
  background:rgba(255,255,255,0.8);
  padding:10px;
  position: -webkit-sticky;
  position:sticky;
  top:0;
  z-index:100;
}
#localNav_wrap.is-fixed{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}
#localNav{
  display: flex;
  gap: 6px;
  margin:auto;
}
.localNav_btn{
  /* 4等分 + gap吸収 */
  flex: 1 1 25%;
  min-width: 0;
  display: grid;
  place-items: center;
  height: 35px;
  background:#fee100;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  border-radius: 13px;
}
.localNav_btn:link,
.localNav_btn:visited{
  color:#000;
}
.localNav_btn:hover{
  text-decoration:none;
  color:#000;
}
#result{
  margin-top:10px;
}
.cat_block + .cat_block{
  margin-top:30px;
}
.cat_title{
  margin:0 0 8px;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  position: relative;
  padding-left: 20px;
}
.cat_title::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height:12px;
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  background-color:#ffe100;
}

/* ヘッダー */
.tableHead{
  display: grid;
  grid-template-columns: 30% 1fr;
  background: #333;
  color: #fff;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
}
.tableHead_cell{
  display: flex;
  align-items: center;
  justify-content: center;
}
/* リスト */
.row{
  display: grid;
  grid-template-columns: 42% 1fr;
  column-gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid #000;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word; 
}
.player{
  display: flex;
  align-items: center;
  gap: 5px;
  /*padding-left: 6px;*/
}
.player_no{
  width: 32px;
  text-align: center;
  font-weight: 900;
  font-size: 14px;
}
.player_name{
  font-weight: 900;
  font-size: 14px;
  line-height:1.3;
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;  
  text-align: left;
}
/* ラベル列 + 曲情報列 */
.song{
  padding: 10px 0;
  border-bottom:dotted 1px #000;
}
.song:first-of-type{
  padding-top:3px;
}
.song_label{
  font-weight: normal;
  font-size: 11px;
  line-height:1.6;
}
.song_label span{
  display:inline-block;
  padding:1px 11px;
  border-radius:9999px 9999px;
  background:#dedede;
  margin-bottom:2px;
}
.song:last-of-type{
  border-bottom:none;
  padding-bottom:0;
}

.song_body{
  min-width: 0;
}
.song_title{
  font-weight: 800;
  font-size: 14px;
  line-height: 1.4;
}
.song_meta{
  margin-top: 2px;
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
}
.no_song{
  font-size:13px;
  text-align: center;
  padding:3px 0 5px;
}
.result{
  opacity:1;
  transition: opacity .5s ease;
}
.result.is-hidden{ opacity:0; }

.error_txt{
  text-align:center;
}
/*==ローディングアニメーション==*/
.loading{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:24px;
}

.spinner{
  width:32px;
  height:32px;
  border-radius:50%;
  border:4px solid rgba(0,0,0,.15); 
  border-top-color: rgba(0,0,0,.65); /* ここだけ濃くして回転が見える */
  animation: spin .8s linear infinite;
}

@keyframes spin{
  to { transform: rotate(360deg); }
}