


/*
Theme Name: Forest
Theme URI: https://example.com/forest-theme/
Author: Your Name
Author URI: https://example.com/
Description: A WordPress theme inspired by nature, forests, and healthy living.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: forest
Tags: nature, forest, blog, responsive, green, organic
*/

/* This file is intentionally left mostly empty. 
   The actual styles are in the assets/css/ directory. */

   html {
    /* --swiper-pagination-bottom: -25px !important; */ /* グローバルにCSS変数を上書き */
  }
  
  /* おすすめ記事スライダーのカスタムスタイル */
  .featured-swiper {
    padding-top: 1rem;
    padding-bottom: 10px; /* ページネーションを枠外に出すため、スライダー自体の下部パディングは減らす */
    overflow: hidden; /* ページネーションを枠外に表示するために変更 */
    position: relative;
    --swiper-navigation-color: #d1d5db !important; /* Tailwind gray-300相当 (矢印の通常色) */
    --swiper-navigation-color-hover: #9ca3af !important; /* Tailwind gray-400相当 (矢印のホバー色) */
    /* --swiper-pagination-bottom: -25px !important; */ /* ここでの指定はhtml要素の指定に任せるためコメントアウト */
    --swiper-pagination-color: #9ca3af; /* アクティブなページネーションの色 (任意) */
    --swiper-pagination-bullet-inactive-color: #cbd5e0; /* 非アクティブなページネーションの色 (任意) */
    --swiper-pagination-bullet-size: 6px; /* ページネーションのドットサイズ (任意) */
    --swiper-pagination-bullet-horizontal-gap: 4px; /* ドット間のギャップ (任意) */
    margin-bottom: 40px; /* ページネーション分のマージンをスライダー全体の下に追加 */
  }
  
  /* WordPress Archive Pagination Styles */
  .posts-pagination-container {
    margin: 3rem 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  /* WordPress生成のnavigation wrapper */
  main .navigation.posts-navigation,
  .navigation.posts-navigation {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem auto;
    max-width: fit-content;
  }
  
  .navigation.posts-navigation .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
  }
  
  .navigation.posts-navigation .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  /* ページ番号とナビゲーションリンク */
  .navigation.posts-navigation .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #2d5016;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
  }
  
  .navigation.posts-navigation .page-numbers:hover {
    background: rgba(109, 166, 63, 0.1);
    color: #1a3d0a;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(109, 166, 63, 0.2);
    border-color: rgba(109, 166, 63, 0.3);
  }
  
  .navigation.posts-navigation .page-numbers.current {
    background: linear-gradient(135deg, #6da63f, #5a8b34);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(109, 166, 63, 0.4);
    border-color: #5a8b34;
  }
  
  .navigation.posts-navigation .page-numbers.current:hover {
    background: linear-gradient(135deg, #5a8b34, #4a7329);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(109, 166, 63, 0.5);
  }
  
  .navigation.posts-navigation .page-numbers.dots {
    cursor: default;
    color: #6b7280;
    background: transparent;
    min-width: auto;
    padding: 0.5rem 0.25rem;
  }
  
  .navigation.posts-navigation .page-numbers.dots:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    border-color: transparent;
  }
  
  /* 前/次ページのナビゲーション矢印 */
  .navigation.posts-navigation .prev.page-numbers,
  .navigation.posts-navigation .next.page-numbers {
    background: rgba(109, 166, 63, 0.05);
    border: 1px solid rgba(109, 166, 63, 0.2);
  }
  
  .navigation.posts-navigation .prev.page-numbers:hover,
  .navigation.posts-navigation .next.page-numbers:hover {
    background: rgba(109, 166, 63, 0.15);
    color: #1a3d0a;
    border-color: rgba(109, 166, 63, 0.4);
  }
  
  .navigation.posts-navigation .pagination-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke-width: 2.5;
  }
  
  .navigation.posts-navigation .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  /* Mobile responsiveness */
  @media (max-width: 640px) {
    .navigation.posts-navigation {
      padding: 0.5rem 0.75rem;
    }
    
    .navigation.posts-navigation .nav-links {
      gap: 0.25rem;
    }
    
    .navigation.posts-navigation .page-numbers {
      min-width: 2.25rem;
      height: 2.25rem;
      font-size: 0.9rem;
    }
    
    .navigation.posts-navigation .pagination-arrow svg {
      width: 1rem;
      height: 1rem;
    }
  }
  
  /* 追加の確実なページネーションスタイル - 最優先 */
  nav[aria-label="ページネーション"] .navigation.posts-navigation,
  .posts-pagination-container .navigation.posts-navigation {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 12px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin: 40px auto;
    display: block;
    width: fit-content;
  }
  
  nav[aria-label="ページネーション"] .nav-links,
  .posts-pagination-container .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
  }
  
  nav[aria-label="ページネーション"] .page-numbers,
  .posts-pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    color: #2d5016;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(109, 166, 63, 0.2);
  }
  
  nav[aria-label="ページネーション"] .page-numbers:hover,
  .posts-pagination-container .page-numbers:hover {
    background: rgba(109, 166, 63, 0.15);
    color: #1a3d0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(109, 166, 63, 0.25);
    border-color: rgba(109, 166, 63, 0.4);
  }
  
  nav[aria-label="ページネーション"] .page-numbers.current,
  .posts-pagination-container .page-numbers.current {
    background: linear-gradient(135deg, #6da63f, #5a8b34);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(109, 166, 63, 0.4);
    border-color: #5a8b34;
  }
  
  /* おすすめ記事セクション全体に少し背景色を付ける場合 (任意) */
  /* section:has(>.featured-swiper) {
    background-color: #f7f9f7; 
    padding-top: 2rem;
    padding-bottom: 2rem;
    border-radius: 0.75rem; 
  } */
  
  .featured-swiper .swiper-pagination-bullet {
    /* CSS変数で制御するため、個別の指定は不要になる場合があります */
    /* width: 6px; */ /* --swiper-pagination-bullet-sizeで指定 */
    /* height: 6px; */ /* --swiper-pagination-bullet-sizeで指定 */
    /* background-color: #cbd5e0; */ /* --swiper-pagination-bullet-inactive-colorで指定 */
    opacity: 0.8; /* これは維持しても良いでしょう */
  }
  .featured-swiper .swiper-pagination-bullet-active {
    /* background-color: #9ca3af; */ /* --swiper-pagination-color で指定 */
    opacity: 1;
  }
  
  /* ページネーションの位置調整 - CSS変数で制御するため、このブロックはコメントアウトまたは削除 */
  /*
  .featured-swiper .swiper-pagination {
    bottom: 5px !important; 
    left: 50%;
    transform: translateX(-50%);
    width: auto; 
  }
  */
  
  .featured-swiper .swiper-button-next,
  .featured-swiper .swiper-button-prev {
    /* color: #d1d5db !important; */ /* CSS変数で指定するためコメントアウトまたは削除 */
    background-color: transparent; 
    box-shadow: none; 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    transition: color 0.3s ease; 
    top: 50%;
    transform: translateY(-50%);
    z-index: 10; 
  }
  
  .featured-swiper .swiper-button-prev {
    left: 4px; 
  }
  
  .featured-swiper .swiper-button-next {
    right: 4px; 
  }
  
  .featured-swiper .swiper-button-next:hover,
  .featured-swiper .swiper-button-prev:hover {
      background-color: transparent; 
      /* color: #9ca3af !important; */ /* CSS変数で指定するためコメントアウトまたは削除 */
      color: var(--swiper-navigation-color-hover) !important; /* ホバー時の色をCSS変数で指定 */
  }
  
  /* Swiperの矢印アイコンのサイズ調整 */
  .featured-swiper .swiper-button-next::after,
  .featured-swiper .swiper-button-prev::after {
    font-family: serif; 
    font-size: 24px;
    font-weight: normal; 
  }
  .featured-swiper .swiper-button-prev::after {
    content: '‹'; 
  }
  .featured-swiper .swiper-button-next::after {
    content: '›'; 
  }
  
  
  /* スライド内のコンテンツが高さからはみ出ないように調整 */
  .featured-swiper .swiper-slide {
      height: 100%; /* auto から 100% に変更して高さを揃える */
      border: 1px solid #e5e7eb; 
      box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.07); 
  }
  .featured-swiper .swiper-slide > a {
      display: flex;
      flex-direction: column;
      height: 100%; 
  }
  .featured-swiper .swiper-slide .p-5 {
      flex-grow: 1; 
      display: flex;
      flex-direction: column;
      padding: 0.75rem; 
  }
  .featured-swiper .swiper-slide h3 { /* タイトル */
      font-size: 0.875rem; /* PCでのフォントサイズを小さく (Tailwind text-sm相当) */
      margin-bottom: 0.25rem; /* 下マージンを少し調整 */
      line-height: 1.4;    /* 行間を調整 */
  }
  .featured-swiper .swiper-slide .text-sm { /* 抜粋があった場合の名残のクラス指定 */
      font-size: 0.75rem; 
      line-height: 1.3;
      flex-grow: 1; 
  }
  .featured-swiper .swiper-slide .text-xs { /* 日付があった場合の名残のクラス指定 */
      font-size: 0.65rem; 
      margin-top: 0.25rem; 
  }
  
  .featured-swiper .swiper-slide .group:hover {
      box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); 
  }
  
  
  @media (max-width: 767px) {
    .featured-swiper .swiper-button-next,
    .featured-swiper .swiper-button-prev {
      display: none !important; /* モバイルでは矢印を非表示にする (重要度を上げる) */
    }
    /* 他のモバイル用スタイル（カードのパディングやフォントサイズ）は維持 */
    .featured-swiper .swiper-slide .p-5 {
      padding: 0.6rem;
    }
    .featured-swiper .swiper-slide h3 { /* タイトル */
      font-size: 0.8rem; /* モバイルでのフォントサイズをさらに小さく */
      line-height: 1.35; /* モバイルでの行間 */
      /* min-height: 3.24rem; */ /* 以前の最小高さ指定はコメントアウト */
      height: 3.24rem; /* 3行分の固定高さを設定 */
      display: -webkit-box;
      -webkit-line-clamp: 3; /* 表示する行数を3行に制限 */
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }
     .featured-swiper .swiper-slide .text-sm { 
      font-size: 0.7rem; 
    }
    .featured-swiper .swiper-slide .text-xs { 
      font-size: 0.6rem; 
    }
  }
  
  /* ==========================================================
     Generic Glassmorphism Article Styles for new posts (v1)
     ----------------------------------------------------------
     Usage:
     <div class="g-article">
         <h1 class="g-main-title"> ... </h1>
         ...
     </div>
     
     To customise colours per-post without touching CSS, set any of the
     following custom properties inline on the container element:
     --primary-color, --secondary-color, --accent-color, --success-color,
     --warning-color, --danger-color, --text-color, --bg-color, --bg-color-2.
     ========================================================== */
  
  :root {
    --g-border-radius: 18px;
    --g-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --g-transition: all 0.3s ease;
  }
  
  /* ---------------- AGEs Article Specific Colors ---------------- */
  .g-article.ages-theme {
    --primary-color: #0f766e;
    --secondary-color: #14b8a6;
    --accent-color: #0ea5e9;
    --success-color: #22c55e;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
    --text-color: #475569;
    --bg-color: #f0f9ff;
    --bg-color-2: #e0f2fe;
  }
  
  /* ---------------- Pumpkin Article Specific Colors ---------------- */
  .g-article.pumpkin-theme {
    --primary-color: #ea580c;
    --secondary-color: #f97316; 
    --accent-color: #fb923c;
    --success-color: #22c55e;
    --warning-color: #fbbf24;
    --danger-color: #ef4444;
    --text-color: #374151;
    --bg-color: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
    --bg-color-2: #fef3c7;
  }
  
  .g-pumpkin-icon {
    font-size: 4rem;
    color: var(--primary-color, #ea580c);
    text-shadow: 0 2px 8px rgba(234, 88, 12, 0.3);
    margin: 1.5rem 0;
    display: block;
    text-align: center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  .g-nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .g-nutrition-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--g-border-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--g-shadow);
    transition: var(--g-transition);
    border: 1px solid rgba(251, 146, 60, 0.3);
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .g-nutrition-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }
  
  .g-nutrition-card .icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
  }
  
  .g-nutrition-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color, #ea580c);
  }
  
  .g-nutrition-card p {
    font-size: 1rem;
    color: var(--text-color, #374151);
    font-weight: 500;
  }
  
  .g-comparison-table {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--g-border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
    box-shadow: var(--g-shadow);
  }
  
  .g-cooking-method {
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--g-border-radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent-color, #fb923c);
    transition: var(--g-transition);
  }
  
  .g-cooking-method:hover {
    background: rgba(255, 255, 255, 0.85);
    transform: translateX(5px);
  }
  
  .g-cooking-method h4 {
    color: var(--primary-color, #ea580c);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .g-method-icon {
    font-size: 1.5rem;
  }
  
  /* Table Winner Highlighting */
  .g-winner {
    background: linear-gradient(135deg, #fed7aa 0%, #fbbf24 100%);
    color: #7c2d12;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(251, 191, 36, 0.3);
    border: 1px solid rgba(251, 146, 60, 0.4);
    display: inline-block;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .g-champion {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #7c2d12;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    border: 2px solid rgba(251, 146, 60, 0.6);
    display: inline-block;
    font-size: 1.05rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  }
  
  @keyframes pulse-winner {
    0%, 100% {
      box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
    }
    50% {
      box-shadow: 0 6px 16px rgba(251, 191, 36, 0.6);
    }
  }
  
  @keyframes pulse-champion {
    0%, 100% {
      box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
    }
    50% {
      box-shadow: 0 8px 25px rgba(245, 158, 11, 0.7);
    }
  }
  
  @media (max-width: 768px) {
    .g-nutrition-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 0.8rem;
    }
    
    .g-pumpkin-icon {
      font-size: 3rem;
    }
    
    .g-winner {
      padding: 3px 6px;
      font-size: 0.85rem;
    }
    
    .g-champion {
      padding: 4px 7px;
      font-size: 0.9rem;
    }
  }
  
  /* ---------------- Base Container ---------------- */
  .g-article {
    font-family: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.8;
    color: var(--text-color, #334155); /* slate-700 */
    background: linear-gradient(135deg, var(--bg-color, #ffffff) 0%, var(--bg-color-2, #f1f5f9) 100%);
    padding: 2rem;
    margin: 0 auto;
    max-width: var(--g-max-width, 1000px);
    border-radius: var(--g-border-radius);
    box-shadow: var(--g-shadow);
    position: relative;
    overflow: hidden;
  }
  
  /* Decorative subtle pattern */
  .g-article::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 25px 25px, rgba(0,0,0,0.03) 2px, transparent 2px),
                      radial-gradient(circle at 75px 75px, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 100px 100px, 50px 50px;
    pointer-events: none;
    z-index: 0;
  }
  
  /* Ensure children sit above pattern */
  .g-article > * {
    position: relative;
    z-index: 1;
  }
  
  /* ---------------- Typography ---------------- */
  .g-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color, #0f766e);
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.2;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); */
  }
  
  /* 章ヘッダー */
  .g-chapter-header {
    display: block;
    margin: 3rem 0 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--g-border-radius);
    border-left: 5px solid var(--primary-color, #0f766e);
    box-shadow: var(--g-shadow);
  }
  
  .g-ages-icon {
    font-size: 2.5rem;
    margin: 0 auto;
    display: block;
    text-align: center;
  }
  
  .g-chapter-header h1,
  .g-chapter-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color, #0f766e);
    line-height: 1.3;
  }
  
  .g-article h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color, #0f766e);
    margin: 3rem 0 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: var(--g-border-radius);
    border-left: 5px solid var(--primary-color, #0f766e);
    display: flex;
    align-items: center;
  }
  
  .g-article h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-color, #14b8a6);
    margin: 0.5rem 0 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
  }
  
  .g-article h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color, #0ea5e9);
    margin: 2rem 0 1rem;
    display: flex;
    align-items: center;
  }
  
  /* Box headings use中間トーンでコントラストを確保 */
  .g-article .g-info-box h3,
  .g-article .g-highlight-box h3,
  .g-article .g-warning-box h3 {
    color: #8b5a3c;
    font-weight: 650;
  }
  
  .g-article h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color, #475569);
    margin: 1.5rem 0 1rem;
  }
  
  /* Headings with icon */
  .g-article h1 i,
  .g-article h2 i,
  .g-article h3 i {
    margin-right: 0.8rem;
    font-size: 0.9em;
  }
  
  /* ---------------- Basic Elements ---------------- */
  .g-article p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
  }
  
  .g-article a {
    color: var(--accent-color, #0ea5e9);
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    transition: var(--g-transition);
  }
  
  .g-article a:hover {
    border-bottom-style: solid;
  }
  
  /* ---------------- Card / Box ---------------- */
  .g-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--g-border-radius);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--g-shadow);
    transition: var(--g-transition);
  }
  
  .g-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }
  
  /* Info / Warning / Highlight variants */
  .g-info-box,
  .g-warning-box,
  .g-highlight-box {
    border-radius: var(--g-border-radius);
    padding: 1.5rem;
    margin: 2rem 0;
    backdrop-filter: blur(10px);
  }
  
  .g-info-box {
    background: rgba(34, 197, 94, 0.12);
    border-left: 5px solid var(--success-color, #22c55e);
  }
  
  .g-warning-box {
    background: rgba(239, 68, 68, 0.12);
    border-left: 5px solid var(--danger-color, #ef4444);
  }
  
  .g-highlight-box {
    background: rgba(251, 191, 36, 0.18);
    border-left: 5px solid var(--warning-color, #fbbf24);
  }
  
  /* ---------------- Grid / Data ---------------- */
  .g-data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
  }

  /* 2カラム向けのコンパクトグリッド（説明カード用） */
  .g-mini-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
  }

  /* ---------------- Hero / Intro ---------------- */
  .g-emoji-hero {
    display: block;
    text-align: center;
    font-size: 4.6rem;
    line-height: 1;
    margin: 0.2rem 0 1rem;
    filter: drop-shadow(0 10px 25px rgba(15, 23, 42, 0.14));
  }

  .g-card.g-hero-card {
    padding: 2.25rem;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  }

  .g-article .g-hero-card h1 {
    margin: 0 0 0.85rem;
    padding: 0;
    background: none;
    border-left: none;
    display: block;
    text-align: center;
    font-size: clamp(1.7rem, 3.2vw, 2.45rem);
    line-height: 1.25;
    color: var(--primary-color, #0f766e);
  }

  .g-hero-subtitle {
    margin: 0 0 1.2rem;
    text-align: center;
    font-weight: 650;
    color: rgba(31, 41, 55, 0.82);
    font-size: 0.98rem;
    letter-spacing: 0.01em;
  }

  .g-hero-lead p {
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 1rem;
  }

  .g-hero-lead .lead-bullets {
    margin: 0.8rem 0 0;
    padding-left: 1.1rem;
  }

  .g-hero-lead .lead-bullets li {
    margin: 0.35rem 0;
  }

  /* ---------------- Notes / Footnotes ---------------- */
  .g-conclusion-lead {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.78;
    font-weight: 700;
    color: var(--text-color, #1f2937);
  }

  .g-note-paragraph {
    margin: 0.85rem 0 1rem;
    padding: 0.95rem 1rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px dashed rgba(31, 41, 55, 0.18);
    border-radius: 1rem;
    font-size: 0.98rem;
    line-height: 1.78;
  }

  .g-article sup a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(31, 41, 55, 0.35);
  }

  .g-article sup a:hover {
    border-bottom-style: solid;
  }

  .g-article .g-toc a {
    color: inherit;
    text-decoration: none;
  }

  .g-article .g-toc a:hover {
    text-decoration: underline;
  }

  /* ---------------- Bar Chart ---------------- */
  .g-bar-chart {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
  }

  .g-bar-row {
    display: grid;
    grid-template-columns: minmax(7.2rem, 1fr) 3.2fr minmax(3.7rem, auto);
    gap: 0.75rem;
    align-items: center;
  }

  .g-bar-label {
    font-size: 0.95rem;
    font-weight: 650;
    color: rgba(31, 41, 55, 0.85);
    line-height: 1.2;
  }

  .g-bar {
    height: 0.92rem;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(31, 41, 55, 0.14);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  }

  .g-bar > span {
    display: block;
    height: 100%;
    width: var(--w, 0%);
    border-radius: 999px;
  }

  .g-bar-chart.salt .g-bar > span {
    background: linear-gradient(90deg, var(--secondary-color, #14b8a6), var(--primary-color, #0f766e));
  }

  .g-bar-chart.kcal .g-bar > span {
    background: linear-gradient(90deg, #0ea5e9, var(--primary-color, #0f766e));
  }

  .g-bar-value {
    text-align: right;
    font-weight: 750;
    font-size: 0.95rem;
    color: rgba(31, 41, 55, 0.88);
    white-space: nowrap;
  }

  /* ---------------- Flow Diagram ---------------- */
  .g-flow-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
    margin: 1rem 0 0;
  }

  .g-flow-card {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(31, 41, 55, 0.14);
    border-radius: 1.2rem;
    padding: 1.1rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  }

  .g-flow-card h4 {
    margin: 0 0 0.7rem;
    font-size: 1.08rem;
    line-height: 1.3;
    color: rgba(31, 41, 55, 0.9);
  }

  .g-flow-steps {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
  }

  .g-flow-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.75rem 0.85rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1rem;
    line-height: 1.55;
    font-size: 0.98rem;
  }

  .g-flow-step .arrow {
    position: relative;
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 1.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(var(--secondary-color-rgb, 20, 184, 166), 0.18);
    color: rgba(var(--primary-color-rgb, 15, 118, 110), 0.88);
    font-size: 0.95rem;
    line-height: 1;
  }

  .g-flow-step:not(:last-child) .arrow::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% + 0.25rem);
    transform: translateX(-50%);
    width: 2px;
    height: 0.85rem;
    background: rgba(var(--primary-color-rgb, 15, 118, 110), 0.25);
    border-radius: 999px;
  }

  .g-flow-step strong {
    color: rgba(var(--primary-color-rgb, 15, 118, 110), 0.95);
  }

  @media (max-width: 768px) {
    .g-flow-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 640px) {
    .g-card.g-hero-card {
      padding: 1.55rem;
    }

    .g-emoji-hero {
      font-size: 4.2rem;
    }

    .g-bar-row {
      grid-template-columns: minmax(6.3rem, 1fr) 2.6fr minmax(3.4rem, auto);
      gap: 0.6rem;
    }
  }
  
  .g-data-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--g-border-radius);
    padding: 1.2rem 1rem;
    text-align: center;
    box-shadow: var(--g-shadow);
    transition: var(--g-transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .g-data-card:hover {
    transform: translateY(-3px);
  }
  
  /* ラベルを先に表示して目立たせる */
  .g-data-card .label {
    display: block;
    font-size: 1.3rem;
    color: var(--text-color, #475569);
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 0.8rem;
    order: 1;
  }
  
  /* 数字を控えめに表示 */
  .g-data-card .number {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--primary-color, #0f766e);
    line-height: 1.1;
    order: 2;
    margin-bottom: 0.4rem;
  }
  
  /* 説明文がある場合 */
  .g-data-card p {
    font-size: 0.95rem;
    color: var(--text-color, #64748b);
    line-height: 1.4;
    margin-top: 0.8rem;
    order: 3;
  }
  
  /* コンパクトなデータカード（ブルーベリー用） */
  .g-article.blueberry-theme .g-data-card {
    padding: 0.8rem 0.7rem;
    min-height: 90px;
    font-size: 0.9rem;
  }
  
  .g-article.blueberry-theme .g-data-card .label {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .g-article.blueberry-theme .g-data-card .number {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
  }
  
  .g-article.blueberry-theme .g-data-card p {
    font-size: 0.85rem;
    line-height: 1.3;
    margin-top: 0.5rem;
  }
  
  .g-data-card.warning {
    background: rgba(239, 68, 68, 0.15);
  }
  
  .g-data-card.safe {
    background: rgba(34, 197, 94, 0.15);
  }
  
  .g-data-card.highlight {
    background: rgba(251, 191, 36, 0.2);
  }
  
  /* ---------------- Science Components ---------------- */
  .g-science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .g-science-card {
    background: rgba(255, 255, 255, 0.75);
    border-radius: var(--g-border-radius);
    padding: 2rem;
    box-shadow: var(--g-shadow);
    transition: var(--g-transition);
    border: 1px solid rgba(255, 255, 255, 0.4);
  }
  
  .g-science-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
  }
  
  .g-science-card h3,
  .g-science-card h4 {
    color: var(--primary-color, #0f766e);
    margin-bottom: 1rem;
  }
  
  /* 調理法比較カード */
  .g-cooking-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
  }
  
  /* 食べ順戦略のスタイル */
  .g-eating-order {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: var(--g-border-radius);
    box-shadow: var(--g-shadow);
  }
  
  .g-order-step {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--g-border-radius);
    border-left: 4px solid var(--primary-color, #0f766e);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--g-transition);
  }
  
  .g-order-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  }
  
  .g-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--primary-color, #0f766e);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
  }
  
  .g-order-step h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color, #0f766e);
    font-size: 1.1rem;
  }
  
  .g-order-step p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-color, #475569);
  }
  
  .g-arrow {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color, #0f766e);
    margin: 0.5rem 0;
  }
  
  .g-cooking-method-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--g-border-radius);
    padding: 2rem;
    border: 2px solid;
    transition: var(--g-transition);
  }
  
  .g-cooking-method-card.high-ages {
    border-color: var(--danger-color, #ef4444);
    background: rgba(239, 68, 68, 0.1);
  }
  
  .g-cooking-method-card.low-ages {
    border-color: var(--success-color, #22c55e);
    background: rgba(34, 197, 94, 0.1);
  }
  
  .g-ages-level {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .g-ages-level.high {
    background: var(--danger-color, #ef4444);
    color: white;
  }
  
  .g-ages-level.low {
    background: var(--success-color, #22c55e);
    color: white;
  }
  
  /* メカニズムフロー */
  .g-mechanism-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--g-border-radius);
  }
  
  .g-mechanism-step {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }
  
  .g-mechanism-arrow {
    font-size: 1.5rem;
    color: var(--primary-color, #0f766e);
    font-weight: bold;
  }
  
  /* 研究エビデンス */
  .g-research-evidence {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--accent-color, #3b82f6);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--g-border-radius) var(--g-border-radius) 0;
    font-style: italic;
  }
  
  /* ---------------- Tables ---------------- */
  .g-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1.05rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: var(--g-border-radius);
    overflow: hidden;
  }
  
  .g-article table th,
  .g-article table td {
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    vertical-align: middle;
  }
  
  .g-article table th {
    background-color: var(--primary-color, #0f766e);
    color: #fff;
    font-weight: 600;
  }
  
  .g-article table tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.025);
  }
  
  .g-article table tr:hover {
    background-color: rgba(0, 0, 0, 0.05);
  }
  
  /* ---------------- Lists ---------------- */
  .g-article ul,
  .g-article ol {
    margin: 1rem 0 1.5rem 1.4rem;
    padding-left: 1rem;
  }
  
  .g-article li {
    margin-bottom: 0.6rem;
  }
  
  /* Scientific List */
  .g-scientific-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: left !important;
    display: block;
  }
  
  .g-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: left !important;
  }
  
  .g-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
  
  .g-item-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    line-height: 1;
    text-align: center;
  }
  
  .g-item-content {
    flex: 1;
    text-align: left !important;
  }
  
  .g-item-content h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left !important;
  }
  
  .g-item-content p {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    text-align: left !important;
  }
  
  .g-item-content strong {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  /* 親要素のtext-alignの影響を完全に無効化 */
  .g-conclusion-first .g-scientific-list,
  .g-warning-box .g-scientific-list,
  .g-highlight-box .g-scientific-list,
  .g-card .g-scientific-list,
  .g-article .g-scientific-list,
  .g-data-card .g-scientific-list {
    text-align: left !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
  }
  
  .g-conclusion-first .g-list-item,
  .g-warning-box .g-list-item,
  .g-highlight-box .g-list-item,
  .g-card .g-list-item,
  .g-article .g-list-item,
  .g-data-card .g-list-item {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  
  .g-conclusion-first .g-item-content,
  .g-warning-box .g-item-content,
  .g-highlight-box .g-item-content,
  .g-card .g-item-content,
  .g-article .g-item-content,
  .g-data-card .g-item-content {
    text-align: left !important;
    width: 100% !important;
  }
  
  .g-conclusion-first .g-item-content h4,
  .g-warning-box .g-item-content h4,
  .g-highlight-box .g-item-content h4,
  .g-card .g-item-content h4,
  .g-article .g-item-content h4 {
    text-align: left !important;
  }
  
  .g-conclusion-first .g-item-content p,
  .g-warning-box .g-item-content p,
  .g-highlight-box .g-item-content p,
  .g-card .g-item-content p,
  .g-article .g-item-content p {
    text-align: left !important;
  }
  
  /* ---------------- Reference Section ---------------- */
  .g-references {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px dashed rgba(0, 0, 0, 0.1);
  }
  
  .g-references h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .g-references ol {
    list-style: decimal;
    padding-left: 1.2rem;
  }
  
  .g-references li {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
  }
  
  /* ---------------- Utility ---------------- */
  .g-negative {
    color: #ef4444;
  }
  
  .g-positive {
    color: #22c55e;
  }
  
  .g-warning {
    color: #f59e0b;
  }
  
  .g-source-note {
    font-size: 0.85rem;
    color: #64748b;
  }
  
  /* ---------------- Responsive ---------------- */
  @media (max-width: 768px) {
    .g-article {
      padding: 0.2rem;
    }
    .g-main-title {
      font-size: 2rem;
    }
    .g-article h1 {
      font-size: 1.8rem;
    }
    .g-article h2 {
      font-size: 1.5rem;
    }
    .g-article h3 {
      font-size: 1.25rem;
    }
    .g-card {
      padding: 1rem;
    }
    .g-data-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }

    .g-mini-grid {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    
    .g-warning-box {
      padding: 1rem;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
    }
    
    /* 章ヘッダーのモバイル対応 */
    .g-chapter-header {
      padding: 1rem;
      display: block;
      text-align: center;
    }
    
    .g-ages-icon {
      font-size: 3.2rem;
      margin: 0;
      padding: 0;
      line-height: 1;
      display: block;
    }
    
    .g-chapter-header h1,
    .g-chapter-header h2 {
      font-size: 1.5rem;
    }
    
    /* 科学カードのモバイル対応 */
    .g-science-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    .g-science-card {
      padding: 1.5rem;
    }
    
    /* 調理法比較のモバイル対応 */
    .g-cooking-comparison {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    
    /* メカニズムフローのモバイル対応 */
    .g-mechanism-flow {
      flex-direction: column;
      padding: 1.5rem;
    }
    
    .g-mechanism-arrow {
      transform: rotate(90deg);
      font-size: 1.2rem;
    }
    
    .g-mechanism-step {
      min-width: 200px;
    }
    
    /* 食べ順戦略のモバイル対応 */
    .g-eating-order {
      padding: 1.5rem;
    }
    
    .g-order-step {
      flex-direction: column;
      text-align: center;
      padding: 1.5rem 1rem;
    }
    
    .g-step-number {
      margin-right: 0;
      margin-bottom: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .g-main-title {
      font-size: 1.6rem;
    }
    .g-article h1 {
      font-size: 1.5rem;
    }
    .g-article h2 {
      font-size: 1.3rem;
    }
    
    .g-chapter-header {
      padding: 0.8rem;
      display: block;
    }
    
    .g-ages-icon {
      font-size: 3rem;
      margin: 0 !important;
      padding: 0 !important;
      display: block;
      line-height: 1;
    }
    
    .g-chapter-header h1,
    .g-chapter-header h2 {
      font-size: 1.3rem;
      margin: 0;
      text-align: center;
      line-height: 1.3;
    }
  }
  
  /* 結論セクションのスタイル */
  .g-conclusion-first {
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
  }
  
  /* 疑似要素は不要 */
  
  .g-conclusion-first h2 {
    color: var(--primary-color, #0f766e);
    margin-bottom: 1.5rem;
  }
  
  /* 教育章のスタイル */
  .g-timeline-info {
    background: rgba(255, 255, 255, 0.8);
    border-left: 4px solid var(--warning-color, #f59e0b);
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: var(--g-border-radius);
  }
  
  .g-comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
  }
  
  .g-has-standards, .g-no-standards {
    padding: 1.5rem;
    border-radius: var(--g-border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .g-has-standards {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid var(--success-color, #22c55e);
  }
  
  .g-no-standards {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger-color, #ef4444);
  }
  
  .g-paradox-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .g-cooking-class, .g-health-class {
    padding: 1.5rem;
    border-radius: var(--g-border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .g-cooking-class {
    background: rgba(34, 197, 94, 0.1);
    border-left: 4px solid var(--success-color, #22c55e);
  }
  
  .g-health-class {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--danger-color, #ef4444);
  }
  
  .g-current-priorities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
  }
  
  .g-priority-high, .g-priority-future {
    padding: 1.5rem;
    border-radius: var(--g-border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .g-priority-high {
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid var(--success-color, #22c55e);
  }
  
  .g-priority-future {
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--warning-color, #f59e0b);
  }
  
  /* ---------------- Dates Article Specific Colors ---------------- */
  .g-article.dates-theme {
    --primary-color: #8b4513;
    --secondary-color: #daa520; 
    --accent-color: #ff8c00;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-color: #1f2937;
    --bg-color: #fef7ed;
    --bg-color-2: #fff7ed;
  }
  
  /* ---------------- Curry Article Specific Colors ---------------- */
  .g-article.curry-theme {
    --primary-color: #d97706;
    --secondary-color: #ea580c;
    --accent-color: #f59e0b;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-color: #1f2937;
    --bg-color: #fef7ed;
    --bg-color-2: #fff7ed;
  }
  
  /* ---------------- Supplement Article Specific Colors ---------------- */
  .g-article.supplement-theme {
    --primary-color: #0f766e;
    --secondary-color: #0891b2;
    --accent-color: #0ea5e9;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --text-color: #1f2937;
    --bg-color: #f0f9ff;
    --bg-color-2: #e0f2fe;
  }

  /* ---------------- Meat Article Specific Colors ---------------- */
  .g-article.meat-theme {
    --primary-color: #b91c1c;
    --secondary-color: #dc2626;
    --accent-color: #f59e0b;
    --success-color: #059669;
    --warning-color: #ea580c;
    --danger-color: #ef4444;
    --text-color: #374151;
    --bg-color: #fef2f2;
    --bg-color-2: #fee2e2;
  }

  /* ---------------- Whole Wheat Article Specific Colors ---------------- */
  .g-article.wholewheat-theme {
    --primary-color: #8b4513;
    --secondary-color: #daa520;
    --accent-color: #cd853f;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-color: #3e2723;
    --bg-color: linear-gradient(135deg, #fef7ed 0%, #fff7ed 100%);
    --bg-color-2: #fdf6e3;
  }

  .g-wholewheat-icon {
    font-size: 4rem;
    color: var(--primary-color, #8b4513);
    text-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
    margin: 1.5rem 0;
    display: block;
    text-align: center;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
  }

  /* ---------------- Nutrient Comparison Cards ---------------- */
  .g-nutrient-comparison {
    margin: 2rem 0;
  }

  .g-nutrient-card-container {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
  }

  .g-nutrient-card-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  }

  .g-nutrient-card-container.highlight {
    border: 2px solid var(--warning-color, #f59e0b);
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1), rgba(255, 255, 255, 0.9));
    animation: subtle-pulse 3s ease-in-out infinite;
  }

  @keyframes subtle-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(251, 191, 36, 0.2); }
    50% { box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3); }
  }

  .g-nutrient-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 0.8rem;
  }

  .g-nutrient-label h4 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color, #8b4513);
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .g-advantage-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
  }

  .g-advantage-badge.safe {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(76, 175, 80, 0.15));
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.3);
  }

  .g-advantage-badge.high {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15), rgba(251, 146, 60, 0.15));
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.3);
  }

  .g-advantage-badge.critical {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(248, 113, 113, 0.15));
    color: #dc2626;
    border: 1px solid rgba(220, 53, 69, 0.3);
    animation: badge-pulse 2s infinite;
  }

  @keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }

  .g-comparison-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .g-value-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 1.2rem 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .g-value-card.winner {
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.15), rgba(218, 165, 32, 0.15));
    border-color: var(--primary-color, #8b4513);
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
  }

  .g-value-card:not(.winner):hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .g-value-header {
    font-size: 0.9rem;
    color: var(--text-color, #374151);
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .g-value-card.winner .g-value-header {
    color: var(--primary-color, #8b4513);
    font-weight: 600;
  }

  .g-value-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color, #374151);
    line-height: 1.2;
  }

  .g-value-card.winner .g-value-number {
    color: var(--primary-color, #8b4513);
    font-size: 2rem;
  }

  /* モバイル対応 */
  @media (max-width: 768px) {
    .g-nutrient-card-container {
      padding: 1rem;
      margin: 1rem 0;
    }

    .g-nutrient-label {
      flex-direction: column;
      gap: 0.8rem;
      align-items: flex-start;
    }

    .g-nutrient-label h4 {
      font-size: 1.1rem;
    }

    .g-comparison-values {
      grid-template-columns: 1fr;
      gap: 0.8rem;
    }

    .g-value-card {
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: left;
      padding: 1rem;
    }

    .g-value-header {
      font-size: 1rem;
      margin-bottom: 0;
    }

    .g-value-number {
      font-size: 1.5rem;
    }

    .g-value-card.winner .g-value-number {
      font-size: 1.6rem;
    }

    .g-advantage-badge {
      font-size: 0.75rem;
      padding: 0.3rem 0.6rem;
    }
  }

  @media (max-width: 480px) {
    .g-nutrient-card-container {
      padding: 0.8rem;
      border-radius: 16px;
    }

    .g-value-card {
      padding: 0.8rem;
    }

    .g-value-number {
      font-size: 1.3rem;
    }

    .g-value-card.winner .g-value-number {
      font-size: 1.4rem;
    }
  }
  
  .g-dates-icon {
    display: inline-block;
    font-size: 1.2em;
    margin-right: 0.5rem;
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-10px);
    }
    60% {
      transform: translateY(-5px);
    }
  }
  
  .g-nutrition-value {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .g-nutrition-value:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .g-comparison-highlight {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.1), rgba(255, 140, 0, 0.1));
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
  }
  
  .g-comparison-highlight::before {
    content: '✨';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.7;
  }
  
  .g-benefit-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 1.8rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(139, 69, 19, 0.2);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
  }
  
  .g-benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }
  
  .g-chapter-intro {
    background: linear-gradient(135deg, var(--bg-color), var(--bg-color-2));
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2rem 0;
    border: 2px solid rgba(139, 69, 19, 0.15);
    position: relative;
    overflow: hidden;
  }
  
  .g-chapter-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  }
  
  @media (max-width: 768px) {
    .g-dates-icon {
      font-size: 1em;
    }
    
    .g-nutrition-value,
    .g-benefit-card,
    .g-comparison-highlight,
    .g-chapter-intro {
      padding: 1.2rem;
      margin: 1rem 0;
    }
  }
  
  /* Scientific List の モバイル対応 */
  @media (max-width: 768px) {
    .g-scientific-list {
      padding: 0;
      margin: 0 auto;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      list-style: none;
      text-align: left !important;
    }
    
    .g-list-item {
      padding: 1rem;
      margin: 0 0 1rem 0;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      display: flex;
      align-items: flex-start;
      text-align: left !important;
    }
    
    .g-item-icon {
      font-size: 1.5rem;
      margin-right: 0.8rem;
      flex-shrink: 0;
      text-align: center;
    }
    
    .g-item-content {
      flex: 1;
      text-align: left !important;
    }
    
    .g-item-content h4 {
      font-size: 1.1rem;
      text-align: left !important;
    }
    
    .g-item-content p {
      text-align: left !important;
    }
    
    /* モバイルでの親要素の影響を無効化 */
    .g-warning-box .g-scientific-list {
      padding: 0;
      margin: 0;
      width: 100%;
      text-align: left !important;
    }
    
    .g-conclusion-first .g-scientific-list {
      padding: 0;
      margin: 0;
      width: 100%;
      text-align: left !important;
    }
    
    .g-conclusion-first .g-warning-box .g-scientific-list {
      padding: 0;
      margin: 0;
      width: 100%;
      text-align: left !important;
    }
    
    .g-warning-box {
      padding: 1rem;
      margin: 1rem 0;
      width: 100%;
      max-width: 100%;
      box-sizing: border-box;
      text-align: left !important;
    }
    
    .g-conclusion-first {
      padding: 0;
      margin: 0;
      width: 100%;
      text-align: left !important;
    }
    
    /* 全ての親要素でのtext-alignの影響を無効化 */
    .g-conclusion-first .g-list-item,
    .g-warning-box .g-list-item,
    .g-highlight-box .g-list-item,
    .g-card .g-list-item,
    .g-article .g-list-item {
      text-align: left !important;
    }
    
    .g-conclusion-first .g-item-content,
    .g-warning-box .g-item-content,
    .g-highlight-box .g-item-content,
    .g-card .g-item-content,
    .g-article .g-item-content {
      text-align: left !important;
    }
    
    .g-conclusion-first .g-item-content h4,
    .g-warning-box .g-item-content h4,
    .g-highlight-box .g-item-content h4,
    .g-card .g-item-content h4,
    .g-article .g-item-content h4 {
      text-align: left !important;
    }
    
    .g-conclusion-first .g-item-content p,
    .g-warning-box .g-item-content p,
    .g-highlight-box .g-item-content p,
    .g-card .g-item-content p,
    .g-article .g-item-content p {
      text-align: left !important;
    }
  }
  
  /* ==================================================
     Table Styles for Nutrient Risk Table
     ================================================== */
  
  .g-table-container {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .g-visual-figure {
    margin: 2rem 0;
    padding: 1rem;
    border-radius: var(--g-border-radius);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.38);
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.11);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .g-visual-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: calc(var(--g-border-radius) - 6px);
  }

  .g-visual-figure figcaption {
    margin-top: 0.85rem;
    color: rgba(51, 65, 85, 0.82);
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: center;
  }
  
  .g-nutrient-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.4;
    table-layout: fixed;
  }
  
  .g-nutrient-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
  }
  
  .g-nutrient-table th {
    padding: 1rem 0.75rem;
    font-weight: 600;
    text-align: left;
    border: none;
    font-size: 0.85rem;
  }
  
  .g-nutrient-table th:nth-child(1) { width: 12%; }
  .g-nutrient-table th:nth-child(2) { width: 15%; }
  .g-nutrient-table th:nth-child(3) { width: 18%; }
  .g-nutrient-table th:nth-child(4) { width: 40%; }
  .g-nutrient-table th:nth-child(5) { width: 15%; }

  .g-nutrient-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }
  
  .g-nutrient-table tbody tr:hover {
    background: rgba(var(--primary-color-rgb, 79, 70, 229), 0.05);
    transform: scale(1.01);
  }
  
  .g-nutrient-table td {
    padding: 1rem 0.75rem;
    vertical-align: top;
    border: none;
  }

  .g-nutrient-table:has(th:nth-child(6)) {
    table-layout: fixed;
  }

  .g-nutrient-table:has(th:nth-child(6)) th:nth-child(1),
  .g-nutrient-table:has(th:nth-child(6)) td:nth-child(1) { width: 12%; }
  .g-nutrient-table:has(th:nth-child(6)) th:nth-child(2),
  .g-nutrient-table:has(th:nth-child(6)) td:nth-child(2) { width: 20%; }
  .g-nutrient-table:has(th:nth-child(6)) th:nth-child(3),
  .g-nutrient-table:has(th:nth-child(6)) td:nth-child(3) { width: 26%; }
  .g-nutrient-table:has(th:nth-child(6)) th:nth-child(4),
  .g-nutrient-table:has(th:nth-child(6)) td:nth-child(4) { width: 7%; text-align: center; }
  .g-nutrient-table:has(th:nth-child(6)) th:nth-child(5),
  .g-nutrient-table:has(th:nth-child(6)) td:nth-child(5) { width: 7%; text-align: center; }
  .g-nutrient-table:has(th:nth-child(6)) th:nth-child(6),
  .g-nutrient-table:has(th:nth-child(6)) td:nth-child(6) { width: 28%; }

  .g-article table.g-veggie-guide-table {
    table-layout: fixed;
    font-size: 0.95rem;
    min-width: 920px;
  }

  .g-veggie-table-wrap {
    overflow-x: auto;
  }

  .g-veggie-guide-table .g-veggie-col-name { width: 12%; }
  .g-veggie-guide-table .g-veggie-col-nutrient { width: 20%; }
  .g-veggie-guide-table .g-veggie-col-cooking { width: 26%; }
  .g-veggie-guide-table .g-veggie-col-oil { width: 7%; }
  .g-veggie-guide-table .g-veggie-col-raw { width: 7%; }
  .g-veggie-guide-table .g-veggie-col-summary { width: 28%; }

  .g-article table.g-veggie-guide-table th:nth-child(1),
  .g-article table.g-veggie-guide-table td:nth-child(1),
  .g-article table.g-veggie-guide-table th:nth-child(4),
  .g-article table.g-veggie-guide-table td:nth-child(4),
  .g-article table.g-veggie-guide-table th:nth-child(5),
  .g-article table.g-veggie-guide-table td:nth-child(5) {
    text-align: center;
  }

  .g-article table.g-veggie-guide-table td:nth-child(1),
  .g-article table.g-veggie-guide-table td:nth-child(4),
  .g-article table.g-veggie-guide-table td:nth-child(5) {
    vertical-align: middle;
    white-space: nowrap;
    font-weight: 600;
  }
  
  .g-category-row {
    background: rgba(var(--secondary-color-rgb, 139, 69, 19), 0.05);
  }
  
  .g-category-cell {
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb, 79, 70, 229), 0.1), rgba(var(--secondary-color-rgb, 139, 69, 19), 0.1));
    border-right: 1px solid rgba(0, 0, 0, 0.1);
  }
  
  .g-category-cell.fat-soluble {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 235, 59, 0.15));
    color: #8B4513;
  }
  
  .g-category-cell.water-soluble {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(129, 212, 250, 0.15));
    color: #1565C0;
  }
  
  .g-category-cell.minerals {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(165, 214, 167, 0.15));
    color: #2E7D32;
  }
  
  .g-limit-value {
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb, 79, 70, 229), 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    display: inline-block;
    margin: 0.2rem 0;
    font-size: 0.85rem;
  }
  
  .g-limit-value.danger {
    color: var(--danger-color);
    background: rgba(220, 53, 69, 0.1);
  }
  
  .g-danger-text {
    color: var(--danger-color);
    font-weight: 600;
  }
  
  .g-risk-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    display: inline-block;
  }
  
  .g-risk-badge.high {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.15), rgba(255, 99, 132, 0.15));
    color: #DC3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
  }
  
  .g-risk-badge.medium {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 235, 59, 0.15));
    color: #FF8F00;
    border: 1px solid rgba(255, 193, 7, 0.3);
  }
  
  .g-risk-badge.low {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(165, 214, 167, 0.15));
    color: #2E7D32;
    border: 1px solid rgba(76, 175, 80, 0.3);
  }
  
  .g-risk-badge.critical {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.2), rgba(178, 34, 34, 0.2));
    color: #8B0000;
    border: 1px solid rgba(139, 0, 0, 0.4);
    font-weight: 700;
    animation: pulse-critical 2s infinite;
  }
  
  @keyframes pulse-critical {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
  }
  
  /* モバイル対応 */
  @media (max-width: 768px) {
    .g-table-container {
      margin: 1rem -1rem;
      border-radius: 0;
      overflow-x: auto;
    }

    .g-veggie-table-wrap {
      margin: 1rem 0;
      border-radius: 16px;
      overflow: visible;
      box-shadow: none;
      background: transparent;
      border: none;
    }

    .g-article table.g-veggie-guide-table {
      display: block;
      width: 100%;
      min-width: 0;
      margin: 0;
      border-collapse: separate;
      border-spacing: 0;
      table-layout: auto;
      box-shadow: none;
      background: transparent;
      font-size: 0.95rem;
    }

    .g-veggie-guide-table colgroup,
    .g-veggie-guide-table thead {
      display: none;
    }

    .g-veggie-guide-table tbody,
    .g-veggie-guide-table tr,
    .g-veggie-guide-table td {
      display: block;
      width: 100%;
    }

    .g-veggie-guide-table tbody tr {
      margin: 0 0 1rem;
      overflow: hidden;
      border: 1px solid rgba(15, 23, 42, 0.1);
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.92);
      box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    }

    .g-article table.g-veggie-guide-table td {
      display: block;
      position: relative;
      min-height: 3.6rem;
      padding: 0.85rem 1rem 0.85rem 7.7rem;
      border: none;
      border-bottom: 1px solid rgba(15, 23, 42, 0.08);
      text-align: left;
      vertical-align: top;
      white-space: normal;
      overflow-wrap: anywhere;
      word-break: normal;
    }

    .g-article table.g-veggie-guide-table td:last-child {
      border-bottom: none;
    }

    .g-article table.g-veggie-guide-table td:nth-child(1),
    .g-article table.g-veggie-guide-table td:nth-child(4),
    .g-article table.g-veggie-guide-table td:nth-child(5) {
      text-align: left;
      vertical-align: top;
      white-space: normal;
      font-weight: 600;
    }

    .g-veggie-guide-table td::before {
      position: absolute;
      left: 1rem;
      top: 0.85rem;
      width: 5.9rem;
      color: var(--primary-color, #15803d);
      font-weight: 700;
    }

    .g-veggie-guide-table td:nth-child(1)::before { content: "野菜"; }
    .g-veggie-guide-table td:nth-child(2)::before { content: "主役の栄養"; }
    .g-veggie-guide-table td:nth-child(3)::before { content: "加熱"; }
    .g-veggie-guide-table td:nth-child(4)::before { content: "油"; }
    .g-veggie-guide-table td:nth-child(5)::before { content: "生食"; }
    .g-veggie-guide-table td:nth-child(6)::before { content: "結論"; }
    
    .g-nutrient-table {
      min-width: 800px;
      font-size: 0.8rem;
    }
    
    .g-nutrient-table th,
    .g-nutrient-table td {
      padding: 0.75rem 0.5rem;
    }
    
    .g-category-cell {
      font-size: 0.7rem;
      padding: 0.5rem 0.3rem;
    }
    
    .g-limit-value {
      font-size: 0.75rem;
      padding: 0.2rem 0.4rem;
    }
    
    .g-risk-badge {
      padding: 0.3rem 0.6rem;
      font-size: 0.65rem;
    }
  }
  
  @media (max-width: 480px) {
    .g-table-container {
      margin: 1rem -1.5rem;
    }

    .g-veggie-table-wrap {
      margin: 1rem 0;
    }

    .g-article table.g-veggie-guide-table td {
      padding: 0.8rem 0.9rem 0.8rem 6.6rem;
    }

    .g-veggie-guide-table td::before {
      left: 0.9rem;
      top: 0.8rem;
      width: 4.9rem;
    }
    
    .g-nutrient-table {
      min-width: 900px;
      font-size: 0.75rem;
    }
    
    .g-nutrient-table th,
    .g-nutrient-table td {
      padding: 0.6rem 0.4rem;
    }
    
    .g-category-cell {
      font-size: 0.65rem;
    }
    
    .g-limit-value {
      font-size: 0.7rem;
      padding: 0.15rem 0.3rem;
    }
    
    .g-risk-badge {
      padding: 0.25rem 0.5rem;
      font-size: 0.6rem;
    }
  }
  
  /* ==================================================
     Health Pyramid Styles
     ================================================== */
  
  .g-health-pyramid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
  
  .g-pyramid-level {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
  }
  
  .g-pyramid-level.level-1 {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(129, 199, 132, 0.15));
    border-left: 5px solid #4CAF50;
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.1);
  }
  
  .g-pyramid-level.level-2 {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(100, 181, 246, 0.15));
    border-left: 5px solid #2196F3;
    box-shadow: 0 4px 20px rgba(33, 150, 243, 0.1);
    margin-left: 1rem;
  }
  
  .g-pyramid-level.level-3 {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 235, 59, 0.15));
    border-left: 5px solid #FFC107;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.1);
    margin-left: 2rem;
  }
  
  .g-pyramid-level.level-4 {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.2), rgba(186, 104, 200, 0.15));
    border-left: 5px solid #9C27B0;
    box-shadow: 0 4px 20px rgba(156, 39, 176, 0.1);
    margin-left: 3rem;
  }
  
  .g-pyramid-level:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }
  
  .g-level-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .g-level-content {
    flex: 1;
  }
  
  .g-level-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .g-level-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
  }
  
  /* ==================================================
     Comparison Table Styles
     ================================================== */
  
  .g-comparison-table {
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .g-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
  }
  
  .g-comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  }
  
  .g-comparison-table th {
    padding: 1.2rem;
    font-weight: 600;
    text-align: left;
    border: none;
    color: white;
    font-size: 1rem;
  }
  
  .g-comparison-table tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }
  
  .g-comparison-table tbody tr:hover {
    background: rgba(var(--primary-color-rgb, 79, 70, 229), 0.05);
  }
  
  .g-comparison-table tbody tr:last-child {
    border-bottom: none;
  }
  
  .g-comparison-table td {
    padding: 1rem 1.2rem;
    vertical-align: top;
    border: none;
  }
  
  .g-comparison-table td:first-child {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(255, 99, 132, 0.05));
    border-left: 4px solid #DC3545;
    color: #721c24;
  }
  
  .g-comparison-table td:last-child {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.08), rgba(72, 187, 120, 0.05));
    border-left: 4px solid #28a745;
    color: #155724;
  }
  
  /* モバイル対応 */
  @media (max-width: 768px) {
    .g-health-pyramid {
      padding: 1rem;
      margin: 1.5rem 0;
    }
    
    .g-pyramid-level {
      padding: 1rem;
      margin-left: 0 !important; /* モバイルではインデントをリセット */
    }
    
    .g-level-icon {
      font-size: 2rem;
      width: 3rem;
      height: 3rem;
      margin-right: 1rem;
    }
    
    .g-level-content h4 {
      font-size: 1rem;
    }
    
    .g-level-content p {
      font-size: 0.85rem;
    }
    
    .g-comparison-table {
      margin: 1.5rem -1rem;
      border-radius: 0;
      overflow-x: auto;
    }
    
    .g-comparison-table table {
      min-width: 600px;
      font-size: 0.8rem;
    }
    
    .g-comparison-table th,
    .g-comparison-table td {
      padding: 0.8rem;
    }
  }
  
  @media (max-width: 480px) {
    .g-health-pyramid {
      padding: 0.8rem;
    }
    
    .g-pyramid-level {
      padding: 0.8rem;
      flex-direction: column;
      text-align: center;
    }
    
    .g-level-icon {
      margin: 0 0 0.8rem 0;
    }
    
    .g-comparison-table {
      margin: 1.5rem -1.5rem;
    }
    
    .g-comparison-table table {
      min-width: 700px;
      font-size: 0.75rem;
    }
    
    .g-comparison-table th,
    .g-comparison-table td {
      padding: 0.6rem;
    }
  }
  
  /* ==================================================
     Responsive Display Control
     ================================================== */
  
  .desktop-only {
    display: block;
  }
  
  .mobile-only {
    display: none;
  }
  
  @media (max-width: 768px) {
    .desktop-only {
      display: none;
    }
    
    .mobile-only {
      display: block;
    }
  }
  
  /* ==================================================
     Mobile Comparison Cards
     ================================================== */
  
  .g-comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .g-comparison-pair {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
  
  .g-ng-expression,
  .g-ok-expression {
    padding: 1rem 1.2rem;
    position: relative;
  }
  
  .g-ng-expression {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(255, 99, 132, 0.05));
    border-left: 4px solid #DC3545;
    border-bottom: 1px solid rgba(220, 53, 69, 0.15);
  }
  
  .g-ok-expression {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.08), rgba(72, 187, 120, 0.05));
    border-left: 4px solid #28a745;
  }
  
  .g-ng-expression h5,
  .g-ok-expression h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
  }
  
  .g-ng-expression h5 {
    color: #721c24;
  }
  
  .g-ok-expression h5 {
    color: #155724;
  }
  
  .g-ng-expression p,
  .g-ok-expression p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
  }
  
  .g-ng-expression p {
    color: #721c24;
  }
  
  .g-ok-expression p {
    color: #155724;
  }
  
  /* カード間のつながりを示すアイコン */
  .g-comparison-pair::before {
    content: "↓";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
    z-index: 10;
  }
  
  /* モバイル用の微調整 */
  @media (max-width: 480px) {
    .g-comparison-cards {
      margin: 1.5rem 0;
      gap: 0.8rem;
    }
    
    .g-ng-expression,
    .g-ok-expression {
      padding: 0.8rem 1rem;
    }
    
    .g-ng-expression h5,
    .g-ok-expression h5 {
      font-size: 0.8rem;
    }
    
    .g-ng-expression p,
    .g-ok-expression p {
      font-size: 0.85rem;
    }
    
    .g-comparison-pair::before {
      width: 1.8rem;
      height: 1.8rem;
      font-size: 0.7rem;
    }
  }
  
  /* ==================================================
     Responsive Control Classes
     ================================================== */
  
  .desktop-only {
    display: block;
  }
  
  .mobile-only {
    display: none;
  }
  
  @media (max-width: 768px) {
    .desktop-only {
      display: none;
    }
    
    .mobile-only {
      display: block;
    }
  }
  
  /* ==================================================
     Mobile Nutrient Cards
     ================================================== */
  
  .g-nutrient-cards {
    margin: 2rem 0;
  }
  
  .g-category-section {
    margin-bottom: 2rem;
  }
  
  .g-category-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem;
    margin: 0 0 1rem 0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
  }
  
  .g-category-title.fat-soluble {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  }
  
  .g-category-title.water-soluble {
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
  }
  
  .g-category-title.minerals {
    background: linear-gradient(135deg, #f39c12, #e67e22);
  }
  
  .g-nutrient-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .g-nutrient-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  }
  
  .g-nutrient-card.danger {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(255, 245, 245, 0.9);
  }
  
  .g-nutrient-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .g-nutrient-header h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
  }
  
  .g-nutrient-limit {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
  }
  
  .g-nutrient-limit.danger {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
  }
  
  .g-nutrient-symptoms {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #666;
  }
  
  /* ==================================================
     Nutrition Guide Styles
     ================================================== */
  
  .g-nutrition-guide {
    margin: 2rem 0;
  }
  
  .g-nutrition-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
  }
  
  .g-nutrition-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  }
  
  .g-nutrition-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--success-color), rgba(76, 175, 80, 0.8));
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  }
  
  .g-nutrition-content {
    flex: 1;
  }
  
  .g-nutrition-content h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
  }
  
  .g-nutrition-target {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
  }
  
  .g-nutrition-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
  }
  
  @media (max-width: 768px) {
    .g-nutrition-item {
      flex-direction: column;
      text-align: center;
      padding: 1.25rem;
    }
    
    .g-nutrition-icon {
      margin: 0 auto 1rem auto;
      width: 3.5rem;
      height: 3.5rem;
      font-size: 2rem;
    }
    
    .g-nutrition-content h5 {
      font-size: 1.1rem;
    }
  
    /* モバイル用コンパクトカード */
    .g-article.blueberry-theme .g-data-card {
      padding: 0.6rem 0.5rem;
      min-height: 80px;
    }
  
    .g-article.blueberry-theme .g-data-card .label {
      font-size: 1rem;
      margin-bottom: 0.4rem;
    }
  
    .g-article.blueberry-theme .g-data-card .number {
      font-size: 1.6rem;
      margin-bottom: 0.2rem;
    }
  
    .g-article.blueberry-theme .g-data-card p {
      font-size: 0.8rem;
      margin-top: 0.4rem;
    }
  }
  
  /* 480px以下の小さなモバイル画面用 */
  @media (max-width: 480px) {
    .g-article.blueberry-theme .g-data-card {
      padding: 0.5rem 0.4rem;
      min-height: 75px;
    }
  
    .g-article.blueberry-theme .g-data-card .label {
      font-size: 0.95rem;
      margin-bottom: 0.3rem;
    }
  
    .g-article.blueberry-theme .g-data-card .number {
      font-size: 1.5rem;
      margin-bottom: 0.15rem;
    }
  
    .g-article.blueberry-theme .g-data-card p {
      font-size: 0.75rem;
      margin-top: 0.3rem;
    }
  }
  
