/* 株式会社金舞台 — 室内装饰面料官网
   纯静态样式，不依赖构建工具或外部字体文件 */

:root {
  --bg: #f6f1e8;
  --bg-deep: #efe7d9;
  --bg-dark: #1c1916;
  --paper: #fffbf5;
  --ink: #2a2420;
  --ink-soft: #5d554e;
  --ink-faint: #8a8178;
  --line: #d9d0c3;
  --line-strong: #c4b8a6;
  --accent: #8c3d2e;
  --accent-hover: #6f2f23;
  --gold: #b8956a;
  --gold-soft: #d4c0a4;
  --shadow: 0 12px 40px rgba(28, 25, 22, 0.08);
  --radius: 2px;
  --header-h: 76px;
  --max: 1120px;
  --font-serif: "Iwanami Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "Noto Serif JP", "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Times New Roman", serif;
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Source Han Sans SC", "Helvetica Neue", Arial, sans-serif;
  --weave:
    repeating-linear-gradient(90deg, rgba(42, 36, 32, 0.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg, rgba(42, 36, 32, 0.035) 0 1px, transparent 1px 4px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--bg-dark);
  color: #fff;
  padding: 8px 14px;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* Header
   ======================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 241, 232, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--bg-dark);
  color: var(--gold-soft);
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0;
  line-height: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.brand-tag {
  font-size: 11px;
  color: var(--ink-faint);
  letter-spacing: 0.18em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav ul {
  display: flex;
  gap: 4px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: 0.08em;
  padding: 6px 0;
  position: relative;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
}

.lang-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 5px 10px;
  cursor: pointer;
}

.lang-switch button + button {
  border-left: 1px solid var(--line-strong);
}

.lang-switch button.is-active {
  background: var(--bg-dark);
  color: var(--paper);
}

/* Photo / image slots
   ======================================== */

.photo-slot {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background-color: #cfc3b0;
  isolation: isolate;
}

.photo-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    var(--weave),
    linear-gradient(135deg, var(--slot-a, #3d3530) 0%, var(--slot-b, #8a7060) 48%, var(--slot-c, #d4c0a4) 100%);
  z-index: 0;
}

.photo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 2px, transparent 2px 6px);
  mix-blend-mode: overlay;
  z-index: 1;
  pointer-events: none;
}

.photo-slot__label {
  position: relative;
  z-index: 2;
  color: rgba(255, 251, 245, 0.92);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 251, 245, 0.35);
  padding: 8px 16px;
  background: rgba(28, 25, 22, 0.22);
}

.photo-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}

.photo-slot img.is-missing {
  display: none;
}

.photo-slot:has(img:not(.is-missing)) .photo-slot__label,
.photo-slot:has(img:not(.is-missing))::after {
  display: none;
}

.photo-slot--hero {
  --slot-a: #1a1613;
  --slot-b: #4a3b32;
  --slot-c: #9a7b58;
  min-height: min(78vh, 760px);
}

.photo-slot--hero .photo-slot__label {
  display: none;
}


