.cate {
    display: flex;
}


.cateList {
    display: flex;
    margin-bottom: 50px;
}

.cateList li a {
    padding: 5px 10px;
    font-size: 15px;
}

.newsContent {
    border-bottom: solid 2px #808080;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

.newsContent h2{
    font-size: 17px;
}


.newsContent a{
    display: flex;
    justify-content: space-between;
    row-gap: 30px;
    column-gap: 65px;
}

.newsContent:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #F5A52C 0%, #EC4451 100%);
    border-image-slice: 1;
    bottom: -1.5px;
    width: 20%;
}

.newsContent figure{
    max-width: 340px;
}

.newsContent figure img {
    width: 100%;
    height: auto;
}

.dateCate {
    display: flex;
    margin-bottom: 20px;    
}

.dateCate a{
    display: flex;
    column-gap: 120px;
}

.dateCate p:nth-child(1) {
    margin-right: 10px;
}
.dateCate p:nth-child(2) {
    background-color: black;
    color: #FFFFFF;
}
.dateCate + h2 {
    margin-bottom: 10px;
}

 .pagenation {
    margin: 0 auto 50px;
}

.cate a{
    color: #FFFFFF;
    padding: 0px 4px;
}

/* ページネーション後付け */

.page-numbers {
    display: flex;
    justify-content: center;
    align-content: stretch;
    flex-basis: 100%;
    margin-top: 40px;
    margin-bottom: 60px;
}

ul.pagination li a {
    color: #ffffff;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ffffff;
    margin: 0 4px;
    background-color: #cc4454;
}


.page-numbers li span {
    padding: 8px 16px;
    background-color: #ffffff;
    color: #cc4454;
    border: 1px solid #cc4454;
    margin: 0px 7px;
}

.screen-reader-text {
    display: none;
}

/* ページネーション後付け */

.current {
    /* color: #AC7161; */
    position: relative;
}

.current::after {
    content: "";
    /*絶対配置で線の位置を決める*/
    position: absolute;
    bottom: 0;
    left: 17%;
    /*線の形状*/
    width: 65%;
    height: 2px;
    background: #cc4454;
    /*アニメーションの指定*/
    transition: all 0.3s;
    transform: scale(0, 1);
    /*X方向0、Y方向1*/
    transform-origin: center top;
    /*上部中央基点*/
    transform: scale(1, 1);
}


@media screen and (max-width: 768px) {

 /* ページネーション後付け */

 .page-numbers {
    display: flex;
    justify-content: center;
    align-content: stretch;
    flex-basis: 100%;
    margin-top: 40px;
    margin-bottom: 60px;
}

ul.pagination li a {
    color: #ffffff;
    float: left;
    padding: 8px 10px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ffffff;
    margin: 0 4px;
    background-color: #cc4454;
}


.page-numbers li span {
    padding: 8px 8px;
    background-color: #ffffff;
    color: #cc4454;
    border: 1px solid #cc4454;
    margin: 0px 6px;
}

.screen-reader-text {
    display: none;
}

/* ページネーション後付け */

.newsContent {
    border-bottom: solid 1.5px #808080;
    position: relative;
    margin-bottom: 45px;
    padding-bottom: 0px;
}

.newsContent h2{
    font-size: 15px;
}

.newsContent figure{
    max-width: 100%;
}

.newsContent a{
    display: flex;
    row-gap: 30px;
    column-gap: 65px;
    flex-direction: column;
}

.dateCate {
    display: flex;
    margin-bottom: 20px;    
}


.dateCate a{
    display: flex;
    column-gap: 120px;
    flex-direction: column;
    row-gap: 30px;
}

.dateCate p:nth-child(1) {
    margin-right: 10px;
}
.dateCate p:nth-child(2) {
    background-color: black;
    color: #FFFFFF;
}
.dateCate + h2 {
    margin-bottom: 10px;
}

.newsContent:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: 1.5px solid;
    border-image: linear-gradient(to right, #F5A52C 0%, #EC4451 100%);
    border-image-slice: 1;
    bottom: -1.5px;
    width: 20%;
}

.cateList li a {
    padding: 5px 10px;
    font-size: 11px;
}

}


