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

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

/*youtubeのサイズ変更*/
.video-container {
max-width: 100%;
margin: 0px auto;
}
/*youtubeのサイズ変更*/

/*テーブル
table tr td.has-text-align-left{
	width:75%;
}
テーブル*/

/* 見出しのデザインリセット */
/* H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

/* H3 */
.entry-content h3{
border:none;
background:none;
padding: 0;
}

.sidebar h3{
border:none;
background:none;
padding: 0;
}

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}
/* 見出しのデザインリセット */

/*H2見出し*/
main h2.wp-block-heading {
    color: #333;/*文字色*/
    font-size: 23px;
    padding: 30px 20px 15px;/*文字回りの余白（上 左右 下）*/
    display: block;
    position: relative;
}
main h2.wp-block-heading:before {
    content: '';
    background: #007bff;/*背景色*/
    width: calc(100% + 3px);
    height: calc(100% + 3px);
    position: absolute;
    top: 0px;
    left: 6px;
    z-index: -1;
    transform: rotate(1.5deg);/*背景影部の回転*/
}
main h2.wp-block-heading:after {
    content: '';
    background: #fff;/*背景色（白）*/
    border: 3px solid #007bff;/*背景白部の囲み線（太さ 実線 色*/
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: -5px;
    z-index: -1;
    transform: rotate(-.5deg);/*背景白部の回転*/
}
/*H3見出し*/
main h3.wp-block-heading {
  position: relative;
  padding: 1.2em;
  background: #007bff;
  color:#fff;
}

main h3.wp-block-heading:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #007bff;
  width: 0;
  height: 0;
}

/*H4見出し*/
main h4.wp-block-heading {
    color: #333;/*文字色*/
    font-size: 20px;/*文字サイズ*/
    background-color: #fff;/*背景色（白）*/
    display: block;
    padding: 15px 20px;/*文字回りの余白（上下 左右）*/
    border-left: 3px solid #007bff;/*左線（太さ 実線 色）*/
    border-bottom: 3px solid #007bff;/*下線（太さ 実線 色）*/
    position: relative;
}
main h4.wp-block-heading:before,
main h4.wp-block-heading:after {
    content: '';
    height: 0;
    width: 0;
    border: solid transparent;
    position: absolute;
    left: 30px;
}
main h4.wp-block-heading:before {
    border-color: transparent;
    border-top-color: #007bff;/*吹き出しの矢印部の線色*/
    border-width: 15px;
    top: 100%;
    left: 26px;
}
main h4.wp-block-heading:after {
    border-color: transparent;
    border-top-color: #fff;
    border-width: 11px;
    top: 99%;
}

/*ウィジェットH3見出し*/
 h3.widget-sidebar-title {
    color: #333333;                     
    background: #ffffff;                
    padding: 0.25em 0.6em;          
    border-top: none;                   
    border-right: none;               
    border-bottom: none;              
    border-left: solid 6px #007bff;     
 }

/*検索ボタン*/
input.search-edit{
  border: 1px solid #007bff;/*検索ボックスのボーダー*/
  position: relative;
}
input.search-edit::placeholder{
  color: #aaa;/*placeholderの文字色*/
}
button.search-submit{
  width: 60px;/*検索ボタンの幅*/
  height: 100%;
  background-color: #007bff;/*検索ボタンの色*/
  position: absolute;
  right: 0;
  top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: var(--cocoon-basic-border-radius);
  border-bottom-right-radius: var(--cocoon-basic-border-radius);
  border-bottom-left-radius: 0;
  color: #fff;/*虫眼鏡の色*/
}

/* 目次全体デザイン */
.toc{
    background:#F9F9F9; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#007bff;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 20px -10px;
    padding-left: -20px;
    font-size: 23px;
    font-weight: 700;
    color: #007bff; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -45px;
    width: 50px;
    height: 50px;
    font-family: FontAwesome;
    content : "\f0ca"; /* アイコンを変える場合はここを変更 */
    font-size:20px;
    margin-right:5px;
    color:#FFF; /* アイコンの色を変える場合はここを変更 */
    background-color:#007bff; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:14px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.5em;
    position: relative;
}
.toc-content ol li {
    line-height: 1.5;
    padding: 0.7em 0 0.5em 1.4em;
    border-bottom: dashed 1px silver;
    list-style-type: none!important;
}
/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
    font-family: FontAwesome;
    content: "\f138"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color: #007bff; /* 色を変える場合はここを変更 */
}
.toc-content ol li:last-of-type {
    border-bottom: none;
}
.toc-content .toc-list li {
    font-weight:700; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
    font-weight:normal; /* h3以降の文字サイズを普通に */
}

.body .blogcard-type{
	margin-top:2em;
}

a{
text-decoration: none;
}

.entry-content a:hover { 
	color: #007bff;
	text-decoration:underline;
}

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

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

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