.photo-slot--curtain { --slot-a: #2c3a38; --slot-b: #5d6e62; --slot-c: #cbb89a; }
.photo-slot--workwear { --slot-a: #2a3340; --slot-b: #5a6573; --slot-c: #b7b3a8; }
.photo-slot--bedding { --slot-a: #4a3a36; --slot-b: #8c6e62; --slot-c: #e6d5c3; }
.photo-slot--blackout { --slot-a: #1f1c1a; --slot-b: #4e463e; --slot-c: #a0907c; }
.photo-slot--sheer { --slot-a: #d7cbb8; --slot-b: #efe6d6; --slot-c: #f7f3ea; }
.photo-slot--interior { --slot-a: #3d3228; --slot-b: #7a6550; --slot-c: #d2b48c; }
.photo-slot--about { --slot-a: #2e2a26; --slot-b: #6a5a4a; --slot-c: #c4b49a; }
.photo-slot--card { aspect-ratio: 4 / 3; }
.photo-slot--wide { aspect-ratio: 16 / 8; min-height: 280px; }
.photo-slot--portrait { aspect-ratio: 3 / 4; min-height: 360px; }

.photo-slot--sheer .photo-slot__label {
  color: var(--ink);
  text-shadow: none;
  border-color: rgba(42, 36, 32, 0.25);
  background: rgba(255, 251, 245, 0.45);
}

/* Hero
   ======================================== */

.hero {
  position: relative;
  color: var(--paper);
}

.hero .photo-slot--hero {
  width: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(28, 25, 22, 0.15) 0%, rgba(28, 25, 22, 0.28) 40%, rgba(28, 25, 22, 0.78) 100%);
  pointer-events: none;
}

.hero-copy {
  width: min(100% - 40px, var(--max));
  margin: 0 auto 64px;
  pointer-events: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--gold-soft);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: 0.16em;
  margin: 0 0 16px;
  font-weight: 600;
}

.hero-lead {
  max-width: 36em;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 251, 245, 0.88);
  margin-bottom: 28px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.16em;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 251, 245, 0.55);
  color: var(--paper);
}

.btn--ghost:hover {
  background: rgba(255, 251, 245, 0.1);
  color: var(--paper);
}

.btn--outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--bg-dark);
  color: var(--paper);
}

/* Sections
   ======================================== */

.section {
  padding: 88px 0;
}

.section--alt {
  background: var(--bg-deep);
}

.section-head {
  margin-bottom: 40px;
  max-width: 40em;
}

.section-head .eyebrow {
  color: var(--accent);
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--ink-soft);
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Advantage / feature grid
   ======================================== */

.feature-grid,
.product-grid,
.info-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  box-shadow: var(--shadow);
}

.feature-index {
  display: block;
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 15px;
}

/* Product cards
   ======================================== */

.product-grid {
  grid-template-columns: repeat(3, 1fr);
}

.product-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-card a.card-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card a.card-link:hover {
  color: inherit;
}

.product-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-body h3 {
  font-size: 18px;
  letter-spacing: 0.1em;
  margin: 0;
}

.product-body p {
  color: var(--ink-soft);
  font-size: 14px;
  flex: 1;
}

