/* column-archive-chrome.css : コラム一覧 (/column/ と /column/tag/*) のヘッダー・フッター用
 * 2026-10-16 T161 (平さん依頼 D-2779): コラム記事と同じ「/basic/ の見た目」に揃える。
 * 写し元= rakucon-column/assets/repro.css のうちヘッダー・フッターに要る規則だけ。
 * 呼び出し元= rakucon-cpt/templates/archive-column.php (head の <link>)。
 * 約束: すべての規則の先頭は class (.rc-header / .rc-footer / .rc-logo / .rc-nav / .rc-cta ...)。
 *   body / html / * / a / img など素のセレクタを持たない (一覧ページ本体の STUDIO 描画を壊さないため)。
 *   一覧ページ限定の調整は .rakucon-studio-archive-column (body の class) から始める。
 *   tests/test_column_archive_chrome.php がこの約束を機械検査する。
 * 注: Material Icons の @font-face は archive-column.php が head に既に出している
 *     (同じ MaterialIcons.woff2)。ここでは二重に宣言しない。
 */

/* ===== 変数と共通の土台 (repro.css の :root / body / * の代わり。.rc-header と .rc-footer の中だけに閉じる) =====
 * 一覧ページは STUDIO 書き出しで、.render-canvas 配下の全要素に「font-family:sans-serif; line-height:1; color」の
 * リセットが当たっている(studio-base.css)。コラム記事では WP テーマの body が 18px / 行間1.6 / 黒 / Noto Sans JP を渡している
 * (2026-10-16 /column/cost/ の .rc-header で実測: font-size 18px・line-height 28.8px・color rgb(0,0,0))。
 * 同じ見た目にするため、土台の値を .rc-header / .rc-footer に明示し、配下はそれを引き継がせる。
 * この「引き継ぎ」ルールは詳細度が低い(0,1,0)ので、以降の個別指定(.rc-logo 等)が必ず勝つ＝先頭に置く。 */
