@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Template:   cocoon-master
Version:    1.0.6
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*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){
  /*必要ならばここにコードを書く*/
}



/************************************
** サイドバーの目次
************************************/
.sidebar .toc{
  background:transparent!important;
  border:initial!important;
  border-top: initial!important;
  border-top-color: initial!important;
  box-shadow:initial!important;
  margin-bottom:initial!important;
  width: initial!important;
  border-radius:initial!important;
  padding-top:initial!important;
}
.sidebar .toc li li:before{
  color:#fad9a7;/*お好みの色に*/
}

@keyframes slide {
100% {
  opacity:1;
  padding-left:1.2%;
}
}
/*目次のアイコンにアニメーションを*/
.toc ul li:before{
  opacity:.4;
  animation: slide 1.5s infinite;
}

/***コメント***/
.internal-blogcard-footer{
	display: none; 
}

.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: '続きを読む'; /* 内部リンク右下枠の文言 */
	position: absolute;
	right: 1rem;
	font-size: 70%;
	background-color: #ffd242; /* 内部リンク右下枠の背景色 */
	padding: .4em 3em;
	font-weight: bold;
	color: #fff; /* 内部リンク右下枠の文字色 */
	border-radius: 2px;
}

.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;
}


/************************************
** ■ブログカード/関連記事/次の記事/前の記事 ホバー時に浮かすカスタマイズ
************************************/
.blogcard-wrap.external-blogcard-wrap.a-wrap.cf,
.blogcard-wrap.internal-blogcard-wrap.a-wrap.cf {
  background-color: #fff; /*裏側背景色*/
}
.main .prev-post.a-wrap.cf, /*前の記事*/
.main .next-post.a-wrap.cf, /*次の記事*/
.main .blogcard, /*ブログカード*/
.main .related-entry-card-wrap.a-wrap.cf { /*関連記事*/
  transition-duration: 0.6s; /*アニメーション*/
}
.main .prev-post.a-wrap.cf:hover, /*前の記事*/
.main .next-post.a-wrap.cf:hover, /*次の記事*/
.main .blogcard:hover, /*ブログカード*/
.related-entry-card-wrap.a-wrap.cf:hover { /*関連記事*/
  -webkit-transform: translateY(-3px); /*浮かす*/
  -ms-transform: translateY(-3px); /*浮かす*/
  transform: translateY(-3px); /*浮かす*/
  box-shadow: 6px 6px 6px rgba(0,0,0,0.2)!important; /*シャドー（影）*/
  background-color: #ffddee; /*背景色*/
  transition-duration: 0.6s; /*アニメーション*/
}


.home main, .archive main{
background-color: transparent;
margin-top: 0;
padding-top: 0;
}

.category-content{
background-color: white;
padding: 1em 1em 0.2em;
margin-bottom: 1em;
}

.entry-card-wrap{
transition: all .3s ease;
margin-bottom: 1em!important;
background-color: white;
border-radius: 4px;
}

.entry-card-wrap:hover{
box-shadow: 0 10px 20px -5px rgba(0,0,0,0.2);
transform: translateY(-2px);
background-color: white;
}

a:hover img{ opacity: 0.8 }


/* SNSの引用画像を中央表示させる */
.video-container, 
.instagram-container, 
.facebook-container,
.twitter-tweet,
.instagram-media {
    margin: 30px auto !important;
}
/* ここまで */

/* キャプションの色と位置とサイズを変更 */
.wp-caption {
  padding-top: 4px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #fff;
  text-align: center;
  max-width: 100%;
}

.wp-caption-text,
.gallery-caption {
  font-size:30%;
  margin-top:0pt;
  margin-bottom:3px;
  text-align: right;
  padding-right:6px;
}
/* ここまで */

/* PCやスマホでのコピー防止 */
.entry-content {
user-select:none;
-moz-user-select:none;
-webkit-user-select:none;
-khtml-user-select:none;
}
.copyok {
user-select:all !important;
-moz-user-select:all !important;
-webkit-user-select:all !important;
-khtml-user-select:all !important;
}
/* ここまで */

/* エントリーカードラベル非表示 */
.entry-card .cat-label{
  display: none;
}
/* ここまで */

/* カテゴリーラベル非表示 */
.related-entry-card .cat-label{
display: none;
}
/* ここまで */


/*ブログカード 説明文(スニペット) 非表示 */
.blogcard-snippet {
display: none;
}
/* ここまで */
