/* 給与計算サイト 初版スタイル（シンプル版） */
* { box-sizing: border-box; }
body { margin: 0; font-family: "Hiragino Sans", "Yu Gothic", sans-serif; color: #333; background: #fdf7f9; }
.topbar { display: flex; justify-content: space-between; align-items: center; background: #b5527d; color: #fff; padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
.topbar .brand { font-weight: bold; }
.topbar nav a { color: #fff; margin-left: 12px; text-decoration: none; font-size: 14px; }
.container { max-width: 1080px; margin: 0 auto; padding: 16px; }
.container.narrow { max-width: 480px; }
h1 { font-size: 22px; color: #8c3a5f; }
h2 { font-size: 17px; color: #8c3a5f; margin-top: 0; }
.card { background: #fff; border: 1px solid #ecd3de; border-radius: 10px; padding: 16px; margin-bottom: 16px; }
.card.inline { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
form.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; align-items: end; }
label { display: block; font-size: 13px; color: #555; }
label.check { display: flex; gap: 6px; align-items: center; }
input, select { width: 100%; padding: 7px; margin-top: 4px; border: 1px solid #ccc; border-radius: 6px; font-size: 15px; }
input[type="checkbox"] { width: auto; }
input[type="file"] { border: none; }
button { background: #b5527d; color: #fff; border: none; border-radius: 6px; padding: 9px 18px; font-size: 15px; cursor: pointer; }
button:hover { background: #9c4269; }
table.list, table.slip-table, table.slip-head { width: 100%; border-collapse: collapse; background: #fff; margin-bottom: 16px; font-size: 14px; }
table.list th, table.list td, table.slip-table th, table.slip-table td, table.slip-head th, table.slip-head td { border: 1px solid #e3c6d2; padding: 7px; text-align: left; }
table.list th, table.slip-table th, table.slip-head th { background: #f9e8ef; }
.notice { background: #e7f6ec; border: 1px solid #9fd3ae; padding: 10px; border-radius: 8px; }
.error { background: #fdeaea; border: 1px solid #e5a3a3; padding: 10px; border-radius: 8px; }
.warn { color: #b3261e; font-weight: bold; }
.muted { color: #777; font-size: 13px; }
.net { font-size: 18px; }
.slip h2 { margin-top: 20px; }
@media print {
  .topbar, .no-print { display: none; }
  body { background: #fff; }
}
