:root {
  --navy: #06172f;
  --navy-2: #0b254b;
  --navy-3: #0e315d;
  --ink: #142038;
  --muted: #5b6473;
  --gold: #d8af68;
  --gold-2: #b9853d;
  --gold-light: #f5dca2;
  --line: rgba(188, 151, 91, .52);
  --paper: #f6f7f7;
  --white: #fff;
  --shadow: 0 24px 50px rgba(7, 24, 47, .18);
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  letter-spacing: 0;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button, input, textarea { font: inherit; }
main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(216,175,104,.13), transparent 22%),
    radial-gradient(circle at 92% 34%, rgba(7,24,47,.07), transparent 28%),
    linear-gradient(135deg, rgba(252,253,253,.99), rgba(238,242,246,.94)),
    linear-gradient(rgba(7,24,47,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,24,47,.055) 1px, transparent 1px),
    linear-gradient(rgba(7,24,47,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7,24,47,.028) 1px, transparent 1px);
  background-size:
    auto,
    auto,
    auto,
    96px 96px,
    96px 96px,
    24px 24px,
    24px 24px;
}
main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(7,24,47,.12) 7% 7.12%, transparent 7.24%),
    linear-gradient(90deg, transparent 0 93%, rgba(7,24,47,.1) 93% 93.12%, transparent 93.24%),
    linear-gradient(0deg, transparent 0 9%, rgba(7,24,47,.1) 9% 9.12%, transparent 9.24%),
    linear-gradient(0deg, transparent 0 91%, rgba(7,24,47,.08) 91% 91.12%, transparent 91.24%),
    repeating-linear-gradient(32deg, transparent 0 138px, rgba(7,24,47,.032) 139px 140px, transparent 141px 260px),
    repeating-linear-gradient(148deg, transparent 0 178px, rgba(216,175,104,.04) 179px 180px, transparent 181px 320px),
    linear-gradient(118deg, transparent 0 39%, rgba(216,175,104,.14) 39.12% 39.28%, transparent 39.42%),
    linear-gradient(118deg, transparent 0 68%, rgba(216,175,104,.11) 68.12% 68.3%, transparent 68.48%);
}
main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(216,175,104,.46), rgba(216,175,104,0)) 0 22% / calc(var(--scroll, 0) * 1%) 1px no-repeat,
    linear-gradient(90deg, rgba(7,24,47,.28), rgba(7,24,47,0)) 0 46% / calc(var(--scroll, 0) * 1%) 1px no-repeat,
    linear-gradient(90deg, rgba(216,175,104,.32), rgba(216,175,104,0)) 0 71% / calc(var(--scroll, 0) * 1%) 1px no-repeat,
    linear-gradient(180deg, rgba(216,175,104,.34), rgba(216,175,104,0)) 16% 0 / 1px calc(var(--scroll, 0) * 1%) no-repeat,
    linear-gradient(180deg, rgba(7,24,47,.22), rgba(7,24,47,0)) 84% 0 / 1px calc(var(--scroll, 0) * 1%) no-repeat;
  opacity: .74;
}
.scroll-blueprint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .72;
}
.scroll-blueprint svg {
  width: 100%;
  height: 100%;
}
.scroll-blueprint path,
.scroll-blueprint circle {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.scroll-blueprint-guide {
  stroke: rgba(7,24,47,.08);
  stroke-width: 2;
  stroke-dasharray: 10 14;
}
.scroll-blueprint-progress {
  stroke: rgba(216,175,104,.55);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6200;
  stroke-dashoffset: var(--scroll-path, 6200);
  filter: drop-shadow(0 0 8px rgba(216,175,104,.28));
}
.scroll-blueprint circle {
  fill: rgba(246,247,247,.95);
  stroke: rgba(216,175,104,.45);
  stroke-width: 2;
}
.blueprint-dimension {
  fill: none;
  stroke: rgba(7,24,47,.16);
  stroke-width: 1.6;
  stroke-linecap: square;
}
.blueprint-detail,
.blueprint-arc,
.blueprint-leader,
.blueprint-section-mark path,
.blueprint-section-mark circle {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.blueprint-detail {
  stroke: rgba(7,24,47,.105);
  stroke-width: 1.4;
}
.blueprint-arc {
  stroke: rgba(216,175,104,.22);
  stroke-width: 1.6;
  stroke-dasharray: 7 7;
}
.blueprint-leader {
  stroke: rgba(7,24,47,.14);
  stroke-width: 1.3;
}
.blueprint-section-mark circle {
  stroke: rgba(216,175,104,.25);
  stroke-width: 1.6;
}
.blueprint-section-mark path {
  stroke: rgba(216,175,104,.28);
  stroke-width: 1.4;
}
.scroll-blueprint text {
  fill: rgba(7,24,47,.24);
  font-family: Georgia, serif;
  font-size: 22px;
  letter-spacing: .18em;
}
main > * {
  position: relative;
  z-index: 1;
}
.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;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 100;
  width: calc(var(--scroll, 0) * 1%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-2));
  box-shadow: 0 0 16px rgba(216, 175, 104, .5);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(360px, 1fr) auto;
  align-items: center;
  gap: 26px;
  min-height: var(--header-h);
  padding: 0 clamp(18px, 3vw, 36px);
  color: var(--white);
  background: rgba(3, 15, 33, .98);
  border-bottom: 1px solid rgba(216, 175, 104, .22);
  transition: min-height .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  min-height: 68px;
  background: rgba(3, 14, 31, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  justify-self: start;
  width: fit-content;
  min-width: max-content;
}
.brand-logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
.brand-name {
  color: var(--white);
  font-size: clamp(20px, 2vw, 29px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.65vw, 30px);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.global-nav a {
  position: relative;
  padding: 31px 0;
  opacity: .92;
  transition: color .2s ease, opacity .2s ease;
}
.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--gold-light);
  transition: transform .22s ease;
}
.global-nav a:hover,
.global-nav a.is-active { color: var(--gold-light); opacity: 1; }
.global-nav a:hover::after,
.global-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; justify-content: end; gap: 12px; }
.header-phone {
  display: grid;
  gap: 3px;
  min-width: max-content;
  color: var(--gold-light);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1;
  text-align: right;
}
.header-phone small {
  color: rgba(255,255,255,.72);
  font-family: "Yu Gothic", sans-serif;
  font-size: 10px;
  font-weight: 700;
}
.menu-toggle { display: none; }

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(216, 175, 104, .67);
  border-radius: 0;
  cursor: pointer;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-105%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: transform .55s ease;
}
.btn::after { content: "›"; margin-left: 6px; font-size: 24px; line-height: .6; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.btn:hover::before { transform: translateX(105%); }
.btn-gold { color: #14213a; background: linear-gradient(135deg, #f4d99c 0%, #c28b41 100%); }
.btn-dark, .btn-outline { color: var(--white); background: rgba(4, 21, 43, .72); }
.btn-large { min-width: 214px; min-height: 58px; }
.btn-icon { font-size: 14px; transform: rotate(45deg); }

.hero {
  position: relative;
  min-height: min(680px, calc(100svh - var(--header-h)));
  color: var(--white);
  background:
    radial-gradient(circle at 16% 18%, rgba(216, 175, 104, .18), transparent 38%),
    var(--navy);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(3, 13, 30, .99) 0%,
      rgba(4, 17, 36, .98) 21%,
      rgba(4, 18, 39, .86) 31%,
      rgba(5, 23, 48, .48) 45%,
      rgba(5, 23, 48, .14) 58%,
      rgba(5, 23, 48, 0) 69%),
    linear-gradient(118deg, transparent 0 44%, rgba(255,255,255,.05) 44.2% 44.6%, transparent 44.8%),
    linear-gradient(180deg, rgba(1,8,20,.04), rgba(1,8,20,.28));
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: min(760px, 60vw);
  padding: clamp(50px, 5.4vw, 74px) 0 76px clamp(26px, 4.8vw, 64px);
}
.eyebrow,
.section-title p,
.works-head p {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
}
.hero h1 {
  max-width: 760px;
  margin: 0 0 26px;
  font-size: clamp(46px, 4.55vw, 64px);
  line-height: 1.22;
  font-weight: 700;
  text-shadow: 0 8px 26px rgba(0,0,0,.34);
}
.h1-line {
  display: block;
  white-space: nowrap;
}
.h1-gold { color: var(--gold-light); }
.lead {
  max-width: 620px;
  margin: 0 0 28px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(14px, 1.14vw, 16px);
  line-height: 1.95;
  font-weight: 700;
  text-wrap: pretty;
}
.lead span { display: inline; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

.hero-media {
  position: absolute;
  inset: 0 0 0 28%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(250px, 23vw, 340px);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 clamp(250px, 23vw, 340px) 0 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(3, 13, 30, .66) 0%,
      rgba(4, 18, 39, .42) 18%,
      rgba(5, 23, 48, .18) 38%,
      rgba(5, 23, 48, 0) 62%);
}
.hero-photo {
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
  opacity: .94;
}
.detail-stack {
  display: grid;
  grid-template-rows: 1fr 1.45fr;
  border-left: 4px solid rgba(255,255,255,.84);
}
.detail-stack img {
  height: 100%;
  object-fit: cover;
  object-position: 24% center;
  filter: grayscale(.86) contrast(1.12) brightness(1.05);
  border-bottom: 4px solid rgba(255,255,255,.84);
}
.hero-stats {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(620px, 100%);
  margin-top: 34px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(6, 25, 52, .98), rgba(4, 18, 39, .98));
  box-shadow: 0 18px 36px rgba(0,0,0,.3);
}
.hero-stats div {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 88px;
  padding: 18px 16px 17px;
  text-align: center;
  border-right: 1px solid rgba(216,175,104,.34);
}
.hero-stats div:last-child { border-right: 0; }
.hero-stats .laurel {
  display: none;
}
.hero-stats b {
  display: block;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.28;
  white-space: nowrap;
}
.hero-stats b span { color: var(--gold-light); font-size: clamp(30px, 2.65vw, 40px); padding: 0 4px; }
.hero-stats small {
  display: block;
  margin-top: 7px;
  font-family: "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.scroll-cue {
  position: absolute;
  right: 28px;
  bottom: 22px;
  z-index: 4;
  display: none;
  color: rgba(255,255,255,.72);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
}

