:root {
  --paper: #fafaf9;
  --paper-dim: #f2f2f0;
  --ink: #17181a;
  --ink-72: rgba(23, 24, 26, 0.72);
  --ink-50: rgba(23, 24, 26, 0.5);
  --accent: #c73a2e;
  --hairline: #e4e3df;
  --ink-bg: #131417;
  --on-ink: rgba(255, 255, 255, 0.92);
  --on-ink-60: rgba(255, 255, 255, 0.6);
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --body-lh: 1.95;
}

html[lang="zh-Hans"] {
  --font-display: "Noto Serif SC", serif;
  --font-sans: "Noto Sans SC", sans-serif;
}

html[lang="en"] {
  --body-lh: 1.7;
}

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

html {
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: var(--body-lh);
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
dt,
.tile-name,
.mq-ja,
.mq-solo {
  font-family: var(--font-display);
  font-weight: 600;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
dt,
figure,
blockquote {
  margin: 0;
}

h1 {
  font-size: clamp(2.15rem, 5vw, 4.05rem);
  line-height: 1.32;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.4;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] dt,
html[lang="en"] .tile-name,
html[lang="en"] .mq-solo {
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p,
dd,
td {
  color: var(--ink-72);
  max-width: 38em;
}

.lead {
  font-size: 18px;
  line-height: 2;
  color: var(--ink-72);
  max-width: 38em;
}

html[lang="en"] .lead {
  line-height: 1.7;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  font-weight: 500;
}

.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section {
  padding-block: clamp(88px, 11vw, 152px);
}

section {
  scroll-margin-top: 84px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.skip-link:focus {
  top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 34px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s,
    transform 120ms cubic-bezier(0.23, 1, 0.32, 1);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-on-ink {
  background: var(--paper);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--on-ink);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-nav {
  padding: 12px 22px;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  z-index: 80;
  color: var(--on-ink);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}

html.scrolled .site-header {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: var(--hairline);
}

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

.wordmark {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: inherit;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.22em;
  flex: none;
}

.wordmark-sq {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  background: var(--accent);
  vertical-align: baseline;
  flex: none;
}

.header-end {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.nav-anchors {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-anchors a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}

.langs {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.langs a {
  color: inherit;
  text-decoration: none;
  font-weight: 400;
}

.lang-current {
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
  line-height: 1.2;
}

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--on-ink);
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(19, 20, 23, 0.82) 0%,
    rgba(19, 20, 23, 0.28) 52%,
    rgba(19, 20, 23, 0.42) 100%
  );
}

.hero-sentinel {
  position: absolute;
  bottom: 80px;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: clamp(72px, 10vh, 120px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero h1 span {
  display: block;
}

.hero h1 {
  margin: 18px 0 22px;
}

.hero-lead {
  font-size: 17px;
  line-height: var(--body-lh);
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.marquee {
  height: 76px;
  width: 100%;
  overflow: hidden;
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.marquee-track {
  display: flex;
  align-items: center;
  height: 100%;
  width: max-content;
}

.marquee-set {
  display: flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
}

.mq-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
}

.mq-ja,
.mq-solo {
  font-size: 20px;
  color: var(--ink);
  line-height: 1;
}

.mq-en {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-50);
  font-weight: 500;
}

.mq-sq {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 34px;
  background: var(--accent);
  vertical-align: middle;
  flex: none;
}

.sec-head {
  margin-bottom: clamp(40px, 6vw, 72px);
}

.sec-head .eyebrow {
  margin-bottom: 12px;
}

.sec-head .lead {
  margin-top: 20px;
}

.biz-block + .biz-block {
  margin-top: 96px;
}

.biz-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 40px;
  row-gap: 28px;
  align-items: center;
}

.biz-a .biz-media {
  grid-column: 1 / 8;
}

.biz-a .biz-copy {
  grid-column: 8 / 13;
}

.biz-b .biz-copy {
  grid-column: 1 / 6;
}

.biz-b .biz-media {
  grid-column: 6 / 13;
}

.biz-media {
  height: clamp(320px, 44vw, 520px);
  overflow: hidden;
}

.biz-media img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

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

.biz-copy h3 {
  margin-bottom: 16px;
}

.flow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  min-width: 0;
  max-width: 100%;
}

.flow-node {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--ink-50);
  font-weight: 500;
}

.flow-brand {
  font-weight: 700;
  color: var(--ink);
}

.flow-seg {
  position: relative;
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: var(--hairline);
  transform-origin: left center;
}

.flow-dot {
  display: none;
  position: absolute;
  left: 0;
  top: 50%;
  width: calc(100% - 6px);
  height: 6px;
  margin-top: -3px;
  pointer-events: none;
}

.flow-dot::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.tile {
  position: relative;
  overflow: hidden;
  display: block;
}

.tile img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.tile::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(19, 20, 23, 0.72));
  pointer-events: none;
}

.tile-label {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 1;
}

.tile-name {
  display: block;
  font-size: 21px;
  color: var(--on-ink);
  line-height: 1.3;
}

.tile-sub {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.tile-label::after {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  margin-top: 10px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
}

.span-3 {
  grid-column: span 3;
}

.span-4 {
  grid-column: span 4;
}

.span-5 {
  grid-column: span 5;
}

.span-7 {
  grid-column: span 7;
}

.h-340 {
  height: 340px;
}

.h-300 {
  height: 300px;
}

.tile-text {
  background: var(--paper-dim);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

.tile-text p {
  color: var(--ink-72);
}

.tile-text a {
  margin-top: 20px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.04em;
  width: fit-content;
}

.strengths {
  background: var(--paper-dim);
}

.str-list {
  margin: 0;
}

.str-row {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 32px;
  padding: 34px 0;
  align-items: start;
}

.str-row + .str-row {
  border-top: 1px solid var(--hairline);
}

.str-row dt {
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: color 0.25s;
}

html[lang="en"] .str-row dt {
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.str-row dd {
  margin: 0;
}

.about-inner {
  max-width: 760px;
}

.about-inner h2 {
  margin-bottom: 36px;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table th {
  width: 148px;
  vertical-align: top;
  text-align: left;
  padding: 22px 24px 22px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
}

.about-table td {
  padding: 22px 0;
  color: var(--ink-72);
  max-width: none;
}

.about-table tr + tr th,
.about-table tr + tr td {
  border-top: 1px solid var(--hairline);
}

.contact-band {
  position: relative;
  height: clamp(240px, 32vw, 320px);
  overflow: hidden;
}

.contact-band img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.contact-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(19, 20, 23, 0.45);
  pointer-events: none;
}

#contact {
  background: var(--ink-bg);
  color: var(--on-ink);
  padding-top: 120px;
  padding-bottom: 80px;
}

#contact .eyebrow {
  color: var(--on-ink-60);
  margin-bottom: 14px;
}

#contact h2 {
  color: var(--on-ink);
  margin-bottom: 22px;
}

#contact .contact-lead {
  color: var(--on-ink-60);
  max-width: 36em;
  margin-bottom: 40px;
}