.more-link {
  margin-top: 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* Page hero (inner pages)
   ======================================== */

.page-hero {
  padding: 64px 0 24px;
  border-bottom: 1px solid var(--line);
  background:
    var(--weave),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

.page-hero .lead {
  max-width: 40em;
  color: var(--ink-soft);
  font-size: 16px;
}

/* Prose / notes
   ======================================== */

.prose {
  max-width: 46em;
}

.prose h2 {
  font-size: 24px;
  letter-spacing: 0.12em;
  margin-top: 1.6em;
}

.prose h3 {
  font-size: 18px;
  margin-top: 1.2em;
}

.note,
.callout {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  padding: 20px 22px;
  margin: 24px 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.placeholder {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split--top {
  align-items: start;
}

.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
  background: var(--paper);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  background: var(--bg-deep);
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: 0;
}

.dl-table {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-top: 1px solid var(--line);
}

.dl-table dt,
.dl-table dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.dl-table dt {
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}

/* Contact
   ======================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 18px;
}

.form label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  border-radius: var(--radius);
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.form-hint {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 14px;
}

/* Footer
   ======================================== */

.site-footer {
  margin-top: auto;
  background: var(--bg-dark);
  color: rgba(255, 251, 245, 0.78);
  padding: 56px 0 28px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 251, 245, 0.12);
}

.site-footer .brand-name,
.site-footer h3 {
  color: var(--paper);
  font-family: var(--font-serif);
  letter-spacing: 0.14em;
  font-size: 16px;
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--gold-soft);
}

.site-footer a:hover {
  color: #fff;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li + li {
  margin-top: 6px;
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  color: rgba(255, 251, 245, 0.5);
  font-size: 12px;
  letter-spacing: 0.06em;
}

/* Responsive
   ======================================== */

@media (max-width: 900px) {
  .feature-grid,
  .product-grid,
  .split,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .photo-slot--portrait {
    min-height: 240px;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .lang-switch {
    align-self: flex-start;
  }

  .hero-copy {
    margin-bottom: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .form {
    padding: 22px;
  }

  .product-grid,
  .product-grid--2 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Sheer series / product detail
   ======================================== */

.sheer-hero { background: var(--bg); padding-top: 32px; }
.sheer-hero__img { margin: 0 auto; width: min(100% - 40px, var(--max)); aspect-ratio: 16 / 9; overflow: hidden; box-shadow: var(--shadow); }
.sheer-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.img-note { font-size: 12px; color: var(--ink-faint); margin-top: 10px; letter-spacing: 0.04em; }

.sheer-lineup { grid-template-columns: repeat(4, 1fr); }
.model-code { font-size: 12px; letter-spacing: 0.2em; color: var(--gold); font-weight: 600; }
.price-from { color: var(--ink) !important; font-size: 14px; flex: 0 !important; }
.price-from strong, .pdp-price strong { font-family: var(--font-serif); font-size: 22px; color: var(--accent); letter-spacing: 0.02em; }
.product-body .pending { color: var(--ink-faint); font-size: 12px; }

.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.pdp-main { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.pdp-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.pdp-thumbs button { padding: 0; border: 1px solid var(--line); background: var(--paper); cursor: pointer; aspect-ratio: 1 / 1; overflow: hidden; opacity: .7; transition: opacity .2s, border-color .2s; }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs button:hover, .pdp-thumbs button.is-active { opacity: 1; border-color: var(--accent); }
.pdp-info h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: 0.1em; }
.pdp-price { font-size: 14px; margin-bottom: 14px; }
.pdp-price small { color: var(--ink-faint); font-size: 12px; }
.pdp-lead { color: var(--ink-soft); }
.size-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.size-chip { border: 1px solid var(--line-strong); background: var(--paper); padding: 6px 12px; font-size: 13px; letter-spacing: 0.06em; }
.spec-table { grid-template-columns: 110px 1fr; }
.spec-table dd.placeholder { font-weight: 400; }

.sheer-features { grid-template-columns: repeat(3, 1fr); }
.sheer-feature { margin: 0; background: var(--paper); border: 1px solid var(--line); }
.sheer-feature img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sheer-feature figcaption { padding: 22px 22px 26px; }
.sheer-feature h3 { font-size: 18px; margin-bottom: 8px; }
.sheer-feature p { color: var(--ink-soft); font-size: 14px; }

.price-table th[scope="row"] { background: var(--paper); font-family: var(--font-serif); }
.price-table td { font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-table thead th { font-weight: 600; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--bg-dark); color: var(--paper); padding: 44px 48px; }
.cta-band h2 { font-size: 24px; letter-spacing: 0.12em; }
.cta-band p { color: rgba(255,251,245,.75); }
.cta-band a:not(.btn) { color: var(--gold-soft); }

@media (min-width: 761px) and (max-width: 1100px) {
  .site-nav ul { gap: 18px; }
  .site-nav a { font-size: 13px; }
}
@media (max-width: 900px) {
  .sheer-lineup { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .sheer-features { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
}
@media (max-width: 760px) {
  .sheer-lineup { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sheer-lineup .product-body { padding: 14px; }
  .sheer-lineup .product-body h3 { font-size: 15px; }
  .price-from strong { font-size: 18px; }
  .pdp-thumbs { grid-template-columns: repeat(6, 1fr); gap: 6px; }
  .sheer-hero__img { width: 100%; }
  .img-note { padding: 0 20px; }
}
.product-card figure.photo-slot { margin: 0; width: 100%; }
.price-table tbody tr:last-child th { border-bottom: 0; }
.product-body .variant { color: var(--ink-soft); font-size: 13px; flex: 0; margin: 0; }
figure.photo-slot { margin: 0; }
