@charset "UTF-8";
/*
 Theme Name: SANGO Child solocamp
 Template: sango-theme
 Version: 1.12
 Description: ソロプレナーキャンパス（solopreneur-campus.jp）用の SANGO 子テーマ。記事まわりの CSS はスレッドワークの子テーマ（sango-theme-child-threadwork）の記事用の節をそのまま写し、色だけ講座 LP の配色ルール v1（主色 #2563EB・文字 #142036・薄い青 #EFF6FF・灰 #F7F8FA・グラデなし）に差し替えた（2026-11-15）。
*/
:root {
  --sc-main: #2563EB;   /* 主色（LP） */
  --sc-dark: #1D4ED8;   /* 濃い青＝文字だけ */
  --sc-line: #6EC6E1;   /* 水色＝線だけ */
  --sc-tint: #EFF6FF;   /* 薄い青＝面 */
  --sc-ink: #142036;    /* 本文 */
  --sc-sub: #5A6B7D;    /* 補足 */
}
body { font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; color: var(--sc-ink); }

/* ============================
   記事内 h2: 横グラデの下線＋左に薄い面（ファクログh2踏襲）
   ============================ */
body.single .entry-content h2 {
  padding: 10px;
  padding-right: 0;
  border: 10px solid;
  border-image-slice: 1;
  border-width: 4px;
  border-image-source: linear-gradient(to right, var(--sc-main), var(--sc-main));
  border-right: 0;
  border-left: 0;
  border-top: 0;
  background: transparent;
  color: var(--sc-ink);
}

/* ============================
   記事内 h3: 縦グラデの左ボーダー（ファクログh3踏襲）
   ============================ */
body.single .entry-content h3 {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 4px;
  border-image-source: linear-gradient(to bottom, var(--sc-main), var(--sc-main));
  border-right: 0;
  border-top: 0;
  border-bottom: 0;
  padding: 6px 0 6px 12px;
  background: transparent;
  color: var(--sc-ink);
}

/* h4は控えめに単色 */
body.single .entry-content h4 {
  border-bottom: 2px solid var(--sc-main);
  color: var(--sc-ink);
}

/* ============================
   目次（SANGO目次 / Easy Table of Contents 両対応）:
   グラデ枠線ボックス（ファクログ踏襲）
   ============================ */
#toc_container,
#ez-toc-container,
.sng-toc {
  border: 10px solid;
  border-image-slice: 1;
  border-width: 5px;
  border-image-source: linear-gradient(to right, var(--sc-main), var(--sc-main));
  background: #fff;
  padding: 1em 1.2em;
}
#toc_container a,
#ez-toc-container a,
.sng-toc a {
  color: var(--sc-ink);
}

/* モバイル追従の目次ボタン */
.sgb-toc-button {
  background-color: var(--sc-main);
}

/* ============================
   テーブル: 水平スクロール＋フォントやや小さめ（リスログ運用の踏襲）
   ============================ */
.entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.85em;
  border-collapse: collapse;
}
.entry-content table th,
.entry-content table td {
  padding: 8px 10px;
}


}
.entry-content table th {
  white-space: nowrap;
  background: #EFF6FF; /* メインのTINT */
  color: var(--sc-ink);
}

/* ============================
   リンク・小物のアクセント
   ============================ */
body.single .entry-content a {
  color: var(--sc-main);
}
.entry-content .btn-wrap a,
.entry-content .cta-button {
  background: linear-gradient(to right, var(--sc-main), var(--sc-main));
  color: #fff;
}

/* マーカー（黄色アクセントはポイント使いのみ） */
.entry-content .marker,
.entry-content mark {
  background: linear-gradient(transparent 60%, rgba(233, 246, 250, 1) 60%);
}


/* フロント(Coming Soon)ページ: タイトル・シェア・記事フッター・サイドバーを隠して1カラム化 */
.home .article-header,
.home .article-footer,
.home #sidebar1,
.home .sns-btn {
  display: none;
}
.home #main {
  float: none;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}


