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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/************************************
**** サイト全体
************************************/
.site-name-text {
	height: 0;
}

#content {
	margin-top: 0;
}

/************************************
** reCAPTCHA v3バッジを隠す
************************************/
.grecaptcha-badge {
	visibility: hidden;
}


/************************************
**** トップページ
************************************/

/************************************
**　新着記事リスト
************************************/
.list-title {
	color: #444;
}

.cat-label, .cat-label-21 {
	display: none;
}

/* リストの横線 */
.list-title-in::before,
.list-title-in::after {
	background-color: #ff7e53;
}

/*もっと見る*/
.list-more-button {
	border: 1px solid #ffdbcf;
}

.list-more-button:hover {
	color: white;
	background-color: #ffdbcf;
}


/************************************
****　サイドバー
************************************/
.sidebar h2, .sidebar h3 {
	color: #444;
	background: none;
	border-left: 4px solid #f7b97d;
	padding: 4px 8px;
}

/************************************
** 検索
************************************/
input.search-edit{
	color: #333;
	font-size: 90%;
}

input:focus {
	outline: none;
	border: 1px solid #7dbbf7
}

.search-submit {
	color: #aaa;
	font-size: 100%;
	line-height: 1.8;
}
.search-submit:hover {
	color: #7dbbf7;
}

/************************************
** プロフィール
************************************/
.author-box {
	border: none;
}

.author-name a {
	color: #444;
	text-decoration: none;
	pointer-events: none;
}

/************************************
** 新着記事、人気記事
************************************/
.widget-entry-card-content {
	font-size: 90%;
}

/************************************
** 新着記事
************************************/
div.new-entry-card-content.widget-entry-card-content.card-content{/*タイトル*/
	padding: 0.2em 0 0 0.8em !important;  /*タイトル周りの余白を調整*/
	letter-spacing: 0.8px;  /*字間を広げる*/
}

a.new-entry-card-link.a-wrap{/*miniブログカード*/
	margin-bottom: 8px;  /*カード間の余白を広げる*/
}

/************************************
** 人気記事
************************************/
.widget-entry-cards.ranking-visible .widget-entry-card-thumb::before{ /*順位数表示のカスタマイズ*/
	 border-radius: 50%; /*丸にする*/
	 top: -4px;  /*丸の位置上に*/
	 left: -4px;  /*丸の位置左に*/
	 width: 14px;  /*丸のサイズを小さく*/
	 height: 14px;  /*丸のサイズを小さく*/
	 font-family: 'Lato', sans-serif;  /*数字をグーグルフォントに変更*/
	 font-size: 12px;  /*数字のフォントサイズを小さく*/
}

