@charset "utf-8";

/* ====================================================
youtube
==================================================== */
.post iframe {
  width: 100% !important;

  aspect-ratio: 16 / 9;
}

/* ====================================================
ビジュアルエディタでのタグ調整
==================================================== */
.post p {
  zoom: 1;
  margin: 0 0 1em 0;
  font-size: var(--font-size16);
  line-height: 1.8;
}
.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;
  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 {
  position: relative;
  margin: 1em 0 1em 0;
  padding-left: 10px;
  font-size: 1.8em;
  font-weight: bold;
  line-height: 1.4;
  color: var(--c-blue1);
}
.post h1:before {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  width: 4px;
  height: 100%;
  background-color: var(--c-blue1);
  content: "";
}
.post h2 {
  margin: 1em 0 1em 0;
  font-size: 1.7em;
  font-weight: bold;
}
.post h3 {
  margin: 1em 0 1em 0;
  font-size: 1.6em;
  font-weight: bold;
  color: var(--c-blue1);
}
.post h4 {
  margin: 1em 0 1em 0;
  font-size: 1.5em;
  font-weight: bold;
}
.post h5 {
  margin: 1em 0 1em 0;
  font-size: 1.3em;
  font-weight: bold;
}
.post h6 {
  margin: 1em 0 1em 0;
  font-size: 1.2em;
  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: var(--c-blue1);
  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: var(--c-blue1);
  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: var(--c-blue1);
}

/* ====================================================
/* 横長のテーブル対応
==================================================== */
@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;
  }
}

/* ====================================================
アイコン
==================================================== */
a[target="_blank"]:after {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 0 2px 8px;
  background-image: url(../img/common/ico_target.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  content: "";
}
a[href*=".pdf"]:after {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin: 0 0 2px 8px;
  background-image: url(../img/common/ico_pdf.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  content: "";
}
a[href$=".xlsx"]:after,
a[href$=".xls"]:after {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin: 0 0 2px 8px;
  background-image: url(../img/common/ico_xlsx.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  content: "";
}
a[href$=".doc"]:after,
a[href$=".docx"]:after {
  display: inline-block;
  width: 21px;
  height: 21px;
  margin: 0 0 2px 8px;
  background-image: url(../img/common/ico_docs.svg);
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  content: "";
}

/* ====================================================
/* パスワード保護
==================================================== */
.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;
  }
}
