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

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





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

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

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

/*--------------------------------------
  グローバルメニューの幅変更
--------------------------------------*/
#navi .navi-in > ul li{
	height: 47px;
	line-height: 47px;
}

/*--------------------------------------
  グローバルメニュー文字太さ変更
--------------------------------------*/
nav#navi, .menu-header .sub-menu{
	font-weight: bold;
}

/*--------------------------------------
  グローバルメニュー文字大きさ変更
--------------------------------------*/
#navi .navi-in > .menu-header .item-label{
	font-size: 10px;
}



/*--------------------------------------
  固定ページのタイトル非表示
--------------------------------------*/
.page .entry-title{
  display: none;
}


/*--------------------------------------
  固定ページの投稿日,更新日,投稿者,非表示
--------------------------------------*/
.page .date-tags,
.page .author-info{
  display: none;
}

/*--------------------------------------
  見出しデザインリセット
--------------------------------------*/

/*H2 */
.entry-content h2{
border:none;
background:none;
padding: 0;
}

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

/* H4 */
.entry-content h4{
border:none;
background:none;
padding: 0;
}

/* H5 */
.entry-content h5{
border:none;
background:none;
padding: 0;
}

/* H6 */
.entry-content h6{
border:none;
background:none;
padding: 0;
}

/*--------------------------------------
  h見出しの変更
--------------------------------------*/

.entry-content h2 {
   position: relative;
   padding: 0.5em;
   background: #f4f4f4;/*文字後ろの色*/
   color: #3E3A39;/*文字の色*/
}

.entry-content h2::before{
   position: absolute;
   content: '';
   top: 100%;
   left: 0;
   border: none;
   border-bottom: solid 15px transparent;
   border-right: solid 20px #d7d7d7;/*三角　ここを色変更*/
}




.entry-content h3 {
  padding: 0.4em 0.5em;
  background: #f4f4f4;/*文字後ろの色*/
  color: #3E3A39;/*文字の色*/
  border-left: solid 5px #d7d7d7;/*左線　ここを色変更*/
}

.entry-content h4 {
  padding: 0.5em;
  background: #f4f4f4;/*文字後ろの色*/
  color: #3E3A39;/*文字の色*/
}

.entry-content h5 {
  padding: 0.1em 0.5em;
  color: #3E3A39;/*文字の色*/
  border-bottom: solid 4px #d7d7d7;/*下線　ここを色変更*/
}




/************************************
** ボトムシェアボタンのみ丸くする
************************************/

/*ボトムシェアボタンの枠組み*/
.sns-share.ss-bottom .sns-share-buttons {
	justify-content: center; /*中央に寄せる*/
}

/*ボトムシェアボタンのリンク*/
.sns-share.ss-bottom .sns-buttons a {
	width: 40px; /*横幅*/
	height: 40px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	border-radius: 50%; /*丸み*/
	margin: 0 20px; /*ボタン同士の間隔もともとない*/
}

/*スマホ834以下のボトムシェアボタンのリンクもともとない*/
@media screen and (max-width: 834px) {
 .sns-share.ss-bottom .sns-buttons a {
		margin: 0 5px; /*ボタン同士の間隔もともとない*/
	}
}

/*ボトムシェアボタンのアイコン*/
.sns-share.ss-bottom .sns-buttons a .social-icon {
	font-size: 18px; /*アイコンの大きさ*/
}

/*ボトムシェアボタンのキャプション*/
.sns-share.ss-bottom .sns-buttons a .button-caption {
	display: none; /*非表示*/
}

/*ボトムシェアボタンのシェア数*/
.sns-share.ss-bottom .sns-buttons a .share-count {
	right: -2px; /*右側からの距離*/
	bottom: -2px; /*下側からの距離*/
	padding: 2px; /*内側の余白*/
	font-size: 10px; /*文字の大きさ*/
	border: solid 1px; /*線*/
	border-radius: 3px; /*丸み*/
	background-color: inherit; /*背景色*/
}

