.sort_table .fil_ul {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-wrap: wrap;
}
.sort_table .fil_ul[data-hidden="on"] {
    max-height: 180px;
    overflow-y: scroll;
}
.sort_table .ul_open {
    font-weight: bold;
    color: #4f72c3;
    cursor: pointer;
}
.sort_table .fil_ul li {
    font-size: 12px;
    padding: 0px 5px;
    border: 2px solid #d9d9d9;
    margin: 2px;
    border-radius: 2px;
    cursor: pointer;
    font-weight: bold;
    color: #7c7b7b;
}
.sort_table .fil_ul li[data-target="rarity1"],
.sort_table .fil_ul li[data-target="rarity"],
.sort_table .fil_ul li[data-target="tekisei1"],
.sort_table .fil_ul li[data-target="range_max"],
.sort_table .fil_ul li[data-target="map_weapon_type"],
.sort_table .fil_ul li[data-target="genre"] {
    width: calc(100% / 5 - 4px);
}
.sort_table .fil_ul li[data-target="p_rarity"],
.sort_table .fil_ul li[data-target="tekisei"] {
    width: calc(100% / 4 - 4px);
}
.sort_table .fil_ul li[data-target="type"],
.sort_table .fil_ul li[data-target="name_type"],
.sort_table .fil_ul li[data-target="chance_step"],
.sort_table .fil_ul li[data-target="support_atk"],
.sort_table .fil_ul li[data-target="support_def"],
.sort_table .fil_ul li[data-target="element1"],
.sort_table .fil_ul li[data-target="element2"],
.sort_table .fil_ul li[data-target="weapon_category"],
.sort_table .fil_ul li[data-target="parts"],
.sort_table .fil_ul li[data-target="op_get"]
 {
    width: calc(100% / 3 - 4px);
}
.sort_table .fil_ul li[data-target="map_weapon"],
.sort_table .fil_ul li[data-target="stage_type"] {
    width: calc(100% / 2 - 4px);
}

.sort_table .fil_ul li[data-checked="1"] {
    border: 2px solid #173474;
    color: #fff;
    background-color: #3153a0;
}

.unit_list_table {
    box-sizing: border-box;
}
.unit_list_table .unit_list_ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: -1px;
    margin-right: -1px;
}
.unit_list_table .unit_list_ul li {
    text-align: center;
    font-size: 10px;
    line-height: inherit;
    border-right: 1px solid #bdced7;
    border-bottom: 1px solid #bdced7;
    padding: 4px 2px;
}
.unit_list_table .unit_list_ul li[data-disp_val="0"],
.unit_list_table tbody.chara_tbody[data-disp_val="0"],
.unit_list_table2 tr.chara_tr[data-disp_val="0"],
.custom_core_table tbody.custom_core_tbody[data-disp_val="0"] {
    display: none;
}

.weapon_effect_wrapper {
    margin: 0px 0px 5px 0px;
}
.weapon_name {

}
.weapon_elem_wrapper {
}
.weapon_elem {
    display: inline-block;
    padding: 0px 8px;
    border-radius: 20px;
    font-size: 11px;
    margin: 1px 2px;
    font-weight: bold;
}
.weapon_elem[data-type="射撃"] {
    background: #79612b;
    border: 2px solid #a79440;
    color: #fff;
}
.weapon_elem[data-type="格闘"] {
    background: #861d1e;
    border: 2px solid #A94143;
    color: #fff;
}
.weapon_elem[data-type="覚醒"] {
    background: #3d3295;
    color: #fff;
    border: 2px solid #6c60db;
}
.weapon_elem[data-type="ビーム"] {
    background: #4cab7b;
    text-shadow: 0px 0px 2px #3e9669;
    color: #fff;
    border: 2px solid #5fc793;
}
.weapon_elem[data-type="物理"] {
    background: #de8e0e;
    text-shadow: 0px 0px 2px #c9800a;
    color: #fff;
    border: 2px solid #ea9b1d;
}
.weapon_elem[data-type="特殊"] {
    background: #2b64c3;
    color: #fff;
    border: 2px solid #4783e9;
}
.weapon_pow {
    margin: 3px 0px;
    border-bottom: 1px dashed #b8b8b8;
}
.weapon_effect {
    background: #ecebeb;
    padding: 5px;
    border-radius: 2px;
    margin: -1px 0px 5px 0px;
}

.weapon_effect_wrapper[data-disp_val="0"],
.unit_tbody[data-disp_val="0"],
.unit_list_table tr.stage_tr[data-disp_val="0"] {
    display: none;
}

.reward_ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: center;
}
.reward_ul li {
    margin: 2px 1px;
    width: calc(100% / 10 - 2px);
}

.stage_icon_wrapper {
    position: relative;
    width: 50px;
    margin: auto;
}
.stage_label {
    position: absolute;
    bottom: 0px;
    left: calc(100% / 2 - 25px);
    font-size: 11px;
    color: #7fa9ff;
    background: #222222a6;
    width: 50px;
    font-weight: bold;
}
.stage_label[data-type="ノーマル"] {
    color: #97beff;
}
.stage_label[data-type="ハード"] {
    color: #F2735F;
}

/* .gundam_tag {
    padding: 2px 8px;
    border: 2px solid #405fb0;
    border-radius: 2px;
    margin: 4px 2px;
} */
.sort_table input[type='radio'] {
    display: none;
}
.sort_table th div label {
    display: inline-flex;
    border-radius: 20px;
    border: 2px solid #dcdcdc;
    background-color: #fafafa;
    padding: 2px 4px;
    font-size: 10px;
    width: 70px;
    justify-content: center;
    cursor: pointer;
}
.sort_table th div input:checked + label {
    background-color: #fff !important;
    border: 2px solid #FE3600 !important;
}

@media (max-width:414px) {
    .reward_ul li {
        width: calc(100% / 8 - 2px);
    }
} 