        :root {
            --bg-main: #ffffff;
            --bg-sidebar: #f7f7f7;   /* サイドバーの薄いグレー */
            --bg-sumi: #1a1a1c;      /* 墨色（ヘッダー・フッター・モバイル上段） */
            --text-main: #222222;
            --text-on-sumi: #e0e0e0;
            --border: #e2e2e2;
            --header-h: 60px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }
body {
/* 1. フォント：和文の美しさと論理的なセリフの混合 */
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", Meiryo, sans-serif;
    
    /* 2. 背景と文字色：コントラストを抑えて目の疲れを軽減 */
    background: var(--bg-main);
    color: var(--text-main);

    /* 3. タイポグラフィの黄金律 */
    font-size: 16px;           /* 標準的な読みやすさ */
    line-height: 1.85;         /* 130ページの長文でも行を追いやすい広めの行間 */
    letter-spacing: 0.03em;    /* わずかに広げることで文字の詰まりを解消 */
    
    /* 4. レンダリングの最適化（滑らかに見せる） */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    
    /* 横揺れの防止 */
    overflow-x: hidden;
    word-wrap: break-word;

}


/* 記事本文（main）内のテキストをさらに読みやすく */
main p {
    margin-bottom: 1.8rem; /* 段落間の余白をしっかり取る */
    text-align: justify;   /* 文末を揃えて「アーカイブ」らしい端正な見た目に */
}

