/* =====================================================================
   Front Journal — site-chrome.css
   ヘッダー・フッター・ハンバーガーメニュー専用の共通CSS（正本）
   ---------------------------------------------------------------------
   ■ 使い方：<head> 内の Google Fonts <link> の直後に1行追加するだけ
     <link rel="stylesheet" href="/assets/css/site-chrome.css">
   ■ 正本は index.html のヘッダー・フッターCSS（2026-06-12 抽出）
   ■ ルール（SPEC.md §6.10）：
     - 新規ページ・新規テンプレートは必ずこのファイルを読み込む
     - ヘッダー・フッターのCSSをページ内 <style> に二重定義しない
     - デザイン変更時はこのファイルだけを編集する（全ページに即反映）
   ===================================================================== */

:root {
  --fj-navy: #0f1e3d;
  --fj-accent: #059669;
  --fj-accent-light: #34d399;
  --fj-text-soft: #5a6577;
  --fj-shadow-sm: 0 2px 8px rgba(15, 30, 61, 0.06);
}

/* ---------- ヘッダー ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: var(--fj-shadow-sm);
  position: sticky; top: 0; z-index: 50;
  border-bottom: none;
}
.site-header .logo a { display: inline-flex; align-items: center; }
.site-header .logo img { height: 50px; width: auto; display: block; }
.site-header nav {
  display: flex; gap: 26px; font-size: 13px; letter-spacing: 0.08em;
  color: var(--fj-text-soft); font-weight: 500; align-items: center;
}
.site-header nav a { color: var(--fj-text-soft); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; }
.site-header nav a:hover { color: var(--fj-navy); }
.site-header nav a.active { color: var(--fj-navy); font-weight: 700; }

/* お問い合わせCTA（ピル型） */
.site-header nav a.nav-cta {
  background: var(--fj-navy); color: #fff;
  padding: 6px 16px; border-radius: 999px; font-size: 12px; line-height: 1.6;
  font-weight: 700; letter-spacing: 0.08em;
  transition: background 0.2s ease, transform 0.2s ease;
}
.site-header nav a.nav-cta:hover { background: var(--fj-accent); color: #fff; transform: translateY(-1px); }

/* ---------- ハンバーガーメニュー（モバイル） ---------- */
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; width: 36px; height: 36px; position: relative; z-index: 60; }
.hamburger span {
  position: absolute; left: 6px; width: 24px; height: 2px;
  background: var(--fj-navy); border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.hamburger span:nth-child(1) { top: 11px; }
.hamburger span:nth-child(2) { top: 17px; }
.hamburger span:nth-child(3) { top: 23px; }
.nav-toggle:checked ~ .hamburger span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .hamburger span:nth-child(3) { top: 17px; transform: rotate(-45deg); }

@media (max-width: 768px) {
  .site-header { padding: 12px 18px; }
  .hamburger { display: block; }
  .site-header nav {
    display: flex !important;
    position: fixed; top: 0; right: -100%; height: 100vh; width: min(82vw, 320px);
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 80px 28px 32px; gap: 4px; box-shadow: -8px 0 32px rgba(15, 30, 61, 0.18);
    transition: right 0.3s ease; z-index: 55; overflow-y: auto;
  }
  .nav-toggle:checked ~ nav { right: 0; }
  .site-header nav a { width: 100%; padding: 14px 12px; font-size: 15px; border-bottom: 1px solid #eef1f6; letter-spacing: 0.06em; }
  .site-header nav a:last-child { border-bottom: none; }
  .site-header nav a.nav-cta {
    background: var(--fj-navy); color: #fff;
    padding: 14px 18px; margin-top: 12px; text-align: center;
    border-bottom: none !important; border-radius: 999px;
  }
  body.nav-open { overflow: hidden; }
}

/* ---------- フッター ---------- */
footer.site-footer, .site-footer { background: var(--fj-navy); color: #fff; padding: 48px 48px 24px; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
  text-align: left; font-size: inherit;
}
.footer-brand img { height: 56px; width: auto; display: block; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: #fff; opacity: 0.8; letter-spacing: 0.06em; transition: opacity 0.2s ease; }
.footer-links a:hover { opacity: 1; color: var(--fj-accent-light); }
.footer-bottom {
  max-width: 1180px; margin: 32px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px; opacity: 0.6; letter-spacing: 0.05em; text-align: center;
}
@media (max-width: 768px) {
  footer.site-footer, .site-footer { padding: 36px 20px 20px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 20px; }
}
