.player-container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px;
}

.player-hero{
  background: #007aff;
  color: #fff;
  /*padding: 42px 0;
  margin-top: 40px;*/
}

.player-hero__inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.player-hero__num{
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: .06em;
  margin: 0 0 8px;
}

.player-hero__en{
  opacity: .75;
  margin: 0 0 10px;
}

.player-hero__name{
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  margin: 0 0 8px;
  font-weight: 900;
}

.player-hero__sub{
  margin: 0 0 14px;
  opacity: .9;
}

.player-hero__sns{
  display: flex;
  gap: 10px;
  justify-content: center;
}

.player-hero__sns a{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  display: grid;
  place-items: center;
}

.player-hero__image img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.player-section{
  padding: 14px 0;
}

.player-section__title{
  font-weight: 900;
  letter-spacing: .14em;
  margin: 0 0 14px;
  font-size: 16px;
}

.profile-dl{
  background: #fff;
  border-radius: 14px;
  padding: 16px;
}

.profile-dl__row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.profile-dl__row:last-child{ border-bottom: 0; }

.player-tabs{
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}
.player-tab{
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  text-decoration: none;
  color: inherit;
  font-weight: 800;
}
.player-tab.is-active{
  background: rgba(0,0,0,.12);
}

.player-rich{
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  font-size: 14px;
}

/* SP */
@media (max-width: 768px){
  .player-hero__inner{
    grid-template-columns: 1fr;
    padding-bottom: 0 !important;
  }
}


.fa-brands, .fab {
    font-size: 25px;
}



/* カード */
.profile-card{
  border-radius:14px;
  padding: 0 14px;
}

/* 3カラムの土台 */
.profile-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* ★3カラム */
  gap: 0;
  margin: 0;
}

