@charset "UTF-8";
/**
 * @ editor.css
 *
 * 
 */

/* ==============================
  行間
============================== */
.l-editor > *:not(:first-child),
.l-editor .wp-block-accordion-panel > * {
  margin: 2em 0 1em;
}
.l-editor .wp-block-columns *:not(img) {
  margin-bottom: 0.5em;
}

/* ==============================
  見出し
============================== */
.l-editor h2:not(.cf7-section-title h2) {
  font-size: 2.8rem;
  font-weight: var(--weight-bold);
  padding: 10px 20px;
  border-left: 10px solid var(--color-green);
  background: #e9e9e9;
}
.l-editor h3 {
  font-size: 2.5rem;
  font-weight: var(--weight-bold);
  position: relative;
  padding-left: 20px;
}
.l-editor h3::before {
  content: "";
  width: 0.6em;
  height: 3px;
  background: var(--color-green);
  position: absolute;
  left: 0;
  top: 18px;
}
.l-editor h4 {
  font-size: 2rem;
  font-weight: var(--weight-bold);
}

@media screen and (max-width: 768px) {
  .l-editor h2:not(.cf7-section-title h2) {
    font-size: 2.4rem;
  }
  .l-editor h3 {
    font-size: 2.2rem;
  }
  .l-editor h3::before {
    top: 16px;
  }
  .l-editor h4 {
    font-size: 2rem;
  }
}
/* ==============================
  段落
============================== */
.l-editor p a,
.l-editor td a {
  text-decoration: underline;
}
.l-editor p + p {
  margin-top: 1em !important;
}
/* ==============================
  リスト
============================== */
.l-editor ul li {
  padding-left: 1.5em;
  position: relative;
}
.l-editor ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--color-green);
  border-radius: 50%;
  position: absolute;
  left: 8px;
  top: 10px;
}
.l-editor ol {
  padding-left: 1.5em;
}
.l-editor ol li {
  position: relative;
  list-style: decimal;
}

/* ==============================
  テーブル
============================== */
.l-editor thead {
  border-bottom: 1px solid !important;
  background: #ddd;
}
.l-editor .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table > table tr th {
  background: #ddd;
}
.wp-block-flexible-table-block-table {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}
.wp-block-flexible-table-block-table table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}
.wp-block-flexible-table-block-table th,
.wp-block-flexible-table-block-table td {
  box-sizing: border-box;
}

/* ==============================
  アコーディオン
============================== */
.l-editor h3.wp-block-accordion-heading {
  border-bottom: 2px solid var(--color-green);
  padding-left: 10px;
}
.l-editor h3.wp-block-accordion-heading::before {
  content: none;
}
/* ==============================
  iframe
============================== */
.l-editor iframe {
  width: 800px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin: auto !important;
}

/* ==============================
  ボタン
============================== */
.l-editor .wp-element-button {
  background: none;
  color: var(--color-green);
  font-weight: var(--weight-bold);
  border: 2px solid var(--color-green);
}

/* ==============================
  区切り
============================== */
.l-editor .wp-block-separator {
  border-top: 1px solid;
}
