@charset "UTF-8";
/* ========== p-mbtk-block-editor ========== */
/* =============================================
        　　　　　　文字色設定
============================================= */
.mbtk-block-editor .has-black-color {
  color: #000;
}

.mbtk-block-editor .has-cyan-bluish-gray-color {
  color: #ABB8C3;
}

.mbtk-block-editor .has-white-color {
  color: #FFF;
}

.mbtk-block-editor .has-pale-pink-color {
  color: #F78DA7;
}

.mbtk-block-editor .has-vivid-red-color {
  color: #CF2E2E;
}

.mbtk-block-editor .has-luminous-vivid-orange-color {
  color: #FF6900;
}

.mbtk-block-editor .has-luminous-vivid-amber-color {
  color: #FCB900;
}

.mbtk-block-editor .has-light-green-cyan-color {
  color: #7BDCB5;
}

.mbtk-block-editor .has-vivid-green-cyan-color {
  color: #00D084;
}

.mbtk-block-editor .has-pale-cyan-blue-color {
  color: #8ED1FC;
}

.mbtk-block-editor .has-vivid-cyan-blue-color {
  color: #0693E3;
}

.mbtk-block-editor .has-vivid-purple-color {
  color: #9B51E0;
}

/* =============================================
        　　　　　　背景色設定
============================================= */
.mbtk-block-editor .has-black-background-color {
  background-color: #000;
}

.mbtk-block-editor .has-cyan-bluish-gray-background-color {
  background-color: #ABB8C3;
}

.mbtk-block-editor .has-white-background-color {
  background-color: #FFF;
}

.mbtk-block-editor .has-pale-pink-background-color {
  background-color: #F78DA7;
}

.mbtk-block-editor .has-vivid-red-background-color {
  background-color: #CF2E2E;
}

.mbtk-block-editor .has-luminous-vivid-orange-background-color {
  background-color: #FF6900;
}

.mbtk-block-editor .has-luminous-vivid-amber-background-color {
  background-color: #FCB900;
}

.mbtk-block-editor .has-light-green-cyan-background-color {
  background-color: #7BDCB5;
}

.mbtk-block-editor .has-vivid-green-cyan-background-color {
  background-color: #00D084;
}

.mbtk-block-editor .has-pale-cyan-blue-background-color {
  background-color: #8ED1FC;
}

.mbtk-block-editor .has-vivid-cyan-blue-background-color {
  background-color: #0693E3;
}

.mbtk-block-editor .has-vivid-purple-background-color {
  background-color: #9B51E0;
}

.mbtk-block-editor h1,
.mbtk-block-editor h2,
.mbtk-block-editor h3,
.mbtk-block-editor h4,
.mbtk-block-editor h5,
.mbtk-block-editor h6,
.mbtk-block-editor blockquote,
.mbtk-block-editor blockquote *,
.mbtk-block-editor .wp-block-table,
.mbtk-block-editor p,
.mbtk-block-editor figure {
  margin: 0;
}

.mbtk-block-editor * {
  max-width: 100%;
}

/* 画質悪化防止 */
.mbtk-block-editor img {
  max-width: 100%;
  height: auto;
}

/* 画像の下マージン */
.mbtk-block-editor figure.wp-block-image {
  margin-bottom: 0rem;
}

/* 画質悪化防止２ */
.mbtk-block-editor figure.wp-block-image > img {
  max-width: 100%;
  height: auto;
}

/* =============================================
            以下プロジェクト毎に調整
============================================= */
/* 本文、下余白 */
:root {
  --mbtk-text-base-fz: 1.5rem;
  --mbtk-text-base-lh: 2;
  --mtbk-text-base-ls: 0;
}

.mbtk-block-editor p,
.mbtk-block-editor a {
  font-size: var(--mbtk-text-base-fz);
  font-weight: 500;
  line-height: var(--mbtk-text-base-lh);
  letter-spacing: var(--mtbk-text-base-ls);
}

/* リンク */
.mbtk-block-editor a {
  display: inline-block;
  word-break: break-word;
  text-decoration: underline;
  color: #8f7f6f;
  transition: opacity 0.2s;
}

@media (hover: hover) {
  .mbtk-block-editor a:hover {
    opacity: 0.5;
  }
}
/* 本文サイズ、x-large */
.mbtk-block-editor p.has-x-large-font-size {
  padding-bottom: 3rem;
}

