/*------------
main
----------------------------------------------------------------*/

.page-header .bg{
    padding:6.74vw 0 6.25vw 0;
}
.page-header h1{
    text-align: center;
    color:white;
}

.news-container{
    width:78.47vw;
    margin:6.67vw auto 5.42vw auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.news-container article{
    width:36.81vw;
}
.news-container article:nth-of-type(n+3){
    margin-top:4.58vw;
}
.news-container article a{
    text-decoration: none;
    color:black;
    transition: .3s;
}
.news-container article a:hover{
    opacity: .8;
}
.news-container article img{
    width:100%;
    height:23.61vw;
    object-fit: cover;
}
.news-container article .tag-date,
.post-container .news-content .tag-date{
    display: flex;
    align-items: center;
    font-size: 1.11vw;
    font-weight: 600;
    margin-top:1.11vw;
}
.news-container article .tag,
.post-container .news-content .tag{
    background-color: #F2FAFF;
    width:7.08vw;
    padding:0.07vw 0;
    text-align: center;
    margin-right:0.97vw;
}
.news-container article .title,
.post-container .news-content .title{
    font-size: 1.67vw;
    font-weight: 700;
    margin-top:0.9vw;
}


/*投稿ページ*/
.post-container{
    width:55.69vw;
    margin:6.67vw auto;
}
.post-container img{
    width:100%;
    height:35.69vw;
    object-fit: cover;
    margin:3.82vw 0;
}

.post-text{
    width:100%;
}



.post-link{
    display: flex;
    align-items: center;
    justify-content: center;
    margin:6.94vw 0 7.15vw 0;
}
/*前後のページ矢印*/
.post-link .arrow-prev a,
.post-link .arrow-next a{
    display: inline-block;
    width:3.54vw;
    height:3.54vw;
    border-radius: 99999px;
    background-color: #0048AF;
    margin:0 2.57vw;
}

.post-link .post-arrow-prev,
.post-link .post-arrow-next{
    position: relative;
    display: inline-block;
    width: 0.89vw;
    height: 1.51vw;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
  }
  
.post-link .post-arrow-prev::before,
.post-link .post-arrow-prev::after ,
.post-link .post-arrow-next::before,
.post-link .post-arrow-next::after{
    content: "";
    position: absolute;
    top: calc(50%);
    left: 0;
    width: 1.14vw;
    height: 0.28vw;
    border-radius: 9999px;
    background-color: white;
    transform-origin: 0.14vw 50%;
  }
  
.post-link .post-arrow-prev::before,
.post-link .post-arrow-next::before {
    transform: rotate(45deg);
  }
  
.post-link .post-arrow-prev::after,
.post-link .post-arrow-next::after {
    transform: rotate(-45deg);
  }
  
.post-link .post-arrow-next::before,
.post-link .post-arrow-next::after {
    top: calc(50% - 0.14vw);
    right: 0;
    transform-origin: calc(100% - 0.14vw) 50%;
  }
  
  

/*詳しく見るボタン*/
.post-link .view-btn{
    width:25.97vw;
    position: relative;
    margin:0;
}
.post-link .view-btn a{
    display:inline-block;
    width:100%;
    padding:1.6vw 0;
    background-color: #0048AF;
    text-decoration: none;
    font-weight: 700;
    color:white;
    text-align: center;
    transition: .3s;
}
.post-link .view-btn a:hover{
    opacity: .8;
}

.post-link .arrow {
    position: relative;
    display: inline-block;
    right:-4vw;
    width: 1.6vw;
    height: 0.21vw;
    margin: 0.54vw 0;
    border-radius: 9999px;
    background-color: white;
}
  
.post-link .arrow::before,
.post-link .arrow::after {
    content: "";
    position: absolute;
    top: calc(50% - 0.1vw);
    right: 0;
    width: 0.97vw;
    height: 0.21vw;
    border-radius: 9999px;
    background-color: white;
    transform-origin: calc(100% - 0.1vw) 50%;
}
  
.post-link .arrow::before {
    transform: rotate(45deg);
}
  
.post-link .arrow::after {
    transform: rotate(-45deg);
}



/*page-nation*/
.page-nation{
    width:22.22vw;
    margin:0 auto 7.5vw auto;
    text-align: center;
}
.wp-pagenavi {
    display: flex;
    justify-content: center;
    align-items: center;
}
.wp-pagenavi a{
    border:none;
}
.wp-pagenavi .page,
.wp-pagenavi .current{
    text-decoration: none;
    color: black;
    margin: 0 1.18vw;
}
/*矢印*/
.previouspostslink,
.nextpostslink{
    display: inline-block;
    background-color: #0048AF;
    border-radius: 99999px;
    width: 3.54vw;
    height: 3.54vw;
    position: relative;
}
.previouspostslink{
    margin-right:1.67vw;
}
.nextpostslink{
    margin-left:1.67vw;
}
.previouspostslink i,
.nextpostslink i{
    font-size: 2vw;
    color:white;
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}




/*----------------------------------------------------------------------------
レスポンシブ
------------------------------------------------------------------------------*/

@media(max-width:768px){

     /*------------
    main
    ----------------------------------------------------------------*/
    .page-header .bg{
        padding:11.28vw 0 11.03vw 0;
    }

    .news-container{
        width:91.79vw;
        margin:10.77vw auto 9.23vw auto;
        flex-flow: column;
    }
    .news-container article{
        width:100%;
    }
    .news-container article:nth-of-type(n+2){
        margin-top:9.49vw;
    }
    .news-container article img{
        height:56.67vw;
    }
    .news-container article .tag-date,
    .post-container .news-content .tag-date{
        font-size: 3.08vw;
        margin-top:5.13vw;
    }
    .news-container article .tag,
    .post-container .news-content .tag{
        width:15.642vw;
        margin-right:2.56vw;
    }
    .news-container article .title,
    .post-container .news-content .title{
        font-size:5.13vw;
        font-weight: 600;
        margin-top:1.28vw;
    }


    /*投稿ページ*/
    .post-container{
        width:91.79vw;
        margin:11.03vw auto;
    }
    .post-container img{
        height:56.41vw;
        margin:3.59vw 0 5.13vw 0;
    }

    
    .post-link{
        margin:12.31vw 0 17.97vw 0;
    }

    /*前後のページ矢印*/
    .post-link .arrow-prev a,
    .post-link .arrow-next a{
        width:7.69vw;
        height:7.69vw;
        margin:0 2vw;
    }

    .post-arrow-prev,
    .post-arrow-next{
        width:7.69vw;
        height:7.69vw;
    }
    
    .post-arrow-prev::before,
    .post-arrow-prev::after ,
    .post-arrow-next::before,
    .post-arrow-next::after{
        width: 3.14vw;
        height: 0.8vw;
        top: calc(46%);
    }
    .post-arrow-prev::before,
    .post-arrow-prev::after{
        left:30%;
        transform-origin: 0.3vw 50%;
    }
    .post-arrow-next::before,
    .post-arrow-next::after{
        left:30%;
        transform-origin: calc(100% - 0.3vw) 50%;
    }
    

    /*詳しく見るボタン*/
    .post-link .view-btn{
        width:46.15vw;
    }
    .post-link .view-btn a{
        padding:2.82vw 0 3.08vw 0;
        font-weight: 800;
        font-size: 3.08vw;
    }

    .post-link .view-btn .arrow {
        right:-4vw;
        top:.5vw;
        width: 5.13vw;
        height:0.51vw;
        margin: 1.95vw 0;
        border-radius: 0 99px 99px 0;
    }
    
    .post-link .view-btn .arrow::before,
    .post-link .view-btn .arrow::after {
        top: calc(50% - 0.26vw);
        width: 3.08vw;
        height: 0.51vw;
        transform-origin: calc(100% - 0.13vw) 50%;
    }



    /*page-nation*/
    .page-nation{
        width:92.05vw;
        margin:0 auto 17.95vw auto;
    }
    .wp-pagenavi .page,
    .wp-pagenavi .current{
        margin: 0 3.59vw;
    }
    /*矢印*/
    .previouspostslink,
    .nextpostslink{
        width: 7.69vw;
        height: 7.69vw;
    }
    .previouspostslink{
        margin-right:0vw;
    }
    .nextpostslink{
        margin-left:0vw;
    }
    .previouspostslink i,
    .nextpostslink i{
        font-size: 5vw;
    }
}

