@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

/* コラム記事（single.php） */
#main .tg-page-hero-column > p:first-child { font-family: "Montserrat", sans-serif; }

.single-post .article { max-width: 1184px; margin: 0 auto; padding-top: 94px; }
.single-post .article-header { display: flex; flex-direction: column; margin: 0; }
.single-post .date-tags { order: 1; margin: 0; font-size: 14px; line-height: 1; letter-spacing: .05em; color: #000; text-align: left; }
.single-post .date-tags .fa, .single-post .date-tags .post-date:has(~ .post-update) { display: none; }
.single-post .article-header .entry-title { order: 2; margin: 36px 0 0; padding: 0; font-size: 36px; font-weight: 500; line-height: 1.6; letter-spacing: .05em; color: #000; }
.tg-share { order: 3; display: flex; gap: 24px; margin-top: 36px; }
.tg-share a { display: block; width: 24px; height: 24px; }
.tg-share svg { display: block; width: 100%; height: 100%; }
.single-post .eye-catch-wrap { order: 4; margin: 36px 0 0; }
.single-post .eye-catch { display: block; width: 100%; margin: 0; }
.single-post .eye-catch img { width: 100%; height: auto; }
.single-post .eye-catch .cat-label { display: none; }
.single-post .entry-content { margin-top: 36px; }

/* 本文 */
.single-post .entry-content > p { margin: 0 0 14px; font-size: 20px; line-height: 1.6; color: #333; }
.single-post .entry-content > p { font-family: "Noto Sans JP", sans-serif; font-weight: 500; }
.single-post .article .entry-content h2 { margin: 0 0 24px; padding: 0; border: none; background: none; font-size: 24px; font-weight: 700; line-height: 1.6; color: #fd8061; }
.single-post .article .entry-content h3 { margin: 0 0 24px; padding: 0; border: none; background: none; font-size: 20px; font-weight: 700; line-height: 1.6; color: #cc6600; }

/* 目次 */
.single-post .toc { display: block; width: 100%; margin: 0 0 24px; padding: 0; border: none; background: none; font-size: 16px; }
.single-post .toc-title { display: block; margin: 0 0 24px; padding: 0; font-size: 24px; font-weight: 700; line-height: 1.6; color: #fd8061; text-align: left; }
.single-post .toc-checkbox + .toc-title::after, .single-post .toc-checkbox:checked + .toc-title::after { content: none; }
.single-post .toc-content { padding: 24px 24px 8px; background: #f5f5f5; border-radius: 2px; }
.single-post .toc-list, .single-post .toc-list ol { margin: 0; padding-left: 32px; list-style: none; }
.single-post .toc-list li { margin: 0 0 16px; list-style: none; }
.single-post .toc-list li::before { content: none; }
.single-post .toc-list ol { margin-top: 16px; }
.single-post .toc-list a { font-size: 16px; font-weight: 500; line-height: 1.2; color: #616161; text-decoration: none; }

/* 吹き出し: アイコンを小さく、吹き出しは余白・行間を広げて淡い色に */
.article .speech-wrap { margin-bottom: 32px; }
.article .speech-person { width: 72px; min-width: 0; flex-shrink: 0; }
.article .speech-icon-image { border: 1px solid #e5e5e5; }
.article .speech-name { margin-top: 6px; font-size: 12px; line-height: 1.4; color: #666; }
.article .speech-balloon { max-width: 640px; padding: 16px 22px; border-radius: 12px; font-size: 16px; line-height: 1.8; letter-spacing: .03em; }
.article .speech-balloon p { font-size: inherit; line-height: inherit; }
.article .sbs-togetsu.sbp-l:not(.not-nested-style) { --cocoon-custom-background-color: #f0f2f3; --cocoon-custom-border-color: #f0f2f3; }
.article .sbs-togetsu.sbp-r:not(.not-nested-style) { --cocoon-custom-background-color: #e6f0f5; --cocoon-custom-border-color: #e6f0f5; }

/* 本文最後のバナーは上をあける、記事下の著者名は出さない */
.single-post .entry-content > .wp-block-image:is(:last-child, :has(+ p:last-child)) { margin-top: 56px; }
.single-post .author-info { display: none; }

/* おすすめ記事（tmp/related-entries.php） */
.tg-recommend { margin: 108px 0 0; padding: 0 0 76px; text-align: center; }
.article .tg-recommend .tg-recommend-heading, .tg-recommend .tg-recommend-heading { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0; padding: 0; border: none; background: none; font-family: "Noto Sans JP", sans-serif; font-size: 36px; font-weight: 700; line-height: 1.4; color: #333; }
.tg-recommend-icon { width: 28px; height: 28px; fill: #ff3535; }
.tg-recommend .tg-recommend-sub { margin: 10px 0 0; font-family: "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 500; line-height: 1.4; color: #333; }
.tg-recommend-list { display: flex; justify-content: center; gap: 20px; margin-top: 48px; text-align: left; }
/* カード: コラム一覧と同じ白カード＋影、画像のない記事はベージュ地にロゴ */
.tg-recommend-card { width: 330px; padding: 20px; background: #fff; border-radius: 10px; box-shadow: 0 2px 20px rgba(0,0,0,.1); text-decoration: none; color: #333; transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s cubic-bezier(.22, 1, .36, 1); }
.tg-recommend-card:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(0,0,0,.14); color: #333; }
.tg-recommend-thumb { aspect-ratio: 1158 / 540; overflow: hidden; border-radius: 8px; background: #f3f1ee; }
.tg-recommend-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.tg-recommend-card:hover .tg-recommend-thumb img { transform: scale(1.05); }
.tg-recommend-thumb.is-empty { display: flex; align-items: center; justify-content: center; }
.tg-recommend-thumb.is-empty::before { content: ""; width: 44px; height: 44px; background: url(/wp-content/uploads/2026/09/togetsu_logo.webp) center / contain no-repeat; opacity: .3; }
.tg-recommend .tg-recommend-date { margin: 20px 0 0; font-family: "Montserrat", sans-serif; font-size: 14px; line-height: 1; color: #666; }
.tg-recommend .tg-recommend-title { margin: 10px 0 0; font-family: "Montserrat", "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 600; line-height: 1.6; color: #333; }
.tg-recommend-more { display: inline-flex; align-items: center; justify-content: center; width: 192px; height: 56px; margin-top: 71px; border: 2px solid #3f3f3f; border-radius: 12px; font-family: "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 500; color: #333; text-decoration: none; }
.tg-recommend-more:hover { opacity: .7; color: #333; }

@media screen and (max-width: 834px) {
  .tg-recommend-list { flex-direction: column; align-items: center; gap: 30px; }
  .tg-recommend-card { display: flex; align-items: center; gap: 20px; width: min(100%, 619px); }
  .tg-recommend-thumb { flex: 0 0 40%; }
  .tg-recommend .tg-recommend-date { margin-top: 0; }
}

@media screen and (max-width: 480px) {
  .single-post .article { padding-top: 48px; }
  .single-post .date-tags { font-size: 12px; }
  .single-post .article-header .entry-title { margin-top: 24px; font-size: 20px; }
  .single-post .entry-content > p { font-size: 14px; }
  .single-post .article .entry-content h2, .single-post .toc-title { font-size: 18px; }
  .article .speech-person { width: 48px; }
  .article .speech-name { font-size: 11px; }
  .article .speech-wrap .speech-balloon { padding: 12px 16px; font-size: 15px; }
  .tg-recommend { margin-top: 80px; padding-bottom: 60px; }
  .article .tg-recommend .tg-recommend-heading, .tg-recommend .tg-recommend-heading { font-size: 28px; }
  .tg-recommend-list { padding: 0 6px; }
  .tg-recommend-card { gap: 14px; width: 100%; padding: 14px; }
  .tg-recommend-thumb { flex-basis: 112px; }
  .tg-recommend .tg-recommend-date { font-size: 12px; }
  .tg-recommend .tg-recommend-title { margin-top: 6px; font-family: "Noto Sans JP", sans-serif; font-size: 14px; font-weight: 500; line-height: 1.5; }
  .tg-recommend-more { width: 196px; height: 54px; margin-top: 48px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .tg-recommend-card, .tg-recommend-thumb img { transition: none; }
}