.mbtk-block-editor .has-x-large-font-size a,
.mbtk-block-editor .has-x-large-font-size b,
.mbtk-block-editor .has-x-large-font-size strong,
.mbtk-block-editor .has-x-large-font-size,
.mbtk-block-editor ol li.has-x-large-font-size::before {
  font-size: 2.4rem !important;
  line-height: 1.6;
}

.mbtk-block-editor ul li.has-x-large-font-size::before {
  top: 2.1rem;
}

/* 本文サイズ、large */
.mbtk-block-editor p.has-large-font-size {
  padding-bottom: 3rem;
}

.mbtk-block-editor .has-large-font-size a,
.mbtk-block-editor .has-large-font-size b,
.mbtk-block-editor .has-large-font-size strong,
.mbtk-block-editor .has-large-font-size,
.mbtk-block-editor ol li.has-large-font-size::before {
  font-size: 2.2rem !important;
  line-height: 1.6;
}

.mbtk-block-editor ul li.has-large-font-size::before {
  top: 2.1rem;
}

/* 本文サイズ、medium */
.mbtk-block-editor p.has-medium-font-size {
  padding-bottom: 3rem;
}

.mbtk-block-editor .has-medium-font-size a,
.mbtk-block-editor .has-medium-font-size b,
.mbtk-block-editor .has-medium-font-size strong,
.mbtk-block-editor .has-medium-font-size,
.mbtk-block-editor ol li.has-medium-font-size::before {
  font-size: 1.9rem !important;
  line-height: 1.6;
}

.mbtk-block-editor ul li.has-medium-font-size::before {
  top: 1.7rem;
}

/* 本文サイズ、small */
.mbtk-block-editor p.has-small-font-size {
  padding-bottom: 3rem;
}

.mbtk-block-editor .has-small-font-size a,
.mbtk-block-editor .has-small-font-size b,
.mbtk-block-editor .has-small-font-size strong,
.mbtk-block-editor .has-small-font-size,
.mbtk-block-editor ol li.has-small-font-size::before {
  font-size: 1.5rem !important;
}

.mbtk-block-editor ul li.has-small-font-size::before {
  top: 1.2rem;
}

/* 本文下余白 */
.mbtk-block-editor p {
  padding-bottom: 3rem;
}

/* 引用 */
.mbtk-block-editor cite {
  font-size: var(--mbtk-text-base-fz);
  letter-spacing: var(--mtbk-text-base-ls);
}

/* 見出しフォントアピアランス、上下マージン */
.mbtk-block-editor h1,
.mbtk-block-editor h2,
.mbtk-block-editor h3,
.mbtk-block-editor h4,
.mbtk-block-editor h5,
.mbtk-block-editor h6 {
  position: relative;
  padding-left: 2.3rem;
  margin-bottom: 3rem;
  line-height: 1.5;
  letter-spacing: 0;
  color: #222;
}

/* 見出しフォントサイズ */
.mbtk-block-editor h1 {
  font-size: 4.4rem;
}

.mbtk-block-editor h2 {
  font-size: 3.6rem;
}

.mbtk-block-editor h3 {
  font-size: 2.4rem;
}

.mbtk-block-editor h4 {
  font-size: 2rem;
}

.mbtk-block-editor h5 {
  font-size: 1.8rem;
}

.mbtk-block-editor h6 {
  font-size: 1.6rem;
}

.mbtk-block-editor h1::before,
.mbtk-block-editor h2::before,
.mbtk-block-editor h3::before,
.mbtk-block-editor h4::before,
.mbtk-block-editor h5::before,
.mbtk-block-editor h6::before {
  content: "";
  position: absolute;
  top: 0.2em;
  left: 0;
  display: inline-block;
  height: 1.2em;
  height: 100%;
  height: calc(100% - 0.2em);
  border-radius: 1px;
  font-size: inherit;
  background-color: #8f7f6f;
}

.mbtk-block-editor h1::before {
  width: 7px;
}

.mbtk-block-editor h2::before,
.mbtk-block-editor h3::before {
  width: 6px;
}

.mbtk-block-editor h4::before,
.mbtk-block-editor h5::before,
.mbtk-block-editor h6::before {
  width: 5px;
}

/* 強調テキスト（太さ） */
.mbtk-block-editor strong {
  font-weight: bold !important;
}

/* 強調テキスト（イタリック体） */
.mbtk-block-editor em {
  font-style: italic;
}

/*センター揃え*/
.mbtk-block-editor .aligncenter,
.mbtk-block-editor .has-text-align-center,
.mbtk-block-editor .is-content-justification-center {
  text-align: center;
}

