#fgo_level_checker *{
    box-sizing: border-box;
}
#fgo_level_checker .single_servant{
    display: none;
}
#fgo_level_checker .single_servant[data-checked="checked"]{
    display: flex;
    justify-content: left;
    align-items: stretch;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}
#fgo_level_checker .single_servant > div{
    width: 30%;
    text-align: center;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 4px;
}
#fgo_level_checker .single_servant > div img{
    width: 50px;
}
#fgo_level_checker .single_servant > div .name{
    font-size: 10px;
    width: 100%;
    font-weight: bold;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}
#fgo_level_checker .single_servant > div .button_container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}
#fgo_level_checker .single_servant > div .button_container > button{
    cursor: pointer;
    width: calc(100% - 22px - 4px);
    border: 2px solid #2c4378;
    border-radius: 5px;
    background: #ffffff;
    font-weight: bold;
    font-size: 11px;
    line-height: 1;
    padding: 0;
}
#fgo_level_checker .single_servant > div .button_container > button[data-function="reset"]{
    font-family: FontAwesome;
    width: 22px;
    height: 22px;
    border: none;
    border-radius: 11px;
    background: #f6f6f6;
    color: #2c4378;
    line-height: 1;
}
#fgo_level_checker .single_servant > div .button_container > button[data-function="reset"]:before {
    content: "\f0e2";
}
#fgo_level_checker .single_servant > ul{
    width: 35%;
    border-left: 1px solid #ccc;
}

#fgo_level_checker .single_servant > ul > li{
    border-bottom: 1px solid #ccc;
    line-height: 1;
    font-size: inherit;
    font-weight: inherit;
    display: flex;
    align-items: stretch
}
#fgo_level_checker .single_servant > ul > li:last-child{
    border-bottom: none;
}
#fgo_level_checker .single_servant > ul > li:before{
    content: attr(data-key);
    text-align: center;
    width: 40%;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f6f6f6;
    border-right: 1px solid #ccc;
    box-sizing: border-box;
}
#fgo_level_checker .single_servant > ul > li > input{
    width: calc(60% - 8px);
    margin: 4px;
}

#fgo_level_checker .filter_container{
    padding: 10px 0;
}
#fgo_level_checker .filter_container > ul{
    display: flex;
    justify-content: space-between;
}
#fgo_level_checker .filter_container > ul > li{
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    line-height: inherit;
}
#fgo_level_checker .filter_container > ul[data-filter="disp_class"] > li{
    width: calc(100% / 9);
    box-shadow: 0px 1px 1px rgb(255 255 255 / 30%) inset;
    padding: 7px 0px;
    color: #a3a3a3;
    border: 1px solid rgba(129,129,129,0.3);
    border-right: none;
    border-bottom: 2px solid #37434f;
    background: #f6f6f6;
    font-size: 12px;
}
#fgo_level_checker .filter_container > ul[data-filter="disp_class"] > li:last-child{
    border-right: 1px solid rgba(129,129,129,0.3);
}
#fgo_level_checker .filter_container > ul[data-filter="disp_class"] > li[data-checked="checked"]{
    background: #6495ed;
    color: #ffffff;
}
#fgo_level_checker .filter_container > ul[data-filter="rarity"] > li{
    width: calc(100% / 6 - 4px);
    border: 2px solid #2a437a;
    color: #2a437a;
    text-align: center;
    font-size: 12px;
    line-height: 1;
    font-weight: bold;
    padding: 6px 0;
    border-radius: 6px;
}
#fgo_level_checker .filter_container > ul[data-filter="rarity"] > li[data-checked="checked"]{
    background: #2a437a;
    color: #ffffff;
}
#fgo_level_checker .filter_container > ul > li > img{
    width: 30px;
}
#fgo_level_checker .calc_trigger_dom{
    top: 0;
    z-index: 99999998;
    background: #ffffff;
}
#fgo_level_checker .calc_trigger_dom > .result_container > table{
    margin: 0;
}

#fgo_level_checker .calc_trigger_dom > button{
    width: 100%;
    line-height: 1;
    font-weight: bold;
    text-shadow: 1px 1px 4px #000000;
    border: 2px solid #d8aa2a;
    color: #fff;
    background: linear-gradient(to right, rgba(54,85,151,1) 0%,rgba(26,46,89,1) 50%,rgba(54,85,151,1) 100%);
    position: relative;
    overflow: hidden;
    font-size: 12px;
    border-radius: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
#fgo_level_checker .calc_trigger_dom > button:before,
#fgo_level_checker .calc_trigger_dom > button:after{
    position: absolute;
    content: "";
    background: url(https://appmedia.jp/wp-content/themes/appmedia/lib/fategrandorder/images/img/h2_bg.png);
    width: 50px;
    height: 50px;
    background-size: 50px;
    display: block;
    bottom: 0;
}
#fgo_level_checker .calc_trigger_dom > button:before{
    left: 0;
}
#fgo_level_checker .calc_trigger_dom > button:after{
    right: 0;
}
#fgo_level_checker .calc_trigger_dom > button > span{
    font-size: 16px;
    margin: 0 5px;
}

#fgo_level_checker .servant_container .no_result{
    border: 1px solid #ff0000;
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
}

#fgo_level_checker .function_button_container{
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#fgo_level_checker .function_button_container:before{
    content: "クラス一括操作：";
    font-size: 12px;
    width: 30%;
    text-align: center;
}
#fgo_level_checker .function_button_container > button{
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    padding: 5px 0;
    font-weight: bold;
    border: 2px solid #2a437a;
    background: #f6f6f6;
    color: #2a437a;
}
#fgo_level_checker .function_button_container > button[data-function="reset"]{
    width: calc(25% - 10px);
}
#fgo_level_checker .function_button_container > button[data-function="auto"]{
    width: calc(45% - 10px);
}