/* ushinohi-yoyaku common styles — Codebase-inspired, flex only */

/* === Design Tokens === */
:root {
  /* Colors */
  --c-primary: #0284c7;
  --c-primary-hover: #0369a1;
  --c-primary-soft: #e0f2fe;
  --c-accent: #32a67f;

  --c-text: #2c3034;
  --c-text-muted: #6c757d;
  --c-text-subtle: #98a2b3;
  --c-text-inverse: #f8fafc;

  --c-surface: #f6f7f9;
  --c-card: #ffffff;
  --c-sidebar: #1f2937;
  --c-sidebar-hover: #374151;
  --c-sidebar-active: #0284c7;

  --c-border: #e4e7ed;
  --c-border-strong: #cbd5e1;
  --c-border-dark: rgba(255, 255, 255, 0.08);

  --c-success: #198754;
  --c-success-soft: #d1fae5;
  --c-warning: #c78b1b;
  --c-warning-soft: #fef3c7;
  --c-danger: #b91c1c;
  --c-danger-soft: #fee2e2;

  --c-brand: #191b39;   /* うなぎ屋おのぎ ブランド (ネイビー) */
  --c-brand-soft: #2a2d52;
  --c-accent-red: #c33c31;   /* アクセント (赤) */
  --c-gold: #B79447;          /* アクセント (金) */
  --c-gold-soft: #d1b784;

  /* Radius */
  --r-sm: 4px;
  --r-md: 6px;
  --r-lg: 10px;
  --r-xl: 16px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-md: 0 1px 3px rgba(17, 24, 39, 0.06), 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-lg: 0 8px 24px rgba(17, 24, 39, 0.08);

  /* Spacing */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-7: 32px; --sp-8: 48px;

  /* Motion */
  --dur-fast: 120ms;
  --dur-base: 200ms;

  /* Sidebar */
  --sidebar-w: 240px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-surface);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-hover); text-decoration: underline; }

h1, h2, h3 { margin: 0 0 var(--sp-3); font-weight: 600; color: var(--c-text); letter-spacing: -0.01em; }
h1 { font-size: 24px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }

code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: var(--r-sm);
  font-size: 0.9em;
  font-family: "SF Mono", Menlo, monospace;
}

small { font-size: 12.5px; color: var(--c-text-muted); }

:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: 3px;
}

