@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.2
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/* タイトルリセット */
.article h2 {
    padding: 0;
    background: none;
	margin: 20px 0 10px 0;
	font-weight: 500;
	font-size: 1.4em;
	color: #000;
}
.article h3 {
    border: none;
    padding: 0;
	margin: 0;
}
.article h4 {
    border: none;
    padding: 0;
	margin: 0;
}
.article h5 {
    border: none;
    padding: 0;
	margin: 0;
}
.article h6 {
    border: none;
    padding: 0;
	margin: 0;
}

/*h2の見出し*/
.heading12 {
	position: relative;
	font-size: 26px;
	font-weight: 600;
}

.heading12::before {
	content: attr(data-number);
	display: inline-block;
	margin-right: 20px;
	color: #000;
	font-size: 1.2em;
	border-bottom: 1px solid #000;
}

.main, 
.sidebar {
  background-color: #efebe3;
}

a{ /*リンクテキスト装飾無し*/
  text-decoration: none;
}

/*サイドバー*/
.widget h3,
.related-entry-heading,
.comment-title{
	font-family: "Muli", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", YuGothic, Verdana, Meiryo, "M+ 1p", sans-serif;
}

div.sidebar {
	padding: 20px;
}

.sidebar h3 {
	background:transparent; /* Cocoon親テーマCSSリセットのため */
	padding: 8px 0px;
	border-bottom: 2px #000 dotted; /* ドット下線追加 */
	letter-spacing: 0.2em; /* 字間を広げる */
}


/*説明文*/
.setumei{
	font-size: 1em;
	margin: 10px 0 20px 0;
	line-height: 1.7;
}

.setumei a{
  color: #823872;
  border-bottom: 0.5px solid #6c0037;
}

.setumei2{
	font-size: 0.9em;
	margin: 0;
}

/*TOP写真*/
.body .wp-block-image figcaption {
  margin: 0;
  color: #000;
  font-size: 0.9em;
  text-align: right;
  line-height: 1.2;
  opacity: 0.8;
  padding: 0 px;
}



/* テキストの設定 */
.tkh p{
	font-size: 0.9em;
	padding-bottom: 0.2em;
	margin: 0;
	
}


/*ボタン*/
.waku{
	text-align: center;
	margin: 1em 0 1em 0;
}

.btn001{
  width: 100%;
  max-width: 350px;
  padding: 1em 1.0em;
  display: inline-block;
  letter-spacing: 0.1em;
  color: #3e1b15;
  font-size: 0.9em;
  border: 1px solid #000;
  border-radius: 4px;
  background-color: #8bd3dd ;
}

.btn001:hover {
  background-color: #ffe100;
  border-color: #000;
  color: #3e1b15;
}

/*人気キーワード-タグ*/

.inline-block_tag {
    display:  inline-block;     /* インラインブロック要素にする */
	margin-right:0.5em;
	font-size: 0.9em;
    background-color:  #efebe3;    /* 背景色指定 */
    width: auto;               /* 幅指定 */
	margin-bottom: 0.5em;
	color: #6c0037;
	  color: #78b346;
  border-bottom: 0.5px solid #6c0037;
}

.inline-block_test {
    display:  inline-block;     /* インラインブロック要素にする */
	margin-top: 10px;
	margin-right: 1em;
	font-size: 0.9em;
    background-color:  #ffe100;    /* 背景色指定 */
    width: auto;               /* 幅指定 */
	vertical-align: middle;
}

/*人気キーワード-タグ-見出し*/
.nktitle {
  position: relative;
  padding: 1rem 2rem calc(1rem + 10px);
  background: #fff100;

}

.nktitle:before {
  position: absolute;
  top: -7px;
  left: -7px;
  width: 100%;
  height: 100%;
  content: '';
  border: 5px solid #000;
}

.kew{
	font-size: 1.2em;
	font-weight: 600;
	color: #000;
	margin-bottom: 0.5em;
}

/*リスト*/
ol.sample1{
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:0.5em;
  margin: 0;
}
ol.sample1 li{
  position: relative;
  line-height: 1.5em;
  border-bottom: dashed 1px #8e8e8c;
  padding: 0.5em 0.5em 0.5em 30px;
  font-size: 0.8em;
}
ol.sample1 li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*数字のデザイン変える*/
  display:inline-block;
  background-color: #e84d8a;
  color: #fff;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}


/* 吹き出し */
.fukidashi {
  position: relative;
  padding: 0.5em 0 0.5em 0;
  background: #e4021a;
  width: 120px;
  font-size: 0.9em;
  color: #fff;
  text-align: center;
}

.fukidashi:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 40px;
  border: 10px solid transparent;
  border-top: 8px solid #e4021a;
  width: 0;
  height: 0;
}
/*youtube中央寄せ*/
.video-container {
    margin: 0px auto;
	padding: 0:
}


/* 目次全体デザイン */
.toc{
    background:#efebe3; /* 目次全体の背景色を変える場合はここを変更 */
    border:3px solid #fff;
    display:block;
    box-shadow: 0 3px 2px rgba(0,0,0,0.2);
    padding: 15px 10px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px -10px 10px;
    padding-left: 0.5em;
    font-size: 1.3em;
    font-weight: 600;
    color: #3e1b15; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -35px;
    width: 50px;
    height: 50px;
    font-family: "Font Awesome 5 Free";
    content : "\f022"; /* アイコンを変える場合はここを変更 */
    font-size: 0.8em;
    margin-right:15px;
    color:#FFF; /* アイコンの色を変える場合はここを変更 */
    background-color:#78b346; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:10px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.5em;
    position: relative;

}
.toc-content ol li {
	font-size: 1.1em;
    line-height: 1em;
    padding: 0.7em 0em 0.7em 1.2em;
    border-bottom: dashed 2px silver;
    list-style-type: none!important;
}
/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
    font-family: "Font Awesome 5 Free";
    content: "\f14a"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color:#78b346; /* アイコンの色を変える場合はここを変更 */
    font-weight: bold;

}
.toc-content ol li:last-of-type {
    border-bottom: none;
}
.toc-content .toc-list li {
    font-weight:500; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
    font-weight:normal; /* h3以降の文字サイズを普通に */
	font-size: 1em;
	margin-bottom: 0px;
	padding: 0.5em 0em 0.5em 0.8em;
}

/*吹き出しの色の初期設定 */
.sb-id-3 .speech-balloon {
background-color: #d7f0f8; /* 吹き出しメイン部分の背景色 */
border: 1px solid #d7f0f8; /* 吹き出しメイン部分の枠 */
color: #3e1b15; /* セリフの文字色 */
	font-size: 0.8em;
}
.sb-id-3 .speech-balloon::before {
border-right: 12px solid #d7f0f8; /* 三角部分の枠色 */
}
.sb-id-3 .speech-balloon::after {
border-right: 12px solid #d7f0f8; /* 三角部分の背景色 */
}
@media screen and (max-width: 480px){
.sb-id-3 .speech-balloon::before { border-right: 7px solid #d7f0f8; /* スマホでの三角部分の枠色 */
}
.sb-id-3 .speech-balloon::after { border-right: 7px solid #d7f0f8 /* スマホでの三角部分の背景色 */
}
}