:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #e6e6e6;
  --soft: #f7f7f7;
  --accent: #111111;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text span:first-child {
  font-size: 15px;
}

.brand-text span:last-child {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

nav a:hover {
  color: var(--text);
}

.hero {
  padding: 96px 0 88px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}

.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 36px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
}

.button-primary:hover {
  transform: translateY(-2px);
  opacity: 0.86;
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: #ffffff;
}

.button-secondary:hover {
  background: var(--soft);
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
}

.hero-logo {
  width: min(100%, 360px);
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 28px;
}

.hero-card h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.hero-card p {
  color: var(--muted);
  margin: 0;
  font-size: 15px;
}

section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0;
  color: var(--muted);
}

.section-title p {
  font-size: 26px;
  line-height: 1.6;
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.about-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 16px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  background: #ffffff;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-box {
  background: var(--soft);
  border-radius: 28px;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.contact-box h2 {
  margin: 0 0 10px;
  font-size: 26px;
}

.contact-box p {
  margin: 0;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

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

@media (max-width: 820px) {
  nav {
    display: none;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .section-title p {
    font-size: 22px;
    white-space: normal;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }
}