:root {
  /* ベース（黒地） */
  --black: #0B0B0C;         /* ページ背景。純黒よりわずかに温かみのある黒 */
  --charcoal: #17181C;      /* カード・セクション背景 */
  --charcoal-soft: #222329; /* ホバー・サブパネル・フォーム背景 */

  /* アクセント（ゴールド） */
  --gold: #C6A15B;
  --gold-bright: #E9CB78;

  /* テキスト */
  --ivory: #EDE7DA;
  --ivory-soft: #A9A497;

  /* 罫線 */
  --line: rgba(198, 161, 91, 0.3);

  --success: var(--gold-bright);
  --error: #D9736F;
  --max-width: 900px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  color: var(--ivory);
  background: var(--black);
  line-height: 1.9;
  position: relative;
}

/* ベルベット質感のための微細な粒子ノイズ。フラットな単色面を避ける */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

a { color: var(--gold); }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; display: block; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(198, 161, 91, 0.28);
}
.site-header .wrap { max-width: 1080px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header .logo img { height: 24px; }

.site-nav { display: flex; gap: 30px; }
.site-nav a { text-decoration: none; color: var(--ivory); font-size: 0.85rem; font-weight: 500; letter-spacing: 0.04em; }
.site-nav a:hover { color: var(--gold-bright); }

.nav-cta {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold); color: var(--black) !important; }

/* Hero */
.hero {
  position: relative;
  padding: 140px 0 150px;
  background:
    radial-gradient(ellipse at center, rgba(198,161,91,0.14), transparent 70%),
    linear-gradient(180deg, rgba(11,11,12,0.72) 0%, rgba(11,11,12,0.94) 100%),
    url('/assets/img/hero-precious-metals.png') center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
}
.hero .wrap { max-width: 1080px; text-align: center; }
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.7;
  margin: 0 0 26px;
  color: var(--gold-bright);
}
.hero p.sub {
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
  max-width: 560px;
  margin: 0 auto 44px;
  color: rgba(237,231,218,0.78);
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 34px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--gold);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--gold); color: var(--black); box-shadow: 0 0 20px rgba(198,161,91,0.25); }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--black) !important; }
.btn-outline { color: var(--gold) !important; }
.btn-outline:hover { background: var(--gold); color: var(--black) !important; }

/* Sections */
section { padding: 130px 0; }
.section-alt {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(198,161,91,0.06), transparent 60%),
    var(--charcoal);
  border-top: 3px double var(--line);
  border-bottom: 3px double var(--line);
}
.wrap.wide { max-width: 1080px; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--ivory-soft);
  font-weight: 600;
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
}
.section-head h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin: 0 0 14px; }
.section-head p { color: var(--ivory-soft); margin: 0; font-family: "Noto Sans JP", sans-serif; }

/* Pillars / cards */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; }
@media (max-width: 780px) {
  .pillars { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}

.card {
  position: relative;
  background: var(--charcoal);
  border: 1px solid var(--line);
  padding: 34px 28px;
}
.card::before, .card::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: var(--gold);
  border-style: solid;
}
.card::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.card::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.card h3 { margin: 0 0 12px; font-size: 1rem; letter-spacing: 0.06em; }
.card p { margin: 0; color: var(--ivory-soft); font-size: 0.92rem; font-family: "Noto Sans JP", sans-serif; }
.card .card-link { display: inline-block; margin-top: 16px; font-size: 0.85rem; font-weight: 700; text-decoration: none; }

/* Specimen list — 品目一覧（鑑定目録のような一覧表。カードグリッドの反復を避ける） */
.specimen-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.specimen-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) { .specimen-row { grid-template-columns: 1fr; gap: 10px; } }
.specimen-name {
  font-family: "Noto Serif JP", serif;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-left: 18px;
  border-left: 2px solid var(--gold);
}
.specimen-name-en {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  margin-top: 6px;
  font-weight: 500;
}
.specimen-row p { margin: 0; color: var(--ivory-soft); font-size: 0.92rem; }

/* Spec strip — 査定基準（証書の仕様欄のような縦罫線区切り） */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  max-width: 1080px;
}
.spec-item { padding: 36px 26px; border-right: 1px solid var(--line); }
.spec-item:last-child { border-right: none; }
.spec-item h3 { margin: 0 0 10px; font-size: 0.98rem; letter-spacing: 0.05em; }
.spec-item p { margin: 0; color: var(--ivory-soft); font-size: 0.88rem; }
@media (max-width: 780px) {
  .spec-strip { grid-template-columns: 1fr 1fr; }
  .spec-item { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .spec-item:nth-child(2n) { border-right: none; }
  .spec-item:nth-last-child(-n+2) { border-bottom: none; }
}

.editorial-quote {
  max-width: 620px;
  margin: 60px auto 0;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--ivory);
}
.editorial-quote em {
  display: block;
  margin-top: 14px;
  font-size: 1.4rem;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}

