/*
  StriveTech コーポレートサイトのスタイル。

  Refero の "Ui — clinical blueprint on frosted paper"（shadcn/ui のデザインシステム）に準拠する。
  守る規約:
  - 無彩色のみ。グラデーション・カラーアクセント・色付きシャドウを使わない
  - 角丸は 18px（操作要素）か 24px（コンテナ）。直角にしない
  - 字間は -0.05em 〜 0.05em の範囲。大きい文字ほど詰める
  - 本文は 14px、#737373 より明るい文字色を使わない
  日本語は行長・行間だけ和文向けに寄せ、それ以外の値はシステムのまま使う。
*/

:root {
  /* Colors */
  --canvas: #f5f5f5;
  --paper: #ffffff;
  --surface-alt: #fafafa;
  --ink: #0a0a0a;
  --ink-soft: #171717;
  --mid-gray: #737373;
  --hairline: #e5e5e5;

  /* Radius */
  --r-card: 24px;
  --r-control: 18px;
  --r-small: 6px;

  --shadow-card:
    0 0 0 1px rgba(23, 23, 23, .05),
    0 1px 3px rgba(0, 0, 0, .1),
    0 1px 2px -1px rgba(0, 0, 0, .1);

  --shell: 1280px;
  --measure: 62ch;

  --font: "Inter", "Noto Sans JP", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.63;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.skip { position: absolute; left: -9999px; }

.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--ink);
  color: var(--surface-alt);
  border-radius: var(--r-control);
}

/* ---- type scale ---- */

.display {
  margin: 0;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.04em;
}

.heading {
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

/* ---- topbar ---- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--hairline);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 56px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-decoration: none;
}

.brand__mark {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--r-small);
  background: var(--ink);
  position: relative;
}

.brand__mark::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--paper);
  border-radius: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}

.nav a:not(.btn) {
  color: var(--mid-gray);
  text-decoration: none;
}

.nav a:not(.btn):hover { color: var(--ink); }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: var(--r-control);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}

.btn--filled {
  background: var(--ink);
  color: var(--surface-alt);
  border: none;
}

.btn--filled:hover { background: var(--ink-soft); }

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}

.btn--outline:hover { background: var(--canvas); }

.btn--lg {
  height: 44px;
  padding: 0 24px;
  font-size: 16px;
}

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

.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--hairline);
}

.hero__sub {
  margin: 16px 0 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: -.025em;
  color: var(--mid-gray);
}

.hero__body {
  max-width: var(--measure);
  margin: 20px 0 0;
  font-size: 16px;
  line-height: 1.63;
  color: var(--mid-gray);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.badge {
  padding: 2px 8px;
  border-radius: var(--r-control);
  background: var(--canvas);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: .05em;
}

.hero .badge { background: var(--paper); }

/* ---- blocks ---- */

.block { padding: 80px 0; }

.block__note {
  max-width: var(--measure);
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mid-gray);
}

.grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
}

/* ---- card ---- */

.card {
  padding: 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--paper);
  box-shadow: var(--shadow-card);
}

.card--flush {
  margin-top: 32px;
  padding: 0;
  overflow: hidden;
}

.card__head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: .05em;
  color: var(--mid-gray);
}

.card__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.56;
  letter-spacing: -.01em;
}

.card__body {
  margin: 0;
  font-size: 14px;
  line-height: 1.63;
  color: var(--mid-gray);
}

/* ---- stat blocks ---- */

/* Vision/Mission を左、経緯の本文を右に置く。本文だけだと右半分が空くため */
.split {
  display: grid;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.stats {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-content: start;
}

.stat__label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.33;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--mid-gray);
}

.stat__value {
  margin: 8px 0 0;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.025em;
}

/* ---- prose ---- */

.prose {
  max-width: var(--measure);
}

.prose p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.63;
  color: var(--ink-soft);
}

.prose p:last-child { margin-bottom: 0; }

/* ---- spec ---- */

.spec { margin: 0; }

.spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hairline);
}

.spec__row:last-child { border-bottom: none; }

@media (min-width: 640px) {
  .spec__row {
    grid-template-columns: 160px 1fr;
    gap: 20px;
    padding: 12px 20px;
  }
}

.spec dt {
  font-size: 14px;
  font-weight: 500;
  color: var(--mid-gray);
}

.spec dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
}

.spec a { color: var(--ink); }

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

.contact { padding: 40px; }

.contact__title {
  max-width: 26ch;
  margin: 0;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: -.03em;
}

.contact__body {
  max-width: var(--measure);
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--mid-gray);
}

.contact .btn { margin-top: 32px; }

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

.footer {
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
  background: var(--surface-alt);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: .05em;
  color: var(--mid-gray);
}

/* ---- narrow ---- */

@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .hero { padding: 64px 0 56px; }
  .display { font-size: 36px; line-height: 1.11; letter-spacing: -.03em; }
  .hero__sub { font-size: 18px; line-height: 1.56; }
  .heading { font-size: 24px; letter-spacing: -.02em; }
  .block { padding: 56px 0; }
  .contact { padding: 24px; }
  .contact__title { font-size: 24px; line-height: 1.33; letter-spacing: -.02em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