/*右揃え*/
.mbtk-block-editor .alignright,
.mbtk-block-editor .has-text-align-right,
.mbtk-block-editor .is-content-justification-right {
  text-align: right;
}

/* リスト */
.mbtk-block-editor ul,
.mbtk-block-editor ol {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.mbtk-block-editor ul li {
  position: relative;
  padding-left: 2rem;
  list-style-type: none;
  font-size: var(--mbtk-text-base-fz);
  font-weight: 500;
  line-height: var(--mbtk-text-base-lh);
  letter-spacing: var(--mtbk-text-base-ls);
}

.mbtk-block-editor ul li::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  top: 1.2rem;
  left: 0;
  display: inline;
  font-size: 1.9rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid #8f7f6f;
}

.mbtk-block-editor ol {
  list-style: auto;
  text-align: left;
  list-style-type: none;
  counter-reset: my-counter;
}

.mbtk-block-editor ol li {
  position: relative;
  padding-left: 2rem;
  font-size: var(--mbtk-text-base-fz);
  font-weight: 500;
  line-height: var(--mbtk-text-base-lh);
  letter-spacing: var(--mtbk-text-base-ls);
}

.mbtk-block-editor ol li::before {
  content: counter(my-counter) ".";
  counter-increment: my-counter;
  position: absolute;
  top: 0;
  left: 0;
  font-family: "Lato", sans-serif;
  font-size: var(--mbtk-text-base-fz);
  line-height: var(--mbtk-text-base-lh);
  letter-spacing: var(--mtbk-text-base-ls);
  color: #8f7f6f;
}

.mbtk-block-editor ol li::marker {
  font-size: 1.8rem;
}

.mbtk-block-editor span.mark {
  padding: 0 10px;
  vertical-align: middle;
  font-size: 1.2rem;
  line-height: 16px;
  border: 1px solid #001E2A;
}

.mbtk-block-editor span.mark.limited {
  border-color: #333;
  color: #FFF;
  background: #333;
}

/* ブロッククォート */
.mbtk-block-editor blockquote {
  position: relative;
  display: inline-block;
  padding: 4rem 5rem 4rem;
  border-radius: 5px;
  margin-top: 3rem;
  margin-bottom: 7rem;
  background-image: linear-gradient(to right, #b5aba1 3px, transparent 3px), linear-gradient(to right, #b5aba1 3px, transparent 3px), linear-gradient(to bottom, #b5aba1 3px, transparent 3px), linear-gradient(to bottom, #b5aba1 3px, transparent 3px);
  background-size: 6px 1px, 6px 1px, 1px 6px, 1px 6px;
  background-position: 0 0, 0 100%, 0 0, 100% 0;
  background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
}

.mbtk-block-editor blockquote * {
  font-size: var(--mbtk-text-base-fz);
  font-weight: 400;
  line-height: var(--mbtk-text-base-lh);
  letter-spacing: var(--mtbk-text-base-ls);
}

.mbtk-block-editor blockquote p {
  padding: 0;
}

/* ギャラリー */
.mbtk-block-editor .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem 2rem;
  padding-bottom: 6rem;
}

.mbtk-block-editor .wp-block-gallery .wp-block-image {
  padding-bottom: 0;
}

/* メディア下の余白 */
.mbtk-block-editor .wp-block-columns,
.mbtk-block-editor .wp-block-image,
.mbtk-block-editor .wp-block-file,
.mbtk-block-editor .wp-block-audio,
.mbtk-block-editor .wp-block-video {
  padding-bottom: 4rem;
}

/* 画像角丸スタイル*/
.mbtk-block-editor .is-style-rounded img {
  border-radius: 9999px;
}

/* メディア内本文 */
.mbtk-block-editor .wp-block-columns p,
.mbtk-block-editor .wp-block-image p,
.mbtk-block-editor .wp-block-file p,
.mbtk-block-editor .wp-block-audio p,
.mbtk-block-editor .wp-block-video p {
  padding-bottom: 0;
}

/* 動画 */
.mbtk-block-editor .wp-block-video video {
  width: 100%;
  margin: 1rem 0;
}

/* preタグ（codeタグの親にセットされ、コードのインデントを作る） */
.mbtk-block-editor .wp-block-code {
  padding: 2.5rem 4rem;
  border: 1px solid #444444;
  border-radius: 4rem;
  margin-top: 1rem;
  margin-bottom: 4rem !important;
  font-size: var(--mbtk-text-base-fz);
  line-height: var(--mbtk-text-base-lh);
  color: #222;
}