/* Gallery band — 実写素材を本文中にも登場させる帯 */
.gallery-band {
  position: relative;
  padding: 100px 0;
  background:
    linear-gradient(180deg, rgba(11,11,12,0.6) 0%, rgba(11,11,12,0.88) 100%),
    url('/assets/img/hero-precious-metals.png') center 72% / cover no-repeat;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.gallery-band p {
  margin: 0;
  font-family: "Noto Serif JP", serif;
  color: var(--gold-bright);
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: 0.08em;
}

/* FAQ list — 罫線区切りのエディトリアルリスト（カードの反復を避ける） */
.faq-list { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { padding: 30px 0; border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 12px;
  font-family: "Noto Serif JP", serif;
  color: var(--gold);
  font-size: 1.02rem;
  letter-spacing: 0.03em;
}
.faq-mark {
  flex: none;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold-bright);
  line-height: 1;
}
.faq-a { margin: 0 0 0 40px; color: var(--ivory-soft); font-size: 0.92rem; }
@media (max-width: 560px) { .faq-a { margin-left: 0; } }

.info-table { width: 100%; border-collapse: collapse; background: var(--charcoal); border: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: 0.92rem; font-family: "Noto Sans JP", sans-serif; }
.info-table th { width: 160px; color: var(--ivory-soft); font-weight: 600; background: var(--charcoal-soft); font-family: "Noto Serif JP", serif; letter-spacing: 0.04em; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table td strong { color: var(--gold); font-family: "Noto Serif JP", serif; }

.service-detail { display: grid; gap: 20px; margin-bottom: 28px; max-width: 1080px; }

/* Trust section (text + image) */
.trust-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; max-width: 1080px; }
@media (max-width: 780px) { .trust-layout { grid-template-columns: 1fr; } }
.trust-layout figure { margin: 0; border: 1px solid var(--line); }
.trust-layout img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Page hero (non-top pages) */
.page-hero {
  padding: 96px 0 100px;
  background:
    radial-gradient(ellipse at center, rgba(198,161,91,0.14), transparent 70%),
    linear-gradient(180deg, rgba(11,11,12,0.72) 0%, rgba(11,11,12,0.94) 100%),
    url('/assets/img/hero-precious-metals.png') center 30% / cover no-repeat;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-hero .wrap { max-width: 1080px; }
.page-hero h1 { margin: 0 0 16px; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--gold-bright); }
.page-hero p { margin: 0; color: rgba(237,231,218,0.78); font-family: "Noto Sans JP", sans-serif; }

/* Contact form */
.contact-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; max-width: 1080px; }
@media (max-width: 780px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px) { .contact-form .form-row { grid-template-columns: 1fr; } }

.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.88rem; color: var(--ivory-soft); font-family: "Noto Sans JP", sans-serif; }
.contact-form .req { color: var(--gold-bright); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--charcoal-soft);
  color: var(--ivory);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(169,164,151,0.55); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(198,161,91,0.18);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form button { align-self: flex-start; cursor: pointer; }
.contact-form button:disabled { opacity: 0.6; cursor: default; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { min-height: 1.4em; font-size: 0.88rem; font-family: "Noto Sans JP", sans-serif; }
.form-status.is-ok { color: var(--success); }
.form-status.is-error { color: var(--error); }

/* CTA band */
.cta-band { background: var(--charcoal); text-align: center; padding: 90px 0; border-top: 3px double var(--line); border-bottom: 3px double var(--line); }
.cta-band .wrap { max-width: 720px; }
.cta-band h2 { margin: 0 0 16px; font-size: 1.5rem; }
.cta-band p { margin: 0 0 30px; color: var(--ivory-soft); font-family: "Noto Sans JP", sans-serif; }

/* License seal — 古物商許可の鑑定書印章バッジ（このサイトのシグネチャー要素） */
.license-seal {
  position: relative;
  width: 168px;
  height: 168px;
  margin: 0 auto 28px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: radial-gradient(circle at 50% 42%, rgba(198,161,91,0.12), transparent 72%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
}
.license-seal::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.55;
}
.license-seal-label {
  font-family: "Noto Serif JP", serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--ivory-soft);
}
.license-seal-number {
  font-family: "Noto Serif JP", serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.license-seal-sub {
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: var(--ivory-soft);
}

/* Footer */
.site-footer { background: var(--black); color: rgba(237,231,218,0.7); padding: 52px 0 28px; font-size: 0.85rem; border-top: 1px solid rgba(198, 161, 91, 0.35); }
.site-footer .wrap { max-width: 1080px; }
.site-footer .foot-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; margin-bottom: 28px; }
.site-footer h4 { color: var(--gold); font-size: 0.78rem; margin: 0 0 12px; letter-spacing: 0.12em; font-family: "Noto Sans JP", sans-serif; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(237,231,218,0.65); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .copyright { margin-top: 20px; font-size: 0.75rem; color: rgba(237,231,218,0.4); }