.rc-header,.rc-footer{--ink:#3a3f5c;--body:#333333;--green:#00be98;--orange:#fc8013;--link:#007cff;
  font-family:"Noto Sans JP",sans-serif;font-size:18px;line-height:1.6;color:#000;-webkit-font-smoothing:antialiased;}
.rc-header *,.rc-footer *{font-family:inherit;line-height:inherit;color:inherit;}
.rc-header,.rc-header *,.rc-footer,.rc-footer *{box-sizing:border-box;}

/* Material Icons (フッターの mail_outline) — repro.css 29-35行の .material-icons を .rc-footer 配下に限定 */
.rc-footer .material-icons{font-family:"Material Icons"!important;font-weight:normal;font-style:normal;
  font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-flex;
  align-items:center;justify-content:center;white-space:nowrap;word-wrap:normal;direction:ltr;
  text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;}
.rc-copy a{color:inherit;text-decoration:none;}

/* ===== Header (repro.css 40-71) ===== */
.rc-header{position:sticky;top:0;z-index:100;background:#fff;box-shadow:0 1px 6px rgba(0,0,0,.06);}
.rc-header__in{margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:12px 24px;gap:20px;min-width:0;}
.rc-logo{display:inline-flex;flex-direction:column;align-items:flex-start;line-height:1.2;font-weight:900;font-size:15px;letter-spacing:.02em;white-space:nowrap;text-decoration:none;flex-shrink:0;}
.rc-logo b{color:#3a3f5c;white-space:nowrap;} .rc-logo .g{color:var(--green);}
.rc-nav{display:flex;align-items:center;gap:16px;font-size:13px;font-weight:700;color:#3a3f5c;min-width:0;flex-shrink:1;overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none;}
.rc-nav::-webkit-scrollbar{display:none;}
.rc-nav a{color:#3a3f5c;text-decoration:none;white-space:nowrap;}
.rc-cta{display:flex;gap:10px;align-items:center;flex-shrink:0;}
@media(min-width:901px) and (max-width:1219px){
  .rc-nav{gap:10px;font-size:12px;}
  .rc-header__in{gap:12px;padding:12px 14px;}
  .rc-logo{font-size:13px;}
}
@media(max-width:900px){.rc-nav{display:none;} .rc-header__in{padding:10px 16px;} .rc-cta{display:none;}}
.rc-cta-request{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:9px 20px;font-size:16px;font-weight:400;line-height:1.8;border-radius:4px;box-shadow:0 8px 20px #3a3f5c0a;white-space:nowrap;color:#fff;background:#fc8013;text-decoration:none;}
.rc-cta-request:hover{opacity:.86;}

/* ===== Footer (repro.css 138-145 と 280-298) ===== */
.rc-footer{background:var(--ink);color:#fff;padding:56px 20px 28px;}
.rc-footer__in{max-width:1000px;margin:0 auto;}
.rc-footer__logo{font-size:12px;color:#b9bdd0;margin-bottom:8px;}
.rc-footer__logoname{font-size:34px;font-weight:900;line-height:1.1;margin-bottom:28px;}
.rc-footer__logoname .g{color:var(--green);}
.rc-fnav{display:flex;gap:22px;flex-wrap:wrap;font-size:14px;color:#d7dae6;margin:24px 0;}
.rc-fnav a{color:#d7dae6;text-decoration:none;}
.rc-copy{border-top:1px solid rgba(255,255,255,.12);padding-top:18px;font-size:12px;color:#9ba0b8;display:flex;gap:20px;flex-wrap:wrap;}
.rc-footer .footer-company{display:flex;flex-wrap:wrap;gap:2px 24px;margin:0 0 20px;font-style:normal;font-size:13px;line-height:1.7;color:#fff;}
.rc-footer .footer-company .keep{white-space:nowrap;}
.rc-footer__top.has-cta{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;flex-wrap:wrap;}
.rc-footer__cta{display:flex;flex-flow:column nowrap;align-items:center;padding:20px 0;}
.fbtn{display:flex;align-items:center;justify-content:center;width:214px;height:48px;padding:12px;
  border-radius:4px;box-shadow:0 6px 16px rgba(125,148,192,.12);text-decoration:none;font-size:15px;line-height:21px;}
.fbtn--orange{background:#fc8013;color:#fff;margin-bottom:10px;}
.fbtn__badge{display:flex;align-items:center;justify-content:center;width:32px;height:32px;
  border:1px solid #fff;border-radius:50%;margin-right:8px;flex-shrink:0;}
.fbtn__badge span{font-size:12px;color:#fff;line-height:1;}
.fbtn__sep{width:1px;height:48px;background:#ff973b;flex-shrink:0;}
.fbtn__label{white-space:nowrap;}
.fbtn--orange .fbtn__label{color:#fff;}
.fbtn--ghost{background:#fff;border:1px solid #3a3f5c;padding:12px 16px;color:#000;}
.fbtn--ghost .ic{font-size:24px;color:#3a3f5c;margin-right:8px;}
.fbtn--ghost .fbtn__label{color:#3a3f5c;}
@media(max-width:640px){
  .rc-footer__top.has-cta{display:block;}
  .rc-footer__cta{padding:0 0 8px;width:100%;}
  .fbtn{width:100%;font-size:16px;}
}

/* ===== 一覧ページ(body.rakucon-studio-archive-column)限定の調整 =====
 * 1) 旧ヘッダーは position:fixed で、本文の先頭コンテナ(.sd の先頭 div)が上余白 180px(SP は 120px)を持って避けていた。
 *    新ヘッダーは流れの中にあるので、その余白がそのまま隙間になる。旧の「ヘッダー下端から COLUMN 見出しまで」の
 *    間隔(2026-10-16 本番実測: PC 98px / SP 46px)を保つ値に置き換える。
 * 2) 一覧の土台は html,body に overflow-x:hidden を付けているため body がスクロール容器になり、
 *    position:sticky が効かず、ヘッダーがスクロールで流れ去る(旧は fixed だった)。body の横はみ出し止めを
 *    clip に替える(html 側の hidden はそのまま＝横スクロールは出ない)。
 * 3) 親(.sd の flex 列)が子を内容幅に縮めるので、ヘッダー・フッターは横幅いっぱいに伸ばす。 */
.rakucon-studio-archive-column{overflow-x:clip;}
.rakucon-studio-archive-column .rc-header,.rakucon-studio-archive-column .rc-footer{width:100%;align-self:stretch;}
.rakucon-studio-archive-column .rc-header + div{padding-top:98px;}
@media(max-width:690px){.rakucon-studio-archive-column .rc-header + div{padding-top:46px;}}