.section-soft {
  position: relative;
  padding: 48px clamp(22px, 4.6vw, 60px) 36px;
  background: transparent;
}
.section-title { position: relative; text-align: center; }
.section-title h2,
.works-head h2 {
  margin: 0;
  font-size: clamp(25px, 2.65vw, 34px);
  line-height: 1.25;
}
.section-title::after {
  content: "";
  display: block;
  max-width: 1180px;
  height: 1px;
  margin: 14px auto 28px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.topics-list {
  position: relative;
  display: grid;
  max-width: 1040px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.94)),
    #fff;
  border: 1px solid rgba(17,32,58,.12);
  box-shadow: 0 18px 42px rgba(7,24,47,.11);
  overflow: hidden;
}
.topics-list::before,
.service-details article::before,
.case-grid article::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold-2), transparent);
}
.topics-list article {
  display: grid;
  grid-template-columns: 118px 90px 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(17,32,58,.09);
  transition: background .22s ease, transform .22s ease;
}
.topics-list article:hover { background: rgba(216,175,104,.08); }
.topics-list article:last-child { border-bottom: 0; }
.topics-list time {
  color: var(--gold-2);
  font-family: Georgia, serif;
  font-weight: 700;
}
.topics-list span,
.works-categories span {
  display: inline-flex;
  justify-content: center;
  padding: 5px 10px;
  color: var(--navy);
  background: rgba(216,175,104,.16);
  border: 1px solid rgba(216,175,104,.42);
  font-family: "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.topics-list h3 {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
}