.contact-addr {
  display: block;
  margin-top: 56px;
  font-size: 13px;
  font-style: normal;
  color: var(--on-ink-60);
  line-height: 1.85;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 88px);
  align-items: start;
  margin-top: 56px;
}

.contact-grid .contact-addr {
  margin-top: 0;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.contact-form label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--on-ink);
  font-weight: 500;
}

.contact-form .req,
.contact-form .opt {
  margin-left: 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.contact-form .req {
  color: #f0897d;
}

.contact-form .opt {
  color: var(--on-ink-60);
}

.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
  color: var(--on-ink);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding: 13px 15px;
  width: 100%;
  max-width: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 132px;
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: rgba(255, 255, 255, 0.44);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--on-ink);
  background: rgba(255, 255, 255, 0.1);
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.field-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cf-submit {
  margin-top: 6px;
}

.cf-submit[disabled] {
  opacity: 0.6;
  cursor: default;
}

.cf-status {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.8;
  max-width: 34em;
  color: var(--on-ink);
  min-height: 0;
}

.contact-form[data-state="error"] .cf-status {
  color: #f0897d;
}

.contact-form[data-state="invalid"] input:invalid,
.contact-form[data-state="invalid"] textarea:invalid {
  border-color: #f0897d;
}

.cf-note {
  margin-top: 20px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--on-ink-60);
  max-width: 34em;
}

