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

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




/* ===============================
　HOME
=============================== */
/* --------------------------------
　サイト名 調整
-------------------------------- */
/* PC */
@media screen and (min-width: 769px) {
	.logo {
		position: relative;
		top: 0.5em;
	}
	.tagline {
		display: block !important;
		padding-left: 5px;
		font-size: 13.5px;
	}
}
/* SP */
@media screen and (max-width: 768px) {
	.logo {
		position: relative;
		top: 0.5em;
	}
	.tagline {
		display: block !important;
		padding-left: 5px;
		font-size: 12.5px;
	}
}
/* --------------------------------
　エントリーカード 調整
-------------------------------- */
/* PC */
@media screen and (min-width: 769px) {
	.entry-card-thumb {
		width: 120px;
	}
	.entry-card-content {
		margin-left: 130px;
	}
}
/* SP */
@media screen and (max-width: 768px) 
{
  .entry-card-thumb {
    width: 40px;
  }
  .entry-card-content {
		margin-left: 50px;
  }
	.entry-card-title {
		font-size: 14px;
	}
	.entry-card .cat-label {
		display: none;
	}
}




/* ===============================
　ウィジェット　プロフィール
=============================== */
/* --------------------------------
　文字サイズ 調整
-------------------------------- */
/* PC */
@media screen and (min-width: 769px) {
	.author-box {
		font-size:14.5px;
	}
}
/* SP */
@media screen and (max-width: 768px) {
	.author-box {
		font-size:12.5px;
	}
}
/* --------------------------------
　行間 調整
-------------------------------- */
.author-box p {
	line-height:1.5;
}
/* --------------------------------
　名前書式 調整
-------------------------------- */
.author-box .author-name a {
  text-decoration: none;
  color: inherit;
}




/* ===============================
　ウィジェット　新着記事
=============================== */
/* PC */
@media screen and (min-width: 769px) {
	.widget-entry-card-thumb {
		width: 80px !important;
		margin-right: 6px;
	}
	.widget-entry-card-thumb img {
		width: 100%;
		height: auto;
	}
	.widget-entry-card-content {
		font-size:14px;
		margin-left: 0 !important;
	}
}
/* SP */
@media screen and (max-width: 768px) 
{
	.widget-entry-card-thumb {
		width: 50px !important;
		margin-right: 6px;
	}
	.widget-entry-card-thumb img {
		width: 100%;
		height: auto;
	}
	.widget-entry-card-content {
		font-size:13px;
		margin-left: 0 !important;
	}
}




/* ===============================
　固定ページ
=============================== */
/* --------------------------------
　更新日非表示
-------------------------------- */
.page .date-tags {
	display: none;
}
/* --------------------------------
　本文 ボックス間調整
-------------------------------- */
.wp-block-cocoon-blocks-info-box.block-box.secondary-box {
	margin-bottom: 15px !important;
}
/* --------------------------------
　本文 文字サイズ調整
-------------------------------- */ 
/* PC */
@media screen and (min-width: 769px) {
	.page .entry-content {
		font-size: 16.5px !important;
	}
}
/* SP */
@media screen and (max-width: 768px) {
	.page .entry-content {
		font-size: 14.5px !important;
		line-height: 1.6 ;
	}
	.page .wp-block-cocoon-blocks-info-box.block-box.secondary-box,
	.page .wp-block-cocoon-blocks-info-box.block-box.secondary-box p
	{
		font-size: 17px !important;
		padding-top: 5px;
		padding-bottom: 5px;
	}
}




/* ===============================
　投稿ページ
=============================== */
/* --------------------------------
　アイキャッチ非表示
-------------------------------- */
.single .eye-catch {
  display: none;
}
/* --------------------------------
　前後記事リンク 調整
-------------------------------- */
.prev-post-thumb,
.next-post-thumb {
  display: none ;
}
/* --------------------------------
　タイトル 文字サイズ 調整
-------------------------------- */
/* PC */
@media screen and (min-width: 769px) {
	.single .entry-title {
		font-size: 23px;
	}
}
/* --------------------------------
　本文 文字サイズ 調整
-------------------------------- */
/* PC */
@media screen and (min-width: 769px) {
	.single .entry-content {
		font-size: 16.5px !important;
	}
}
/* SP */
@media screen and (max-width: 768px) {
  .single .entry-title {
		font-size: 18px;
	}
	.single .entry-content {
    font-size: 14.5px;
	}
	.single .entry-content p {
		line-height: 1.8 !important;
	}
}
/* --------------------------------
　見だし 文字サイズ 調整
-------------------------------- */
/* SP */
@media screen and (max-width: 768px) {
	.single .wp-block-cocoon-blocks-info-box.block-box.secondary-box,
	.single .wp-block-cocoon-blocks-info-box.block-box.secondary-box p
	{
		font-size: 17px !important;
		padding-top: 3px;
		padding-bottom: 3px;
	}
}
/* --------------------------------
　関連記事 調整
-------------------------------- */
/* PC */
@media screen and (min-width: 769px) {
	.related-entry-card {
		display: flex;
		align-items: center;
	}
	.related-entry-card-thumb {
		width: 80px ;
		margin-right: 10px;
		flex-shrink: 0;
	}
	.related-entry-card-thumb img {
		width: 100%;
		height: auto;
		object-fit: cover;
		display: block;
	}
	.related-entry-card-content {
		padding: 0 ;
		margin: 0 ;
		width: calc(100% - 90px);
	}
	.related-entry-card-title {
		padding: 0 ;
		margin: 0 ;
		font-size: 16px;
		transform: translateX(0px);
	}
}
/* SP */
@media screen and (max-width: 768px) {
  .related-entry-card {
    display: flex;
    align-items: center;
  }
  .related-entry-card-thumb {
    width: 50px;
    margin-right: 10px;
    flex-shrink: 0;
  }
  .related-entry-card-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }
  .related-entry-card-content {
    padding: 0;
    margin: 0;
    width: calc(100% - 60px);
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .related-entry-card-title {
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 13px;
    transform: translateX(0px);
  }
  .related-entry-card-meta {
    font-size: 13px;
    margin: 0;
  }
	.related-entry-card .cat-label {
  display: none;
	}
}





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

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

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