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

/*ここからカスタム追加 2020.2.20*/
/* 見出しセルの文字色・背景色・枠線設定 */
.entry-content th {
	/*color: #ffffff;*/
	background-color: #99CCFF;
	border: solid 1px gray;
}
/* 見出し以外のセルの枠線設定 */
.entry-content td {
	border: solid 1px gray;
}

.article h2{
	background-color:#D7EEFF;
	padding-top:18px;
	padding-bottom:15px;
	padding-left:10px;
	margin-top: 30px;
	margin-left:0px;
	margin-bottom: 22px;
	font-size:1.53em;
}

.entry-content h3{
	padding: 8px;
	border-top:none;
	border-right:none;
	border-bottom: solid 2px lightblue;
	border-left: solid 10px lightblue;
	margin-top: 28px;
	margin-bottom: 20px;
	font-size: 20px;
}

.entry-content h4{
	margin-top: 26px;
	margin-bottom: 20px;
}

.entry-content h6{
	padding: 8px;
	border-top:none;
	border-right:none;
	border-bottom: solid 1px #2271B1;
	/*border-left: solid 5px #2271B1;*/
	font-size: 16px;
	color:#2271B1;
}

 /*リンクテキスト装飾無し*/
a{
	text-decoration: none;
}
:root :where(a:where(:not(.wp-element-button))) {
    text-decoration: none;
}
/*リンクテキストホバー時アンダーライン表示*/
a:hover {
 	text-decoration: underline;
}
/*表の余白を小さくする*/
table td{
    padding: 4px 10px 0px 10px;
}
/*投稿日を非表示(固定ページ・投稿)*/
.post-date {
    display:none;
}
/*上部余白を小さく */
.content {
    margin-top: 0px;
}
.main {
	padding-top: 15px;
}
/*関連記事の本文を非表示*/
.related-entry-card-snippet{
	display:none;
}
/*関連記事のタイトルを小さく、リンク文字と同じ色に*/
.related-entry-card-title{
	font-size:15px;
	color:#1967d2;
	font-weight: normal;
}
/*関連記事の行間隔を狭く*/
.related-list {
    row-gap: 0em;
    margin-bottom: 0em;
}
/*関連記事の行間隔を狭く*/
.related-entry-card-wrap{
	padding:1px;
}
/*関連記事のタイトル（Related articles)を小さく*/
.related-entry-main-heading,.main-caption{
	font-size:18px;
}
/*カテゴリ一覧の行間隔を狭く*/
.list{
	row-gap:0;
}
/*カテゴリ一覧の余白下を狭く*/
.related-entry-card-content, .entry-card-content {
    padding-bottom: 0px;
}
/*カテゴリ一覧の右下のカテゴリ名の上余白を狭く*/
.no-thumbnail .entry-card-meta {
    margin-top: 0px;
}
/*カテゴリ一覧の行の余白を狭く*/
.entry-card-wrap{
	padding-top: 5px;
	padding-bottom: 2px;
}
/*カテゴリ一覧の文字を青に*/
.entry-card-title{
	color:#2271B1;
	//font-weight:normal;
	font-size:16px;
}

/*ヘッダーのタイトルの余白を狭く*/
.logo-text {
    padding-top: 5px;
	padding-bottom: 5px;
}
/*ヘッダーのタイトルの文字を小さく*/
.logo-header a span{
    font-size:14px;
}
/*ヘッダーの検索ボックス高さを低く(検索ボックス高さが47)*/
.add-header-contents{
	height:42px;
}
/*検索ボックスの余白を無しに*/
.search-box {
	width: 600px;
	//height: 40px;
	margin-top: 2px;
	margin-bottom: 0px;
	margin-left: auto;	/*左右真ん中に*/
	margin-right: auto;	/*左右真ん中に*/
}
/*検索ボックスの高さを低く*/
.search-edit{
	height: 35px;
}
/*パンくずリストの上下余白を狭く*/
#breadcrumb {
	margin-top: 2px;
	padding-bottom: 0px;
}
/*サイドバーの上部余白を狭く*/
.sidebar {
    padding-top: 5px;
}
/*目次の上部余白*/
.nwa .toc{
	padding-top:1.5em;
}
/*サイドバー目次のフォントを青に*/
.toc-title{
	font-weight: bold;
	color:midnightblue;
}
/*サイドバー目次の書式*/
.toc a{
	font-size:14px;
	color:midnightblue;
	line-height: 2.5em;
    font-weight: bold;
}
/*グローバルメニューのフォントを小さく*/
.navi-in .menu-header .item-label{
	font-size: 14px;
}
/*自動保存の機能を停止する*/
add_action('wp_print_scripts', function() {
    wp_deregister_script('autosave');
});