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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.post-405 .date-tags,
.post-635 .date-tags,
.post-416 .date-tags,
.post-411 .date-tags,
.post-631 .date-tags {
	display: none;
}
/*Google recaptchaの非表示*/
.grecaptcha-badge{ 
	visibility: hidden;
}
/*目次のデザイン*/
.toc {
	font-size: 1.1rem;
	line-height: 2;
}
/*見出しH3のデザイン*/
.article h3{
	background: #f4f4f4;
 	border-bottom: solid 3px #d6d6d6;
	padding: 0.5em;
}
/*h4への追加CSSで四角い吹き出しの見出しに変更*/
.h-speech {
	padding: 0.5rem!important;
	position: relative;
	color: white;
	background-color: #00A0E9;
}
.h-speech span:before{
	display: none;
}
.h-speech:after {
	position: absolute;
	content: '';
	top: 100%;
	left: 30px;
	border: 15px solid transparent;
	border-top: 15px solid #00A0E9;
	width: 0;
	height: 0;
}
/*リストのドット削除*/
.list-del-dot {
	list-style-type: none!important;
}
/*画像のMargin削除*/
.img-margin0 {
	vertical-align: bottom;
	margin: 8px 4px 0 4px;
	line-height: 0;
}
/*コメントを書き込むボタンの色*/
#comment-reply-btn {
	color: #00A0E9;
	background-color: #fff;
	border-color: #00A0E9;
}
/*コメント送信ボタンの色*/
#commentform .form-submit input[type='submit']{
	background-color:#00A0E9;
}
/*問い合わせフォーム編集*/
.wpcf7-previous{
	display: block;
	width: 25%;
	font-size: 1rem;
	padding: 4px;
}
.wpcf7-submit{
	font-size: 1.1rem!important;
	font-weight: normal!important;
	padding: 8px!important;
}
.margin-top-40{
	display: inline-block;
	margin-top: 32px;
}
/*カテゴリーラベル*/
.cat-label {
	top: 0;
	left: -20px;
	padding: 3px 4px 1px 14px;
	background-color: #00A0E9;
	border: 0;
	border-radius: 0;!important
	line-height: 1.4;
	overflow: visible;
}
.cat-label::before, .cat-label::after {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
}
.cat-label::before {
	top: -6px;
	left: 0;
	border-bottom: 6px solid #284DD9;
	border-left: 10px solid transparent;
}
.cat-label::after {
	top: 0;
	right: -18px;
	border-top: 13px solid #00A0E9;
	border-bottom: 13px solid #00A0E9;
	border-left: 10px solid #00A0E9;
	border-right: 10px solid transparent;
}
.cat-label-18::after {
	top: 0;
	right: -19px;
	border-top: 10px solid #00A0E9;!important
	border-bottom: 10px solid #00A0E9;!important
}
/*タグ*/
.tag-link {
	color: #00A0E9; 
	background-color: #fff;	
	border: 1px solid #00A0E9;
	border-radius: 5px;
	font-size: 13px; /* 初期12px */
}
/*記事を読む時間の吹き出し部分削除*/
.read-time:after {
	display: none;
}
/*ブログカードのデザイン*/
.blogcard-wrap {
	max-width: 90%;
}
.blogcard {
	padding: 1.6% 2.2% 2%;
	border: 1px solid #ccc;
	position: relative;
	overflow: hidden;
}
.blogcard::before {
	content: "こちらもどうぞ";
	position: absolute;
	padding: 4px 0;
	left: -46px;
	top: 20px;
	width: 180px;
	text-align: center;
	font-size: 14px;
	background: #00A0E9;
	color: #fff;
	-webkit-transform: rotate(-35deg);
	transform: rotate(-35deg);
}
div.blogcard-label{
	background-color: #ccc;!important
	position: absolute;!important
	right: auto;!important
	left: 0;!important
	top: -12px;!important
}
div.blogcard-label.internal-blogcard-label {
	position: absolute;!important
	right: auto;!important
	left: 0;!important
	top: -12px;!important
}
.blogcard-thumbnail {
	float: left;
	width: 160px;
	margin-top: 3px;
}
.blogcard-snippet {
	font-size: 0.9rem;
	max-height: 40px;
}
.blogcard-content {
	padding: 0;
	margin-left: 170px;
	max-height: 140px;
}
.blogcard-title {
	font-size: 18px;
	margin-bottom: 0.4em;
}
.internal-blogcard:after{
	position: absolute;
	bottom: 8px;
	right: 16px;
	content: '記事を読む ≫';
	font-size: 90%;
	font-weight: bold;
	border: 1px solid #00A0E9;
	color: #00A0E9; 
	padding: 0.1em 2em;
	border-radius: 2px
}
/*マーカーの色*/
.marker-blue {
  background-color: #00A0E9;
}
/*下半分のアンダーライン色*/
.marker-under-blue {
  background: linear-gradient(transparent 60%, #00A0E9 60%);
}
/*英語フレーズボックス*/
.phrase{
	background-color: #00A0E9;
	border-radius: 5px;
	padding: 16px;
}
.phrase-en{
	display: block;
	color: white;
	font-weight: bold;
	border-bottom: 1px dashed white;
	padding: 8px;
}
.phrase-jp{
	display: block;
	color: white;
	padding: 8px;
}
/*表のテキストをボタン風に*/
.link-btn a {
    text-decoration: none!important;
    border-radius: 0.25em!important;
    padding: 0.2em 0.5em!important;
    font-size: 0.85em!important;
	margin: 2px 4px!important;
}
.link-btn a:after{
	display: none!important;
}
.main-color a{
	background-color: #00A0E9!important;
    color: #fff!important;
}
.main-color a:hover {
	border: 1px solid #00A0E9!important;
    color: #00A0E9!important;
	background-color: transparent!important;
}

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

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

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
	/*目次のデザイン*/
	.toc {
		font-size: 1rem;
		line-height: 2;
	}
	/*カテゴリーラベル*/
	.cat-label {
		top: 8px;
		left: -19px;
		padding: 1px 10px 2px 10px;
	}
	.cat-label::before {
		top: -6px;
		left: 0;
		border-bottom: 6px solid #284DD9;
		border-left: 10px solid transparent;
	}
	.cat-label::after {
		top: 0;
		right: -19px;
		border-top: 12.4px solid #00A0E9;
		border-bottom: 12.5px solid #00A0E9;
		border-left: 10px solid #00A0E9;
		border-right: 10px solid transparent;
	}
	.cat-label-18::after {
		border-top: 10px solid #00A0E9;!important
		border-bottom: 10px solid #00A0E9;!important
	}	
	/*吹き出しアイコンサイズ*/	
	.speech-person {
		width: 60px;
		min-width: 60px;
	}
	/*ブログカードデザイン*/
	.blogcard-wrap {
		max-width: none;
	}
	.blogcard {
		padding: 2%;
	}
	.blogcard::before {
		padding: 0;
		left: -46px;
		top: 20px;
		text-align: center;
		font-size: 12px;
		-webkit-transform: rotate(-30deg);
		transform: rotate(-30deg);
	}
	.blogcard-thumbnail {
		width: 100px;
	}
	.blogcard-title {
		font-size: 1em;
		margin-bottom: 1em;
	}
	.blogcard-snippet {
		display: none;
	}
	.blogcard-content {
		margin-left: 110px;
		max-height: 120px;
		line-height: 1.5;
	}
	.internal-blogcard:after{
		bottom: 4px;
		right: 10px;
		font-size: 80%;
		font-weight: normal;
		padding: 0.1em 1em;
	}
	/*PDF埋め込み非表示*/
	.wp-block-file .wp-block-file__embed {
		display: none;
	}
}
