@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){
  /*必要ならばここにコードを書く*/
}

/*投稿一覧背景色*/
.ect-entry-card .entry-card-wrap.a-wrap:nth-child(4n+1){
	background:  #FFFEF2;
    padding: 1em;
	box-shadow: rgba(149, 157, 165, 0.1) 0px 4px 4px;
}

.ect-entry-card .entry-card-wrap.a-wrap:nth-child(4n+2){
	background: #FFFFFF;
    padding: 1em;
	box-shadow: rgba(149, 157, 165, 0.1) 0px 4px 4px;
}
.ect-entry-card .entry-card-wrap.a-wrap:nth-child(4n+3){
	background:  #FAFFF2;
    padding: 1em;
	box-shadow: rgba(149, 157, 165, 0.1) 0px 4px 4px;
}
	
.ect-entry-card .entry-card-wrap.a-wrap:nth-child(4n){
	background: #FFFFFF;
    padding: 1em;
	box-shadow: rgba(149, 157, 165, 0.1) 0px 4px 4px;
}



.ect-entry-card .entry-card-wrap.a-wrap:hover{
	background:   #FFFCD9;
}
	

/*ヘッダー*/
#header-container{
	padding-top: 1em;
	padding-bottom: 1em;
}

.logo-header{
	padding: 4em 1em 4em 1em;
    border: 3px solid #ffffff;
	margin:2em;	
}


/*ヘッダーロゴサイズ*/
#header .logo .site-name-text {
font-size:50px;
}


/*キャッチフレーズサイズ*/
div.tagline {
font-size:25px;
margin-top:0px;
}


/*投稿一覧*/
.cat-label{
	border-radius:0;
	font-size: 10px;
	    top: .5em;
    left: .5em;
}
.entry-card-thumb {
    width: 30%;
}
.entry-card-content {
    margin-left: 33%;
}
/*サイドバータイトル*/
.sidebar h2 {
  position: relative;
  padding: 0 65px;
  text-align: center;
	border-top: none;
	background:#FDF7B7;
	color:#606060;
	font-weight:bold;
}

.sidebar h2 span {
  position: relative;
  padding: 0 1em;
  background: #fff;
}


.wp-block-latest-posts__list li .wp-block-latest-posts__post-title{
	color:#373737;
}


#sidebar{
	font-size: 16px;
	font-weight:bold;
	background:#fff;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
#sidebar li{
	border-bottom:1px solid #7e747b30;
}


/*メインカラム*/
.content{
	margin:4em 0;
}
.main{
	background:#fff;
	box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}
/*検索*/
.widget_search .wp-block-search__button{
	border-radius:0;
	margin-left:0;
}
.widget_search .wp-block-search__input{
	border-radius:0;
}
#footer{
	padding:3em 0;
}

.related-entry-heading{
	background:#fdf7b7;
	padding: 0 0.5em;
}
.related-entry-main-heading{
	background:#FDF7B7;
    text-align: center;
	
}

.related-entry-card-wrap{
	background:#FFFEF2;
}



/*以下若山追記*/
/*サイドバーの当サイトについて*/
.nounder_link{
	text-decoration:unset;
}
.pad-left{
	padding-left:20px;
}
/*copyright*/
.source-org.copyright{
	font-size:10px;
}
/*サイドバーカテゴリー*/
#block-7{
	margin-bottom:10px;
}
/*当サイトについてページ*/
.page-id-21 .main a{
	text-decoration:unset;
}
.wp-block-group.last-group{
	margin-bottom:10px;
}
/**/
:lang(en) {
    font-family: 'Times New Roman', serif; /* 英語にはセリフ体を適用 */
}



/*目次*/
#toc{
   font-size: 0.9em;
    padding: 0em 2em 1em;
    /* background-color: #FDF7B7; */
/*     box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); */
    border: 4px solid #FDF7B7;
	margin-bottom:80px;
}
.article .toc{
    border: 4px solid #FDF7B7;
}
.toc-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #545454;  /*←タイトルの文字色*/
    margin: 1em 0 0;
}
.toc ol.toc-content {
    position: relative;
	padding-left:0;
	list-style:none;
}
.tnt-disc ol{
	list-style:none;
}
.tnt-disc ol > li {
	border-bottom: dotted 1px #bebebe;
	font-weight:bold;
	font-size:1.2em;
}
.toc ol.toc-list > li > ol{
	padding-left:1.5em;
	list-style:square;
}
.toc ol.toc-list > li > ol >li,.tnt-disc ol li > ol li{
	border-bottom:none!important;
	font-size:0.9em;
	font-weight:400;
	padding-bottom:0;
}
.toc a {
    color: #3d3838;
}
 
.toc-content ol li:last-child {
    border-bottom: none;
}

.toc-title:before/*虫眼鏡アイコン*/ {
    font-family: FontAwesome;
    content : "\f002"; 
    font-size: 0.7em;
    border-radius: 50%;
    color: #ffffff; 
    background-color: #797979; 
    padding: 0.5em;
    margin-right: 0.5em;
}


.toc-content{
	padding-bottom:1em;
}

.toc-list li{
	padding-top:10px;
	padding-bottom:10px;
}

#sidebar li a{
	padding-left:20px;
}

/*サイドバー目次*/
#sidebar .widget_toc{
	font-size:0.9em;
}
#sidebar .toc{
	padding:0;
}
#sidebar .toc-list{
	padding-left:0;
}
#sidebar .toc-title{
	display:none;
}
#sidebar .widget_toc li a {
	padding-left:0;
}
#sidebar .toc ol.toc-list > li > ol >li{
	border-bottom:none;
}
.widget-sidebar-title{
	text-align:center;	
}
/*サイドバー三角アイコン*/
#sidebar .widget_block li:before {
	content:"";
  	color: #545454;
  	position: absolute;
  	width: 0;
  	height: 0;
  	border-style: solid;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #b0b0b0;
    border-right: 0;
    margin: 17px 5px 0;
}



/* サイトタイトルの文字変更 */

/* タブレット用サイズ */
@media screen and (max-width: 768px) {
#header .logo .site-name-text{
		font-size: 26px;
	}
}
/* モバイル用サイズ */
@media screen and (max-width: 480px) {
#header .logo .site-name-text{
		font-size: 20px;
	}
}

/* キャッチフレーズの文字変更 */

/* タブレット用サイズ */
@media screen and (max-width: 768px) {
div.tagline{
		font-size: 20px;
	}
}
/* モバイル用サイズ */
@media screen and (max-width: 480px) {
div.tagline{
		font-size: 16px;
	}
}
.article h2{
	 background-color: #fffde9;
}
a:hover {
    color: #c1e7d2;
}
input[type=search].wp-block-search__input{
	padding: 8px;
}
.wp-block-search__button{
	  border: 1px solid #32373b;
}