/* preタグ内に記述するcodeタグ（codeを表記するときに使う） */
.mbtk-block-editor .wp-block-code code {
  font-style: italic;
  white-space: break-spaces;
}

/* オーディオ */
.mbtk-block-editor audio {
  width: 100%;
  margin: 1rem 0;
}

/* フィグキャプション */
.mbtk-block-editor figcaption {
  padding: 1.5rem 0;
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: var(--mtbk-text-base-ls);
  color: #8f7f6f;
}

.mbtk-block-editor .wp-block-gallery figcaption.wp-element-caption {
  padding: 1.5rem 0 0;
}

/* ボタンリンク */
.mbtk-block-editor a.wp-block-button__link {
  display: inline-block;
  width: auto;
  padding: 1.4rem 2rem 1.6rem;
  border-radius: 9999px;
  margin: 0 0 5rem;
  text-align: center;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  background-color: #222;
  opacity: 1;
  transition: color 0.2s, background-color 0.2s, opacity 0.2s;
}

@media (hover: hover) {
  .mbtk-block-editor a.wp-block-button__link:hover {
    opacity: 0.6;
  }
}
/* ボタンリンク、hover */
.mbtk-block-editor a.wp-block-button__link:hover {
  color: #FFF;
  background-color: #000;
}

/* テーブル */
.mbtk-block-editor table {
  width: 100%;
  padding-bottom: 3rem;
}

.mbtk-block-editor .wp-block-table {
  margin-top: 2rem;
  margin-bottom: 5rem;
}

.mbtk-block-editor table tbody {
  width: 100%;
}

/* trにつけるテーブルボーダーの色 */
:root {
  --mbtk--tr-border-width: 1px;
  --mbtk--tr-border-color: #e4e1de;
}

.mbtk-block-editor table tbody tr {
  border-top: var(--mbtk--tr-border-width) solid var(--mbtk--tr-border-color);
}

.mbtk-block-editor table tbody tr:last-child {
  border-bottom: var(--mbtk--tr-border-width) solid var(--mbtk--tr-border-color);
}

/* tr内の上下マージン */
:root {
  --mbtk--th_td-padding: 1.3rem 2rem 1.4rem 0;
}

.mbtk-block-editor table tbody th {
  padding: var(--mbtk--th_td-padding);
  font-size: var(--mbtk-text-base-fz);
  line-height: var(--mbtk-text-base-lh);
  text-align: left;
  font-weight: 600;
  color: #8f7f6f;
}

.mbtk-block-editor table tbody tr td {
  padding: var(--mbtk--th_td-padding);
  font-size: var(--mbtk-text-base-fz);
  font-weight: 500;
  line-height: var(--mbtk-text-base-lh);
}

/* テーブル用フィグキャプション */
.mbtk-block-editor table + figcaption {
  padding-top: 0;
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

/* カラム、親 */
.mbtk-block-editor .wp-block-columns {
  display: flex;
  gap: 2rem;
  width: 100%;
  padding-bottom: 5rem;
}

/* カラム、子 */
.mbtk-block-editor .wp-block-columns .wp-block-column {
  width: 100%;
  padding-top: 0;
}

.mbtk-block-editor .wp-block-columns .wp-block-column > * {
  padding-top: 1.5rem;
  padding-bottom: 0;
  margin: 0;
}

.mbtk-block-editor .wp-block-columns .wp-block-column > *:first-child {
  padding-top: 0;
}

/* 区切り線 */
.mbtk-block-editor hr {
  border: none;
  border-bottom: 1px solid #444;
  border-image-slice: 1;
  margin-bottom: 5.5rem;
}

/* 埋め込みタグ */
.mbtk-block-editor .is-provider-youtube,
.mbtk-block-editor .is-provider-vimeo {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 4rem;
}

/* 動画 */
.mbtk-block-editor iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  margin: 1rem 0 4rem;
}

/* マップ */
.mbtk-block-editor iframe[src*=maps] {
  width: 100%;
  height: 45rem;
}

/* YouTube */
.mbtk-block-editor iframe[title=YouTube] {
  overflow: hidden;
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}

