:root {
  --main-color: #1a1a1a;
  --accent-color: #d9a441;
  --bg-alt: #f7f5f2;
  --text-color: #222;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  color: var(--text-color);
  line-height: 1.8;
}

h1, h2 { font-weight: bold; }

.site-header {
  background: var(--main-color);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
}

.site-header nav {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.site-header nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
}

.site-header nav a:hover { color: var(--accent-color); }

.tel-button {
  background: var(--accent-color);
  color: #1a1a1a;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

.hero {
  background-color: #1a1a1a;
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.55)), url("images/hero-cropped.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
  background-size: cover, cover;
  color: #fff;
  text-align: center;
  padding: 100px 16px;
}

.hero-sub {
  letter-spacing: 0.2em;
  color: var(--accent-color);
  font-weight: bold;
  margin-bottom: 8px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 16px;
}

.hero-copy {
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: #1a1a1a;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
}

.section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 16px;
}

.section-alt { background: var(--bg-alt); max-width: none; }
.section-alt > * { max-width: 1000px; margin-left: auto; margin-right: auto; }
.section-alt.section { padding-left: 16px; padding-right: 16px; }

.section h2 {
  font-size: 1.6rem;
  border-left: 6px solid var(--accent-color);
  padding-left: 12px;
  margin-bottom: 24px;
}

.about-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.about-image {
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
}

.about-text { flex: 1; min-width: 260px; }

.lead { font-size: 1.05rem; }

.work-gallery {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.work-gallery img {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2ddd3;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.recruit-table th, .recruit-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
}

.recruit-table th {
  background: var(--bg-alt);
  width: 140px;
}

.company-info-table {
  width: 100%;
  border-collapse: collapse;
}

.company-info-table th, .company-info-table td {
  border: 1px solid #ddd;
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}

.company-info-table th {
  background: #fff;
  width: 180px;
}

.company-info-table a {
  color: var(--main-color);
  font-weight: bold;
}

.recruit-cta, .contact-tel {
  text-align: center;
}

.contact-tel a {
  font-size: 1.6rem;
  color: var(--main-color);
  text-decoration: none;
  font-weight: bold;
}

.contact-note { text-align: center; color: #666; }

.site-footer {
  background: var(--main-color);
  color: #ccc;
  text-align: center;
  padding: 20px;
  font-size: 0.85rem;
}

@media (max-width: 600px) {
  .header-inner { justify-content: center; }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  .hero {
    padding: 40px 16px 32px;
    background-size: cover, contain;
    background-position: center, center top;
  }
  .hero h1 { font-size: 1.8rem; }
  .recruit-table, .recruit-table tr, .recruit-table th, .recruit-table td {
    display: block;
    width: auto;
  }
  .recruit-table tr { margin-bottom: 12px; }
  .recruit-table th { border-bottom: none; }
  .recruit-table td { border-top: none; }
  .company-info-table th, .company-info-table td {
    display: block;
    width: auto;
  }
  .company-info-table th { border-bottom: none; }
  .company-info-table td { border-top: none; }
}
