﻿
/* Index News-list装飾 */
.shortnotice-list ul {
    list-style: none outside;
    margin: 0;
    padding: 0;
}

.shortnotice-list h5 {
    color: black;
}


.shortnotice-list .item span {
    display: flex;
    /*
    flex-wrap: wrap;
    flex-wrap: nowrap;
    */
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #CCC;
    padding: 20px 20px;
}
@media screen and (min-width: 768px) {
    .shortnotice-list .item span {
        flex-wrap: nowrap;
    }
}

/* Styles that apply to devices with a width less than 768px (typically smartphones) */
@media screen and (max-width: 767px) {
    .shortnotice-list .item span {
        flex-wrap: wrap;
    }
}

.shortnotice-list .item:first-child span {
    border-top: 1px solid #CCC;
}

.shortnotice-list .item .date {
    margin: 0;
    min-width: 140px;
    padding: 0 20px 0 0;
    line-height: 32px;
}

.shortnotice-list .item .category {
    margin: 0;
    min-width: 140px;
    line-height: 32px;
}

.shortnotice-list .item .category span {
    background: #dc98b8;
    color: #FFF;
    text-align: center;
    display: inline-block;
    padding: 5px 20px;
    line-height: 1;
}

.shortnotice-list .item .title {
    margin: 0;
    width: 100%;
    line-height: 32px;
}

.shortnotice-list .item a:hover .title {
    color: #ab2664;
    padding: 10px;
}

@media screen and (max-width: 767px) {
    .shortnotice-list .item a {
        flex-wrap: wrap;
    }

    .shortnotice-list .item .date {
        min-width: 100px;
    }

    .shortnotice-list .item .title {
        margin-top: 10px;
    }
}
