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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  color: #1a1a1a;
  line-height: 1.9;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Header - fixed top bar */
header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  z-index: 100;
}

.logo {
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: #888;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

nav a:hover {
  color: #1a1a1a;
}

/* Sections */
.section {
  max-width: 640px;
  margin: 0 auto;
  padding: 100px 24px;
}

/* About / Hero */
#about {
  padding-top: 140px;
  padding-bottom: 120px;
}

#about h1 {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 40px;
  line-height: 1.4;
}

#about p {
  color: #444;
  margin-bottom: 1em;
}

/* Section headings */
h2 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #aaa;
  margin-bottom: 40px;
}

h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: #1a1a1a;
}

h3:first-of-type {
  margin-top: 0;
}

/* Works - table */
table {
  width: 100%;
  border-collapse: collapse;
}

table td {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #444;
  vertical-align: baseline;
}

table td.num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  color: #1a1a1a;
  font-weight: 600;
  padding-left: 24px;
  font-size: 0.85rem;
}

/* Works - list */
ul {
  list-style: none;
}

ul li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.95rem;
  color: #444;
}

/* Company */
dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px 24px;
}

dt {
  font-size: 0.8rem;
  color: #aaa;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-top: 2px;
}

dd {
  color: #444;
  font-size: 0.95rem;
}

/* Contact */
#contact {
  text-align: center;
  padding-bottom: 140px;
}

#contact p {
  color: #444;
  margin-bottom: 32px;
}

.cta {
  display: inline-block;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border: 2px solid #1a1a1a;
  border-radius: 0;
  transition: all 0.2s;
}

.cta:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  font-size: 0.75rem;
  color: #ccc;
  letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  nav {
    gap: 20px;
  }

  .section {
    padding: 80px 20px;
  }

  #about {
    padding-top: 110px;
  }

  #about h1 {
    font-size: 1.5rem;
  }

  dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }

  dt {
    margin-top: 12px;
  }
}