@media (max-width: 899px) {
  .contact-grid {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

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

.site-footer {
  background: var(--ink-bg);
  color: var(--on-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 32px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.footer-inner .langs {
  justify-self: center;
}

.footer-copy {
  justify-self: end;
  font-size: 12px;
  color: var(--on-ink-60);
  letter-spacing: 0.04em;
}

@media (max-width: 899px) {
  .nav-anchors {
    display: none;
  }

  .header-end {
    gap: 14px;
  }

  .btn-nav {
    padding: 10px 14px;
  }

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

  .biz-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .biz-b .biz-media {
    order: -1;
  }

  .biz-media {
    width: 100%;
    height: clamp(220px, 52vw, 380px);
  }

  .flow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .flow-node,
  .flow-brand {
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .flow-seg {
    flex: none;
    width: 1px;
    height: 28px;
    min-width: 1px;
    margin: 8px 0 8px 12px;
  }

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

  .tile,
  .tile-text {
    grid-column: 1 / -1;
    height: 232px;
  }

  .str-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .footer-inner .langs,
  .footer-copy {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .wordmark {
    font-size: 15px;
    letter-spacing: 0.12em;
  }

  .langs {
    gap: 10px;
  }

  .btn-nav {
    padding: 8px 12px;
    font-size: 11px;
    letter-spacing: 0.08em;
  }

  .hero h1 {
    margin: 14px 0 18px;
  }

  .tile-text {
    padding: 28px;
  }

  .about-table th {
    display: block;
    width: auto;
    padding: 18px 0 6px;
  }

  .about-table td {
    display: block;
    padding: 0 0 18px;
  }

  .about-table tr + tr th {
    border-top: 1px solid var(--hairline);
    padding-top: 18px;
  }

  .about-table tr + tr td {
    border-top: none;
  }

  .flow {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }

  .reveal.in {
    opacity: 1;
    transform: none;
  }

  .hero-img {
    transform: scale(1.06);
  }

  .loaded .hero-img {
    animation: kenburns 2.8s ease-out forwards;
  }

  .hero-copy > * {
    opacity: 0;
    transform: translateY(26px);
  }

  .loaded .hero-copy > * {
    animation: hero-in 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .loaded .hero-copy > *:nth-child(1) {
    animation-delay: 200ms;
  }

  .loaded .hero-copy > *:nth-child(2) {
    animation-delay: 330ms;
  }

  .loaded .hero-copy > *:nth-child(3) {
    animation-delay: 460ms;
  }

  .loaded .hero-copy > *:nth-child(4) {
    animation-delay: 590ms;
  }

  .marquee-track {
    animation: marquee-move 55s linear infinite;
  }

  .flow-seg {
    transform: scaleX(0);
    transition: transform 600ms ease;
  }

  .in .flow-seg,
  .reveal.in .flow-seg {
    transform: scaleX(1);
  }

  .in .flow-dot,
  .reveal.in .flow-dot {
    display: block;
    animation: flow-dot-x 2.6s ease-in-out infinite;
    animation-delay: 0.6s;
  }

  .in .flow-seg-b .flow-dot,
  .reveal.in .flow-seg-b .flow-dot {
    animation-delay: 1.9s;
  }

  @media (max-width: 899px) {
    .flow-seg {
      transform: scaleY(0);
      transform-origin: top center;
    }

    .in .flow-seg,
    .reveal.in .flow-seg {
      transform: scaleY(1);
    }

    .flow-dot {
      left: 50%;
      top: 0;
      width: 6px;
      height: calc(100% - 6px);
      margin-left: -3px;
      margin-top: 0;
    }

    .in .flow-dot,
    .reveal.in .flow-dot {
      animation-name: flow-dot-y;
    }
  }

  .tile img {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .tile-label::after {
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  }

  @supports (animation-timeline: view()) {
    .contact-band img {
      height: 118%;
      animation: band-shift linear both;
      animation-timeline: view();
    }
  }

  @keyframes kenburns {
    from {
      transform: scale(1.06);
    }
    to {
      transform: scale(1);
    }
  }

  @keyframes hero-in {
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes marquee-move {
    to {
      transform: translateX(-50%);
    }
  }

  @keyframes flow-dot-x {
    0% {
      transform: translateX(0);
      opacity: 0;
    }
    12% {
      opacity: 1;
    }
    88% {
      opacity: 1;
    }
    100% {
      transform: translateX(100%);
      opacity: 0;
    }
  }

  @keyframes flow-dot-y {
    0% {
      transform: translateY(0);
      opacity: 0;
    }
    12% {
      opacity: 1;
    }
    88% {
      opacity: 1;
    }
    100% {
      transform: translateY(100%);
      opacity: 0;
    }
  }

  @keyframes band-shift {
    from {
      transform: translateY(-6%);
    }
    to {
      transform: translateY(6%);
    }
  }
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--accent);
    color: var(--paper);
  }

  .btn-on-ink:hover {
    background: var(--accent);
    color: var(--paper);
  }

  .btn-secondary:hover {
    color: var(--on-ink);
    border-color: var(--on-ink);
    background: rgba(255, 255, 255, 0.08);
  }

  .nav-anchors a,
  .langs a {
    transition: opacity 0.15s ease;
  }

  .nav-anchors a:hover,
  .langs a:hover {
    opacity: 0.6;
  }

  .tile-text a {
    transition: color 0.15s ease;
  }

  .tile-text a:hover {
    color: var(--accent);
  }

  .str-row:hover dt {
    color: var(--accent);
  }

  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }

  @media (prefers-reduced-motion: no-preference) {
    .tile:hover img {
      transform: scale(1.04);
    }

    .tile:hover .tile-label::after {
      transform: scaleX(1);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-set[aria-hidden="true"] {
    display: none;
  }
}