/* === SHAREボタンをサイト全体で非表示（2026-07-25 大野さん指示） === */
.sns-btn { display: none !important; }

/*
 * 🔴 SHARE を隠したことで【空になった殻】も消す（W-316・2026-09-01）
 *
 * 🙋 大野さん 2026-09-01 15:25「「あの件どうなった？」の下の余白を詰めて」
 * 🔬 実測＝footer.entry-footer は 高さ0・可視の子0・margin-top 32px
 *   ＝ 中身（.sns-btn）は上の行がサイト全体で消しているので、
 *     残っているのは【32px の余白だけ】。最後のセクションと共通フッターの間に
 *     ちょうど 32px の白い帯として出ていた。
 * 🔴 大野さんの指摘は「2ページとも」だったが、実測では【10面すべてに在る】
 *   （トップ / faq / pricing / features 3枚 / guide 2枚 / company / support）。
 *   ＝ 面ごとの例外を作らず、原因（空の殻）を1か所で消す。
 * 🔬 先例＝.tw-corp-chrome .entry-footer は既に同じ理由で隠してある（下の「隠す側①」）。
 *   そちらは残してよい（コーポレート面の判定に閉じているため）。
 */
.entry-footer { display: none !important; }


/* === マガジン(/media/): 右サイドバー付き2カラム（2026-07-26 大野さん指示・faclog参考） === */
body.blog #inner-content.wrap,
body.single #inner-content.wrap,
body.search #inner-content.wrap {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 20px 56px;
  box-sizing: border-box;
}
body.archive #inner-content.wrap {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 20px 56px;
  box-sizing: border-box;
}
body.blog #main, body.archive #main, body.single #main, body.search #main { flex: 1 1 0; min-width: 0; width: auto; }
/* ヘッダー〜記事の上部余白を詰める（ファクログ相当） */
body.blog #content, body.single #content, body.archive #content, body.search #content { margin-top: 12px; }
body.single #main { background: #fff; border-radius: 10px; padding: 32px 36px 40px; }
#sidebar1.sidebar { width: 300px; flex: 0 0 300px; position: sticky; top: calc(96px + var(--wp-admin--admin-bar--height, 0px)); margin: 0; float: none; }
#sidebar1 .insidesp, #sidebar1 aside { display: flex; flex-direction: column; gap: 20px; width: auto; }
#sidebar1 .widget, #sidebar1 .widget_block, #sidebar1 .insidesp > div, #sidebar1 .insidesp > section { background: #fff; border-radius: 10px; padding: 18px; margin: 0; }
#sidebar1 h3 { font-size: 1rem; font-weight: 700; margin: 0 0 12px; padding: 0 0 0 10px; border-left: 4px solid; border-image: linear-gradient(to bottom, var(--sc-main), var(--sc-main)) 1; background: none; }
.tw-side-banner a { display: block; }
.tw-side-banner img { width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 6px 20px rgba(37, 99, 235, 0.15); }
#sidebar1 ul { list-style: none; padding: 0; margin: 0; border: none; background: none; }
#sidebar1 li { border-bottom: 1px dashed #E3E8F0; padding: 8px 0; font-size: 0.9rem; line-height: 1.6; }
#sidebar1 li:last-child { border-bottom: none; }
#sidebar1 a { color: #142036; text-decoration: none; }
#sidebar1 a:hover { color: var(--sc-main); }
/* 検索ボタン: SANGOの::beforeアイコンを消して二重解消・グラデ背景 */
#sidebar1 .wp-block-search__button { background: linear-gradient(110deg, var(--sc-main), var(--sc-main)); border: none; color: #fff; }
#sidebar1 .wp-block-search__button::before,
#sidebar1 .wp-block-search__button::after { content: none !important; display: none !important; }
#sidebar1 .wp-block-search__button svg { fill: #fff; }
/* 固定ページ（Coming Soon/メディア/お問い合わせ）のアイキャッチ画像は表示しない（og:image用のみ） */
body.blog .post-thumbnail { display: none !important; }
@media (max-width: 900px) {
  body.blog #inner-content.wrap, body.single #inner-content.wrap, body.search #inner-content.wrap { display: block; }
  body.single #main { padding: 24px 18px 32px; }
  #sidebar1.sidebar { width: 100%; position: static; margin-top: 32px; }
}

