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

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: #fdfdfd;
  background-color: #000;
  line-height: 1.7;
}

/* Video background */
.video-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('assets/images/gold_1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.video-background video {
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Dark overlay for readability */
.video-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0,0,0,0.3), rgba(0,0,0,0.85));
  background-color: rgba(18, 10, 0, 0.75);
  mix-blend-mode: multiply;
  z-index: -1;
}

/* Layout */
.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
  border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.logo-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logo-main {
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f9e39a;
}

.logo-sub {
  font-size: 0.78rem;
  color: #f5f5f5;
  opacity: 0.8;
}

.header-contact {
  text-align: right;
  font-size: 0.8rem;
  color: #f5f5f5;
}

.header-contact a {
  color: #f9e39a;
  text-decoration: none;
}

/* Navigation */
.nav {
  margin-top: 10px;
  border-top: 1px solid rgba(255, 215, 0, 0.25);
  padding-top: 10px;
}

.nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.86rem;
}

.nav a {
  color: #f5f5f5;
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #f9e39a, #d4af37);
  transition: width 0.25s ease;
}

.nav a:hover::after,
.nav a.is-active::after {
  width: 100%;
}

/* Hero / main sections */
main {
  flex: 1;
}

.section {
  padding: 56px 0;
}

.section--hero {
  padding: 80px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 40px;
  align-items: center;
}

.hero-copy-eyebrow {
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f9e39a;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  line-height: 1.35;
  margin-bottom: 18px;
  text-shadow: 0 0 28px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #f5f5f5;
  margin-bottom: 24px;
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.badge {
  font-size: 0.86rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 215, 0, 0.6);
  padding: 7px 16px;
  background: radial-gradient(circle at top left, rgba(255, 236, 179, 0.09), rgba(0,0,0,0.75));
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid #f9e39a;
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #d4af37, #f5e6a5);
  color: #201408;
  box-shadow: 0 0 18px rgba(0,0,0,0.8);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(0,0,0,0.9);
}

.btn-secondary {
  background: rgba(0,0,0,0.6);
  color: #f9e39a;
  border-color: rgba(249, 227, 154, 0.6);
}

.btn-secondary:hover {
  background: rgba(0,0,0,0.9);
}

/* Hero side card */
.hero-side-card {
  background: rgba(8, 4, 0, 0.82);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 215, 0, 0.45);
  box-shadow: 0 18px 48px rgba(0,0,0,0.9);
}

.hero-side-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.hero-side-label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f9e39a;
}

.hero-side-title {
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-side-body {
  font-size: 0.9rem;
  color: #f3f3f3;
}

.hero-side-list {
  list-style: none;
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.hero-side-list li::before {
  content: "◆";
  color: #f9e39a;
  margin-right: 6px;
  font-size: 0.7rem;
}

/* Section headings */
.section-heading {
  margin-bottom: 30px;
}

.section-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f9e39a;
  margin-bottom: 8px;
}

.section-title {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.section-lead {
  font-size: 0.98rem;
  color: #f5f5f5;
  max-width: 40rem;
}

/* Cards and content */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(8, 4, 0, 0.9);
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 16px 40px rgba(0,0,0,0.8);
}

.card-title {
  font-size: 1.02rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title span.icon {
  font-size: 0.9rem;
  color: #f9e39a;
}

.card-meta {
  font-size: 0.8rem;
  color: #f9e39a;
  margin-bottom: 6px;
}

.card-text {
  font-size: 0.9rem;
}

/* Timeline / steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  background: rgba(8, 4, 0, 0.9);
  border-radius: 16px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255,215,0,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 16px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5e6a5, #d4af37);
  color: #201408;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0,0,0,0.9);
}

.step-title {
  font-size: 1rem;
  margin-bottom: 8px;
}

.step-text {
  font-size: 0.9rem;
}

/* Two-column sections */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.highlight-box {
  background: linear-gradient(145deg, rgba(255, 236, 179, 0.16), rgba(0,0,0,0.9));
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(255,215,0,0.4);
  box-shadow: 0 18px 45px rgba(0,0,0,0.9);
}

.highlight-title {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.highlight-text {
  font-size: 0.9rem;
}

.highlight-list {
  margin-top: 10px;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}

/* Table-ish explanatory list */
.definition-list {
  display: grid;
  gap: 12px;
}

.definition-item {
  background: rgba(8,4,0,0.9);
  border-radius: 14px;
  padding: 12px 14px 14px;
  border: 1px solid rgba(255,215,0,0.35);
}

.definition-term {
  font-size: 0.92rem;
  color: #f9e39a;
  margin-bottom: 4px;
}

.definition-desc {
  font-size: 0.88rem;
}

/* Company table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.info-table tr {
  border-bottom: 1px solid rgba(255,215,0,0.3);
}

.info-table th,
.info-table td {
  padding: 10px 4px;
  vertical-align: top;
}

.info-table th {
  width: 24%;
  font-weight: 600;
  color: #f9e39a;
}

/* Contact form */
.form {
  background: rgba(8,4,0,0.9);
  border-radius: 18px;
  padding: 22px 22px 24px;
  border: 1px solid rgba(255,215,0,0.4);
  box-shadow: 0 22px 52px rgba(0,0,0,0.9);
}

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

.form-label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 4px;
}

.form-label span {
  color: #f5b0b0;
  font-size: 0.8rem;
  margin-left: 4px;
}

.form-input,
.form-textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,215,0,0.35);
  background: rgba(0,0,0,0.7);
  color: #fdfdfd;
  padding: 8px 10px;
  font-size: 0.9rem;
}

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

.form-note {
  font-size: 0.78rem;
  color: #f5f5f5;
  opacity: 0.85;
  margin-top: 4px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,215,0,0.25);
  background: rgba(0,0,0,0.9);
  padding: 18px 0 22px;
  font-size: 0.82rem;
  color: #f5f5f5;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-brand {
  font-size: 0.88rem;
}

.footer-small {
  font-size: 0.74rem;
  opacity: 0.8;
}

/* Utility */
.text-small {
  font-size: 0.84rem;
}

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .header-contact {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 42px 0;
  }

  .section--hero {
    padding-top: 70px;
  }

  .hero-grid {
    gap: 28px;
  }

  .nav ul {
    gap: 12px;
    font-size: 0.78rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-side-card {
    margin-top: -6px;
  }
}


/* Logo image */
.logo-image {
  height: 38px;
  width: auto;
  display: block;
}

/* Hero photo on top page */
.hero-photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,215,0,0.65);
  box-shadow: 0 18px 50px rgba(0,0,0,0.95);
  background: radial-gradient(circle at top, rgba(255,236,179,0.08), rgba(0,0,0,0.9));
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

/* Gallery strip on items page */
.items-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.items-gallery img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(255,215,0,0.45);
  box-shadow: 0 10px 26px rgba(0,0,0,0.85);
}

/* Side photo for company/contact page */
.side-photo {
  margin-top: 14px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,215,0,0.5);
  box-shadow: 0 16px 42px rgba(0,0,0,0.9);
}

.side-photo img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}


/* iOS Safari の再生ボタンを非表示にする */
.video-background video {
  pointer-events: none;
  -webkit-appearance: none;
}

video::-webkit-media-controls-enclosure,
video::-webkit-media-controls-panel,
video::-webkit-media-controls-play-button,
video::-webkit-media-controls-start-playback-button {
  display: none !important;
}
