@charset "utf-8";
/* =========================================================================
   コラムの一覧（/column/・カテゴリー・タグ）子テーマ index.php（ステップ7-2・2026-11-23）
   ========================================================================= */

/* 見出しとリード文（/column/ の1ページ目だけ） */
.ddf-column-intro {
  max-width: var(--ddf-inner);
  margin: 0 auto;
  padding: 88px var(--ddf-gutter) 0;
  text-align: center;
}
.ddf-column-intro .ddf-h2 { margin-bottom: 28px; }
.ddf-column-intro__lead { max-width: 760px; margin: 0 auto !important; }

/* カテゴリーのボタン：すべて／AI集客／SNS集客／WEB集客。今いるものは濃いグレーの地＋白文字 */
.ddf-column-cats {
  max-width: var(--ddf-inner);
  margin: 0 auto;
  padding: 56px var(--ddf-gutter) 0;
}
.ddf-column-cats ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.ddf-column-cats a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  min-height: 44px;
  padding: 8px 22px;
  border: 1px solid var(--ddf-ink);
  border-radius: 999px;
  background: var(--ddf-white);
  color: var(--ddf-ink);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.ddf-column-cats a:hover { background: var(--ddf-main-pale); }
.ddf-column-cats a.is-current,
.ddf-column-cats a.is-current:hover {
  background: var(--ddf-ink);
  color: var(--ddf-white);
  pointer-events: none;
}

/* 記事カード：TCDの一覧の上の余白を詰める。カテゴリーのラベルを新HPの濃いグレーに */
body.ddf-has-page-header #archive_blog { padding: 56px 0 72px; }
#archive_blog .category_button { background: #4a4a4a; }
#archive_blog .category_button:hover { background: #6b6b6b; }
#archive_blog .blog_list .title { font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", sans-serif; }


/* =========================================================================
   記事ページ（子テーマ single.php）（ステップ7-3）
   サイドバーなしの1列。本文の幅は最大840px（文字16pxで1行50字前後）
   ========================================================================= */
