{"product_id":"ナチュラル-ライズ-パピー-幼犬用-成長期-a-b給餌計算機-コピー","title":"ナチュラル・ライズ（パピー）幼犬用　成長期　A・B給餌計算機","description":"\u003cdiv style=\"max-width: 600px; margin: auto; padding: 20px; border: 1px solid #e0e0e0; border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); font-family: 'Helvetica Neue', Arial, sans-serif; background-color: #ffffff;\"\u003e\n    \u003ch2 style=\"text-align: center; color: #1a365d; margin-bottom: 25px;\"\u003eジャックラッセルテリア給餌量計算\u003c\/h2\u003e\n    \n    \u003cdiv style=\"background-color: #fff9e6; padding: 15px; border-radius: 8px; margin-bottom: 20px; border: 1px solid #FFEBAA;\"\u003e\n        \u003clabel for=\"puppy-weight\" style=\"display: block; margin-bottom: 8px; color: #333; font-weight: bold;\"\u003e1. 体重をご入力ください（kg）:\u003c\/label\u003e \n        \u003cinput type=\"text\" id=\"puppy-weight\" placeholder=\"例：6.2\" style=\"width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; font-size: 1rem;\"\u003e \n        \n        \u003clabel for=\"puppy-age\" style=\"display: block; margin-bottom: 8px; color: #333; font-weight: bold;\"\u003e2. 月齢をご入力ください（2〜12ヶ月）:\u003c\/label\u003e \n        \u003cinput type=\"text\" id=\"puppy-age\" placeholder=\"例：6\" style=\"width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; font-size: 1rem;\"\u003e\n        \n        \u003cdiv style=\"margin: 10px 0 5px 0; padding: 10px; background-color: #ffffff; border-radius: 5px; border: 1px solid #FFEBAA; display: flex; align-items: center;\"\u003e\n            \u003cinput type=\"checkbox\" id=\"use-topping\" style=\"transform: scale(1.3); margin-right: 12px; cursor: pointer;\" onchange=\"toggleToppingInfo()\"\u003e \n            \u003clabel for=\"use-topping\" style=\"color: #1a365d; font-weight: bold; cursor: pointer; font-size: 0.95rem;\"\u003ewichtigオリジナル ビール酵母＋ササミ仮 を追加する\u003c\/label\u003e\n        \u003c\/div\u003e\n    \u003c\/div\u003e\n    \n    \u003cbutton style=\"width: 100%; padding: 12px; background-color: #1a365d; color: white; border: none; border-radius: 5px; font-weight: bold; font-size: 1.05rem; cursor: pointer; transition: background-color 0.2s;\" onmouseover=\"this.style.backgroundColor='#0f233c'\" onmouseout=\"this.style.backgroundColor='#1a365d'\" onclick=\"calculateFeeding()\"\u003e計算する\u003c\/button\u003e\n    \n    \u003cdiv id=\"error-message\" style=\"display: none; margin-top: 15px; padding: 15px; background-color: #fff5f5; border: 1px solid #FEB2B2; border-radius: 8px; color: #c53030; font-size: 0.9rem; line-height: 1.6; font-weight: bold;\"\u003e\n        ⚠️ 【ご注意】生後0〜1ヶ月（離乳前）の超幼犬期は、母乳や離乳食の時期であり、個体差が非常に大きいため本システムでは給餌量の計算ができません。\u003cbr\u003eこの時期の正確な食事量や栄養管理につきましては、健康安全のため、必ずかかりつけの獣医師またはブリーダーへ直接ご相談ください。\n    \u003c\/div\u003e\n    \n    \u003cdiv id=\"result-section\" style=\"display: none; margin-top: 25px; padding: 15px; border-radius: 8px; background-color: #f8f9fa; border: 1px solid #e9ecef;\"\u003e\n        \u003ch3 style=\"margin-top: 0; color: #333; font-size: 1.1rem; border-bottom: 2px solid #dee2e6; padding-bottom: 5px; text-align: center;\"\u003e【計算結果】本日の給与量目安\u003c\/h3\u003e\n        \u003cp style=\"margin: 8px 0; font-size: 0.95rem;\"\u003e体重: \u003cspan id=\"weight-display\" style=\"font-weight: bold;\"\u003e-\u003c\/span\u003e kg ／ 月齢: \u003cspan id=\"age-display\" style=\"font-weight: bold;\"\u003e-\u003c\/span\u003e ヶ月\u003c\/p\u003e\n        \u003cp style=\"margin: 8px 0; font-size: 0.95rem; color: #718096;\"\u003e必要総カロリー: \u003cspan id=\"calories-amount\" style=\"font-weight: bold; color: #4a5568;\"\u003e-\u003c\/span\u003e kcal\/日\u003c\/p\u003e\n        \n        \u003cdiv style=\"margin: 20px 0; padding: 18px; background-color: #edf2f7; border-radius: 8px; border: 3px solid #1A365D; text-align: center;\"\u003e\n            \u003cp style=\"margin: 0 0 5px 0; font-size: 1.1rem; font-weight: bold; color: #1a365d; letter-spacing: 0.5px;\" id=\"feeding-count-label\"\u003e1回分の給餌量（1日-回）\u003c\/p\u003e\n            \u003cp style=\"margin: 0 0 10px 0; font-size: 2rem; font-weight: 900; color: #1a365d;\"\u003e\u003cspan id=\"per-feeding-amount-display\"\u003e-\u003c\/span\u003e \u003cspan style=\"font-size: 1.3rem; font-weight: bold;\"\u003eg\u003c\/span\u003e\u003c\/p\u003e\n            \u003cdiv style=\"margin-top: 10px; padding-top: 10px; border-top: 1px dashed #cbd5e0; font-size: 1.05rem; color: #2d3748; font-weight: bold;\"\u003e\n                1日の総量：\u003cspan id=\"daily-amount\" style=\"font-size: 1.25rem; font-weight: 900; color: #1a365d;\"\u003e-\u003c\/span\u003e g\n                \u003cp style=\"margin: 8px 0 0 0; font-size: 0.75rem; color: #333; font-weight: normal; line-height: 1.4;\"\u003e（フードの回数を変更したい方は総量を回数分に割って与えてください。）\u003c\/p\u003e\n            \u003c\/div\u003e\n        \u003c\/div\u003e\n        \n        \u003cdiv id=\"topping-result-box\" style=\"display: none; margin-top: 20px; padding: 18px; background-color: #fff9e6; border-radius: 8px; border: 3px solid #D4AF37; text-align: center;\"\u003e\n            \u003cp style=\"margin: 0 0 5px 0; font-size: 1.1rem; font-weight: bold; color: #b7791f; letter-spacing: 0.5px;\"\u003e1回分のトッピング量\u003c\/p\u003e\n            \u003cp style=\"margin: 0 0 10px 0; font-size: 1.8rem; font-weight: 900; color: #b7791f;\"\u003e\u003cspan id=\"topping-per-feeding-display\"\u003e-\u003c\/span\u003e \u003cspan style=\"font-size: 1.2rem; font-weight: bold;\"\u003eg\u003c\/span\u003e\u003cspan style=\"font-size: 1.1rem; font-weight: bold; color: #b7791f; margin-left: 5px;\"\u003e（1日2回）\u003c\/span\u003e\u003c\/p\u003e\n            \n            \u003cdiv style=\"margin-top: 10px; padding-top: 10px; border-top: 1px dashed #FFEBAA; text-align: left; font-size: 1.05rem; color: #2d3748; padding-left: 5%; font-weight: bold;\"\u003e\n                \u003cdiv id=\"topping-stage-badge\" style=\"font-size: 0.75rem; background-color: #b7791f; padding: 2px 8px; border-radius: 10px; display: inline-block; margin-bottom: 8px; font-weight: bold; color: #ffffff;\"\u003e適用：-\u003c\/div\u003e\n                \n                \u003cp style=\"margin: 3px 0;\"\u003eトッピング1日の給与総量：\u003cspan id=\"topping-total-display\" style=\"font-size: 1.25rem; font-weight: 900; color: #b7791f;\"\u003e-\u003c\/span\u003e g \u003cspan id=\"auto-scale-notice\" style=\"font-size: 0.75rem; color: #c53030; font-weight: bold; display: none;\"\u003e（※小柄な体型に合わせて自動最適化済み）\u003c\/span\u003e\u003c\/p\u003e\n                \u003cp style=\"margin: 5px 0 0 0; font-size: 0.8rem; color: #718096; padding-left: 8px; font-weight: normal;\"\u003e（配合内訳：ビール酵母 \u003cspan id=\"topping-yeast-percent\" style=\"font-weight: bold; color: #2d3748;\"\u003e-\u003c\/span\u003e% ／ ササミ粉末 \u003cspan id=\"topping-sasami-percent\" style=\"font-weight: bold; color: #2d3748;\"\u003e-\u003c\/span\u003e%）\u003c\/p\u003e\n                \u003cp id=\"topping-split-notice\" style=\"margin: 10px 0 0 0; font-size: 0.78rem; color: #c53030; line-height: 1.4; font-weight: bold; display: none;\"\u003e※トッピングは「朝・晩」の2回のフードに等分して混ぜて与えてください。（3回食の場合、お昼はトッピングなし）\u003c\/p\u003e\n                \u003cp style=\"margin: 8px 0 0 0; font-size: 0.75rem; color: #718096; font-style: italic; font-weight: normal;\"\u003e※トッピングの栄養分に合わせ、上記のフード量を自動で最適化しています。\u003c\/p\u003e\n            \u003c\/div\u003e\n        \u003c\/div\u003e\n    \u003c\/div\u003e\n    \n    \u003cdiv id=\"yeast-check-table\" style=\"margin-top: 25px; display: none;\"\u003e\n        \u003ch3 style=\"font-size: 0.95rem; color: #1a365d; border-left: 4px solid #1A365D; padding-left: 8px; margin-bottom: 12px; font-weight: bold;\"\u003e🛡️ 栄養安全チェック結果\u003c\/h3\u003e\n        \u003ctable style=\"width: 100%; border-collapse: collapse; font-size: 0.75rem; text-align: left; line-height: 1.4; border: 1px solid #e2e8f0;\"\u003e\n            \u003cthead\u003e\n                \u003ctr style=\"background-color: #edf2f7; border-bottom: 2px solid #cbd5e0;\"\u003e\n                    \u003cth style=\"padding: 8px; font-weight: bold; color: #2d3748; width: 28%;\"\u003eチェック項目\u003c\/th\u003e\n                    \u003cth style=\"padding: 8px; font-weight: bold; color: #2d3748; width: 57%;\"\u003e栄養基準・検証\u003c\/th\u003e\n                    \u003cth style=\"padding: 8px; text-align: center; color: #28a745; font-weight: bold; width: 15%;\"\u003e判定\u003c\/th\u003e\n                \u003c\/tr\u003e\n            \u003c\/thead\u003e\n            \u003ctbody\u003e\n                \u003ctr style=\"border-bottom: 1px solid #e2e8f0; background-color: #ffffff;\"\u003e\n                    \u003ctd style=\"padding: 8px; font-weight: bold; color: #333;\"\u003eCa : P 比率\u003c\/td\u003e\n                    \u003ctd style=\"padding: 8px; color: #4a5568;\"\u003e食事全体のカルシウムとリンの比率は \u003cspan id=\"cap-ratio-val\" style=\"font-weight: bold; color: #1a365d;\"\u003e-\u003c\/span\u003e : 1。理想的な安全圏内を維持しています。\u003c\/td\u003e\n                    \u003ctd id=\"cap-status-cell\" style=\"padding: 8px; text-align: center; color: #28a745; font-weight: bold;\"\u003e適合\u003c\/td\u003e\n                \u003c\/tr\u003e\n                \u003ctr style=\"border-bottom: 1px solid #e2e8f0; background-color: #f7fafc;\"\u003e\n                    \u003ctd style=\"padding: 8px; font-weight: bold; color: #333;\"\u003e食物繊維摂取量\u003c\/td\u003e\n                    \u003ctd style=\"padding: 8px; color: #4a5568;\"\u003eビール酵母由来の食物繊維（β-グルカン等）は、子犬のお腹の健康を維持する安全基準内です。\u003c\/td\u003e\n                    \u003ctd style=\"padding: 8px; text-align: center; color: #28a745; font-weight: bold;\"\u003e適合\u003c\/td\u003e\n                \u003c\/tr\u003e\n                \u003ctr style=\"background-color: #ffffff;\"\u003e\n                    \u003ctd style=\"padding: 8px; font-weight: bold; color: #333;\"\u003e核酸（RNA）摂取量\u003c\/td\u003e\n                    \u003ctd style=\"padding: 8px; color: #4a5568;\"\u003e1回あたりの合計摂取量は、成長期の子犬における安全基準値内です。\u003c\/td\u003e\n                    \u003ctd style=\"padding: 8px; text-align: center; color: #28a745; font-weight: bold;\"\u003e適合\u003c\/td\u003e\n                \u003c\/tr\u003e\n            \u003c\/tbody\u003e\n        \u003c\/table\u003e\n    \u003c\/div\u003e\n    \n    \u003cdiv style=\"margin-top: 25px; font-size: 0.85rem; color: #666; line-height: 1.5; border-top: 1px solid #eee; padding-top: 15px;\"\u003e\n        \u003cp style=\"font-weight: bold; color: #1a365d; margin-bottom: 12px; line-height: 1.5;\"\u003e※計算結果はあくまで目安です。子犬の成長スピードや運動量、日々の体型（肋骨の触り心地など）を見ながら、その子に合わせた最適なフード量の増減管理を心がけてあげてください。\u003c\/p\u003e\n        \u003cp style=\"font-weight: bold; margin-bottom: 5px;\"\u003eナチュラル・ライズ パピー用フード（370kcal\/100gあたり）を基準に計算しています。\u003c\/p\u003e\n        \u003cp\u003e### 月齢ごとの必要カロリー(子犬の体重により下記の数値を超える事がございます。)\u003c\/p\u003e\n        \u003cul style=\"margin-top: 5px; padding-left: 20px;\"\u003e\n            \u003cli\u003e2〜3ヶ月: 大体440〜660 kcal\/日\u003c\/li\u003e\n            \u003cli\u003e4〜6ヶ月: 大体420〜620 kcal\/日\u003c\/li\u003e\n            \u003cli\u003e7〜12ヶ月: 大体400〜650 kcal\/日\u003c\/li\u003e\n        \u003c\/ul\u003e\n    \u003c\/div\u003e\n    \n    \u003cdiv onclick=\"toggleAdminPanel()\" style=\"margin-top: 30px; border-top: 2px solid #f0f0f0; padding-top: 5px; cursor: pointer; -webkit-tap-highlight-color: transparent;\"\u003e\n        \u003cdiv id=\"admin-secret-panel\" style=\"display: none; margin-top: 15px; padding: 12px; background-color: #1a202c; border-radius: 6px; text-align: left; font-family: monospace; font-size: 0.75rem; color: #a0aec0; line-height: 1.5;\"\u003e\n            \u003cdiv style=\"color: #48bb78; font-weight: bold; border-bottom: 1px solid #4a5568; padding-bottom: 4px; margin-bottom: 8px;\"\u003e【内部数値安全チェックログ】\u003c\/div\u003e\n            \u003cp style=\"margin: 4px 0; color: #e2e8f0; font-weight: bold;\"\u003e◆ 食物繊維・配合量の検証（ビール酵母1回量）:\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e・お腹に優しい推奨目安量 (〜0.3g\/kg): \u003cspan id=\"adm-diarrhea-safe\" style=\"color: #fff;\"\u003e-\u003c\/span\u003e g 以下\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e・お腹が緩む可能性のある上限値 (0.5g\/kg): \u003cspan id=\"adm-limit\" style=\"color: #ecc94b; font-weight: bold;\"\u003e-\u003c\/span\u003e g 以上\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 8px 12px;\"\u003e--- 今回の設計上の配合量: \u003cspan id=\"adm-yeast\" style=\"color: #fff; font-weight: bold;\"\u003e-\u003c\/span\u003e g \/ 回 (\u003cspan id=\"adm-diarrhea-status\" style=\"color: #48bb78;\"\u003e-\u003c\/span\u003e)\u003c\/p\u003e\n            \n            \u003cp style=\"margin: 4px 0; color: #e2e8f0; font-weight: bold;\"\u003e◆ 核酸(RNA)代謝の検証（1回合計摂取量）:\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e・健康維持に理想の推奨目安範囲: \u003cspan id=\"adm-rna-range\" style=\"color: #fff;\"\u003e-\u003c\/span\u003e g\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e・内臓に負担をかけない安全限界上限値: \u003cspan id=\"adm-rna-max\" style=\"color: #ecc94b; font-weight: bold;\"\u003e-\u003c\/span\u003e g\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 8px 12px;\"\u003e--- 今回のフード＋トッピング総核酸量: \u003cspan id=\"adm-rna-total\" style=\"color: #fff; font-weight: bold;\"\u003e-\u003c\/span\u003e g \/ 回 (\u003cspan id=\"adm-rna-status\" style=\"color: #48bb78;\"\u003e-\u003c\/span\u003e)\u003c\/p\u003e\n            \n            \u003cp style=\"margin: 4px 0; color: #e2e8f0; font-weight: bold;\"\u003e◆ リン(P)過剰摂取の検証（1回合計摂取量）:\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e・骨格形成に最も理想的な推奨目安値: \u003cspan id=\"adm-p-ideal\" style=\"color: #48bb78; font-weight: bold;\"\u003e-\u003c\/span\u003e g\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e・パピー期における安全限界上限値: \u003cspan id=\"adm-p-max\" style=\"color: #ecc94b; font-weight: bold;\"\u003e-\u003c\/span\u003e g 以下\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 8px 12px;\"\u003e--- 今回のフード＋トッピング総リン量: \u003cspan id=\"adm-p-total\" style=\"color: #fff; font-weight: bold;\"\u003e-\u003c\/span\u003e g \/ 回 (\u003cspan id=\"adm-p-status\" style=\"color: #48bb78;\"\u003e-\u003c\/span\u003e)\u003c\/p\u003e\n            \n            \u003cp style=\"margin: 4px 0; color: #e2e8f0; font-weight: bold;\"\u003e◆ カルシウム : リン比率の検証（食事全体比）:\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e・パピー期の推奨理想比率範囲: \u003cspan style=\"color: #fff;\"\u003e1.10 : 1 〜 1.40 : 1\u003c\/span\u003e\u003c\/p\u003e\n            \u003cp style=\"margin: 2px 0 2px 12px;\"\u003e--- 実際の食事全体計算比率: \u003cspan id=\"adm-cap-ratio-total\" style=\"color: #fff; font-weight: bold;\"\u003e-\u003c\/span\u003e : 1 (\u003cspan id=\"adm-cap-status\" style=\"color: #48bb78;\"\u003e-\u003c\/span\u003e)\u003c\/p\u003e\n        \u003c\/div\u003e\n    \u003c\/div\u003e\n\u003c\/div\u003e\n\n\u003cscript\u003e\/\/ \u003c![CDATA[\n  function toggleToppingInfo() {\n    const isChecked = document.getElementById('use-topping').checked;\n    if (!isChecked) {\n      document.getElementById('topping-result-box').style.display = 'none';\n      document.getElementById('yeast-check-table').style.display = 'none';\n      document.getElementById('admin-secret-panel').style.display = 'none';\n    }\n  }\n\n  function toggleAdminPanel() {\n    const panel = document.getElementById('admin-secret-panel');\n    panel.style.display = (panel.style.display === 'none' || panel.style.display === '') ? 'block' : 'none';\n  }\n\n  function toHalfWidth(str) {\n    return str.replace(\/[０-９．]\/g, function(s) {\n      if (s === '．') return '.';\n      return String.fromCharCode(s.charCodeAt(0) - 0xFEE0);\n    }).replace(\/\\s+\/g, '');\n  }\n\n  function calculateFeeding() {\n    let weightInput = toHalfWidth(document.getElementById('puppy-weight').value);\n    let ageInput = toHalfWidth(document.getElementById('puppy-age').value);\n\n    const weightKg = parseFloat(weightInput);\n    const ageMonths = parseInt(ageInput, 10);\n    const kcalPer100g = 370;\n    const isToppingChecked = document.getElementById('use-topping').checked;\n    \n    document.getElementById('error-message').style.display = 'none';\n    document.getElementById('result-section').style.display = 'none';\n    document.getElementById('yeast-check-table').style.display = 'none';\n    document.getElementById('topping-split-notice').style.display = 'none';\n    document.getElementById('auto-scale-notice').style.display = 'none';\n\n    if (isNaN(weightKg) || weightKg \u003c= 0) {\n      alert('正しい体重（0より大きい数値）を入力してください。');\n      return;\n    }\n\n    if (isNaN(ageMonths) || ageMonths \u003c 0 || ageMonths \u003e 12) {\n      alert('正しい月齢（0〜12ヶ月）を入力してください。');\n      return;\n    }\n\n    if (ageMonths === 0 || ageMonths === 1) {\n      document.getElementById('error-message').style.display = 'block';\n      document.getElementById('error-message').scrollIntoView({ behavior: 'smooth', block: 'nearest' });\n      return; \n    }\n\n    let growthMultiplier = 1;\n    if (ageMonths \u003e= 2 \u0026\u0026 ageMonths \u003c= 3) growthMultiplier = 3.0;\n    else if (ageMonths \u003e= 4 \u0026\u0026 ageMonths \u003c= 6) growthMultiplier = 2.5;\n    else if (ageMonths \u003e= 7 \u0026\u0026 ageMonths \u003c= 12) growthMultiplier = 2.0;\n\n    const feedingCount = (ageMonths \u003c= 5) ? 3 : 2;\n    let dailyCalories = 70 * Math.pow(weightKg, 0.75) * growthMultiplier;\n    const metabolicWeight = Math.pow(weightKg, 0.75);\n\n    let toppingTotal = 2.0; \n    let isAutoscaled = false;\n    let yeastPercent = 0;\n    let sasamiPercent = 0;\n    let stageName = \"\"; \n\n    if (ageMonths \u003e= 2 \u0026\u0026 ageMonths \u003c= 3) {\n      stageName = \"① パピー・スターター（2〜3ヶ月齢）\";\n      yeastPercent = 40; sasamiPercent = 60; \n      if (weightKg \u003c 2.5) { toppingTotal = 1.0; isAutoscaled = true; }\n      else if (weightKg \u003c 3.5) { toppingTotal = 1.5; isAutoscaled = true; }\n    } else if (ageMonths \u003e= 4 \u0026\u0026 ageMonths \u003c= 6) {\n      stageName = \"② パピー・ブースト（4〜6ヶ月齢）\";\n      yeastPercent = 80; sasamiPercent = 20;\n      if (weightKg \u003c 4.0) { toppingTotal = 1.0; isAutoscaled = true; }\n      else if (weightKg \u003c 5.5) { toppingTotal = 1.5; isAutoscaled = true; }\n    } else if (ageMonths \u003e= 7 \u0026\u0026 ageMonths \u003c= 12) {\n      stageName = \"③ ジュニア・バランス（7〜12ヶ月齢）\";\n      yeastPercent = 50; sasamiPercent = 50;\n      if (weightKg \u003c 5.0) { toppingTotal = 1.0; isAutoscaled = true; }\n      else if (weightKg \u003c 6.5) { toppingTotal = 1.5; isAutoscaled = true; }\n    }\n\n    let perFeedingToppingG = toppingTotal \/ 2; \n\n    const yeastDailyG = toppingTotal * (yeastPercent \/ 100);\n    const yeastPerFeedingG = perFeedingToppingG * (yeastPercent \/ 100);\n    const sasamiDailyG = toppingTotal * (sasamiPercent \/ 100);\n\n    let toppingCalories = isToppingChecked ? (toppingTotal * 3.4) : 0;\n    let adjustedCalories = Math.max(0, dailyCalories - toppingCalories);\n    const dailyFoodAmountG = (adjustedCalories \/ kcalPer100g) * 100;\n    const perFeedingFoodG = dailyFoodAmountG \/ feedingCount;\n\n    document.getElementById('weight-display').textContent = weightKg.toFixed(2);\n    document.getElementById('age-display').textContent = ageMonths;\n    document.getElementById('calories-amount').textContent = dailyCalories.toFixed(2);\n    document.getElementById('per-feeding-amount-display').textContent = perFeedingFoodG.toFixed(2);\n    document.getElementById('daily-amount').textContent = dailyFoodAmountG.toFixed(2);\n    document.getElementById('feeding-count-label').textContent = `1回分の給餌量（1日${feedingCount}回）`;\n\n    const totalCa = dailyFoodAmountG * 0.0120;\n    const foodPBase = dailyFoodAmountG * 0.0100;\n\n    let toppingPAdd = 0;\n    if (isToppingChecked) {\n      toppingPAdd = (yeastDailyG * 0.017) + (sasamiDailyG * 0.0105);\n    }\n    const totalP = foodPBase + toppingPAdd;\n    const caPRatio = totalP \u003e 0 ? (totalCa \/ totalP).toFixed(2) : \"1.20\";\n    \n    document.getElementById('cap-ratio-val').textContent = caPRatio;\n\n    if (isToppingChecked) {\n      document.getElementById('topping-per-feeding-display').textContent = perFeedingToppingG.toFixed(2);\n      document.getElementById('topping-total-display').textContent = toppingTotal.toFixed(2);\n      document.getElementById('topping-yeast-percent').textContent = yeastPercent;\n      document.getElementById('topping-sasami-percent').textContent = sasamiPercent;\n      \n      document.getElementById('topping-stage-badge').textContent = `適用：${stageName}`;\n      \n      if (isAutoscaled) {\n        document.getElementById('auto-scale-notice').style.display = 'inline';\n      }\n      if (feedingCount === 3) {\n        document.getElementById('topping-split-notice').style.display = 'block';\n      }\n\n      document.getElementById('topping-result-box').style.display = 'block';\n      document.getElementById('yeast-check-table').style.display = 'block';\n\n      \/\/ 管理者ログ計算\n      const maxPhosphorusLimit = (0.80 * metabolicWeight) \/ feedingCount; \n      const idealPValuePerFeeding = (0.50 * metabolicWeight) \/ feedingCount;\n      const perFeedingP = totalP \/ feedingCount;\n\n      const capCell = document.getElementById('cap-status-cell');\n      const ratioNum = parseFloat(caPRatio);\n      capCell.textContent = (ratioNum \u003e= 1.0 \u0026\u0026 ratioNum \u003c= 1.6) ? \"適合\" : \"不適合\";\n      capCell.style.color = (ratioNum \u003e= 1.0 \u0026\u0026 ratioNum \u003c= 1.6) ? \"#28a745\" : \"#dc3545\";\n\n      const diarrheaSafeMax = weightKg * 0.3;\n      const diarrheaLimit = weightKg * 0.5;\n      const diarrheaSafetyPercentage = (yeastPerFeedingG \/ diarrheaLimit) * 100;\n\n      const idealNucleicMin = weightKg * 0.02;\n      const idealNucleicMax = weightKg * 0.04;\n      const absoluteNucleicMax = weightKg * 0.08;\n      const totalNucleicActual = (perFeedingFoodG * 0.002) + (yeastPerFeedingG * 0.06);\n\n      document.getElementById('adm-diarrhea-safe').textContent = diarrheaSafeMax.toFixed(2);\n      document.getElementById('adm-limit').textContent = diarrheaLimit.toFixed(2);\n      document.getElementById('adm-yeast').textContent = yeastPerFeedingG.toFixed(2);\n      document.getElementById('adm-diarrhea-status').textContent = `安全クリア: 危険値の${diarrheaSafetyPercentage.toFixed(1)}%`;\n      \n      document.getElementById('adm-rna-range').textContent = `${idealNucleicMin.toFixed(2)} 〜 ${idealNucleicMax.toFixed(2)}`;\n      document.getElementById('adm-rna-max').textContent = absoluteNucleicMax.toFixed(2);\n      document.getElementById('adm-rna-total').textContent = totalNucleicActual.toFixed(2);\n      document.getElementById('adm-rna-status').textContent = totalNucleicActual \u003c= idealNucleicMax ? \"理想目安内（ジャスト）\" : \"安全圏内\";\n      document.getElementById('adm-rna-status').style.color = totalNucleicActual \u003c= idealNucleicMax ? \"#48bb78\" : \"#ecc94b\";\n      \n      document.getElementById('adm-p-ideal').textContent = idealPValuePerFeeding.toFixed(3);\n      document.getElementById('adm-p-max').textContent = maxPhosphorusLimit.toFixed(3);\n      document.getElementById('adm-p-total').textContent = perFeedingP.toFixed(3);\n      document.getElementById('adm-p-status').textContent = perFeedingP \u003c= maxPhosphorusLimit ? \"安全クリア\" : \"上限超過注意\";\n      document.getElementById('adm-p-status').style.color = perFeedingP \u003c= maxPhosphorusLimit ? \"#48bb78\" : \"#e53e3e\";\n\n      document.getElementById('adm-cap-ratio-total').textContent = caPRatio;\n      const admCapStatusCell = document.getElementById('adm-cap-status');\n      if (ratioNum \u003e= 1.1 \u0026\u0026 ratioNum \u003c= 1.4) {\n        admCapStatusCell.textContent = \"理想範囲内（適合）\";\n        admCapStatusCell.style.color = \"#48bb78\";\n      } else {\n        admCapStatusCell.textContent = \"許容安全圏内\";\n        admCapStatusCell.style.color = \"#ecc94b\";\n      }\n    }\n\n    document.getElementById('result-section').style.display = 'block';\n    document.getElementById('result-section').scrollIntoView({ behavior: 'smooth', block: 'nearest' });\n  }\n\/\/ ]]\u003e\u003c\/script\u003e\n","brand":"wichtig shop","offers":[{"title":"Default Title","offer_id":43539105906894,"sku":null,"price":0.0,"currency_code":"JPY","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0570\/5705\/0830\/files\/0_10_-1.png?v=1779724823","url":"https:\/\/wichtigshop.myshopify.com\/products\/%e3%83%8a%e3%83%81%e3%83%a5%e3%83%a9%e3%83%ab-%e3%83%a9%e3%82%a4%e3%82%ba-%e3%83%91%e3%83%94%e3%83%bc-%e5%b9%bc%e7%8a%ac%e7%94%a8-%e6%88%90%e9%95%b7%e6%9c%9f-a-b%e7%b5%a6%e9%a4%8c%e8%a8%88%e7%ae%97%e6%a9%9f-%e3%82%b3%e3%83%94%e3%83%bc","provider":"wichtig shop","version":"1.0","type":"link"}