@charset "utf-8";

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

  gap: 10px;
}
.wp-pagenavi .current {
  background-color: #f29600;
  color: #fff;
}
.wp-pagenavi .pages {
  display: none;
}
.wp-pagenavi a.page {
  background-color: #fff;
  color: #000;
}
.wp-pagenavi a {
  display: inline-block;
  width: 45px;
  height: 45px;
  background-color: #fff;
  font-size: 16px;
  line-height: 45px;
  text-align: center;
  white-space: nowrap;
}
.wp-pagenavi a.last {
  width: auto;
}
.wp-pagenavi span {
  display: inline-block;
  width: 45px;
  height: 45px;
  font-size: 16px;
  line-height: 45px;
  text-align: center;
}
.wp-pagenavi .nextpostslink-span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-top: 16px;
  border: 0;
  background-color: #fff;
  line-height: normal;
  transform: rotate(45deg);
}
.wp-pagenavi a.last {
  display: none;
}
@media screen and (max-width: 767px) {
  .wp-pagenavi span,
  .wp-pagenavi a {
    width: 35px;
    height: 35px;
    font-size: 14px;
    line-height: 35px;
  }
}

/* youtube */
.youtube_iframe {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
}
.youtube_iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ビジュアルエディタでのタグ調整 */
.post p {
  zoom: 1;
  margin: 0 0 1em 0;
  font-size: var(--font-size16);
  line-height: 1.7;
  letter-spacing: normal;
}
.post p a {
  text-decoration: underline;
}
.post p em {
  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;
  margin: 40px auto;
  padding: 0 7.4%;
}
.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 {
  position: relative;
  margin: 1em 0 1em 0;
  padding-left: 0.4em;
  font-size: 2em;
  font-weight: bold;
  line-height: 1.4;
  color: #f29600;
}
.post h1:before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 4px;
  height: 100%;
  background-color: #f29600;
  content: "";
}
.post h2 {
  margin: 1em 0 1em 0;
  font-size: 1.8em;
  font-weight: bold;
}
.post h3 {
  margin: 1em 0 1em 0;
  font-size: 1.7em;
  font-weight: bold;
  color: #f29600;
}
.post h4 {
  margin: 1em 0 1em 0;
  font-size: 1.6em;
  font-weight: bold;
}
.post h5 {
  margin: 1em 0 1em 0;
  font-size: 1.5em;
  font-weight: bold;
}
.post h6 {
  margin: 1em 0 1em 0;
  font-size: 1.3em;
  font-weight: bold;
}
.post ul {
  margin: 1.5em 0;
}
.post ul li {
  margin: 5px 0 5px 5px;
  padding-left: 1em;
  text-indent: -1em;
}
.post ul li:before {
  margin-right: 0.5em;
  font-size: 60%;
  color: #f29600;
  content: "●";
}
.post ol li {
  margin: 5px 0 5px 1em;
  list-style: decimal;
}
.post table {
  margin: 2em 0;
}
.post table th,
.post table td {
  padding: 0.7em 1em;
  border: 1px solid #b7b7b7;
}
.post table th {
  background-color: #f29600;
  font-weight: bold;
  color: #fff;
}
.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 a {
  position: relative;
  text-decoration: underline;
  color: #f29600;
}
@media (max-width: 767px) {
  .post p {
    font-size: var(--font-size15);
  }
}
/* 横長のテーブル対応 */
@media screen and (max-width: 767px) {
  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 h1 {
    margin: 1.5em 0;
    font-size: 20px;
    line-height: 1.4;
  }
  .post h2,
  .post h3,
  .post h4,
  .post h5,
  .post h6 {
    line-height: 1.4;
  }
  .post h2 {
    font-size: 18px;
  }
  .post h3 {
    font-size: 17px;
  }
  .post h4 {
    font-size: 16px;
  }
  .post h5 {
    font-size: 15px;
  }
  .post h6 {
    font-size: 13px;
  }
}

/*パスワード保護*/

.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;
  }
}
