:root {
  --cyan: #1ec8d6;
  --cyan-hover: #12b3c0;
  --link: #0a6f78;
  --cyan-deep: #0a6f78;
  --ink: #111114;
  --ink-soft: #2f2f35;
  --muted: #4d4d55;
  --paper: #ffffff;
  --paper-2: #f4f5f7;
  --line: rgba(17, 17, 20, 0.18);
  --dark: #0b0d12;
  --on-dark: #f3f3f5;
  --on-dark-muted: #c6c6cc;
  --space: 8px;
  --header-h: 72px;
  --font-en: "Outfit", "Zen Kaku Gothic New", sans-serif;
  --font-jp: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --wrap: min(1180px, calc(100% - 3.5rem));
  --focus: #111114;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 80;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.business :focus-visible,
.flow :focus-visible,
.manifesto :focus-visible,
.approach :focus-visible,
.global-menu :focus-visible,
.menu-btn:focus-visible {
  outline-color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

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

.en-label.light {
  color: var(--on-dark-muted);
}

.block-head h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.block-head.invert h2 {
  color: #fff;
}

.block-lead {
  margin: 1.1rem 0 0;
  max-width: 22em;
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--on-dark-muted);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding:
    max(0.4rem, env(safe-area-inset-top))
    max(1.5rem, env(safe-area-inset-right))
    0.4rem
    max(1.5rem, env(safe-area-inset-left));
  background: #fff;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.logo-image {
  height: 34px;
  width: auto;
}

.menu-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--cyan);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s ease;
}

.menu-btn.is-open span:first-child {
  transform: translateY(4.25px) rotate(45deg);
}

.menu-btn.is-open span:last-child {
  transform: translateY(-4.25px) rotate(-45deg);
}

.global-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: rgba(10, 12, 16, 0.94);
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 1rem) 2rem 3rem;
}

.global-menu[hidden] {
  display: none;
}

.global-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-menu a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
}

.global-menu .en {
  font-family: var(--font-en);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  min-width: 9.5em;
}

.global-menu .jp {
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}

.global-menu a:hover .jp {
  color: var(--cyan);
}

/* Hero */
.hero {
  padding-top: var(--header-h);
}

.hero-stage {
  position: relative;
  margin: 0.55rem 0.7rem 0;
  height: calc(100vh - var(--header-h) - 118px - 0.55rem);
  min-height: 420px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 5px;
  height: 100%;
  background: #050608;
}

.hero-cell {
  margin: 0;
  overflow: hidden;
}

.hero-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-cell-lg {
  grid-row: 1 / span 2;
}

.hero-kicker {
  pointer-events: none;
  position: absolute;
  z-index: 2;
  left: 0.15em;
  top: 4%;
  margin: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 9.4rem);
  line-height: 0.84;
  letter-spacing: -0.05em;
  color: var(--cyan);
}

