@charset "UTF-8";

/*-------------------------------------------
common
-------------------------------------------*/
:root {
  --red: #FF3301;
  --green: #129459;
  --table-y-green: #e9f5ef;
}
body {
  line-height: 1.5;
}
.news-container {
  max-width: 920px;
  padding-inline: 20px;
  margin-inline: auto;
}

/*-------------------------------------------
mv
-------------------------------------------*/
.page-mv {
  background-image: url(../img/news/news-mv.jpg);
  background-position: right;
}

/*-------------------------------------------
お知らせ
-------------------------------------------*/
.news {
  margin-bottom: 80px;
}
.news-item {
  border-bottom: 1px solid #000;
  padding-block: 30px;
}
.news-item:first-child {
  border-top: 1px solid #000;
}
.news-date {
  font-size: min(18px, 2.0vw);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 10px;
}
.news-heading {
  font-size: min(20px, 2.6vw);
  font-weight: 600;
  color: var(--green);
  margin-bottom: 10px;
}
.news-heading a {
  color: var(--green);
}
.news-text {
  font-size: min(16px, 2.0vw);
  font-weight: 500;
  line-height: 1.8;
}
.news-text a {
  color: var(--green);
}
.news-link{
  margin-right: 0.5em;
}
.page-numbers-wrapper {
  display: flex;
  gap: 1.2em;
  justify-content: center;
  margin-bottom: 150px;
}
.page-numbers {
  font-size: 16px;
  font-weight: 500;
  padding: 0.2em;
}
.page-numbers.current {
  color: var(--green);
  border-bottom: 1px solid var(--green);
  pointer-events: none;
}

/*-------------------------------------------
お知らせ 個別ページ
-------------------------------------------*/
.news-page {
  margin-bottom: 80px;
}

.news-page-btn {
  display: block;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  color: var(--green);
  width: min(240px, 100%);
  background-color: #fff;
  padding: 0.6em;
  border: 1px solid var(--green);
  border-radius: 999px;
  margin-inline: auto;
  margin-bottom: 100px;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
  /* mv
  -------------------------------------------*/
  .page-mv {
    background-image: url(../img/news/news-mv-sp.jpg);
  }

    /* お知らせ
  -------------------------------------------*/
  .news {
    margin-bottom: 50px;
  }
  .news-item {
    padding-block: 20px;
  }
  .news-date {
    font-size: 16px;
  }
  .news-heading {
    font-size: max(18px, 2.6vw);
  }
  .news-text {
    font-size: 16px;
  }
  .news-text a {
    display: block;;
  }
  .page-numbers-wrapper {
    margin-bottom: 100px;
  }
  .page-numbers {
    font-size: 14px;
  }

  /* お知らせ 個別ページ
  -------------------------------------------*/
  .news-page {
    margin-top: 40px;
    margin-bottom: 40px;
  }
  .news-page-btn {
    font-size: 16px;
  }
}
