:root { --accent: #0b5fff; --danger: #c62828; --line: #d9dde3; --muted: #5b6470; --bg: #f7f8fa; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", sans-serif; line-height: 1.7; color: #1c2128; background: var(--bg); }
a { color: var(--accent); }
.site-header { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--line); }
.site-header > a { font-weight: 700; color: inherit; text-decoration: none; }
.site-header nav { display: flex; gap: 16px; }
main { max-width: 720px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.4rem; line-height: 1.4; }
h2 { font-size: 1.1rem; margin-top: 2em; }
.panel, .card, .facts, .form fieldset, .slots { background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.panel { padding: 16px; }
.cards, .slots { list-style: none; padding: 0; margin: 16px 0; }
.cards { display: grid; gap: 12px; border: 0; background: none; }
.card { display: grid; gap: 4px; padding: 16px; color: inherit; text-decoration: none; }
.card span { color: var(--muted); font-size: .9rem; }
.tag { justify-self: start; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; }
.slots li, .slot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.slots li:last-child, .slot:last-child { border-bottom: 0; }
.slot { align-items: center; justify-content: flex-start; }
.slot span:last-child { margin-left: auto; color: var(--muted); }
.slot.disabled { color: var(--muted); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; padding: 16px; margin: 16px 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.code { font-size: 1.5rem; font-weight: 700; letter-spacing: .05em; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 4px; font-weight: 600; }
.form fieldset { margin: 0; padding: 0; }
.form legend { padding: 0 8px; margin-left: 8px; font-weight: 600; }
.form .slot { font-weight: 400; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
input:not([type=radio]), select { width: 100%; padding: 10px 12px; font: inherit; border: 1px solid #9aa3af; border-radius: 6px; background: #fff; }
.button { display: inline-block; padding: 12px 24px; font: inherit; font-weight: 700; color: #fff; background: var(--accent); border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; }
.button.secondary { color: var(--accent); background: #fff; border: 1px solid var(--accent); }
.button.danger { background: var(--danger); }
.actions { margin: 12px 0; }
.notice { padding: 12px 16px; background: #eef4ff; border-radius: 8px; }
.errors { padding: 12px 16px 12px 32px; color: var(--danger); background: #fdecea; border-radius: 8px; }
.small { font-size: .85rem; color: var(--muted); }
.hero { width: 100%; border-radius: 8px; }
.site-footer { max-width: 720px; margin: 32px auto; padding: 16px; font-size: .9rem; border-top: 1px solid var(--line); }
main:has(.table) { max-width: 1100px; }
.table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
.table th, .table td { padding: 6px 10px; text-align: left; border: 1px solid var(--line); overflow-wrap: anywhere; }
.table tr.cancelled { color: var(--muted); text-decoration: line-through; }
.search { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.search input { flex: 1 1 240px; width: auto; }
