/* ================================================
   たらこママ カスタムデザイン v2
   igokotii.com風 クリーン × ラグジュアリー
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Noto+Serif+JP:wght@400;600&display=swap');

:root {
  --gold:        #B8924A;
  --gold-light:  #E5D0A8;
  --gold-pale:   #F7F0E3;
  --rose:        #C4856A;
  --rose-light:  #F5EAE5;
  --bg:          #FFFFFF;
  --bg-sub:      #FAFAF8;
  --text:        #2E2E2E;
  --text-sub:    #777777;
  --border:      #EBEBEB;
  --border-warm: #EDE5DA;
}

/* ===== ベース ===== */
body {
  background-color: var(--bg) !important;
  color: var(--text);
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

/* ===== ヘッダー ===== */
#header {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--border) !important;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05) !important;
}
.site-name-text {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif !important;
  letter-spacing: 0.15em !important;
  color: var(--text) !important;
  font-weight: 600 !important;
}
.header-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== ナビゲーション ===== */
#navi .navi-in > ul > li > a,
.navi-menu-content li a {
  font-size: 0.82em !important;
  letter-spacing: 0.1em !important;
  color: var(--text) !important;
  font-family: 'Noto Sans JP', sans-serif !important;
  padding: 0 14px !important;
}
#navi .navi-in > ul > li > a:hover {
  color: var(--gold) !important;
}

/* ===== メインコンテンツ ===== */
#main {
  background: var(--bg);
}

/* ===== 記事カード（一覧ページ）===== */
.card-wrap,
.a-wrap {
  background: #FFFFFF !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  overflow: hidden !important;
}
.card-wrap:hover,
.a-wrap:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
}
.card-content,
.a-content {
  padding: 14px 16px !important;
}
.card-title,
.a-title {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif !important;
  font-size: 0.9em !important;
  line-height: 1.65 !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em !important;
}

/* カテゴリバッジ */
.card-cat-label,
.cat-label,
.a-cat-label {
  background: var(--gold) !important;
  color: #fff !important;
  font-size: 0.7em !important;
  padding: 2px 8px !important;
  border-radius: 2px !important;
  letter-spacing: 0.08em !important;
}

/* ===== 記事本文エリア ===== */
.entry-content,
.article-body {
  font-size: 0.97em;
  line-height: 2.0;
}

/* ===== H2 見出し（igokotii.com風：左のライン＋シンプル）===== */
.entry-content h2,
.article h2 {
  position: relative;
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text);
  padding: 14px 18px 14px 22px;
  margin: 48px 0 22px;
  background: var(--bg-sub);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
  letter-spacing: 0.06em;
  line-height: 1.65;
}
.entry-content h2::after,
.article h2::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold-light), transparent);
}

/* ===== H3 見出し ===== */
.entry-content h3,
.article h3 {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  font-size: 1.05em;
  font-weight: 600;
  color: #3A3A3A;
  padding: 8px 0 10px 16px;
  margin: 32px 0 16px;
  border-left: 2px solid var(--rose);
  letter-spacing: 0.05em;
  line-height: 1.65;
}

/* ===== H4 見出し ===== */
.entry-content h4,
.article h4 {
  font-size: 0.97em;
  font-weight: 700;
  color: var(--gold);
  padding: 0 0 6px;
  margin: 22px 0 10px;
  border-bottom: 1px dotted var(--gold-light);
  letter-spacing: 0.06em;
}

/* ===== リンク ===== */
.entry-content a,
.article a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-light);
  transition: all 0.2s ease;
}
.entry-content a:hover,
.article a:hover {
  color: var(--rose);
  border-bottom-color: var(--rose);
}

/* ===== アフィリエイトボタン ===== */
.entry-content a[rel*="nofollow"],
.article a[rel*="nofollow"],
.entry-content a.affiliate-btn,
.article a.affiliate-btn {
  display: inline-block;
  background: var(--gold);
  color: #FFFFFF !important;
  border: none !important;
  padding: 12px 30px;
  border-radius: 30px;
  font-size: 0.86em;
  letter-spacing: 0.12em;
  text-decoration: none !important;
  box-shadow: 0 3px 12px rgba(184,146,74,0.35);
  transition: all 0.25s ease;
  margin: 8px 4px;
  font-family: 'Noto Sans JP', sans-serif;
}
.entry-content a[rel*="nofollow"]:hover,
.article a[rel*="nofollow"]:hover,
.entry-content a.affiliate-btn:hover,
.article a.affiliate-btn:hover {
  background: var(--rose);
  box-shadow: 0 5px 16px rgba(196,133,106,0.4);
  transform: translateY(-2px);
}

