@charset "utf-8";

/* ====================================================
ページ分割
==================================================== */

.pagebreak-links {
  padding-top: 4em;
  text-align: center;
}
.pagebreak-links .post-page-numbers {
  display: inline-block;
  width: 42px;
  height: 42px;
  border: solid 1px #333;
  font-size: 16px;
  line-height: 42px;
  text-align: center;
  text-decoration: none;
  color: #000;
}
.pagebreak-links .post-page-numbers:hover {
  border: solid 1px #333;
  background: #000;
  color: #fff;
}
.pagebreak-links .post-page-numbers.current {
  border: solid 1px #333;
  background: #333;
  color: #fff;
}

/* ====================================================
ページナビ
==================================================== */

/*ページナビ*/
.wp-pagenavi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3.8em;
  text-align: center;

  gap: 10px;
}
.wp-pagenavi .current {
  border: solid 1px #333;
  background: #333;
  color: #fff;
}
.wp-pagenavi .pages {
  display: none;
}
.wp-pagenavi a.page {
  border: solid 1px #333;
}
.wp-pagenavi a {
  display: inline-block;
  width: 42px;
  height: 42px;
  font-size: 16px;
  line-height: 42px;
  text-align: center;
  white-space: nowrap;
}
.wp-pagenavi a.last {
  width: auto;
}


.wp-pagenavi span {
  display: inline-block;
  width: 42px;
  height: 42px;
  border: solid 1px #333;
  font-size: 16px;
  line-height: 42px;
  text-align: center;
}
.wp-pagenavi .nextpostslink-span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-top: 16px;
  border: 0;
  border-top: solid 1px #000;
  border-right: solid 1px #000;
  line-height: normal;
  transform: rotate(45deg);
}

@media screen and (max-width: 767px) {
  .wp-pagenavi {
    margin-top: 60px;

    gap: 7px;
  }
  .wp-pagenavi a {
    display: inline-block;
    width: 22px;
    height: 22px;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
  }
  .wp-pagenavi a.first {
    width: auto;
  }
  .wp-pagenavi a.last {
    width: auto;
  }
  .wp-pagenavi a.page {
    border: none;
  }
  .wp-pagenavi span {
    display: inline-block;
    width: auto;
    height: 22px;
    border: none;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
  }
  .wp-pagenavi .current {
    width: 22px;
  }
}

/* youtube */

/* ビジュアルエディタでのタグ調整 */

.post p {
  zoom: 1;
  margin: 0 0 1em 0;
}

.post p a {
  text-decoration: underline;
  color: #1e7ac6;
}

.post p em {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "ＭＳ Ｐゴシック", sans-serif;
  font-style: italic !important;
}

.post p del {
  text-decoration: line-through;
}

.post p strong,
.post p b {
  font-weight: bold !important;
}

.post img {
  display: inline-block;
  width: auto;
  margin: auto;
}

.post .aligncenter {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0.5em auto 0.5em auto;
}

.post .alignleft {
  float: left;
  width: auto;
  max-width: 100%;
  margin: 0.5em 1em 0.5em 0;
}

.post .alignright {
  float: right;
  width: auto;
  max-width: 100%;
  margin: 0.5em 0 0.5em 1em;
}

.post h1 {
  margin: 1em 0 1em 0;
  font-size: 2em;
  font-weight: bold;
}

.post h2 {
  margin: 1em 0 1em 0;
  font-size: 1.8em;
  font-weight: bold;
}

.post h3 {
  margin: 1em 0 1em 0;
  font-size: 1.6em;
  font-weight: bold;
}

.post h4 {
  margin: 1em 0 1em 0;
  font-size: 1.4em;
  font-weight: bold;
}

.post h5 {
  margin: 1em 0 1em 0;
  font-size: 1.2em;
  font-weight: bold;
}

.post h6 {
  margin: 1em 0 1em 0;
  font-weight: bold;
}

.post ul {
  margin: 1.5em 0;
}

.post ul li {
  margin: 5px 0 5px 20px;
  list-style: disc;
}

.post ol li {
  margin: 5px 0 5px 20px;
  list-style: decimal;
}

.post table th,
.post table td {
  padding: 0.5em;
  border: 1px solid #dbdbdb;
}
.post table th {
  background-color: #f0f0f0;
}
.post sup {
  position: relative;
  top: -0.1em;
  font-size: 70%;
  vertical-align: top;
}
.post sub {
  position: relative;
  bottom: -0.1em;
  font-size: 70%;
  vertical-align: bottom;
}
.post figure figcaption,
.post figure.aligncenter > figcaption {
  text-align: center;
}

/* 横長のテーブル対応 */

@media screen and (max-width: 750px) {
  div.post {
    overflow: scroll;
  }
  .post table tbody {
    max-width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
  }
  .post table th,
  .post table td {
    white-space: nowrap;
  }

  .post table {
    overflow-x: auto;
    margin-bottom: 1em;
  }
}

/*パスワード保護*/

.post-password-form {
  padding: 50px 0;
  line-height: 3;
  text-align: center;
}

.post-password-form input[type="submit"],
.post-password-form input[type="button"] {
  padding: 3px 10px;
}

/* clearfix */
.post p:before,
.post p:after {
  display: table;
  content: "";
}

.post p:after {
  clear: both;
}

@media screen and (max-width: 767px) {
  .post img {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

/*news 共通*/
.news .post_inner {
  max-width: 969px;
  margin: 0 auto;
}

/*news 一覧*/
main.news_list {
  margin-bottom: 180px;
}
.news_list .cmn_title01 {
  margin-bottom: 65px;
}
.news_list article {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: solid 1px #909090;
}
.news_list article time {
  display: inline-block;
  width: 160px;
  margin-bottom: 0;
  font-size: 14px;
  font-weight: bold;
}
.news_list article h3 {
  width: 83%;
  max-width: 808px;
}

.news_list article h3 a:hover {
  text-decoration: underline;
  /*  display: inline-block;
  border-bottom: solid 1px #c0c0c0;
  padding-bottom: 3px;*/
}

@media screen and (max-width: 750px) {
  main.news_list {
    margin-bottom: 130px;
  }
  .news_list .cmn_title01 {
    margin-bottom: 55px;
  }
  .news_list article {
    margin-bottom: 13px;
    padding-bottom: 13px;
  }
  .news_list article .flex {
    display: block;
  }
  .news_list article time {
    display: block;
    width: 100%;
    margin-bottom: 7px;
  }
  .news_list article h3 {
    width: 100%;
  }
}

/*news 詳細*/
main.news_digital {
  margin-bottom: 180px;
}
.news_digital .post {
  margin: 65px auto 85px;
}
.news_digital .post_tit {
  margin-bottom: 8px;
  padding-bottom: 13px;
  border-bottom: solid 2px #b2b2b2;
  font-size: 26px;
  font-weight: bold;
}
.news_digital time {
  display: block;
  margin-bottom: 55px;
  font-size: 15px;
  font-weight: bold;
  text-align: right;
}

@media screen and (max-width: 750px) {
  main.news_digital {
    margin-bottom: 130px;
  }
  .news_digital .post {
    margin-bottom: 60px;
  }
  .news_digital .post_tit {
    padding-bottom: 9px;
    font-size: 20px;
  }
  .news_digital time {
    margin-bottom: 30px;
    font-size: 14px;
  }
}
