/* =================================
   キャラクター一覧 デザイン
   ================================= */

/* 表の背景 */
div#character_table table,
div#character_table tr,
div#character_table th,
div#character_table td {
    background-color: #FFFFFF !important;
}

/* 4カラム共通 */
div#character_table th,
div#character_table td {
    color: #333;
    font-weight: normal;
    white-space: nowrap;
    padding: 4px 8px;
}

/* ヘッダー */
div#character_table tr:first-child td {
    background-color: #e8e8e8 !important;
    color: #222222 !important;
    font-weight: 700 !important;
    padding: 6px 8px;
    border-bottom: 2px solid #bbbbbb !important;
}

/* 表を内容に合わせた幅にする */
div#character_table table {
    width: fit-content !important;
    max-width: 100%;
    table-layout: auto !important;
}

/* キャラクター名のリンク */
div#character_table td:first-child a {
    color: #1769aa;
    text-decoration: none;
}

div#character_table td:first-child a:hover {
    text-decoration: underline;
}

/* Rangeだけ中央揃え */
div#character_table td:nth-child(2) {
    text-align: center;
}

/* 表の線 */
div#character_table th,
div#character_table td {
    border-color: #ccc;
}

/* スマホ */
@media screen and (max-width: 600px) {

    div#character_table {
        margin: 16px -4px;
        border-radius: 10px;
    }

    div#character_table th {
        padding: 10px 9px;
        font-size: 14px;
    }

    div#character_table td {
        padding: 9px;
        font-size: 14px;
    }

}

/* Rangeタグ */
.range-long,
.range-mid,
.range-short {
    display: inline-block;
    min-width: 32px;
    padding: 3px 10px;
    border-radius: 999px;
    text-align: center;
    font-weight: bold;
    font-size: 13px;
}

/* 遠 */
.range-long {
    background: #e3f2fd;
    color: #1976d2;
}

/* 中 */
.range-mid {
    background: #e8f5e9;
    color: #388e3c;
}

/* 近 */
.range-short {
    background: #fff3e0;
    color: #ef6c00;
}

div#riskofrain2 {
    background-image: url("https://img.atwiki.jp/nerimono_games/pub/D4E4C3F3-DA0B-42F7-8C74-C32ADD0F9FCD.png");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;

    padding: 24px;
    border-radius: 12px;
}

#riskofrain2 {
    color: #F2F2F2;
}

#riskofrain2 h1,
#riskofrain2 h2,
#riskofrain2 h3,
#riskofrain2 h4,
#riskofrain2 h5 {
    color: #FFFFFF;
}

#riskofrain2 table {
    color: #F2F2F2;
}

#riskofrain2 th {
    color: #FFFFFF;
}

#riskofrain2 a {
    color: #7CC7FF;
}