.strength-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
  counter-reset: strength;
}
.strength-grid article {
  counter-increment: strength;
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  min-height: 238px;
  padding: 30px 26px 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 16%, rgba(245,220,162,.16), transparent 34%),
    linear-gradient(145deg, rgba(10,43,84,.98), rgba(4,18,39,.98));
  border: 1px solid rgba(216,175,104,.34);
  box-shadow: 0 18px 34px rgba(7,24,47,.14);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.strength-grid article::before {
  content: "0" counter(strength);
  position: absolute;
  right: 20px;
  top: 16px;
  color: rgba(245,220,162,.18);
  font-family: Georgia, serif;
  font-size: 58px;
  font-weight: 700;
  line-height: 1;
}
.strength-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(245,220,162,.74);
  box-shadow: 0 26px 48px rgba(7,24,47,.22);
}
.strength-grid article:nth-child(n + 4) { margin-top: 0; }
.line-icon {
  position: relative;
  z-index: 1;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--gold-light);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(245,220,162,.36);
  border-radius: 50%;
}
.line-icon svg {
  width: 38px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.strength-grid h3 {
  position: relative;
  z-index: 1;
  margin: 4px 0 10px;
  color: var(--white);
  font-size: clamp(18px, 1.65vw, 21px);
  line-height: 1.45;
}
.strength-grid p,
.service-card p,
.flow-list small,
.modal-copy p,
.form-note {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.82;
}
.strength-grid p {
  position: relative;
  z-index: 1;
  grid-column: 2;
  color: rgba(255,255,255,.78);
}

.services { padding-top: 24px; }
.service-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.service-card {
  position: relative;
  min-height: 252px;
  border: 1px solid var(--gold);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(7,24,47,.14);
  overflow: hidden;
  outline: none;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.16));
}
.service-card img {
  height: 158px;
  object-fit: cover;
  transition: transform .55s ease, filter .55s ease;
}
.service-card div {
  position: relative;
  z-index: 2;
  min-height: 94px;
  padding: 16px 14px 14px;
  color: var(--white);
  background: linear-gradient(180deg, #0d2548, #06172f);
}
.service-card h3 { margin: 0 0 8px; font-size: clamp(16px, 1.35vw, 18px); }
.service-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--gold-light);
  font-family: "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
}
.service-card span::after { content: "›"; font-size: 20px; line-height: .7; }
.service-card:hover,
.service-card:focus-visible,
.service-card.is-selected {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: 0 22px 42px rgba(7,24,47,.25);
}
.service-card:hover img,
.service-card:focus-visible img,
.service-card.is-selected img { transform: scale(1.06); filter: saturate(1.08) contrast(1.04); }
.service-card:hover span,
.service-card:focus-visible span,
.service-card.is-selected span { opacity: 1; transform: translateY(0); }

.service-details {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 24px;
  max-width: 1180px;
  margin: 28px auto 0;
}
.service-details article {
  position: relative;
  padding: 26px;
  background:
    radial-gradient(circle at 100% 0%, rgba(216,175,104,.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,250,252,.95));
  border: 1px solid rgba(17,32,58,.12);
  box-shadow: 0 18px 42px rgba(7,24,47,.11);
  overflow: hidden;
}
.service-details h3 {
  margin: 0 0 14px;
  font-size: clamp(18px, 1.55vw, 22px);
}
.service-details h3:not(:first-child) { margin-top: 22px; }
.service-details p,
.catalog-list dd,
.case-grid p,
.company-table dd,
.site-footer p {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 13px;
  line-height: 1.85;
}
.catalog-list {
  display: grid;
  gap: 12px;
  margin: 0;
}
.catalog-list div {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(17,32,58,.08);
}
.catalog-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.catalog-list dt {
  color: var(--gold-2);
  font-family: "Yu Gothic", sans-serif;
  font-weight: 700;
}

.cases { padding-top: 34px; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.case-grid article {
  position: relative;
  min-height: 220px;
  padding: 24px 22px;
  background:
    linear-gradient(150deg, rgba(255,255,255,.98), rgba(246,248,250,.95)),
    #fff;
  border: 1px solid rgba(17,32,58,.12);
  box-shadow: 0 18px 42px rgba(7,24,47,.1);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.case-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(216,175,104,.45);
  box-shadow: 0 26px 54px rgba(7,24,47,.15);
}
.case-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
}
.case-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.45;
}

