.news-section {
  width: 90%;
  margin: 40px auto 0 auto;
  max-width: 600px;
}
.news-section .container .content {
  display: block;
  padding: 20px 0;
  text-decoration: none;
  border-bottom: 1px solid #EDEDED;
  position: relative;
  transition: all 0.3s;
}
.news-section .container .content time {
  font-size: 14px;
  line-height: 25px;
}
.news-section .container .content p {
  margin-top: 11px;
  font-size: 16px;
  line-height: 25px;
  width: 90%;
}
.news-section .container .content:first-of-type {
  border-top: 1px solid #EDEDED;
}
.news-section .container .content::after {
  content: "";
  position: absolute;
  top: 46%;
  right: 0;
  display: inline-block;
  background: url("../images/arrow.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  width: 10px;
  height: 15px;
}
.news-section .container .content:hover {
  border-bottom: 1px solid #0552A5;
}
.news-section .container .content:hover time, .news-section .container .content:hover p {
  color: #0552A5;
}
.news-section .container .content:hover::after {
  background: url("../images/arrow_active.webp");
  background-size: 100%;
  background-repeat: no-repeat;
  width: 10px;
  height: 15px;
}

@media (min-width: 768px) {
  .news-section {
    margin-top: 80px;
    max-width: 1000px;
  }
  .news-section .container .content {
    padding: 40px 80px;
    display: flex;
  }
  .news-section .container .content time {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
  }
  .news-section .container .content time::after {
    content: "";
    display: inline-block;
    height: 25px;
    width: 1px;
    background: #000;
    margin: 0 25px;
    vertical-align: middle;
  }
  .news-section .container .content p {
    width: 100%;
    margin: 0;
  }
  .news-section .container .content::after {
    right: 80px;
  }
}
.news-detail-section {
  width: 90%;
  margin: 40px auto 0 auto;
}
.news-detail-section .title {
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}
.news-detail-section time {
  font-size: 14px;
  line-height: 25px;
}
.news-detail-section .container {
  margin-top: 30px;
}
.news-detail-section .container h3 {
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
  padding-bottom: 8px;
  border-bottom: 1px solid #0552A5;
  margin-bottom: 15px;
}
.news-detail-section .container p {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 30px;
}
.news-detail-section .container img {
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  width: 100%;
  margin-bottom: 10px;
}
/* 本文が<div>で入っている記事も<p>と同じ文字サイズ・行間・余白にする */
.news-detail-section .container > div {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 30px;
}
.news-detail-section .container > div:empty {
  display: none;
}
/* 1つの段落に画像が複数ある場合は横に並べる */
.news-detail-section .container :is(div, p):has(> img + img) {
  display: flex;
  align-items: flex-start;
  font-size: 0;
  line-height: 0;
}
.news-detail-section .container :is(div, p):has(> img + img) img {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  margin: 0;
}
.news-detail-section .container :is(div, p):has(> img + img) img + img {
  margin-left: 10px;
}
/* 動画は元サイズに関係なく本文幅いっぱいに揃える */
.news-detail-section .container .wp-video {
  width: 100% !important;
}
.news-detail-section .container .wp-video + .wp-video {
  margin-top: 10px;
}
.news-detail-section .btn {
  display: block;
  margin-right: 40px;
  text-decoration: none;
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  padding: 15px 0;
  background: #0552A5;
  border: 1px solid #0552A5;
  width: 260px;
  border-radius: 32px;
  margin: 40px auto 0 auto;
  transition: all 0.3s;
}
.news-detail-section .btn:hover {
  background: #fff;
  color: #0552A5;
}

@media (min-width: 768px) {
  .news-detail-section {
    max-width: 800px;
    width: 70%;
    margin-top: 80px;
  }
  .news-detail-section .title {
    margin-bottom: 20px;
  }
  .news-detail-section time {
    font-size: 16px;
  }
  .news-detail-section .container h3 {
    margin-bottom: 28px;
  }
  .news-detail-section .container p {
    margin-bottom: 20px;
  }
  .news-detail-section .container img {
    margin-bottom: 20px;
    max-width: 640px;
  }
  .news-detail-section .container > div {
    margin-bottom: 20px;
  }
  .news-detail-section .container :is(div, p):has(> img + img) img + img {
    margin-left: 20px;
  }
  .news-detail-section .container .wp-video + .wp-video {
    margin-top: 20px;
  }
  .news-detail-section .btn {
    width: 200px;
  }
  .footer-section {
    margin-top: 120px;
  }
}/*# sourceMappingURL=news.css.map */

/* 英文の単語が途中で切れないようにする。
   break-all は日本語向けの指定で、英語では単語を無造作に分断してしまう。
   normal で単語境界（スペース・ハイフン）で折り返し、
   コンテナ幅を超える長い語やURLのときだけ overflow-wrap で折り返す */
p {
    word-break: normal !important;
    overflow-wrap: break-word;
}

.wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 10px;
  margin-top: 40px;
}

