@charset "UTF-8";

#news .mv {
  text-align: center;
  position: relative;
}
#news .mv img {
  width: 100%;
}
#news .mv .page-title {
  color: #fff;
  font-size: 60px;
  font-weight: bold;
  margin: 0 auto;
  text-align: center;
  transform: translateY(-50%);
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
}
#news .bg {
  background-image: url(../img/top/bg1.jpg);
  background-size: cover;
  background-position: top left;
  padding: 60px 0 180px;
}
#news .bg .inner {
  background-color: #fff;
  padding: 60px 40px;
}
#news .article {
  max-width: 600px;
  margin: 0 auto 80px;
}

/*-------------------------------------------
ページネーション
-------------------------------------------*/
.pagination {
  margin-top: 40px;
}
.pagination ol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.pagination ol li {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
}
.pagination ol li.active {
  border-bottom: 1px solid #000;
}

/*-------------------------------------------
記事
-------------------------------------------*/
.article .article-title {
  color: #042F90;
  font-size: 36px;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 40px;
}
.article .article-content figure {
  margin-bottom: 30px;
}
.article .article-content p {
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: justify;
}
.article .article-content p:last-child {
  margin-bottom: 0;
}
.article .article-content a {
  line-height: 1.8;
  text-decoration: underline;
}
.article .article-content h2 {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.6;
  padding-bottom: 10px;
  margin: 60px 0 30px;
}
.article .article-content h3 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.6;
  margin: 40px 0 20px;
}
.article .article-content h4 {
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin: 40px 0 20px;
}
.article .article-content h5 {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 40px 0 20px;
}
.article .article-content ul {
  margin: 0 0 40px 22px;
}
.article .article-content ul li {
  list-style-type: disc;
  line-height: 1.8;
}
.article .article-content ol {
  margin: 0 0 40px 22px;
}
.article .article-content ol li {
  list-style-type: decimal;
  line-height: 1.8;
}
.article .article-content blockquote {
  background-color: #f5f5f5;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
  font-style: italic;
  padding: 25px 30px;
  margin-bottom: 32px;
  position: relative;
}
.article .article-content blockquote::before {
  content:'“';
  color: #777;
  font-size: 48px;
  position: absolute;
  top: -6px;
  left: 0;
}
.article .article-content iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
}

/* 投稿画面 */
.article .article-content .aligncenter {
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
.article .article-content .aligncenter img {
  height: auto;
  max-width: 100%;
}
.article .article-content .alignright {
  height: auto;
  margin-left: auto;
  max-width: 100%;
}
.article .article-content .alignright img {
  height: auto;
  max-width: 100%;
}
.article .article-content .alignnone {
  height: auto;
  max-width: 100%;
}
.article .article-content .alignnone img {
  height: auto;
  max-width: 100%;
}

.article-navi {
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
}
.article-navi a {
  padding: 0 10px;
}
.article-navi a.next {
  margin-left: auto;
}

@media screen and (max-width: 768px) {

  #news .mv .page-title {
    font-size: 24px;
  }
  #news .bg {
    padding: 40px 0 80px;
  }
  #news .bg .inner {
    padding: 40px 20px;
  }

  /*-------------------------------------------
  記事
  -------------------------------------------*/
  .article {
    margin-bottom: 60px;
  }
  .article .article-title {
    font-size: 28px;
  }
  .article .article-content {
    margin: 0 auto 40px;
  }
  .article .article-content h2 {
    font-size: 22px;
  }
  .article .article-content h3 {
    font-size: 18px;
  }
  .article .article-content h4,
  .article .article-content h5 {
    font-size: 16px;
  }
  .article .article-content ul,
  .article .article-content ol {
    margin: 0 0 30px 22px;
  }
}