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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*サイドプロフィール*/
.author-name a {
    text-decoration: none; /* アンダーバーを削除 */
    color: gray; /* グレーに変更 */
    font-weight: bold; /* 太文字に変更 */
}

/*トップバナーPC４列*/
.recommend-2{
	display:flex;
}
.recommend-2 a img {
	display: block;
	padding: 10px 4px 0 4px;
	width: 100%;
}

/*トップバナースマホ２列*/
.recommend-3{
	display:flex;
}
.recommend-3 a img {
	display: block;
	padding:4px 2px 0 2px;
	width: 100%;}

/*検索窓*/
.search-box .search-edit {
font-size: 14px;
padding: 5px 20px;
border-color:#FF5D5C;
border-radius: 30px;
height: 50px;
}
.search-box .search-submit {
top: 0;
right: 0px;
height: 100%;
width: 60px;
color: #FF5D5C;
}

/* 記事概要 上下30px、左右40px*/
.post-summary{
	background-color: #F4F3EA;
	padding: 15px;
	border: 1px solid #F4F3EA;
}

/*見出し*/ 
.article h2, .sidebar h3
 {
  position: relative;
  padding: 5px;
	border-top: 3px solid #FF5D5C;
  border-bottom: 3px solid #FF5D5C;
   background-color:unset;
	 color:#FF5D5C;
}

.article h3,.article h4, .article h5, .article h6,#toc{
	border-color:#FF5D5C;
}

.article h3{
	border-right:unset;
	border-bottom:unset;
	border-top:unset;
	border-left: solid 4px #FF5D5C;
}

/*見出し太さ*/
.article h1,.article h2,.article h3,.sidebar h3, #archive-title{
	font-weight:500;
}

/*ページネーション*/
.pagination-next-link {
	display: none;
}
.page-numbers { /*通常時*/
	color: #0097D0;
  border: 1px solid #0097D0;
	border-radius: 50%;
	text-align: center; /* 文字を中央揃え */
    line-height: 5em; /* 高さを指定して中央揃え */
}
.pagination .current { /*現在のページ*/
	background-color: #0097D0;
         color: #fff;
}

.page-numbers.dots { /*ドット「…」の部分*/
	opacity: 1; /* 透明度が問題なら明示的に設定 */
    background: none;
    color: #0097D0; /* ドットを見やすくする色 */
    font-size: 1em; /* スマホでもドットが見える大きさ */

}
.pagination a:hover { /*マウスホバー時*/
	background-color: #0097D0;
        color: #fff;
}

@media (max-width: 768px) {
    .pagination .page-numbers.dots {
        display: inline; /* ドットを表示する */
    }
}

/* 目次上下余白 */
#toc {
	margin-top: 50px;
	margin-bottom: 50px;
	border: 1px solid #0297D0;
}

/*cat-label（カテゴリラベル）の位置と文字*/
.cat-label
 {	
top: 0%;	
left: 0%;	
line-height: 1.8;	
font-size: 0.67em;	
font-weight: 500;
	 border: 0;
	 background-color: #0297D0;
}

/*サイドバーアイキャッチ高さ */
.widget-entry-card-thumb img {
		width: 100%;
	height: 80px;
	object-fit: cover;
	object-position: center;
}

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

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

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