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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*　リンクカード　*/
.blogcard {
	padding: 1rem;
	color: #666;
	position: relative;
	border-color: #68d6cb !important; /* 枠線の色を変更 */
}

a.blogcard-wrap:hover{
	background-color: transparent!important;
	opacity: 0.8;
}

a.blogcard-wrap:hover img.blogcard-thumb-image{
	transform: scale(1.1);
	transition: .3s;
}

.blogcard-thumbnail {
	line-height: 0;
	margin-right: 1rem;
	overflow: hidden;
}

.blogcard-title{
	margin-bottom: .5rem;
}

.blogcard-snipet{
	font-size: 70%;
	line-height: 1.7;
	padding-right: 10%;
}

@media screen and (max-width: 480px){
	.blogcard-thumbnail{
		width: 40%;
	}
	.blogcard-snipet{
		display: none;
	}
}

.internal-blogcard-footer{
	display: none; /* 内部ブログカードのアイコンとURLを非表示 */
}

.blogcard::before{
	content: 'あわせて読みたい'; /* タイトルの文言 */
	position: absolute;
	top: -.8rem;
	left: auto;
	font-size: 50%;
	background-color: #68d6cb; /* タイトルの背景色 */
	padding: .6em 1em;
	font-weight: bold;
	color: #fff;  /* タイトルの文字色 */
	border-radius: 2px;
}

.internal-blogcard::after{
	content: '続きを読む \00bb'; /* 内部リンク右下枠の文言 */
	position: absolute;
	bottom: .5rem;
	right: 1rem;
	font-size: 70%;
	background-color: #ffd242; /* 内部リンク右下枠の背景色 */
	padding: .4em 3em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}

/**********************
/* 新着記事にNEWマーク
* ********************/
.new_ribbon {
	display: inline-block;
	position: absolute;
	top: -22px;
	right: -5px;
	margin: 0;
	padding: 3px 0 1px;
	z-index: 2;
	width: 36px;
	text-align: center;
	color: white;
	font-size: 11px;
	background-color: #ff7abc; /*リボンの背景色*/
	border-radius: 2px 0 0 0;
}

.new_ribbon:before{
	position: absolute;
	content: '';
	top: 0;
	right: -5px;
	border: none;
	border-bottom: solid 10px #f2b3d3; /*リボンの裏側の色*/
	border-right: solid 5px transparent;
}
.new_ribbon:after{
	content: '';
	position: absolute;
	left: 0;
	top: 100%;
	height: 0;
	width: 0;
	border-left: 18px solid transparent;
	border-right: 18px solid transparent;
	border-top: 5px solid #ff7abc; /*リボンの下部の色*/
}

/************************************
** コメント用のカスタマイズ
************************************/

#commentform input[type="text"], #commentform textarea { /*入力スペースの装飾*/
  padding: 11px;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  width: 100%;
  background: #e2e2e2; /*入力スペースの背景色*/
}

/* 送信ボタン */
#commentform #submit{
background-color: #77ccbb; /* 送信ボタンの背景色 */
box-shadow:2px 2px #888888; /* 送信ボタンの影色 */
border-radius: 0.5em; /*角丸 */
height: 40px;
border: none;
padding: 0;
line-height: 40px;
vertical-align: middle;
text-align: center;
transition: all .2s ease;
}
/* 入れ子コメントの左に点線を表示 */
.commets-list .children{
margin: 0px 10px 50px 10px;
padding: 0px 5px 0px 15px;
border-left: 4px dotted #f6aa55;
}
.commets-list .comment-body, .commets-list {
margin-bottom: 0.5em; /* コメントの間隔を狭める */
}
#commentform label{
display: inline-block;
}

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

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

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

/************************************
** 記事のデザイン
************************************/
.article h1 {
  position: relative;
  padding-left: 25px;
}

.article h1:before {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 0;
  width: 0;
  height: 0;
  border: none;
  border-left: solid 15px transparent;
  border-bottom: solid 15px rgb(119, 195, 223);
}
.article h1:after {
  position: absolute;
  content: '';
  bottom: -3px;
  left: 10px;
  width: 100%;
  border-bottom: solid 3px rgb(119, 195, 223);
}
.ad-slot {
  min-width: 300px;
  display: block !important;
}