.works-map { padding-top: 34px; }
.works-map-shell {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(300px, .95fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(22px, 3.6vw, 42px);
  background:
    radial-gradient(circle at 18% 18%, rgba(216,175,104,.16), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.97), rgba(246,248,250,.94));
  border: 1px solid rgba(17,32,58,.12);
  box-shadow: 0 18px 42px rgba(7,24,47,.1);
}
.japan-map {
  position: relative;
  min-height: 520px;
  background:
    linear-gradient(135deg, rgba(6,23,47,.96), rgba(10,43,84,.92)),
    var(--navy);
  border: 1px solid rgba(216,175,104,.36);
  overflow: hidden;
}
.japan-map::before,
.japan-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.japan-map::before {
  background:
    linear-gradient(rgba(245,220,162,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,220,162,.09) 1px, transparent 1px);
  background-size: 38px 38px;
  opacity: .42;
}
.japan-map::after {
  background:
    radial-gradient(circle at 66% 12%, rgba(245,220,162,.15), transparent 18%),
    radial-gradient(circle at 43% 54%, rgba(159,195,238,.14), transparent 24%),
    linear-gradient(118deg, transparent 0 48%, rgba(216,175,104,.22) 48.2% 48.55%, transparent 48.8%);
}
.japan-svg {
  position: absolute;
  inset: 4% 9%;
  z-index: 1;
  width: 82%;
  height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(0,0,0,.28));
}
.map-pins {
  position: absolute;
  inset: 4% 9%;
  z-index: 2;
}
.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 62px;
  height: 30px;
  padding: 0 9px;
  color: var(--gold-light);
  background: rgba(3,15,33,.82);
  border: 1px solid rgba(245,220,162,.62);
  border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(245,220,162,.3);
  cursor: pointer;
  font-family: "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  transform: translate(-50%, -50%);
  animation: mapPulse 2.8s ease infinite;
}
.map-pin::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
}
.map-pin:hover,
.map-pin:focus-visible {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1.12);
}
@keyframes mapPulse {
  0% { box-shadow: 0 0 0 0 rgba(245,220,162,.38); }
  70% { box-shadow: 0 0 0 14px rgba(245,220,162,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,220,162,0); }
}
.map-summary h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.8vw, 38px);
  line-height: 1.28;
}
.map-summary > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.9;
}
.map-summary dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}
.map-summary dl div {
  padding: 18px;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(216,175,104,.38);
}
.map-summary dt {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
}
.map-summary dd {
  margin: 4px 0 0;
  font-family: "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.map-summary ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.map-summary li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(17,32,58,.1);
  font-family: "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.map-summary li span:last-child {
  color: var(--gold-2);
  font-family: Georgia, serif;
}

.works {
  position: relative;
  padding: 31px clamp(22px, 4.4vw, 56px) 48px;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(35, 76, 121, .35), transparent 32%),
    linear-gradient(135deg, rgba(4,18,39,.99), rgba(8,35,70,.99)),
    var(--navy);
  overflow: hidden;
}
.works::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0 62%, rgba(216,175,104,.08) 62.3% 62.7%, transparent 63%);
}
.works-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: 1194px;
  margin: 0 auto 18px;
}
.works-shell {
  position: relative;
  z-index: 2;
  max-width: 1194px;
  margin: 0 auto;
}
.works-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.works-categories span {
  color: var(--gold-light);
  background: rgba(216,175,104,.12);
}
.works-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 42px) / 4);
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 4px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.works-row::-webkit-scrollbar { display: none; }
.work-card {
  display: grid;
  grid-template-rows: 150px auto 1fr;
  min-width: 0;
  color: var(--white);
  background: rgba(9,37,73,.82);
  border: 1px solid rgba(255,255,255,.08);
  scroll-snap-align: start;
  transition: transform .25s ease, background .25s ease;
}
.work-card:hover { transform: translateY(-4px); background: rgba(12, 47, 91, .92); }
.work-card img {
  height: 150px;
  object-fit: cover;
}
.work-card h3 {
  margin: 0;
  padding: 15px 14px 8px;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.38;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.work-meta {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 0 14px 16px;
  font-family: "Yu Gothic", sans-serif;
  font-size: 13px;
}
.work-category {
  justify-self: start;
  padding: 4px 9px;
  color: var(--gold-light);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 12px;
  font-weight: 700;
}
.work-area {
  display: block;
  color: rgba(255,255,255,.78);
  font-family: "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--gold-light);
  background: rgba(3, 15, 33, .72);
  border: 1px solid rgba(216,175,104,.5);
  cursor: pointer;
  font-size: 36px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}
.carousel-btn:hover { background: rgba(216,175,104,.2); transform: translateY(-50%) scale(1.04); }
.carousel-btn.prev { left: -34px; }
.carousel-btn.next { right: -34px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dots button {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(255,255,255,.32);
}
.carousel-dots button.is-active { background: var(--gold-light); }

.subpage-hero {
  padding: 72px clamp(22px, 5vw, 72px) 42px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(3,13,30,.94), rgba(5,23,48,.76)),
    url("assets/hero-building.png") center / cover;
}
.subpage-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.2;
}
.subpage-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.85;
}
.works-archive { padding-top: 34px; }
.archive-toolbar {
  display: grid;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto 24px;
}
.archive-count {
  color: var(--navy);
  font-family: "Yu Gothic", sans-serif;
  font-weight: 700;
}
.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.archive-filters button {
  padding: 9px 13px;
  color: var(--navy);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(17,32,58,.16);
  cursor: pointer;
  font-family: "Yu Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
}
.archive-filters button.is-active,
.archive-filters button:hover {
  color: #14213a;
  background: linear-gradient(135deg, #f4d99c 0%, #c28b41 100%);
  border-color: rgba(216,175,104,.72);
}
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}
.archive-card {
  display: grid;
  grid-template-rows: 210px 1fr;
  align-items: start;
  min-width: 0;
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(255,255,255,.98), rgba(246,248,250,.95)),
    #fff;
  border: 1px solid rgba(17,32,58,.12);
  box-shadow: 0 18px 42px rgba(7,24,47,.1);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.archive-card:hover {
  transform: translateY(-5px);
  border-color: rgba(216,175,104,.45);
  box-shadow: 0 26px 54px rgba(7,24,47,.15);
}
.archive-card img {
  height: 210px;
  object-fit: cover;
}
.archive-card div {
  display: grid;
  align-content: start;
  justify-items: start;
  padding: 18px 18px 20px;
}
.archive-card span {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 5px 10px;
  color: var(--gold-2);
  border: 1px solid rgba(216,175,104,.42);
  font-family: "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
}
.archive-card h2 {
  margin: 0 0 10px;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.45;
}
.archive-card p,
.archive-card small,
.work-detail-lead,
.work-detail-meta dd {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.75;
}
.archive-card p {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 700;
}
.archive-card small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
}
.work-detail {
  max-width: 1180px;
  margin: 0 auto;
  padding-block: 56px;
}
.work-detail h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.25;
}
.work-detail-lead {
  max-width: 900px;
  color: var(--muted);
}
.work-detail-lead p {
  margin: 0 0 12px;
}
.work-detail-lead p:last-child { margin-bottom: 0; }
.work-detail-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 26px 0;
}
.work-detail-meta div {
  padding: 15px 16px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(17,32,58,.12);
}
.work-detail-meta dt {
  color: var(--gold-2);
  font-family: "Yu Gothic", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.work-image-button {
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: zoom-in;
  overflow: hidden;
}
.work-image-button img {
  transition: transform .25s ease, filter .25s ease;
}
.work-image-button:hover img,
.work-image-button:focus-visible img {
  transform: scale(1.025);
  filter: contrast(1.04) saturate(1.04);
}
.work-detail-main-image img {
  max-height: 620px;
  object-fit: cover;
  border: 1px solid rgba(17,32,58,.12);
  box-shadow: 0 18px 42px rgba(7,24,47,.12);
}
.work-detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.work-detail-gallery img {
  height: 160px;
  object-fit: cover;
  border: 1px solid rgba(17,32,58,.12);
}
.work-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.image-modal {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  padding: 42px 18px 18px;
  background: rgba(3, 13, 30, .96);
  border: 1px solid rgba(216,175,104,.48);
  box-shadow: 0 28px 80px rgba(0,0,0,.52);
}
.image-modal::backdrop {
  background: rgba(3, 13, 30, .78);
  backdrop-filter: blur(6px);
}
.image-modal img {
  max-height: calc(100svh - 100px);
  object-fit: contain;
}
.image-modal .modal-close {
  top: 10px;
  right: 10px;
}
.image-modal-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  color: var(--gold-light);
  background: rgba(3, 15, 33, .76);
  border: 1px solid rgba(216,175,104,.54);
  cursor: pointer;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}