/* 1セル（dt+dd） */
.profile-item{
  display:grid;
  grid-template-columns: 100px 1fr; /* 左:見出し 右:値 */
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* 縦区切り線（1列目/2列目だけ右線） */
.profile-item:nth-child(3n+1),
.profile-item:nth-child(3n+2){
  padding-right: 14px;
}
.profile-item:nth-child(3n+2),
.profile-item:nth-child(3n+3){
  padding-left: 14px;
}

/* dt/ddの見た目 */
.profile-item dt{
  font-weight: 800;
  font-size: 14px;
}
.profile-item dd{
  margin: 0;
  font-size: 14px;
}

/* SPは1カラムに落とす */
@media (max-width: 768px){
  .profile-grid{
    grid-template-columns: 1fr;
  }
  .profile-item{
    border-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


.player-page{
  background: linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
  color: rgba(0, 0, 0, .8);
  text-align: left;
}

.profile-item--2span {
    grid-column: span 2;
}

/* スマホ */
@media (max-width: 767px) {
    .profile-item--2span {
        grid-column: span 1;
    }
}




.player-tabs{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.player-tab{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  text-decoration:none;
  font-weight:700;
  line-height:1;
  background:#fff;
}

.player-tab.is-active{
  border-color:rgba(0,0,0,.25);
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.player-subtitle{
  margin:6px 0 12px;
}

/* Q&A */
.qa-list{ margin:0; padding:0; }
.qa-item{ padding:12px 0; border-top:1px solid rgba(0,0,0,.08); }
.qa-item:first-child{ border-top:0; }
.qa-q{ font-weight:800; margin:0; align-items: center; }
.qa-a{ margin:0; opacity:.9; }

/* table */
.score-table--player .num{ text-align:right; white-space:nowrap; }





/* Q&A 全体 */

/* 1行 */
.qa-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

/* 質問 */
.qa-q {
  font-weight: 700;
  color: #111;
  font-size: 14px;
}

/* 回答 */
.qa-a {
  font-size: 14px;
  color: #222;
  line-height: 1.6;
}

/* スマホ */
@media (max-width: 767px) {
  .qa-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .qa-q {
    font-size: 13px;
    opacity: 0.8;
  }
}

/* 外側：Q&Aを2カラム（PCのみ） */
.qa-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px; /* 縦 横 */
}

/* 1セット（Q+A） */
.qa-row{
  display: grid;
  grid-template-columns: 200px 1fr; /* Q幅は好みで調整 */
  gap: 0px;
}

/* Q / A */
.qa-q{
  font-weight: 500;
  font-size: 13px;
  color: #111;
  font-feature-settings: "palt"
}
.qa-a{
  font-size: 13px;
  color: #222;
  line-height: 1.6;
  padding-left: 5%;
}

/* スマホ：1カラム（外も内も） */
@media (max-width: 767px){
  .qa-grid{
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .qa-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .qa-q{ opacity: .75; }
  .qa-a{padding-left: 0;}
}
}


.section-head--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.player-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.player-tab {
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  color: rgba(0,0,0,.75);
  background: #fff;
  text-align: center;
  min-width: 88px;
}

.player-tab.is-active {
  background: linear-gradient(135deg, #0A5FFF, #1FA2FF);
  color: #fff;
  font-weight: 700;
  min-width: 88px;
}



/* Table */
.table-wrap{
  overflow:auto;
  border:1px solid rgba(0,0,0,.08);
}

.score-table{
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.score-table thead th{
  position: sticky;
  top: 0;
  background: #f3f5f8;
  color: rgba(0,0,0,.75);
  font-size: 12px;
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.score-table td{
  padding: 12px 10px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  font-size: 13px;
}

.score-table .num{
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.score-table tbody tr:hover{
  background: rgba(10,95,255,.04);
}

.is-jsh{
  background: rgba(201,162,77,.10);
}

.is-jsh .badge{
  display: inline-flex;
  margin-left: 8px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  color: #0b1020;
  background: linear-gradient(135deg, #F5E1A4, #C9A24D);
  align-items: center;
  justify-content: center;
}

/* SCORE内タブ */
.score-tabs{
  margin-bottom: 14px;
}

/* テーブルブロック間 */
.score-block{
  margin-top: 12px;
}


.team-body {
  line-height: 2;
}



.player-hero {
  background: #007aff;
  color: #fff;
  /*margin-top: 40px;*/

  position: relative;
  overflow: hidden;
}

/* 背景アニメ層 */
.main_visual__background {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* 前面コンテンツ層 */
.player-hero__inner {
  position: relative;
  z-index: 2;
  padding: 14px;
  margin-top: 40px;
  padding-bottom: 0;
}

.junsports {
  margin-top: 40px;
  padding-bottom: 24px !important;
}

/* 斜めオブジェクト共通 */
.main_visual__background img {
  width: min(520px, 70vw);
  height: auto;
  opacity: 0.12;
}

/* 上からサッと降る（1回） */
.animate_down {
  position: absolute;
  top: -40%;
  right: -35%;

  animation-name: showerDown;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;   /* ★ 最後で止まる */
  animation-iteration-count: 1;    /* ★ 1回のみ */
}

/* 下からサッと上がる（1回・少し遅らせる） */
.animate_up {
  position: absolute;
  bottom: -40%;
  left: -35%;

  animation-name: showerUp;
  animation-duration: 0.6s;
  animation-delay: 0.15s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;   /* ★ 最後で止まる */
  animation-iteration-count: 1;    /* ★ 1回のみ */
}

/* 驟雨的：一気に入って、止まる */
@keyframes showerDown {
  from {
    transform: translate(0, 0);
    opacity: 0;
  }
  to {
    transform: translate(-220px, 220px);
    opacity: 0.12;
  }
}

@keyframes showerUp {
  from {
    transform: translate(0, 0);
    opacity: 0;
  }
  to {
    transform: translate(240px, -220px);
    opacity: 0.12;
  }
}

/* 動き減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .animate_down,
  .animate_up {
    animation: none;
  }
}

  .main_visual__background .animate_up {
    position: absolute;
    width: 65%;
    height: 100%;
    -webkit-transform: translateX(15%);
            transform: translateX(15%);
    top: 100%;
    overflow: hidden;
    -webkit-animation-name: rise;
            animation-name: rise;
    -webkit-animation-duration: 0.35s;
            animation-duration: 0.35s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in; }
    @media (max-width: 991px) {
      .main_visual__background .animate_up {
        width: 120%;
        -webkit-transform: translateX(35%);
                transform: translateX(35%);
        -webkit-animation-name: rise_sp;
                animation-name: rise_sp;
        -webkit-animation-duration: 0.35s;
                animation-duration: 0.35s;
        -webkit-animation-fill-mode: forwards;
                animation-fill-mode: forwards;
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in; } }
    .main_visual__background .animate_up img {
      position: absolute;
      width: 100%;
      height: 100%;
      left: 0; }
  .main_visual__background .animate_down {
    position: absolute;
    width: 75%;
    height: 100%;
    bottom: 100%;
    -webkit-transform: translateX(-15%);
            transform: translateX(-15%);
    -webkit-animation-name: down;
            animation-name: down;
    -webkit-animation-duration: 0.3s;
            animation-duration: 0.3s;
    -webkit-animation-delay: 0.5s;
            animation-delay: 0.5s;
    -webkit-animation-fill-mode: forwards;
            animation-fill-mode: forwards;
    -webkit-animation-timing-function: ease-in;
            animation-timing-function: ease-in; }
    @media (max-width: 991px) {
      .main_visual__background .animate_down {
        width: 120%;
        -webkit-transform: translateX(-35%);
                transform: translateX(-35%);
        -webkit-animation-name: down_sp;
                animation-name: down_sp;
        -webkit-animation-duration: 0.2s;
                animation-duration: 0.2s;
        -webkit-animation-delay: 0.5s;
                animation-delay: 0.5s;
        -webkit-animation-fill-mode: forwards;
                animation-fill-mode: forwards;
        -webkit-animation-timing-function: ease-in;
                animation-timing-function: ease-in; } }
    .main_visual__background .animate_down img {
      position: absolute;
      width: 100%;
      height: 100%; }

body{
  background:linear-gradient(180deg, #F5F7FB 0%, #EDF1F7 100%);
}


/* =========================
   横はみ出し対策（最重要）
   AdSense / Swiper / 画像のズレ防止
   ========================= */
html, body{
  max-width: 100%;
  overflow-x: hidden; /* 横スクロールが出ると「右寄り」に見える */
}

.player-swiper,
.swiper-wrapper,
.swiper-slide{
  width: 100%;
  max-width: 100%;
}

/* ヒーロー内も念のため */
.player-hero,
.player-hero__inner,
.player-page{
  overflow-x: hidden;
}

/* 画像は必ず中央に固定 */
.player-hero__image{
  display: flex;
  justify-content: center;
}
.player-hero__image img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* AdSenseの固定幅・はみ出し対策 */
ins.adsbygoogle{
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.adsbygoogle,
.adsbygoogle *{
  max-width: 100% !important;
}

.ads-area, .ad-area, .ad-wrap, .ads-wrap{
  max-width: 100%;
  overflow: hidden;
}

/* 選手詳細ページでは自動広告を出さない
.no-ads .google-auto-placed,
.no-ads ins.adsbygoogle{
  display: none !important;
} */

/* player-hero 内に入ってきた広告を無効化 */
.player-hero .google-auto-placed{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}



.qa-q, .qa-a{
  display: grid;
  grid-template-columns: 1em 1fr; /* ← ラベル幅固定 */
  column-gap: .6em;
  align-items: start;

  font-size: 13px;
  line-height: 1.6;
}

.qa-q{ color:#666; }
.qa-a{ color:#222; }

.qa-label{
  white-space: nowrap;
  font-weight: 700;
  color: #9aa0a6; /* Q/Aグレー寄り */
}

.qa-a .qa-label{
  color:#555; /* Aは少し濃くしてもOK */
}

/* linebreaksbrの <br> があっても崩れない */
.qa-text{
  min-width: 0;
}

