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

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

body 
{
  margin-bottom: initial !important;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/

@media screen and (min-width: 1024px) {
  /*1024px以上の画面サイズに適用されるスタイル*/
  body 
  {
    margin-bottom: initial !important;
  }
}


/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
  body 
  {
    margin-bottom: initial !important;
  }
}

/*834px以下*/
@media screen and (max-width: 834px) {
  body 
  {
    margin-bottom: initial !important;
  }
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
  .header {
    background-image: initial !important;
    padding-top: initial !important;
    min-height: initial !important;
  }

  .header div.header-in {
    min-height: initial !important;
  }

  header h1 span.site-name-text 
  {
    display: inline-block !important;
  }

  header span.site-name-text {
    display: inline-block !important;
  }

  body 
  {
    margin-bottom: initial !important;
  }
}

/* toc====================== */
ol.toc-list {
    max-height: 500px;
    overflow-y: auto;
    width: 260px;
}

/* toc====================== */
ol.toc-list {
    max-height: 500px;
    overflow-y: auto;
    width: 260px;
}

/* toc====================== */
ol.toc-list {
    max-height: 500px;
    overflow-y: auto;
    width: 260px;
}

/* h1 */
.toc-list li a.current:last-child {
    background-color: #99d9f6 !important;
}

/* h2 */

.toc-list li a:not(.current) {
    color: #666666
}


.toc-list li a:hover {
    background-color: #99d9f6;
    color: #208848;
}

.toc-center {
    margin: 1em 0px;
    width: 100%;
}

.toc-center ol.toc-list{
	 max-height: 250px;
	 width : 100%;
}

.toc .toc-list {
    padding-left: 2em;
}

.home #main h1:before, .home #main h1:after {
    background: initial !important;
}

.home #main .widget-entry-cards figure img{
	 object-fit: contain !important;
}

/*————————————
リンカーフリーリンクボタンカラー変更
————————————*/
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink1 a{
background: #2dab0e;
border: 2px solid #2dab0e;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink2 a{
background: #e63225;
border: 2px solid #e63225;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink3 a{
background: #2b3878;
border: 2px solid #2b3878;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink4 a{
background: #F5989D;
border: 2px solid #F5989D;
}
div.yyi-rinker-contents ul.yyi-rinker-links li.freelink3 a {
    background: #ff5800;
    border: 2px solid #ff5800;
}
img {
pointer-events: none;
}

header h1 span.site-name-text 
{
  display: none;
}

header span.site-name-text {
  display: none;
}