@charset "UTF-8";
/* ============================================================
   nzw.jp GOODS — グッズ紹介ページ共通スタイル
   ------------------------------------------------------------
   /book/series.css と同じ「紙 + インク + 水彩」の言語を踏襲しつつ、
   アクセントだけをグッズ用の琥珀（amber）に振っている。
   新しいグッズを足すときは index.html の .goods-card を複製するだけで済むよう、
   カード側にレイアウトの前提を持たせないこと。
   ============================================================ */

:root {
  --paper:          #F5F3EE;
  --paper-mid:      #EAE6DC;
  --paper-dark:     #D6D0C2;
  --ink:            #1C1B18;
  --ink-mid:        #3A3935;
  --ink-sub:        #625F57;
  --ink-faint:      #9A9790;
  --surface:        #FAFAF7;

  /* グッズのアクセント：キャラクターの黄色と、既存サイトの琥珀をつなぐ */
  --accent:         #C49840;
  --accent-deep:    #A87C28;
  --accent-light:   #F0DCA8;
  --accent-wash:    #FBF5E6;
  --chick:          #F5C842;
  --chick-deep:     #E0A93B;

  --ok:             #2E7D4F;
  --ok-wash:        #E3F3E8;
  --ok-line:        #BEE0CB;

  --shadow-sketch:  3px 3px 0 var(--paper-dark);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }

/* ── レイアウト ────────────────────────────────────────── */
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1080px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--paper-mid); position: relative; }
.center { text-align: center; }

.label {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 12px;
}
.section-title { font-size: clamp(22px, 4vw, 32px); font-weight: 900; line-height: 1.3; margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--ink-sub); max-width: 620px; line-height: 1.85; }
.center .section-sub { margin: 0 auto; }

/* ── ナビ ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 243, 238, 0.92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--paper-dark);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 15px; transition: color 0.15s; }
.nav-logo:hover { color: var(--accent); }
:root { --nzw-icon-ring-bg: var(--paper); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-crumb { font-size: 13px; font-weight: 700; color: var(--ink-sub); transition: color 0.15s; white-space: nowrap; }
.nav-crumb:hover { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  font-size: 13px; font-weight: 700; padding: 8px 16px;
  border-radius: 3px 9px 4px 8px;
  background: var(--ink); color: var(--paper);
  border: 1.5px solid var(--ink); transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--paper-dark); }

/* ── ボタン ───────────────────────────────────────────── */
.btn-primary, .btn-secondary, .btn-quiet {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; font-weight: 700; border-radius: 3px 11px 5px 9px;
  border: 1.5px solid var(--ink); transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.btn-primary { padding: 13px 26px; background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--ink-mid); transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--paper-dark); }
.btn-secondary { padding: 12px 24px; background: var(--surface); color: var(--ink-mid); border-color: var(--paper-dark); }
.btn-secondary:hover { background: var(--accent-wash); border-color: var(--accent); color: var(--accent-deep); }
.btn-quiet {
  padding: 11px 22px; background: transparent; color: var(--ink-faint);
  border-color: var(--paper-dark); border-style: dashed; cursor: default;
}

/* ── ヒーロー ─────────────────────────────────────────── */
.goods-hero { position: relative; overflow: hidden; background: var(--ink); }
.goods-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 58%; display: block; opacity: 0.55;
}
.goods-hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(28,27,24,0.55) 0%, rgba(28,27,24,0.30) 42%, rgba(28,27,24,0.82) 100%),
    radial-gradient(ellipse 60% 70% at 82% 20%, rgba(245,200,66,0.22) 0%, transparent 62%);
}
.goods-hero-inner { position: relative; z-index: 2; padding: 92px 24px 76px; text-align: center; color: #F5F3EE; }
.goods-hero-label {
  display: inline-block; font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--chick); border: 1.5px solid rgba(245,200,66,0.55);
  padding: 6px 16px; border-radius: 2px; margin-bottom: 20px;
}
.goods-hero-title { font-size: clamp(28px, 6vw, 50px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.18; margin-bottom: 14px; }
.goods-hero-lead { font-size: 15px; line-height: 1.9; color: rgba(245,243,238,0.86); max-width: 560px; margin: 0 auto; }
.goods-hero-note {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  font-size: 12.5px; font-weight: 700; padding: 8px 18px; border-radius: 999px;
  background: rgba(245,243,238,0.10); border: 1px solid rgba(245,243,238,0.28); color: rgba(245,243,238,0.92);
}

/* ── グッズカード（一覧・追加はここを複製する）──────────── */
.goods-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px; margin-top: 40px; align-items: start;
}
.goods-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1.5px solid var(--paper-dark);
  border-radius: 4px 16px 6px 14px; overflow: hidden;
  box-shadow: var(--shadow-sketch); transition: transform 0.18s, box-shadow 0.18s;
}
.goods-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--accent-light); }
.goods-card-thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: #4D4D4A; display: flex; align-items: center; justify-content: center;
}
.goods-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.goods-card-thumb--contain { background: #4D4D4A; }
.goods-card-thumb--contain img { object-fit: contain; padding: 14px 0; }
.goods-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex-grow: 1; }
.goods-card-kind {
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 8px;
}
.goods-card-title { font-size: 17px; font-weight: 900; line-height: 1.45; margin-bottom: 8px; }
.goods-card-desc { font-size: 13.5px; color: var(--ink-sub); line-height: 1.75; margin-bottom: 16px; }
.goods-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }

