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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
/* ===== CTA ボックス全体 ===== */
.widget_cta_box {
  background: linear-gradient(135deg, #3a5a2a, #4a7a35);
  border-radius: 8px;
  overflow: hidden;
}

/* ===== ウィジェットタイトル（「数学の基礎から〜」の小見出し） ===== */
.widget_cta_box .widget-title {
  color: #f0e68c;
  font-size: 0.85em;
  font-weight: normal;
  letter-spacing: 0.05em;
  padding: 16px 20px 0;
  border: none;
  background: transparent;
}

/* ===== CTAボックス本体（背景色をリセット） ===== */
.cta-box.cta-top-and-bottom {
  background: transparent;
  padding: 0 20px 20px;
}

/* ===== CTAの大見出し（「このサイトの解説スライドは〜」） ===== */
.cta-heading {
  color: #ffffff;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 0;
}

/* ===== CTAの本文テキスト ===== */
.cta-message {
  color: #dddddd;
  font-size: 0.9em;
  line-height: 1.75;
}

/* ===== CTAボタン ===== */
.cta-button .btn-red {
  background-color: #f0e68c !important;
  color: #2a3a1a !important;
  border: none !important;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.cta-button .btn-red:hover {
  background-color: #e8d870 !important;
  color: #2a3a1a !important;
}

/* aboutページ（post-8）内のCTA直書きブロック用 */
article.post-8 .cta-box {
  background: linear-gradient(135deg, #3a5a2a, #4a7a35);
  border-radius: 8px;
  padding: 20px;
}

article.post-8 .cta-heading {
  color: #f0e68c;
  font-size: 1.1em;
  font-weight: bold;
  padding: 8px 0;
}

article.post-8 .cta-message {
  color: #ddd;
  font-size: 0.9em;
  line-height: 1.75;
}

article.post-8 .cta-button .btn-red {
  font-weight: bold;
  letter-spacing: 0.05em;
  background-color: #f0e68c !important;
  color: #2a3a1a !important;
  border: none !important;
}

article.post-8 .cta-button .btn-red:hover {
  background-color: #e8d870 !important;
  color: #2a3a1a !important;
}

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

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

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