@charset "UTF-8";
/* CSS Document */

/*-----------*/
/* archive.php*/
/*-----------*/
.news_archive {
    width: 1250px;
    margin: auto;
    display: flex;
    text-align: center;
}

.entry_news {
    display: flex;
    flex-wrap: wrap;
    margin-top: 80px;
    width: 980px;
    height: fit-content;
}

.title_article_news {
    font-weight: 600;
    text-align: left;
    font-size: 20px;
}

div.box_news {
    width: auto;
    margin-bottom: 8%;
    border-right: solid #231815 1px;
}
div.box_news:nth-of-type(3n+1) .article_contents{
    padding-left: 0;
    height: auto;
}
div.box_news:nth-of-type(3n) .article_contents{
    padding-right: 0;
    height: auto;
}
div.box_news:nth-of-type(3n) {
    border: 0;
}

.article_contents {
    width: 260px;
    height: 360px;
    padding-left: 50px;
    padding-right: 49px;
    text-align: center;
}

.p_box_news {
    width: 260px;
    height: 120px;
    margin-top: 30px;
    position: relative;
}

.date_news {
    margin-top: 0;
    margin-bottom: 0;
    text-align: right;
    font-family: 'Bahnschrift';
    position: absolute;
    top: 80%;
    right: 0;
}

/*-----------*/
/* index表示用*/
/*-----------*/
.entry_news_top {
    display: flex;
    flex-wrap: wrap;
    margin-top: 80px;
    width: 980px;
    height: fit-content;
}

div.box_news_top:nth-of-type(3n+1) .article_contents_top{
    padding-left: 0;
}
div.box_news_top:nth-of-type(3n) .article_contents_top{
    padding-right: 0;
    border: 0;
}

.article_contents_top {
    width: 260px;
    height: 360px;
    padding-left: 50px;
    padding-right: 49px;
    border-right: solid #231815 1px;
    text-align: center;
}

.title_article_news_top {
    font-weight: 600;
    text-align: left;
}

.p_box_news_top {
    width: 260px;
    height: 120px;
    margin-top: 30px;
    position: relative;
}

.date_news_top {
    margin-top: 0;
    margin-bottom: 0;
    text-align: right;
    font-family: 'Bahnschrift';
    position: absolute;
    bottom: 0;
    right: 0;
}

/*-----------*/
/*single.php*/
/*-----------*/
.news1 {
    width: 980px;
    margin: auto;
    margin-bottom: 80px;
}

.news {
    width: 980px;
    margin: auto;
    display: flex;
}

.article_head {
    display: flex;
    width: 640ox;
}

.article_date {
    width: fit-content;
    padding-right: 20px;
    border-right: solid #C2C2C2 0.75px;
}

.article_category {
    padding-left: 20px;
}

.article_news {
    width: 640px;
    height: auto;
    margin-right: 70px;
}

.pics_article_news {
    width: 640px;
    height: auto;
}

.alt_thumb_pic {
    width: 226px;
    height: 180px;
    margin-left: 50px;
}

.p_article_news {
    width: 640px;
    height: auto;
}

.article_next_previous {
    display: flex;
    width: 640px;
    margin: 20px auto 0 0;
}

.next {
    width: fit-content;
    height: auto;
    margin: 0 0 0 auto;

}

.previous {
    width: fit-content;
    margin: 0 auto 0 0;
}

.img_next_prev {
    width: 5px;
    height: 10px;
    padding: 0 10px 1px 10px;
}

/*-----------*/
/*sidebar.php*/
/*-----------*/
.sidebar_news {
    width: 230px;
    margin: 56px 0 0 40px;
    text-align: left; 
}
.sidebar_news h4 {
    background-color: #f4f3f3;
}

.sidebar_news ul li {
    padding-left: 1em;
}

.list_news {
    list-style-type: none;
    padding: 0;
}


/*-----------*/
/*wp-pagenavi*/
/*-----------*/
.wp-pagenavi {
	clear: both;
	text-align:center;

}
.wp-pagenavi a, .wp-pagenavi span {
	background-color: #FFF;
	padding: 8px 10px;
	margin: 0 2px;
	white-space: nowrap;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration:none;
}
.wp-pagenavi a:hover{
    color:#FFF; 
    background-color:#ced0d0; 
    border-color:#ced0d0;
    }
.wp-pagenavi span.current{
	color: #FFF;
	background-color: #8e8f8f;
	border-color: #8e8f8f;
	font-weight: 600;
    }

.pagenavi {
    margin: 20px auto;
}

