:root {
  --accent: #c9a227;
  --ink: #1f2328;
  --bg: #f7f6f3;
  --card: #ffffff;
  --line: #e3e0da;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; }

.site-header {
  background: #16181d;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-header .logo {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a { color: #d7d7d7; font-size: 0.82rem; text-decoration: none; }
.site-header nav a:hover { color: #fff; }

main { max-width: 960px; margin: 0 auto; padding: 24px 16px 64px; width: 100%; flex: 1 0 auto; }
.site-footer { margin-top: auto; }

.hero {
  background: linear-gradient(135deg, #16181d 0%, #2a2f3a 100%);
  color: #fff;
  border-radius: 10px;
  padding: 40px 24px;
  text-align: center;
  margin-bottom: 32px;
}
.hero h1 { font-size: 1.5rem; margin-bottom: 8px; }
.hero p { color: #cfcfcf; font-size: 0.9rem; }
.hero .accent { color: var(--accent); }

.section-title {
  font-size: 1.1rem;
  border-left: 4px solid var(--accent);
  padding-left: 10px;
  margin: 32px 0 16px;
}

.filter-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
}
.chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #1d1503;
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.15s ease;
}
.product-card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); }
.product-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #232733, #3a4152);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}
.product-body { padding: 12px 14px 16px; }
.product-body h3 { font-size: 0.95rem; margin-bottom: 6px; }
.product-price { font-weight: 700; color: #b3261e; }
.product-price .tax { font-size: 0.75rem; font-weight: 400; color: #666; }

.product-detail {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
}
.product-detail .product-thumb { border-radius: 8px; margin: 0 auto 20px; max-width: 420px; }
.product-detail h1 { font-size: 1.3rem; margin-bottom: 8px; }
.product-detail .product-price { font-size: 1.2rem; margin-bottom: 16px; }
.product-detail .description { margin-bottom: 24px; }

.notice-box {
  background: #fbf7ec;
  border: 1px solid #e8dcbd;
  border-radius: 8px;
  padding: 16px 18px;
  font-size: 0.9rem;
}
.notice-box h2 { font-size: 0.95rem; margin-bottom: 8px; }

.legal-table { width: 100%; border-collapse: collapse; background: var(--card); }
.legal-table th, .legal-table td {
  border: 1px solid var(--line);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  font-size: 0.9rem;
}
.legal-table th { width: 32%; background: #f0eee9; font-weight: 600; }

.prose { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px 24px; font-size: 0.92rem; }
.prose h2 { font-size: 1rem; margin: 20px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.4em; }

.back-link { display: inline-block; margin-top: 24px; font-size: 0.85rem; }

.site-footer {
  background: #16181d;
  color: #cfcfcf;
  text-align: center;
  padding: 28px 16px;
  font-size: 0.82rem;
}
.site-footer a { color: #cfcfcf; }
.site-footer .footer-links { margin-bottom: 8px; }
.site-footer .copyright { margin-top: 10px; color: #8a8f98; }

.hidden { display: none !important; }
.accent-text { color: #8a6d1a; font-weight: 600; }
.sub-title { font-size: 1rem; margin: 24px 0 10px; }

.btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 6px;
  border: 0;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #1d1503; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:disabled { background: #cfc9bb; color: #8a877f; cursor: not-allowed; }
.btn-secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }

.nav-cart { font-weight: 700; }

.purchase-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 12px;
}
.purchase-box select {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.added-note {
  background: #eef6ee;
  border: 1px solid #c4dcc4;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.9rem;
}
.add-error {
  background: #fdeeee;
  border: 1px solid #e5b8b5;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 0.9rem;
}
.noscript-note {
  background: #fdeeee;
  border-bottom: 1px solid #e5b8b5;
  padding: 12px 20px;
  font-size: 0.9rem;
}
#order-mail-body {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
  margin-top: 8px;
}
.copy-done { color: #2e6b2e; font-weight: 600; }

.table-scroll { overflow-x: auto; }
.cart-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
}
.cart-table th, .cart-table td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}
.cart-table th { background: #f0eee9; }
.cart-table td:first-child { white-space: normal; min-width: 160px; }
.cell-price { text-align: right; }
.qty-input {
  width: 64px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.btn-remove {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.cart-total-row { text-align: right; margin: 14px 0; font-weight: 600; }
.cart-total-row .product-price { font-size: 1.15rem; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.form-field .required {
  background: #b3261e;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 6px;
}
.form-field input, .form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
}
.form-field input:focus, .form-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.order-steps {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 24px 20px 44px;
  font-size: 0.92rem;
}
.order-steps li { margin: 6px 0; }

.confirm-agree { margin-top: 24px; }
.confirm-agree label { font-weight: 600; font-size: 0.92rem; }

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 28px 16px; }
}
