/*---------
共通
----------*/

.mv {
  background: url("../images/news/mv_img_sp.jpg") center / cover no-repeat;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .l-page {
    padding-bottom: 160px;
  }

  .mv {
    background: url("../images/news/mv_img.jpg") bottom / cover no-repeat;
    height: 403px;
    margin-bottom: 160px;
  }
}

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

.l-page .section_content--news-list {
  padding-bottom: 40px;
}

.news_list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news__item {
  border-bottom: 1px solid #707070;
}

.news__link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 0 20px 30px;
  text-decoration: none;
}

.news__date {
  background: #000000;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
  line-height: calc(20 / 16);
  font-family: var(--sub-font);
  padding: 2px 8px;
}

.news__title {
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  line-height: calc(20 / 14);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (min-width: 768px) {
  .l-page .section_content--news-list {
    padding-bottom: 60px;
    padding-inline: 20px;
  }

  .section_content--news-list .section_space {
    max-width: 984px;
  }

  .news_list {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .news__link {
    transition: opacity 0.3s ease;
  }

  .news__link:hover {
    opacity: 0.7;
  }

  .news__title {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    line-height: calc(20 / 14);
  }
}

/*---------
ページャー
----------*/

.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 10px;
  padding: 0;
}

.pagination-link,
.pagination-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  transition: all 0.3s ease;
}

.pagination-link.is-active {
  background-color: #b0a13d;
  color: #fff;
  pointer-events: none;
  border-radius: 2px;
}

.arrow-left,
.arrow-right {
  display: block;
  width: 15px;
  height: 15px;
}

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

.l-page.lower-layer_news-detail {
  padding-top: 140px;
}

.l-page .section_content--news-detail {
  padding-bottom: 40px;
}

.news_detail__date {
  display: inline-block;
  background: #c2a64b;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  line-height: calc(16 / 12);
  padding: 4px 8px;
  margin-bottom: 30px;
}

.news_detail__title {
  font-size: 24px;
  font-weight: bold;
  color: #000000;
  line-height: calc(32 / 24);
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #707070;
}

.news_detail__text {
  font-size: 16px;
  font-weight: 400;
  line-height: calc(30 / 16);
}

.news_detail__body p {
  font-size: 16px;
  font-weight: 400;
  line-height: calc(30 / 16);
  margin-bottom: 24px;
}

.news_detail__body p:last-child {
  margin-bottom: 0;
}

.news_detail__body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 24px;
}

.news_detail__body table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: 24px;
  margin-bottom: 24px;
}

.news_detail__body table tr {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news_detail__body table td {
  padding: 0;
  width: 100% !important;
}

.news_detail__body table td img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

@media (min-width: 768px) {
  .l-page .section_content--news-detail {
    padding-bottom: 60px;
    padding-inline: 20px;
  }

  .section_content--news-detail .section_space {
    max-width: 1084px;
  }

  .news_detail__body table tr {
    flex-direction: row;
    gap: 34px;
  }

  .news_detail__body table td {
    flex: 1;
  }
}

/*---------
pager
----------*/

.detail_pager_inner {
  display: flex;
  gap: 40px;
}

.detail_pager_btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 1;
  padding: 10px;
  background: #c2a64b;
  border-radius: 2px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  line-height: 1;
}

.detail_pager_btn--prev::before,
.detail_pager_btn--next::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-style: solid;
  border-color: #fff;
}

.detail_pager_btn--prev::before {
  border-width: 0 0 1px 1px;
  transform: rotate(45deg);
}

.detail_pager_btn--next::after {
  border-width: 1px 1px 0 0;
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .detail_pager {
    padding: 0 20px;
  }

  .detail_pager_inner {
    max-width: 1084px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .detail_pager_btn {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
  }
}
