/* =============================== */
/* 📌 results.html 専用のスタイル */
/* =============================== */
/* ページタイトル */
.page-title-hero h1 {
    font-size: 2.5em;
    color: var(--main-color);
    text-align: center;
    padding: 20px 0;
}
.results-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.05em;
    line-height: 1.8;
}

/* 年度ブロック */
.year-block {
    max-width: 900px;
    margin: 0 auto 60px auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}
.year-block h2 {
    text-align: left;
    font-size: 1.8em;
    color: var(--main-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.year-block h2 i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* 結果アイテム */
.result-items {
    list-style: none;
    padding: 0;
}
.result-item {    
    display: flex;
    align-items: center; /* 縦方向中央寄せにする */
    justify-content: space-between; /* 項目と写真を左右に配置 */
    padding: 15px 0;
    border-bottom: 1px dashed #777;
}
.result-item:last-child {
    border-bottom: none;
}

.result-date {
    flex-shrink: 0; /* 幅を固定 */
    width: 120px;
    font-weight: bold;
    color: #777;
    font-size: 0.9em;
    padding-top: 5px;
}
.result-detail {
    flex-grow: 1;
    /* 写真との間に少し余白を設ける */
    margin-right: 20px;
}
/* 新しい写真のスタイル */
.result-photo {
    flex-shrink: 0;
    width: 300px; /* 写真の幅 */
    margin-left: 10px;
    text-align: right;
}
.result-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.result-tournament {
    display: block;
    font-weight: bold;
    color: var(--text-color);
    font-size: 1.1em;
    margin-bottom: 5px;
}

/* 順位バッジ */
.result-rank {
    display: inline-block;
    font-weight: bold;
    color: var(--text-color);
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 0.9em;
    text-align: left;
}
.rank-gold {
    background-color: #ffb700; /* 優勝 */
    color: #000;
}
.rank-silver {
    background-color: #a7a9ac; /* 準優勝 */
    color: #000;
}
.rank-bronze {
    background-color: #cd7f32; /* 3位 */
    color: #000;
}

.result-note {
    font-size: 0.9em;
    color: #999;
    margin-top: 5px;
}

/* 過去の結果へのリンク */
.past-results-link {
    text-align: center;
    margin-top: 60px;
    font-size: 1.1em;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .result-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .result-date {
        margin-bottom: 5px;
    }
    .year-block {
        padding: 20px;
        margin-bottom: 40px;
    }
}