@charset "UTF-8";
@font-face {
  font-family: noto-sans-jp;
  font-weight: normal;
  src: url("../fonts/Noto_Sans_JP/NotoSansJP-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: noto-sans-jp;
  font-weight: bold;
  src: url("../fonts/Noto_Sans_JP/NotoSansJP-Bold.woff") format("woff");
  font-display: swap;
}
/* ビジュアルエディタのフォント変更 */
#tinymce {
  font-family: noto-sans-jp, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

/* 記事内見出し */
.bl-post-h2 {
  padding: 5px 16px 9px;
  font-size: 22px;
  line-height: calc(32/22);
  color: #fff;
  background: linear-gradient(90deg, #02cbd0 0%, #1c0e05 100%);
}

/* 記事内小見出し */
.bl-post-h3 {
  position: relative;
  padding: 0 0 8px 18px;
  font-size: 20px;
  font-weight: bold;
  line-height: calc(29/20);
  border-bottom: 1px solid #145b67;
}

.bl-post-h3::before {
  position: absolute;
  top: 3px;
  left: 0;
  display: block;
  width: 7px;
  height: calc(100% - 13px);
  content: "";
  background: #02cbd0;
}

/* テキスト */
.bl-post-txt--s {
  font-size: 0.8em;
}

.bl-post-txt--l {
  font-size: 1.2em;
}

.bl-post-txt--ll {
  font-size: 1.4em;
}

.bl-post-txt--xl {
  font-size: 1.8em;
}

/* リンクタグ */
#tinymce a,
.bl-post-cont a {
  color: #e25e31;
  text-decoration: underline;
}

/* イタリック文字 */
#tinymce em,
.bl-post-cont em {
  font-family: "游ゴシック", "游ゴシック体";
  font-style: italic;
  font-weight: 500;
}

/* 蛍光マーカー */
.underline-red {
  background: linear-gradient(transparent 60%, #ff7f7f 60%);
}

.underline-blue {
  background: linear-gradient(transparent 60%, #6cf 60%);
}

.underline-green {
  background: linear-gradient(transparent 60%, #6fc 60%);
}

.underline-yellow {
  background: linear-gradient(transparent 60%, #ff6 60%);
}

/* マージン */
.m-20 {
  margin-bottom: 20px !important;
}

.m-30 {
  margin-bottom: 30px !important;
}

.m-40 {
  margin-bottom: 40px !important;
}

/* 画像 */
#tinymce img,
.bl_post img {
  display: block;
  float: none !important;
  width: auto;
  max-width: 100%;
  height: auto;
}

#tinymce img.alignright,
.bl_post img.alignright {
  margin: 0 0 0 auto;
}

#tinymce img.alignleft,
.bl_post img.alignleft {
  margin: 0 auto 0 0;
}

#tinymce img.aligncente,
.bl_post img.aligncenter {
  margin: 0 auto;
}

#tinymce {
  display: grid;
  gap: 32px;
}

#tinymce p,
#tinymce h3,
#tinymce h2 {
  margin: 0;
}

/* テーブル */
#tinymce table,
.bl_post table {
  border: 1px solid #000 !important;
}

#tinymce table th,
#tinymce table td,
.bl_post table th,
.bl_post table td {
  padding: 10px !important;
  background: #fff !important;
  border: 1px solid #000 !important;
}

.bl-post-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.bl-post-column .bl-column-body {
  display: grid;
  gap: 1.5em;
}

@media screen and (width <= 750px) {
  /* 記事内見出し */
  .bl-post-h2 {
    padding: 7.5px 24px 13.5px;
    font-size: 32px;
  }
  /* 記事内小見出し */
  .bl-post-h3 {
    padding: 0 0 12px 27px;
    font-size: 30px;
    border-width: 2px;
  }
  .bl-post-h3::before {
    top: 4.5px;
    width: 10.5px;
    height: calc(100% - 19.5px);
  }
  .bl-post-column {
    grid-template-columns: auto;
    gap: 48px;
  }
}