/* ===== 太字 ===== */
.entry-content strong,
.entry-content b,
.article strong,
.article b {
  background: linear-gradient(transparent 60%, #FDEEE0 60%);
  font-weight: 700;
  color: #2E2E2E;
}

/* ===== テーブル ===== */
.entry-content table,
.article table {
  border-collapse: collapse;
  width: 100%;
  margin: 24px 0;
  font-size: 0.88em;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.entry-content table th,
.article table th {
  background: var(--gold);
  color: #FFFFFF;
  padding: 11px 16px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
}
.entry-content table td,
.article table td {
  border: 1px solid #F2EBE0;
  padding: 10px 16px;
  background: #FFFFFF;
  line-height: 1.7;
}
.entry-content table tr:nth-child(even) td,
.article table tr:nth-child(even) td {
  background: var(--gold-pale);
}

/* ===== リスト ===== */
.entry-content ul li,
.article ul li {
  list-style: none;
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.55em;
  line-height: 1.8;
}
.entry-content ul li::before,
.article ul li::before {
  content: '◇';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 0.7em;
  top: 0.35em;
}
.entry-content ol li,
.article ol li {
  padding-left: 0.3em;
  margin-bottom: 0.55em;
}

/* ===== 引用 ===== */
.entry-content blockquote,
.article blockquote {
  background: var(--rose-light);
  border-left: 3px solid var(--rose);
  padding: 16px 22px;
  margin: 24px 0;
  font-style: normal;
  border-radius: 0 8px 8px 0;
  color: var(--text);
  font-size: 0.94em;
}

/* ===== 記事タイトル ===== */
.entry-title,
.article-title {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif !important;
  letter-spacing: 0.05em;
  color: var(--text);
  font-size: 1.4em;
  line-height: 1.75;
  font-weight: 600;
}

/* ===== カテゴリタイトル（ページ上部）===== */
.cat-description,
.tag-description,
.archive-title {
  font-family: 'Noto Serif JP', serif;
  color: var(--text);
  font-size: 1.1em;
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 10px;
}

/* ===== サイドバー ===== */
#sidebar {
  background: var(--bg);
}
.widget_title,
.widgettitle,
.widget-title {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', serif !important;
  font-size: 0.85em !important;
  letter-spacing: 0.15em !important;
  color: var(--text) !important;
  font-weight: 600 !important;
  padding: 10px 0 8px !important;
  border: none !important;
  border-bottom: 2px solid var(--gold) !important;
  background: transparent !important;
}

/* ===== フッター ===== */
#footer {
  background: #1E1E1E !important;
  color: #CCCCCC !important;
  border-top: 2px solid var(--gold) !important;
  font-size: 0.82em;
  letter-spacing: 0.08em;
}
#footer a {
  color: var(--gold-light) !important;
}
#footer a:hover {
  color: var(--gold) !important;
}

/* ===== パンくず ===== */
.breadcrumb {
  font-size: 0.78em !important;
  color: var(--text-sub) !important;
  letter-spacing: 0.05em;
}

/* ===== 記事メタ情報（日付・カテゴリ）===== */
.post-date,
.entry-date,
.updated {
  font-size: 0.78em;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

/* ===== TOC（目次）===== */
.toc-wrap,
#toc_container {
  background: var(--gold-pale) !important;
  border: 1px solid var(--gold-light) !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
}

/* ===== シェアボタン ===== */
.sns-share-buttons a {
  border-radius: 4px !important;
}

/* ===== スマホ対応 ===== */
@media (max-width: 768px) {
  body { font-size: 14px; }
  .entry-content h2, .article h2 {
    font-size: 1.05em;
    padding: 12px 14px 12px 18px;
    margin: 36px 0 18px;
  }
  .entry-content h3, .article h3 {
    font-size: 0.98em;
  }
  .entry-content a[rel*="nofollow"],
  .article a[rel*="nofollow"],
  .entry-content a.affiliate-btn,
  .article a.affiliate-btn {
    display: block;
    text-align: center;
    padding: 13px 20px;
  }
}
