/* ===== お知らせ一覧ページ ===== */

.news-page main {
  padding-top: 92px;
}

/* お知らせ一覧セクション */
.news-list {
  padding: 82px 0 0;
  background-color: #f9f9f9;
  min-height: calc(100vh - 72px - 351px);
}

.news-list__container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

/* タイトル */
.news-list__title-wrap {
  display: inline-block;
  position: relative;
  margin-bottom: 50px;
  display: block;
}

.news-list__title-line {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 260px;
  height: 22px;
  z-index: 0;
}

.news-list__title {
  font-family: "YuGothic", "Yu Gothic", sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 68px;
  letter-spacing: 4px;
  color: #555555;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* カテゴリーフィルター */
.news-list__filter {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 50px;
}


.news-list__filter-btn {
  height: 44px;
  min-width: 126px;
  padding: 0 19px 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  border: none;
  background-color: #ffffff;
  box-shadow: 0px 3px 6px #00000029;
  color: #F7B560;
  font-family: "YuGothic", "Yu Gothic", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 27px;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.news-list__filter-btn.is-active {
  background-color: #93C572;
  color: #fff;
  border-color: #93C572;
  box-shadow: 0px 3px 6px #00000029;
}

.news-list__filter-btn:hover:not(.is-active) {
  background-color: #f0f8e8;
}

/* 記事カード（白い丸角の枠） */
.news-list__card {
  background-color: #ffffff;
  border-radius: 100px;
  box-shadow: 1px 1px 10px #00000029;
  padding: 80px 50px;
}

/* 記事リスト */
.news-list__items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list__item {
  padding: 25px 0;
}

.news-list__link {
  display: flex;
  gap: 37px;
  text-decoration: none;
  color: inherit;
}


/* サムネイル */
.news-list__thumb {
  flex-shrink: 0;
  width: 230px;
  height: 150px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #F0F0F0;
  box-shadow: 0px 3px 6px #00000029;
}

.news-list__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 本文エリア */
.news-list__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* メタ（日付＋カテゴリ） */
.news-list__meta {
  display: flex;
  align-items: center;
  gap: 29px;
}

.news-list__date {
  font-family: "Archivo Narrow", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: 0.7px;
  color: #555555;
}

.news-list__category {
  display: inline-block;
  background-color: #93C572;
  color: #ffffff;
  font-family: "YuGothic", "Yu Gothic", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: 0;
  padding: 6px 21px 6px 20px;
  border-radius: 5px;
  white-space: nowrap;
}

/* タイトル */
.news-list__item-title {
  font-family: "YuGothic", "Yu Gothic", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: 0;
  color: #555555;
  margin: 10px 0 0;
}

/* 抜粋テキスト */
.news-list__excerpt {
  font-family: "YuGothic", "Yu Gothic", sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0;
  color: #555555;
  margin: 19px 0 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* ページネーション */
.news-list__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 50px 0 0;
}

.news-list__page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 22px;
  border-radius: 10px;
  border: 2px solid #F0F3F5;
  background-color: #FAFAFA;
  color: #93C572;
  font-family: "Archivo Narrow", sans-serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s;
}

.news-list__page-btn.is-active {
  background-color: #FAFAFA;
  border-color: #F0F3F5;
  color: #93C572;
}

.news-list__page-btn:hover:not(.is-active) {
  border-color: #F0F3F5;
}

.news-list__page-btn--arrow {
  padding: 20px 22px;
  width: auto;
  height: auto;
}

.news-list__page-arrow {
  width: 6px;
  height: 9px;
  display: block;
}

.news-list__page-arrow--prev {
  transform: rotate(0deg);
}

.news-list__page-arrow--next {
  transform: rotate(180deg);
}

/* ===== レスポンシブ ===== */
@media (max-width: 768px) {
  .news-list__title {
    font-size: 2.8rem;
  }

  .news-list__filter {
    gap: 10px;
  }

  .news-list__filter-btn {
    height: 40px;
    padding: 0 20px;
    font-size: 1.3rem;
  }

  .news-list__card {
    padding: 10px 20px;
  }

  .news-list__link {
    flex-direction: column;
    gap: 16px;
  }

  .news-list__thumb {
    width: 100%;
    height: 200px;
  }

  .news-list__item-title {
    font-size: 1.6rem;
  }

  .news-list__excerpt {
    font-size: 1.3rem;
  }
}

@media (max-width: 430px) {
  .news-page main {
    padding-top: 50px;
  }

  .news-list {
    padding: 0 0 40px;
  }

  .news-list__container {
    padding: 0 15px;
  }

  .news-list__title-wrap {
    margin-top: 44px;
    margin-bottom: 20px;
  }

  .news-list__title {
    font-size: 30px;
    font-weight: bold;
    line-height: 51px;
    letter-spacing: 3px;
    color: #555555;
  }

  .news-list__title-line {
    width: 195px;
  }

  .news-list__filter {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 14px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .news-list__filter::-webkit-scrollbar {
    display: none;
  }

  .news-list__filter-btn {
    flex-shrink: 0;
    height: 44px;
    min-width: 126px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: bold;
    line-height: 27px;
    letter-spacing: 0px;
    border-radius: 50px;
  }

  .news-list__card {
    background: #FFFFFF;
    border-radius: 50px;
    box-shadow: 1px 1px 10px #00000029;
    width: 345px;
    margin: 0 auto;
    padding: 47px 20px 20px;
  }

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

  .news-list__item {
    width: 305px;
    height: 199px;
    border-radius: 20px;
    background: #F0F0F0;
    box-shadow: 0px 3px 6px #00000029;
    overflow: hidden;
    position: relative;
    padding: 0;
  }

  .news-list__link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
  }

  .news-list__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .news-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .news-list__category {
    position: absolute;
    top: -118px;
    right: 10px;
    width: 96px;
    height: 26px;
    background: #93C572;
    border-radius: 5px;
    font-size: 1.2rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #ffffff;
  }

  .news-list__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 71px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0px 0px 20px 20px;
    padding: 5px 10px 0;
    z-index: 2;
  }

  .news-list__meta {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }

  .news-list__date {
    font-size: 1.1rem;
    color: #555555;
  }

  .news-list__item-title {
    font-size: 1.4rem;
    line-height: 1.4;
    margin: 4px 0 0;
    color: #555555;
  }

  .news-list__excerpt {
    display: none;
  }

  .news-list__pagination {
    padding: 30px 0 30px;
    gap: 12px;
    justify-content: center;
  }

  .news-list__page-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    font-size: 1.4rem;
    background: #FAFAFA;
    border: 2px solid #F0F3F5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .news-list__page-btn--arrow {
    width: 50px;
    height: 50px;
    padding: 0;
  }

  .news-list__page-arrow {
    display: none;
  }

  .news-list__page-btn--arrow {
    position: relative;
  }

  .news-list__page-btn--arrow::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-top: 2px solid #93C572;
    border-right: 2px solid #93C572;
    transform: rotate(45deg);
  }

  [aria-label="前のページ"]::before {
    transform: rotate(-135deg);
  }

}
