/*---- 見出し ----*/
.editor-styles-wrapper h2 {
  background-color: #f5f2ef;
  border: 1px #e3dbd3 solid;
  font-weight: bold;
  line-height: 1.5;
}
.editor-styles-wrapper h3 {
  font-weight: bold;
  line-height: 1.5;
  border-bottom: 1px #e3dbd3 solid;
}
.editor-styles-wrapper h4 {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.5;
}

/* pc */
@media print, only screen and (min-width: 768px) {
  .editor-styles-wrapper h2 {
    font-size: 18px;
    padding: 16px 25px 14px 25px;
    margin-bottom: 20px;
  }
  .editor-styles-wrapper h3 {
    font-size: 18px;
    padding: 0 25px 10px 25px;
    margin-bottom: 18px;
  }
  .editor-styles-wrapper h4 {
    margin-bottom: 15px;
  }
}

/* sp */
@media screen and (max-width: 767px) {
  .editor-styles-wrapper h2 {
    font-size: 1.7rem;
    padding: 0.6rem 1.5rem 0.4rem 1.5rem;
    margin-bottom: 1rem;
  }
  .editor-styles-wrapper h3 {
    font-size: 17px;
    padding: 6px 15px 4px 15px;
    margin-bottom: 10px;
  }
  .editor-styles-wrapper h4 {
    margin-bottom: 10px;
  }
}
/*---- テキスト ----*/

.editor-styles-wrapper .bold {
  font-weight: bold;
}
.editor-styles-wrapper .italic {
  font-style: italic;
}
.editor-styles-wrapper .underline {
  text-decoration: underline;
}
.editor-styles-wrapper .line-through {
  text-decoration: line-through;
}
.editor-styles-wrapper a[target='_blank'] {
  background: url('../images/shared/icon-blank.svg') right center no-repeat;
  background-size: 12px auto;
  padding-right: 1em;
}
.editor-styles-wrapper p {
  font-size: 15px;
}
/* pc */
@media print, only screen and (min-width: 768px) {
  .editor-styles-wrapper p {
    /* margin-bottom: 70px; */
    margin-bottom: 30px;
  }
}

/* sp */
@media screen and (max-width: 767px) {
  .editor-styles-wrapper p {
    /* margin-bottom: 35px; */
    margin-bottom: 20px;
  }
}
/*---- リスト ----*/

.editor-styles-wrapper ul {
  font-size: 15px;
  list-style: disc;
}
.editor-styles-wrapper ol {
  font-size: 15px;
  list-style: decimal;
}
.editor-styles-wrapper li::marker {
  font-weight: bold;
  border: 1px #f0f solid;
}
/* pc */
@media print, only screen and (min-width: 768px) {
  .editor-styles-wrapper {
    font-size: 16px;
  }
  .editor-styles-wrapper ul,
  .editor-styles-wrapper ol {
    margin: 0 0 70px 1em;
  }
  .editor-styles-wrapper li {
    margin-bottom: 3px;
  }
}

/* sp */
@media screen and (max-width: 767px) {
  .editor-styles-wrapper ul,
  .editor-styles-wrapper ol {
    margin: 0 0 35px 1em;
  }
  .editor-styles-wrapper li {
    margin-bottom: 1px;
  }
}

/*---- ボタン ----*/

.editor-styles-wrapper .wp-block-buttons {
  margin-bottom: 20px;
}
.editor-styles-wrapper .wp-block-button {
  text-align: center;
  color: #fff;
  line-height: 1.5;
  cursor: pointer;
  position: relative;
  /* background-color: #593060; */
  border-radius: 3px;
  overflow: hidden;
}

.editor-styles-wrapper .wp-block-button a,
.editor-styles-wrapper .wp-block-button .wp-block-button__link {
  background-color: #593060;
  /* background-color: transparent; */
  background-image: none;
  border-radius: 0;
  /* display: inline-block; */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding-left:30px;
  padding-right:30px;
}

/* .editor-styles-wrapper .wp-block-button span {
  position: relative;
  z-index: 2;
} */

.editor-styles-wrapper .wp-block-button a:after,
.editor-styles-wrapper .wp-block-button .wp-block-button__link:after {
  content: '';
  display: inline-block;
  background: url('../images/shared/arrow-white.svg') center center no-repeat;
  background-size: contain;
  width: 13px;
  height: 13px;
  margin-left: 8px
  position: relative;
}

.editor-styles-wrapper .wp-block-button a[target='_blank']:after {
  content: '';
  display: inline-block;
  background: url('../images/shared/icon-blank-white.svg') center center
    no-repeat;
  background-size: contain;
  width: 13px;
  height: 13px;
  margin-left: 8px;
  position: relative;
}

.is-layout-flex {
  gap: 1em;
}

/* ボタンアニメーション */
.editor-styles-wrapper .wp-block-button:before {
  content: '';
  position: absolute;
  background: #aa9488;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: transform 0.3s cubic-bezier(0.8, 0, 0.2, 1), opacity 0.2s ease-in;
  transform: scale(0, 1);
  transform-origin: left top;
  border-radius: 3px;
  opacity: 0;
}
.editor-styles-wrapper .wp-block-button:hover:before {
  transform-origin: left top;
  transform: scale(1, 1);
  opacity: 1;
}
