@charset "utf-8";
/* CSS Document */


body {
  background-image: url(../images/background.jpg); /* 背景画像のパス */
  background-repeat: repeat;              /* 画像を繰り返して敷き詰める */
  background-size: auto;                  /* サイズは画像そのまま */
}

 /* players.html↓↓ */
h1,h2,h3{
  text-align: center;
}

/* セクション全体を中央寄せにする */
.container01 {
  width: 90%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 1em 0;
}

/* ボタン群を中央揃え＆間隔を保つ */
.button-group01 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
  margin: 1em 0;
  padding: 0;  /* 念のため余計なpaddingなし */
}

.button-group01 a {
  display: inline-block;
  min-width: 100px;        /* 👈 最低100pxに統一（地名も対応可） */
  text-align: center;       /* 👈 テキストを中央揃えに */
  padding: 0.6em 1.2em;
  background-color: #00bfff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}


.button-group01 a:hover {
  background-color: #009acd;
}


 /*  players.html↑↑ */

/* === プレイヤーリスト全体のグリッドレイアウト === */
.player-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4em;
  padding: 0 1.5em;
  margin: 4em 0;
}

/* スマホ表示は1列に */
@media (max-width: 768px) {
  .player-list {
    grid-template-columns: 1fr;
  }
}

/* === 選手カード全体のスタイル === */
.player-box {
  display: flex;
  flex-direction: column;
  align-items: center; /* 要素全体を中央揃え */
  border: 2px solid #ccc;
  border-radius: 12px;
  padding: 1.5em;
  background: #fafafa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  min-height: 480px;
  text-align: center; /* テキスト中央寄せ */
}

/* === 選手名（中央寄せ） === */
header.player-header {
  display: flex;
  justify-content: center;
  margin-bottom: 0.8em;
}

h2.player-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
}

/* === 登録情報リスト === */
ul.player-info {
  text-align: center;
  line-height: 1.6;
  list-style: none;
  padding-left: 0;
  margin: 1em 0;
}

/* === スコア表示（中央） === */
.score {
  font-size: 1rem;
  font-weight: bold;
  color: #6B2981;
  margin: 1em 0;
}

/* === アジト評価エリア === */
.ajito-comment {
  max-width: 90%;
  text-align: left; /* ← 本文だけ左揃えで読みやすく */
  margin-top: 1.5em;
}

/* アジト評価の見出しだけ中央揃え*/
.ajito-comment strong {
  display: block;
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 0.5em;
}

/* === フッター === */
footer {
  text-align: center;
  background-color: #f0f0f0;
  padding: 2em 1em;
  font-size: 0.9em;
  color: #555;
  margin-top: 3em;
}