/* リンクのデフォルト設定 */
a {
    color: inherit;
    text-decoration-skip-ink: auto; /* 下線が文字の足に重ならないようにする */
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}


        /* --- 1. ヘッダー (墨色) --- */
        header {
            position: sticky; top: 0; height: var(--header-h);
            background: var(--bg-sumi); color: var(--text-on-sumi);
            display: flex; align-items: center; padding: 0 20px; z-index: 1000;
        }
        .nav-pc { display: flex; gap: 20px; margin-left: 40px; font-size: 14px; }
        .nav-pc a { color: #ddd; text-decoration: none; font-weight: 300; }
        .nav-pc a.active { color: #fff; font-weight: 900; border-bottom: 2px solid #fff; }

        /* --- 2. レイアウト (PC) --- */
        .layout { display: flex; max-width: 1400px; margin: 0 auto; min-height: calc(100vh - 120px); }

        /* --- 3. サイドバー (薄いグレー) --- */
        aside#sidebar {
            width: 300px; background: var(--bg-sidebar); border-right: 1px solid var(--border);
            padding: 30px 20px; position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h));
            overflow-y: auto;
        }
        .menu-set { display: none; } /* 初期は非表示 */
        .menu-set.active { display: block; } /* アクティブなカテゴリのみ表示 */

        .menu-set h3 { font-size: 11px; color: #999; margin-bottom: 15px; letter-spacing: 1px; }
        .menu-set ul { list-style: none; }
        .menu-set li a { display: block; padding: 8px 0; font-size: 14px; color: #555; text-decoration: none; border-bottom: 1px solid #eee; }
        .menu-set li a:hover { color: #000; }

        /* --- 4. メインコンテンツ --- */
        main { flex: 1; padding: 60px 40px; max-width: 800px; }
        h1 { font-size: 28px; margin-bottom: 20px; border-bottom: 2px solid var(--bg-sumi); padding-bottom: 10px; }

        /* --- 5. モバイルメニュー --- */
        .menu-trigger { display: none; margin-left: auto; background: none; border: 1px solid #444; color: #fff; padding: 5px 10px; cursor: pointer; }
        
        #mobile-nav {
            position: fixed; top: var(--header-h); left: 0; width: 100%; height: calc(100vh - var(--header-h));
            background: #fff; z-index: 2000; display: none; flex-direction: column;
        }
        #mobile-nav.open { display: flex; }

        .mobile-major { background: var(--bg-sumi); padding: 15px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
        .mobile-major a { color: #888; text-decoration: none; font-size: 12px; text-align: center; padding: 10px; border: 1px solid #333; }
        .mobile-major a.active { color: #fff; border-color: #fff; }

        .mobile-detail { flex: 1; overflow-y: auto; padding: 20px; }

        /* --- 6. フッター (墨色) --- */
        footer { background: var(--bg-sumi); color: #666; padding: 40px 20px; text-align: center; font-size: 12px; }

        /* レスポンシブ */
        @media (max-width: 900px) {
            .nav-pc { display: none; }
            .menu-trigger { display: block; }
            aside#sidebar { display: none; }
            main { padding: 40px 20px; }
        }

/* PCサイズ（900px以上）になった時の強制リセット */
@media (min-width: 901px) {
    #mobile-nav.open {
        display: none !important;
    }
}


/* メインコンテンツ内のリストをデフォルトで装飾 */
main ul {
    list-style: none; /* デフォルトの丸ポチを消す */
    padding: 0;
    margin: 1.5rem 0 1.5rem 1.2rem; /* 左側に適切な余白 */
}

main ul li {
    position: relative;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    color: #333;
    padding-left: 1.2rem; /* 擬似要素（ドット）のスペース */
}

/* 墨色のスクエア・ドットを自動付与 */
main ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em; /* テキストの1行目の高さに合わせる */
    width: 5px;
    height: 5px;
    background-color: #1a1a1c; /* 墨色 */
    transform: rotate(45deg); /* 少し傾けてダイヤ型にするとより論理的で硬派な印象に */
}

/* 2段組み（ネスト）への対応 */
main ul ul {
    margin: 0.5rem 0 0.5rem 1rem;
}

main ul ul li::before {
    background-color: transparent;
    border: 1px solid #999; /* 2階層目は白抜きにして階層を表現 */
}




/* メインコンテンツ内のolをデフォルトで装飾 */
main ol {
    counter-reset: my-counter; /* カウンターをリセット */
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 1.5rem 1.5rem;
}

main ol li {
    counter-increment: my-counter; /* 数字を増やす */
    position: relative;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2.5rem; /* 数字を置くスペース */
    color: #333;
}

/* 数字部分の装飾 */
main ol li::before {
    /* 01, 02.. という形式で数字を表示 */
    content: counter(my-counter, decimal-leading-zero) "."; 
    position: absolute;
    left: 0;
    top: 4px;
    font-family: "Georgia", serif; /* 墨色に合う、少し格調高いセリフ体 */
    font-weight: bold;
    font-style: italic;
    font-size: 1.1rem;
    color: #1a1a1c; /* 墨色 */
    border-bottom: 1px solid #ccc; /* 数字の下にさりげない線を引く */
    line-height: 1;
    padding-bottom: 2px;
}


/* メインエリアの見出し全体の共通設定 */
main h1, main h2, main h3, main h4, main h5 {
    color: #1a1a1c;
    line-height: 1.4;
    margin-top: 2.5rem;   /* 上に広めの余白をとり、セクションを分ける */
    margin-bottom: 1.2rem;
    font-weight: bold;
}

/* H1: ページタイトル（記事の最上部に1つ） */
main h1 {
    font-size: 1.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid #1a1a1c; /* 太い墨色の下線 */
    margin-top: 0; /* ページ最上部なので上余白は不要 */
    letter-spacing: 0.05em;
}

/* H2: 大見出し（主要なセクション） */
main h2 {
    font-size: 1.5rem;
    padding-left: 0.8rem;
    border-left: 8px solid #1a1a1c; /* 左側に太いアクセント線 */
    background: #f7f7f7; /* サイドバーと同じ薄いグレーを背景に */
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* H3: 中見出し（項目の分類） */
main h3 {
    font-size: 1.3rem;
    border-bottom: 1px solid #1a1a1c; /* 細い墨色の下線 */
    padding-bottom: 0.3rem;
}

/* H4: 小見出し（さらに細かい補足や定義） */
main h4 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

main h4::before {
    content: "■"; /* 墨色の正方形をアクセントに */
    font-size: 0.8rem;
    margin-right: 0.6rem;
}

/* H5: 極小見出し（注釈や細かい分類） */
main h5 {
    font-size: 1rem;
    color: #666; /* 少し色を抜いて存在感を抑える */
    text-decoration: underline; /* 下線のみ */
    margin-top: 1.5rem;
}

/* リンクの基本設定をアップデート */
main a {
    color: #0055aa; /* 落ち着いた知的な青（または墨色のまま下線だけ色を付ける） */
    text-decoration: underline;
    text-decoration-color: #ccc; /* 下線は薄くして主張を抑える */
    transition: all 0.3s ease;
}

main a:hover {
    color: #c07800; /* ホバー時に琥珀色へ変化（知的なアクセント） */
    text-decoration-color: #c07800;
    background-color: #fff9f0; /* ほんの少し背景に温かみを出す */
}

/* main内の画像が親要素の幅を突き抜けないようにする */
main img {
    max-width: 100%;
    height: auto;
    display: block; /* 画像の下にできる隙間を消すための設定 */
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    text-decoration: none;
    color: #888;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--accent); /* 先ほどの琥珀色 */
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 0.5rem;
    color: #ccc;
    font-family: serif; /* スラッシュを少し上品に */
}

.breadcrumbs .current-page {
    color: #333;
    font-weight: bold;
}

/* カテゴリ名は少し強調 */
.breadcrumbs .category-name {
    letter-spacing: 1px;
    font-weight: 500;
}

/* もしstyle.cssに未定義の場合、ハイライトを反映させるための最低限の記述 */
/* リスト全体のデフォルトの黒ポチ（・）を消し、余白を調整 */
.menu-set ul {
  list-style: none;
  padding-left: 20px; /* 階層の深さ */
  position: relative;
}

/* 各メニュー項目の位置を相対的に */
.menu-set ul li {
  position: relative;
  padding-left: 15px; /* ツリー線と文字の間の余白 */
  margin-bottom: 8px;
  line-height: 1.4;
}

/* --- ツリー線の描画 --- */
/* --- 全体共通：デフォルトのリスト丸ぽちを消す --- */
.menu-set ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- 第1階層（左端にピタッと揃える） --- */
.menu-set > ul > li {
  position: relative;
  margin-bottom: 12px; /* 項目間の余白 */
  padding-left: 0;     /* 左端に揃えるため0に */
}

/* --- 第2階層（ネストされたメニュー：ここからツリー化） --- */
.menu-set > ul > li > ul {
  margin-top: 8px;
  padding-left: 20px; /* ここで初めて右に一段下げる */
}

/* 第2階層の各項目 */
.menu-set > ul > li > ul > li {
  position: relative;
  padding-left: 15px; /* ツリー線と文字の間の余白 */
  margin-bottom: 8px;
  line-height: 1.4;
}

/* --- 第2階層だけにツリー線を引く --- */
/* ==============================
   全体共通・リセット
   ============================== */
.menu-set h2 {
  font-size: 1.2rem; /* 任意 */
  margin-bottom: 1rem;
  padding-left: 0;   /* 左端揃え */
}

.menu-set ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ==============================
   全てのリンク共通スタイル
   ============================== */
.menu-set ul li a {
  display: block; /* クリックエリアを広げる */
  color: #666;    /* 通常時の文字色（少し薄く） */
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ホバー時 */
.menu-set ul li a:hover {
  color: #333;
  opacity: 1;
}

.menu-set ul li.menu-label {
  /* 既存の a タグと全く同じフォントサイズ・色・余白を指定 */
  font-size: 14px; 
  color: #666;
  opacity: 0.8;
  line-height: 1.4;
  
  /* カーソルを矢印のままにしてクリック不可であることを明示 */
  cursor: default; 
  user-select: none;
}

/* ==============================
   復元：アクティブ（選択中）のスタイル
   ============================== */
.menu-set ul li a.active {
  font-weight: bold;
  color: var(--accent); /* 琥珀色 */
  opacity: 1;
  pointer-events: none; /* 現在地なのでクリック不可 */
}

/* ==============================
   第1階層（CONCEPT直下、Team Dynamics含む）
   ============================== */
.menu-set > ul > li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 0;     /* 左端揃え（インデントなし） */
}

/* ==============================
   第2階層（Team Dynamicsの下：ここからネスト＆ツリー）
   ============================= */
.menu-set > ul > li > ul {
  margin-top: 8px;
  padding-left: 20px; /* ここで初めて一段下げる */
  border-left: none;  /* 余計な枠線を消す */
}

.menu-set > ul > li > ul > li {
  position: relative;
  padding-left: 15px; /* ツリー線と文字の間の余白 */
  margin-bottom: 8px;
  line-height: 1.4;
}

/* --- 第2階層だけのツリー線 (疑似要素) --- */

/* 1. 縦線 (トの字用) */
.menu-set > ul > li > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: -4px;
  width: 1px;
  height: 100%;
  background-color: #ccc; /* ツリー線の色 */
}

/* 2. 横線 */
.menu-set > ul > li > ul > li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px; /* 文字の高さに合わせる */
  width: 10px;
  height: 1px;
  background-color: #ccc;
}

/* 3. 最後の項目は縦線を止めて「L字」にする */
.menu-set > ul > li > ul > li:last-child::before {
  height: 14px; /* 横線と交わる高さ */
}


.faq-card-container { max-width: 800px; margin: 20px auto; font-family: system-ui, -apple-system, sans-serif; -webkit-tap-highlight-color: transparent; }
.faq-card { background: #f9f9f9; margin-bottom: 12px; border-radius: 8px; border: 1px solid #eee; transition: background-color 0.2s ease, box-shadow 0.2s ease; }
summary { padding: 20px; cursor: pointer; display: flex; list-style: none; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary::marker { content: ""; } 
summary:focus-visible { outline: 2px solid #007bff; outline-offset: -2px; border-radius: 8px; }
.q-label, .a-label { flex: 0 0 40px;  display: flex; align-items: flex-start; }
.q-text, .a-text { flex: 1; line-height: 1.6; padding-top: 2px; overflow-wrap: break-word; word-break: normal; }
.q-text { font-weight: bold; color: #1a1a1a; }
.a-text { font-weight: normal; }
.icon-q, .icon-a { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 0.85em; font-weight: bold; flex-shrink: 0; }
.icon-q { background: #007bff; color: #fff; }
.icon-a { background: #666; color: #fff; }
.answer-content { padding: 0 20px 20px 20px; display: flex; color: #444; line-height: 1.7; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.a-text a, .q-text a { color: #007bff; text-decoration: underline; text-underline-offset: 3px; transition: opacity 0.2s; }
.a-text a:hover { opacity: 0.7; }
.faq-card[open] { background: #fff; box-shadow: 0 5px 15px rgba(0,0,0,0.08); }


/* --------------------------------------
       フッタースタイル
    -------------------------------------- */
    .site-footer {
      background-color: #000000;
      color: #ffffff;
      padding: 40px 20px 20px 20px;
    }

    .footer-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 40px;
    }

    /* リンクの基本スタイル */
    .footer-nav a {
      color: #ffffff;
      text-decoration: none;
      font-size: 14px;
    }

    .footer-nav a:hover {
      text-decoration: underline;
    }

    /* 縦並びのリスト共通 */
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    /* --------------------------------------
       スマホ用レイアウト（デフォルト：縦一列）
    -------------------------------------- */
    .footer-main {
      display: flex;
      flex-direction: column;
      gap: 32px;
    }

    .footer-logo {
      font-size: 20px;
      font-weight: bold;
    }

    /* コピーライト */
    .footer-copyright {
      border-top: 1px solid #333333;
      padding-top: 20px;
      text-align: center;
      font-size: 14px;
      color: #888888;
    }

    /* --------------------------------------
       PC用レイアウト（メディアクエリ）
    -------------------------------------- */
    @media (min-width: 768px) {
      .footer-main {
        flex-direction: row;
        justify-content: space-between;
        /* 右ブロックのコンテンツを下揃えにする */
        align-items: flex-end; 
      }

      /* 左ブロック（ロゴと基本メニューを格納） */
      .footer-left {
        display: flex;
        flex-direction: column;
        gap: 20px;
      }
    }

