:root {
  --white: #ffffff;
  --black: #171928;
  --muted: #6E7191;
  --muted-strong: #4D4F6A;
  --light: #F4F5F9;
  --gray-50: #F9F9FC;
  --gray-200: #E2E3EC;
  --border: #D8D9E3;
  --accent: #5B63D3;
  --accent-dark: #4F55BA;
  --accent-bg: rgba(91, 99, 211, 0.06);
  --accent-gradient: linear-gradient(135deg, #5B63D3 0%, #7B6FD6 100%);
  --font: "Zen Kaku Gothic New", sans-serif;
  --font-en: "Space Grotesk", sans-serif;
  --max-w: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--black);
  font-family: var(--font);
  word-break: auto-phrase;
  overflow-wrap: break-word;
  overflow-x: hidden;
  min-height: 100dvh;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
.nowrap { white-space: nowrap; }

/* ── Reveal ── */

.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js-anim .reveal-heading {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js-anim .reveal-heading.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Container ── */

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 32px;
}

/* ── Section ── */

.section { padding: 100px 0; }

.section-number {
  display: block;
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 700;
  color: #eee;
  line-height: 1;
  margin-bottom: 4px;
  user-select: none;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(1.5rem, 1rem + 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* ── Buttons ── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.button-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.button-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button-secondary {
  border-color: var(--black);
  color: var(--black);
}
.button-secondary:hover {
  background: var(--black);
  color: var(--white);
}

/* ── Hero ── */

.hero {
  padding: 32px 0 120px;
  background: var(--gray-50);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-label {
  margin: 0;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.brand-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.top-link {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.top-link:hover {
  color: var(--black);
  border-color: var(--black);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: end;
  gap: 48px;
}

.hero-copy { min-width: 0; }

.hero-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 1.5rem + 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero-lead {
  margin: 24px 0 0;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
}

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

.hero-panel { min-width: 0; }

.status-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.status-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.status-value {
  margin: 8px 0 0;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--accent);
}

.status-text {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--muted);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.metric-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.metric-item span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

.metric-item strong {
  font-size: 1rem;
  font-weight: 900;
}

/* ── Concept ── */

.intro { padding: 100px 0 80px; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.intro-content h3 {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 900;
}

.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted-strong);
}

.check-list li::before {
  content: "\2014";
  color: var(--accent);
  font-weight: 900;
  flex-shrink: 0;
}

.check-list li:first-child { padding-top: 0; border-top: 0; }

.intro-quote {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 4px solid var(--accent);
}

.quote-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  display: block;
  margin: 0 0 14px;
}

.intro-quote blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
}

.intro-quote blockquote span { color: var(--accent); }

.quote-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--muted);
}

/* ── Purpose block (Values section 下部) ── */

.purpose-block {
  margin-top: 40px;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.purpose-block blockquote {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.purpose-block blockquote span { color: var(--accent); }

/* ── Values ── */

.values {
  background: var(--light);
  padding: 80px 0;
}
.values .section-number { color: #e0e0e0; }

.value-list { border-top: 1px solid var(--border); }

.value-item {
  display: grid;
  grid-template-columns: 64px 160px 1fr;
  align-items: baseline;
  gap: 20px;
  padding: 20px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.value-item:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.value-number {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.value-item h3 {
  margin: 0;
  font-family: var(--font-en);
  font-size: 1.05rem;
  font-weight: 700;
}

.value-item p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── Products ── */

.works { padding: 120px 0; }

.product-featured {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 32px;
}

.product-meta {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.product-tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  background: var(--accent-bg);
  color: var(--accent);
  border-radius: 4px;
  white-space: nowrap;
}

.product-featured h3 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.2;
}

.product-featured p {
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 600px;
}

.product-link {
  font-family: var(--font-en);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.product-link:hover { color: var(--accent-dark); }

/* ── Product Grid ── */

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.product-card .product-tag {
  align-self: flex-start;
}

.product-card h3 {
  margin: 4px 0 0;
  font-size: 0.95rem;
  font-weight: 900;
}

.product-card p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
  flex: 1;
}

.product-card .product-link {
  font-size: 0.75rem;
  align-self: flex-start;
}

.product-card .product-note {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

/* ── Community ── */

.community {
  background: var(--gray-50);
  padding: 80px 0;
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.stat-number {
  font-family: var(--font-en);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin: 0;
}

.community-stat h3 {
  margin: 8px 0 12px;
  font-size: 1.05rem;
  font-weight: 900;
}

.community-stat p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--muted);
}

.community-detail {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.community-detail-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 16px;
}

.community-detail-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--muted-strong);
  max-width: 700px;
}

/* ── Timeline ── */

.timeline-section { padding: 100px 0; }

.timeline-track {
  position: relative;
  padding-left: 160px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 139px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding: 20px 0 20px 32px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: calc(20px + 0.45em);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 99, 211, 0.15);
  z-index: 1;
}

.timeline-date {
  font-family: var(--font-en);
  position: absolute;
  left: -160px;
  top: 20px;
  width: 120px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: right;
}

.timeline-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--muted-strong);
}

/* ── CTA ── */

.cta {
  background: var(--accent-gradient);
  color: #fff;
  text-align: center;
  padding: 120px 0;
}

.cta .section-label { color: rgba(255, 255, 255, 0.7); }

.cta .section-heading {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 24px;
}

.cta .section-heading h2 {
  font-size: clamp(1.6rem, 1rem + 3vw, 3rem);
  font-weight: 900;
}

.cta-body {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.9;
  margin: 0 auto 40px;
  max-width: 500px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cta .button-primary {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}
.cta .button-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta .button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}
.cta .button-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* ── Footer ── */

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

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

.footer-brand {
  margin: 0;
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}

.footer-link {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-link:hover {
  color: var(--black);
}

/* ── Responsive ── */

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 48px;
  }
  .intro-grid { grid-template-columns: 1fr; }
  .value-item { grid-template-columns: 50px 140px 1fr; }
  .product-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .container { padding-inline: 20px; }
  .hero { padding: 20px 0 60px; }
  .section-number { font-size: 3.5rem; }
  .section-heading { margin-bottom: 32px; }

  .intro { padding: 60px 0; }
  .intro-quote { padding: 20px 24px; }
  .purpose-block { padding: 24px 28px; margin-top: 28px; }

  .values { padding: 60px 0; }
  .value-item {
    grid-template-columns: auto 1fr;
    gap: 6px 12px;
    padding: 16px 8px;
  }
  .value-item p { grid-column: 1 / -1; }

  .works { padding: 60px 0; }
  .product-featured { padding: 24px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { padding: 20px; }

  .community { padding: 60px 0; }
  .community-stats { grid-template-columns: 1fr; gap: 40px; }
  .community-detail { padding: 24px; }
  .metric-row { grid-template-columns: 1fr; }

  .hero-actions,
  .cta-actions { flex-direction: column; }
  .button { width: 100%; justify-content: center; }

  .timeline-section { padding: 60px 0; }
  .timeline-track { padding-left: 0; }
  .timeline-track::before { display: none; }
  .timeline-item { padding-left: 0; }
  .timeline-item::before { display: none; }
  .timeline-date {
    position: static;
    width: auto;
    text-align: left;
    margin-bottom: 4px;
  }

  .cta { padding: 80px 0; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 400px) {
  .hero-copy h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }
}
