/* Miyabi Aquarium: 本文を画面内に収める */
#contents { min-width: 0; }
#wikibody { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
#wikibody table { width: 100%; max-width: 100%; table-layout: fixed; box-sizing: border-box; }
#wikibody th, #wikibody td { white-space: normal !important; overflow-wrap: anywhere; word-break: normal; vertical-align: top; box-sizing: border-box; }
#wikibody img { max-width: 100% !important; height: auto !important; box-sizing: border-box; }
#wikibody pre { white-space: pre-wrap; overflow-wrap: anywhere; }
#wikibody .atwiki-region { max-width: 100%; }
/* 品種モデルの画像を見やすく配置 */
#wikibody table:has(img[src*="/breed_goldfish_"]) td:first-child { width:25%; }
#wikibody table:has(img[src*="/breed_goldfish_"]) td:nth-child(2), #wikibody table:has(img[src*="/breed_goldfish_"]) td:nth-child(3) { width:12%; }
#wikibody table:has(img[src*="/breed_goldfish_"]) td:nth-child(4) { width:51%; }
#wikibody table:has(img[src*="/breed_koi_"]) td:first-child { width:25%; }
#wikibody table:has(img[src*="/breed_koi_"]) td:nth-child(2) { width:75%; }
#wikibody table:has(img[src*="/breed_"]) td:first-child { text-align:center; }
