/* ViviCafe 機材レンタル予約 — 共通スタイル（スマホ優先） */
* { box-sizing: border-box; }
body { margin: 0; font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; font-size: 14px; line-height: 1.8; color: #333; background: #faf7f5; }
.wrap { max-width: 760px; margin: 0 auto; padding: 16px 12px 48px; }
h1 { font-size: 22px; margin: 8px 0 12px; }
h2 { font-size: 18px; margin: 0; }
h3 { font-size: 15px; margin: 18px 0 8px; }
.banner { background: #fdf0f4; border: 1px solid #eec3d0; border-radius: 8px; padding: 10px 12px; }
.steps-nav { color: #888; font-size: 12px; }
.step { background: #fff; border: 1px solid #e5ddd8; border-radius: 10px; padding: 14px; margin: 14px 0; }
.step-head { display: flex; justify-content: space-between; align-items: center; }
.step-summary { color: #555; padding-top: 6px; }
.change-btn { background: #fff; border: 1px solid #c84f74; color: #c84f74; border-radius: 6px; padding: 2px 12px; cursor: pointer; }
.next-btn, .submit-btn { display: block; width: 100%; margin-top: 16px; background: #c84f74; color: #fff; border: none; border-radius: 8px; padding: 12px; font-size: 15px; cursor: pointer; }
.submit-btn:disabled { background: #ccc; cursor: not-allowed; }
.notice { color: #c0392b; }
.pack-box { background: #fdf0f4; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.pack-badge { display: inline-block; background: #c84f74; color: #fff; border-radius: 999px; padding: 1px 12px; font-weight: bold; font-size: 13px; }
.pink-note { background: #fdf0f4; border: 1px solid #eec3d0; border-radius: 8px; padding: 8px 12px; margin: 8px 0; }
.eq-card { border: 1px solid #e5ddd8; border-radius: 8px; padding: 10px 12px; margin: 10px 0; }
.eq-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.model { color: #666; font-size: 12px; }
.price { color: #c84f74; font-weight: bold; }
.price-unset { color: #888; }
.soldout { color: #c0392b; font-weight: bold; }
.stepper { display: inline-flex; align-items: center; gap: 6px; }
.stepper button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid #c84f74; background: #fff; color: #c84f74; font-size: 16px; cursor: pointer; }
.stepper.small button { width: 28px; height: 28px; font-size: 14px; }
.stepper .unit { color: #666; }
.eq-options { margin-top: 8px; border-top: 1px dashed #e5ddd8; padding-top: 8px; }
.opt-title { font-weight: bold; font-size: 13px; color: #666; }
.opt-row { display: block; padding: 6px 0; }
.opt-row .stepper { float: right; }
.opt-note { color: #888; font-size: 12px; }
.toggle-btn { background: #fff; border: 1px solid #c84f74; color: #c84f74; border-radius: 6px; padding: 2px 10px; cursor: pointer; float: right; }
.flavor-list { clear: both; padding-top: 6px; }
.flavor-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }
.flavor-total { font-weight: bold; text-align: right; padding-top: 4px; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin: 8px 0; }
.cal-nav button { background: #fff; border: 1px solid #ccc; border-radius: 6px; padding: 4px 10px; cursor: pointer; }
table.cal { width: 100%; border-collapse: collapse; table-layout: fixed; }
table.cal th { font-size: 12px; color: #666; padding: 4px 0; }
table.cal td { border: 1px solid #eee; text-align: center; vertical-align: top; height: 58px; padding: 2px; cursor: pointer; background: #fff; }
table.cal td.sat .dnum { color: #2563eb; }
table.cal td.sun .dnum { color: #dc2626; }
table.cal td.dim { opacity: .35; }
table.cal td.selected { background: #fbdce6; outline: 2px solid #c84f74; }
table.cal td.full { background: #f3f3f3; color: #aaa; cursor: not-allowed; }
.badge { font-size: 10px; line-height: 1.3; }
.badge.hol { color: #dc2626; }
.badge.few { color: #ea8600; }
.badge.fullb { color: #aaa; }
.cal-note { color: #666; font-size: 12px; }
.radio-row { display: block; padding: 6px 0; }
label select, label input[type="text"], label input[type="tel"], label input[type="email"], label textarea {
  display: block; width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; margin-top: 2px; font-size: 14px;
}
.form-grid label { display: block; margin: 10px 0; }
.note-row { display: block; border: 1px solid #e5ddd8; border-radius: 8px; padding: 8px 10px; margin: 8px 0; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table td { padding: 4px 2px; border-bottom: 1px solid #f0e9e6; }
.price-table td.amt { text-align: right; white-space: nowrap; }
.price-table tr.total td { font-weight: bold; border-top: 2px solid #c84f74; }
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 50; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 10px; padding: 20px; max-width: 90%; width: 420px; }
footer { color: #888; font-size: 12px; margin-top: 24px; }

/* 管理画面 */
.admin-wrap { max-width: 980px; }
.res-card { border: 1px solid #e5ddd8; border-radius: 8px; padding: 10px 12px; margin: 10px 0; background: #fff; }
.status-chip { display: inline-block; border-radius: 999px; padding: 0 10px; font-size: 12px; background: #eee; }
.status-pending { background: #fef3c7; }
.status-awaiting_payment { background: #fde68a; }
.status-confirmed { background: #bbf7d0; }
.status-renting { background: #bfdbfe; }
.status-returned { background: #e5e7eb; }
.status-cancelled { background: #fecaca; }
.flag { display: inline-block; border: 1px solid #c84f74; color: #c84f74; border-radius: 999px; padding: 0 8px; font-size: 11px; margin-right: 4px; }
.btn { display: inline-block; background: #fff; border: 1px solid #999; border-radius: 6px; padding: 3px 12px; cursor: pointer; margin: 2px; font-size: 13px; }
.btn.primary { background: #c84f74; border-color: #c84f74; color: #fff; }
.btn.danger { border-color: #c0392b; color: #c0392b; }
table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td { border: 1px solid #e5ddd8; padding: 5px 8px; text-align: left; }
details.admin-detail { margin-top: 8px; }
.filter-chips .btn.active { background: #333; color: #fff; }
input[type="date"], input[type="number"], input[type="text"], select, textarea { font-size: 14px; }
