@charset "UTF-8";
:root {
  --color-white: #fff;
  --color-contrast: #f9efeb;
  --color-contrast02: #f8f4ea;
  --color-contrast03: #f2f2f2;
  --color-accent: #f25a5a;
  --color-accent02: #e72b31;
  --color-accent03: #ffed4d;
  --color-main: #32190e;
  --color-black: #222;
  --color-black02: #000;
  --color-link: #00f;
  --color-txt: #32190e;
  --color-gray: #ccc;
  --color-gray02: #707070;
  --color-gray03: #b2b2b2;
  --color-gray04: #808080;
  --color-gray05: #f2f2f2;
  --color-gray06: #9b9b9b;
}

@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;
}
@font-face {
  font-family: noto-serif-jp;
  font-weight: normal;
  src: url("../fonts/Noto-Serif-JP/NotoSerifJP-Regular.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: 13px 16px 15px;
  margin-top: 1.5em !important;
  font-family: noto-serif-jp, "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--color-white);
  background: var(--color-main);
}

/* 記事内小見出し */
.bl-post-h3 {
  position: relative;
  padding: 0 0 8px 24px;
  margin-top: 2em !important;
  font-family: noto-serif-jp, "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: calc(29/20);
  border-bottom: 1px solid var(--color-accent);
}

.bl-post-h3::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 8px;
  height: calc(100% - 8px);
  content: "";
  background: var(--color-accent);
}

.bl-post-h4 {
  margin-top: 1.5em !important;
  font-family: noto-serif-jp, "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
  font-size: 22px;
  font-weight: 400;
}

.c-post-def {
  display: grid;
  grid-template-columns: 362px 1fr;
  margin-top: 1.5em !important;
}
.c-post-def .c-post-dttl {
  display: flex;
  align-items: center;
  padding: 21px 32px 23px;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-accent);
}
.c-post-def .c-post-dttl:not(:first-of-type) {
  border-top: 2px solid var(--color-white);
}
.c-post-def .c-post-ditem {
  display: flex;
  align-items: center;
  padding: 18px 32px 19px;
  margin-inline: 0;
  background: var(--color-contrast);
}
.c-post-def .c-post-ditem:not(:first-of-type) {
  border-top: 2px solid var(--color-white);
}
.c-post-column {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 32px;
}
.c-post-column .c-column-imgwrapper {
  position: relative;
  align-self: start;
}
.c-post-column .c-column-imgwrapper > img {
  height: 194px;
  object-fit: cover;
}
.c-post-column .c-column-imgwrapper::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  content: "";
  border: 1px solid var(--color-main);
  transform: translate(-50%, -50%);
}

table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}
table:not(.def) thead tr:not(:first-of-type) th {
  border-top: none;
  border-left: none;
}
table:not(.def) thead th {
  padding: 15px 0 14px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  background: var(--color-contrast);
  border: 1px solid var(--color-gray02);
}
table:not(.def) thead th span {
  font-size: 14px;
  font-weight: 400;
}
table:not(.def) thead th:not(:first-of-type) {
  border-left: none;
}
table:not(.def) tbody th,
table:not(.def) tbody td {
  padding: 15px 24px;
  border: 1px solid var(--color-gray02);
  border-top: none;
}
table:not(.def) tbody th {
  background: var(--color-contrast02);
}
table:not(.def) tbody th.no-rowspan-th:not(.border) {
  border-left: none;
}
table:not(.def) tbody td {
  padding-inline: 32px;
  text-align: center;
  background: var(--color-white);
  border-left: none;
}
table:not(.def) tbody td p {
  margin-top: 0;
  text-align: left;
}
table:not(.def) tbody td p.bl-bullet {
  display: flex;
}
table:not(.def) tbody td p.bl-bullet::before {
  content: "・";
}
table:not(.def) tbody td p + p {
  margin-top: 8px;
}
table.def tbody tr:not(:first-of-type) th {
  border-top: none;
}
table.def tbody tr:not(:first-of-type) th.no-rowspan-th:not(.border) {
  border-left: none;
}
table.def tbody tr:not(:first-of-type) td {
  border-top: none;
}
table.def tbody tr th,
table.def tbody tr td {
  padding: 24px 32px;
}
table.def tbody tr th {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: left;
  background: var(--color-contrast);
  border: 1px solid var(--color-gray02);
}
table.def tbody tr th span {
  font-size: 14px;
  font-weight: 400;
}
table.def tbody tr th:not(:first-of-type) {
  border-left: none;
}
table.def tbody tr td {
  background: var(--color-white);
  border: 1px solid var(--color-gray02);
  border-left: none;
}

/* テキスト */
.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,
.c-post-single-cont a {
  color: var(--color-link);
  text-decoration: underline;
}

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

#tinymce > *,
.c-post-single-cont > * {
  margin-top: 1em;
}

#tinymce > .bl-tbl-wrapper,
.c-post-single-cont > .bl-tbl-wrapper {
  margin-top: 2em;
}

/* 蛍光マーカー */
.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;
}