@font-face {
  font-family: "LINESeedJP_Rg";
  src: url("../font/SB_LINESeedJP_TTF_Rg.ttf") format("truetype");
  src: url("../font/SB_LINESeedJP_TTF_Rg.woff2") format("woff2");
  src: url("../font/SB_LINESeedJP_TTF_Rg.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "LINESeedJP_Bd";
  src: url("../font/SB_LINESeedJP_TTF_Bd.ttf") format("truetype");
  src: url("../font/SB_LINESeedJP_TTF_Bd.woff2") format("woff2");
  src: url("../font/SB_LINESeedJP_TTF_Bd.woff") format("woff");
  font-display: swap;
}

.editor-styles-wrapper {
  font-family: "LINESeedJP_Rg", YuGothic, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif !important;
  margin-top: 35px;
  padding-bottom: 80px;
  margin-bottom: 80px;
  border-bottom: 2px solid #E6E6E6;
}
@media screen and (max-width: 768px) {
  .editor-styles-wrapper {
    padding-bottom: 65px;
    margin-bottom: 65px;
  }
}
.editor-styles-wrapper h2, .editor-styles-wrapper h3, .editor-styles-wrapper h4, .editor-styles-wrapper h5 {
  font-family: "LINESeedJP_Bd", YuGothic, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif !important;
  margin-top: 50px;
  line-height: 1.5;
}
.editor-styles-wrapper h2 {
  margin-bottom: 25px;
  background: #F2F8FA;
  padding: 10px 15px;
  border-left: 5px solid #120833;
  font-size: 18px;
}
.editor-styles-wrapper h3 {
  padding: 10px 0;
  margin-bottom: 25px;
  border-bottom: 1px solid #120833;
  font-size: 18px;
}
.editor-styles-wrapper h4 {
  padding: 10px 0;
  margin-bottom: 35px;
  border-bottom: 1px solid #BFBFBF;
  font-size: 18px;
}
.editor-styles-wrapper h5 {
  padding: 10px 0;
  margin-bottom: 30px;
  border-bottom: 1px solid #BFBFBF;
  font-size: 16px;
}
.editor-styles-wrapper h6 {
  margin-bottom: 30px;
  font-size: 16px;
}

.editor-styles-wrapper p {
  margin-bottom: 25px;
  line-height: 1.875;
  font-size: 16px;
}
.editor-styles-wrapper a {
  text-decoration: underline;
  color: #120833;
}
.editor-styles-wrapper a:focus {
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .editor-styles-wrapper a:hover {
    text-decoration: none;
  }
}
.editor-styles-wrapper ul, .editor-styles-wrapper ol {
  line-height: 1.5;
  margin-bottom: 35px;
  list-style: none;
  padding-left: 0;
}
.editor-styles-wrapper ul li, .editor-styles-wrapper ol li {
  padding-left: 2em;
  position: relative;
}
.editor-styles-wrapper ul li:not(:last-of-type), .editor-styles-wrapper ol li:not(:last-of-type) {
  margin-bottom: 15px;
}
.editor-styles-wrapper ul li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #120833;
  position: absolute;
  left: 0.5em;
  top: 0.5em;
}

.editor-styles-wrapper ul ul {
  padding-top: 0.8em;
  margin-bottom: 0;
}
.editor-styles-wrapper ul ul li {
  padding-left: 1.7em;
}
.editor-styles-wrapper ul ul li:not(:last-of-type) {
  margin-bottom: 10px;
}
.editor-styles-wrapper ul ul li::before {
  width: 7px;
  height: 7px;
  background: #d7d7d7;
  background: #beaef2;
  top: 0.5em;
}

.editor-styles-wrapper ol {
  counter-reset: ol_num 0;
}

.editor-styles-wrapper ol li {
  counter-increment: ol_num 1;
}

.editor-styles-wrapper ol li::before {
  content: counter(ol_num) "";
  color: #fff;
  border-radius: 50%;
  font-family: "LINESeedJP_Bd", YuGothic, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  background: #120833;
  position: absolute;
  top: 0;
  left: 0;
  width: 25px;
  height: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.editor-styles-wrapper ol ol {
  padding-top: 0.8em;
}
.editor-styles-wrapper ol ol li {
  padding-left: 1.7em;
}
.editor-styles-wrapper ol ol li::before {
  background: none;
}

.editor-styles-wrapper table {
  margin-bottom: 30px;
}

.editor-styles-wrapper td {
  padding: 1em;
  border: 1px solid #000;
  vertical-align: middle;
}

@media screen and (max-width: 768px) {
  .editor-styles-wrapper .wp-block-table {
    width: 96vw;
    overflow: scroll;
    padding-right: 5px;
    padding-bottom: 10px;
  }
  .editor-styles-wrapper .wp-block-table table {
    white-space: nowrap;
  }
}

.editor-styles-wrapper .wp-block-image img {
  object-fit: cover;
  object-position: center;
}

.editor-styles-wrapper *::selection {
  background: #9dcae3;
}

.editor-styles-wrapper .wp-block-table {
  overflow-y: hidden;
}

.editor-styles-wrapper .wp-block-table figcaption {
  display: none;
}

body.post-type-event .acf-fields.-left > .acf-field:before,body.post-type-event .acf-fields.-left > .acf-field > .acf-label {
  width: 120px;
}
.editor-styles-wrapper .wp-block-table.custom-table td {
  padding: 22px 35px;
  background: #fff;
  border: 1px solid #e7e9ef;
  vertical-align: middle;
}

.editor-styles-wrapper .wp-block-table.custom-table tr td:first-of-type{
  font-family: "LINESeedJP_Bd", YuGothic, "游ゴシック", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", sans-serif;
  color: #fff;
  background: #6dbf44;
  width: 170px;
}

@media screen and (max-width: 768px) {
  body.post-type-event .editor-styles-wrapper .wp-block-table {
    width: 100%;
    overflow: unset;
    padding-right: 0;
    padding-bottom: 0;
  }
  body.post-type-event .editor-styles-wrapper .wp-block-table table {
    white-space: unset;
  }
}