/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }

/* ── VARS ── */
:root {
  --ink:   #13100d;
  --paper: #f4ede0;
  --warm:  #1e1b17;
  --card:  #1a1713;
  --gold:  #c4965a;
  --glt:   #ddb878;
  --muted: #7a6e5e;
  --dim:   #2e2820;
  --red:   #c45a5a;
  --green: #5a9c6a;
}

html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--paper);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--ink);
  border-bottom: 1px solid var(--dim);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.6); }

.hd-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px 6px;
}
.hd-brand {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--paper);
  text-decoration: none;
}
.hd-brand em { font-style: italic; color: var(--glt); }

.hd-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hd-nav a {
  font-size: 9px;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border: 1px solid var(--dim);
  transition: border-color .2s, color .2s;
}
.hd-nav a:hover { border-color: var(--gold); color: var(--glt); }
.hd-nav a.active { border-color: var(--gold); color: var(--glt); background: rgba(196,150,90,.06); }

.hd-sub {
  padding: 0 20px 10px;
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── SECTION ── */
.sec {
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--dim);
}
.sec:last-of-type { border-bottom: none; }

.sec-title {
  display: flex;
  align-items: center;
  margin-bottom: 32px;
  padding: 0 20px;
}
.st-rule { flex: 1; height: 1px; background: var(--dim); }
.st-inner {
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.st-label {
  font-size: 8px;
  letter-spacing: .6em;
  text-transform: uppercase;
  color: var(--muted);
}
.st-name {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--paper);
}

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  padding: 0 20px;
}
@media (min-width: 540px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 800px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

.product-card {
  background: var(--card);
  border: 1px solid var(--dim);
  overflow: hidden;
}
.pc-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .5s ease;
}
.product-card:hover .pc-img { transform: scale(1.03); }
.pc-img-wrap { overflow: hidden; }

.pc-body {
  padding: 10px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pc-name  { font-size: 13px; color: var(--paper); letter-spacing: .02em; }
.pc-sub   { font-size: 10px; color: var(--muted); letter-spacing: .1em; }
.pc-price { font-size: 13px; color: var(--glt); letter-spacing: .04em; margin-top: 2px; }
.pc-note  { font-size: 9px; color: rgba(196,150,90,.6); letter-spacing: .1em; margin-top: 2px; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--gold); color: var(--ink);
  font-size: 12px; letter-spacing: .15em;
  padding: 13px 26px; z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  white-space: nowrap; max-width: 88vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── LIGHTBOX ── */
.lb-overlay {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(10,8,6,.93);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lb-overlay.open { opacity: 1; pointer-events: all; }
.lb {
  position: fixed; inset: 0; z-index: 401;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 16px 16px;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lb.open { opacity: 1; pointer-events: all; }
.lb img { max-height: 85vh; max-width: 100%; object-fit: contain; border: 1px solid var(--dim); }
.lb-close {
  position: fixed; top: 16px; right: 20px; z-index: 402;
  background: none; border: none; color: var(--muted); font-size: 24px; cursor: pointer; padding: 8px;
}

/* ── FOOTER ── */
footer { text-align: center; padding: 44px 20px 32px; }
.ft-brand { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--glt); margin-bottom: 10px; }
.ft-brand em { font-style: italic; }
.ft-note { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }



/* より安全な上書き: 説明系テキストの最小保証 */
.collab-desc{ font-size: 14px !important; }
.collab-stock, .pair-stock { font-size: 14px !important; }
.clothes-desc { font-size: 14px !important; }
.clothes-note { font-size: 13px !important; }
.sleepy-desc  { font-size: 14px !important; }
.sleepy-note  { font-size: 13px !important; }
.modal-row-val { font-size: 15px !important; }
.cm-label, .dm-label { font-size: 14px !important; }
.done-caption  { font-size: 14px !important; }
.screenshot-notice p { font-size: 14px !important; }
.ss-label { font-size: 14px !important; }
.ss-price  { font-size: 13px !important; }