.widget-entry-cards.ranking-visible .no-1 .card-thumb::before {/*1位の数字を上に*/
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-2 .card-thumb::before {/*2位の数字を上に*/
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-3 .card-thumb::before {/*3位の数字を上に*/
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-4 .card-thumb::before {/*4位の数字を上にし背景色変更*/
	background: #d0d0d1;
	line-height: 14px;
}

.widget-entry-cards.ranking-visible .no-5 .card-thumb::before {/*5位の数字を上にし背景色変更*/
	background: #d0d0d1;
	line-height: 14px;
}

div.popular-entry-card-content.widget-entry-card-content.card-content{/*タイトル*/
	padding: 0.2em 0 0 0.8em !important;  /*タイトル周りの余白を調整*/
	letter-spacing: 0.8px;  /*字間を広げる*/
}

a.popular-entry-card-link.a-wrap{/*miniブログカード*/
	margin-bottom: 8p	x;  /*カード間の余白を広げる*/
}

/************************************
** タグクラウド
************************************/
/* .tagcloud a {
	background: red;
	color: #555;
	padding: 3px 10px;
}

.tagcloud a:hover { 
	background: #555;
	color: #fff;
   transition: 0.5s;
} */


/************************************
** 目次
************************************/
.nwa .toc {
/* 	padding: 1em 1.4em; */
/* 	border: 4px double #ff7e53; */
}

.nwa .toc-title {
	display:none;
}

/************************************
**** 記事
************************************/

/************************************
** 記事タイトル
************************************/
.entry-title {
	color: #444;
}

/************************************
** PR表記
************************************/
.pr-label-l {
	color: #444;
	border: none;
	background: repeating-linear-gradient(-45deg, #f2f3f7 0, #f2f3f7 3px, transparent 3px, transparent 6px);
	padding: 10px;
}

/************************************
** SNSボタンをまとめて丸くする
************************************/
/*シェア・フォローボタンの枠組み*/
.sns-share.ss-top .sns-share-buttons,
.sns-share.ss-bottom .sns-share-buttons,
.sns-follow.sf-bottom .sns-follow-buttons,
.sns-follow.sf-widget .sns-follow-buttons {
	justify-content: center; /*中央に寄せる*/
	flex-wrap: wrap; /*折り返す*/
}

/*シェア・フォローボタンのリンク*/
.sns-share.ss-top .sns-buttons a,
.sns-share.ss-bottom .sns-buttons a,
.sns-follow.sf-bottom .sns-buttons a,
.sns-follow.sf-widget .sns-buttons a {
	width: 40px; /*横幅*/
	height: 40px; /*高さ*/
	margin-right: 4px; /*右側の余白*/
	margin-left: 4px; /*左側の余白*/
	border-radius: 50%; /*丸み*/
}

/*プロフィールウィジェットのリンク*/
.sns-follow.sf-profile .sns-buttons a {
	border-radius: 50%; /*丸み*/
}

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

/*フォローボタンのアイコン*/
.sns-follow.sf-bottom .sns-follow-buttons .follow-button,
.sns-follow.sf-widget .sns-follow-buttons .follow-button {
	font-size: 24px; /*アイコンの大きさ*/
}

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

/*シェア数の表示が必要ないシェア・フォローボタン*/
.sns-share.ss-top .sns-buttons a .share-count:empty,
.sns-share.ss-bottom .sns-buttons a .share-count:empty,
.sns-follow.sf-bottom .sns-buttons a .follow-count:empty,
.sns-follow.sf-widget .sns-buttons a .follow-count:empty {
	padding: 0; /*内側の余白*/
	border: 0; /*線*/
}

/************************************
**　目次
************************************/
#toc {
	margin-bottom: 5em;
}

.toc {
	padding: 1em 1.6em;
	border: 1px dotted #f7b97d;
}

.toc-title {
	color: #444;
	font-weight: bold;
}

.toc-title:hover::after {
	color: #7dbbf7;
}

.toc-list > li a {
	font-weight: bold;
}

.toc-list > li li a {
	font-weight: normal;
	font-size: 90%;
}

.toc a:hover {
	color: #7dbbf7;
	text-decoration: underline;
}

/************************************
** h2タグ
************************************/
.article h2 {
	color: #444;
	background: none;
	position: relative;
}

.article h2:after {
	content: '';
  display: block;
	position: absolute;
  width: 100%;
  height: 5px;
  background: repeating-linear-gradient(135deg, #fff, #fff 3px, #f7b97d 3px, #f7b97d 6px);
	bottom: 0;
  left: 0;
}

/************************************
** h3タグ
************************************/
.article h3 {
	color: #444;
	border: none;
	border-bottom: 4px double #f7b97d;
}

/************************************
** h4タグ
************************************/
.article h4 {
	color: #444;
	border: none;
	border-bottom: 2px solid #f7b97d;
}

/************************************
** タグ見出しボックス
************************************/
.tab-caption-box-label{ 
	padding: 6px 16px; /*タブ内側余白*/
	font-size: 1em; /*タイトル文字の大きさ*/
	font-weight: bold; /*タイトル文字の太さ*/
	border-radius: 4px 4px 0px 0px;  /*タブ角丸*/
}

.tab-caption-box-content {
	position: relative;  /*配置に関するもの（ここを基準に）*/
	top: 1px; /*上から(1px）移動*/
	border: 2px solid; /*ボックス線*/
	padding: 48px 24px; /*ボックス内側余白*/
	border-radius: 4px; /*ボックス角丸*/
	border-top-left-radius: 0px; /*ボックス左上角丸*/
}

/************************************
** 吹き出し
************************************/
.cocoon-block-balloon.not-nested-style>.speech-balloon {
	padding: 1.5em;
	border: 1px solid #aaa;
}

.speech-balloon::after {
	left: -10px;
}

/************************************
** リスト
************************************/
li::marker {
	color: #444;
}

.is-style-icon-list-check li::before {
	color: #7dbbf7
}

/************************************
** ブログカード
************************************/
.wp-block-cocoon-blocks-blogcard {
	padding-bottom: 1em
}

.blogcard-label {
	top: -11px;
	font-size: .8em;
	color: #444;
	background-color: #fff;
}

.blogcard{
	padding: 1em;
}

.blogcard-thumbnail {
	margin-right: 1em;
	width: 160px;
}

.blogcard-title {
	font-size: 1em;
	margin-bottom: .7em;
}

.blogcard-footer {
	font-size: .8em;
	padding-top: 0;
}

.blogcard-wrap:hover {
	background-color: #fff;
	box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

/************************************
** 引用
************************************/
.entry-content blockquote:before, .entry-content blockquote:after {
  position: absolute;
  width: .5em;
  color: #aaa;
  background: #fff;
}

.entry-content blockquote:before {
  height: .5em;
  left: -.1em;
  top: -.2em;
}

.entry-content blockquote:after {
  right: -.1em;
  bottom: -.6em;
  line-height: 1em;
}

.entry-content blockquote {
  border-color: #444;
  background: #fff;
  padding: 48px 24px;
	border-radius: 4px;
}

/************************************
** Flexible Table Block
************************************/
/* ヘッダーセル */
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th {
  padding: .8em .6em;
  background-color: #7dbbf7;
  color: #fff;
  border: 1px solid #fff;
}
/* 行 */

/* セル */

.cat-link {
	font-weight: bold;
	background: #f2f3f7;
}
.cat-link:hover {
	color: #7dbbf7;
}

.tag-link {
	border: none;
}

/************************************
** SNSシェアメッセージ
************************************/
.sns-share-message {
	font-weight: bold;
	color: #aaa;
}


/************************************
**** フッター
************************************/
.footer-title {
	color: #444;
	border-bottom: 1px solid #f7b97d;
}

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

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

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