/*****************************************
*
* 新着情報
*
******************************************/

/*------------------------------------------*/
/* 一覧
/*------------------------------------------*/

.news-list {
  text-align: left;
  width: 100%;
}

.news-list li+li {
  margin-top: 10px;
}

.news-list a {
  display: inline-block;
  width: 100%;
  border-bottom: solid 1px var(--color-light-gray);
  color: var(--color-text);
  font-size: 0.9rem;
  padding-bottom: 10px;
  transition: all .5s ease;
}

.news-list a:visited {
  color: var(--color-visited);
}

.news-list a:hover {
  text-decoration: none;
  border-bottom: solid 1px var(--color-main);
}

@media screen and (min-width: 768px), print {
  .news-list li+li {
    margin-top: 20px;
  }

  .news-list li a {
    display: grid;
    grid-template-columns: 8em 1fr;
    column-gap: 1em;
    font-size: 1rem;
    padding-bottom: 20px;
  }
}

/* 日付 --------------------------------*/
.news-list li a .date {
  font-family: var(--font-en);
  font-weight: bold;
}

/* タイトル --------------------------------*/
.news-list .title {
  width: 100%;
}



/*------------------------------------------*/
/* ページ送り 一覧ページ
/*------------------------------------------*/

.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.news-pagination li+li {
  margin-left: 10px;
}

.news-pagination li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-main);
  border-radius: 50%;
  color: var(--color-main);
  font-weight: bold;
  transition: all .5s ease;
}

.news-pagination .number.current a {
  background: var(--color-main);
  color: white;
}

.news-pagination li.prev a::before,
.news-pagination li.next a::before {
  content: '';
  display: inline-block;
  background: url('../../img/common/icon_arrow_ku.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1/2;
  width: 8px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all .5s ease;
}

.news-pagination li.prev a::before {
  transform: translate(-50%, -50%) scaleX(-1);
}

.news-pagination li.double a::before {
  background: url('../../img/common/icon_arrow_ku_double.svg');
  background-size: 100%;
  background-repeat: no-repeat;
  aspect-ratio: 1/1;
  width: 16px;
}

.news-pagination .number a:hover,
.news-pagination li.prev a:hover,
.news-pagination li.next a:hover {
  text-decoration: none;
  background: var(--color-main);
  color: white;
}

.news-pagination li.prev a:hover::before,
.news-pagination li.next a:hover::before {
  background: url('../../img/common/icon_arrow_ku_white.svg');
  background-size: 100%;
}

.news-pagination li.double a:hover::before {
  background: url('../../img/common/icon_arrow_ku_double_white.svg');
  background-size: 100%;
}

@media screen and (min-width: 834px), print {
  .news-pagination {
    margin-top: 60px;
  }

  .news-pagination li a {
    width: 40px;
    height: 40px;
  }
}

/* リンクオフ */
.news-pagination li.nolink a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}


/*------------------------------------------*/
/* ページ送り
/*------------------------------------------*/

.news-button-wrap {
  margin-top: 40px;
}

.news-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-button li {
  width: 31%;
}

.news-button .list a,
.news-button .prev a,
.news-button .next a {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  text-align: center;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--color-main);
  border: solid 2px var(--color-main);
  border-radius: 40px;
  transition: all .5s ease;
}

.news-button .list a {
  padding: 3px 10px;
}

.news-button .prev a {
  padding: 3px 10px 3px 20px;
}

.news-button .next a {
  padding: 3px 20px 3px 10px;
}

.news-button .prev a::before,
.news-button .next a::before {
  content: '';
  display: inline-block;
  background: url('../../img/common/icon_arrow_white.svg') no-repeat;
  background-size: 100%;
  aspect-ratio: 14/12;
  width: 8px;
  height: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: all .5s ease;
}

.news-button .prev a::before {
  transform: translateY(-50%) scaleX(-1);
  left: 10px;
}

.news-button .next a::before {
  right: 10px;
}

.news-button .list a:hover,
.news-button .prev a:hover,
.news-button .next a:hover {
  text-decoration: none;
  color: var(--color-main);
  background: transparent;
  border-color: var(--color-main);
}

.news-button .list a:hover::before,
.news-button .prev a:hover::before,
.news-button .next a:hover::before {
  background: url('../../img/common/icon_arrow.svg') no-repeat;
  background-size: 100%;
}

@media screen and (min-width: 834px), print {
  .news-button-wrap {
    margin-top: 80px;
  }

  .news-button li {
    width: 30%;
  }

  .news-button .list a,
  .news-button .prev a,
  .news-button .next a {
    font-size: 1rem;
    padding: 10px 20px;
  }

  .news-button .prev a::before,
  .news-button .next a::before {
    width: 14px;
  }

  .news-button .prev a::before {
    left: 20px;
  }

  .news-button .next a::before {
    right: 20px;
  }
}

/* リンクオフ */
.news-button .prev.nolink a,
.news-button .next.nolink a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: var(--color-main);
  background: transparent;
  border-color: var(--color-main);
}

.news-button .prev.nolink a::before,
.news-button .next.nolink a::before {
  background: url('../../img/common/icon_arrow.svg') no-repeat;
  background-size: 100%;
}



/*------------------------------------------*/
/* 見出し
/*------------------------------------------*/

.news-heading {
  margin-bottom: 40px;
}

.news-heading .heading-secondary {
  font-size: 1.1rem;
  margin-bottom: 0;
}

@media screen and (min-width: 834px), print {
  .news-heading {
    margin-bottom: 80px;
  }

  .news-heading .heading-secondary {
    font-size: 2rem;
  }
}

/* 日付 --------------------------------*/
.news-heading .date {
  text-align: right;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 1em;
}

@media screen and (min-width: 834px), print {
  .news-heading .date {
    font-size: 1rem;
  }
}


/*------------------------------------------*/
/* コンテンツ
/*------------------------------------------*/

.news-contents {
  text-align: left;
}

.news-contents p {
  margin-bottom: 1em;
}

/* 画像 --------------------------------*/
.page-news-gallery {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 20px;
  margin-top: 40px;
}

.page-news-gallery img {
  width: 100%;
}

@media screen and (min-width: 768px), print {
  .page-news-gallery {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    column-gap: 40px;
    margin-top: 40px;
  }
}

/* ファイル --------------------------------*/
.page-news-files {
  text-align: left;
  margin-top: 40px;
}

.page-news-files li+li {
  margin-top: 20px;
}

.page-news-files li a {
  color: var(--color-main);
}

.page-news-files li a:visited {
  color: var(--color-visited);
}