* {
  font-family: 'Noto Sans JP', sans-serif;
}

.font-brand,
.brand-serif {
  font-family: 'Shippori Mincho', 'Noto Serif JP', serif;
}

.font-accent {
  font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 154, 46, 0.06), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(15, 29, 51, 0.05), transparent 35%),
    #f4f2ec;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-thumb {
  background: #c9a92e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a87c24;
}
::-webkit-scrollbar-track {
  background: transparent;
}

/* ===================== ゴールドアクセント要素 ===================== */
.gold-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #c99a2e, transparent);
}

.gold-underline {
  position: relative;
}
.gold-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 32px; height: 2px;
  background: linear-gradient(90deg, #c99a2e, #eccb5c);
  border-radius: 2px;
}

.tab-btn {
  position: relative;
  font-family: 'Shippori Mincho', serif;
  letter-spacing: 0.03em;
}
.tab-btn.active {
  color: #0f1d33;
  font-weight: 700;
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #c99a2e, #eccb5c, #c99a2e);
}

.modal-overlay {
  background: rgba(6, 13, 24, 0.65);
  backdrop-filter: blur(3px);
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -10px rgba(15, 29, 51, 0.22);
  border-color: rgba(201, 154, 46, 0.4);
}

.lux-card {
  background: #ffffff;
  border: 1px solid rgba(15, 29, 51, 0.08);
  box-shadow: 0 8px 30px -12px rgba(15, 29, 51, 0.18);
}

.btn-gold {
  background: linear-gradient(135deg, #e2b433, #c99a2e 55%, #a87c24);
  color: #0f1d33;
  font-weight: 700;
  box-shadow: 0 8px 20px -6px rgba(201, 154, 46, 0.55);
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-gold:active {
  transform: translateY(0);
}

.btn-navy {
  background: linear-gradient(135deg, #243a58, #0f1d33);
  color: #f4e096;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn-navy:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.spin {
  animation: spin 1s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

input:focus, select:focus, textarea:focus {
  outline: none;
}

.toast {
  animation: toast-in 0.25s ease-out;
}
@keyframes toast-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.receipt-thumb {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 0.5rem;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* カード明細取込テーブル */
.import-row.selected {
  background: rgba(201, 154, 46, 0.08);
}

@media print {
  body * {
    visibility: hidden;
  }
  #print-area, #print-area * {
    visibility: visible;
  }
  #print-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}
