/* 背景画像を設定（スマホでの不具合対応版） */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('/images/25s1hideki.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}


/* オーバーレイテキスト */
.overlay-text {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  /* 背景を半透明にして視認性アップ */
  padding: 4px 8px;
  border-radius: 4px;
}

.overlay-text.centered {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}



/* 特殊能力素材計算 */
/* 除外チェック時グレーアウト */
.excluded {
  background-color: #eeeeee;
  opacity: 0.6;
}

tr.excluded {
  background-color: #e0e0e0 !important;
  color: #888;
}


/* 称号確率計算*/
/* 結果テーブル*/
.shougou_calc th,
.shougou_calc td {
  padding: 1rem;
}