@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.3
*/

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

/*h2の見出し変更コード*/

.article h2, .related-entry-heading, .comment-title,
.article h2:before, .article h2:after,
.related-entry-heading:before, .comment-title:before,
.related-entry-heading:after, .comment-title:after {
	border: none;
}

.article h2:before, .article h2:after,
.related-entry-heading:before, .comment-title:before,
.related-entry-heading:after, .comment-title:after{
	pointer-events: none;
}

.article h2, .related-entry-heading, .comment-title {
	position: relative;
	background: rgba(var(--back-color), 1);
	box-shadow: 0 0 1px 3px rgba(var(--back-color), 1);
	border-radius: 2em 7em 5em 7em/10em 3em 1em 1em;
}

.article h2:before, .article h2:after,
.related-entry-heading:before, .comment-title:before,
.related-entry-heading:after, .comment-title:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.article h2:before, .related-entry-heading:before, .comment-title:before {
	transform: rotate(-.7deg);
	border-radius: 6em 6em 2em 9em/2em 8em 9em 4em;
}

.article h2:after, .related-entry-heading:after, .comment-title:after {
	transform: rotate(.7deg);
	border-radius: 10em 8em 10em 5em/5em 10em 6em 10em;
}


/*以下自分で改良して追加したコード*/
.article h2, .related-entry-heading, .comment-title {
	position: static;
	border: none;
	background: rgba(var(--back-color), 1);
	box-shadow: 0 0 1px 3px rgba(var(--back-color), 1);
	border-radius: 0;
}


.article h2 {
  background: #dfefff;
  box-shadow: 0px 0px 0px 5px #dfefff;
  border: dashed 2px white;
  padding: 0.2em 0.5em;
 
}





/*h3の見出し変更コード*/
.article h3 {
	position: relative;
	margin: 3em 0 1.5em;
	padding: .5em 1em .5em 36px;
	border:none;
	border-bottom: none;
}

.article h3:before {
	position: absolute;
	content:none;
	display: none;
	top:0;
	left: 0;
	width: 0;
	height: 0;
	background: none;
	filter: none;
	border-radius: 0;
}


/*自分で入力したH3コード*/
.article h3 {
  position: relative;
  padding-left: 1.2em;/*アイコン分のスペース*/
  line-height: 1.4;
}

.article h3:before {
  font-family: "Font Awesome 5 Free";
  content: "\f00c";/*アイコンのユニコード*/
  font-weight: 900;
  position: absolute;/*絶対位置*/
  font-size: 1em;/*サイズ*/
  left: 0;/*アイコンの位置*/
  top: 0;/*アイコンの位置*/
  color: #5ab9ff; /*アイコン色*/
  font-weight: 900;
}

.article h3 {
   background-color: transparent; /* 背景色を透明に */
   border: none; /* 枠線なし */
   border-radius: 0; /* 角の丸みなし */
}

.article h3 {
   padding: 0.3em 0; /* 内側余白調整 */
   border-bottom: 3px dashed #c2e7eb; /*太さ・破線・色 */
   color:#333; /* 文字色（黒）*/
}







/*タブ見出しボックス*/
.tab-caption-box-label{ 
	padding: 6px 16px; /*タブ内側余白*/
	font-size: 16px; /*タイトル文字の大きさ*/
	font-weight: bold; /*タイトル文字の太さ*/
	border-radius: 4px 4px 0px 0px;  /*タブ角丸*/
}

.tab-caption-box-content {
	position: relative;  /*配置に関するもの（ここを基準に）*/
	top: 1px; /*上から(1px）移動*/
	border: 2px solid; /*ボックス線*/
	padding: 48px 24px; /*ボックス内側余白*/
	border-radius: 4px; /*ボックス角丸*/
	border-top-left-radius: 0px; /*ボックス左上角丸*/
}



ol {
  counter-reset:number; /*数字をリセット*/
  list-style-type: none!important; /*数字を一旦消す*/
  padding:0.5em;
  background: #f5faff;
}
ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
}




/*数字リスト*/
ol li:before{
  /* 以下数字をつける */
  position: absolute;
  counter-increment: number;
  content: counter(number);
  /*以下数字のデザイン変える*/
  display:inline-block;
  background: #5c9ee7;
  color: white;
  font-family: 'Avenir','Arial Black','Arial',sans-serif;
  font-weight:bold;
  font-size: 15px;
  border-radius: 50%;
  left: 0;
  width: 25px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  /*以下 上下中央寄せのため*/
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}



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

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

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