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

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

/* ---------- 共通カラー変数 ---------- */
:root {
  --grad-main: linear-gradient(135deg, #d63bc8 0%, #a855f7 40%, #6366f1 80%, #3b82f6 100%);
  --grad-btn: linear-gradient(90deg, #d946ef, #a855f7);
  --grad-footer: linear-gradient(135deg, #581c87 0%, #4c1d95 50%, #1e1b4b 100%);
  --pink-accent: #e879f9;
  --purple-text: #7c3aed;
}
 
/* ヘッダー上段：サイトタイトル部分 */
#header-in {
  background: linear-gradient(1135deg, #f8d0f0 0%, #e0b4fa 35%, #beb4fa 65%, #b4c4fa 100%) !important;
}
#header-in .logo-header,
#header-in .logo-header a {
  color: #fff !important;
}

/* ヘッダー下段：グローバルメニュー(navi-in)部分 */
.navi-in {
  background: linear-gradient(135deg, #d63bc8 0%, #a855f7 60%, #6366f1 100%) !important;
}
.navi-in a {
  color: rgba(255, 255, 255, 0.9) !important;
}
.navi-in a:hover {
  color: #fff !important;
  opacity: 0.85;
}
 
/* ---------- アピールエリア（参考画像の「ヒーロー」部分） ----------
   Cocoon設定 → アピールエリア で「表示する範囲」を有効にし、
   タイトル／メッセージ／ボタンを入力しておいてください。
   画像を設定しなくてもこのCSSでグラデーション背景になります。 */
.appeal,
.appeal-in {
  background: linear-gradient(135deg, #f8d0f0 0%, #e0b4fa 35%, #c4a8f5 65%, #a8c8ff 100%) !important;
  background-image: none !important; /* Cocoon設定で画像を入れていない場合の背景を上書き */
  min-height: 220px !important;
}
.appeal-content {
  text-align: center;
  padding: 32px 20px !important;
}
.appeal-title {
  color: #5b1d8a !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  border-bottom: none !important;
  text-shadow: none !important;
}
.appeal-message {
  color: #7c3aed !important;
  font-size: 13px !important;
}
.appeal-content .appeal-button {
  background: var(--grad-btn) !important;
  border: none !important;
  border-radius: 20px !important;
  color: #fff !important;
  box-shadow: none !important;
  padding: 10px 26px !important;
  display: inline-block;
  margin-top: 14px;
}
 
/* お知らせ帯（アピールエリアの代わりに使う場合） */
.notice-area {
  background: linear-gradient(135deg, #f8d0f0 0%, #e0b4fa 35%, #c4a8f5 65%, #a8c8ff 100%) !important;
  text-align: center;
}
.notice-area a {
  color: #5b1d8a !important;
}
 
/* PRバナー（サイドバーにカスタムHTMLウィジェットで設置する場合の見本クラス）
   ウィジェットの中に <div class="pr-banner">おすすめコスメ特集 →</div> のように入れて使えます */
.pr-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 54px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f0abfc, #c084fc);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
 
/* ---------- セクション見出し（新着記事など） ---------- */
.a-item.list h2,
.article-heading,
.main-widget-label {
  border-bottom: 2px solid var(--pink-accent) !important;
  padding-bottom: 8px;
  position: relative;
  padding-left: 12px;
}
.a-item.list h2::before,
.main-widget-label::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 4px; height: 16px;
  border-radius: 2px;
  background: var(--grad-btn);
}
 
/* ---------- 記事カード（一覧） ---------- */
.entry-card {
  border-radius: 12px !important;
  overflow: hidden;
  border: 1px solid #f0d9f7 !important;
  box-shadow: 0 2px 8px rgba(168,85,247,0.08) !important;
  transition: transform 0.15s ease;
}
.entry-card:hover {
  transform: translateY(-3px);
}
.entry-card-thumb {
  border-radius: 0 !important;
}
.cat-label {
  background: linear-gradient(90deg, #d946ef, #a855f7) !important;
  border-radius: 10px !important;
  color: #fff !important;
  border: none !important;
}
.entry-card-title {
  color: #4b2b6b !important;
}
 
/* ---------- ページネーション ---------- */
.pagination .page-numbers {
  border-radius: 50% !important;
  border: 1px solid #f0d9f7 !important;
}
.pagination .page-numbers.current {
  background: var(--grad-btn) !important;
  border: none !important;
  color: #fff !important;
}
 
/* ---------- サイドバー ---------- */
.widget-title,
.sidebar-scroll .widget-title {
  background: linear-gradient(90deg, #fdf4ff, #f5f3ff) !important;
  border-left: 3px solid #d946ef !important;
  border-bottom: none !important;
  border-radius: 0 4px 4px 0;
  padding: 6px 10px !important;
}
 
/* プロフィールウィジェット */
.profile-icon img {
  border: 3px solid #f3e8ff !important;
}
.author-name {
  color: #4b2b6b !important;
}
.sns-follow ul li a {
  background: linear-gradient(135deg, #e879f9, #6366f1) !important;
  border: none !important;
}
 
/* カテゴリーウィジェット */
.cat-link-list a {
  border-radius: 6px;
}
.cat-link-list a:hover {
  background: #fdf4ff !important;
}
 
/* 人気記事ウィジェット */
.entry-ranking .entry-card-ranking-number {
  background: linear-gradient(135deg, #e879f9, #a855f7) !important;
  border-radius: 4px !important;
  color: #fff !important;
}
 
/* ---------- フッター ---------- */
#footer,
.footer-in {
  background: var(--grad-footer) !important;
  color: rgba(255,255,255,0.7) !important;
}
#footer a,
.footer-in a {
  color: rgba(255,255,255,0.8) !important;
}
 
/* ---------- ボタン共通 ---------- */
.sim-btn a,
.btn-normal,
.btn-angle {
  background: var(--grad-btn) !important;
  border: none !important;
  border-radius: 20px !important;
  color: #fff !important;
}
 
/* ---------- スマホ表示の調整 ---------- */
@media screen and (max-width: 768px) {
  .appeal-content { padding: 16px 12px !important; }
  .entry-card { border-radius: 10px !important; }
}

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

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

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