@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; /*リボンの下部の色*/
}

/************************************
** ●カテゴリーラベルのカスタマイズ
************************************/
.cat-link{ /*カテゴリーラベル*/
  text-decoration: none; /*テキスト初期化*/
  color: #fff; /*フォントカラー*/
  font-size: 12px; /*フォントサイズ*/
  background-color: #006400; /*背景色*/
  display: inline-block; /*横並びで上下左右空白有り*/
  margin-right: 5px; /*内側右余白*/
  padding: 2px 6px 0px 6px; /*外側余白*/
  border-radius: 9px 3px; /*カテゴリ背景デザイン*/
  border: 0px; /*枠線無し*/
  word-break: break-all; /*テキストの途中で改行させない*/
}
.cat-link:hover{ /*カテゴリーラベル マウスホバー時*/
  transition: all 0.8s ease; /*アニメーション*/
  opacity: 0.6; /*不透明度*/
  color: #fff; /*フォントカラー*/
  background-color: #fe619a; /*背景色*/
}
/************************************
** ■タグクラウド カスタマイズ
************************************/
.tagcloud {
  padding: 0px 2px 0px 2px;
}

.tagcloud a {
  text-decoration: none; /*テキスト初期化*/
  color: #fff; /*タグフォントカラー*/
  font-size: 12px; /*タグフォントサイズ*/
  font-weight:bold; /*文字強調*/
  display: inline-block; /*横並びで上下左右空白有り*/
  background-color: #006400; /*タグ背景色*/
  padding: 2px 6px 0px 6px; /*タグ内側余白*/
  margin-right: 2px; /*タグ外側右余白*/
  margin-bottom: 2px; /*タグ外側下余白*/
  border-radius: 9px 3px; /*タグデザイン*/
  border: 0px; /*タグ枠線無し*/
  word-break: break-all; /*テキストの途中で改行させない*/
}

.tagcloud a:hover {
  background: #ffddee; /*ホバー時タグ背景色*/
  color: #f32469; /*ホバー時タグフォントカラー*/
  transition: all 0.6s ease; /*アニメーション*/
}

/************************************
** ■カテゴリー カスタマイズ
************************************/
.widget_categories ul li a {
    color: #333;
    text-decoration: none;
    padding: 6px 0;
    display: block;
    padding-right: 4px;
    padding-left: 4px;
    border-top: 1px dotted #ccc;
    position: relative;
}
.widget_categories ul li a::after {
    font-family: FontAwesome;
    content: "\f0da";
    position: absolute;
    right: 10px; /*アイコンの右端からの距離*/
}
.widget_categories > ul > li > a:first-child {
    border-top: none;
}
.widget_categories > ul > li > a:last-child {
    border-bottom: 1px dotted #ccc;
}
.widget_categories ul li a:hover { /*マウスホバー時*/
    background: #444d53;
    transition: 0.5s;
    color: #fff;
}



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

#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;
}
/************************************
** 段落
************************************/
p {
margin-left: 30px;
margin-right: 30px;
}
 
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1240px以下*/
@media screen and (max-width: 1240px){
}
 
/*1030px以下*/
@media screen and (max-width: 1030px){
}
 
/*768px以下*/
@media screen and (max-width: 768px){
}
 
/*480px以下*/
@media screen and (max-width: 480px){
p {
margin-left: 10px;
margin-right: 10px;
}
}