/* TOC：目次 */
.single #ez-toc-container {
  width: calc(100% - 40px);
  margin: 2em 0;
  padding: 20px;
  border-radius: 10px;
  background-color: #f1f4f6;
}
.page #ez-toc-container {
  width: calc(100% - 40px);
  margin: 2em 0;
  padding: 20px;
  border-radius: 10px;
  background-color: #f1f4f6;
}
.ez-toc-link {
  text-decoration: none;
  color: #707070;
}
.ez-toc-link:hover {
  color: #ff9689;
}
div#ez-toc-container p.ez-toc-title {
  font-weight: 900;
  color: #7c787b;
  margin-bottom: 3%;
}
div#ez-toc-container li {
  margin-bottom: 2%;
}
#ez-toc-container ul.ez-toc-list {
  margin-left: 1em;
  list-style: none;
}
.ez-toc-list-level-3 {
  margin-left: 1em;
  list-style: none;
}

/*Contact Form 7*/
.wpcf7 {
  margin-bottom: 30px;
}
.cf7_name input {
  width: 100%;
  padding: 10px;
  font-size: 22px;
  border-radius: 3px;
  border: solid 2px #707070;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.cf7_mail input {
  width: 100%;
  padding: 10px;
  font-size: 22px;
  border-radius: 3px;
  border: solid 2px #707070;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.cf7_title {
  margin: 0 0 30px;
  color: #222222;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.67;
}
.cf7_checkbox {
  margin-bottom: 30px;
}
.cf7_checkbox table {
  width: 100%;
}
.cf7_checkbox th {
  width: 30%;
  padding: 20px 10px;
  font-size: 18px;
  border-radius: 3px;
  border: solid 2px #707070;
  background-color: #f1f6fa;
  margin-bottom: 30px;
  box-sizing: border-box;
  vertical-align: middle;
}
.cf7_checkbox td {
  width: 70%;
  padding: 20px 10px;
  font-size: 18px;
  border-radius: 3px;
  border: solid 2px #707070;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.wpcf7-list-item {
  margin-top: 10px !important;
  display: block !important;
}
.wpcf7 p {
  margin: 0 !important;
}
.wpcf7 textarea {
  width: 100%;
  padding: 10px;
  font-size: 22px;
  border-radius: 3px;
  border: solid 2px #707070;
  margin-bottom: 30px;
  letter-spacing: 1px;
  box-sizing: border-box;
}
.wpcf7 .wpcf7-submit {
  padding: 20px;
  font-size: 20px;
  font-weight: bold;
  width: 70%;
  margin: 0 15%;
  color: white;
  background-color: #ff9689;
  border: solid 2px #ff9689;
}
.wpcf7 .wpcf7-submit:hover {
  background-color: white;
  color: #ff9689;
  transition: 0.3s;
}
.form_check {
  margin-bottom: 30px;
}
.form_check input {
  width: auto !important;
  margin-bottom: 0 !important;
}

/* サイトマップ */
#sitemap_list li {
  margin-bottom: 10px;
}