/*シェア数の表示が必要ないボトムシェアボタン*/
.sns-share.ss-bottom .sns-buttons a .share-count:empty {
	padding: 0; /*内側の余白*/
	border: 0; /*線*/
}




/************************************************
 トップへ戻るボタン
*************************************************/

.go-to-top {
  right: 20px; /*右から20px*/
  bottom: 20px; /*下から25px*/
}

.go-to-top-button {
  border-radius: 50%; /*丸くする*/
  width: 45px; /*横幅はじめは55px*/
  height: 45px; /*高さはじめは55px*/
  font-size: 25px; /*アイコンフォントのサイズ*/
  opacity:0.8; /*透明度*/
	  color: #fff; /*アイコンフォントの色*/
  box-shadow: 2px 2px 4px rgba(0, 0, 0, .2); /*影*/
}

/*ホバー時*/
.go-to-top-button:hover {
  color: #fff; /*アイコンフォントの色*/
  background-color:#6bb6ff; /*背景色*/
}

/*--------------------------------------
  下のHOMEボタン消す
--------------------------------------*/

#breadcrumb {
  display: none
}

/*--------------------------------------
  タグクラウドのアイコンを消す
--------------------------------------*/
.tag-caption .fa-tag {
    display: none;
}

/*--------------------------------------
  タグクラウドをカスタマイズ
--------------------------------------*/
.tagcloud a {
    background: none; /*背景を消す*/
    border: 1px solid #ccc; 
    border-radius: 20px; /*角の丸み*/
    color: #555; /*文字色*/
    display: inline-block;
    padding: 3px 10px;
    text-decoration: none;
    font-size: 13px;
    margin: 2px;
    flex: 1 1 auto;
    display: flex;
    justify-content: space-between;
}
.tagcloud a .tag-caption::before {
    content: "#"; /*アイコンの変更*/
    padding-right: 3px;
}
.tagcloud a:hover { /*マウスホバー時*/
    background: #72c7e6;
    border: 1px solid #72c7e6;
    color: #fff;
    transition: 0.5s; /*アニメーションの時間*/
}

/*--------------------------------------
  カテゴリー等左上のアイキャッチを消す
--------------------------------------*/
.cat-label {
display: none;
}



/*--------------------------------------
  目次のカスタマイズ
--------------------------------------*/
.toc {/*目次全体*/
  display: block;
  padding: 0px;/*目次と枠の間の幅*/
  max-width: 100%;/*目次の幅*/
  border: 2px #d7d7d7 solid !important;/*外枠の色と太さ*/
  font-family: 'Noto Sans JP', sans-serif;
}
.toc-title {/*目次タイトル部分*/
  position: relative;
  padding: 5px 0;/*目次の文字部分の枠の太さ*/
  background: #d7d7d7;/*タイトルの背景の色*/
  color: #fff;
  font-weight: bold;
	  height: 300px;/*新たに親切？目次の高さ*/
 }
.toc .toc-content {/*目次のボディー部分*/
  padding: 15px 20px;
  background-color: #fff;/*目次内の色*/
}

/*見出し2（H2）の設定*/
.toc-list > li a {
font-weight: bold;
color: #7b7b7b;
display:block;
margin-top:10px;
}

.toc-content .toc-list li {/*h2見出し数字のフォント*/
font-weight: bold;
	color: #7b7b7b;
}



.toc-list > li li a {/*h3見出し以下のフォント*/
  font-weight: normal;
  font-size: 95%;
  color: #7b7b7b;/*h3見出しの色*/
  margin-left: -10px;
}
.toc-list > li li ::before {/*h3見出し以下の先頭に点を表示*/
  content: '';
  width: 5px;
  height: 5px;
  display: inline-block;
  left: -15px;
  border-radius: 100%;
  background: #cdcdcd;
  position: relative;
  margin-bottom: 2px;
}
.article .toc-list > li li {/*デフォルト目次ナンバーを非表示*/
  list-style: none;
}

