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

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

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

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

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


/************************************
** トップページ改修 2026-08-18
** 横長ヘッダーロゴ(1400x347)の表示制御
** PCは高さ150pxに抑え、スマホは横幅いっぱいに表示
************************************/
.site-logo-image,
.header-site-logo-image{
  max-height: 150px !important;
  width: auto !important;
}

/*834px以下(スマホ・タブレット)は横幅いっぱい*/
@media screen and (max-width: 834px){
  .site-logo-image,
  .header-site-logo-image{
    max-height: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .header-in .logo,
  .header-in .site-name{ display:block !important; }
}

/* ▼ 本文の行間を広げる（読みやすさ） 2026-08-26 追加 */
/* Rinkerの商品カードとブログカードは p / li を使っていないため影響しない */
.entry-content p,
.entry-content li {
  line-height: 1.8;
}

/* ▼ 公開予約中の記事（リンクにせずテキスト表示） 2026-08-26 追加 */
.pending-link {
  color: #888;
}


/* === ECO_TOC_BTN 目次の開閉ボタンを見やすく（2026-09-18） === */
#toc.toc {
	border: 2px solid #2E7D32;
	border-radius: 8px;
	background: #F1F8F2;
	padding: 12px 16px;
}
#toc .toc-title {
	display: block;
	color: #1B5E20;
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	cursor: pointer;
	padding: 0;
}
#toc .toc-title::after {
	display: inline-block;
	margin-left: 10px;
	padding: 5px 16px;
	border-radius: 999px;
	background: #2E7D32;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	vertical-align: middle;
}
#toc .toc-title:hover::after {
	background: #1B5E20;
}
#toc .toc-list > li > a {
	/* ECO_TOC_ITEM 大見出しだけ太字にして階層を見やすく */
	font-weight: 700;
	color: #1B5E20;
}

/* === ECO_INVITE 結論ボックスの「誘いの1行」（2026-09-18） === */
.caption-box .eco-invite {
	margin: 12px 0 0;
	padding: 10px 12px;
	background: #FFF8E1;
	border-left: 4px solid #F9A825;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.8;
}


/************************************
** ECO 2026-09-29 トップの区切りと見出し（ECo承認：A・C・D・E）
** 元に戻すときは、この印から「ECO END」までを消す
************************************/
/* A 白いパネル＋見出しの統一 */
.list-new-entries,.list-column{background:#fff;border-radius:12px;padding:20px 20px 6px;box-shadow:0 1px 4px rgba(0,0,0,.07);margin-bottom:24px;box-sizing:border-box}
.list-title{text-align:left!important;margin:0 0 14px!important}
.list-title-in{display:block!important;font-size:20px!important;padding:2px 0 10px 14px!important;border-left:5px solid #28b893;border-bottom:1px solid #e3ebe7}
.list-title-in::before,.list-title-in::after{display:none!important}
.list-column .list-title-in{font-size:18px!important}
.list-more-button-wrap{margin:8px 0 14px!important}
#sidebar .widget-sidebar{background:#fff;border-radius:12px;padding:16px 16px 10px;box-shadow:0 1px 4px rgba(0,0,0,.07);margin-bottom:22px}
#sidebar .widget-sidebar-title{background:none!important;border:0!important;border-left:5px solid #28b893!important;border-bottom:1px solid #e3ebe7!important;text-align:left!important;padding:2px 0 10px 12px!important;font-size:18px!important;margin:0 0 12px!important}
#sidebar #custom_html-5{display:none!important}
/* E カテゴリー別の並び（カメラを最後に） */
.list-category-488-column{order:9}
@media screen and (min-width:835px){.list-columns{justify-content:space-between}.list-column{width:49%!important}}
@media screen and (max-width:834px){.list-new-entries,.list-column{padding:16px 12px 4px;border-radius:10px}}
/* C おすすめ4枚の題名を画像の下へ */
.recommended .navi-entry-card{background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.08)}
.recommended .navi-entry-card-content{position:static!important;display:block!important;height:auto!important}
.recommended .navi-entry-card-title{background:#fff!important;border-radius:0!important;margin:0!important;padding:10px 12px!important;font-size:14px!important;font-weight:700;text-align:left!important;line-height:1.5}
/* D 記事画像のカテゴリーラベルを右上へ */
.entry-card-thumb .cat-label{left:auto!important;right:6px!important;top:6px!important}
/* ECO END */