.wp-pagenavi .page,
.wp-pagenavi .last,
.wp-pagenavi .first,
.wp-pagenavi .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* width: 36px;
  height: 36px; */
  font-size: 16px;
  text-decoration: none;
  /* border-radius: 50%; */
  /* border: 1px solid #A4A4A4; */
  color: #A4A4A4;
  box-sizing: border-box;
  margin: 0 7px;
  flex-shrink: 0;
}

.wp-pagenavi .current {
  color: #0552A5;
  /* background: #333333; */
  /* border: 1px solid #333333; */
}

.wp-pagenavi .extend {
  color: #A4A4A4;
  margin: 0 10px;
  flex-shrink: 0;
}

.wp-pagenavi a.previouspostslink,
.wp-pagenavi a.nextpostslink {
  font-size: 0;
  background-image: url('../images/pagenavi1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 14px;
  height: 14px;
  display: inline-block;
  align-content: center;
  margin: 0 20px;
  flex-shrink: 0;
}

.wp-pagenavi a.nextpostslink {
  transform: scaleX(-1);
}

.wp-pagenavi a.previouspostslink   { order: 1; }  /* ← */
.wp-pagenavi a.first               { order: 2; }  /* 1（先頭ページ） */
.wp-pagenavi span.extend:first-of-type { order: 3; }  /* … （前側） */
.wp-pagenavi a.page.smaller        { order: 4; }  /* 現在ページより前の番号 */
.wp-pagenavi span.current          { order: 5; }  /* 現在ページ */
.wp-pagenavi a.page.larger         { order: 6; }  /* 現在ページより後の番号 */
.wp-pagenavi span.extend:last-of-type  { order: 7; }  /* … （後側） */
.wp-pagenavi a.last                { order: 8; }  /* 最後のページ */
.wp-pagenavi a.nextpostslink       { order: 9; }  /* → */
/* New Topics 一覧：先頭の最新記事は本文を開いた状態で表示する
   .news-detail-section の本文スタイルを流用し、外枠の幅・余白だけ一覧用に上書きする */
.news-section .container .news-open {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 20px 0 30px;
  border-bottom: 1px solid #EDEDED;
}
.news-section .container .news-open:first-of-type {
  border-top: 1px solid #EDEDED;
}
.news-section .container .news-open .title {
  margin: 10px 0 0;
  font-size: 18px;
}
.news-section .container .news-open .title a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.news-section .container .news-open .title a:hover {
  color: #0552A5;
}
.news-section .container .news-open .container {
  margin-top: 20px;
}
/* 開いた記事の直後に来るリンク行は上罫線を重ねない */
.news-section .container .news-open ~ .content:first-of-type {
  border-top: 0;
}

@media (min-width: 768px) {
  .news-section .container .news-open {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 40px 80px 50px;
  }
  .news-section .container .news-open .title {
    font-size: 20px;
    margin-top: 15px;
  }
  .news-section .container .news-open .container {
    margin-top: 30px;
  }
}
