:root {
  /* Base */
  --bg: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --border-subtle: #F1F5F9;

  /* Text */
  --text-primary: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;

  /* Accent — Teal */
  --accent: #0D9488;
  --accent-hover: #0F766E;
  --accent-subtle: #CCFBF1;
  --accent-text: #134E4A;

  /* Semantic */
  --max-width: 1080px;
  --radius: 8px;
  --radius-lg: 12px;

  /* Fonts — system stack only, zero external font requests */
  --font-en: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-jp: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-jp), var(--font-en);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dt, dd { margin: 0; }

a {
  color: var(--accent-hover);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--accent-hover); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius);
  z-index: 1000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  color: #fff;
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.25s ease;
}
.site-header.scrolled .header-inner {
  height: 60px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon-link {
  display: block;
  line-height: 0;
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.brand-icon-link:hover {
  transform: scale(1.06);
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.brand-text {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.brand-text:hover {
  color: var(--text-primary);
}
.site-nav ul {
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.site-nav a:hover { color: var(--accent-hover); }
.site-nav a:hover::after { transform: scaleX(1); }

/* Sections */
.section {
  padding: 96px 0;
}
.section-subtle {
  background: var(--bg-subtle);
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-en);
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

/* Announcement (法人化予告) */
.announce {
  padding: 64px 0;
  background: var(--bg-subtle);
}
.announce-card {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(204, 251, 241, 0.5));
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(13, 148, 136, 0.08);
}
.announce-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}
.announce-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.16em;
  margin-bottom: 12px;
}
.announce-title {
  font-family: var(--font-jp);
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.announce-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 640px;
  margin: 0;
}
@media (max-width: 640px) {
  .announce {
    padding: 48px 0;
  }
  .announce-card {
    padding: 32px 24px;
  }
}
.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 48px;
}
.section-lead {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
  max-width: 760px;
  margin-bottom: 24px;
}
.section-lead + .section-lead {
  margin-bottom: 48px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  padding: 160px 0 120px;
  background: var(--bg);
}
.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-blob {
  position: absolute;
  inset: 0;
}
.hero-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}
.hero-blob--main {
  background: radial-gradient(
    circle var(--blob-r, 360px) at var(--mx, 50%) var(--my, 50%),
    rgba(13, 148, 136, 0.22),
    rgba(13, 148, 136, 0) 60%
  );
}
.hero .container {
  position: relative;
  z-index: 1;
}
.btn-magnetic {
  will-change: transform;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-text);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--accent-subtle);
  border: 1px solid rgba(13, 148, 136, 0.18);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.1);
}
.hero-title {
  font-family: var(--font-jp);
  font-size: clamp(42px, 6vw, 68px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 820px;
  margin-bottom: 32px;
}
.hero-sub {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 640px;
  margin-bottom: 20px;
}
.hero-mission {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 48px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-jp);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 14px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn-primary {
  background: var(--accent-hover);
  color: #fff;
}
.btn-primary:hover {
  background: #0B5F58;
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}
.btn-large {
  font-size: 16px;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
}

/* About */
.about-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
  margin-top: 24px;
  max-width: 760px;
}
.about-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}
.about-row:last-child { border-bottom: 0; padding-bottom: 0; }
.about-row dt {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-top: 2px;
}
.about-row dd {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

/* What I Do cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
  border-color: var(--border);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-subtle);
  color: var(--accent-text);
  margin-bottom: 20px;
}
.card-title {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.card-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
}
.card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Works */
.works-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.work {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.work:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}
.work-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.role-badge {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-subtle);
  color: var(--accent-text);
}
.work-title {
  font-family: var(--font-jp);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.work-desc {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 20px;
}
.work-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.work-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
  padding-left: 18px;
  position: relative;
}
.work-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Work with image (Work 3 — TennisLabo) */
.work--with-image .work-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}
.work-figure {
  margin: 0;
  align-self: end;
}
.work-figure a {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-figure a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}
.work-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.work-figure--illustration img {
  border-radius: 0;
  max-height: 220px;
  object-fit: contain;
}
.work-figure figcaption {
  margin-top: 8px;
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--text-muted);
  text-align: right;
  letter-spacing: 0.02em;
}
.work-figure figcaption a {
  color: var(--text-muted);
  border-radius: 0;
  display: inline;
  overflow: visible;
  transition: color 0.15s ease;
}
.work-figure figcaption a:hover {
  color: var(--accent-hover);
  transform: none;
  box-shadow: none;
}
@media (max-width: 760px) {
  .work--with-image .work-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .work-figure {
    max-width: 360px;
    margin: 0 auto;
    width: 100%;
  }
  .work-figure figcaption {
    text-align: center;
  }
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border-radius: 6px;
  background: var(--accent-subtle);
  color: var(--accent-text);
  white-space: nowrap;
}

/* Tech Stack — Icons */
.tech-icons {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 12px;
}
.tech-icons li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tech-icons li:hover {
  border-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.tech-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}
.tech-icons span {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-body);
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
}

/* Tech Stack */
.tech-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.tech-group {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}
.tech-group:last-child { border-bottom: 0; padding-bottom: 0; }
.tech-group-title {
  font-family: var(--font-en);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  padding-top: 4px;
}

/* Works > Community block */
.works-community {
  margin-top: 56px;
  padding: 28px 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
}
.works-community-title {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-hover);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.works-community-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.works-community-list li {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-primary);
}
.works-community-list a {
  color: var(--accent-hover);
  border-bottom: 1px solid rgba(13, 148, 136, 0.4);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.works-community-list a:hover {
  border-bottom-color: var(--accent);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}
.pricing-name {
  font-family: var(--font-jp);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.pricing-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 24px;
  flex: 1;
}
.pricing-price {
  font-family: var(--font-en);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.pricing-tax {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin: 4px 0 0;
}
.pricing-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 8px 0 0;
}
@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card {
    padding: 28px;
  }
}

/* Contact */
.contact-desc {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 640px;
}
.contact-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  background: var(--bg);
}
.site-footer p {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}

/* Responsive — Tablet */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tech-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Responsive — Mobile */
@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 96px 0 56px;
  }
  .section-sub {
    margin-bottom: 32px;
  }
  .header-inner {
    height: 60px;
  }
  .site-header.scrolled .header-inner {
    height: 56px;
  }
  .site-nav ul {
    gap: 18px;
  }
  .site-nav a {
    font-size: 14px;
  }
  .brand {
    font-size: 16px;
  }
  .hero-title {
    margin-bottom: 24px;
  }
  .hero-sub {
    font-size: 16px;
    margin-bottom: 36px;
  }
  .hero-ctas {
    width: 100%;
  }
  .btn {
    flex: 1 1 auto;
    padding: 13px 20px;
  }
  .about-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .about-row dt {
    padding-top: 0;
  }
  .work {
    padding: 28px 24px;
  }
  .work-title {
    font-size: 19px;
  }
  .work-header {
    gap: 10px;
  }
  .profile-list li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }
  .card {
    padding: 28px 24px;
  }
  .contact-desc {
    margin-bottom: 32px;
  }
  .btn-large {
    padding: 16px 28px;
    font-size: 15px;
    width: 100%;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
