@charset "utf-8";
.p-pageheader {
	color: var(--color-black);
	position: relative;
}
.p-section {
	position: relative;
	margin: calc(120 * var(--rem)) 0;
	color: #000;
}
.p-section__inner {
	display: grid;
	grid-template-columns: 20% 80%;
	color: var(--color-black);
    font-size: max(calc(20 * var(--rem)), 14px);
    line-height: 2;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-top: calc(120 * var(--rem));
}
.p-sectiontitle {
	font-size: calc(50 * var(--rem));
	text-transform: uppercase;
	font-family: var(--second-font-family);
	line-height: 1.3;
	margin-bottom: 2.4rem;
	span {
		display: block;
		font-size: max(calc(20 * var(--rem)), 14px);
		margin-top: calc(8 * var(--rem));
	}
}
.p-section__container{
	padding-left :2em;
	max-width: 45em;
}

/* パンくずリスト */
.p-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 13px;
}
.p-breadcrumb__item:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
}
.p-breadcrumb__item a {
  text-decoration: underline;
}

/* 投稿日 */
.p-news__date {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1;
}
/* 前後の記事ナビ */
.p-postnav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #333;
}
.p-postnav__item--next {
  text-align: right;
}
.p-postnav__label {
  display: block;
  font-size: 13px;
  color: #000;
}
.p-postnav__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
	text-decoration: none;
	color: #000;
  line-height: 1.5;
}
.p-postnav__item--list a {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid currentColor;
  text-decoration: none;
  transition: .3s;
  color: #000;
  background-color: #fff;
  border-radius: 26px;
}
.p-postnav__item--list a:hover {
  color: #fff;
  background-color: #000;
}

/* 投稿日＋カテゴリー */
.p-news__meta {
  align-items: flex-start;
  gap: 8px 12px;
  margin-bottom: 8px;
  /* text-align: right; */
}
.p-news__meta .p-news__date {
  margin-bottom: 0;
  font-size: 30px;
}
.p-news__cats {
  gap: 6px;
}
.p-news__cat a {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: #333;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: none;
}

.p-footer {
	background: #000;
}
.p-footer::before {
  opacity: 0.1;
}


/* カテゴリー絞り込み */
.p-newsfilter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 90%;
  margin: 0 auto;
}
.p-newsfilter__item a {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #333;
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
  color: #333;
}
.p-newsfilter__item.is-current a,
.p-newsfilter__item a:hover {
  background: #333;
  color: #fff;
}

/* 記事一覧 */
	.p-list__container{
    width: 90%;
    margin: 0 auto;
	}

.p-list__inner {
	color: var(--color-black);
    font-size: max(calc(20 * var(--rem)), 14px);
    line-height: 2;
    letter-spacing: -0.02em;
    font-weight: 700;
    margin-top: 2em;
}
.p-list__inner .p-news__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 8px;
  gap: 2em;
  align-items: center;
}
.p-newslist {
  border-top: 1px solid #ddd;
}
.l-inner .p-news__cats {
  width: 130px;
}
.p-newslist__item {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
  align-items: center;
}
.p-newslist__title {
  display: block;
  font-size: 20px;
  text-decoration: none;
  color: #000;
}
.p-newslist__title:hover {
  text-decoration: underline;
}
.p-newslist__empty {
  padding: 40px 0;
  text-align: center;
}

/* ページネーション */
.p-pager .nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}
.p-pager .page-numbers {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  text-decoration: none;
}
.p-pager .page-numbers.current {
  background: #333;
  border-color: #333;
  color: #fff;
}
.p-pager .page-numbers.dots {
  border: none;
}




/*========================
モバイル
========================*/
@media (max-width: 767px) {
	.aboutus::before {
		aspect-ratio: 1/2;

		background: url(../images/home/mv_bg.jpg) center center / 300% no-repeat;
		z-index: -2;
	}
	.p-section__inner {
		grid-template-columns: 1fr;
		margin-top: calc(30 * var(--rem));
		font-size: max(calc(18 * var(--rem)), 14px);
		font-weight: 500;
	}
	.p-sectiontitle {
		font-size: calc(30 * var(--rem));
		padding-top: 0;
		span {
			display: block;
			font-size: max(calc(16 * var(--rem)), 14px);
			margin-top: calc(8 * var(--rem));
		}
	}
	.p-section__container{
	padding-left :0;
	margin-top: calc(30 * var(--rem));
	}
.p-list__inner .p-news__meta  {
  	text-align:left;
    margin: 0;
    gap: 0;
	}
	.p-postnav {
		grid-template-columns: 1fr 1fr;
	}
	.p-postnav__item--list {
		grid-column: 1 / -1;
		grid-row: 2;
		text-align: center;
	}
  .l-inner .p-news__cats {
    width: 100%;
    margin: 0;
  }
}
