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

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

/* ===== 全体の背景 ===== */
body {
  background-color: #fff8f9 !important;
}

/* ===== ヘッダー：桜グラデーション ===== */
#header {
  background: linear-gradient(135deg, #ffe0ec 0%, #ffc8d8 40%, #ffb3c6 70%, #ffd6e0 100%) !important;
  border-bottom: 3px solid #f48fb1;
  box-shadow: 0 2px 12px rgba(244, 143, 177, 0.3);
}

/* ===== サイトタイトル ===== */
#site-name a,
.site-name-text a,
.site-name-text {
  color: #c2185b !important;
  text-shadow: 1px 1px 3px rgba(255,255,255,0.8);
  font-weight: bold;
}

/* ===== タグライン ===== */
.tagline {
  color: #e91e63 !important;
}

/* ===== ナビゲーション ===== */
#navi .navi-in > ul > li > a {
  color: #c2185b !important;
  font-weight: bold;
}
#navi .navi-in > ul > li > a:hover {
  background-color: #f48fb1 !important;
  color: #fff !important;
}

/* ===== 記事カード ===== */
.card-wrap {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(244, 143, 177, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(244, 143, 177, 0.35);
}

/* ===== 記事・カードタイトル ===== */
.card-title,
.entry-title,
h1.entry-title {
  color: #c2185b !important;
}

/* ===== 見出し h2 ===== */
.entry-content h2 {
  border-left: 5px solid #f48fb1;
  border-bottom: 2px solid #fce4ec;
  background: linear-gradient(90deg, #fff0f5 0%, #fff8f9 100%);
  color: #c2185b;
  padding: 10px 16px;
  border-radius: 0 8px 8px 0;
}

/* ===== 見出し h3 ===== */
.entry-content h3 {
  border-left: 4px solid #81c784;
  background: linear-gradient(90deg, #f1f8e9 0%, #fff8f9 100%);
  color: #388e3c;
  padding: 8px 14px;
  border-radius: 0 6px 6px 0;
}

/* ===== リンク色 ===== */
a { color: #e91e63; }
a:hover { color: #c2185b; }

/* ===== サイドバー ウィジェット ===== */
#sidebar .widget {
  border-radius: 10px;
  border: 1px solid #fce4ec;
  box-shadow: 0 2px 8px rgba(244, 143, 177, 0.15);
  overflow: hidden;
}
.widget-title {
  background: linear-gradient(135deg, #f48fb1, #e91e63) !important;
  color: #fff !important;
  padding: 10px 16px !important;
  border-radius: 8px 8px 0 0 !important;
  font-weight: bold;
}

/* ===== フッター ===== */
#footer {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%) !important;
  color: #c2185b !important;
  border-top: 3px solid #f48fb1;
}
#footer a,
.footer-copy {
  color: #c2185b !important;
}

/* ===== ヘッダー上部 桜絵文字装飾 ===== */
#header::before {
  content: "🌸　男性不妊治療ブログ日記　🌸";
  display: block;
  text-align: center;
  font-size: 0.9em;
  color: #c2185b;
  padding: 4px 0 2px;
  opacity: 0.85;
}

/* ===== タグ・カテゴリ ===== */
.post-categories a,
.post-tags a {
  background-color: #f8bbd0 !important;
  color: #c2185b !important;
  border-radius: 12px;
  padding: 2px 10px;
}

/* ===== 本文 ===== */
.entry-content p {
  line-height: 1.9;
  color: #444;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
@media screen and (max-width: 834px){
  .card-wrap:hover { transform: none; }
  #header::before { font-size: 0.8em; }
}

@media screen and (max-width: 480px){
  #header::before { content: "🌸 男性不妊治療ブログ 🌸"; }
}


/* ===== ウィジェット非表示設定 ===== */
/* Recent Comments を非表示 */
#block-4 { display: none !important; }

/* Categories を非表示 */
#block-6 { display: none !important; }