/* === Flash messages === */
.flash {
  padding: 12px 16px;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-4);
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
}
.flash-success { background: var(--c-success-soft); color: #065f46; border-color: #6ee7b7; }
.flash-error   { background: var(--c-danger-soft);  color: #991b1b; border-color: #fca5a5; }
.flash-info    { background: var(--c-primary-soft); color: #075985; border-color: #7dd3fc; }

/* === Landing === */
.landing-main {
  max-width: 640px;
  margin: 80px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

/* === Reserve (public) — うなぎ屋おのぎ ネイビー × ゴールド === */
body.reserve {
  background: #f7f6f1;
  min-height: 100vh;
}

.reserve-header {
  background: #191b39;
  color: #fff;
  padding: 36px 24px 40px;
  text-align: center;
  border-bottom: 4px solid #B79447;
}
.reserve-header-inner { max-width: 720px; margin: 0 auto; }
.reserve-header-mark {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 12.5px;
  letter-spacing: 0.3em;
  padding: 4px 14px;
  border: 1px solid #B79447;
  color: #d1b784;
  border-radius: 999px;
  margin-bottom: 14px;
  text-indent: 0.3em;
}
.reserve-header h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  color: #fff;
  font-size: 28px;
  margin: 0;
  letter-spacing: 0.08em;
}
.reserve-header-sub { margin: 6px 0 0; font-size: 13.5px; opacity: 0.85; letter-spacing: 0.16em; }

.reserve-main {
  max-width: 720px;
  margin: 36px auto 120px;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* form 内のセクション間スペース */
#reserve-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.section {
  background: var(--c-card);
  padding: 28px 28px 24px;
  border-radius: var(--r-lg);
  border: 1px solid #e7e5db;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece9dd;
}
.section-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--c-brand);
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 13px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}
.section h2 {
  font-size: 19px;
  margin: 0;
  color: #2a1a1a;
  letter-spacing: 0.04em;
  border: none;
  padding: 0;
  font-weight: 700;
}
.section-help { font-size: 13px; color: var(--c-text-muted); margin: -4px 0 4px; }
.section-help.small { font-size: 12px; }

/* 日付カード */
.date-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.date-card {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: #fafafa;
  border: 2px solid #e3e1d4;
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--dur-fast);
  position: relative;
}
.date-card input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.date-card:hover { border-color: #B79447; background: #f7f3e4; }
.date-card.is-selected,
.date-card:has(input:checked) {
  border-color: #191b39;
  background: #f3f3f8;
}
.date-card-day {
  font-size: 22px;
  font-weight: 700;
  color: #2a1a1a;
  letter-spacing: 0.02em;
}
.date-card-label {
  display: inline-block;
  width: fit-content;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 2px 10px;
  background: #B79447;
  color: #fff;
  border-radius: 999px;
}
.date-card-meta { font-size: 12px; color: #6c6862; line-height: 1.5; }

.date-card.is-closed {
  background: #f3f1ec;
  border-color: #d6d3ca;
  color: #8a8678;
}
.date-card.is-closed .date-card-day { color: #8a8678; }
.date-card.is-closed:hover { border-color: #b9b5a8; background: #ece9e1; }
.date-card-closed {
  display: inline-block;
  width: fit-content;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  background: #c33c31;
  color: #fff;
  border-radius: 4px;
}

/* キャンペーンバナー */
.campaign-banner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  background: #fff1f1;
  border: 1px solid #f0c4c4;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  margin-bottom: 8px;
}
.campaign-banner-mark {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: #c0392b;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.campaign-list {
  list-style: none;
  counter-reset: camp;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.campaign-list-item {
  counter-increment: camp;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
}
.campaign-list-item::before {
  content: counter(camp);
  flex: 0 0 auto;
  align-self: flex-start;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #c0392b;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.campaign-list-label {
  font-weight: 700;
  color: #b3261e;
  font-size: 14px;
}
.campaign-list-note {
  color: #8a4a4a;
  font-size: 12.5px;
}

/* 受付終了セクション */
.section-closed { background: #fdf7f5; border: 1px solid #e8c8c4; border-radius: var(--r-lg); padding: 32px 24px; }
.closed-notice { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.closed-notice-mark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #c33c31;
  background: #fff;
  border: 1px solid #c33c31;
  padding: 4px 10px;
  border-radius: 3px;
}
.closed-notice h2 { margin: 0; font-size: 20px; color: #2a1a1a; }
.closed-notice p { margin: 0; color: #4a4438; line-height: 1.7; }
.closed-contact { font-size: 13px; color: #6c6862; }

/* 商品カード */
.products-list { display: flex; flex-direction: column; gap: 16px; }
.product-card {
  border: 1px solid #e3e1d4;
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  background: #fff;
  border-bottom: 1px solid #ece9dd;
}
.product-photo {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #f4f2ea;
  border: 1px solid #e3e1d4;
}
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b4a486;
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.product-info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.product-name {
  font-size: 17px;
  font-weight: 700;
  color: #2a1a1a;
  letter-spacing: 0.02em;
}
.product-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
}
.product-tag {
  background: #ece9dd;
  color: #5a5440;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}
.product-tails { color: var(--c-text-muted); }
.product-price { font-weight: 700; color: #191b39; font-size: 20px; margin-left: auto; letter-spacing: 0.02em; }
.product-price small { font-size: 11.5px; font-weight: 400; color: var(--c-text-muted); margin-left: 2px; }
.product-price-sale { display: inline-flex; align-items: baseline; gap: 6px; }
.product-price-sale s { font-size: 14px; font-weight: 400; color: var(--c-text-muted); }
.product-price-sale strong { color: #c0392b; font-weight: 700; }

/* サイズ別 数量グリッド */
.size-grid {
  display: flex;
  flex-direction: column;
}
.size-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px dashed #e3e1d4;
  text-align: center;
}
.size-row:first-child { border-top: none; }
.size-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  flex: 1 1 auto;
  min-width: 0;
}
.size-label {
  font-weight: 700;
  font-size: 14.5px;
  color: #2a1a1a;
  letter-spacing: 0.04em;
  text-align: center;
}
.size-diff {
  font-size: 11.5px;
  color: var(--c-text-muted);
  letter-spacing: 0.02em;
}
.size-diff.is-up   { color: #c33c31; font-weight: 600; }
.size-diff.is-down { color: #198754; font-weight: 600; }
.size-diff.is-deal { display: inline-flex; align-items: center; gap: 5px; }
.size-diff-old   { color: var(--c-text-muted); text-decoration: line-through; opacity: 0.8; }
.size-diff-arrow { color: #c0392b; }
.size-diff-new   { color: #c0392b; font-weight: 700; background: #fff1f1; border-radius: 4px; padding: 1px 7px; }

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}
.qty-input {
  width: 56px;
  padding: 8px 4px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid #c8c5b8;
  border-radius: var(--r-md);
  background: #fff;
  color: #2a1a1a;
  font-variant-numeric: tabular-nums;
}
.qty-input:focus { outline: 2px solid #191b39; outline-offset: 1px; }
.qty-btn {
  width: 38px;
  height: 38px;
  border: 1.5px solid #191b39;
  background: #fff;
  color: #191b39;
  border-radius: var(--r-md);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--dur-fast);
  user-select: none;
}
.qty-btn:hover { background: #191b39; color: #fff; }
.qty-btn:active { transform: scale(0.92); }

/* スロット (時×分グリッド) */
.slot-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.slot-grid-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}
.slot-grid-hour {
  flex: 0 0 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: #191b39;
  border-radius: var(--r-md);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.slot-grid-header .slot-grid-hour { background: transparent; }
.slot-grid-cell-head {
  flex: 1 1 0;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--c-text-muted);
  letter-spacing: 0.04em;
  padding: 4px 0;
}
.slot {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 4px;
  border: 2px solid #e3e1d4;
  border-radius: var(--r-md);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: all var(--dur-fast);
}
.slot input { display: none; }
.slot-mark { font-size: 22px; font-weight: 700; line-height: 1; }

/* 選択可能 (◎ 空きあり) */
.slot.state-ok {
  border-color: #4a9b3d;
  background: #f0fbf0;
}
.slot.state-ok .slot-mark::before { content: '◎'; color: #2a7a23; }

/* 選択可能 (○ 余裕あり) */
.slot.state-busy {
  border-color: #B79447;
  background: #fdf9ee;
}
.slot.state-busy .slot-mark::before { content: '○'; color: #9a7d3a; }

/* 選択可能 (△ ほぼ満) */
.slot.state-near {
  border-color: #c33c31;
  background: #fef2f2;
}
.slot.state-near .slot-mark::before { content: '△'; color: #c33c31; }

/* 選択不可 (満 / 受付終了) */
.slot.state-full {
  border-color: #c8c5b8;
  background: #ebe9df;
  color: #999;
  cursor: not-allowed;
  opacity: 0.7;
}
.slot.state-full .slot-mark::before { content: '満'; color: #888; }

/* 選択中 */
.slot:has(input:checked) {
  background: #191b39;
  border-color: #191b39;
  box-shadow: 0 0 0 3px rgba(25,27,57,0.15);
}
.slot:has(input:checked) .slot-mark::before { color: #fff !important; }

.slot-empty {
  flex: 1 1 0;
  min-width: 0;
  visibility: hidden;
}

/* カート + 送信ボタンバー（ページ下部固定） */
.cart-bar {
  position: sticky;
  bottom: 16px;
  margin-top: 8px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #e3e1d4;
  border-radius: var(--r-lg);
  box-shadow: 0 4px 16px rgba(25,27,57,0.12);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 5;
}
.cart-bar-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}
.cart-bar-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.cart-bar-label { font-size: 12px; color: var(--c-text-muted); letter-spacing: 0.04em; }
.cart-bar-label small { font-size: 10.5px; color: #8a8780; margin-left: 4px; font-weight: 400; }
.cart-bar-value { font-size: 14px; color: #191b39; font-variant-numeric: tabular-nums; }
.cart-bar-value strong { font-size: 22px; font-weight: 700; }
.cart-bar-price strong { color: #c33c31; }
.cart-bar-value small { font-size: 11px; font-weight: 400; color: var(--c-text-muted); margin-left: 2px; }

.btn-cta {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: var(--r-lg);
}

/* フッター */
.reserve-footer {
  text-align: center;
  padding: 24px 16px 40px;
  color: #b4a486;
}
.reserve-footer small { color: #b4a486; }

/* モバイル */
@media (max-width: 540px) {
  .reserve-header { padding: 28px 16px 36px; }
  .reserve-header h1 { font-size: 22px; }
  .reserve-header-mark { font-size: 11px; padding: 3px 12px; }
  .reserve-main { margin: 20px auto 100px; gap: 24px; padding: 0 12px; }
  .section { padding: 22px 18px; gap: 14px; }
  .section h2 { font-size: 17px; }
  .product-card-head { gap: 12px; padding: 14px; }
  .product-photo { flex: 0 0 76px; width: 76px; height: 76px; }
  .product-name { font-size: 15.5px; }
  .product-meta { font-size: 11.5px; }
  .product-price { font-size: 18px; margin-left: 0; flex: 1 0 100%; text-align: right; }
  .size-row { padding: 10px 14px; }
  .qty-btn { width: 36px; height: 36px; }
  .qty-input { width: 50px; }
  .slot { flex: 1 1 calc((100% - 24px) / 4); min-width: 0; }
  .cart-bar { padding: 14px; bottom: 8px; }
  .cart-bar-value strong { font-size: 18px; }
  .btn-cta { padding: 13px 20px; font-size: 15px; }
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field .label { font-weight: 600; font-size: 14px; color: var(--c-text); }
.field em { color: var(--c-danger); font-style: normal; }
.field input, .field textarea, .field select {
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--c-text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  font-family: inherit;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.field input:disabled, .field select:disabled {
  background: #f3f4f6;
  color: var(--c-text-muted);
  cursor: not-allowed;
}
.field textarea { resize: vertical; }

.submit-row { display: flex; justify-content: center; }

/* === Buttons === */
.btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--dur-fast);
  font-family: inherit;
  line-height: 1.2;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-primary:hover:not(:disabled) {
  background: var(--c-primary-hover);
  border-color: var(--c-primary-hover);
  color: #fff;
  text-decoration: none;
}
.btn-sub {
  background: #fff;
  border-color: var(--c-border-strong);
  color: var(--c-text);
}
.btn-sub:hover:not(:disabled) { background: #f8fafc; color: var(--c-text); text-decoration: none; }
.btn-danger {
  background: var(--c-danger);
  color: #fff;
  border-color: var(--c-danger);
}
.btn-danger:hover:not(:disabled) { background: #991b1b; border-color: #991b1b; color: #fff; text-decoration: none; }

/* 予約フォームのブランドCTA（うなぎ屋おのぎ ネイビー） */
.reserve .btn-primary {
  background: #191b39;
  border-color: #191b39;
}
.reserve .btn-primary:hover:not(:disabled) {
  background: #0f1024;
  border-color: #0f1024;
}

/* === Confirm page === */
.confirm-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.confirm-banner {
  background: #fff3e0;
  border: 1px solid #ffb74d;
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.confirm-banner strong { color: #c2410c; font-size: 15px; }
.confirm-banner span { color: #5a3300; font-size: 13px; }

.confirm-section {
  background: #fff;
  border: 1px solid #e3e1d4;
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.confirm-section-title {
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #6c6862;
  text-transform: none;
  border-left: 3px solid #191b39;
  padding-left: 10px;
  margin: 0 0 14px;
}

.confirm-pickup {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.confirm-pickup-date { font-size: 18px; font-weight: 600; color: #191b39; }
.confirm-pickup-time {
  font-size: 32px;
  font-weight: 700;
  color: #191b39;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.confirm-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.confirm-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding: 10px 0;
  border-bottom: 1px dashed #e3e1d4;
}
.confirm-item:last-child { border-bottom: none; }
.confirm-item-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; min-width: 0; }
.confirm-item-name strong { font-size: 15px; color: #2a1a1a; }
.confirm-item-size {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  background: #ece9dd;
  color: #5a5440;
  padding: 2px 10px;
  border-radius: 999px;
}
.confirm-item-camp {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  background: #fdecea;
  color: #c0392b;
  padding: 2px 8px;
  border-radius: 999px;
}
.confirm-item-calc {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-left: auto;
  font-size: 14px;
  color: #2a1a1a;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}
.confirm-item-unit { color: var(--c-text-muted); }
.confirm-item-unit s { color: #b0a99a; font-weight: 500; margin-right: 2px; }
.confirm-item-x, .confirm-item-eq { color: var(--c-text-muted); font-size: 12.5px; }
.confirm-item-sub { color: #2a1a1a; font-weight: 700; }

.confirm-campaigns { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c-border); }
.confirm-campaigns-label { display: block; font-size: 12px; font-weight: 700; color: #b3261e; margin-bottom: 6px; }
.confirm-campaigns-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.confirm-campaigns-list li { position: relative; padding-left: 16px; font-size: 13px; color: var(--c-text); }
.confirm-campaigns-list li::before { content: "・"; position: absolute; left: 0; color: #c0392b; }
.confirm-campaigns-note { display: block; font-size: 12px; color: var(--c-text-muted); margin-top: 2px; }

.confirm-total {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f7f6f1;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.confirm-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 13px;
  color: var(--c-text-muted);
}
.confirm-total-row strong { font-size: 18px; color: #191b39; font-weight: 700; }
.confirm-total-price strong { font-size: 24px; color: #c33c31; }
.confirm-total-row small { font-size: 11px; font-weight: 400; color: var(--c-text-muted); }

.confirm-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin: 0;
}
.confirm-info dt { flex: 0 0 90px; color: var(--c-text-muted); font-size: 13px; }
.confirm-info dd { flex: 1 1 calc(100% - 90px); margin: 0; font-size: 14px; color: #2a1a1a; font-weight: 500; }
.confirm-memo {
  font-weight: 400 !important;
  background: #fdf8e4;
  border-left: 3px solid #B79447;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13.5px !important;
  line-height: 1.6;
  margin: 4px 0 !important;
}

.confirm-actions {
  margin-top: 8px;
}
.confirm-buttons {
  display: flex;
  gap: 12px;
  flex-direction: column-reverse;
}
@media (min-width: 540px) {
  .confirm-buttons { flex-direction: row; justify-content: space-between; }
  .btn-confirm-back { flex: 0 0 auto; }
  .confirm-buttons .btn-cta { flex: 1 1 auto; }
}
.btn-confirm-back {
  padding: 14px 20px;
  border-radius: var(--r-lg);
  font-size: 14px;
  font-weight: 600;
}

/* === Complete page === */
.complete-card {
  background: var(--c-card);
  padding: 28px 24px;
  border-radius: var(--r-lg);
  border: 1px solid #e3e1d4;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.complete-success {
  text-align: center;
  padding: 8px 0 14px;
  border-bottom: 1px solid #ece9dd;
}
.complete-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #198754;
  color: #fff;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 14px;
}
.complete-lead { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #191b39; }
.complete-sub { color: var(--c-text-muted); font-size: 13px; margin: 0; line-height: 1.7; }

.complete-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.complete-block-label {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #6c6862;
  text-transform: uppercase;
  margin-bottom: -0.75em;
}

.complete-pickup-date { font-size: 16px; font-weight: 600; color: #191b39; }
.complete-pickup-time {
  font-size: 36px;
  font-weight: 700;
  color: #191b39;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  line-height: 1.1;
}
.complete-reservation-no {
  font-size: 24px;
  font-weight: 700;
  color: #191b39;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.complete-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0;
  padding-top: 0.5em;
}
.complete-info dt { flex: 0 0 90px; color: var(--c-text-muted); font-size: 13px; }
.complete-info dd { flex: 1 1 calc(100% - 90px); margin: 0; font-size: 14px; color: #2a1a1a; font-weight: 500; }
.complete-info dd small { color: var(--c-text-muted); font-size: 11px; font-weight: 400; display: block; }

.complete-items {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #e3e1d4;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 0.5em;
}
.complete-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #ece9dd;
  background: #fff;
}
.complete-item:last-child { border-bottom: none; }
.complete-item-name { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; min-width: 0; }
.complete-item-name strong { font-size: 14.5px; color: #2a1a1a; }
.complete-item-size {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: #ece9dd;
  color: #5a5440;
  padding: 2px 9px;
  border-radius: 999px;
}
.complete-item-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 14px;
  color: #2a1a1a;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.complete-total {
  margin-top: 12px;
  padding: 14px 18px;
  background: #f7f6f1;
  border-radius: var(--r-md);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
  color: var(--c-text-muted);
}
.complete-total-price strong {
  font-size: 24px;
  color: #c33c31;
  font-weight: 700;
}
.complete-total small { font-size: 11px; font-weight: 400; color: var(--c-text-muted); }
.complete-campaigns-applied { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--c-border); }
.complete-campaigns-label { display: block; font-size: 12px; font-weight: 700; color: #b3261e; margin-bottom: 6px; }
.complete-campaigns-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; }
.complete-campaigns-list li { position: relative; padding-left: 16px; font-size: 13px; color: var(--c-text); }
.complete-campaigns-list li::before { content: "・"; position: absolute; left: 0; color: #c0392b; }

.complete-memo {
  background: #f7f6f1;
  border-left: none;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #2a1a1a;
  margin: 0;
  margin-top: 0.5em;
}

.complete-note {
  text-align: center;
  font-size: 13px;
  color: var(--c-text-muted);
  margin: 8px 0 0;
  padding-top: 16px;
  border-top: 1px solid #ece9dd;
}

.memo {
  background: #faf6ed;
  padding: 10px 12px;
  border-left: 3px solid var(--c-warning);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.complete-note { color: var(--c-text-muted); font-size: 13px; margin: 0; }

/* 受取時の予約番号 */
.complete-no-block { padding-top: 18px; }
.complete-no-wrap {
  margin-top: 0.5em;
  padding: 20px 20px 18px;
  background: #faf7ee;
  border: 1px dashed #cdb87f;
  border-radius: 8px;
  text-align: center;
}
.complete-no-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #5b4a1f;
  margin: 0 0 6px;
}
.complete-no-value {
  font-size: 36px;
  font-weight: 800;
  color: #191b39;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.complete-no-lead {
  font-size: 13px;
  color: #5b4a1f;
  margin: 0;
  line-height: 1.6;
  font-weight: 600;
}
@media (max-width: 480px) {
  .complete-no-value { font-size: 32px; }
}

/* キャンセルブロック */
.complete-cancel-block { padding-top: 16px; }
.complete-cancel-text {
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin: 0.4em 0 10px;
}
.complete-cancel-text strong { color: #2a1a1a; }
.complete-cancel-link {
  display: inline-block;
  font-size: 13px;
  color: #c33c31;
  text-decoration: underline;
  font-weight: 500;
}
.complete-cancel-link:hover { color: #a32f25; }
