/* **************************************************
日本代表リスト表示のタブ切り替えおよび
選手の写真にロールオーバーしたときの挙動と設定
2025.8
************************************************** */

/* デフォルト設定：女子非表示 */
.playerCardRugbyList__women {
  display: none;
}

/* タブボタン */
.playerGender .pageContents {
  display: flex;
}
.gender__select {
  display: block;
  width: 50%;
}
.gender__select.current .gender-button {
  background-color: #222;
  color: #fff;
}
.gender-button {
  width: 100%;
  border: none;
  overflow: visible;
  font: inherit;
  color: inherit;
  text-transform: none;
  -webkit-appearance: none;
  border-radius: 0;
  display: inline-block;
  box-sizing: border-box;
  vertical-align: middle;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.1s ease-in-out;
  transition-property: color, background-color, border-color;
  background-color: #e3e3e3;
  color: #222;
  border: 1px solid transparent;
  padding: 15px;
  line-height: 28px;
  margin-top: 10px !important;
}
.gender-button:not(:disabled) {
  cursor: pointer;
}
.gender-button:hover,
.gender-button:active {
  background-color: #222;
  color: #fff;
}

/* ロールオーバー設定 */
@media screen and (min-width:  768px) {
  .playerCardRugby__image .image {
    position: relative;
    display: block;
    overflow: hidden;
  }
  .playerCardRugby__image .image .off {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .playerCardRugby__image .image .on {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
  }
  .playerCardRugby__image .image:hover .off {
    opacity: 0;
  }
}
@media screen and (max-width:  767px) {
  .playerList__women {
    display: none;
  }
  
  .playerCardRugbyList .col3 {
    position: relative;
    width: calc(100% - 30px);
    margin-right: 15px;
    margin-left: 15px;
    padding-left: 0;
    background: #e3e3e3;
  }
  .playerCardRugby--link {
    position: static;
    width: calc(100% - 100px);
    margin-left: 115px;
    background: none;
  }
  .playerCardRugby--link:hover {
    background: none;
  }
  .playerCardRugby__image .image {
    position: relative;
    display: block;
  }
  .playerCardRugby__image {
    position: absolute;
    z-index: 4;
    display: block;
    top: 15px;
    left: 15px;
    /*pointer-events: none;*/
  }
  .playerCardRugby__profile {
    width: 100%;
  }
  .playerCardRugby__image .image .off {
    display: block;
    position: relative;
    z-index: 2;
    width: 100%;
  }
  .playerCardRugby__image .image .on {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
  }
  .playerCardRugby__image .touch .off {
    opacity: 0;
  }
}