@charset "UTF-8";

/* ==========================================================================
   DOM版スタッフカード
   画像未準備のスタッフ用に、既存JPGスタッフ画像（280x52）と同じ見た目を
   HTML+CSSで再現するためのスタイル。写真画像が用意でき次第、
   通常の <img> に差し替え可能。
   ========================================================================== */

.staff-card {
  display: inline-block;
  width: 280px;
  height: 52px;
  position: relative;
  background: #fff;
  box-sizing: border-box;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3",
    "Hiragino Kaku Gothic Pro", "ＭＳ Ｐゴシック", sans-serif;
  vertical-align: top;
  overflow: hidden;
}

/* カード下のボーダー：左8割が青、右2割が赤 */
.staff-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(
    to right,
    #1a288d 0,
    #1a288d 80%,
    #c8161d 80%,
    #c8161d 100%
  );
}

.staff-card__role {
  position: absolute;
  top: 2px;
  left: 6px;
  display: inline-block;
  background: #c8161d;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  line-height: 1;
  padding: 4px 14px;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.staff-card__name {
  position: absolute;
  left: 12px;
  bottom: 6px;
  color: #1a288d;
  font-size: 19px;
  font-weight: bold;
  letter-spacing: 0.08em;
  line-height: 1;
}

.staff-card__logo {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  aspect-ratio: 52 / 46; /* hk_logo.png の元サイズ比率 */
  background-image: url("../staff/img/hk_logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  /* テキストはCSSで隠す（HKBの文字はaria-hiddenでSR非読み上げ） */
  font-size: 0;
  color: transparent;
}

/* ==========================================================================
   チーム写真（卒団生紹介用）
   白枠と微妙な影を付ける。比率は元画像の縦横比をそのまま保つ。
   ========================================================================== */

.team-photo {
  display: block;
  margin: 0 auto;
  width: 648px;
  height: auto;
  padding: 8px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
  box-sizing: content-box;
}

/* ==========================================================================
   年ラベル（試合結果ページ用）
   既存の img-YYYY.jpg（107x25のオレンジ斜めストライプ背景＋角丸）を
   HTML+CSSで再現。新年度のラベル画像が未準備のときに使用。
   ========================================================================== */

/* 年ラベル：球団カラー（#1A288D）ベースの新デザイン
   既存JPG（106x25）と並べても収まりが合うように同サイズで作成 */
.year-label {
  display: inline-block;
  width: 106px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-family: "Helvetica Neue", Arial, "メイリオ", Meiryo, sans-serif;
  border-radius: 4px;
  background:
    /* 上から下への明度差で立体感 */
    linear-gradient(180deg, #2a3aa8 0%, #1a288d 55%, #131e6e 100%),
    #1a288d;
  border: 1px solid #0e1654;
  box-shadow:
    /* ハイライト */
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    /* 下側のうっすら影 */ inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    /* 外側のドロップシャドウ */ 0 1px 2px rgba(0, 0, 0, 0.15);
  vertical-align: top;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
