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

/************************************
** 子テーマ用のスタイルを書く
************************************/

/* ============================================================
   見出し h2：2本線・高さ強化
   ============================================================ */
.entry-content h2,
.entry-content h2.wp-block-heading {
  border-left: 6px solid #c9a84c !important;
  box-shadow: none !important;
  margin-left: 0 !important;
  padding: 14px 0 14px 20px !important;
  position: relative !important;
}
.entry-content h2::before,
.entry-content h2.wp-block-heading::before {
  content: none !important;
}

/* ============================================================
   見出し h3：左線をゴールド薄め（h2と区別）
   ============================================================ */
.entry-content h3,
.entry-content h3.wp-block-heading {
  border-left: 3px solid #e8c97a !important;
  padding-left: 12px !important;
}

/* ============================================================
   blockquote：左線を削除
   ============================================================ */
.entry-content blockquote,
.entry-content .wp-block-quote,
.wp-block-quote.is-style-default,
.wp-block-quote.is-layout-flow,
.wp-block-quote.wp-block-quote-is-layout-flow {
  border-left: none !important;
  border: none !important;
}

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

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

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


/* ============================================================
   ウィジェット・ブログカード背景をcreamに統一
   ============================================================ */

/* サイドバーウィジェット */
.widget.widget-sidebar {
  background: var(--cream) !important;
  box-shadow: none !important;
}

/* ブログカード（記事一覧） */
.a-entry-card,
.entry-card {
  background: var(--cream) !important;
}

/* ウィジェット：枠線・背景調整 */
.widget.widget-sidebar {
  background: var(--cream) !important;
  border: 1px solid var(--warm-gray) !important;
  box-shadow: none !important;
}

/* ウィジェットタイトル背景もcreamに */
.widget.widget-sidebar .widget-title,
.widget.widget-sidebar .widgettitle {
  background: var(--cream) !important;
}

/* ブログカード：枠線・背景調整 */
.related-entry-card,
.a-entry-card,
.entry-card {
  background: var(--cream) !important;
  border: 1px solid var(--warm-gray) !important;
  box-shadow: none !important;
}

/* カテゴリカード：枠線・背景調整 */
.cat-card {
  background: var(--cream) !important;
  border: 1px solid var(--warm-gray) !important;
  box-shadow: none !important;
}

/* 記事内ブログカード */
.blogcard,
.internal-blogcard {
  background: var(--cream) !important;
  border: 1px solid var(--warm-gray) !important;
  box-shadow: none !important;
}

.blogcard-content,
.internal-blogcard .blogcard-content {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

/* 親リンクの下線を消す */
a.blogcard-wrap,
a.internal-blogcard-wrap {
  text-decoration: none !important;
}

/* ============================================================
   記事内CTA：無料レポート
   ============================================================ */
.cta-report {
  border-top: 3px solid #c8922a;
  border-bottom: 1px solid #d4cfc5;
  padding: 36px 0;
  margin-top: 48px;
}
.cta-report .cta-label {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #c8922a;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-report .cta-heading {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #0d0d0d;
}
.cta-report .cta-body {
  font-size: 14px;
  color: #555;
  line-height: 2;
  margin-bottom: 24px;
}
.cta-report .cta-btn {
  display: inline-block;
  background: #c8922a;
  color: #fff;
  text-decoration: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.cta-report .cta-btn:hover {
  background: #e8b84b;
  color: #fff;
  text-decoration: none;
}
.cta-report .cta-note {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
  margin-bottom: 0;
}

/*480px以下*/
@media screen and (max-width: 480px) {
  .cta-report .cta-btn {
    display: block;
    text-align: center;
    padding: 16px 20px;
  }
}

/* ============================================================
   Cocoonボタン：goldに統一
   ============================================================ */
.btn,
.wp-block-cocoon-blocks-button-1 .btn,
.btn-l,
.btn-s,
.btn-m {
  background: #c9a84c !important;
  color: #16213e !important;
  border: none !important;
  border-radius: 4px !important;
}
.btn:hover,
.wp-block-cocoon-blocks-button-1 .btn:hover {
  background: #e8c97a !important;
  color: #16213e !important;
}

/* ============================================================
   カテゴリカード・新着記事：リンク色をgoldに
   ============================================================ */
.cat-card__name a,
.cat-card a,
.info-list-box a,
.info-list a {
  color: #c9a84c !important;
  text-decoration: none !important;
}
.cat-card__name a:hover,
.cat-card a:hover,
.info-list-box a:hover,
.info-list a:hover {
  color: #e8c97a !important;
}


/* ============================================================
   フッターメニュー：リンク色をgoldに
   ============================================================ */
#footer-menu a,
.footer-menu a,
.footer-nav a,
#navi-footer-in a,
.navi-footer-in a {
  color: #c9a84c !important;
  text-decoration: none !important;
}
#footer-menu a:hover,
.footer-menu a:hover,
.footer-nav a:hover,
#navi-footer-in a:hover,
.navi-footer-in a:hover {
  color: #e8c97a !important;
  text-decoration: underline !important;
}

/* ============================================================
   フッター：コピーライト表示
   ============================================================ */
.source-org.copyright {
  color: #999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* ============================================================
   サイドバー：ウィジェットタイトルに左線
   ============================================================ */
.widget-sidebar-title,
.widget-title,
.widgettitle {
  border-left: 3px solid #e8c97a !important;
  padding-left: 12px !important;
}

/* ============================================================
   著者名：リンク色をgoldに
   ============================================================ */
a.author-link,
.author-box a,
.author-content a,
.post-author a {
  color: #c9a84c !important;
  text-decoration: none !important;
}
a.author-link:hover,
.author-box a:hover,
.author-content a:hover,
.post-author a:hover {
  color: #e8c97a !important;
}