.fgo_gacha_calendar_by_days *{
    box-sizing: border-box;
}

.fgo_flex_box span{
    display: inline-block;
    width: 40px;
    height: 40px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.fgo_gacha_calendar_by_days tr.hidden{

}

.fgo_gacha_calendar_by_days tr.disp_all_table > td{
    cursor: pointer;
    text-align: center;
    font-weight: bold;
    padding: 10px 0;
    background: #f6f6f6;
    font-size: 13px;
}

.fgo_gacha_calendar_by_days td.timestamp{
    font-weight: bold;
    text-align: center;
    width: 100px;
}

.fgo_gacha_calendar_by_days .td_replace{
    padding: 4px 8px;
    border-top: 1px dotted #ccc;

    position: relative;
    overflow: hidden;
}
.fgo_gacha_calendar_by_days .td_replace:first-child{
    border-top: none;
}
.fgo_gacha_calendar_by_days .td_replace::before{
    content: "星5";
    font-weight: bold;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}
.fgo_gacha_calendar_by_days .td_replace[data-rare="4"]::before{
    content: "星4以下";
}


.fgo_gacha_calendar_by_days .fgo_flex_box{
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}


.fgo_gacha_calendar_by_days .timestamp div[data-day="土"] span{
    color: blue;
}
.fgo_gacha_calendar_by_days .timestamp div[data-day="日"] span{
    color: red;
}


.fgo_gacha_calendar_by_days td:has(.fgo_flex_box){
    padding: 0;
}


.shorter_contents_container {
    position: relative;
    overflow: hidden;
}
.shorter_contents_fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent 30%, white 70%);
}
.shorter_contents_button{
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    width: fit-content;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ff7220;
    background: none;
    border: none;
    font-weight: bold;
    padding: 12px 0;
    cursor: pointer;
    line-height: 1;
    min-width: 80px;
}