/*  variables.scss
---------------------------------------------- */
/*  color
---------------------------------------------- */
/*  breakpoint
---------------------------------------------- */
/*  mixins.scss
---------------------------------------------- */
/*  media
---------------------------------------------- */
/*  font-up-on-mobile
---------------------------------------------- */
/*  about.scss
---------------------------------------------- */
#p-news {
  background: url("../image/about/background.webp") no-repeat center 17vw/cover;
}

.inner {
  width: 900rem;
  margin-inline: auto;
}


.news {
  margin-bottom: 110rem;
}

.maT100 {
	margin-top:120rem;
}


/* ------------------------------
    news
------------------------------ */

.news .newsList {
  border-top: 1px solid #898989;
}

.news .newsList .newsListItem {
  padding: 30rem;
  
  border-bottom: 1px solid #898989;
}
/*
.news .newsList .newsListItem + .newsListItem {
  margin-top: 17rem;
}
 */ 
.news .newsList .newsListItem a {
  display: flex;
  align-items: center;
  -moz-column-gap: 20rem;
       column-gap: 20rem;
}
.news .newsList .newsListItem a .date {
  color: #9d8447;
  flex-shrink: 0;
	min-width:7em;
}
.news .newsList .newsListItem a .category {
  font-size: 12rem;
  color: #fff;
  text-align: center;
  line-height: 1;
  width: 103rem;
  padding-block: 10rem;
  flex-shrink: 0;
}

.news .newsList .newsListItem a .title {
	width:100%;
}

.categoryList {
  display: flex;
  justify-content: center;
  max-width: 90%;
  margin: 0 auto 50rem;
}

.categoryList li {
  width: 160px;
  font-size: 12rem;
  line-height: 1.0;
}

.categoryList li a {
  display: block;
  box-sizing: border-box;
  padding: 10px 10px 12px;
  text-align: center;
  color: #fff;
}

.categoryList li a:hover {
  opacity: 0.7;
}


