@charset "UTF-8" ;

       body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }
        .info-button {
            position: fixed;
            top: 10px;
            right: 57px;
            width: 46px;
            z-index: 10000;
            cursor: pointer;
        }
		.home-button{
            position: fixed;
            top: 10px;
            left: 80px;
            width: 50px;
            z-index: 10000;
            cursor: pointer;
        }
		
        .race-container {
            display: none; /* 初期状態で非表示 */
            padding: 10px;
            background: white;
            border: 1px solid #ccc;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
            z-index: 10001;
        }
        .race-container.pc, .race-container.mobile-vertical {
            position: absolute;
            top: 70px;
            right: 10px;
            max-width: 300px; /* PCおよびスマホ縦向き時の小さな右端表示 */
        }
        .race-container.mobile-horizontal {
            position: absolute;
            top: 70px; /* インフォメーションボタンの下に配置 */
            right: 10px; /* 右端にベースを合わせる */
            max-width: calc(100% - 20px); /* 画面右端に収める（余白を考慮） */
            display: flex;
            justify-content: space-between; /* ブロックを左右に分けて配置 */
        }

        .race-title {
            font-weight: bold;
            text-align: center;
            margin-bottom: 2px;
        }	
	
        .race-number {
            background: orange;
            color: white;
            font-weight: bold;
            cursor: pointer;
        }
        .red-course {
            background: red;
            color: white;
        }
        .blue-course {
            background: blue;
            color: white;
        }

		
.race-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* 各カラム幅を均等に保つ */
}

.race-table th,
.race-table td {
    text-align: center;
    padding: 5px;
    border: 1px solid #ccc;
    overflow: hidden; /* テキストが溢れるのを防止 */
    text-overflow: ellipsis; /* 溢れたテキストは「...」で省略 */
    white-space: nowrap; /* テキストを1行に固定 */
}
.column-number {
    width: 32%; /* レース番号 */
	            background: orange;
            color: white;
            font-weight: bold;
            cursor: pointer;

}

.race-number {
    background: orange;
    color: white;
    font-weight: bold;
    cursor: pointer;
}


.column-red {
    width: 32%; /* 赤コース */
	background: red;
    color: white;	
}

.column-blue {
    width: 32%; /* 青コース */
    background: blue;
    color: white;
}
		
.tooltip {
	display: none;
	position: absolute;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 5px;
	border-radius: 3px;
	z-index: 10002;
	white-space: nowrap;
}
.race-table tr .race-number.highlight {
    background-color: black !important; /* 背景色を黒に */
    color: white !important; /* テキスト色を白に */
}

