/*
    新着情報用
*/

.news-latest {
    position: absolute;

    bottom: 90px;
    max-width: 530px;
    min-width: 300px;
    border-bottom: 1px solid rgb(100, 100, 100);
    background-color: rgba(17, 25, 72, 0.6);
}

/*新着情報全体*/
.news-container {
    max-width: 530px;
    min-width: 300px;

    margin: 0 auto;
    padding-top: 30px;
    /*border:5px solid #000;*/
    /*height:100px;*/
}

/*新着情報単位*/
.news-item {
    padding: 1rem;
    /*border:5px solid #f00;*/
}

/*新着情報　カテゴリと日付*/
.news-header {
    display: flex;
    align-items: center;
    /* 縦方向の中央揃え */
    margin-bottom: 0.5rem;
    padding: 0px;
    /*border:5px solid #0f0;*/
}

.news-category {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    width: 150px;
    text-align: center;
    border-radius: 4px;
    padding-bottom: 3px;
    /*border:5px solid #000;*/
}

.news-date {
    font-weight: bold;
    font-size: 16px;
    text-align: left;
    margin-left: 30px;
    /*    filter: drop-shadow(0 0 2px #4335bd);*/
    filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));
    /*    border:5px solid #00F;*/
}

.news-content {
    text-align: left;
    font-size: 14px;
    line-height: 1.5;
    margin-left: 180px;
    filter: drop-shadow(1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px 1px rgb(67, 53, 189, 0.5)) drop-shadow(-1px 0px rgb(67, 53, 189, 0.5)) drop-shadow(0px -1px rgb(67, 53, 189, 0.5)) drop-shadow(0px 0px 15px rgb(67, 53, 189, 1));
    /*border:5px solid #000;*/
}

/* モバイル向けスタイル */
@media (max-width: 768px) {
    .news-content {
        margin-left: 0px;
    }

    .news-latest {
        position: absolute;
        left: 5%;
        bottom: 40px;
        width: 90%;
        border-bottom: 1px solid rgb(100, 100, 100);
        background-color: rgba(17, 25, 72, 0.6);
    }
}

.news-category.category-home {
    background-color: #F64D3E;
}

.news-category.category-news {
    background-color: #FB7CFF;
}

.news-category.category-company {
    background-color: #7D69FF;
}

.news-category.category-products {
    background-color: #2ADFF0;
}

.news-category.category-gallery {
    background-color: #009830;
}

.news-category.category-recruit {
    background-color: #7FD212;
}

.news-category.category-goods {
    background-color: #F3C428;
}


.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-link {
    display: inline-block;
    line-height: 1.5em;
    border-radius: 4px;
    font-size: 15px;

    margin: 0 10px;

    text-align: center;
    padding: 5px 0;

    color: #fff;
    background-color: transparent;

    border: 1px solid #333;

    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;

    width: 30px;
    /*height: 25px;*/

}

.pagination-link.active {
    background-color: #fff;
    color: #333;
}

.pagination-link:hover {
    filter: drop-shadow(0 0 4px rgb(89, 236, 255));
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
}

.pagination-link:first-child {
    margin-right: 10px;
}

.pagination-link:last-child {
    margin-left: 10px;
}


/* モバイル向けスタイル */
@media (max-width: 768px) {
    .pagination {
        margin-left: 30px;
    }
}
