:root {
    --bg-main: #14141f;       /* 全体の背景 (非常に暗い紺) */
    --bg-card: #ffffff;       /* カード・行の背景 (暗い紺) */
    --bg-header: #ffffff;     /* 表ヘッダーの背景 (黒に近い) */
    --bg-hover: #334155;      /* ホバー時の背景 */
    
    --text-main: #cfcfcf;     /* メイン文字 (白に近いグレー) */
    --text-muted: #94a3b8;    /* 補足文字 (薄いグレー) */
    --text-accent: #cfcfcf;   /* リンクなどのアクセント (青) */
    
    --border-color: #334155;  /* 枠線の色 */
    
    --color-gold: #facc15;    /* 1位 */
    --color-silver: #e2e8f0;  /* 2位 */
    --color-bronze: #d97706;  /* 3位 */
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    line-height: 1.5;
    padding-top: 60px;
}

.default {
  padding: 0 20px;
}

a:link {
  color: #cfcfcf;
}

a:visited {
  color: #cfcfcf;
}

.image-mid {
  height: 50px;
  object-fit: contain; 
}

.image-small {
  height: 20px;
  object-fit: contain; 
}
/* --- メニューセクション --- */
.menu-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .menu-container {
        grid-template-columns: 1fr; 
    }
}

.menu-card {
    background-color: #222235;
    border: 1px solid #222235;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.menu-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #cfcfcf;
    color: #cfcfcf;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #cfcfcf;
}

.menu-list a {
    color: #558abe;
    text-decoration: none;
    font-weight: 500;
}

.menu-list a:hover {
    text-decoration: underline;
    color: #004080;
}

/* --- 履歴テーブル --- */
.history-section h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #cfcfcf;
}

/* 既存のテーブルスタイルがあればそれを流用できますが、念のため記述 */
table.history-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 0.9rem;
}

table.history-table th,
table.history-table td {
    border: 1px solid #ddd;
    padding: 8px 12px;
    text-align: center;
}

table.history-table th {
    background-color: #f4f4f4;
    font-weight: bold;
}

table.history-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.image-small {
    height: 20px;
    width: auto;
    vertical-align: middle;
}

.cross-highlight {
  table-layout: fixed;
  border-spacing: 0;
  border-collapse: collapse;
  border: solid 1px #666;
  overflow: hidden;
}

.cross-highlight tr {
  height:50px
}

.cross-highlight td, .cross-highlight th {
  padding: 10px;
  margin: auto;
  position: relative;
  text-align: center;
  border: 2px solid #666; /* ★ここを追加：セルの罫線（色は好みで #666 等に変更可） */
  white-space: nowrap;
}

.cross-highlight td:nth-child(2) {
    text-align: left;
}

.cross-highlight td:nth-child(4) {
    text-align: left;
}

.cross-highlight td:nth-child(5) {
    text-align: left;
}

.pending {
    background-color: #172c72;
}

.rejected {
    background-color: #723030;
}