.main_content > .card {
    min-height: 80vh;
}

/* スタイルの定義 */
.cell_container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    min-width: 160px;
}

.cell {
    width: 50%;
    height: 50%;
    border: 1px solid #CED3DC;
    box-sizing: border-box;
    position: relative;
}

.cell_1 {
    border-radius: 10px 0 0 0;
}

.cell_2 {
    border-radius:0 10px 0 0;
}

.cell_9 {
    border-radius:0 0 0 10px;
}

.cell_10 {
    border-radius:0 0 10px 0;
}

.cell_1:hover, .cell_2:hover, .cell_3:hover, .cell_4:hover,.cell_5:hover, .cell_6:hover {
    cursor: pointer;
}


.cell:before {
    content: "";
    display: block;
    padding-top: 100%;
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
}

.icon i::before{
    font-size: 40px;
    color: #D2D7DF;
}

.blink {
    animation: blinker 1s linear infinite;
}

.add_unit_button {
    border: 1.5px solid #49A2DF;
    background-color:#49A2DF;
    color: white;
    margin-bottom: 12px;
    font-size: 18px;
    width: 100%;
}

.add_request_button {
    margin-bottom: 12px;
    font-size: 18px;
    width: 100%;
}

.add_unit_button:hover, .add_unit_button:first-child:active {
    border: 1.5px solid #49A2DF;
    background-color:white;
    color:#49A2DF;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.title {
    margin-top: 10px;
    font-size: 14px;
    color: #D2D7DF;
}

.selected_cell .icon i::before {
    color: #49A2DF;
    font-size: 42px;
}

.selected_cell .title {
    margin-top: 10px;
    font-weight: bold;
    font-size: 15px;
    color: #49A2DF;
}

table {
    overflow-y: scroll;
}

.form-control {
    background-color: #FFF;
}

.form-check-input {
    background-color: #FFF;
}

@media screen and (max-width: 1540px) {
    .title {
        font-size: 13px;
    }

    .selected_cell .title{
        font-size: 14px;
    }

    .icon i::before  {
        font-size: 38px;
    }

    .selected_cell .icon i::before {
        color: #49A2DF;
        font-size: 39px;
    }    
}

@media screen and (max-width: 1440px) {
    .title {
        font-size: 11px;
    }

    .selected_cell .title{
        font-size: 12px;
    }

    .icon i::before  {
        font-size: 36px;
    }

    .selected_cell .icon i::before {
        color: #49A2DF;
        font-size: 37px;
    }    
}

@media screen and (max-width: 1340px) {
    .title {
        font-size: 10px;
    }

    .selected_cell .title{
        font-size: 11px;
    }

    .icon i::before  {
        font-size: 34px;
    }

    .selected_cell .icon i::before {
        color: #49A2DF;
        font-size: 35px;
    }    

    .add_unit_button, .add_request_button {
        font-size: 12px;
    }
    
    .add_unit_button:hover, .add_unit_button:first-child:active {
        font-size: 12px;
    }
}

@media screen and (max-width: 1240px) {
    .title {
        font-size: 9px;
    }

    .selected_cell .title{
        font-size: 10px;
    }

    .icon i::before  {
        font-size: 32px;
    }

    .selected_cell .icon i::before {
        color: #49A2DF;
        font-size: 33px;
    }    
}

@media screen and (max-width: 1140px) {
    .title {
        font-size: 8px;
    }

    .selected_cell .title{
        font-size: 9px;
    }

    .icon i::before  {
        font-size: 30px;
    }

    .selected_cell .icon i::before {
        color: #49A2DF;
        font-size: 31px;
    }    
}


@media screen and (max-width: 991px) {
    .nav_f_size {
        font-size: 12px;
    }

}

.ad_button:not(:disabled) {
    border:none;
    margin-bottom: 5px;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.ad_button:hover {
    /* サイズを少し大きく */
    background-color: rgba(0, 0, 0, 0.1);
}

#removeBannerButton {
    z-index: 1080;
}



