﻿

/* 結果數量 */
div.numOfResult {
    font-weight: 700;
    text-align : right;
}

/* 無活動告示 */
.noActivity
{
    color : #ff0000;
    font-size : larger;
}


.allActivityContainer {
    border-radius: 3rem;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;

    margin-bottom: 2rem;
}

.eachActivity {
    flex-basis: 30%;
    padding: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content : flex-start;
}

    .eachActivity .coverLink {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
    }

    .eachActivity .thumbImg {
        max-width: 100%;
        border-radius: 1rem;
    }

    .eachActivity .coverLink:hover ~ .thumbImg {
        transform: scale(1.02);
        transition: .3s ease-in-out;
    }

    .eachActivity .text {
        padding: 1em 0;
    }

    .eachActivity .date {
        font-size: 0.8em;
        display: block;
        line-height: 2em;
    }

    .eachActivity .name {
        display: block;
        font-weight: 800;
    }    




@media (max-width: 480px) {
    .condition > *
    {
        margin-bottom : 0.5rem;
    }

    .allActivityContainer {
        display: block;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .eachActivity {
        flex-basis: 46%;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .eachActivity {
        flex-basis: 46%;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
    .eachActivity {
        flex-basis: 30%;
    }
}

@media (min-width: 1200px) and (max-width:1919px) {
    .eachActivity {
        flex-basis: 30%;
    }
}

@media (min-width: 1920px) {
    .eachActivity {
        flex-basis: 24%;
    }
}