/* ----- responsive (1000) ----- */
@media screen and (max-width: 1000px) {
  :root {
    --mbtk-text-base-fz: 1.5rem;
    --mbtk-text-base-lh: 2;
  }
  .mbtk-block-editor .has-x-large-font-size a,
  .mbtk-block-editor .has-x-large-font-size b,
  .mbtk-block-editor .has-x-large-font-size strong,
  .mbtk-block-editor .has-x-large-font-size,
  .mbtk-block-editor ol li.has-x-large-font-size::before {
    font-size: 2.1rem !important;
  }
  .mbtk-block-editor ul li.has-x-large-font-size::before {
    top: 1.6rem;
  }
  .mbtk-block-editor .has-large-font-size a,
  .mbtk-block-editor .has-large-font-size b,
  .mbtk-block-editor .has-large-font-size strong,
  .mbtk-block-editor .has-large-font-size,
  .mbtk-block-editor ol li.has-large-font-size::before {
    font-size: 1.8rem !important;
  }
  .mbtk-block-editor ul li.has-large-font-size::before {
    top: 1.4rem;
  }
  .mbtk-block-editor .has-medium-font-size a,
  .mbtk-block-editor .has-medium-font-size b,
  .mbtk-block-editor .has-medium-font-size strong,
  .mbtk-block-editor .has-medium-font-size,
  .mbtk-block-editor ol li.has-medium-font-size::before {
    font-size: 1.6rem !important;
  }
  .mbtk-block-editor ul li.has-medium-font-size::before {
    top: 1.1rem;
  }
  .mbtk-block-editor .has-small-font-size a,
  .mbtk-block-editor .has-small-font-size b,
  .mbtk-block-editor .has-small-font-size strong,
  .mbtk-block-editor .has-small-font-size,
  .mbtk-block-editor ol li.has-small-font-size::before {
    font-size: 1.2rem !important;
  }
  .mbtk-block-editor ul li.has-small-font-size::before {
    top: 0.7rem;
  }
  .mbtk-block-editor p {
    padding-bottom: 2rem;
  }
  /* 見出しフォントアピアランス、上下マージン */
  .mbtk-block-editor h1,
  .mbtk-block-editor h2,
  .mbtk-block-editor h3,
  .mbtk-block-editor h4,
  .mbtk-block-editor h5,
  .mbtk-block-editor h6 {
    padding-left: 2rem;
    margin-bottom: 2rem;
  }
  .mbtk-block-editor h1 {
    font-size: 2.8rem;
  }
  .mbtk-block-editor h2 {
    font-size: 2.6rem;
  }
  .mbtk-block-editor h3 {
    font-size: 2.4rem;
  }
  .mbtk-block-editor h4 {
    font-size: 2.2rem;
  }
  .mbtk-block-editor h5 {
    font-size: 2rem;
  }
  .mbtk-block-editor h6 {
    font-size: 1.7rem;
  }
  .mbtk-block-editor ul li::before {
    top: 1.1rem;
  }
  .mbtk-block-editor blockquote {
    padding: 3rem 2.2rem 3rem;
    margin-top: 2rem;
    margin-bottom: 5rem;
  }
  .mbtk-block-editor .wp-block-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .mbtk-block-editor .wp-block-columns,
  .mbtk-block-editor .wp-block-image,
  .mbtk-block-editor .wp-block-file,
  .mbtk-block-editor .wp-block-audio,
  .mbtk-block-editor .wp-block-video {
    padding-bottom: 3rem;
  }
  .mbtk-block-editor figcaption {
    font-size: 1.4rem;
  }
  .mbtk-block-editor a.wp-block-button__link {
    margin: 0 0 3rem;
  }
  .mbtk-block-editor table {
    padding-bottom: 3rem;
  }
  .mbtk-block-editor .wp-block-table {
    margin-top: 1rem;
    margin-bottom: 4rem;
  }
  :root {
    --mbtk--th_td-padding: 1.7rem 2rem 1.8rem 2rem;
  }
  .mbtk-block-editor table + figcaption {
    margin-top: 1.5rem;
  }
  .mbtk-block-editor .wp-block-columns {
    padding-bottom: 3rem;
  }
  .mbtk-block-editor hr {
    margin-bottom: 4rem;
  }
  .mbtk-block-editor iframe {
    margin: 1rem 0 3rem;
  }
  .mbtk-block-editor iframe[src*=maps] {
    width: 100%;
    height: 30rem;
  }
}
/* ----- responsive (750) ----- */
@media screen and (max-width: 750px) {
  .mbtk-block-editor .wp-block-gallery {
    grid-template-columns: repeat(1, 1fr);
    gap: 4rem 2rem;
    padding-bottom: 4rem;
  }
  .mbtk-block-editor .wp-block-columns {
    flex-direction: column;
    gap: 3rem;
  }
}
/* --------- mbtk-block-editor ここまで --------- */
