/* InTech News Custom Styles */

/* フォント設定 */
:root {
  --font-family-sans: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

body {
  font-family: var(--font-family-sans);
}

/* ヘッダーロゴ: ライト/ダークモード切替 */
.nav .logo .logo-dark {
  display: none !important;
}
.nav .logo .logo-light {
  display: inline !important;
}
[data-theme="dark"] .nav .logo .logo-light {
  display: none !important;
}
[data-theme="dark"] .nav .logo .logo-dark {
  display: inline !important;
}

/* メニュー文字サイズ */
#menu li a {
  font-size: 13px;
}

/* 記事カードの余白調整 */
.post-entry {
  margin-bottom: 1.2rem;
}

/* カテゴリ・タグのスタイル */
.post-tags a {
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 0.85rem;
}

/* 記事タイトル: 明朝体（個別ページ + 一覧） */
.post-title,
.entry-header h2 {
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
}

/* 日本語見出しの行間 */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.5;
}

/* 記事本文の行間 */
.post-content p {
  line-height: 1.9;
  margin-bottom: 1.2em;
}

/* コードブロック */
.post-content pre {
  border-radius: 8px;
}

/* 目次スタイル */
.toc {
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

/* ダークモード調整 */
.dark .post-entry {
  border-color: var(--border);
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
  .post-content p {
    line-height: 1.8;
  }
}
