
body {
  background-image: url("../img/bg_data.png");
  background-repeat: repeat;    /* タイル状に繰り返し */
  background-position: top left;/* 任意：開始位置 */
  background-size: auto;        /* 画像サイズをそのまま使用 */
  background-attachment: scroll;/* 任意：スクロールに追従 */
     padding: 40px 10px;
  font-family: "MyYuGothic-M", "YuGothic", "-apple-system", "blinkMacSystemFont", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;    
  color: #222;
}  


h2 {
  letter-spacing: 1px;
  text-align: center;
  margin: 30px 0 10px;
  color: #000; /* 赤で強調 */
  font-size: 22px;
  border-bottom: 2px solid #ff3333;
  padding-bottom: 5px;
}
h1 {
  text-align: center;
  font-size: 32px;
  color: #990000;
  margin-bottom: 10px;
  border-bottom: 3px solid #990000;
  padding-bottom: 10px;
}
.match-header {
  background-color: #fff;
  border: 2px solid #990000;
  border-radius: 10px;
  padding: 20px;
  max-width: 800px;
  margin: 0 auto 30px;
  box-shadow: 0 0 10px rgba(153, 0, 0, 0.2);
}

.match-header a{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 44px;              /* タップしやすさ */
  padding: 4px 14px;

  font-size: 0.75em;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  background: linear-gradient(180deg, #E50F0F, #b22222);
  color: #fff;

  border: 1px solid #cfd8e3;
  box-shadow: 0 1px 2px rgba(0,0,0,0.15);

  transition: 
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
    
}

.match-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.match-info {
  flex: 1;
  min-width: 250px;
}

.match-title {
  font-size: 20px;
  color: #990000;
  margin-bottom: 10px;
  border-bottom: 2px solid #990000;
  padding-bottom: 6px;
}

.meta-main,
.meta-sub {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

.match-logo {
  margin-left: 20px;
    text-align: center;
}

.match-logo img {
  /*border: 2px solid #ccc;
  border-radius: 6px;*/
  transition: transform 0.3s ease;
}

.match-logo img:hover {
  transform: scale(1.05);
}

.info {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}
.info_s{
  display: flex;
  justify-content: center;
  font-size: 18px;
  color: #333;
}
.info_s span{
    padding-right: 20px
}

.fontF{
	font-weight:bold;
	font-size: 24px;
	
}

.table-info {
 width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 0px auto;
}
.table-info td {
  padding: 10px 14px;
  font-size: 14px;
  color: #4D4D4D; /* 明るい文字色 */
    
  text-align:right
    
}

.table-info td:nth-child(1) { width: 12%; text-align: center; }
.table-info td:nth-child(2) { width: 20%;  text-align: left; }
.table-info td:nth-child(3) { width: 20%;  text-align: right; }
.table-info td:nth-child(4) { text-align: left; }
.table-info td:nth-child(5) { width: 15%;  text-align: right; }


.table-block {
  color: #eee; /* 明るい文字色 */
 width: 100%;
  max-width: 800px;
  border-collapse: collapse;
  margin: 0px auto;
  background-color: #222; /* ダークグレー背景 */
}

.table-block td {
  border: 1px solid #444;
  text-align: center;
  padding: 8px 10px;
  font-size: 15px;
  color: #eee;
}

.table-block .score{
    font-size: 12px;
}
.wh{
  background-color: #fff !important;
  
  color: #2C2C2C !important;
	font-weight:600 !important;
    
  font-size: clamp(20px, 5vw, 50px) !important;  /*最小20px、最大40pxで可変 */
}


.keika td {
  border: 1px solid #444;
  padding: 2px 12px;
  text-align: center;
  font-size: 12px;
}

.table-block tr:nth-child(even) {
  background-color: #2a2a2a; /* 偶数行を少し明るく */
}

.table-block tr:hover {
  background-color: #550000; /* ホバー時に赤系強調 */
}

.label-cell {
  font-weight: bold;
  background-color: #990000; /* 赤背景 */
  color: #fff;
  text-align: center;
}

.value-cell {
  text-align: right;
  /*font-family: monospace;*/
  color: #ffcccc; /* 赤系の文字色 */
}


/* 1行目を大きめフォントで強調 */
.row-large td {
  background-color: #222; /* ダークグレー背景 */
  font-size: 18px;
  font-weight: bold;
}
.score.table-block td {
  padding: 10px;
  text-align: center;
}



/* 2行目・3行目を小さめフォント＋薄い背景 */
.row-small td {
  font-size: 14px;
  background-color: #f5f5f5;
  color: #555;
}

.taisen.table-block td {
  font-size: 16px;
  border: 1px solid #ccc;
  padding: 4px;
  text-align: center;
}

.taisen.table-block .row-large td {
  font-size: 20px;
}

/* メンバー */
.member-container {
  display: flex;
  gap: 20px;
 width: 100%;
  max-width: 800px;
  margin: 20px auto;
}


.member {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  background-color: #f5f5f5;
  font-family: sans-serif;
}

.member td {
  border: 1px solid #ccc;
  padding: 6px;
  color: #333;                /* 全体の文字色を濃いグレーに */
}

/* 列幅の比率 */

.stats td:nth-child(1) { width: 40%;  text-align: center; }
.stats td:nth-child(2) { width: 20%;  text-align: center; }
.stats td:nth-child(3) { width: 40%;  text-align: center; }

.member td:nth-child(1) { width: 10%;  text-align: center; }
.member td:nth-child(2) { width: 10%;  text-align: center; }
.member td:nth-child(3) { text-align: left; padding-left: 10px; }

.member tr:nth-child(even) { background-color: #eeeeee; }
.member tr:nth-child(odd):not(:first-child) { background-color: #ffffff; }


.keika td:nth-child(1) { width: 37%; text-align: right; }
.keika td:nth-child(2) { width: 5%; text-align: left; }
.keika td:nth-child(3) { width: 8%; text-align: right; }
.keika td:nth-child(4) { width: 8%; text-align: left; }
.keika td:nth-child(5) { width: 5%; text-align: right; }
.keika td:nth-child(6) { width: 37%; text-align: left; }


.keika.table-block tr:nth-child(even) td
{
  background-color: #eeeeee !important;
}


.keika.table-block tr:nth-child(odd):not(:first-child) td{
  background-color: #ffffff !important;
}

/* フッター */
.site-footer {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
}

.site-footer a {
  text-decoration: none;
  color: #666;
}

.site-footer a:hover {
  text-decoration: underline;
  color: #990000;
}


/* --- スマホ対応 --- */
@media (max-width: 768px) {
	
  .taisen.table-block,
  .table-block {
		width: 100%}
	
    .info {
        font-size: 18px
    }	
  .member-container {
    flex-direction: column;   /* 横並び → 縦並び */
    gap: 15px;
  }

  .member {
    width: 100%;
    font-size: 14px;          /* 少し文字を小さくして調整 */
  }

  .member td {
    padding: 8px;
  }
    
.taisen.table-block td .tokuten{
    padding-left: 5px
}

    
}
@media (max-width: 600px) {
  .match-title {
    font-size: 20px;
  }

  .meta-main,
  .meta-sub {
    flex-direction: column;
    gap: 4px;
  }

  .info, .info_s {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .match-header-inner {
    flex-direction: column;
    align-items: center;
  }

  .match-logo {
    margin-left: 0;
    margin-top: 10px;
  }

  .match-title {
    font-size: 20px;
    text-align: center;
  }

  .meta-main,
  .meta-sub {
    justify-content: center;
    text-align: center;
  }
}



@media (max-width: 480px) {
  .wh {
    font-size: 6vw;
  }
}


/* =========================
   観戦リンク（アーカイブ一覧）
   ========================= */

.kansen-links {
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

/* pタグの余計な余白を消す */
.kansen-links p {
  margin: 0;
}

/* 画像リンク */
.kansen-links a {
  display: block;
  text-align: center;
}

/* サムネ画像 */
.kansen-links img {
  width: 100%;
  height: auto;
  border: 1px solid #ccc;
  background: #fff;
  transition: transform 0.2s ease;
}

/* ほんのり反応（やりすぎない） */
.kansen-links a:hover img {
  transform: scale(1.03);
}

/* 年カード内リスト */
.year-file-list {
  margin: 10px 0 0;
  padding-left: 20px;
}

.year-file-list li {
  margin: 6px 0;
  line-height: 1.5;
}

/* リンクはテキスト調に */
.year-file-list a {
  background: none;
  color: #990000;
  font-size: 16px;
  padding: 0;
  box-shadow: none;
  border: none;
}

.year-file-list a:hover {
  text-decoration: underline;
}

/* 年カード用 */
.year-card {
  cursor: pointer;
}

.year-open {
  font-size: 14px;
  font-weight: bold;
  opacity: 0.9;
}


/* 折りたたみ初期状態 */

.year-list {
  display: none;
}


.year-toggle {
  cursor: pointer;
  background: linear-gradient(180deg, #b22222, #990000);
  color: #fff;
  padding: 14px 18px;
  border-radius: 10px;
}

.year-toggle:hover {
  opacity: 0.9;
}



/* 年ブロック */
.year-block {
  max-width: 800px;
  margin: 0 auto 30px;
}


.year-count {
  font-size: 14px;
  margin-left: 8px;
}

/* 年カードヘッダー */
.year-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: linear-gradient(180deg, #b22222, #990000);
  color: #fff;

  padding: 14px 18px;
  border-radius: 10px;
  cursor: pointer;
}

/* 年代テキスト */
.year-header .year-title {
  font-size: 22px;
  font-weight: bold;
}

/* OPEN / CLOSE */
.year-state {
  font-size: 14px;
  font-weight: bold;
  opacity: 0.9;
}

/* 中身との余白 */
.year-list {
  margin-top: 15px;
}
/* 人名検索ボタン */
.search-title a {

  width: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;              /* アイコンと文字の間隔 */

  background: linear-gradient(180deg, #183542, #0F312F);
  color: #fff;

  padding: 16px 20px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;

  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
margin-top: 15px}

/* 擬似アイコン */
.search-title a::before {
  content: "🔍";         /* 画像風アイコン */
  font-size: 18px;
  line-height: 1;
}

/* ホバー */
.search-title a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}


/* =========================
   スマホ調整
   ========================= */
@media (max-width: 768px) {
  .kansen-links {
    gap: 16px;
    margin: 20px auto 40px;
  }

  .year-toggle {
    font-size: 18px;
    text-align: center;
  }
    




@media (max-width: 480px) {
  .kansen-links {
    grid-template-columns: 1fr;
  }
    

 .search-title a {
    font-size: 5vw}   
}
    
    
}