.image-modal-nav:hover {
  background: rgba(216,175,104,.2);
}
.image-modal-prev { left: 18px; }
.image-modal-next { right: 18px; }

.flow { padding-top: 22px; }
.flow-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1210px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,249,251,.96)),
    #fff;
  box-shadow: 0 18px 42px rgba(9,30,58,.11);
  border: 1px solid rgba(17,32,58,.1);
  overflow: hidden;
}
.flow-list li {
  position: relative;
  min-height: 144px;
  padding: 22px 16px 18px;
  text-align: center;
  border-right: 1px solid rgba(17,32,58,.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0), rgba(216,175,104,.05));
}
.flow-list li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -13px;
  top: 48%;
  z-index: 2;
  color: var(--navy);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
}
.flow-list li:last-child { border-right: 0; }
.flow-list b {
  position: absolute;
  top: 13px;
  left: 14px;
  padding: 6px 8px;
  color: #fff;
  background: var(--navy);
  font-family: Georgia, serif;
  font-size: 13px;
}
.flow-list i {
  display: block;
  height: 36px;
  margin: 10px 0 8px;
  color: var(--navy-2);
  font-style: normal;
  font-size: 33px;
  line-height: 1;
}
.flow-list span {
  display: block;
  margin: 0 0 8px;
  font-weight: 700;
}