.hero-caption {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  z-index: 3;
  width: min(720px, 88%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.scroll-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 118px;
  background: var(--cyan);
  color: #08383c;
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

/* News */
.news {
  padding: 5.5rem 0 5rem;
  background: var(--paper);
}

.news-list {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.news-list li {
  border-bottom: 1px solid var(--line);
}

.news-list li:not(:has(a)),
.news-list a {
  display: grid;
  grid-template-columns: 8.2rem 1fr;
  gap: 2rem;
  padding: 1.35rem 0;
}

.news-list a {
  color: inherit;
}

.news-list time {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.news-src {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.news-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.7;
}

.news-list a:hover .news-title {
  color: var(--cyan-deep);
}

/* Manifesto */
.manifesto {
  background: var(--dark);
  color: var(--on-dark);
  padding: 6.5rem 0 4rem;
}

.manifesto-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.7rem, 4.1vw, 3.15rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.manifesto-body {
  margin: 0 0 3.5rem;
  max-width: 34em;
  font-size: 1rem;
  font-weight: 400;
  line-height: 2.05;
  letter-spacing: 0.03em;
  color: var(--on-dark-muted);
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.photo-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

/* Message */
.message {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  min-height: 640px;
  background: var(--paper);
}

.message-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-body {
  padding: 5rem 4.5rem;
}

.lede {
  margin: 1.1rem 0 1.4rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.message-body p {
  color: var(--ink-soft);
}

.spec {
  margin: 2.2rem 0 0;
}

.spec div {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.spec dt {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.spec dd {
  margin: 0;
}

.spec a,
.legal-card a {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* Business */
.business,
.flow {
  background: var(--dark);
  color: var(--on-dark);
  padding: 6rem 0;
}

.biz-grid {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.biz-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 320px;
}

.biz-grid img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.biz-grid a:hover img {
  transform: scale(1.05);
}

.biz-meta {
  position: absolute;
  inset: auto 0 0;
  padding: 1.1rem 1rem 1.15rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.biz-meta .num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
}

.biz-meta .name {
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.tools {
  margin-top: 2.8rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.tools h3 {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
}

.tools ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tools li {
  font-size: 0.95rem;
  color: var(--on-dark);
}

.tools span {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-en);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* Works */
.works,
.contact {
  padding: 6rem 0;
  background: var(--paper-2);
}

.works-note {
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.works-row {
  list-style: none;
  margin: 2.2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.works-row li {
  background: #fff;
}

.works-row img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.works-row span {
  display: block;
  padding: 1rem 1.1rem 0;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.works-row strong {
  display: block;
  padding: 0.2rem 1.1rem 1.15rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.nda {
  margin-top: 2.4rem;
  padding: 2rem 2.1rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nda h3 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

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

.btn-fill,
.btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  white-space: nowrap;
}

.btn-fill {
  background: var(--cyan);
  color: #08383c;
}

.btn-fill:hover {
  background: var(--cyan-hover);
}

.btn-line {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: #fff;
}

/* Flow */
.flow-grid {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  counter-reset: none;
}

.flow-en {
  margin: 0 0 0.85rem;
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}

.flow-en span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  color: var(--on-dark-muted);
}

.flow h3 {
  margin: 0 0 0.7rem;
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.flow-grid p:last-child {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.9;
  color: var(--on-dark-muted);
}

/* Approach */
.approach {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  color: #fff;
}

.approach-bg {
  position: absolute;
  inset: 0;
}

.approach-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.approach-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 20%, rgba(6, 8, 12, 0.82));
}

.approach-copy {
  position: relative;
  z-index: 1;
  padding: 5.5rem 0;
}

.approach h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  letter-spacing: 0.04em;
}

.approach p:last-child {
  margin: 0;
  max-width: 28em;
  font-weight: 400;
  line-height: 2;
  color: var(--on-dark);
}

/* Contact */
.contact-lead {
  margin: 1.4rem 0 1.8rem;
  color: var(--ink-soft);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.email-line {
  margin: 1.2rem 0 0;
}

.email-line code {
  font-family: var(--font-en);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.contact-hints {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
}

.contact-hints li {
  padding: 0.35rem 0.75rem;
  background: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 3rem 0 2.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-addr,
.copy {
  margin: 1rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.site-footer nav a {
  font-size: 0.88rem;
}

.site-footer nav a:hover {
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.back-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  padding: 0 0.85rem;
  background: var(--cyan);
  color: #08383c;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.draft-note {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.75rem;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(12px);
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}

.toast.is-on {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.legal {
  padding: calc(var(--header-h) + 3.5rem) 0 5rem;
}

.legal-card {
  max-width: 44em;
  margin: 0 auto;
  padding: 2.6rem 2.4rem;
  background: #fff;
  border: 1px solid var(--line);
}

.legal-card h1 {
  margin: 0 0 1.2rem;
  font-size: 1.7rem;
  letter-spacing: 0.08em;
}

.legal-card h2 {
  margin: 2rem 0 0.6rem;
  font-size: 1.05rem;
}

.legal-card p,
.legal-card li {
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  :root {
    --wrap: min(1180px, calc(100% - 2.2rem));
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 160px 160px;
  }

  .hero-cell-lg {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }

  .hero-kicker {
    font-size: clamp(3.4rem, 18vw, 6rem);
  }

  .message,
  .biz-grid,
  .works-row,
  .flow-grid,
  .tools ul,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .message-body {
    padding: 3rem 1.6rem;
  }

  .photo-strip {
    grid-template-columns: 1fr 1fr;
  }

  .photo-strip img {
    height: 160px;
  }

  .nda {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .hero-stage {
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .hero-cell,
  .hero-cell-lg {
    min-height: 180px;
  }

  .hero-caption {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 0.4rem;
  }

  .news-list li:not(:has(a)),
  .news-list a {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .message {
    grid-template-columns: 1fr;
  }

  .message-body {
    order: -1;
    padding: 2.75rem 1.25rem 1.5rem;
  }

  .message-visual {
    padding: 0 1.25rem 2.5rem;
  }

  .message-visual img {
    height: 220px;
  }

  .biz-grid,
  .works-row,
  .flow-grid,
  .tools ul,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .global-menu a {
    flex-direction: column;
    gap: 0.2rem;
  }

  .global-menu .en {
    min-width: 0;
  }

  .spec div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .menu-btn span,
  .biz-grid img,
  .toast {
    transition: none;
  }
}