/* ステータスバッジ */
.status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 800; padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--paper-dark); background: var(--paper-mid); color: var(--ink-sub);
  white-space: nowrap;
}
.status--proto  { background: var(--accent-wash); color: var(--accent-deep); border-color: var(--accent-light); }
.status--ready  { background: var(--ok-wash); color: var(--ok); border-color: var(--ok-line); }
.status--idea   { background: var(--paper-mid); color: var(--ink-faint); border-color: var(--paper-dark); border-style: dashed; }

/* ── 個別グッズの詳細ブロック ─────────────────────────── */
.item { padding: 72px 0; }
.item + .item { border-top: 1px solid var(--paper-dark); }
.item-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 10px; }
.item-no {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 700;
  color: var(--accent-deep); background: var(--accent-wash);
  border: 1px solid var(--accent-light); padding: 4px 11px; border-radius: 2px;
}
.item-title { font-size: clamp(21px, 3.4vw, 30px); font-weight: 900; line-height: 1.35; margin-bottom: 8px; }
.item-sub { font-size: 14px; color: var(--ink-sub); line-height: 1.85; max-width: 640px; margin-bottom: 30px; }

.item-grid { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: start; }
.item-shot {
  background: #4D4D4A; border: 1.5px solid var(--paper-dark);
  border-radius: 4px 16px 6px 14px; padding: 18px; box-shadow: var(--shadow-sketch);
}
.item-shot img { display: block; width: 100%; height: auto; }
.item-shot-cap { font-size: 11.5px; color: rgba(245,243,238,0.65); text-align: center; margin-top: 12px; font-family: 'JetBrains Mono', monospace; letter-spacing: 0.08em; }

/* 仕様表 */
.spec { width: 100%; border-collapse: collapse; background: var(--surface); border: 1.5px solid var(--paper-dark); border-radius: 4px; overflow: hidden; }
.spec th, .spec td { padding: 12px 16px; text-align: left; font-size: 13.5px; border-bottom: 1px solid var(--paper-mid); vertical-align: top; }
.spec th { width: 34%; font-weight: 700; color: var(--ink-sub); background: var(--paper); white-space: nowrap; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: none; }
.spec td .muted { color: var(--ink-faint); }

.point-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 11px; }
.point-list li { position: relative; padding-left: 26px; font-size: 14px; color: var(--ink-sub); line-height: 1.7; }
.point-list li i { position: absolute; left: 0; top: 5px; color: var(--accent); }

/* 写真ギャラリー — 図版の高さを揃え、キャプション量が違っても段が崩れないようにする */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 36px; align-items: stretch; }
.gallery figure {
  margin: 0; display: flex; flex-direction: column;
  background: var(--surface); border: 1.5px solid var(--paper-dark);
  border-radius: 3px 12px 4px 10px; overflow: hidden; box-shadow: var(--shadow-sketch);
}
.gallery img { display: block; width: 100%; height: 210px; object-fit: cover; object-position: center; }
.gallery figcaption { padding: 10px 14px 12px; font-size: 12px; color: var(--ink-sub); line-height: 1.6; }

/* ── 注意書き ─────────────────────────────────────────── */
.disclaimer {
  margin-top: 32px; padding: 16px 20px; background: var(--surface);
  border: 1px dashed var(--paper-dark); border-radius: 3px;
  font-size: 12.5px; color: var(--ink-sub); line-height: 1.85;
}
.disclaimer i { color: var(--ink-faint); margin-right: 7px; }

/* ── CTA ──────────────────────────────────────────────── */
.cta-section { padding: 72px 24px; text-align: center; background: var(--paper-mid); position: relative; }
.cta-title { font-size: clamp(20px, 4vw, 30px); font-weight: 900; margin-bottom: 10px; }
.cta-sub { font-size: 15px; color: var(--ink-sub); margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ── フッター ─────────────────────────────────────────── */
.site-footer { padding: 48px 24px 36px; background: var(--paper-mid); position: relative; border-top: 1px solid var(--paper-dark); }
.footer-rainbow {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #7AAECF, #A4C8E0, #F5C842, #C49840, #B46428);
}
.footer-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.footer-icons { display: flex; gap: 16px; }
.footer-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--paper-dark); border-radius: 3px 10px 4px 9px;
  background: var(--surface); color: var(--ink-sub); transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.footer-icon:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--paper-dark); }
.footer-icon--x:hover  { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.footer-icon--ig:hover { background: #e1306c; color: #fff; border-color: #e1306c; }
.footer-icon--gh:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.footer-text { text-align: center; font-size: 13px; color: var(--ink-sub); font-family: 'JetBrains Mono', monospace; }
.footer-tagline { margin-bottom: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 10px; }
.footer-link { color: var(--ink-sub); transition: color 0.15s; }
.footer-link:hover { color: var(--accent); }
.footer-link--active { color: var(--accent); font-weight: 700; }
.footer-sep { color: var(--paper-dark); }

/* ── レスポンシブ ─────────────────────────────────────── */
@media (max-width: 860px) {
  .item-grid { grid-template-columns: 1fr; gap: 30px; }
  .item-shot { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .item { padding: 52px 0; }
  .goods-hero-inner { padding: 68px 20px 56px; }
  .nav-crumb { display: none; }
  .gallery img { height: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .goods-card, .btn-primary, .btn-secondary, .nav-cta, .footer-icon { transition: none; }
}
