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

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f7f7;
  --color-text: #111111;
  --color-text-light: #888888;
  --color-border: #e0e0e0;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.container.narrow {
  max-width: 780px;
}

/* -------- Header -------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.3em;
  color: var(--color-text);
  text-decoration: none;
}

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

nav a {
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--color-text);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

nav a:hover {
  opacity: 1;
}

/* -------- Hero -------- */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-inner {
  text-align: center;
}

.hero-en {
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.5;
  letter-spacing: 0.1em;
}

.hero-scroll {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 60px;
  background: var(--color-text);
  margin: 0 auto;
  opacity: 0.25;
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* -------- Section -------- */

.section {
  padding: 120px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--color-text-light);
  text-transform: uppercase;
  margin-bottom: 64px;
}

/* -------- Company Info Table -------- */

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

.info-table tr {
  border-top: 1px solid var(--color-border);
}

.info-table tr:last-child {
  border-bottom: 1px solid var(--color-border);
}

.info-table th,
.info-table td {
  padding: 24px 0;
  font-size: 14px;
  vertical-align: top;
}

.info-table th {
  width: 180px;
  font-weight: 400;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

.info-table td {
  font-weight: 300;
}

/* -------- Services -------- */

.service-grid {
  display: grid;
  gap: 48px;
}

.service-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 24px;
  align-items: start;
}

.service-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--color-text-light);
  padding-top: 4px;
}

.service-item h3 {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  grid-column: 2;
}

.service-item p {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.9;
  grid-column: 2;
}

/* -------- Footer -------- */

.site-footer {
  padding: 64px 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.footer-logo {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.4em;
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 12px;
  color: var(--color-text-light);
  letter-spacing: 0.05em;
}

/* -------- Responsive -------- */

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

  .site-header {
    padding: 18px 0;
  }

  nav {
    gap: 24px;
  }

  .section {
    padding: 80px 0;
  }

  .info-table th {
    width: 120px;
    font-size: 13px;
  }

  .info-table td {
    font-size: 13px;
  }

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-num {
    margin-bottom: 8px;
  }

  .service-item h3,
  .service-item p {
    grid-column: 1;
  }
}
