
    /* --------------------------------------------------
       表01　コンテナ設定（PC: 570px / スマホ: 100%）
    -------------------------------------------------- */
    .rice-tbl-wrap {
      width: 100%;
      max-width: 570px;
      margin: 20px auto;
      padding: 0 4px;
      box-sizing: border-box;
      background-color: #ffffff;
    }
    .rice-tbl-wrap * {
      box-sizing: border-box;
    }

    /* --------------------------------------------------
       テーブル基本リセット & スタイル
    -------------------------------------------------- */
    .rice-tbl-wrap table.rice-tbl-main {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      border-collapse: separate !important;
      border-spacing: 0 !important;
      border: none !important;
      font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", "MS Mincho", serif !important;
      font-weight: bold !important;
      color: #000000 !important;
      table-layout: fixed !important;
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum";
      background-color: transparent !important;
    }

    /* 列幅比率 */
    .rice-tbl-wrap .rice-tbl-col-year    { width: 25%; }
    .rice-tbl-wrap .rice-tbl-col-planted { width: 24%; }
    .rice-tbl-wrap .rice-tbl-col-staple  { width: 23%; }
    .rice-tbl-wrap .rice-tbl-col-yield   { width: 28%; }

    /* --------------------------------------------------
       見出し（thead）
    -------------------------------------------------- */
    .rice-tbl-wrap .rice-tbl-main thead tr:first-child th {
      border-top: 4px double #000000 !important;
    }

    .rice-tbl-wrap .rice-tbl-main th {
      font-size: 15px;
      line-height: 1.25 !important;
      text-align: center;
      vertical-align: middle !important;
      padding: 6px 2px !important;
      background-color: #ffffff !important;
      color: #000000 !important;
      border: none;
    }

    .rice-tbl-wrap .rice-tbl-th-year {
      border-left: 3.5px solid transparent !important;
      border-right: 2.5px solid #000000 !important;
      border-bottom: 2.5px solid #000000 !important;
      letter-spacing: 0.2em;
      font-size: 16px;
    }

    .rice-tbl-wrap .rice-tbl-th-planted {
      border-bottom: 2.5px solid #000000 !important;
      font-size: 14px;
    }

    .rice-tbl-wrap .rice-tbl-th-staple-space {
      height: 28px;
      padding: 0 !important;
      border-bottom: none !important;
    }

    .rice-tbl-wrap .rice-tbl-th-staple {
      border-top: 1px solid #000000 !important;
      border-left: 1px solid #000000 !important;
      border-right: 1px solid #000000 !important;
      border-bottom: 2.5px solid #000000 !important;
      letter-spacing: 0.25em;
      font-size: 15px;
      padding: 7px 2px !important;
    }

    .rice-tbl-wrap .rice-tbl-th-yield {
      border-left: 1px solid #000000 !important;
      border-right: 3.5px solid transparent !important;
      border-bottom: 2.5px solid #000000 !important;
      font-size: 13.5px;
    }

    /* --------------------------------------------------
       データ行（tbody）共通
    -------------------------------------------------- */
    .rice-tbl-wrap .rice-tbl-main td {
      font-size: 15.5px;
      line-height: 1.25 !important;
      padding: 4.5px 0 !important;
      vertical-align: middle !important;
      color: #000000 !important;
      border: none;
      background-color: transparent;
    }

    /* 年産列（左端透明ボーダー＋右黒太線） */
    .rice-tbl-wrap .rice-tbl-main td.rice-tbl-td-year {
      text-align: center;
      border-left: 3.5px solid transparent !important;
      border-right: 2.5px solid #000000 !important;
    }

    /* 数値列（右揃え＋パディング） */
    .rice-tbl-wrap .rice-tbl-main td.rice-tbl-td-num {
      text-align: right;
      padding-right: 18px !important;
      letter-spacing: 0.02em;
    }

    /* 三点リーダー（…） */
    .rice-tbl-wrap .rice-tbl-main td.rice-tbl-td-dots {
      text-align: right;
      padding-right: 32px !important;
      letter-spacing: -0.05em;
    }

    /* 4列目（赤枠と同じ幅の透明右ボーダーを確保し桁ズレを完全防止） */
    .rice-tbl-wrap .rice-tbl-main td:last-child {
      border-right: 3.5px solid transparent !important;
    }

    /* 単位行（ha, ha, t） */
    .rice-tbl-wrap .rice-tbl-tr-unit td {
      font-size: 15px;
      padding: 3px 0 2px 0 !important;
      background-color: #ffffff !important;
    }
    .rice-tbl-wrap .rice-tbl-tr-unit td.rice-tbl-td-unit {
      text-align: right;
      padding-right: 18px !important;
    }

    /* 偶数行（若草色背景） */
    .rice-tbl-wrap tr.rice-tbl-bg-green td {
      background-color: #cfe5c7 !important;
    }

    /* --------------------------------------------------
       最下行（赤い枠線ハイライト）
    -------------------------------------------------- */
    .rice-tbl-wrap tr.rice-tbl-row-highlight td {
      background-color: #ffffff !important;
      border-top: 3.5px solid #e60012 !important;
      border-bottom: 3.5px solid #e60012 !important;
      padding-top: 6px !important;
      padding-bottom: 6px !important;
    }

    .rice-tbl-wrap tr.rice-tbl-row-highlight td.rice-tbl-td-year {
      border-left: 3.5px solid #e60012 !important;
      border-right: 2.5px solid #000000 !important;
      font-size: 14.5px;
      line-height: 1.15 !important;
    }

    .rice-tbl-wrap tr.rice-tbl-row-highlight td:last-child {
      border-right: 3.5px solid #e60012 !important;
    }

    /* --------------------------------------------------
       スマホ用レスポンシブ対応（570px以下）
    -------------------------------------------------- */
    @media screen and (max-width: 570px) {
      .rice-tbl-wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 4px !important;
      }

      .rice-tbl-wrap .rice-tbl-main th {
        font-size: 12px;
        padding: 4px 1px !important;
      }

      .rice-tbl-wrap .rice-tbl-th-year {
        font-size: 13px;
        letter-spacing: 0.1em;
        border-left-width: 2.5px !important;
      }

      .rice-tbl-wrap .rice-tbl-th-planted {
        font-size: 11px;
      }

      .rice-tbl-wrap .rice-tbl-th-staple-space {
        height: 20px;
      }

      .rice-tbl-wrap .rice-tbl-th-staple {
        font-size: 12px;
        letter-spacing: 0.1em;
        padding: 4px 1px !important;
      }

      .rice-tbl-wrap .rice-tbl-th-yield {
        font-size: 10.5px;
        border-right-width: 2.5px !important;
      }

      .rice-tbl-wrap .rice-tbl-tr-unit td {
        font-size: 12px;
        padding: 2px 0 1px 0 !important;
      }

      .rice-tbl-wrap .rice-tbl-main td {
        font-size: 12.5px;
        padding: 2px 0 !important;
      }

      .rice-tbl-wrap .rice-tbl-main td.rice-tbl-td-num {
        padding-right: 8px !important;
      }

      .rice-tbl-wrap .rice-tbl-main td.rice-tbl-td-dots {
        padding-right: 18px !important;
      }

      .rice-tbl-wrap .rice-tbl-tr-unit td.rice-tbl-td-unit {
        padding-right: 8px !important;
      }

      .rice-tbl-wrap .rice-tbl-main td.rice-tbl-td-year {
        border-left-width: 2.5px !important;
      }

      .rice-tbl-wrap .rice-tbl-main td:last-child {
        border-right-width: 2.5px !important;
      }

      .rice-tbl-wrap tr.rice-tbl-row-highlight td {
        border-top-width: 2.5px !important;
        border-bottom-width: 2.5px !important;
        padding-top: 4px !important;
        padding-bottom: 4px !important;
      }

      .rice-tbl-wrap tr.rice-tbl-row-highlight td.rice-tbl-td-year {
        border-left-width: 2.5px !important;
        font-size: 11.5px;
      }

      .rice-tbl-wrap tr.rice-tbl-row-highlight td:last-child {
        border-right-width: 2.5px !important;
      }
    }
	
	
	

    /* --------------------------------------------------
       表02　コンテナ & 全体フォント設定（表01と完全一致）
       ・PC: 570px / スマホ: 100%
    -------------------------------------------------- */
    .rice2-tbl-wrap {
      width: 100%;
      max-width: 570px;
      margin: 20px auto;
      padding: 0 4px;
      box-sizing: border-box;
      background-color: #ffffff;
    }

    /* 表01と同一の太字明朝体フォントを内側全体へ確実に強制適用 */
    .rice2-tbl-wrap,
    .rice2-tbl-wrap * {
      box-sizing: border-box;
      font-family: "Times New Roman", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", "MS Mincho", serif !important;
      font-weight: bold !important;
      color: #000000 !important;
    }

    /* --------------------------------------------------
       上部タイトル
    -------------------------------------------------- */
    .rice2-tbl-wrap .rice2-tbl-caption {
      text-align: center;
      font-size: 18px;
      line-height: 1.4 !important;
      margin-bottom: 8px;
      letter-spacing: 0.05em;
    }

    /* --------------------------------------------------
       テーブル基本リセット & スタイル（表01と同一設定）
    -------------------------------------------------- */
    .rice2-tbl-wrap table.rice2-tbl-main {
      width: 100% !important;
      max-width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      border-collapse: collapse !important;
      table-layout: fixed !important;
      background-color: #ffffff !important;
      /* 数字の幅を均一にして縦の桁揃えを保つ設定 */
      font-variant-numeric: tabular-nums;
      font-feature-settings: "tnum";
    }

    /* 列幅比率（全6列） */
    .rice2-tbl-wrap .rice2-col-year    { width: 16%; }
    .rice2-tbl-wrap .rice2-col-flour   { width: 16%; }
    .rice2-tbl-wrap .rice2-col-feed    { width: 18%; }
    .rice2-tbl-wrap .rice2-col-wcs     { width: 17%; }
    .rice2-tbl-wrap .rice2-col-other   { width: 16%; }
    .rice2-tbl-wrap .rice2-col-total   { width: 17%; }

    /* --------------------------------------------------
       セル共通設定（見出し・データ共通）
    -------------------------------------------------- */
    .rice2-tbl-wrap .rice2-tbl-main th,
    .rice2-tbl-wrap .rice2-tbl-main td {
      border: 1px solid #000000 !important;
      vertical-align: middle !important;
      line-height: 1.25 !important;
      background-color: #ffffff; /* 通常セルは白背景 */
    }

    /* ヘッダーセル（th） */
    .rice2-tbl-wrap .rice2-tbl-main th {
      font-size: 15px;
      text-align: center;
      padding: 6px 2px !important;
      white-space: nowrap;
    }

    /* データセル（td） */
    .rice2-tbl-wrap .rice2-tbl-main td {
      font-size: 15.5px;
      padding: 4.5px 0 !important;
    }

    /* 年（行見出し）列：中央揃え */
    .rice2-tbl-wrap .rice2-tbl-main td.rice2-td-year {
      text-align: center;
      letter-spacing: 0.05em;
    }

    /* 数値列：右揃え＋均一パディング */
    .rice2-tbl-wrap .rice2-tbl-main td.rice2-td-num {
      text-align: right;
      padding-right: 14px !important;
      letter-spacing: 0.02em;
    }

    /* --------------------------------------------------
       飼料用米 列（黄色下地 ＋ 太い赤枠ハイライト）
    -------------------------------------------------- */
    /* 背景を鮮やかな黄色にし、左右を太い赤枠で囲む */
    .rice2-tbl-wrap .rice2-tbl-main th.rice2-highlight-feed,
    .rice2-tbl-wrap .rice2-tbl-main td.rice2-highlight-feed {
      background-color: #ffd900 !important;
      border-left: 3.5px solid #e60012 !important;
      border-right: 3.5px solid #e60012 !important;
    }

    /* 赤枠の上端（ヘッダーの上辺） */
    .rice2-tbl-wrap .rice2-tbl-main th.rice2-highlight-feed {
      border-top: 3.5px solid #e60012 !important;
    }

    /* 赤枠の下端（最下行 R6の下辺） */
    .rice2-tbl-wrap .rice2-tbl-main tr:last-child td.rice2-highlight-feed {
      border-bottom: 3.5px solid #e60012 !important;
    }

    /* --------------------------------------------------
       下部出典（資料情報）
    -------------------------------------------------- */
    .rice2-tbl-wrap .rice2-tbl-footer {
      font-size: 13.5px;
      line-height: 1.4 !important;
      margin-top: 8px;

      text-align: left;
      letter-spacing: 0.03em;
    }

    /* --------------------------------------------------
       スマホ用レスポンシブ対応（570px以下）
    -------------------------------------------------- */
    @media screen and (max-width: 570px) {
      .rice2-tbl-wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 4px !important;
      }

      .rice2-tbl-wrap .rice2-tbl-caption {
        font-size: 14px;
        margin-bottom: 6px;
      }

      .rice2-tbl-wrap .rice2-tbl-main th {
        font-size: 11.5px;
        padding: 4px 1px !important;
      }

      .rice2-tbl-wrap .rice2-tbl-main td {
        font-size: 12px;
        padding: 3px 0 !important;
      }

      .rice2-tbl-wrap .rice2-tbl-main td.rice2-td-num {
        padding-right: 6px !important;
      }

      /* スマホ時の赤枠幅 */
      .rice2-tbl-wrap .rice2-tbl-main th.rice2-highlight-feed,
      .rice2-tbl-wrap .rice2-tbl-main td.rice2-highlight-feed {
        border-left-width: 2.5px !important;
        border-right-width: 2.5px !important;
      }
      .rice2-tbl-wrap .rice2-tbl-main th.rice2-highlight-feed {
        border-top-width: 2.5px !important;
      }
      .rice2-tbl-wrap .rice2-tbl-main tr:last-child td.rice2-highlight-feed {
        border-bottom-width: 2.5px !important;
      }

      .rice2-tbl-wrap .rice2-tbl-footer {
        font-size: 11px;
        margin-top: 6px;
      }
    }
 
