/*
Theme Name:enfold-child
Template:enfold
Version:4.7.3
*/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap');
h1, h2, h3, h4, h5, h6, #top .title_container .main-title, tr.pricing-row td, #top .portfolio-title, .callout .content-area, .avia-big-box .avia-innerbox, .av-special-font, .av-current-sort-title, .html_elegant-blog #top .minor-meta, #av-burger-menu-ul li{
	font-family: 'Noto Sans JP', sans-serif !important;
}
.header_color a {
	font-size: 1.2rem;
}

/*　---------------------------------------------
  目次デザイン
---------------------------------------------  */
#ez-toc-container a.ez-toc-pull-right.ez-toc-btn.ez-toc-btn-xs.ez-toc-btn-default.ez-toc-toggle {
	border: none !important;
}
#ez-toc-container label {
	display: inline-block !important;
	vertical-align: middle !important;
}
div#ez-toc-container p.ez-toc-title{
	display: inline-block !important;
}
div#ez-toc-container p.ez-toc-title:before{
	content: none !important;
}
/*全体*/
.entry-content>div#ez-toc-container {
  margin: 2em 0;
  width: 100%;
  padding: 20px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0px;
  border: none;
  border-top: 4px double #c3512f;
  border-bottom: 4px double #c3512f;
}


/*タイトル*/
div#ez-toc-container p.ez-toc-title {
  font-weight: 900;
  color: #382410;
}

div#ez-toc-container p.ez-toc-title:before {
  font-family: "Font Awesome 5 Free";
  content: "\f0ca";
  font-weight: 900;
  color: tomato;
  margin-right: .5em;
}

.popular-posts h3 {
  font-size: 1.1em;
}

/*表示・非表示ボタン*/
#ez-toc-container a.ez-toc-pull-right.ez-toc-btn.ez-toc-btn-xs.ez-toc-btn-default.ez-toc-toggle {
  border: 1px solid #c3512f;
  box-shadow: none;
  border-radius: 50%;
  padding: 1em;
  margin-left: 50px;
  background: transparent;
}

#ez-toc-container a.ez-toc-pull-right.ez-toc-btn.ez-toc-btn-xs.ez-toc-btn-default.ez-toc-toggle i {
  color: #c3512f;
}

/*見出しリスト全体*/
div#ez-toc-container ul.ez-toc-list {
  margin-left: 1em;
}

/*記事内サムネ*/
.single-post .single-small.with-slider .small-preview {
  width: 100px;
  height: 100px;
}
.main_color h2 {
  background-color: #c3512f;
  color: #fff !important;
  padding: 10px;
  margin-bottom: 20px;
  font-size: 20px;
}
.main_color h2.post-title.entry-title {
  background-color: transparent;
  color: #444 !important;
}
.main_color h3 {
  border-bottom: 5px double #c3512f !important;
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.main_color h4 {
  border-left: 5px solid #c3512f !important;
  padding-left: 10px;
  margin-bottom: 10px;
}

/*記事内マーカー*/
.orange-1 {
  background: linear-gradient(transparent 80%, #c3512f 80%);
}

.widget.popular-posts>h2 {
  font-size: 1.1em;
}

.grecaptcha-badge {
  visibility: hidden;
}

/* 関連記事 */
.commentsclosed {
	margin-right: 50px;
}
.related_post {
  width: auto;
  margin-bottom: 40px;
  margin-top: 40px;
  padding-right: 50px;
}

.related_post_container {
  width: auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-left: 0;
}

.related_post_container li {
  width: 24%;
  margin-right: 1.3%;
}

.related_post_container li:nth-child(4) {
  margin-right: 0;
}

.related_post_container li:nth-child(8) {
  margin-right: 0;
}

.related_post_container li:nth-child(n+1):nth-child(-n+4) {
  margin-bottom: 10px;
}

.related_post_container a {
  display: flex;
  flex-direction: column;
  color: #1f1411;
}

.related_thumb {
  width: 100%;
}

.related_title {
  font-size: 12px;
  font-weight: 700;
  margin-top: 0;
}

#ez-toc-container a.ez-toc-pull-right.ez-toc-btn.ez-toc-btn-xs.ez-toc-btn-default.ez-toc-toggle{
	padding-top: 0 !important;
}

@media (max-width: 767px) {
  .sidebar_right .comment_container {
    padding-right: 0;
  }
  .commentsclosed {
    margin-right: 0;
  }
  .related_post {
    padding-right: 0;
  }

  .related_post_container {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .related_post_container li {
    width: auto;
    margin-right: 0;
    margin-bottom: 10px;
    border: 1px solid #E8E8E8;
    padding: 10px;
    box-sizing: border-box;
  }

  .related_post_container li:nth-child(n+1):nth-child(-n+4) {
    margin-bottom: 10px;
  }

  .related_post_container a {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .related_thumb {
    width: 43%;
  }

  .related_thumb img {
    vertical-align: bottom;
  }

  .related_title {
    width: 55%;
    font-size: 12px;
  }
  .big-preview.single-big {
    padding-right: 0 !important;
  }

}
