/* ===== メインコンテナ ===== */
    .main-container {
      max-width: 960px;
      margin: 0 auto;
      padding: 20px 0;
      /*display: grid;*/
      /*grid-template-columns: 1fr;*/
      /*gap: 40px;*/
    }

    @media (min-width: 768px) {
      .main-container {
/*        grid-template-columns: 200px 1fr;*/
      }
    }

    /* ===== 記事ヘッダー ===== */
    .article-header {
      margin-bottom: 20px;
      padding-bottom: 20px;
      border-bottom: 1px solid #e9ecef;
    }

    h1 {
      font-size: 1.8rem;
      margin: 0 0 16px 0;
      color: #2c3e50;
      line-height: 1.4;
    }
.article-lead {
      margin-bottom: 40px;
      padding-bottom: 20px;
      border-bottom: 1px solid #e9ecef;
    }
    .lead {
      font-size: 1.1rem;
      color: #666;
      margin: 0;
      line-height: 1.6;
    }

    /* ===== クイックアンサー ===== */
    .quick-answer {
      background: linear-gradient(135deg, #f0f7ff 0%, #e3f2fd 100%);
      border: 1px solid #bbdefb;
      border-radius: 12px;
      padding: 24px;
      margin-bottom: 40px;
      position: relative;
      overflow: hidden;
    }

    .quick-answer::before {
      content: "⚠";
      position: absolute;
      right: 20px;
      top: 20px;
      font-size: 2rem;
      color: #f44336;
      opacity: 0.2;
    }

    .quick-answer h2 {
      font-size: 1.3rem;
      margin: 0 0 12px 0;
      color: #1976d2;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .quick-answer h2::before {
      content: "💡";
    }

    .quick-answer p {
      margin: 0;
      font-weight: 500;
      color: #333;
    }

    /* ===== 記事ナビゲーション ===== */
    .article-nav {
      background: #f8f9fa;
      border-radius: 8px;
      padding: 20px;
      height: fit-content;
      margin-bottom: 48px;
     /* position: sticky;
      top: 100px;*/
      border: 1px solid #e9ecef;
    }

    .article-nav h3 {
      font-size: 1.1rem;
      margin: 0 0 16px 0;
      padding-bottom: 8px;
      border-bottom: 2px solid #0066cc;
      color: #2c3e50;
    }

    .article-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .article-nav li {
      margin-bottom: 12px;
    }

    .article-nav a {
      display: block;
      padding: 8px 12px;
      border-radius: 4px;
      color: #495057;
      transition: all 0.2s ease;
      position: relative;
      padding-left: 24px;
    }

    .article-nav a::before {
      content: "›";
      position: absolute;
      left: 8px;
      color: #0066cc;
      transition: transform 0.2s ease;
    }

    .article-nav a:hover {
      background: #e9ecef;
      color: #0066cc;
      transform: translateX(4px);
    }

    .article-nav a:hover::before {
      transform: translateX(2px);
    }

    .article-nav a.active {
      background: #e3f2fd;
      color: #0066cc;
      font-weight: 500;
    }
     /* ===== Global Nav ===== */
    .global-nav {
      border-bottom: 1px solid #eee;
    }

    .global-nav ul {
      list-style: none;
      margin: 0 auto;
      padding: 14px 0px;
      max-width: 960px;
      display: flex;
      gap: 28px;
      flex-wrap: wrap;
      justify-content: flex-start;
    }

    /* ===== Breadcrumb ===== */
    .breadcrumb {
      max-width: 960px;
      margin: 12px auto 0;
      font-size: 0.85rem;
      color: #666;
    }

    .breadcrumb ol {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-wrap: wrap;
    }

    .breadcrumb li + li::before {
      content: "＞";
      margin: 0 6px;
      color: #999;
    }

    /* ===== セクション ===== */
    section {
      margin-bottom: 48px;
      scroll-margin-top: 20px;
    }

    section h2 {
      font-size: 1.4rem;
      border-left: 4px solid #1976d2;
      padding: 8px 0 8px 16px;
      margin: 0 0 20px 0;
      color: #2c3e50;
      background: linear-gradient(to right, #f0f7ff, transparent);
      border-radius: 0 8px 8px 0;
      position: relative;
    }

    section h2::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, #1976d2, transparent);
      opacity: 0.2;
    }

    /* ===== テーブル ===== */
    table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
      border: 1px solid #ddd;
      background: white;
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    th, td {
      padding: 12px 16px;
      text-align: left;
      border: 1px solid #e0e0e0;
    }

    th {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      color: white;
      font-weight: 600;
    }

    tbody tr:nth-child(even) {
      background-color: #f8f9fa;
    }

    tbody tr:hover {
      background-color: #e9ecef;
    }

    /* ===== リスト ===== */
    section ul,section ol {
      padding-left: 24px;
      margin: 20px 0;
    }

    section li {
      margin-bottom: 8px;
      line-height: 1.6;
    }

    /* ===== セクション固有スタイル ===== */
    .steps-section h2 {
      border-left-color: #1976d2;
    }

    .methods-section h2 {
      border-left-color: #2e7d32;
    }

    .ng-section h2 {
      border-left-color: #c62828;
    }

    .ng-section ul li {
      color: #c62828;
      font-weight: 500;
    }

    .related-section h2 {
      border-left-color: #7b1fa2;
    }

    /* ===== インフォボックス ===== */
    .info-box {
      background: #e3f2fd;
      border-left: 4px solid #2196f3;
      padding: 16px 20px;
      margin: 20px 0;
      border-radius: 0 8px 8px 0;
    }

    .warning-box {
      background: #ffebee;
      border-left: 4px solid #f44336;
      padding: 16px 20px;
      margin: 48px 0;
      margin-top: 0;
      border-radius: 0 8px 8px 0;
    }

    .tip-box {
      background: #e8f5e9;
      border-left: 4px solid #4caf50;
      padding: 16px 20px;
      margin: 20px 0;
      border-radius: 0 8px 8px 0;
    }

    /* ===== レスポンシブ調整 ===== */
    @media (max-width: 767px) {
      .main-container {
        padding: 0 16px 40px;
        gap: 30px;
      }
       .global-nav{
        padding-left: 20px;
      }
      .breadcrumb{
        padding-left: 20px;
      }
      .article-nav {
        position: static;
        margin-bottom: 20px;
      }
      
      h1 {
        font-size: 1.6rem;
      }
      
      .lead {
        font-size: 1rem;
      }
      
      section h2 {
        font-size: 1.2rem;
      }
      
      .quick-answer {
        padding: 20px;
      }
      
      table {
        display: block;
        overflow-x: auto;
      }
      
      th, td {
        padding: 10px 12px;
        font-size: 0.9rem;
      }
    }
    footer {
      border-top: 1px solid #eee;
      padding: 20px;
      text-align: center;
      font-size: 0.85rem;
      color: #777;
    }
