:root {
  --black: #17181a;
  --black-soft: #232427;
  --yellow: #f5c518;
  --yellow-dim: #d4a90e;
  --gray-bg: #f7f7f5;
  --text: #1e1e1e;
}

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

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: #fff;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* Header */
header {
  background: var(--black);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--yellow);
}
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.logo span {
  display: block;
  font-size: 0.62rem;
  color: var(--yellow);
  font-weight: 600;
  letter-spacing: 0.15em;
}
nav ul { list-style: none; display: flex; gap: 4px; }
nav a {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  display: block;
}
nav a:hover, nav a.active { background: var(--yellow); color: var(--black); }

/* Split hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: var(--black);
  color: #fff;
}
.hero-text {
  padding: 90px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
  width: fit-content;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero p { font-size: 1rem; opacity: 0.8; margin-bottom: 36px; max-width: 440px; }
.hero .btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  padding: 15px 34px;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 13px 32px;
  font-weight: 800;
  border-radius: 999px;
}
.hero-image {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,24,26,0.55), rgba(23,24,26,0) 40%);
  z-index: 1;
}

/* Sections */
section { padding: 88px 24px; }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.section-sub { color: #666; margin-bottom: 48px; font-size: 0.98rem; }
.bg-black { background: var(--black); color: #fff; }

/* Exterior photo (about page) */
.exterior-photo {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 12px;
}
.exterior-photo img { width: 100%; height: 380px; object-fit: cover; display: block; }
.exterior-caption { text-align: center; color: #777; font-size: 0.85rem; }

/* Service cards - horizontal scroll strip */
.scroll-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
}
.scroll-strip::-webkit-scrollbar { height: 8px; }
.scroll-strip::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 4px; }
.card {
  scroll-snap-align: start;
  min-width: 260px;
  background: var(--gray-bg);
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.card-photo { height: 150px; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 28px 26px; }
.card .icon {
  font-size: 1.6rem;
  margin-bottom: 18px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border-radius: 12px;
  margin-top: -48px;
  position: relative;
  border: 3px solid var(--gray-bg);
}
.card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 10px; }
.card p { font-size: 0.88rem; color: #555; }

/* Strengths - big number stacked cards */
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.strength {
  background: var(--black-soft);
  border-radius: 16px;
  padding: 36px 28px;
  border-top: 3px solid var(--yellow);
}
.strength .num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.strength h3 { color: #fff; margin-bottom: 10px; font-size: 1.05rem; }
.strength p { opacity: 0.75; font-size: 0.88rem; }

/* Table */
table { width: 100%; border-collapse: collapse; }
table th, table td { padding: 16px; border-bottom: 1px solid #e5e5e5; text-align: left; }
table th { background: var(--gray-bg); color: var(--black); width: 180px; font-weight: 800; }

/* About profile card */
.profile-card {
  display: flex;
  gap: 40px;
  align-items: center;
  background: var(--black);
  color: #fff;
  border-radius: 20px;
  padding: 48px;
}
.profile-card img { width: 220px; border-radius: 16px; flex-shrink: 0; }
.profile-card .signature { text-align: right; margin-top: 20px; color: var(--yellow); font-weight: 700; }
.profile-card p { opacity: 0.85; }

/* History - horizontal steps */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.step {
  text-align: center;
  padding: 24px 12px;
  border-top: 4px solid var(--yellow);
}
.step .h-year { font-weight: 800; font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: 0.82rem; color: #555; }

/* Works: cards */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.work-card {
  background: var(--gray-bg);
  border-radius: 16px;
  overflow: hidden;
}
.work-photo { height: 190px; overflow: hidden; }
.work-photo img { width: 100%; height: 100%; object-fit: cover; }
.work-body { padding: 24px; }
.work-body h3 { font-weight: 800; margin-bottom: 8px; font-size: 1rem; }
.work-body p { font-size: 0.85rem; color: #555; }
.tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

/* CTA */
.cta {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
}
.cta h2 { font-weight: 800; margin-bottom: 16px; font-size: 1.9rem; }
.cta p { margin-bottom: 28px; }
.cta .btn { background: var(--black); color: #fff; }

/* Access */
.access-flex {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
}
.map-wrap { border-radius: 16px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Form */
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 800; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #e5e5e5;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--yellow);
}
.required {
  background: var(--yellow);
  color: var(--black);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
}
.submit-btn {
  background: var(--black);
  color: #fff;
  border: none;
  padding: 17px 48px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 999px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}
.submit-btn:hover { background: #333; }

/* Footer */
footer { background: var(--black); color: #cfcfcf; padding: 56px 24px 24px; }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-inner h4 { color: var(--yellow); margin-bottom: 16px; }
.footer-inner ul { list-style: none; }
.footer-inner li { margin-bottom: 8px; font-size: 0.9rem; }
.copyright {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
}

/* Page header */
.page-header {
  background: var(--black);
  color: #fff;
  padding: 60px 24px;
  text-align: center;
  border-bottom: 3px solid var(--yellow);
}
.page-header h1 { font-size: 2rem; font-weight: 800; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 260px; order: -1; }
  .hero-text { padding: 48px 28px; }
  .strength-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .profile-card { flex-direction: column; text-align: center; }
  .access-flex { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  nav ul { gap: 0; flex-wrap: wrap; justify-content: center; }
  .header-inner { flex-direction: column; gap: 10px; text-align: center; }
  .works-grid { grid-template-columns: 1fr; }
  table th { width: 120px; font-size: 0.85rem; }
  .steps { grid-template-columns: 1fr; }
}
