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

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


.w img {
	padding: 5px;
	border: 1px #cccccc solid;
}

/* コードのフォント変更 */
pre,code {
    font-family: "CourierNew", "Consolas", "Courier", monospace;
    font-size: 0.9em;
}

/* 
 * アイコンボックス のアイコン差し替え
 * https://y-k-studio.com/programming/wordpress/iconbox-customize/
 * https://webllica.com/search-font-awesome-icon-by-japanese/
 */
.alert-box::before, .alert::before {
    content: '\f071';
}

.related-entry-card-title {
  font-size: 1.1em !important;
}

/*関連記事の見出しのカスタマイズ：スタイリッシュ*/
/*ここから*/
.main .related-entry-heading {
	position: relative;
	display: inline-block;
	padding: 3px 3px 3px 48px;
	background-color: #AAC5FF;
    color: #fff;
}

.main .related-entry-heading .main-caption {
	letter-spacing: 2px;
}

.main .related-entry-heading:before {
	position: absolute;
	content: '';
	top: 0px;
	right: -15px;
	border-width: 50px 15px 0px 0px;
	border-style: solid;
	border-color: #AAC5FF;
	border-right-color: transparent;
}

.main .related-entry-heading:after {
	position: absolute;
	content: '';
	top: 0px;
	left: 0px;
	border-width: 50px 15px 0px 0px;
	border-style: solid;
	border-color: #fff;
	border-right-color: transparent;
}

.main .related-entry-heading .main-caption:before {
	position: absolute;
	content: '';
	top: 0px;
	left: 25px;
	border-width: 50px 15px 0px 0px;
	border-style: solid;
	border-color: #fff;;
	border-right-color: transparent;
}

.main .related-entry-heading .main-caption:after {
	position: absolute;
	content: '';
	top: 0px;
	left: 10px;
	border-width: 50px 15px 0px 0px;
	border-style: solid;
	border-color: #fff;
	border-top-color: transparent;
}
/*ここまで*/


/*------------------------------------
  　　　　SNSシェアボタン
--------------------------------------*/
.button-caption { display: none; }
.sns-share-buttons a {
 font-size: 20px; /*ロゴサイズ*/ 
 border-radius: 3px; /*角の丸み*/
 height: 28px; /*ボタンの高さ*/
 box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.18); /*影*/
}

/* tableのフォントサイズの変更 */
.wp-block-table {
	font-size: 0.9em;
}

/* はてなブログカードがモバイル環境でもはみ出ないようにする */
.wp-embedded-content {
	max-width: 100%;
}

/* 注目記事のサムネイルの調整 */
img.tptn_thumb.tptn_featured, img.tptn_thumb.tptn_default_thumb {
	float: left;
	border: solid 1px #ddd;
	border-radius: 4px;
	margin: 5px;
	padding: 2px;
}

/* 人気記事の文字の調整 */
.widget-entry-card {
	font-size: 0.9em;
	text-decoration: none;
	font-weight: normal;
	line-height: 1.3;
	display: block;
	margin-top: 8px;
}

div#widget_tptn_pop-2.widget.tptn_posts_list_widget div.tptn_posts.tptn_posts_widget.tptn_posts_widget2 ul li {
	padding-top: 6px;
	padding-bottom: 6px;
}

/*カテゴリーウィジェット アイコンフォント設定*/
.widget_categories a:before{
	font-family: "Font Awesome 5 Free";
	content: "\f07b";
	font-weight: 900;
	float: left;
	padding-left: 10px;
	padding-right: 4px;
}


/* カテゴリー padding修正 */
.widget_recent_entries ul li a, .widget_categories ul li a, .widget_archive ul li a, .widget_pages ul li a, .widget_meta ul li a, .widget_rss ul li a, .widget_nav_menu ul li a {
	padding: 0px 0;
	font-size: 0.9em;
}


/*サイドバーウィジェットタイトル*/
/* Side Title */
.sidebar h3 {
	background: #6c848d;  /*背景色*/
	border-radius: 5px;  /*角の丸み*/
	color: #fff;  /*文字色*/
	text-align: center;  /*文字を中央に*/
}

/*************/
/* ブログカード */
/*************/
/* 【合わせて読みたい】表示 */
a.blogcard-href::before {
	content: "合わせて読みたい";
	position: absolute;
	color: white;
	font-size: 12px;
	background: #6c848d;
	width: 120px;
	height: 22px;
	font-weight: bolder;
	text-align: center;
	bottom: 0;
	right: 0;
	border-radius: 2px;
}

/* この記事を書いた人 */

.authorbox {
	position: relative;
	margin: 50px 0 30px; /* 自サイトに合わせて調整必要 */
	padding: 6px 10px 9px;
	border: 2px solid #444; /* ボックスの囲み線の色 */
}

.authorbox .authorbox-title {
	position: absolute;
	top: -32px;
	left: -2px;
    padding: 7px 12px 8px;
	height: 32px;
	line-height: 19px;
	font-size: 13px;
	background: #333; /* タイトルの背景色 */
	color: #ffffff; /* タイトルの文字色 */
	font-weight: bold;
}
.authorbox .authorbox-title:before {
	font-family: "Font Awesome 5 Free";
	content: "\f007";
	margin-right: 5px;
	margin-bottom: 0px;
	display: inline-block;
	color: #fff;
}
.authorbox p {
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 21px;
}
.profile-img{
	display: block;
	margin: 5px 15px 15px 0; /* 上 右 下 左 */
	float: left;
}
h4.author{
	margin: 5px 0 5px 95px;
	border-left: solid 5px #999;
	padding: 0 0 0 5px;
	line-height: 22px;
	font-size: 18px;
	font-weight: 700;
	color: #444; /*見出しの左側の線の色 */
}

li.simple-links-widget-item {
	font-size: 0.9em ;
}

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

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

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