:root {
  --black: #2B2B2F;
  --charcoal: #3A3A40;
  --charcoal-soft: #47474E;
  --gold: #C6A15B;
  --gold-bright: #E9CB78;
  --ivory: #EDE7DA;
  --ivory-soft: #B3AEA4;
  --line: rgba(198, 161, 91, 0.35);
  --success: var(--gold-bright);
  --error: #C0524A;
  --max-width: 900px;
  font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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;
}

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

.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(43, 43, 47, 0.92);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { max-width: 1080px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.site-header .logo img {
  height: 24px;
  filter: grayscale(1) sepia(1) saturate(1.6) brightness(0.95) contrast(1.1);
}

.site-footer img[alt="株式会社FOREVER"] {
  filter: grayscale(1) sepia(1) saturate(1.6) brightness(0.95) contrast(1.1);
}

.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); }

.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:
    linear-gradient(180deg, rgba(43,43,47,0.72) 0%, rgba(43,43,47,0.94) 100%),
    url('/assets/img/hero-precious-metals.png') center 30% / cover no-repeat;
  border-bottom: 1px double 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;
}
.hero p.sub {
  font-size: clamp(0.98rem, 1.4vw, 1.05rem);
  max-width: 560px;
  margin: 0 auto 44px;
  color: var(--ivory-soft);
}
.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);
}
.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); }
.btn-outline { color: var(--gold) !important; }
.btn-outline:hover { background: var(--gold); color: var(--black) !important; }

/* Sections */
section { padding: 130px 0; }
.section-alt { background: var(--charcoal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wrap.wide { max-width: 1080px; }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-head .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.68rem;
  color: var(--ivory-soft);
  font-weight: 600;
  margin: 0 0 14px;
  font-family: "Noto Sans JP", sans-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; }

.other-biz { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1080px; }
@media (max-width: 640px) { .other-biz { grid-template-columns: 1fr; } }

.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:
    linear-gradient(180deg, rgba(43,43,47,0.72) 0%, rgba(43,43,47,0.94) 100%),
    url('/assets/img/hero-precious-metals.png') center 30% / cover no-repeat;
  border-bottom: 1px double 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); }
.page-hero p { margin: 0; color: var(--ivory-soft); 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 / badge */
.cta-band { background: var(--charcoal); text-align: center; padding: 90px 0; border-top: 1px double var(--line); border-bottom: 1px 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; }

.other-biz-note {
  display: inline-block;
  margin: 0 auto 20px;
  padding: 10px 20px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* 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 var(--line); }
.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); }