/*--------------------------------------
  サイドバーのカスタマイズ
--------------------------------------*/


.sidebar h3{
  background-color:#f8b72e;/*好きな背景色にする*/
  color:#ffff;/*文字の色を変える*/
  font-size: 0.9em;
  padding:10px 10px;/*見出しの内側の余白を調整する*/
  margin:16px 0;
}

/*--------------------------------------
  サイドバー内の文字カスタマイズ
--------------------------------------*/
.widget-sidebar ul li a {
font-size: 0.9em;
color: #708090;
font-weight: bold;
}


/*--------------------------------------
  検索ボックスのカスタマイズ
--------------------------------------*/
.search-box .search-edit {
	padding: 8px;
	padding-right: 68px;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.20);/*枠の影をつける*/
}

/*検索ボタン*/
.search-box .search-submit {
	top: 0;
	right: 0px;
	height: 100%;
	width: 60px;
	color: #fff;
	background-color: #f8b72e;/*虫眼鏡の背景の色*/
	border-radius: 0 4px 4px 0;
}

.search-box .fa-search {
	display: block;
	margin-top: 3px;
}

/*入力欄と検索ボタンの強調の無効化*/
.search-box .search-edit:focus, .search-box .search-submit:focus {
	outline: 0;
	outline-offset: unset;
}
/*ここまで*/



/*画像幅いっぱい*/

@media screen and (min-width: 834px) {
  .page .eye-catch,
  .max-img {
    margin-left: -29px;
    margin-right: -29px;
  }
}

@media screen and (max-width: 834px) {
  .page .eye-catch,
  .max-img {
    margin-left: -10px;
    margin-right: -10px;
  }
}

/* モバイル用ナビゲーション(ヘッダーフッター版) */
#navi-menu-input:checked ~ #navi-menu-content, .mobile-menu-buttons{
	box-shadow:none/*影を消す*/
}


/*スマホのサイドバーメニューを左から右に表示*/
.sidebar-menu-content {
  -webkit-transform: translateX(-105%);
  transform: translateX(-105%);
  right: auto;
  left: 0;
} 

/*カテゴリ・タグページの最上部に表示される見出し前のアイコンを非表示*/
.archive-title :before {
  display: none;
}





/*スマホメニューを横スクロール*/
#header-container .navi-in > ul li {
   height: auto;
   font-weight: 600;
   line-height:1.3;
}
#header-container #navi a{
   color:#666666; /* 文字色 */
   padding:0.8em 1em;
}
#header-container #navi a:hover{
   color:#ffaf00; /* マウスホバー時の文字色 */
}
#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){/* もともと1030 */
  #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;/* 文字のサイズ%最初は0.8 */
    padding: 0.8em 1.0em;/* 文字間の余白%最初は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;/* 上のスペース最初は53 */
  }
}

/************************************
**モバイル表示　サーチメニュー・検索アイコンカスタム
************************************/

.search-menu-button,.sidebar-menu-button{
	 color: #000;
	 margin-top:10px;/* アイコン上部スペース */
	 font-size: 20px;/* アイコンの大きさ */
}






/************************************
**モバイル表示　サーチメニュー・検索アイコン文字消す
************************************/

.navi-menu-caption.menu-caption,.home-menu-caption.menu-caption,.search-menu-caption.menu-caption,.top-menu-caption.menu-caption,.sidebar-menu-caption.menu-caption{
display:none;
}

/*--------------------------------------
  フッターメニューの縦線を消す
--------------------------------------*/
#navi-footer li {
  border: none;
}


/*--------------------------------------
  フッターメニューのカスタム
--------------------------------------*/

