:root {
  --ink: #16181d;
  --ink-soft: #4a4f57;
  --bg: #f7f7f4;
  --white: #ffffff;
  --accent: #1256d0;
  --line: #e3e3dd;
  --radius: 14px;
}

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

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

body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-feature-settings: "palt";
}

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 247, 244, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.brand-name {
  font-weight: 900;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
}

.global-nav {
  display: flex;
  gap: 28px;
}

.global-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

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

/* Hero */
.hero {
  padding: 96px 0 110px;
  text-align: center;
  background:
    radial-gradient(1200px 500px at 50% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    var(--bg);
}

.hero-logo {
  width: 132px;
  height: 132px;
  margin-bottom: 28px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(22, 24, 29, 0.12);
}

.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3.1rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.hero-lead {
  margin: 26px auto 40px;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 42px;
  border-radius: 999px;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--accent);
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-label {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.section h2 {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 6px 0 42px;
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.card-num {
  font-weight: 900;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* About */
.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-text {
  color: var(--ink-soft);
}

.values {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.values li {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.values strong {
  display: block;
  letter-spacing: 0.04em;
}

.values span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* Company */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-table th,
.company-table td {
  padding: 20px 26px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: none;
}

.company-table th {
  width: 180px;
  background: #fbfbf9;
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.footer-inner p {
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.sp-only {
  display: none;
}

/* Responsive */
@media (max-width: 820px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .global-nav {
    gap: 16px;
  }

  .global-nav a {
    font-size: 0.82rem;
  }

  .company-table th {
    width: 110px;
    padding: 16px;
  }

  .company-table td {
    padding: 16px;
  }

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

  .sp-only {
    display: inline;
  }
}