/*---------------------------------------------------------------*/
/*-----------------------↓レスポンシブ設定↓-------------------------*/
/*---------------------------------------------------------------*/
@media (max-width: 768px){
     /* 画面サイズが768px未満の場合の設定 */
/*-----------*/
/* archive.php*/
/*-----------*/

.news_archive {
    width: 1250px;
    margin: auto;
    margin-bottom: 80px;
    display: flex;
    text-align: center;
}

.entry_news {
    display: flex;
    flex-wrap: wrap;
    margin-top: 80px;
    width: 980px;
    height: fit-content;
}

.title_article_news {
    font-weight: 600;
    text-align: left;
    font-size: 20px;
}

.article_contents {
    text-align: left;
    display: inline-block;
}

.box_news {
    width: 260px;
    height: 360px;
    padding-left: 50px;
    padding-right: 49px;
    margin-bottom: 80px;
    border-right: solid #231815 1px;
    text-align: center;
}
.box_news:nth-child(3n+1) {
    padding-left: 0;
}
.box_news:nth-child(3n) {
    padding-right: 0;
    border: 0;
}

.p_box_news {
    width: 260px;
    height: 120px;
    margin-top: 30px;
    position: relative;
}

.date_news {
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    text-align: right;
    font-family: 'Bahnschrift';
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 15px;
}

/*-----------*/
/* index表示用*/
/*-----------*/
.entry_news_top {
    display: flex;
    flex-wrap: wrap;
    margin-top: 80px;
    width: 980px;
    height: fit-content;
}

.title_article_news_top {
    font-weight: 600;
    text-align: left;
}

.article_contents_top {
    text-align: left;
    display: inline-block;
    width: 100%;
    display: flex;
    height: auto;
    padding: 0;
    border: 0;
}

.box_news_top {
    width: 260px;
    height: 360px;
    padding-left: 50px;
    padding-right: 49px;
    border-right: solid #231815 1px;
    text-align: center;
}
.box_news_top:nth-of-type(3n+1) {
    padding-left: 0;
}
.box_news_top:nth-of-type(3n) {
    padding-right: 0;
    border: 0;
}

.p_box_news_top {
    width: 260px;
    height: 120px;
    margin-top: 30px;
    position: relative;
}

.date_news_top {
    margin-top: 0;
    margin-bottom: 0;
    text-align: right;
    font-family: 'Bahnschrift';
    position: absolute;
    top: 80%;
    right: 0;
}


.news_archive {
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    padding: 5%;
    display: block;
    box-sizing: border-box;
}
  
 .entry_news {
    display: flex;
    margin: 0 0 5% 0;
    width: 100%;
    height: fit-content;
    flex-wrap: wrap;
    border-bottom: solid 1px;
    flex-direction: column;
}
  
.title_article_news {
    font-weight: 600;
    text-align: left;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
 }
  
.article_contents {
    text-align: left;
    display: inline-block;
    padding: 0 0 7% 0;
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
}
img.attachment-article-thumb.size-article-thumb.wp-post-image {
    width: 35%;
    height: auto;
    box-sizing: border-box;
    padding-right: 5%;
}
  
.box_news:nth-child(even) {
    width: 100%;
    height: fit-content;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
    border-right: 0;
    text-align: center;
    box-sizing: border-box;
}
.box_news:nth-child(odd) {
    width: 100%;
    height: fit-content;
    padding-right: 0;
    margin-bottom: 0;
    border-right: 0;
    text-align: center;
    padding-left: 0;
    box-sizing: border-box;
}

.p_box_news {
    width: 100%;
    height: auto;
    margin-top: 0;
    position: relative;
}


/*-----------*/
/*single.php*/
/*-----------*/
.news1 {
    width: 100%;
    margin: auto;
    margin-bottom: 0;
}

.news {
    width: 100%;
    display: block;
}

.article_head {
    width: 100%;
}

img.attachment-medium.size-medium.wp-post-image {
    width: 100%;
    height: 100%;
}

.article_news {
    width: 100%;
    height: 100%;
    margin-right: 0;
    padding: 0 5%;
    box-sizing: border-box;
}

.pics_article_news {
    width: 640px;
    height: auto;
}

.alt_thumb_pic {
    width: 226px;
    height: 180px;
    margin-left: 50px;
}

.p_article_news {
    width: 100%;
    height: 100%;
    margin-bottom: 5%;
    font-size: 15px;
}

.article_next_previous {
    width: 100%;
    font-size: 15px;
    border-bottom: solid 1px #231815;
    padding-bottom: 5%;
    margin-bottom: 5%;
}

.next {
    width: fit-content;
    height: auto;
    margin: 0 0 0 auto;
}

.previous {
    width: fit-content;
    margin: 0 auto 0 0;
}

.img_next_prev {
    width: 5px;
    height: 10px;
    padding: 0 10px 1px 10px;
}

/*-----------*/
/*sidebar.php*/
/*-----------*/
.sidebar_news {
    width: 90%;
    height: fit-content;
    margin: 0;
    padding-left: 5%;
}

.sidebar_news h4 {
    font-size: 15px;
    margin-top: 0;
}

.sidebar_news ul li {
    padding-left: 1em;
}

.list_news {
    list-style-type: none;
    padding: 0;
    font-size: 15px;
}

/*-----------*/
/*wp-pagenavi*/
/*-----------*/
.wp-pagenavi {
	clear: both;
	text-align:center;

}
.wp-pagenavi a, .wp-pagenavi span {
	background-color: #FFF;
	padding: 8px 10px;
	margin: 0 2px;
	white-space: nowrap;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration:none;
}
.wp-pagenavi a:hover{
    color:#FFF; 
    background-color:#ced0d0; 
    border-color:#ced0d0;
    }
.wp-pagenavi span.current{
	color: #FFF;
	background-color: #8e8f8f;
	border-color: #8e8f8f;
	font-weight: 600;
    }

.pagenavi {
    margin: 0 auto;
}

/*-----------*/
/*index表示用*/
/*-----------*/
.entry_news_top {
    margin-top: 20px;
    width: 100%;
    box-sizing: border-box;
    padding: 5%;
    justify-content: space-between;
    flex-direction: column;
}

.title_article_news_top {
    font-size: 15px;
    margin: 0;
}

.box_news_top {
    width: 100%;
    height: auto;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 20px;
    border-right: 0;
}
.box_news_top:nth-child(3n+1) {
    width: 100%;
    height: auto;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 20px;
    border-right: 0;
}

.p_box_news_top {
    margin-top: 0;
    width: 100%;
    height: auto;
    position: relative;
}

.date_news_top {
    margin-top: 0;
    margin-bottom: 0;
    text-align: right;
    font-family: 'Bahnschrift';
    font-size: 15px;
    position: absolute;
    right: 0;
    bottom: 0;
}

}