.catAll {
  background: linear-gradient(to left, #d99071,#bc5737) !important;
}
.cat01 {
  background: #cf7487 !important;
}
.cat02 {
  background: #5893c0 !important;
}
.cat03 {
  background: #7da655 !important;
}
.cat04 {
  background: #d59533 !important;
}
.cat05 {
  background: #b6ae59 !important;
}

.categoryList li:nth-child(n + 2) {
  margin-left: 35px;
}


@media screen and (min-width: 769px) {
  .news .newsList .newsListItem a {
    transition: opacity 0.3s;
  }
  .news .newsList .newsListItem a:hover {
    opacity: 0.7;
  }
}
.news .newsLink {
  display: flex;
  justify-content: center;
  -moz-column-gap: 25rem;
       column-gap: 25rem;
  margin-top: 60rem;
}

@media screen and (max-width: 768px) {
  .inner {
    width: 90%;
  }
  
  .news .newsList .newsListItem {
    padding: 30rem 30rem;
  }
  
  .news .newsList .newsListItem a {
    flex-wrap: wrap;
    row-gap: 20rem;
  }
  .news .newsList .newsListItem a .category {
    font-size: 28rem;
    width: auto;
    padding: 10rem 20rem;
  }
  .news .newsList .newsListItem a .title {
    width: 100%;
  }
  .news .newsLink {
    flex-wrap: wrap;
    row-gap: 30rem;
  }

  
  .categoryList {
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 50rem;
  }

  .categoryList li {
    width: 48%;
    font-size: 24rem;
  }

  .categoryList li:nth-child(n + 2) {
    margin-left: 0;
  }

  .categoryList li:nth-child(n + 3) {
    margin-top: 20rem;
  }

}



/** wp-pagenavi **/
.wp-pagenavi{
	color: #fff;
	font-size: 16rem;
	line-height: 1.0 !important;
	letter-spacing: 0;
	text-align: center;
	max-width: 90%;
  margin: 100rem auto 0;
  display: flex;
  justify-content: center;
}
.wp-pagenavi .pages{
	display: none;
}
.wp-pagenavi .first{
	display: none;
}
.wp-pagenavi .last{
	display: none;
}

.wp-pagenavi .current{
  display: flex;
	width: 40px;
  height: 40px;
	background: #898989;
	color: #fff;
  text-align: center; 
  margin: 0 4px;
	border: 1px solid #898989;
  justify-content: center;
  box-sizing: border-box;
  padding-top: 7px;
}

.wp-pagenavi a.page:hover,
.wp-pagenavi a.previouspostslink:hover,
.wp-pagenavi a.nextpostslink:hover {
	background: #898989;
	color: #fff;
	border: 1px solid #898989;
}

.wp-pagenavi a.page {
  display: flex;
	width: 40px;
  height: 40px;
	color: #000; 
  margin: 0 4px;
	border: 1px solid #898989;
  background: #fff;
  justify-content: center;
  box-sizing: border-box;
  padding-top: 7px;
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
	display: flex;
  font-size: 20rem;
	width: 40px;
  height: 40px;
	color: #877016;
  margin: 0 4px;
	border: 1px solid #898989;
  background: #fff;
  justify-content: center;
  box-sizing: border-box;
  padding-top: 2px;
}

.wp-pagenavi .extend{
	margin: 0 4px;
}
.wp-pagenavi a:hover{
	text-decoration: none;
}


@media screen and (max-width: 768px) {
  
  .wp-pagenavi{
	  color: #fff;
	  font-size: 32rem;
	  margin: 70rem auto 0;
  }

  .wp-pagenavi a.previouspostslink,
  .wp-pagenavi a.nextpostslink {
    font-size: 40rem;
  }

}

/* 詳細 */

.detail {
  margin-bottom: 110rem;
  margin-top: -70rem;
}
.detFst {
  display: flex;
  margin: 0 0 30rem;
  align-items: center;
}

.detTime {
  color: #9d8447;
}

.detCat {
  margin-left: 20rem;
}

.detCat .catName {
  display: inline-block;
  line-height: 1.0;
  font-size: 12rem;
  width: 160px;
  text-align: center;
  padding: 10px 10px 12px;
  color: #fff;
  background: #ccc;
}

.detTitle {
  padding: 0 0 20px;
  margin-bottom: 20rem;
  border-bottom: 1px solid #877016;
  font-size: 30rem;
  color: #877016;
}

.detArea {
  position: relative;
  overflow: hidden;
  zoom:1;
  line-height: 1.8;
}

.backBtn {
  margin-top: 80rem;
}

.backBtn .c-btn {
  height: 50rem;
  max-width: 350px;
}

.detail img {
	width:auto !important;
}

@media screen and (max-width: 768px) {

  .detail {
    margin-bottom: 110rem;
    margin-top: 0;
  }

  .detFst {
    display: block;
  }



.detCat {
  margin: 20rem 0 0;
}

.detCat .catName {
  display: inline-block;
  line-height: 1.0;
  font-size: 28rem;
  width: auto;
  text-align: center;
  padding: 10px 20px 12px;
  color: #fff;
  background: #ccc;
}

.detTitle {
  font-size: 50rem;
  line-height: 1.2;
  margin: 0 0 30rem;
}

.detArea {
  position: relative;
  overflow: hidden;
  zoom:1;
  line-height: 1.6;
}

.backBtn {
  margin-top: 80rem;
}

.backBtn .c-btn {
  height: 100rem;
  max-width: 70%;
}



}

/* wordpress */

.detArea h1 {
	font-size: 27rem;
  	font-weight: 500;
	margin-bottom:20rem;
}

.detArea h2 {
	font-size: 27rem;
  	font-weight: 500;
	margin-bottom:20rem;
	text-align:center;
}

.detArea h3 {
	font-size: 24rem;
  	font-weight: 500;
	margin-bottom:10rem;
}

.detArea h4 {
	font-size: 24rem;
  	font-weight: 500;
	margin-bottom:10rem;
	text-align:center;
}

.detArea h5 {
	font-size: 20rem;
  	font-weight: 500;
	margin-bottom:10rem;
}

.detArea h6 {
	font-size: 20rem;
  	font-weight: 500;
	margin-bottom:10rem;
	text-align:center;
}

.detArea ul {
	list-style: inside;
}

.detArea ol {
	list-style: inside;
	list-style-type: decimal;
}

.detArea a {
	text-decoration:underline;
}

@media screen and (max-width: 768px) {
	
.detArea h1 {
	font-size: 54rem;
}

.detArea h2 {
	font-size: 54rem;
}

.detArea h3 {
	font-size: 48rem;
}

.detArea h4 {
	font-size: 48rem;
}

.detArea h5 {
	font-size: 40rem;
}

.detArea h6 {
	font-size: 40rem;
}
	
	
}

/* 画像の中央寄せ・左右寄せ（floatなし・レスポンシブ対応） */
.alignleft,
.wp-block-image.alignleft {
  display: block;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

.alignright,
.wp-block-image.alignright {
  display: block;
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.aligncenter,
.wp-block-image.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* スマホ・タブレットで中央寄せに統一 */
@media screen and (max-width: 768px) {
  .alignleft,
  .alignright,
  .wp-block-image.alignleft,
  .wp-block-image.alignright {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}