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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/*トップバナー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:#fbd460;
border-radius: 30px;
height: 50px;
}
.search-box .search-submit {
top: 0;
right: 0px;
height: 100%;
width: 60px;
color: #fbd460;
}

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

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

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

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

/*ページネーション*/
.pagination-next-link {
	display: none;
}
.page-numbers { /*通常時*/
	color: #fbd460;
  border: 1px solid #fbd460;
	border-radius: 50%;
}
.pagination .current { /*現在のページ*/
	background-color: #fbd460;
         color: #fff;
}

.page-numbers.dots { /*ドット「…」の部分*/
	opacity: 1;
	background: none;
}
.pagination a:hover { /*マウスホバー時*/
	background-color: #fbd460;
        color: #fff;
}

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

/* 記事概要 上下30px、左右40px*/
.post-summary{
padding: 15px;
}

/*cat-label（カテゴリラベル）の位置と文字*/
.cat-label {
  top: 0%;	
  left: 0%;	
  line-height: 1.8;	
  font-size: 0.67em;	
  font-weight: 500;
  border: 0;
  background-color: #fbd460 !important; /* ← 上書き防止のために重要 */
  color: #a6917e !important;               /* ← 文字色をしっかり固定 */
}

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

/*黄色マーカー差し替え*/
.marker { 
    background: linear-gradient(transparent 60%, #FFFF00 60%);
}

/*サイドプロフィール*/
.author-name a {
    text-decoration: none; /* アンダーバーを削除 */
    color: gray; /* グレーに変更 */
    font-weight: bold; /* 太文字に変更 */
}

/* 発コミュとは */
.about-flex-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center; 
  gap: 20px;
  margin-bottom: 20px;
}

.about-image-wrapper {
  text-align: center;
  width: 300px;
  flex-shrink: 0;
}

.about-image {
  width: 100%;
  height: auto;
}

.image-caption {
  font-size: 14px;
  margin-top: 5px;
  color: #333;
  line-height: 1.4;
}

.about-text {
  flex: 1;
  min-width: 200px;
}

/* スマホ用：縦並び＋順番変更 */
@media screen and (max-width: 768px) {
  .about-flex-box {
    flex-direction: column;
    align-items: center;
  }

  .about-text {
    order: 1;
    padding: 0 10px;
    text-align: left;
  }

  .about-image-wrapper {
    order: 2;
    width: 70%;
    max-width: 300px;
  }
}

/* フッター文字サイズ */
@media screen and (max-width: 768px) {
  .footer-bottom-content a {
    font-size: 13px;
  }
/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

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

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