.warp {
    margin: 10px auto 0;
    width: 90%;
    height: auto;
    background: #2E2E2E;
    overflow-y: auto;
    box-shadow: 0 0 30px 5px #2e2e2eb3;
}

/*選択メニュー*/
.list-set {
    border-bottom: 1px solid #FFFFFF;
    padding: 1em;
}

.list-set li {
    display: inline-block;
    margin-right: 1em;
    font-size: clamp(16px, 1vw, 20px);
    font-weight: bold;
}

.list-set li:last-child {
    margin-right: 0;
}

.list-set li a {
    text-decoration: none;
    color: #777777;
}

.list-set li a:hover {
    color: #fff;
}

.list-set li.active a {
    color: #fff;
}

/*メインボックス*/
.mainbox {
    height: calc(100% - 120px);
    width: 100%;
    overflow-y: auto;
}

.mainbox ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mainbox li {
    width: 49%;
    padding: 1em;
    box-sizing: border-box;
    border-bottom: 1px solid #FFFFFF;
    list-style: none;
}

.mainbox li:nth-child(odd) {
    margin-right: 2%;
    border-right: 1px solid #FFFFFF;
}

.mainbox li:nth-child(even) {
    border-left: 1px solid #FFFFFF;
}

.mainbox li a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mainbox li .category {
    color: #fff;
    font-size: clamp(20px, 1vw, 26px);
    ;
    padding: 5px;
    width: 130px;
    text-align: center;
}

.mainbox li .text {
    font-size: clamp(12px, 1vw, 18px);
    color: #fff;
    margin-left: 1em;
    line-height: 1.5;
}

.mainbox li.notice .category {
    background: #FF3E3E;
}

.mainbox li.event .category {
    background: #3EA5FF;
}

.mainbox li.goods .category {
    background: #FFC400;
}

/*ページネーション*/
.pagination {
    border-top: 1px solid #fff;
    text-align: center;
    padding: 1em 0;
    font-size: 20px;
}


.pagination li:last-child {
    margin-right: 0;
}

.page-numbers {
    color: #fff;
    font-size: clamp(14px, 1vw, 18px);
    margin-right: 0.5em;
}

.current {
    color: #FF3E3E;
}

.pagination li.active a {
    color: #FF3E3E;
}

/*下部ページ用*/
.noscroll {
    overflow: hidden;
}

.articlebox {
    height: 100%;
}

.articlebox .titlebox {
    border-bottom: 1px solid #FFFFFF;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
}

.articlebox .titlebox .title {
    font-size: 35px;
}

.articlebox .titlebox .deta {
    font-size: 20px;
}

.articlebox .informationbox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em;
    height: calc(100% - 100px);
}

.articlebox .informationbox .imgbox,
.articlebox .informationbox .textbox {
    width: 48%;
    margin: 1%;
}

.articlebox .informationbox .imgbox img {
    width: 100%;
    height: auto;
}

.articlebox .informationbox .textbox {
    color: #fff;
    line-height: 1.5;
    box-sizing: border-box;
    height: 100%;
    padding: 2em;
    border-left: 1px solid #fff;
}

.articlebox .informationbox .textbox p {
    overflow-y: auto;
    height: 100%;
}

/*850px以下　SP・Tab表示処理*/
@media screen and (max-width: 850px) {
    .warp {
        height: 100%;
    }

    .sp-list-set {
        width: 100%;
        overflow-x: scroll;
    }

    .list-set {
        width: inherit;
    }

    .list-set li {
        margin-right: 0.5em;
    }

    .mainbox ul {
        display: block;
    }

    .mainbox li {
        width: 100%;
    }

    .mainbox li:nth-child(odd) {
        border-right: none;
    }

    .mainbox li:nth-child(even) {
        border-left: none;
    }

    .mainbox li a {
        display: block;
    }

    .mainbox li .category {
        font-size: 18px;
        margin-bottom: 0.5em;
    }

    .mainbox li .text {
        font-size: 14px;
    }

    /*ここから詳細ページ*/
    .articlebox .titlebox {
        display: block;
    }

    .articlebox .titlebox .title {
        font-size: 18px;
    }

    .articlebox .titlebox .date {
        margin-top: 1em;
        text-align: right;
        font-size: 0.8em;
    }

    .articlebox .informationbox {
        display: block;
    }

    .articlebox .informationbox .imgbox,
    .articlebox .informationbox .textbox {
        width: 98%;
        margin: 2% 1%;
        margin-bottom: 2em;
    }

    .articlebox .informationbox .textbox {
        padding: 1em;
        border-left: none;
        font-size: 0.8em;
    }
}