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

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

 /* 	メニューバーがスクロールできるようになる設定 START*/
    #header-container .navi-in > ul li {
       height: auto;
       font-weight: 600;
       line-height:1.3;
    }
    #header-container #navi a{
       color:#fff; /* 文字色 */
       padding:0.8em 1em;
    }
    #header-container #navi a:hover{
       color:#89c997; /* マウスホバー時の文字色 */
    }
    #header-container .navi-in > ul > .menu-item-has-children > a::after {
       top: 0.8em;
       font-size: 1.2em;
       font-weight: 600;
    }
    #header-container .sub-menu .caption-wrap{
       padding-left:1em;
    }
    .navi-in > ul .menu-item-has-description > a > .caption-wrap{
       height:auto;
    }
    @media screen and (max-width: 1030px){
      #header-container .menu-mobile{
        display:none;
      }
      .navi-in > .menu-mobile{
        display:-webkit-box;
        display:-ms-flexbox;
        display:flex;
        overflow-x: scroll;
        white-space: nowrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
      }
      #header-container #navi a{
        font-size:0.8em;
        padding: 1em 1.2em;
      }
      #header-container .navi-in > ul > .menu-item-has-children > a::after{
        display:none;
      }
      #navi .navi-in > .menu-mobile li {
        height: auto;
        line-height: 1.8;
      }
      .mblt-header-mobile-buttons {
        margin-top: 53px;
      }
    }
 /* 	メニューバーがスクロールできるようになる設定　END */

/************************************
** ブログカードのカスタマイズ色とか
************************************/
.internal-blogcard::after{
	content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #ffd242; /* 内部リンク右下枠の背景色 */
	padding: .4em 3em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}

/************************************
** ブログカードのカスタマイズ　URLを消す
************************************/
.internal-blogcard-footer{
	display: none; /* 内部ブログカードのアイコンとURLを非表示 */
}

/************************************
yujiブログさんから　*すべてのイメージに影を
************************************/

img{/*すべてのイメージに影を*/
box-shadow: 0px 2px 5px 0 rgba(0,0,0,.2);
}

/************************************
** yujiブログさんから　目次をお洒落にする
************************************/
.toc-title{/*目次タイトルを太く*/
font-weight:bold;
font-size: 140%;
color:#7b7b7b;
}
.toc-list > li a {/*小見出し（H2）*/
font-weight: bold;
color: #7b7b7b;
display:block;
margin-top:10px;
margin-left: 10px;
}
.toc-list > li a::before {/*小見出し（H2）の先頭につけるアイコン*/
font-family:"Font Awesome 5 Free"; 	
/*font-family: FontAwesome;*/
content : "\f0a9";/*アイコンの形　fontawesome.comから探す*/
margin-right: 7px;
}
.toc-list > li li a {/*小見出し（H3）*/
font-weight: normal;
font-size: 95%;
color: #7b7b7b;
margin-top:0;
margin-left: 0.01em;
}
.toc-list > li li a::before {/*小見出し（H3）の先頭につける「・」*/
content: "";
width: 8px;
height: 8px;
left: -2px;
display: inline-block;
border-radius: 50%;
background: #3FAEB3;/*ここで緑点の色を変更できます*/
position: relative;
margin-bottom: 2px;
}
@media (max-width:880px){/*モバイル表示*/
.toc-list > li a {
margin-left: -10px;
}
.toc-list > li li a {
margin-left: -2em;
}
.toc-list > li li a::before {
left: 3px;
margin-bottom:1px;
}
}
.toc a:hover {
color: #333333;
text-decoration: underline;
}

/* 目次をお洒落にするここまで*/

/* 黒板風（タイトルなし） php呼び出し　user_box1 */
.user_box1 {
 position: relative;
 margin: 2em auto;
 padding: 1em 1em 1em;
 width: 90%; /* ボックス幅 */
 background: #006633; /* ボックス背景色 */
 font-weight: bold; /* テキスト太字 */
 color: #fff; /* 文章色 */
 border: 8px solid #b2771f; /* 枠線 */
 border-radius: 3px; /* 角の丸み */
 box-shadow: 0 0 8px #333, 0 0 2px #555 inset;
}
.user_box1::before,
.user_box1::after {
 position: absolute;
 content: '';
 width: 25px; 
 bottom: 3px;
 border-radius: 2px;
 box-shadow: 1px 1px 3px #666;
} 
.user_box1::before {
 right: 55px;
 border: solid 3px #ffff00; /*チョーク（黄色）*/
}
.user_box1::after {
 right: 20px;
 border: solid 3px #fff; /*チョーク（白） */
 transform: rotate(8deg); /*飾ペン角度 */
}
/* 黒板風（タイトルなし） php呼び出し　user_box1 　ここまで*/



