/* ============================================================
   Naroot Works — corporate site
   Light / minimal, single page, no build step
   ============================================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f7f8f7;
  --color-text: #1d2321;
  --color-muted: #5f6b67;
  --color-accent: #0b6b54;
  --color-accent-dark: #095844;
  --color-border: #e4e8e6;
  --max-width: 1040px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic UI", Meiryo, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

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

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.brand span {
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  gap: 22px;
}

.site-nav a {
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

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

/* ---------- hero ---------- */

.hero {
  padding: 120px 0 110px;
  text-align: center;
}

.hero-kicker {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-lead {
  color: var(--color-muted);
  font-size: clamp(15px, 2.2vw, 17px);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background-color 0.15s ease, color 0.15s ease,
    border-color 0.15s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
}

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

.btn-ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-large {
  padding: 16px 48px;
  font-size: 16px;
}

/* ---------- sections ---------- */

.section {
  padding: 96px 0;
  scroll-margin-top: 60px;
}

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

.kicker {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}

.section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* ---------- about ---------- */

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

.about-text p + p {
  margin-top: 18px;
}

.profile {
  margin-top: 32px;
  border-top: 1px solid var(--color-border);
}

.profile > div {
  display: flex;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
}

.profile dt {
  flex: 0 0 90px;
  color: var(--color-muted);
  font-weight: 500;
}

.skills {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 28px;
}

.skills h3 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.skill-group + .skill-group {
  margin-top: 20px;
}

.skill-group h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 10px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li {
  font-size: 13px;
  padding: 4px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-bg);
  color: var(--color-text);
  white-space: nowrap;
}

/* ---------- works ---------- */

.work-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
}

.work-type {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  margin-top: 4px;
}

.work-body > p {
  margin-bottom: 18px;
}

.feature-list {
  margin-bottom: 22px;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  margin-bottom: 8px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(-45deg);
}

.works-note {
  margin-top: 24px;
  font-size: 14px;
  color: var(--color-muted);
  text-align: center;
}

/* ---------- services ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 32px 28px;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--color-bg-alt);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

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

.service-note {
  margin-top: 36px;
  text-align: center;
  color: var(--color-muted);
  font-size: 15px;
}

/* ---------- news ---------- */

.news-list li {
  display: flex;
  gap: 32px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-border);
}

.news-list li:first-child {
  border-top: 1px solid var(--color-border);
}

.news-list time {
  flex: 0 0 70px;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 15px;
}

.news-list p {
  font-size: 15px;
}

/* ---------- contact ---------- */

.contact {
  text-align: center;
}

.contact .kicker,
.contact h2 {
  text-align: center;
}

.contact-lead {
  color: var(--color-muted);
  margin-bottom: 36px;
}

.contact-mail {
  margin-top: 18px;
  font-size: 14px;
  color: var(--color-muted);
  letter-spacing: 0.03em;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 36px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-footer .brand {
  font-size: 16px;
}

.copyright {
  font-size: 13px;
  color: var(--color-muted);
}

/* ---------- responsive ---------- */

.sp-only {
  display: none;
}

@media (max-width: 720px) {
  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .header-inner {
    flex-direction: column;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 8px;
  }

  .site-nav {
    gap: 18px;
  }

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

  .section {
    padding: 64px 0;
    scroll-margin-top: 96px;
  }

  .about-grid,
  .work-card,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 36px;
  }

  .work-card {
    padding: 24px;
    gap: 28px;
  }

  .news-list li {
    flex-direction: column;
    gap: 2px;
  }

  .site-footer .container {
    flex-direction: column;
  }
}