/* ヘッダーの高さ：TCDは記事ページだけ300pxにしているので、ほかの下層ページ（380px）にそろえる */
body.single-post #page_header.ddf-page-header { height: 380px; }
@media (max-width: 1100px) { body.single-post #page_header.ddf-page-header { height: 320px; } }
@media (max-width: 767px)  { body.single-post #page_header.ddf-page-header { height: 220px; } }

#main_content.ddf-single-1col {
  display: block;
  width: auto;
  max-width: 888px; /* 840px＋左右24px */
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.ddf-single-1col #main_col { width: auto; max-width: none; margin: 0; }

/* 記事タイトル：本文の上にゴシックで（枠線は外して、写真・カテゴリー・タイトルの順にすっきり並べる） */
.ddf-single-1col #single_post_header { margin-bottom: 40px; }
.ddf-single-1col #single_post_header .category_button_list a { background: #4a4a4a; }
.ddf-single-1col #single_post_header .category_button_list a:hover { background: #6b6b6b; }
.ddf-single-1col #single_post_header .title_area { border: 0; padding: 36px 0 28px; border-bottom: 1px solid #e3e8e9; }
.ddf-single-1col #single_post_header .title {
  font-family: "Noto Sans JP", "Yu Gothic", "游ゴシック", "Hiragino Sans", sans-serif;
  font-size: clamp(24px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .03em;
  color: #4a4a4a;
}
.ddf-single-1col #single_post_header.no_image .category_button_list { transform: none; }

/* -------------------------------------------------------------------------
   記事の本文（2026-11-23 Miharuさん指示）
   ほかの下層ページ（/about/ など）の本文と同じ：濃いグレー #4a4a4a・Noto Sans JP・16px・行間1.9
   本文はTCDクラシックエディター（.tcdce-body）で、見た目はCSS変数で決まるので、記事ページの中だけ変数を置き換える。
   見出しは記事なのでゴシックのまま（明朝は固定ページの見出しだけ。2026-11-22決定）
   黄色いマーカー（q_underline）と冒頭の「― … ―」（h5・斜体）の形はそのまま
   ------------------------------------------------------------------------- */
body.single-post .post_content .tcdce-body {
  --ddf-ink: #4a4a4a;
  --ddf-sub: #c8bca0;
  --ddf-sans: "Noto Sans JP", "Yu Gothic", "游ゴシック", "Hiragino Sans", sans-serif;
  --tcdce-base-font-color: var(--ddf-ink);
  --tcdce-base-font-family: var(--ddf-sans);
  --tcdce-base-font-size-pc: 16px;
  --tcdce-base-font-size-sp: 16px;
  --tcdce-base-line-height-pc: 1.9;
  --tcdce-base-line-height-sp: 1.9;
  --tcdce-ul-font-color: var(--ddf-ink);
  --tcdce-ol-font-color: var(--ddf-ink);
  /* 箇条書き・番号付きリストの上下の余白（TCDは40px）を段落と同じくらいに */
  --tcdce-ul-margin-top-pc: 1em;
  --tcdce-ul-margin-top-sp: 1em;
  --tcdce-ul-margin-bottom-pc: 1.2em;
  --tcdce-ul-margin-bottom-sp: 1.2em;
  --tcdce-ol-margin-top-pc: 1em;
  --tcdce-ol-margin-top-sp: 1em;
  --tcdce-ol-margin-bottom-pc: 1.2em;
  --tcdce-ol-margin-bottom-sp: 1.2em;
  color: var(--ddf-ink);
  letter-spacing: .03em;
}
/* 記事の下の「関連記事」の見出しも濃いグレーに（黒く太い見出しが残らないように） */
body.single-post #related_post .headline { color: #4a4a4a; font-family: "Noto Sans JP", "Yu Gothic", sans-serif; font-weight: 500; }
/* 段落の間：固定ページと同じ1文字分（TCDは行間＋余白で広く空いていた） */
body.single-post .tcdce-body p:has(+ *) { margin: 0 0 1em; }
body.single-post .tcdce-body > *:has(+ *) { --tcdce-base-margin-bottom-pc: 1em; --tcdce-base-margin-bottom-sp: 1em; }

/* 見出し（styled_h2）：濃いグレー・太さ控えめ（500）・下にサイト共通の短いゴールドの線 */
body.single-post .tcdce-body h2.styled_h2 {
  --tcdce-h2-font-family: var(--ddf-sans);
  --tcdce-h2-font-color: var(--ddf-ink);
  --tcdce-h2-font-weight: 500;
  --tcdce-h2-font-size-pc: 24px;
  --tcdce-h2-font-size-sp: 20px;
  --tcdce-h2-line-height: 1.6;
  --tcdce-h2-text-align: center;
  --tcdce-h2-background: none;
  --tcdce-h2-border-width: 0;
  --tcdce-h2-element-background: none;
  --tcdce-h2-padding-pc: 0;
  --tcdce-h2-padding-sp: 0;
  --tcdce-h2-margin-top-pc: 56px;
  --tcdce-h2-margin-top-sp: 44px;
  --tcdce-h2-margin-bottom-pc: 32px;
  --tcdce-h2-margin-bottom-sp: 24px;
  letter-spacing: .05em;
}
body.single-post .tcdce-body h2.styled_h2::before { display: none; }
body.single-post .tcdce-body h2.styled_h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: var(--ddf-sub);
  margin: 18px auto 0;
}
/* 見出しの中の <b>（元の原稿の太字）で太くならないように */
body.single-post .tcdce-body :is(h2, h3, h4) :is(b, strong) { font-weight: inherit; }

/* 小見出し（h3）：濃いグレー・h2より小さく控えめに */
body.single-post .tcdce-body h3 {
  --tcdce-h3-font-family: var(--ddf-sans);
  --tcdce-h3-font-color: var(--ddf-ink);
  --tcdce-h3-font-weight: 500;
  --tcdce-h3-font-size-pc: 19px;
  --tcdce-h3-font-size-sp: 17px;
  --tcdce-h3-line-height: 1.6;
}
/* h4・h5（冒頭の「― … ―」）も文字色と書体だけそろえる（斜体・大きさはそのまま） */
body.single-post .tcdce-body h4 { --tcdce-h4-font-family: var(--ddf-sans); --tcdce-h4-font-color: var(--ddf-ink); }
body.single-post .tcdce-body h5 { --tcdce-h5-font-family: var(--ddf-sans); --tcdce-h5-font-color: var(--ddf-ink); }
/* 小見出し（h4「① コラボ投稿」など・column16）のすぐ後の段落が改行（<br>）で始まっていて、1行分空くのを表示しない（原稿はそのまま） */
body.single-post .tcdce-body h4 + p > br:first-child { display: none; }

@media (max-width: 767px) {
  #main_content.ddf-single-1col { padding: 32px 16px 56px; }
  .ddf-single-1col #single_post_header { margin: 0 0 32px; }
  .ddf-single-1col #single_post_header .title_area { padding: 28px 0 20px; }
  .ddf-single-1col #single_post_header .title { font-size: 21px; }
}

@media (max-width: 767px) {
  .ddf-column-intro { padding-top: 56px; }
  .ddf-column-intro .ddf-h2 { margin-bottom: 20px; }
  .ddf-column-intro__lead { text-align: left; }
  .ddf-column-cats { padding-top: 36px; }
  .ddf-column-cats ul { gap: 8px; }
  .ddf-column-cats li { flex: 1 1 calc(50% - 4px); }
  .ddf-column-cats a { width: 100%; min-width: 0; font-size: 14px; padding: 8px 12px; }
  body.ddf-has-page-header #archive_blog { padding: 36px 0 40px; }
}
