* { box-sizing: border-box; } body { margin: 0; font-family: sans-serif; background: #f4f7f5; color: #222; -webkit-text-size-adjust: 100%; } header { padding: 12px 16px; background: #2e6b4f; color: #fff; } header h1 { margin: 0 0 4px; font-size: 1.4rem; } header p { margin: 0; font-size: 0.95rem; } .qr-link { display: inline-block; margin-top: 6px; color: #fff; font-size: 0.9rem; text-decoration: underline; } main { display: flex; flex-wrap: wrap; height: calc(100vh - 80px); min-height: 500px; } #map { flex: 1 1 500px; min-height: 400px; } aside { flex: 0 0 300px; padding: 14px; overflow-y: auto; background: #fff; border-left: 1px solid #ddd; } aside h2 { font-size: 1.1rem; margin: 12px 0 8px; } .hint { font-size: 0.9rem; color: #555; } form { display: flex; flex-direction: column; gap: 8px; } label { display: flex; flex-direction: column; gap: 4px; font-size: 0.9rem; } input, select { padding: 10px; font-size: 16px; border: 1px solid #bbb; border-radius: 6px; width: 100%; } button { padding: 12px; min-height: 44px; font-size: 1rem; background: #2e6b4f; color: #fff; border: none; border-radius: 6px; cursor: pointer; } button:hover { background: #245740; } #form-msg { font-size: 0.9rem; color: #c62828; margin: 0; } #zone-list { list-style: none; padding: 0; margin: 0; } #zone-list li { padding: 10px 0; border-bottom: 1px solid #eee; font-size: 0.92rem; } .badge { display: inline-block; padding: 2px 6px; border-radius: 4px; color: #fff; font-size: 0.8rem; margin-right: 4px; } .badge.nonsmoking { background: #2e7d32; } .badge.smoking { background: #c62828; } .qr-page { min-height: 100vh; } .qr-wrap { padding: 16px; } .qr-box { max-width: 360px; margin: 16px auto; padding: 20px; background: #fff; border-radius: 12px; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.08); } #qr img { width: 100%; max-width: 280px; height: auto; } #qr-url { word-break: break-all; font-size: 0.9rem; color: #555; } .qr-box button { width: 100%; margin-top: 12px; } @media (max-width: 700px) { header h1 { font-size: 1.2rem; } main { height: auto; min-height: 0; } #map { height: 60vh; min-height: 320px; flex-basis: 100%; } aside { flex-basis: 100%; overflow-y: visible; border-left: none; border-top: 1px solid #ddd; padding: 16px; } }