.company-info { padding-top: 28px; }
.company-table {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96)),
    #fff;
  border: 1px solid rgba(17,32,58,.12);
  box-shadow: 0 18px 42px rgba(7,24,47,.11);
  overflow: hidden;
}
.company-table::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-2));
}
.company-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid rgba(17,32,58,.09);
}
.company-table div:last-child { border-bottom: 0; }
.company-table dt,
.company-table dd {
  margin: 0;
  padding: 16px 20px;
}
.company-table dt {
  color: var(--white);
  background: var(--navy);
  font-family: "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.company-table dd { background: rgba(255,255,255,.72); }

.contact-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 1.25fr) minmax(280px, .75fr) auto;
  align-items: center;
  gap: 28px;
  margin: 20px clamp(18px, 4vw, 62px) 28px;
  padding: 32px clamp(22px, 3vw, 40px);
  color: var(--white);
  background:
    linear-gradient(118deg, transparent 0 45%, rgba(216,175,104,.4) 45.2% 45.6%, transparent 45.8%),
    linear-gradient(135deg, #06172f, #09284e);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.5vw, 33px);
  line-height: 1.45;
}
.contact-cta p {
  margin: 0;
  font-family: "Yu Gothic", sans-serif;
  line-height: 1.8;
}
.phone {
  color: var(--gold-light);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(32px, 3.75vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}
.phone::before { content: "☎"; margin-right: 10px; font-size: .72em; }
.phone small {
  display: block;
  margin-top: 8px;
  color: var(--white);
  font-family: "Yu Gothic", sans-serif;
  font-size: 14px;
  font-weight: 500;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(280px, 1fr);
  gap: 24px;
  padding: 34px clamp(22px, 4.4vw, 56px) 86px;
  color: rgba(255,255,255,.78);
  background: #031022;
  border-top: 1px solid rgba(216,175,104,.24);
  overflow: hidden;
}
.site-footer strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 22px;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 20px;
  font-family: "Yu Gothic", sans-serif;
  font-size: 13px;
  font-weight: 700;
}
.site-footer a:hover { color: var(--gold-light); }
.site-footer small {
  grid-column: 1 / -1;
  font-family: Georgia, serif;
  color: rgba(255,255,255,.48);
}
.footer-road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 42px;
  border-top: 1px solid rgba(216,175,104,.22);
  background:
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(245,220,162,.34) 34px 70px, transparent 70px 108px) center 20px / 100% 2px no-repeat,
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.12));
}
.porsche-911 {
  position: absolute;
  left: -170px;
  bottom: 10px;
  width: 138px;
  height: 32px;
  animation: drive911 9s linear infinite;
}
.car-body {
  position: absolute;
  left: 14px;
  right: 4px;
  bottom: 7px;
  height: 15px;
  background: linear-gradient(180deg, #49a7ff, #0057b8);
  border-radius: 38px 72px 15px 13px;
  box-shadow: inset 0 -3px 0 rgba(3,15,33,.22), 0 7px 14px rgba(0,0,0,.26);
}
.car-body::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -15px;
  width: 78px;
  height: 22px;
  background: linear-gradient(180deg, #3f98ec, #0064c8);
  border-radius: 88px 72px 10px 9px;
  clip-path: polygon(0 96%, 18% 36%, 44% 0, 68% 8%, 88% 45%, 100% 96%);
}
.car-body::after {
  content: "";
  position: absolute;
  left: 3px;
  top: -10px;
  width: 42px;
  height: 7px;
  background: linear-gradient(180deg, #62b6ff, #0070d9);
  border-radius: 999px 999px 4px 4px;
  box-shadow:
    7px 9px 0 -3px rgba(7,24,47,.96),
    29px 9px 0 -3px rgba(7,24,47,.96);
}
.car-window {
  position: absolute;
  left: 39px;
  bottom: 21px;
  width: 50px;
  height: 11px;
  background: rgba(6,23,47,.82);
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 48px 56px 4px 4px;
  clip-path: polygon(0 100%, 22% 0, 66% 0, 100% 100%);
}
.car-window::after {
  content: "";
  position: absolute;
  left: 22px;
  top: -1px;
  width: 1px;
  height: 13px;
  background: rgba(255,255,255,.34);
  transform: rotate(8deg);
}
.car-light {
  position: absolute;
  bottom: 15px;
  width: 6px;
  height: 3px;
  border-radius: 999px;
}
.car-light-front {
  right: 6px;
  background: #fff4bd;
  box-shadow: 13px 0 18px rgba(245,220,162,.4);
}
.car-light-rear {
  left: 15px;
  background: #d53b32;
}
.wheel {
  position: absolute;
  bottom: 0;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle, rgba(235,240,246,.9) 0 2px, #111927 3px 7px, #020712 8px);
  border: 2px solid rgba(255,255,255,.42);
  border-radius: 50%;
  animation: wheelSpin .55s linear infinite;
}
.wheel-front { right: 22px; }
.wheel-rear { left: 31px; }
.carrera-white {
  bottom: 13px;
  width: 128px;
  height: 31px;
  animation-duration: 11s;
  animation-delay: -4.8s;
}
.carrera-white .car-body {
  left: 7px;
  right: 5px;
  height: 15px;
  background: linear-gradient(180deg, #ffffff, #dfe5ec);
  border-radius: 46px 72px 16px 15px;
  box-shadow: inset 0 -3px 0 rgba(3,15,33,.16), 0 7px 14px rgba(0,0,0,.24);
}
.carrera-white .car-body::before {
  left: 22px;
  top: -14px;
  width: 68px;
  height: 21px;
  background: linear-gradient(180deg, #ffffff, #e8edf3);
  border-radius: 92px 78px 8px 8px;
  clip-path: polygon(0 96%, 20% 34%, 48% 0, 73% 8%, 100% 96%);
}
.carrera-white .car-body::after {
  left: 13px;
  top: 2px;
  width: 18px;
  height: 13px;
  background: #07182f;
  border-radius: 80% 35% 60% 35%;
  box-shadow: none;
}
.carrera-white .car-window {
  left: 38px;
  bottom: 21px;
  width: 43px;
  height: 11px;
}
.carrera-white .wheel-front { right: 19px; }
.carrera-white .wheel-rear { left: 24px; }
.g-class-white {
  bottom: 9px;
  width: 122px;
  height: 44px;
  animation-duration: 12.5s;
  animation-delay: -8s;
}
.g-class-white .car-body {
  left: 10px;
  right: 8px;
  bottom: 13px;
  height: 27px;
  background: linear-gradient(180deg, #ffffff, #dce3eb);
  border-radius: 5px 8px 4px 4px;
  box-shadow: inset 0 -4px 0 rgba(3,15,33,.14), 0 8px 14px rgba(0,0,0,.24);
}
.g-class-white .car-body::before {
  left: 12px;
  top: -13px;
  width: 62px;
  height: 20px;
  background: linear-gradient(180deg, #ffffff, #e8edf3);
  border-radius: 4px 7px 0 0;
  clip-path: polygon(0 100%, 0 0, 78% 0, 100% 100%);
}
.g-class-white .car-body::after {
  left: -7px;
  top: 3px;
  width: 10px;
  height: 20px;
  background:
    radial-gradient(ellipse at center, #f7f8fa 0 4px, #07182f 5px 7px, #f7f8fa 8px);
  border: 1px solid rgba(7,24,47,.48);
  border-radius: 50%;
  box-shadow: none;
}
.g-class-white .car-window {
  left: 30px;
  bottom: 31px;
  width: 48px;
  height: 11px;
  border-radius: 2px;
  clip-path: polygon(0 100%, 0 0, 78% 0, 100% 100%);
}
.g-class-white .car-window::after {
  left: 22px;
  height: 12px;
  transform: none;
}
.g-class-white .car-light-front {
  right: 7px;
  bottom: 27px;
}
.g-class-white .car-light-rear {
  left: 8px;
  bottom: 27px;
}
.g-class-white .wheel {
  width: 20px;
  height: 20px;
}
.g-class-white .wheel-front { right: 19px; }
.g-class-white .wheel-rear { left: 29px; }
@keyframes drive911 {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(100vw + 260px)); }
}
@keyframes wheelSpin {
  to { transform: rotate(360deg); }
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--white);
  background: rgba(4, 18, 39, .88);
  border: 1px solid var(--line);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .22s ease, transform .22s ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.contact-modal {
  width: min(920px, calc(100% - 32px));
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 28px 80px rgba(0,0,0,.42);
}
.contact-modal::backdrop { background: rgba(3, 13, 30, .72); backdrop-filter: blur(6px); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(4,18,39,.82);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 24px;
}
.modal-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
}
.modal-copy {
  padding: 46px 36px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4,18,39,.78), rgba(4,18,39,.96)),
    url("assets/hero-building.png") center / cover;
}
.modal-copy h2 { margin: 0 0 16px; font-size: clamp(25px, 3vw, 38px); line-height: 1.4; }
.contact-form {
  display: grid;
  gap: 14px;
  padding: 42px 34px 34px;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(17,32,58,.2);
  padding: 12px 13px;
  color: var(--ink);
  background: #f8f9fa;
  font-family: "Yu Gothic", sans-serif;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(216,175,104,.42);
  border-color: var(--gold);
  background: #fff;
}
.form-note { color: var(--muted); }
.form-note.is-success { color: #0b6b42; font-weight: 700; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.blueprint-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.blueprint-grid {
  opacity: .28;
  background:
    linear-gradient(rgba(245,220,162,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,220,162,.16) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  transform: translate3d(calc(var(--grid-x, 0) * 1px), calc(var(--grid-y, 0) * 1px), 0);
}
.hero-media,
.hero-photo,
.detail-stack {
  transform: translate3d(0, calc(var(--parallax-y, 0) * 1px), 0);
  will-change: transform;
}

.service-card.reveal.is-visible:hover,
.service-card.reveal.is-visible:focus-visible,
.service-card.reveal.is-visible.is-selected {
  transform: translateY(-6px);
}

.works-row { perspective: 1000px; }
.work-card[data-tilt] {
  --rx: 0deg;
  --ry: 0deg;
  --glare-x: 50%;
  --glare-y: 50%;
  position: relative;
  overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(var(--lift, 0));
  transform-style: preserve-3d;
  will-change: transform;
}
.work-card[data-tilt]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: var(--glare, 0);
  background: radial-gradient(circle at var(--glare-x) var(--glare-y), rgba(255,255,255,.58), rgba(245,220,162,.18) 24%, transparent 48%);
  transition: opacity .2s ease;
}
.work-card[data-tilt]:hover { --lift: -5px; }
.work-card[data-tilt] img,
.work-card[data-tilt] h3,
.work-card[data-tilt] .work-meta {
  transform: translateZ(18px);
}

.flow-list {
  --flow-progress: 0%;
  overflow: visible;
}
.flow-list::before,
.flow-list::after {
  content: "";
  position: absolute;
  left: 7.5%;
  right: 7.5%;
  top: 48%;
  z-index: 0;
  height: 3px;
  background: rgba(17,32,58,.1);
  transform: translateY(-50%);
}
.flow-list::after {
  right: auto;
  width: var(--flow-progress);
  background: linear-gradient(90deg, var(--gold-light), var(--gold-2));
  box-shadow: 0 0 18px rgba(216,175,104,.45);
  transition: width .28s ease;
}
.flow-list li {
  z-index: 1;
  background: rgba(255,255,255,.9);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.flow-list li.is-active,
.flow-list li.is-complete {
  background: linear-gradient(180deg, #fff, #fff8eb);
}
.flow-list li.is-active {
  color: var(--navy);
  transform: translateY(-4px);
}
.flow-list li.is-active i,
.flow-list li.is-complete i { color: var(--gold-2); }

.project-diagnosis {
  display: grid;
  gap: 14px;
  margin: 0 0 2px;
  padding: 16px;
  border: 1px solid rgba(216,175,104,.5);
  background:
    linear-gradient(135deg, rgba(246,247,247,.94), rgba(255,255,255,.98)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(7,24,47,.035) 19px 20px);
}
.project-diagnosis legend {
  padding: 0 8px;
  color: var(--gold-2);
  font-weight: 700;
}
.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.contact-form select {
  width: 100%;
  border: 1px solid rgba(17,32,58,.2);
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font-family: "Yu Gothic", sans-serif;
}
.diagnosis-result {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #06172f;
  color: #fff;
}
.diagnosis-result span {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}
.diagnosis-result b { line-height: 1.55; }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle {
    display: inline-grid;
    gap: 5px;
    width: 48px;
    height: 48px;
    place-content: center;
    color: #fff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(216,175,104,.48);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .25s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .global-nav,
  .header-actions {
    position: fixed;
    left: 18px;
    right: 18px;
    z-index: 49;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .global-nav {
    top: calc(var(--header-h) + 12px);
    display: grid;
    gap: 0;
    justify-content: stretch;
    background: rgba(3, 15, 33, .98);
    border: 1px solid rgba(216,175,104,.28);
    box-shadow: var(--shadow);
  }
  .global-nav a {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .global-nav a::after { display: none; }
  .header-actions {
    top: calc(var(--header-h) + 260px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(3, 15, 33, .98);
  }
  body.nav-open .global-nav,
  body.nav-open .header-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .hero-copy { width: min(720px, 74vw); }
  .hero h1 { font-size: clamp(41px, 5.25vw, 56px); }
  .hero-media { left: 22%; opacity: .78; }
  .header-phone { display: none; }
  .works-map-shell { grid-template-columns: 1fr; }
  .japan-map { min-height: 460px; }
  .strength-grid { grid-template-columns: 1fr; gap: 26px; }
  .strength-grid article {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 24px 26px;
    border: 1px solid rgba(216,175,104,.34);
  }
  .strength-grid article:nth-child(n + 4) { margin-top: 0; }
  .topics-list article { grid-template-columns: 108px 82px 1fr; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-details { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works-row { grid-auto-columns: calc((100% - 28px) / 3); }
  .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-detail-meta { grid-template-columns: 1fr; }
  .work-detail-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-cta { grid-template-columns: 1fr; text-align: center; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  :root { --header-h: 70px; }
  .site-header { min-height: var(--header-h); padding-inline: 16px; }
  .brand { gap: 11px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 19px; }
  .header-actions { grid-template-columns: 1fr; top: calc(var(--header-h) + 250px); }
  .hero {
    /* min-height: 550px; */
    background:
      linear-gradient(180deg, rgba(3, 13, 30, .96) 0%, rgba(5, 23, 48, .84) 46%, rgba(5, 23, 48, .22) 100%),
      var(--navy);
  }
  .hero-copy {
    position: relative;
    z-index: 4;
    width: 100%;
    padding: 32px 22px 28px;
  }
  .hero h1 {
    max-width: 12em;
    font-size: clamp(34px, 8.5vw, 43px);
    line-height: 1.2;
  }
  .h1-line {
    display: inline;
    white-space: normal;
  }
  .h1-line:first-child::after {
    content: "\A";
    white-space: pre;
  }
  .lead {
    max-width: 34em;
    font-size: 13.25px;
    line-height: 1.82;
  }
  .lead span { display: block; }
  .hero-buttons .btn { width: 100%; }
  .hero-media {
    position: absolute;
    left: 50%;
    right: auto;
    top: 0;
    bottom: auto;
    width: min(620px, 118vw);
    height: 300px;
    grid-template-columns: 1fr;
    opacity: .66;
    transform: translateX(-50%);
  }
  .blueprint-grid { opacity: .18; }
  .hero-media::before {
    inset: -1px;
    background:
      linear-gradient(180deg,
        rgba(3, 13, 30, .24) 0%,
        rgba(5, 23, 48, .08) 34%,
        rgba(5, 23, 48, .54) 100%),
      linear-gradient(90deg, rgba(3, 13, 30, .36), transparent 50%, rgba(3,13,30,.36));
  }
  .detail-stack { display: none; }
  .hero-stats {
    position: relative;
    z-index: 5;
    width: 100%;
    margin: 22px auto 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-stats div {
    display: grid;
    align-content: center;
    justify-items: center;
    min-height: 78px;
    padding: 12px 5px 11px;
    border-right: 1px solid rgba(216,175,104,.28);
    border-bottom: 0;
  }
  .hero-stats div:last-child { border-right: 0; }
  .hero-stats b {
    font-size: clamp(11px, 3vw, 14px);
    line-height: 1.35;
    letter-spacing: -.02em;
  }
  .hero-stats b span {
    font-size: clamp(21px, 5.5vw, 28px);
    padding: 0 2px;
  }
  .hero-stats small { font-size: 9.5px; line-height: 1.45; }
  .hero-stats .laurel { display: none; }
  .scroll-cue { display: none; }
  .works-map-shell { padding: 18px; }
  .japan-map { min-height: 390px; }
  .map-summary dl { grid-template-columns: 1fr 1fr; }
  .section-soft { padding-inline: 20px; }
  .section-title::after { margin-bottom: 22px; }
  .strength-grid article {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    min-height: 0;
    padding: 24px 18px 22px;
  }
  .strength-grid article::before {
    right: 16px;
    top: 14px;
    font-size: 48px;
  }
  .line-icon {
    width: 52px;
    height: 52px;
  }
  .line-icon svg { width: 32px; height: 32px; }
  .topics-list article {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 18px;
  }
  .topics-list span { justify-self: start; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-card img { height: 210px; }
  .service-details article,
  .case-grid article { padding: 20px 18px; }
  .catalog-list div { grid-template-columns: 1fr; gap: 6px; }
  .case-grid { grid-template-columns: 1fr; }
  .works { padding-inline: 20px; }
  .works-head { display: block; }
  .works-head .btn { width: 100%; margin-top: 16px; }
  .works-row { grid-auto-columns: 82%; }
  .archive-grid { grid-template-columns: 1fr; }
  .archive-card img { height: 220px; }
  .work-detail { padding-inline: 20px; }
  .work-detail-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-detail-gallery img { height: 130px; }
  .carousel-btn { display: none; }
  .flow-list {
    grid-template-columns: 1fr;
    gap: 12px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .flow-list::before,
  .flow-list::after {
    left: 34px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 3px;
    height: auto;
    transform: none;
  }
  .flow-list::after {
    height: var(--flow-progress);
    transition: height .28s ease;
  }
  .flow-list li {
    min-height: 0;
    padding: 20px 18px 18px 76px;
    text-align: left;
    border-right: 0;
    border-bottom: 0;
    border: 1px solid rgba(17,32,58,.1);
    box-shadow: 0 10px 24px rgba(7,24,47,.08);
  }
  .flow-list li:not(:last-child)::after {
    content: none;
  }
  .flow-list b {
    top: 20px;
    left: 18px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    border: 2px solid rgba(216,175,104,.44);
  }
  .flow-list i { display: none; }
  .flow-list span { margin: 0 0 8px; }
  .flow-list li.is-active { transform: none; }
  .contact-cta {
    margin-inline: 16px;
    padding: 28px 18px;
    background: linear-gradient(135deg, #06172f, #09284e);
  }
  .contact-cta .btn { width: 100%; }
  .phone { white-space: normal; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-copy { padding: 34px 24px; }
  .contact-form { padding: 28px 22px 24px; }
  .diagnosis-grid { grid-template-columns: 1fr; }
  .company-table div { grid-template-columns: 1fr; }
  .company-table dt,
  .company-table dd { padding: 13px 16px; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 17px; }
  .hero { min-height: 535px; }
  .hero-copy { padding-inline: 18px; padding-bottom: 26px; }
  .hero h1 {
    max-width: 11.2em;
    font-size: clamp(30px, 8.2vw, 36px);
  }
  .lead { font-size: 13px; }
  .hero-stats {
    width: 100%;
    margin-top: 20px;
  }
  .hero-stats div { padding-inline: 4px; }
  .hero-stats b { font-size: 10.5px; }
  .hero-stats b span { font-size: 24px; }
  .hero-stats small { font-size: 8.8px; }
  .btn { padding-inline: 16px; }
  .works-row { grid-auto-columns: 92%; }
  .service-card img { height: 184px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