/* マガジンの背景色: 薄いグレー寄り紫 */
body.blog, body.single, body.archive { background: #F7F8FA; }

/* SHAREフローティングボタン・記事下CATEGORY行を非表示 */
#fab, .fab-btn, .fab__close-cover, #fab__contents { display: none !important; }
body.single .footer-meta { display: none !important; }
body.blog .catpost-cards--column-2,
body.archive .catpost-cards--column-2,
  body.search .catpost-cards--column-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 600px) {
  body.blog .catpost-cards--column-2,
  body.archive .catpost-cards--column-2,
  body.search .catpost-cards--column-2 { grid-template-columns: 1fr; }
}

/* === 記事: 目次（SANGO/faclog式 toc_container・ブランド色） === */
.toc_container { background: #F9F9F9; border: none; border-radius: 6px; padding: 20px 25px; margin: 2em 0; width: 100%; }
.toc_container .toc_title { font-size: 1.2rem; font-weight: 700; color: #2563EB; /* グラデ中間色 */ margin: 0; background: none; }
.toc_container .toc_title::before { content: "\f0ca"; font-family: "Font Awesome 5 Free"; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--sc-main), var(--sc-main)); color: #fff; font-size: 16px; margin-right: 12px; vertical-align: middle; }
.toc_container .toc_title { display: flex; align-items: center; }
.toc_container .toc_toggle { display: inline-block; margin-left: 12px; padding: 2px 14px; border-radius: 999px; background: #C7CBD3; color: #fff; font-size: 0.78rem; font-weight: 700; cursor: pointer; vertical-align: middle; }
.toc_container .toc_list { margin: 12px 0 0; padding-left: 1.4em; border: none; background: none; }
.toc_container .toc_list li { margin: 7px 0; font-size: 0.95rem; }
.toc_container .toc_list li::marker { color: #333; }
.toc_container .menu_level_1 { margin: 4px 0; padding-left: 1.3em; font-size: 0.92em; border: none; background: none; }
.toc_container .toc_list a { color: #555; text-decoration: none; }
.toc_container .toc_list a:hover { color: var(--sc-main); text-decoration: underline; }
.toc_container .toc_list.toc_list-close { display: none; }
/* SANGO側の #toc_container ボーダー・背景を上書き（外枠なし・faclog参考） */
#toc_container, div#toc_container.toc_container { border: none !important; border-top: 4px solid !important; border-image: linear-gradient(to right, var(--sc-main), var(--sc-main)) 1 !important; background: #F9F9F9 !important; box-shadow: 0 2px 12px rgba(15, 23, 42, 0.07) !important; border-radius: 0 0 6px 6px; }

/* （旧 .tw-toc スタイル: マークアップ変更により未使用） */
.tw-toc { border: 2px solid #E3E8F0; border-radius: 8px; background: #fff; padding: 18px 22px; margin: 2em 0; }
.tw-toc__head { display: flex; align-items: center; }
.tw-toc__title { font-weight: 700; font-size: 1.05rem; color: #142036; }
.tw-toc__toggle { margin-left: auto; background: none; border: none; color: #2563EB; font-size: 0.82rem; cursor: pointer; padding: 2px 4px; }
.tw-toc .tw-toc__list { margin: 12px 0 0; padding: 0 0 0 1.5em; border: none; background: none; }
.tw-toc .tw-toc__list ol { margin: 4px 0; padding-left: 1.3em; font-size: 0.92em; border: none; background: none; }
.tw-toc .tw-toc__list li { margin: 6px 0; }
.tw-toc .tw-toc__list a { color: #142036; text-decoration: none; }
.tw-toc .tw-toc__list a:hover { color: #2563EB; }
.tw-toc.is-closed .tw-toc__list { display: none; }

/* === 記事: 箇条書きの枠を削除（リスログマガジン参考） === */
.single .entry-content ul,
.single .entry-content ol {
  border: none;
  background: none;
  padding: 0 0 0 1.5em;
}
.single .entry-content ul ul,
.single .entry-content ul ol,
.single .entry-content ol ul,
.single .entry-content ol ol {
  border: none;
  background: none;
  margin: 0.4em 0;
}

/* === 記事: テーブル 全幅＋水平スクロール＋先頭列固定（リスログマガジン参考） === */
.tw-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5em 0; }
.tw-table-scroll table { display: table; table-layout: fixed; width: 100%; min-width: 600px; margin: 0; border-collapse: collapse; }
.tw-table-scroll tbody { display: table-row-group; }
.tw-table-scroll td, .tw-table-scroll th { overflow-wrap: break-word; }
.single .entry-content table { width: 100%; }
.single .entry-content th,
.single .entry-content td { border: 1px solid #E3E8F0; padding: 10px 12px; font-size: 13px; line-height: 1.7; }
.single .entry-content th,
.single .entry-content table:not(:has(thead)) tr:first-child td { background: #EFF6FF; font-weight: 700; }
.tw-table-scroll th:first-child,
.tw-table-scroll td:first-child {
  position: sticky;
  left: 0;
  background: #fff;
  z-index: 1;
}
.tw-table-scroll thead th:first-child { background: #EFF6FF; }
/* SP: 比較表の1列目を狭く＋フォント小さめ（横スクロールで見える範囲を広げる） */
@media (max-width: 600px) {
  .single .entry-content th, .single .entry-content td { font-size: 12px; padding: 8px 9px; line-height: 1.6; }
  .tw-table-scroll th:first-child, .tw-table-scroll td:first-child { width: 108px; max-width: 108px; }
}


/* === 記事の表: 共通の読みやすさ調整（2026-11-03 大野さん承認「先頭行は幅指定。共通cssである程度制御していい」）===
   効く範囲＝記事本文（投稿）の表だけ。ラッパー .tw-table-scroll は functions.php が投稿の本文にしか付けない
   ＝ LP・機能ページの表には当たらない。記事の HTML は変えない。
   形＝ 先頭列を固定（背景＋右の影）／入れ物は横スクロール／表は列数に応じた min-width で広げる／
        見出しは折り返してよい（SANGO の nowrap を打ち消す）／全列 左寄せ。PC もスマホも同じ形。 */
/* 🔴 border-collapse: separate ＋ 外枠を入れ物に持たせる＝ collapse のままだと、横スクロール時に固定した先頭列の左端から
   スクロールで隠れた列の文字が数px 透けて見えた（390px で実測）。 */
.single .entry-content .tw-table-scroll { overflow-x: auto; max-width: 100%; border-top: 1px solid #E3E8F0; border-left: 1px solid #E3E8F0; }
/* 🔴 min-width に !important が要る＝ 記事の body にも tw-lp-chrome が付いており、LP 用の
   `.tw-lp-chrome table:not([class]) { min-width:400px !important }`（767px 以下）が記事の表にも当たるため。 */
.single .entry-content .tw-table-scroll table { table-layout: fixed; border-collapse: separate; border-spacing: 0; width: 100%; min-width: 0 !important; }  /* 2〜3列は入れ物に収まる（スクロール不要）*/
.single .entry-content .tw-table-scroll table:has(th:nth-child(4)) { min-width: 560px !important; }
.single .entry-content .tw-table-scroll table:has(th:nth-child(5)) { min-width: 640px !important; }
.single .entry-content .tw-table-scroll table:has(th:nth-child(6)) { min-width: 720px !important; }
@media (min-width: 768px) {
  .single .entry-content .tw-table-scroll table:has(th:nth-child(5)),
  .single .entry-content .tw-table-scroll table:has(th:nth-child(6)) { min-width: 600px !important; }  /* PC は本文幅（約630px）に収まる形にする */
}
/* 5列以上は2列目（製品名の列）を少し広く＝ PC の本文幅でも「Malwarebytes」のような長い英字名が割れない */
.single .entry-content .tw-table-scroll table:has(th:nth-child(5)) th:nth-child(2) { width: 132px; }
.single .entry-content .tw-table-scroll th,
.single .entry-content .tw-table-scroll td {
  white-space: normal;
  text-align: left;
  vertical-align: top;
  word-break: normal;          /* 🔴 テーマが break-all を当てており、英字の製品名が「Dictionar/y」と割れていた */
  overflow-wrap: break-word;   /* 欄に収まらない語だけ割る（英字の製品名は欄に収まるので割れない） */
  line-break: strict;
  border-width: 0 1px 1px 0;
}
.single .entry-content .tw-table-scroll th:first-child,
.single .entry-content .tw-table-scroll td:first-child {
  width: 128px;
  background: #fff;
  box-shadow: 3px 0 4px -2px rgba(15, 23, 42, .16);
}
.single .entry-content .tw-table-scroll thead th:first-child { background: #EFF6FF; z-index: 2; }
.single .entry-content .tw-table-scroll thead th { vertical-align: middle; }
@media (max-width: 600px) {
  .single .entry-content .tw-table-scroll th:first-child,
  .single .entry-content .tw-table-scroll td:first-child { width: 120px; max-width: 120px; }
}



/* === パンくずを1行＋横スクロール（ボクシル風）・ホームアイコン非表示 === */
.breadcrumb { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.breadcrumb::-webkit-scrollbar { height: 0; }
.breadcrumb > ul, .breadcrumb > ol { display: flex; flex-wrap: nowrap; white-space: nowrap; width: max-content; min-width: 100%; margin: 0; padding: 0; }
.breadcrumb li { flex: none; white-space: nowrap; }
.breadcrumb li:first-child a::before { content: none !important; }



/* パンくずを「ヘッダーと記事の間」の帯に（黒フォント・上下余白） */
.breadcrumb.tw-bc-moved { max-width: 1160px; margin: 0 auto !important; padding: 12px 20px 14px !important; box-sizing: border-box; }
.breadcrumb.tw-bc-moved, .breadcrumb.tw-bc-moved a, .breadcrumb.tw-bc-moved span, .breadcrumb.tw-bc-moved li { color: #334155 !important; }
body.single #inner-content.wrap { padding-top: 4px; }

/* SP: 記事の白背景を横幅いっぱいに（角丸なし・左右余白なし）＋パンくず帯は端に余白 */
@media (max-width: 782px) {
  body.single #inner-content.wrap { padding-left: 0; padding-right: 0; }
  body.single #main { border-radius: 0; }
  .breadcrumb.tw-bc-moved { padding-left: 16px !important; padding-right: 16px !important; }
}

/* 検索ボタンのアイコンを中央配置 */
#sidebar1 .wp-block-search__button { display: flex; align-items: center; justify-content: center; padding: 0 14px; }
#sidebar1 .wp-block-search__button svg { display: block; margin: 0; }



/* === 記事末尾の関連記事（faclog参考 2026-07-26） === */
.tw-related { margin: 48px 0 8px; }
.tw-related-h { font-size: 1.3rem; font-weight: 900; color: #142036; border: none; background: none; padding: 0 0 0 12px; margin: 0 0 20px; border-left: 5px solid var(--sc-main); }
.tw-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 20px; }
.tw-rel-card { display: block; text-decoration: none; color: inherit; box-shadow: none; }
.tw-rel-thumb { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #EEF1F6; margin-bottom: 10px; }
.tw-rel-thumb .tw-rel-img, .tw-rel-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.tw-rel-card:hover .tw-rel-thumb img { transform: scale(1.05); }
.tw-rel-noimg { width: 100%; height: 100%; background: linear-gradient(135deg,#EEF2FF,#F8FAFC); }
.tw-rel-title { display: block; font-size: 14px; font-weight: 700; line-height: 1.6; color: #1E293B; }
.tw-rel-card:hover .tw-rel-title { color: #2563EB; }
@media (max-width: 768px) { .tw-related-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; } .tw-rel-title { font-size: 13px; } }


/* === SANGO標準の関連記事を非表示（自前 .tw-related と二重になるため 2026-07-26） === */
body.single .related-posts { display: none !important; }



/* === 記事の長い表を畳む（2026-11-03 大野さん承認「7行以上はスマホは折りたたみ」「PCでも長いなら畳んで良い」）===
   JS は functions.php の wp_footer（記事のみ）。スマホ(767px以下)は8行以上で先頭5行、PC は11行以上で先頭8行だけ見せる。
   🔴 隠すだけ（display:none）。DOM からは消さない＝ 検索エンジンには全行が読める。
   ボタンは .tw-table-scroll の【外】（直後）に置く＝ 横スクロールしても右へ流れない。 */
.single .entry-content .tw-table-scroll tr.tw-fold-hidden { display: none; }
.single .entry-content .tw-table-scroll { scroll-margin-top: 84px; }
.single .entry-content .tw-fold { display: flex; justify-content: center; margin: -0.5em 0 1.5em; }
.single .entry-content .tw-fold[hidden] { display: none; }
.single .entry-content .tw-fold__btn { appearance: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--sc-main); background: #fff; border: 1px solid #BFD3FB; border-radius: 999px; padding: 10px 24px; min-height: 44px; }
.single .entry-content .tw-fold__btn:hover { background: #EFF6FF; }
.single .entry-content .tw-fold__btn:focus-visible { outline: 2px solid var(--sc-main); outline-offset: 2px; }


/* ============================
   サイト共通フッター（LP の .ftr と同じ・2026-11-15）
   SANGO 標準のフッターは隠し、functions.php の footer-site.php を出す
   ============================ */
body:not(.page-template-page-blank-lp) #footer,
body:not(.page-template-page-blank-lp) footer.footer { display: none !important; }
.sc-ftr { background: #1E3A8A; color: #DBEAFE; padding: 56px 20px 28px; font-family: "Noto Sans JP", "Hiragino Sans", sans-serif; }
.sc-ftr__in { max-width: 1120px; margin: 0 auto; }
.sc-ftr .f-logo svg { height: 40px; width: auto; display: block; }
.sc-ftr .f-desc { margin-top: 14px; font-size: 13px; line-height: 1.8; color: #DBEAFE; }
.sc-ftr .f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 28px; margin-top: 32px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.2); }
.sc-ftr h4 { font: 700 13px/1.4 "Noto Sans JP", sans-serif; color: #fff; margin: 0 0 12px; border: 0; padding: 0; background: none; }
.sc-ftr ul { list-style: none; margin: 0; padding: 0; border: 0; background: none; }
.sc-ftr li { margin: 0; padding: 0; border: 0; }
.sc-ftr li + li { margin-top: 8px; }
.sc-ftr li a { color: #DBEAFE; text-decoration: none; font-size: 13px; }
.sc-ftr li a:hover { color: #fff; }
.sc-ftr .f-btns { display: flex; flex-direction: column; gap: 10px; }
.sc-ftr .f-btns a { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1.5px solid #DBEAFE; border-radius: 8px; color: #DBEAFE; background: transparent; text-decoration: none; font: 700 13.5px/1.4 "Noto Sans JP", sans-serif; padding: 8px 12px; text-align: center; }
.sc-ftr .f-btns a.p { background: #fff; border-color: #fff; color: #1E3A8A; }
.sc-ftr .f-btns a:not(.p):hover { background: rgba(255,255,255,.1); }
.sc-ftr .f-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.2); font-size: 12px; color: #BFD3FB; }
.sc-ftr .f-bottom a { color: #DBEAFE; text-decoration: underline; }
@media (max-width: 860px) { .sc-ftr .f-cols { grid-template-columns: 1fr 1fr; } .sc-ftr .f-cols .f-guide { grid-column: 1 / -1; } }
@media (max-width: 420px) { .sc-ftr .f-cols { gap: 24px 16px; } }

/* ============================
   サイトヘッダー：LP と同じ白地＋紺の文字（SANGO 標準の青帯をやめる・2026-11-15）
   ============================ */
.header, #header { background: #fff !important; border-bottom: 1px solid #E1E6ED; box-shadow: none; }
.header .header-logo__link, #logo a, #logo .header-logo__link { color: #142036 !important; font-weight: 700; letter-spacing: .02em; }
.header .header-logo__link::after { content: ""; }
.header nav a, .header .global-menu a, .header #global-nav a { color: #142036 !important; font-weight: 700; }
.header nav a:hover { color: #2563EB !important; }
.header .fa, .header .fas, .header-search__btn { color: #142036 !important; }

/* ============================
   固定ページ（規約・お問い合わせ・運営会社など）は1カラム（サイドバーなし）
   記事（single）と一覧（/media/）はサイドバーあり＝スレッドワークと同じ
   ============================ */
body.page:not(.page-template-page-blank-lp) #sidebar1 { display: none !important; }
body.page:not(.page-template-page-blank-lp) #main { float: none; width: 100%; max-width: 800px; margin: 0 auto; }
body.page:not(.page-template-page-blank-lp) #inner-content.wrap { max-width: 860px; margin: 0 auto; }

/* お問い合わせフォーム（CF7）：LP の主色のボタン */
.wpcf7 input[type="submit"] { background: #2563EB; color: #fff; border: 0; border-radius: 8px; padding: 14px 40px; font-weight: 700; font-size: 16px; cursor: pointer; }
.wpcf7 input[type="submit"]:disabled { background: #C7D2E3; cursor: not-allowed; }
.wpcf7 input[type="submit"]:not(:disabled):hover { background: #1D4ED8; }
.sc-cf-note { font-size: 14px; color: #5A6B7D; }

/* ============================
   ヘッダーのロゴ＝LP と同じ画像（丸のマーク＋ソロプレナーキャンパス）・2026-11-15
   SANGO 標準の文字ロゴを画像に置き換える（スレッドワークの子テーマと同じやり方）
   ============================ */
#logo { display: flex; align-items: center; }
#logo .header-logo__link {
  display: block; width: 216px; height: 32px;
  background: url('/wp-content/uploads/2026/11/solocamp-logo-header.png') left center / contain no-repeat;
  text-indent: -9999px; overflow: hidden; white-space: nowrap;
}
@media (max-width: 600px) { #logo .header-logo__link { width: 176px; height: 26px; } }

/* 固定ページ（運営会社・特商法など）の表は横幅いっぱい（記事の表の横スクロールは記事だけ） */
body.page:not(.page-template-page-blank-lp) .entry-content table { display: table; width: 100%; }
body.page:not(.page-template-page-blank-lp) .entry-content table th { width: 28%; white-space: normal; }

/* ============================
   記事（投稿）をスレッドワークの見た目にそろえる（2026-11-16・🙋 大野さん「箇条書きの CSS がスレッドワークと違う、比較表とかも整えておいてね」）
   ============================ */
/* ① 🔬 違いの原因＝ WP 7.1 は global-styles（--wp--custom--*）を出力する。スレッドワーク（WP 側で未出力）では
      SANGO 親の var(--wp--custom--*) が全部「未定義」＝効いていない。
      新サイトでは効いてしまい、記事の白箱に影（#entry）・本文の左右に 16px の余白（.entry-content・スマホで本文/箇条書きが狭い）が出ていた。
      → 記事の本文とサイドバーの中だけ、スレッドワークと同じ「未定義」に戻す（ヘッダー・フッター・LP・固定ページには当たらない）。 */
body.single #main, body.single #sidebar1 {
  --wp--custom--wrap--width: initial; --wp--custom--wrap--default-width: initial; --wp--custom--wrap--content-width: initial; --wp--custom--wrap--max-width: initial; --wp--custom--wrap--side: initial; --wp--custom--wrap--gap: initial; --wp--custom--wrap--mobile--padding: initial;
  --wp--custom--shadow--large: initial; --wp--custom--shadow--large-hover: initial; --wp--custom--shadow--medium: initial; --wp--custom--shadow--medium-hover: initial; --wp--custom--shadow--solid: initial; --wp--custom--shadow--solid-hover: initial; --wp--custom--shadow--small: initial;
  --wp--custom--rounded--medium: initial; --wp--custom--rounded--small: initial;
  --wp--custom--widget--padding-horizontal: initial; --wp--custom--widget--padding-vertical: initial; --wp--custom--widget--icon-margin: initial; --wp--custom--widget--gap: initial;
  --wp--custom--entry--gap: initial; --wp--custom--entry--gap-mobile: initial; --wp--custom--entry--border-color: initial;
  --wp--custom--animation--fade-in: initial; --wp--custom--animation--header: initial; --wp--custom--transition--default: initial;
  --wp--custom--totop--opacity: initial; --wp--custom--totop--right: initial; --wp--custom--totop--bottom: initial; --wp--custom--totop--mobile--right: initial; --wp--custom--totop--mobile--bottom: initial;
  --wp--custom--toc--button--opacity: initial; --wp--custom--footer--column-gap: initial;
}
/* ② SANGO の主色（カスタマイザー未設定＝ #009EF3）を、記事まわりだけ LP の青にする。
      :root で解決済みの --wp--preset--color--sango-main も一緒に上書きする（片方だけだと効かない） */
body.single, body.blog, body.archive, body.search { --sgb-main-color: #2563EB; --wp--preset--color--sango-main: #2563EB; }
/* 記事内のボタン（wp:button）＝ ①で角丸の変数が消えるので、LP と同じ角丸と色を直接持たせる */
body.single .entry-content .wp-block-button__link { background-color: var(--sc-main); color: #fff; border-radius: 8px; }
body.single .entry-content .wp-block-button__link:hover { background-color: var(--sc-dark); }

/* ③ 表＝スレッドワークの記事には body に tw-lp-chrome が付いており、LP 用の
      `.tw-lp-chrome :is(...table:not([class])...) :is(th, td, th *, td *) { font-size:12px !important; line-height:1.9 !important }` が記事の表にも当たっている。
      新サイトには tw-lp-chrome が無い（付けると LP 用の CSS まで来る）ので、記事の表にだけ同じ値を直接書く。 */
body.single .entry-content .tw-table-scroll :is(th, td, th *, td *) { font-size: 12px !important; line-height: 1.9 !important; }
/* WP コアの .wp-block-table { overflow-x:auto } はスレッドワークでは出ていない＝横スクロールは内側の .tw-table-scroll だけに持たせる */
body.single .entry-content figure.wp-block-table { overflow: visible; }

/* ④ サイドバーの検索＝ WP コアの「ボタンを内側」の枠（1px 灰＋4px 余白）はスレッドワークでは出ていない（下線だけ）→ 枠を消す */
#sidebar1 .wp-block-search__inside-wrapper { border: 0; padding: 0; background: transparent; }
/* ⑤ 2026-11-16：スレッドワークから写した色のうち、TW の紫寄りの色（#EEF1FB 表の見出し・#6366F1 関連記事・#3B55D9/#C9D3F5 表の「続きを見る」）を LP の配色（#EFF6FF・#2563EB・#BFD3FB）へ置き換えた（形はそのまま） */
