@charset "UTF-8";

:root {
  --paper: #fffdf9;
  --paper-pure: #ffffff;
  --soft: #f6f5f1;
  --ink: #111214;
  --muted: #66686b;
  --line: #d9d8d3;
  --line-dark: rgba(255, 255, 255, 0.16);
  --orange: #ef5a09;
  --orange-bright: #ff7520;
  --orange-deep: #bd4813;
  --night: #101214;
  --gold: #d4852a;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --shell: 1180px;
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
ol,
ul {
  margin-top: 0;
}

::selection {
  background: var(--orange);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.ruled-section {
  border-bottom: 1px solid var(--line);
}

.section {
  padding-block: 96px;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow::after {
  display: block;
  width: 38px;
  height: 1px;
  margin-top: 14px;
  background: currentColor;
  content: "";
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 253, 249, 0.9);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(255, 253, 249, 0.97);
  box-shadow: 0 6px 30px rgba(17, 18, 20, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand,
.brand-crop {
  display: block;
}

.brand {
  flex: 0 0 auto;
}

.brand-crop {
  width: clamp(168px, 17vw, 212px);
  aspect-ratio: 2.71 / 1;
  overflow: hidden;
}

.brand-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47.5%;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.8vw, 40px);
  font-size: 0.77rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.primary-nav > a:not(.nav-contact) {
  position: relative;
  padding-block: 10px;
}

.primary-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.primary-nav > a:hover::after,
.primary-nav > a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 0 20px;
  background: var(--orange);
  color: #fff;
  transition: background 0.25s;
}

.nav-contact:hover {
  background: var(--orange-deep);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--ink);
  background: transparent;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  background:
    linear-gradient(rgba(17, 18, 20, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 5vw;
  min-height: calc(100vh - var(--header-height) - 48px);
  padding-block: 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  max-width: 10em;
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.32;
}

.hero-brand-name {
  display: block;
  margin-bottom: 14px;
  color: var(--orange-deep);
  font-family: var(--sans);
  font-size: clamp(0.76rem, 1.15vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.5;
}

.hero-lead {
  max-width: 640px;
  margin-bottom: 34px;
  color: #4f5154;
  font-size: 0.96rem;
  font-weight: 550;
  line-height: 2.05;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.button span {
  transition: transform 0.25s var(--ease);
}

.button:hover span {
  transform: translateX(4px);
}

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

.button-primary:hover {
  border-color: var(--orange-deep);
  background: var(--orange-deep);
}

.button-secondary:hover {
  background: var(--ink);
  color: #fff;
}

.hero-index {
  display: flex;
  gap: 0;
  width: min(100%, 520px);
  margin: 46px 0 0;
}

.hero-index > div {
  flex: 1;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero-index dt {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-index dd {
  margin: 2px 0 0;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  border-right: 1px solid rgba(17, 18, 20, 0.1);
  border-left: 1px solid rgba(17, 18, 20, 0.1);
  background: radial-gradient(circle at 50% 47%, rgba(239, 90, 9, 0.06), transparent 45%);
}

#fox-network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-mark-crop {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: clamp(220px, 58%, 320px);
  aspect-ratio: 0.833 / 1;
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.hero-mark-crop img {
  position: absolute;
  top: -96.6%;
  left: -24.2%;
  width: 370%;
  max-width: none;
}

.visual-corner {
  position: absolute;
  z-index: 1;
  color: #7b7d7f;
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.11em;
  line-height: 1.75;
}

.visual-corner-top {
  top: 22px;
  right: 24px;
  color: var(--orange-deep);
}

.visual-corner-bottom {
  right: 24px;
  bottom: 22px;
  display: grid;
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 18px;
  height: 48px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
}

.scroll-cue i {
  position: relative;
  width: 78px;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--orange);
  content: "";
  animation: scan 2.4s infinite var(--ease);
}

@keyframes scan {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.statement {
  position: relative;
  overflow: hidden;
  padding-block: 54px;
}

.statement::after {
  position: absolute;
  top: -60px;
  right: 5vw;
  width: 280px;
  height: 180px;
  border: 1px solid rgba(17, 18, 20, 0.06);
  content: "";
  transform: skew(-25deg) rotate(-8deg);
}

.statement-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.statement-en {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.25em;
}

.statement-en em {
  color: var(--orange);
  font-style: normal;
}

.statement h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: end;
  gap: 8vw;
  margin-bottom: 48px;
}

.section-heading h2,
.side-title h2,
.side-title h3,
.company h2,
.contact h2,
.vision h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.section-heading > p {
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 2;
}

.service-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-feature {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 22px;
  min-height: 320px;
  padding: 34px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.3s, border-color 0.3s;
}

.service-feature:hover {
  background: #fff;
  box-shadow: inset 0 -2px 0 var(--orange);
}

.card-number {
  margin-bottom: 8px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.service-feature h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-feature p:not(.card-number) {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.85rem;
}

.service-feature ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.77rem;
}

.service-feature li {
  position: relative;
  padding-left: 13px;
}

.service-feature li::before {
  position: absolute;
  top: 0.83em;
  left: 0;
  width: 4px;
  height: 4px;
  background: var(--orange);
  content: "";
}

.line-icon {
  position: relative;
  width: 64px;
  height: 64px;
  color: var(--ink);
}

.icon-monitor::before {
  position: absolute;
  inset: 6px 2px 17px;
  border: 2px solid currentColor;
  content: "";
}

.icon-monitor::after {
  position: absolute;
  right: 13px;
  bottom: 8px;
  left: 13px;
  height: 2px;
  background: currentColor;
  box-shadow: 18px -13px 0 -7px var(--orange), 6px -7px 0 -5px var(--orange);
  content: "";
}

.icon-monitor span {
  position: absolute;
  bottom: 10px;
  left: 31px;
  width: 2px;
  height: 9px;
  background: currentColor;
}

.icon-language {
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-language::before,
.icon-language::after {
  position: absolute;
  content: "";
}

.icon-language::before {
  top: -2px;
  bottom: -2px;
  left: 50%;
  width: 24px;
  border-right: 1px solid currentColor;
  border-left: 1px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
}

.icon-language::after {
  top: 50%;
  right: 2px;
  left: 2px;
  height: 1px;
  background: currentColor;
}

.icon-language span {
  position: absolute;
  right: -7px;
  bottom: -6px;
  z-index: 1;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--orange);
  background: var(--paper);
  color: var(--orange);
  font-weight: 700;
}

.icon-code {
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 1.55rem;
  letter-spacing: -0.12em;
}

.icon-code::after {
  position: absolute;
  right: 4px;
  bottom: 5px;
  width: 15px;
  height: 2px;
  background: var(--orange);
  content: "";
  transform: rotate(-48deg);
}

.capability-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  margin-top: 72px;
}

.side-title {
  padding-right: 36px;
  border-right: 1px solid var(--line);
}

.side-title > p:not(.eyebrow) {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.85rem;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.capability-grid article {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  min-height: 145px;
  padding: 24px 20px;
  border-bottom: 1px solid var(--line);
}

.capability-grid article:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.capability-grid h3 {
  margin-bottom: 5px;
  font-size: 0.85rem;
}

.capability-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}

.capability-symbol {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 1.7rem;
}

.code-symbol,
.ai-symbol {
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
}

.process-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}

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

.process-list li {
  position: relative;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.process-list li::after {
  position: absolute;
  top: 21px;
  right: -9px;
  z-index: 1;
  color: var(--orange);
  font-family: var(--mono);
  content: "→";
}

.process-list li:last-child::after {
  display: none;
}

.process-number {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.07em;
}

.process-list h3 {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.85;
}

.vision {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 30%, rgba(239, 90, 9, 0.09), transparent 26%),
    var(--night);
  color: #fff;
}

.vision-network {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    radial-gradient(circle, var(--gold) 0 2px, transparent 3px),
    linear-gradient(28deg, transparent 48.8%, var(--gold) 49%, var(--gold) 49.3%, transparent 49.5%);
  background-position: 0 0, 0 0;
  background-size: 105px 87px, 210px 174px;
  mask-image: linear-gradient(90deg, transparent 20%, #000 100%);
}

.vision-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(560px, 1.25fr);
  align-items: center;
  gap: 6vw;
}

.vision .eyebrow {
  color: var(--gold);
}

.vision h2 {
  margin-bottom: 24px;
  color: #fff;
}

.vision-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  line-height: 2;
}

.vision-path {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.vision-path article {
  text-align: center;
}

.vision-path article > span {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.vision-path > b {
  color: var(--gold);
  font-family: var(--mono);
  font-size: 1.7rem;
  font-weight: 300;
}

.vision-path h3 {
  margin: 0 0 4px;
  font-size: 0.9rem;
}

.vision-path p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
}

.vision-orbit {
  position: relative;
  width: 86px;
  height: 86px;
  margin: 18px auto 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.vision-orbit::before,
.vision-orbit::after,
.vision-orbit i {
  position: absolute;
  content: "";
}

.orbit-book {
  border-radius: 0;
  border-top-width: 0;
  transform: perspective(100px) rotateX(4deg);
}

.orbit-book::before {
  top: 12px;
  bottom: 9px;
  left: 50%;
  width: 1px;
  background: var(--gold);
}

.orbit-book::after {
  right: 9px;
  bottom: 15px;
  left: 9px;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 -38px 0 rgba(212, 133, 42, 0.45), 0 -25px 0 rgba(212, 133, 42, 0.35);
}

.orbit-globe::before,
.orbit-globe::after {
  inset: -1px 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.orbit-globe::after {
  inset: 20px -1px;
}

.orbit-network i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.orbit-network i:nth-child(1) { top: 16px; left: 34px; }
.orbit-network i:nth-child(2) { right: 15px; bottom: 24px; }
.orbit-network i:nth-child(3) { bottom: 14px; left: 20px; }

.orbit-network::before,
.orbit-network::after {
  top: 42px;
  left: 12px;
  width: 62px;
  height: 1px;
  background: var(--gold);
  transform: rotate(31deg);
}

.orbit-network::after {
  transform: rotate(-42deg);
}

.projects-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.project-grid article {
  position: relative;
  min-height: 350px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: background 0.25s, transform 0.25s;
}

.project-grid article:hover {
  z-index: 1;
  background: #fff;
  transform: translateY(-4px);
}

.project-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
}

.project-topline strong {
  color: var(--orange);
  font-size: 0.55rem;
}

.project-grid h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
  line-height: 1.4;
}

.project-grid p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.85;
}

.project-grid a {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 700;
}

.project-grid a span {
  color: var(--orange);
  transition: transform 0.25s;
}

.project-grid a:hover span {
  transform: translateX(4px);
}

.project-symbol {
  position: relative;
  width: 74px;
  height: 74px;
  margin-bottom: 22px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.project-symbol::before,
.project-symbol::after {
  position: absolute;
  inset: 11px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  content: "";
}

.project-symbol::after {
  inset: 25px;
  background: var(--orange);
  border-color: var(--orange);
}

.project-symbol i {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.project-symbol i:nth-child(1) { top: 7px; left: 34px; }
.project-symbol i:nth-child(2) { right: 4px; bottom: 25px; }
.project-symbol i:nth-child(3) { bottom: 5px; left: 20px; }

.connected-symbol {
  border-radius: 0;
  transform: rotate(45deg) scale(0.72);
}

.connected-symbol::before {
  border-radius: 0;
}

.connected-symbol::after {
  inset: 27px;
}

.mesh-symbol {
  border-style: dashed;
}

.mesh-symbol::before {
  inset: 8px 24px;
}

.company-grid {
  display: grid;
  grid-template-columns: 0.68fr 1.15fr 0.72fr;
  align-items: stretch;
  gap: 48px;
}

.company-table {
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.company-table > div {
  display: grid;
  grid-template-columns: 118px 1fr;
  min-height: 49px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.company-table dt,
.company-table dd {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 9px 16px;
  font-size: 0.75rem;
}

.company-table dt {
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

.company-table a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.company-logo-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  border: 1px solid var(--line);
  background: #fff;
}

.brand-crop-large {
  width: min(92%, 270px);
}

.company-logo-panel p {
  margin: 13px 0 0;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.14em;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: 82px;
}

.contact::after {
  position: absolute;
  right: -80px;
  bottom: -180px;
  width: 450px;
  height: 450px;
  border: 1px solid rgba(17, 18, 20, 0.08);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 60px rgba(17, 18, 20, 0.02), 0 0 0 120px rgba(17, 18, 20, 0.018);
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  align-items: end;
  gap: 9vw;
}

.contact h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.35;
}

.contact-copy p {
  margin-bottom: 24px;
  color: var(--muted);
}

.button-wide {
  width: 100%;
}

.site-footer {
  background: var(--night);
  color: #fff;
}

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

.footer-brand {
  display: flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  background: #fff;
}

.brand-crop-footer {
  width: 154px;
}

.footer-inner > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.65rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.65rem;
}

.footer-links a:hover {
  color: var(--orange-bright);
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(17, 18, 20, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 18, 20, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 56px 56px;
}

.error-card {
  width: min(100%, 620px);
  padding: clamp(32px, 7vw, 72px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.error-card .brand-crop {
  margin: 0 auto 30px;
}

.error-code {
  margin-bottom: 12px;
  color: var(--orange);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.error-card h1 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 600;
}

.error-card > p:not(.error-code) {
  margin-bottom: 28px;
  color: var(--muted);
}

.error-card .button {
  margin-inline: auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, 0.82fr);
    gap: 32px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .service-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-feature {
    grid-template-columns: 88px 1fr;
    min-height: 0;
  }

  .vision-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .company-grid {
    grid-template-columns: 0.75fr 1.25fr;
  }

  .company-logo-panel {
    grid-column: 1 / -1;
    min-height: 200px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .shell {
    width: min(calc(100% - 44px), var(--shell));
  }

  .section {
    padding-block: 72px;
  }

  .brand-crop {
    width: 176px;
  }

  .menu-button {
    position: relative;
    z-index: 102;
    display: block;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    z-index: 101;
    display: grid;
    gap: 0;
    padding: 18px 22px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.985);
    box-shadow: 0 18px 40px rgba(17, 18, 20, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 0.25s, transform 0.25s;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav > a:not(.nav-contact) {
    padding: 13px 4px;
    border-bottom: 1px solid var(--line);
  }

  .nav-contact {
    justify-content: space-between;
    margin-top: 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 72px 40px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    min-height: min(70vw, 570px);
  }

  .section-heading,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .capability-layout,
  .process-layout,
  .projects-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .side-title {
    padding-right: 0;
    padding-bottom: 28px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .capability-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .capability-grid article:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 44px;
  }

  .process-list li:nth-child(2)::after {
    display: none;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 62px;
  }

  .vision-copy {
    max-width: 680px;
  }

  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-grid article:last-child {
    grid-column: 1 / -1;
  }

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

  .company-logo-panel {
    grid-column: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding-block: 25px;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 40px), var(--shell));
  }

  .section {
    padding-block: 58px;
  }

  .brand-crop {
    width: 154px;
  }

  .hero-grid {
    padding-top: 56px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.55rem);
  }

  .hero-lead {
    font-size: 0.88rem;
  }

  .button-row {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-index dd {
    font-size: 0.57rem;
  }

  .hero-visual {
    min-height: 96vw;
  }

  .statement {
    padding-block: 42px;
  }

  .statement-en {
    letter-spacing: 0.14em;
    line-height: 1.8;
  }

  .statement h2 {
    font-size: 1.62rem;
    line-height: 1.65;
  }

  .section-heading h2,
  .side-title h2,
  .side-title h3,
  .company h2,
  .vision h2 {
    font-size: 1.85rem;
  }

  .service-feature {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

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

  .capability-grid article,
  .capability-grid article:nth-last-child(-n + 2),
  .capability-grid article:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }

  .capability-grid article:last-child {
    border-bottom: 0;
  }

  .process-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-list li {
    padding: 0 0 30px 64px;
    border-left: 1px solid var(--orange);
  }

  .process-list li:last-child {
    padding-bottom: 0;
  }

  .process-list li::after {
    display: none;
  }

  .process-number {
    position: absolute;
    top: -5px;
    left: 16px;
    font-size: 1.35rem;
  }

  .vision-path {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .vision-path > b {
    transform: rotate(90deg);
  }

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

  .project-grid article:last-child {
    grid-column: auto;
  }

  .company-table > div {
    grid-template-columns: 96px 1fr;
  }

  .company-table dt,
  .company-table dd {
    padding-inline: 11px;
    overflow-wrap: anywhere;
  }

  .contact {
    padding-block: 62px;
  }

  .contact h2 {
    font-size: 2.35rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .footer-inner > p {
    grid-column: auto;
    grid-row: auto;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