/* wordpressエディター設定 */
.wp-block-button__link {
  text-decoration: unset !important;
}
.wp-block-image {
  text-align: center;
  border-radius: 6px;
  margin-bottom: 3.5em !important;
}
.wp-block-image img {
  width: auto;
  height: auto;
  max-height: 80vh;
}
.wp-block-media-text__media img,
.wp-block-media-text__media video {
  max-width: unset;
  width: 100%;
  vertical-align: middle;
  height: auto;
  max-height: 80vh;
}
.wp-block-quote {
  border-left: 0.25em solid;
  margin: 0 0 1.75em;
  padding-left: 1em;
}
.wp-block-quote p {
  margin: 0 0 0.75em !important;
}
.wp-block-embed iframe {
  width: 100%;
  height: 394px;
}
blockquote {
  position: relative;
  padding: 10px 15px 10px 50px;
  box-sizing: border-box;
  font-style: italic;
  background: #f8f8fa;
  color: #555;
}
blockquote:before {
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 15px;
  content: "\f10d";
  font-family: "Font Awesome 5 Free";
  color: #cfcfcf;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}
blockquote p {
  padding: 0;
  margin: 10px 0;
  line-height: 1.7;
}
blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}
blockquote {
  position: relative;
  padding: 10px 15px 10px 50px;
  box-sizing: border-box;
  font-style: italic;
  background: #f8f8fa;
  color: #555;
}
blockquote:before {
  display: inline-block;
  position: absolute;
  top: 18px;
  left: 15px;
  content: "\f10d";
  font-family: FontAwesome;
  color: #cfcfcf;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
}
blockquote p {
  padding: 0;
  margin: 10px 0;
  line-height: 1.7;
}
blockquote cite {
  display: block;
  text-align: right;
  color: #888888;
  font-size: 0.9em;
}
.wp-block-table table {
  border-collapse: collapse;
  border: solid 2px #f5b0d9;
  color: #f5b0d9;
  font-weight: bold;
}
.wp-block-table table td {
  padding: 1.3em;
}
.wp-block-columns h4 {
  padding: 15px 0px;
  letter-spacing: 1.5px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-top: 15px;
}
.wp-block-columns p {
  letter-spacing: 1px;
  line-height: 1.7;
}
.wp-block-media-text {
  margin-bottom: 25px;
}
.wp-block-media-text__content p {
  letter-spacing: 1px;
  line-height: 1.7;
  color: #707070;
  margin-bottom: 25px;
}
.wp-block-media-text__media img {
  border-radius: 10px;
}
.flexcard {
  padding: 15px;
  display: flex;
  align-items: center;
}
.download {
  width: 400px;
  height: auto;
  margin: 0 15px;
  text-align: center;
}
.download a {
  text-decoration: none;
}
.download p {
  letter-spacing: 1px;
  line-height: 1.7;
  color: #707070;
}
.dlb {
  color: #fff;
  text-align: center;
  margin: 0 auto;
  padding: 15px;
  width: fit-content;
  width: -moz-fit-content;
  margin-top: 15px;
  background-color: #f5b0d9;
  border-radius: 5px;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}
.wp-block-image figcaption {
  margin-top: 1.5em !important;
  margin-bottom: 1em !important;
  font-size: 1em;
  color: #656565;
  line-height: 2;
}

.wp-block-columns h4 {
  padding: 15px 0px;
  letter-spacing: 1.5px;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  margin-top: 15px;
}

.wp-block-columns p {
  letter-spacing: 1px;
  line-height: 1.7;
  margin-bottom: 15px;
}

#ez-toc-container {
  margin: 2em 0;
  width: 100%;
  border: none;
  padding: 20px;
  background-color: #fbf8fa;
}

/*タイトル*/
div#ez-toc-container p.ez-toc-title {
  font-weight: 900;
  color: #7c787b;
  margin-bottom: 3%;
}

div#ez-toc-container li {
  margin-bottom: 2%;
}

/*見出しリスト全体*/
#ez-toc-container ul.ez-toc-list {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

.ez-toc-list-level-3 {
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  list-style: none;
  margin-top: 2%;
}

.ez-toc-heading-level-3:last-child {
  margin-bottom: 3% !important;
}

.post-relation > ul > li {
  overflow: scroll;
  /* 	text-overflow: ellipsis; 
	white-space: nowrap; */
}

.wp-block-embed__wrapper {
  text-align: center;
}

.wp-block-embed figcaption {
  text-align: center;
  color: #767676;
}
.wp-block-image img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 80vh;
}

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 599px) {
  /*Contact Form 7*/
  .cf7_checkbox th {
    display: block;
    width: 100%;
    margin-bottom: 0px;
    border-bottom: 0px;
    border-radius: 3px 3px 0 0;
  }
  .cf7_checkbox td {
    display: block;
    width: 100%;
    margin-bottom: 0px;
    border-top: 0px;
    border-radius: 0px 0px 3px 3px;
  }
  /* Advanced Editor Tools */
  .single_content_wrap table {
    background-color: unset !important;
  }
  .single_content_wrap tr {
    margin: 0 0 15px;
    display: block;
    height: auto !important;
  }
  .single_content_wrap td {
    width: 100% !important;
    height: auto !important;
    padding: 20px !important;
    display: block !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
  }
  .single_content_wrap td:first-child {
    background-color: #ff9689 !important;
  }
  /* wordpressエディター設定 */
  h3.has-background {
    padding: 1.25em !important;
  }
  .no_margin {
    margin: 0 !important;
  }
  .wp-block-embed iframe {
    width: 500px;
    height: 211px;
  }
  .wp-block-media-text__media img {
    margin-bottom: 20px;
  }
  .post-relation > ul > li {
    margin: 3%;
  }
  div#ez-toc-container p.ez-toc-title {
    margin-bottom: 5%;
  }

  div#ez-toc-container li {
    margin-bottom: 5%;
  }
}
