/* =========================================================================
   天護 TENGO｜ブログ記事デザイン（ネイビー×ゴールド）
   - 投稿本文 .tg-article（プラグインが自動で本文をラップ）
   - 投稿タイトル/メタ・アーカイブ一覧（ブロックテーマ）も軽く装飾
   ========================================================================= */
.tg-article{
  --tg-navy:#0D1B3E; --tg-gold:#C9A84C;
  max-width:780px; margin:0 auto; color:#222838; font-size:17px; line-height:1.95;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Noto Sans JP",Meiryo,sans-serif;
  word-break:break-word;
}
.tg-article > *:first-child{ margin-top:0; }

/* 見出し */
.tg-article h2{
  font-size:1.5em; font-weight:800; color:var(--tg-navy);
  margin:2.2em 0 .8em; padding:.55em .9em; border-radius:8px;
  border-left:6px solid var(--tg-gold);
  background:linear-gradient(90deg,rgba(201,168,76,.12),rgba(201,168,76,0));
}
.tg-article h3{
  font-size:1.22em; font-weight:800; color:var(--tg-navy);
  margin:1.8em 0 .6em; padding-bottom:.35em; border-bottom:2px dotted #e3d9bd;
}
.tg-article h4{ font-size:1.05em; font-weight:800; color:var(--tg-navy); margin:1.4em 0 .5em; }

/* 段落・リンク・強調 */
.tg-article p{ margin:0 0 1.3em; }
.tg-article a{ color:var(--tg-navy); font-weight:700; text-decoration:underline; text-decoration-color:var(--tg-gold); text-underline-offset:3px; }
.tg-article a:hover{ color:#1a2f63; }
.tg-article strong{ color:var(--tg-navy); font-weight:800; }
.tg-article mark{ background:linear-gradient(transparent 60%,rgba(201,168,76,.45) 60%); padding:0 .1em; }

/* リスト */
.tg-article ul,.tg-article ol{ margin:0 0 1.5em; padding-left:1.4em; }
.tg-article li{ margin-bottom:.55em; }
.tg-article ul li::marker{ color:var(--tg-gold); }
.tg-article ol li::marker{ color:var(--tg-gold); font-weight:700; }

/* 引用 */
.tg-article blockquote{
  margin:1.8em 0; padding:1em 1.3em; background:#f6f7fb;
  border-left:5px solid var(--tg-gold); border-radius:0 12px 12px 0; color:#3a4156;
}
.tg-article blockquote p:last-child{ margin-bottom:0; }

/* 画像 */
.tg-article img{ max-width:100%; height:auto; border-radius:14px; box-shadow:0 12px 32px rgba(13,27,62,.14); margin:1.4em 0; display:block; }
.tg-article figure{ margin:1.6em 0; }
.tg-article figcaption{ text-align:center; color:#8a90a2; font-size:.85em; margin-top:.5em; }

/* 表 */
.tg-article table{
  width:100%; border-collapse:collapse; margin:1.6em 0; font-size:.95em;
  border-radius:12px; overflow:hidden; box-shadow:0 8px 24px rgba(13,27,62,.08);
}
.tg-article th,.tg-article td{ border:1px solid #e6e8ef; padding:13px 15px; text-align:left; vertical-align:top; }
.tg-article thead th,.tg-article tr:first-child th{ background:var(--tg-navy); color:#fff; border-color:var(--tg-navy); font-weight:700; }
.tg-article tbody tr:nth-child(even){ background:#f7f8fb; }

/* 区切り */
.tg-article hr{ border:0; height:1px; background:linear-gradient(90deg,transparent,#d9c98f,transparent); margin:2.4em 0; }

/* ===== 投稿タイトル・メタ（ブロックテーマ Twenty Twenty-Five 等） ===== */
.single-post .wp-block-post-title,.single-post .entry-title{
  max-width:780px; margin-left:auto; margin-right:auto; color:#0D1B3E; font-weight:900; line-height:1.45;
}
.single-post .wp-block-post-date,.single-post .wp-block-post-terms{
  max-width:780px; margin-left:auto; margin-right:auto; color:#8a90a2; font-size:.9em;
}
.single-post .wp-block-post-terms a,.single-post .wp-block-post-terms span{
  display:inline-block; background:#C9A84C; color:#0D1B3E; padding:2px 12px; border-radius:999px;
  font-weight:700; text-decoration:none; font-size:.82em; margin:0 4px 4px 0;
}

/* ===== 一覧の記事タイトル/カテゴリの色味だけ調整（レイアウトはテーマ標準に任せる） ===== */
.wp-block-query .wp-block-post-title a{ color:#0D1B3E; font-weight:800; text-decoration:none; }
.wp-block-query .wp-block-post-title a:hover{ text-decoration:underline; text-decoration-color:#C9A84C; }
.wp-block-query .wp-block-post-terms a{ color:#8a7320; font-weight:700; }

/* ===== テーマ既定フッター（ブログ系のみ）を隠し、ブランドフッターに差し替え ===== */
body.single-post footer.wp-block-template-part,
body.blog footer.wp-block-template-part,
body.archive footer.wp-block-template-part,
body.search footer.wp-block-template-part { display:none !important; }

.tg-blogfoot{ background:#0D1B3E; color:#fff; padding:34px 20px; margin-top:48px; }
.tg-blogfoot__in{ max-width:880px; margin:0 auto; display:flex; flex-wrap:wrap; align-items:center; gap:14px; }
.tg-blogfoot__brand{ color:#fff; font-weight:800; text-decoration:none; font-size:18px; }
.tg-blogfoot__brand span{ color:#C9A84C; letter-spacing:.12em; font-size:.78em; margin-left:4px; }
.tg-blogfoot__nav{ display:flex; gap:18px; flex-wrap:wrap; margin-left:auto; }
.tg-blogfoot__nav a{ color:#cdd6e6; text-decoration:none; font-size:14px; }
.tg-blogfoot__nav a:hover{ color:#C9A84C; }
.tg-blogfoot__copy{ width:100%; color:rgba(255,255,255,.5); font-size:12px; margin:10px 0 0; }