.footer {
	margin-top: 0px; /*フッターとコンテンツの間に余白追加*/
	background: #444d53; /*フッター背景色*/
	border-top: none; /*上部にボーダー追加で初期は4px solid #72c7e6*/
}

	.footer-bottom {
	margin-top: 14px; /*フッター内上部の余白を詰める*/
}

.footer-bottom-logo { /*ロゴの位置調整*/
	float: none;/*位置最初はnone(中央)*/
	bottom: auto;
	position: static;
	margin-bottom: 10px;
}
    .footer-bottom-logo .logo-image {
      padding: 0;
      max-width: 160px; /*ロゴ画像を少し大きく最初は160*/
      margin: 0 auto;
    }

.footer-bottom-logo img {
	height: auto;/*ロゴ高さの比率も幅に合わせる*/
}


    .footer-bottom-content { /*メニュー＆クレジットの位置調整*/
      float: none;/*メニューとクレジットの位置最初はnone(中央)*/
      text-align: center;/*クレジットの位置最初はcenter*/
    }
    .navi-footer-in > .menu-footer { /*メニューの位置調整*/
      justify-content: center; /*メニューの位置を中央に揃えてる*/
      margin-bottom: 1em;/*メニューの下の余白*/
    }
    .navi-footer-in a {
      color: #aab3b9; /*メニューの文字色*/
    }
    .navi-footer-in a:hover { /*メニューのマウスホバー時の指定*/
      color: #aab3b9; /*文字色を通常時と同じに*/
      background: none; /*背景色をなしに*/
      text-decoration: underline; /*アンダーラインを追加*/
    }
    .footer-bottom.fnm-text-width .menu-footer li {
      line-height: 1; /*メニューの区切りボーダーの高さを1文字分にする*/
    }
    .copyright {
      color: #aab3b9; /*クレジットの文字色*/
    }
    @media screen and (max-width: 834px) {
      .navi-footer-in > .menu-footer li.menu-item {
        border: none; /*モバイルでメニューのボーダーを消す*/
      }
    }


  


    @media screen and (max-width: 834px) {/*初期は460*/
	.footer-bottom {
	margin-top: 5px; /*フッター内上部の余白を詰める*/
}
}


 
   @media screen and (max-width: 834px) {/*初期は460*/
    .footer-bottom-logo .logo-image {
      padding: 0;
      max-width: 100px; /*ロゴ画像を調整は160*/
      margin: 0 auto;
    }
 }

   @media screen and (max-width: 834px) {/*初期は460*/
.footer-bottom-logo img {
	height: auto;/*ロゴ高さの比率も幅に合わせる*/
}
 }


   @media screen and (max-width: 834px) {/*初期は460*/
      .navi-footer-in > .menu-footer li.menu-item { /*モバイルでメニューの位置調整*/
	width: 30%;/*この部分が関係している100%だと縦一列*/
	display: block;/*初期はblock*/
	flex: auto;
	padding: 0.3em 0;/*メニュー同士の上下間の隙間で最初は0.3em 0*/

}
}
/*--------------------------------------
  ヘッダーロゴのカスタム
--------------------------------------*/

    .logo-header img {
      width: 200px;/*ロゴの幅変更*/

    }

    .logo-header {
      padding: 10px 0 0px 0;/*ヘッダー内のロゴの周りの幅変更*/
    }

/*--------------------------------------
  ページネーション（ページ送り）をカスタマイズ
--------------------------------------*/
    .pagination-next {/*次のページ非表示*/
      display: none;
    }

       .page-numbers {/*ボタンを丸くする*/
      color: #383635;
      border: 1px solid #383635;
      border-radius: 50%;
    }
    .pagination .current {
      background-color: #383635;
      color: #fff;
    }
    .page-numbers.dots {
      opacity: 1;
      background: none;
    }
    .pagination a:hover {
      background-color: #383635;
      color: #fff;
    }

/*--------------------------------------
  リンクの下線を消す
--------------------------------------*/
a{
  text-decoration: none;
}


