@charset 'UTF-8';
/* -------------------------------------------------------------
    デフォルトCMS   TOP お知らせ   ※編集不可
-------------------------------------------------------------- */
/* -------------------------------------------------------------
    ninews
-------------------------------------------------------------- */


/* -------------------------------------------------------------
    標準仕様
-------------------------------------------------------------- */
#top .ninews-area .ninews-inner {
    align-items: center;
    display: flex;
    position: relative;
}

#top .ninews-area .ninews-head {
    flex-shrink: 0;
}

#top .ninews-area .ninews-head-link {
    align-items: center;
    display: flex;
    justify-content: center;
    width: fit-content;
}

#top .ninews-area .ninews-item a {
    align-items: center;
    display: flex;
}

#top .ninews-area .ninews-elements {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
}

#top .ninews-area .ninews-date {
    flex-shrink: 0;
}

#top .ninews-area .ninews-title {
    flex-grow: 1;
}

@media screen and (max-width: 768px) {

    #top .ninews-area .ninews-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #top .ninews-area .ninews-elements {
        flex-wrap: wrap;
    }

    #top .ninews-area .ninews-inner {
        display: block;
    }

    #top .ninews-area .ninews-title {
        display: block;
        width: 100%;
    }

}


/* -------------------------------------------------------------
    ninews-no-thumb   サムネイルなし
-------------------------------------------------------------- */
#top .ninews-no-thumb .ninews-title::before {
    position: absolute;
    transition: .5s;
    z-index: 2;
}

#top .ninews-no-thumb .ninews-item a {
    position: relative;
}

#top .ninews-no-thumb .ninews-title {
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

@media screen and (max-width: 768px) {

    #top .ninews-no-thumb .ninews-item a {
        display: block;
    }

    #top .ninews-area .ninews-title::before {
        right: 0;
    }
    
    #top .ninews-no-thumb .ninews-date {
        width: auto;
    }
}


/* -------------------------------------------------------------
    ninews-have-thumb   サムネイルあり
-------------------------------------------------------------- */
#top .ninews-have-thumb.ninews-list{
    display: flex;
    flex-wrap: wrap;
}

#top .ninews-thumb__img{
    flex-shrink: 0;
    overflow: hidden;
}

#top .ninews-thumb__elements {
    display: flex;
    flex-direction: column;
}

#top .ninews-have-thumb .ninews-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

@media screen and (max-width: 768px) {

    #top .ninews-thumb__elements {
        flex-grow: 1;
    }

}



/* -------------------------------------------------------------
    
-------------------------------------------------------------- */


@media screen and (max-width: 768px) {

}



