/* ページ全体 */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
}

/* メインコンテナ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
    background: #fff;
}

/* 見出し */
h1 {
    margin-top: 0;
    font-size: 1.8em;
    line-height: 1.4;
}

/* 大会結果へのリンク */
.result-link {
    margin: 20px 0;
    line-height: 1.8;
}

.result-link a {
    overflow-wrap: anywhere;
}

/* 大会結果リスト */
.result-list {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.result-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 表を横スクロール可能にする */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* テーブル */
.data-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}

/* 表のセル */
.data-table th,
.data-table td {
    padding: 8px 12px;
    border: 1px solid #ccc;
}

/* 表の見出し */
.data-table th {
    text-align: center;
    background-color: #3b82f6;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* 1行おきに色を変える */
.data-table tbody tr:nth-child(even) {
    background-color: #f2f2f2;
}

.data-table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* スマホ */
@media (max-width: 600px) {

    .container {
        padding: 12px;
    }

    h1 {
        font-size: 1.4em;
        line-height: 1.4;
    }

    .result-link {
        font-size: 0.9em;
    }

    .result-list {
        margin-top: 15px;
    }

    .result-list li {
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .data-table {
        font-size: 0.85em;
    }

    .data-table th,
    .data-table td {
        padding: 6px 8px;
    }
}
