<!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>BMI 計算機</title> <style> .bmi-calculator { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; max-width: 500px; margin: 0 auto; background-color: #fff; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); overflow: hidden; } .bmi-header { background-color: #5D5CDE; color: white; padding: 15px; text-align: center; } .bmi-header h2 { margin: 0; font-size: 22px; } .bmi-content { padding: 20px; } .bmi-form-group { margin-bottom: 15px; } .bmi-form-group label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 500; } .bmi-input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; box-sizing: border-box; } .bmi-button { width: 100%; background-color: #5D5CDE; color: white; border: none; padding: 12px; font-size: 16px; font-weight: 500; border-radius: 4px; cursor: pointer; transition: background-color 0.2s; } .bmi-button:hover { background-color: #4a49b7; } .bmi-result { margin-top: 20px; text-align: center; display: none; } .bmi-value { font-size: 36px; font-weight: bold; color: #5D5CDE; margin: 10px 0; } .bmi-category { font-size: 22px; font-weight: bold; margin: 10px 0; } .bmi-footer { background-color: #f7f7f7; padding: 15px; font-size: 12px; color: #666; } .bmi-category-obese { color: #e53e3e;