/*
 * t8-character-list-v3-system/modules/character-list/style.css
 *
 * 更新日: 2026-11-07
 *
 * 役割:
 * - Character List V3の表示スタイルを管理する。
 * - 項目名の下にシーズンリンクを横並びにする。
 * - シーズンリンクをボタン風にデザインする。
 * - 共通リンクを横並びにする。
 */



/*
========================================
Character List V3 ページタイトル
========================================
*/

.t8-character-list-v3-title {
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0 12px;
    line-height: 1.4;
}



/* ====================================
   項目別シーズンリンク
==================================== */

/* 全体 */

.t8-character-list-v3-season-items {
    margin: 0;
    padding: 0;
}

/* 各項目 */

.t8-character-list-v3-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 20px;
}

/* 項目名 */

.t8-character-list-v3-item-label {
    display: block;
    font-weight: bold;
}

/* シーズンリンク全体 */

.t8-character-list-v3-season-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-left: 32px;
}

/* リンクの外側 */

.t8-character-list-v3-season-link-item {
    display: inline-block;
}

/* シーズンボタン共通 */

.t8-character-list-v3-season-link-item a {
    display: inline-block;
    min-width: 56px;
    padding: 7px 14px;

    text-align: center;
    text-decoration: none;

    color: #ffffff;
    background: #30343b;

    border: 1px solid #50555e;
    border-radius: 6px;

    font-weight: bold;

    transition: background 0.2s ease, border-color 0.2s ease;
}

/* ホバー */

.t8-character-list-v3-season-link-item a:hover {
    background: #505761;
    border-color: #777f8b;
}

/* キーボード操作時 */

.t8-character-list-v3-season-link-item a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}


/*
========================================
シーズン別ページ一覧 見出し
========================================
*/

.t8-character-list-v3-section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 20px;
    line-height: 1.4;
}


/* ====================================
   その他関連ページ
==================================== */

.t8-character-list-v3-common-links {
    margin-top: 56px;
}

/* 見出し */

.t8-character-list-v3-common-links-title {
    margin: 0 0 16px;
}

/* 共通リンク一覧 */

.t8-character-list-v3-common-links-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;

    list-style: none;
    margin: 0;
    padding: 0;
}

/* リスト項目 */

.t8-character-list-v3-common-links-list li {
    margin: 0;
    padding: 0;
}

/* 共通リンクボタン */

.t8-character-list-v3-common-links-list a {
    display: inline-block;
    padding: 8px 14px;

    color: #ffffff;
    background: #30343b;

    text-decoration: none;
    border: 1px solid #50555e;
    border-radius: 6px;

    transition: background 0.2s ease, border-color 0.2s ease;
}

/* ホバー */

.t8-character-list-v3-common-links-list a:hover {
    background: #505761;
    border-color: #777f8b;
}


/* ====================================
   スマートフォン対応
==================================== */

@media screen and (max-width: 600px) {

    /* 各項目 */

    .t8-character-list-v3-item {
        gap: 8px;
        margin-bottom: 18px;
    }

    /* シーズンリンク */

    .t8-character-list-v3-season-links {
        gap: 10px;
    }

    /* シーズンボタン */

    .t8-character-list-v3-season-link-item a {
        min-width: 50px;
        padding: 7px 12px;
    }

}
