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

/* ============================================
   神占い情報局 デザインシステム
   LP準拠: navy:#1A1A2E / gold:#C5A55A / mystic:#6B3FA0
   ============================================ */

:root {
  --navy:         #1A1A2E;
  --navy-deep:    #13132a;
  --gold:         #C5A55A;
  --mystic:       #6B3FA0;
  --mystic-mid:   #7C4DB5;
  --mystic-light: #F8F6FF;
  --mystic-dark:  #EDE8F8;
  --line-green:   #06C755;
  --text-main:    #1A1A2E;
  --text-muted:   #6B7280;
  --font-sans:    "Noto Sans JP", sans-serif;
  --font-serif:   "Noto Serif JP", serif;
  --font-display: "Cormorant Garamond", serif;
}

/* ── ベース ── */
body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--mystic); }
a:hover { color: var(--gold); text-decoration: none; }

/* ── ヘッダー（白背景＋goldスター） ── */
#header,
.header-container,
.header-container-in {
  background: #ffffff !important;
  border-bottom: 1px solid #F3F4F6;
  box-shadow: 0 1px 12px rgba(26,26,46,.06);
}

#header .logo-header,
#header .site-name-text,
#header .header-logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy) !important;
  letter-spacing: 0.12em;
}

/* ロゴ前の✦スター */
#header .site-name-text::before,
#header .header-logo-text::before {
  content: "✦ ";
  color: var(--gold);
  font-size: .85em;
}

#header .tagline,
#header .site-description {
  color: var(--text-muted) !important;
  font-size: 0.75rem;
}

/* ── グローバルナビ ── */
#nav,
.navi-in,
.global-navi {
  background: #ffffff !important;
  border-top: 1px solid #F3F4F6;
}

#nav .menu-item a,
.navi-in .menu-item a {
  color: var(--navy) !important;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

#nav .menu-item a:hover,
.navi-in .menu-item a:hover {
  color: var(--mystic) !important;
  background: var(--mystic-light) !important;
  border-radius: 6px;
}

/* ヘッダーCTAボタン */
.header-cta-btn,
.navi-btn a,
#nav .btn-wrap a {
  background: var(--mystic) !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: .5rem 1.25rem !important;
  font-weight: 700;
  font-size: .8125rem;
}

/* ── 記事タイトル ── */
.entry-title,
.article-title,
.post-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.entry-title a,
.article-title a { color: var(--navy) !important; }
.entry-title a:hover,
.article-title a:hover { color: var(--mystic) !important; }

/* ── 本文見出し ── */
.article h2,
.entry-content h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.2rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding: .5rem 0 .5rem 1rem;
  border-left: 4px solid var(--gold);
  background: transparent;
  line-height: 1.5;
}

.article h3,
.entry-content h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.05rem;
  margin-top: 2rem;
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--mystic-dark);
}

/* ── 本文 ── */
.article p,
.entry-content p {
  line-height: 1.9;
  color: #374151;
  margin-bottom: 1.25rem;
  font-size: .9375rem;
}

/* ── ボタン（紫） ── */
.btn,
.wp-block-button__link,
.more-link {
  background: var(--mystic) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 9999px !important;
  font-weight: 700;
  letter-spacing: .05em;
  padding: .75rem 2rem !important;
  transition: opacity .2s;
  box-shadow: 0 4px 18px rgba(107,63,160,.3);
}

.btn:hover,
.wp-block-button__link:hover,
.more-link:hover {
  opacity: .88;
  color: #fff !important;
}

/* ── 記事カード ── */
.card-wrap,
.post-card,
.article-card {
  border: 1px solid #F3F4F6;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  background: #fff;
}

.card-wrap:hover,
.post-card:hover {
  box-shadow: 0 8px 30px rgba(107,63,160,.1);
  transform: translateY(-2px);
}

/* ── サイドバー ── */
.sidebar, #sidebar { background: transparent; }

.widget,
.sidebar .widget {
  background: var(--mystic-light);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: none;
}

.widget-title,
.sidebar .widget-title {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--navy);
  font-size: .9375rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gold);
  margin-bottom: 1rem;
}

/* ── CTAボタン（border-radius:9999pxを持つリンクを狙い撃ち） ── */
.article a[style*="border-radius:9999px"],
.entry-content a[style*="border-radius:9999px"] {
  display: inline-block !important;
  text-align: center !important;
  text-indent: 0 !important;
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}
.article a[style*="border-radius:9999px"]::before,
.article a[style*="border-radius:9999px"]::after,
.entry-content a[style*="border-radius:9999px"]::before,
.entry-content a[style*="border-radius:9999px"]::after {
  content: none !important;
  display: none !important;
}

/* ── カテゴリラベル ── */
.cat-label,
.category-label,
.post-categories a {
  background: var(--mystic) !important;
  color: #fff !important;
  border-radius: 4px;
  font-size: .7rem;
  padding: .1rem .5rem;
  font-weight: 500;
}

/* ── パンくずリスト ── */
.breadcrumb, #breadcrumb {
  font-size: .75rem;
  color: var(--text-muted);
  background: var(--mystic-light);
  padding: .5rem 1rem;
}

/* ── フッター（dark navy） ── */
#footer, .footer {
  background: var(--navy) !important;
  color: rgba(255,255,255,.7) !important;
}

#footer a, .footer a {
  color: rgba(255,255,255,.65) !important;
}

#footer a:hover, .footer a:hover {
  color: var(--gold) !important;
}

.footer-copy, #copyright {
  color: rgba(255,255,255,.35) !important;
  font-size: .75rem;
}

/* ── ページネーション ── */
.pagination .current,
.page-numbers.current {
  background: var(--mystic) !important;
  color: #fff !important;
  border-radius: 6px;
}

.pagination a,
.page-numbers a {
  color: var(--mystic) !important;
  border-radius: 6px;
}

/* ── メタ情報 ── */
.post-date, .entry-meta, .article-meta {
  color: var(--text-muted);
  font-size: .8rem;
}

/* ── FAQ dl/dt/dd ── */
.entry-content dl { margin: 1.5rem 0; }

.entry-content dt {
  background: var(--mystic-light);
  border-left: 3px solid var(--mystic);
  padding: .6rem 1rem;
  font-weight: 600;
  font-size: .9375rem;
  margin-top: 1rem;
  border-radius: 0 6px 6px 0;
}

.entry-content dd {
  padding: .75rem 1rem .75rem 1.25rem;
  color: #374151;
  line-height: 1.8;
  font-size: .9rem;
  border-left: 1px solid #E5E7EB;
  margin-left: 0;
}

/* ── レスポンシブ ── */
@media screen and (max-width: 834px) {
  .article h2, .entry-content h2 { font-size: 1.05rem; }
  .entry-title, .article-title   { font-size: 1.1rem; }
}

@media screen and (max-width: 480px) {
  .article h2, .entry-content h2 { font-size: .95rem; }
}