/* 黒板風 HTML呼び出し wboard-w1 title-w1*/
.wboard-w1 {
 position: relative;
 margin: 2em auto;
 padding: 3.5em 1em 1em;
 width: 90%; /* ボックス幅 */
 background: #006633; /* ボックス背景色 */
 font-weight: bold; /* テキスト太字 */
 color: #fff; /* 文章色 */
 border: 8px solid #b2771f; /* 枠線 */
 border-radius: 3px; /* 角の丸み */
 box-shadow: 0 0 8px #333, 0 0 2px #555 inset;
}
.wboard-w1::before,
.wboard-w1::after {
 position: absolute;
 content: '';
 width: 25px; 
 bottom: 3px;
 border-radius: 2px;
 box-shadow: 1px 1px 3px #666;
} 
.wboard-w1::before {
 right: 55px;
 border: solid 3px #ffff00; /*チョーク（黄色）*/
}
.wboard-w1::after {
 right: 20px;
 border: solid 3px #fff; /*チョーク（白） */
 transform: rotate(8deg); /*飾ペン角度 */
}
.title-w1 {
 position: absolute;
 padding: .1em .5em;
 left: 1em;
 top: .5em;
 font-weight: bold;
 font-size: 1.1em; /* 文字サイズ */
 color: #ff4747; /* タイトル文字色 */
 background-color: #ffffff; /* ボックス背景色 */
 box-shadow: 1px 1px 3px #a0a0a0;
}
/* 黒板風 HTML呼び出し wboard-w1 title-w1 ここまで*/




/* クリップメモ風 php呼び出し　user_box2 */
.user_box2 {
 position: relative;
 margin: 2em auto;
 padding: 15px 35px 15px 25px;
 width: 90%; /* ボックス幅 */
 background-color: #FFFF55; /* ボックス背景色 */
 color: #222222; /* 文章色 */
 border: 2px solid #FF9872; /* 枠線の太さと色 */
 box-shadow: 1px 1px 1px #acacac; /* 影の色 */
}
.user_box2::before {
 position: absolute;
 content: '';
 top: -15px;
 right: 10px;
 height: 55px;
 width: 15px;
 border: 3px solid #FF0000; /*クリップ色 */
 background-color: none;
 border-radius: 12px;
 box-shadow: 1px 1px 2px #999;
 transform: rotate(10deg);
 z-index: 1;
}
.user_box2::after {
 position: absolute;
 content: '';
 top: 0px;
 width: 10px; 
 right: 20px;
 border: solid 5px #FFFF55; /*背景色と同じ色にする*/
 z-index: 2;
}
/* クリップメモ風 php呼び出し　user_box2 ここまで*/

/*巻物風ボックス用CSS　ここから*/
.is-style-scroll {
    position: relative;
    max-width: 520px;
    margin: 2em auto 2.5em;
    padding: 1.5em;
    border: 12px solid transparent;
    border-left-width: 48px;
    background: linear-gradient(#fff, #fff), linear-gradient(#b8c5db,#b8c5db);　/*紙の色と枠の色*/
    background-clip: padding-box, border-box;
    background-origin: border-box;
}
.is-style-scroll:before,
.is-style-scroll:after {
    display: inline-block;
    position: absolute;
    content: "";
}
.is-style-scroll:before {
    left: -36px;
    top: -32px;
    width: 24px;
    height: calc(100% + 64px);
    background: #4d4d4d;　/*巻物の軸の色（黒）*/
}
.is-style-scroll:after {
    left: -48px;
    top: -20px;
    width: 48px;
    height: calc(100% + 40px);
    background: #4973b8;　　/*巻物の色*/
}

/*巻物風ボックス用CSS　ここまで*/




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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
.speech-person{min-width:70px;} /*モバイルの吹き出しアイコンを大きく*/
.speech-name{font-size:10px;} /*モバイルの吹き出しアイコン下の名前サイズ*/
}

/************************************
**　固定ページの日付非表示
************************************/
.page .date-tags {
display: none;
}
