:root {
  --ink: #272421;
  --bg: #fbfaf7;
  --white: #fffefb;
  --container: 1360px;
  --side: clamp(24px, 5vw, 96px);
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  --sans: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --body-copy: rgba(39, 36, 33, 0.76);
  --body-copy-soft: rgba(39, 36, 33, 0.72);
  --dark-copy: rgba(255, 253, 248, 0.86);
  --dark-copy-strong: rgba(255, 253, 248, 0.92);
  --body-size: 16px;
  --compact-body-size: 15px;
  --lead-size: 17px;
  --body-line: 2.05;
  --lead-line: 2.1;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 3vw, 42px);
  padding: 14px var(--side);
  border-bottom: 1px solid rgba(71, 63, 54, 0.04);
  background: rgba(255, 253, 248, 0.1);
  box-shadow: none;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease;
}

body:not(.top-page-body) .site-header {
  border-bottom-color: rgba(71, 63, 54, 0.07);
  background: rgba(255, 253, 248, 0.24);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body .site-header.is-scrolled {
  border-bottom-color: rgba(71, 63, 54, 0.12);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 12px 36px rgba(66, 57, 46, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body .site-header.is-over-dark {
  border-bottom-color: rgba(255, 253, 248, 0.12);
  background: rgba(22, 20, 18, 0.1);
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 150px;
  margin-left: 18px;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 38px);
  margin-left: auto;
  color: #514d48;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 14px rgba(255, 254, 251, 0.74);
  transition: color 0.24s ease, text-shadow 0.24s ease;
}

.site-header.is-scrolled .global-nav {
  color: #272421;
  text-shadow: none;
}

.site-header.is-over-dark .global-nav,
.site-header.is-over-dark .global-nav a,
.site-header.is-over-dark .global-nav a:hover,
.site-header.is-over-dark .global-nav a:focus-visible,
.site-header.is-over-dark .global-nav a[aria-current="page"] {
  color: rgba(255, 253, 248, 0.94);
  text-shadow:
    0 1px 12px rgba(0, 0, 0, 0.68),
    0 0 1px rgba(0, 0, 0, 0.7);
}

.global-nav a,
.footer-nav a {
  color: inherit;
  text-decoration: none;
}

.global-nav a {
  position: relative;
  padding: 10px 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.global-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: #272421;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.24s ease;
}

.site-header.is-over-dark .global-nav a::after {
  background: rgba(255, 253, 248, 0.86);
}

.global-nav a:hover,
.global-nav a:focus-visible {
  color: #272421;
  opacity: 1;
}

.global-nav a:hover::after,
.global-nav a:focus-visible::after,
.global-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.global-nav a[aria-current="page"] {
  color: #272421;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  min-width: 164px;
  padding: 0 20px;
  border: 1px solid #272421;
  border-radius: 4px;
  color: #fff;
  background: #272421;
  box-shadow: 0 12px 24px rgba(66, 57, 46, 0.12);
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  color: #272421;
  background: rgba(255, 253, 248, 0.96);
  border-color: rgba(39, 36, 33, 0.26);
  box-shadow: 0 16px 28px rgba(66, 57, 46, 0.14);
}

.hero,
.page-hero,
.lower-hero {
  isolation: isolate;
}

.hero::before,
.page-hero::before,
.page-hero::after,
.lower-hero::before,
.lower-hero::after {
  pointer-events: none;
}

.hero-scroll-cue {
  position: absolute;
  right: clamp(14px, 2.2vw, 32px);
  top: calc(min(100vh, 900px) - 118px);
  bottom: auto;
  z-index: 8;
  display: grid;
  grid-template-columns: auto 2px;
  gap: 16px;
  align-items: end;
  color: rgba(39, 36, 33, 0.88);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  pointer-events: none;
  text-shadow: 0 1px 14px rgba(255, 254, 251, 0.82);
}

.hero-scroll-cue::before {
  content: "";
  position: absolute;
  inset: -16px -14px -14px -12px;
  z-index: -1;
  border: 1px solid rgba(39, 36, 33, 0.09);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.38);
  box-shadow:
    0 10px 28px rgba(66, 57, 46, 0.08),
    0 0 24px rgba(255, 254, 251, 0.74);
}

.hero-scroll-cue span {
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.hero-scroll-cue i {
  position: relative;
  display: block;
  width: 2px;
  height: 116px;
  overflow: hidden;
  background: rgba(39, 36, 33, 0.24);
}

.hero-scroll-cue i::before {
  content: "";
  position: absolute;
  top: -34px;
  left: 0;
  width: 2px;
  height: 42px;
  background: linear-gradient(180deg, rgba(39, 36, 33, 0), rgba(39, 36, 33, 0.95));
  animation: scrollCueLine 1.7s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.hero-scroll-cue i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(39, 36, 33, 0.72);
  border-bottom: 2px solid rgba(39, 36, 33, 0.72);
  transform: translateX(-50%) rotate(45deg);
}

.top-page-body .hero-scroll-cue {
  top: calc(min(100vh, 900px) - 118px);
  bottom: auto;
}

@media (min-width: 721px) {
  body:not(.top-page-body) .page-hero {
    min-height: min(100vh, 900px);
  }
}

.hero-system-layer {
  position: absolute;
  top: clamp(170px, 17vw, 226px);
  right: max(var(--side), calc((100vw - var(--container)) / 2));
  z-index: 1;
  width: min(590px, 41vw);
  height: min(460px, 47vw);
  color: rgba(39, 36, 33, 0.68);
  pointer-events: none;
}

body:not(.top-page-body) .hero-system-layer {
  color: rgba(39, 36, 33, 0.78);
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 54% 50%, rgba(255, 254, 251, 0.72) 0%, rgba(255, 254, 251, 0.5) 36%, rgba(255, 254, 251, 0.22) 58%, rgba(255, 254, 251, 0) 76%);
  -webkit-backdrop-filter: blur(1.4px);
  backdrop-filter: blur(1.4px);
}

.hero-system-layer::before,
.hero-system-layer::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(39, 36, 33, 0.12);
  border-radius: 50%;
  opacity: 0.86;
}

.hero-system-layer::before {
  inset: 12% 10% 18% 18%;
}

.hero-system-layer::after {
  inset: 30% 28% 29% 34%;
  border-color: rgba(122, 154, 168, 0.22);
  box-shadow: 0 0 34px rgba(255, 255, 255, 0.42);
}

.hero-system-word {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(39, 36, 33, 0.2);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(39, 36, 33, 0.06);
  opacity: 0.94;
}

body:not(.top-page-body) .hero-system-word {
  color: rgba(39, 36, 33, 0.78);
  border-color: rgba(39, 36, 33, 0.27);
  background: rgba(255, 254, 251, 0.86);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow:
    0 14px 32px rgba(39, 36, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-system-word-a {
  top: 10%;
  left: 18%;
}

.hero-system-word-b {
  top: 44%;
  right: 8%;
}

.hero-system-word-c {
  left: 8%;
  bottom: 12%;
}

body:not(.top-page-body) .page-hero .hero-inner.reveal,
.lower-hero .lower-hero-inner.reveal {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
  animation: none !important;
}

.philosophy-page .page-hero {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.95) 0%, rgba(251, 250, 247, 0.68) 42%, rgba(251, 250, 247, 0.18) 100%),
    url("../images/philosophy-origin-local-memory-v2.png") center right / cover no-repeat !important;
}

.philosophy-page .page-hero::after {
  background: linear-gradient(180deg, rgba(251, 250, 247, 0.02), rgba(251, 250, 247, 0.46)) !important;
}

.service-page .page-hero {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.88) 40%, rgba(251, 250, 247, 0.34) 72%, rgba(251, 250, 247, 0.1) 100%),
    #fbfaf7 !important;
}

.service-page .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    url("https://lazotto.jp/wp-content/uploads/2026/06/service-fv-axis-architectural-bw-20260606.webp") center left / cover no-repeat;
  opacity: 0.98;
  filter: saturate(0.94) contrast(1) brightness(1.02);
  transform: none;
  transform-origin: center;
  pointer-events: none;
}

.service-page .page-hero::after {
  inset: 0;
  z-index: 0;
  height: auto;
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.88) 38%, rgba(251, 250, 247, 0.46) 66%, rgba(251, 250, 247, 0.12) 100%),
    linear-gradient(180deg, rgba(251, 250, 247, 0) 58%, var(--bg) 100%);
  pointer-events: none;
}

.service-page .hero-system-layer::before,
.service-page .hero-system-layer::after {
  border-radius: 10px;
}

.service-page .hero-system-layer::before {
  content: "AXIS";
  inset: 29% 35% 33% 35%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border-color: rgba(39, 36, 33, 0.25);
  background: rgba(255, 254, 251, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.68),
    0 22px 54px rgba(39, 36, 33, 0.09),
    0 0 0 20px rgba(255, 254, 251, 0.2);
  font-family: var(--serif);
  font-size: clamp(10px, 0.9vw, 13px);
  letter-spacing: 0.14em;
  transform: none;
}

.service-page .hero-system-layer::after {
  inset: 10% 9% 10% 10%;
  border-color: rgba(39, 36, 33, 0.19);
  background: rgba(255, 254, 251, 0.06);
  transform: none;
}

.service-page .hero-system-word-a { top: 8%; left: 25%; }
.service-page .hero-system-word-b { top: 43%; right: -1%; }
.service-page .hero-system-word-c { left: 9%; bottom: 10%; }
.service-page .hero-system-line-a { top: 24%; left: 28%; width: 36%; transform: rotate(25deg); }
.service-page .hero-system-line-b { top: 49%; left: 50%; width: 39%; transform: rotate(-5deg); }
.service-page .hero-system-line-c { bottom: 28%; left: 21%; width: 42%; transform: rotate(-20deg); }

.contact-page .hero-system-layer {
  display: none;
}

.hero-system-line {
  position: absolute;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(39, 36, 33, 0), rgba(39, 36, 33, 0.42), rgba(39, 36, 33, 0));
  transform-origin: left center;
  animation: heroLineFlow 5.8s ease-in-out infinite;
}

body:not(.top-page-body) .hero-system-line {
  height: 1.75px;
  background: linear-gradient(90deg, rgba(39, 36, 33, 0), rgba(39, 36, 33, 0.56), rgba(39, 36, 33, 0));
}

.hero-system-line-a {
  top: 30%;
  left: 24%;
  width: 58%;
  transform: rotate(14deg);
}

.hero-system-line-b {
  top: 55%;
  left: 14%;
  width: 66%;
  transform: rotate(-16deg);
  animation-delay: 0.64s;
}

.hero-system-line-c {
  bottom: 28%;
  left: 34%;
  width: 48%;
  transform: rotate(8deg);
  animation-delay: 1.2s;
}

.hero-system-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(122, 154, 168, 0.86);
  box-shadow: 0 0 22px rgba(255, 255, 255, 0.82);
  animation: heroDotPulse 5.8s ease-in-out infinite;
}

body:not(.top-page-body) .hero-system-dot {
  width: 9px;
  height: 9px;
  background: rgba(101, 143, 161, 0.9);
  box-shadow:
    0 0 0 5px rgba(255, 254, 251, 0.54),
    0 0 24px rgba(101, 143, 161, 0.38);
}

.hero-system-dot-a {
  top: 29%;
  left: 48%;
}

.hero-system-dot-b {
  top: 54%;
  right: 28%;
  animation-delay: 0.74s;
}

.hero-system-dot-c {
  left: 31%;
  bottom: 28%;
  animation-delay: 1.36s;
}

/* Structured lower-page FV diagrams */
body:not(.top-page-body) .hero-system-layer {
  isolation: isolate;
  background:
    radial-gradient(ellipse at 56% 50%, rgba(255, 254, 251, 0.78) 0%, rgba(255, 254, 251, 0.55) 37%, rgba(255, 254, 251, 0.22) 62%, rgba(255, 254, 251, 0) 80%);
}

body:not(.top-page-body) .hero-system-layer::before,
body:not(.top-page-body) .hero-system-layer::after {
  z-index: 1;
  opacity: 1;
}

.hero-system-surface {
  position: absolute;
  z-index: 1;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(39, 36, 33, 0.16);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 254, 251, 0.72), rgba(255, 254, 251, 0.34));
  box-shadow:
    0 22px 48px rgba(39, 36, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-system-surface::before,
.hero-system-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-system-surface::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0));
}

.hero-system-surface::after {
  opacity: 0.54;
  background:
    repeating-linear-gradient(180deg, rgba(39, 36, 33, 0.18) 0 1px, transparent 1px 16px);
}

body:not(.top-page-body) .hero-system-word {
  z-index: 4;
  min-height: 36px;
  border-color: rgba(39, 36, 33, 0.26);
  background: rgba(255, 254, 251, 0.9);
}

body:not(.top-page-body) .hero-system-line {
  z-index: 3;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(39, 36, 33, 0), rgba(39, 36, 33, 0.5), rgba(39, 36, 33, 0));
}

body:not(.top-page-body) .hero-system-dot {
  z-index: 4;
}

.service-page .hero-system-surface-a {
  inset: 21% 52% 24% 10%;
  border-radius: 18px;
  transform: rotate(-2deg);
}

.service-page .hero-system-surface-b {
  inset: 8% 3% 52% 53%;
  border-radius: 18px;
}

.service-page .hero-system-surface-c {
  inset: 56% 5% 8% 49%;
  border-radius: 18px;
}

.service-page .hero-system-layer::before {
  content: "";
  z-index: 2;
  inset: 35% 42% 35% 42%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 254, 251, 0.92), rgba(255, 254, 251, 0.52));
}

.service-page .hero-system-layer::after {
  z-index: 1;
  inset: 22% 41% 21% 41%;
  width: auto;
  height: auto;
  border: 1px solid rgba(39, 36, 33, 0.16);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.2);
}

.service-page .hero-system-word-a { top: 15%; left: 17%; }
.service-page .hero-system-word-b { top: 19%; right: 5%; }
.service-page .hero-system-word-c { left: auto; right: 6%; bottom: 14%; }
.service-page .hero-system-line-a { top: 38%; left: 34%; width: 26%; transform: rotate(16deg); }
.service-page .hero-system-line-b { top: 46%; left: 46%; width: 39%; transform: rotate(-16deg); }
.service-page .hero-system-line-c { top: 55%; left: 45%; width: 38%; transform: rotate(17deg); }
.service-page .hero-system-dot-a { top: 39%; left: 42%; }
.service-page .hero-system-dot-b { top: 37%; right: 30%; }
.service-page .hero-system-dot-c { left: auto; right: 29%; bottom: 31%; }

/* Final FV direction: keep diagrams only where they explain the service structure. */
body:not(.top-page-body):not(.service-page) .hero-system-layer {
  display: none;
}

.service-page .hero-system-layer {
  top: clamp(178px, 16vw, 216px);
  right: max(var(--side), calc((100vw - var(--container)) / 2) + 14px);
  width: min(610px, 42vw);
  height: min(430px, 41vw);
  opacity: 1;
  border-radius: 36px;
  background:
    radial-gradient(ellipse at 48% 52%, rgba(255, 254, 251, 0.88) 0%, rgba(255, 254, 251, 0.54) 42%, rgba(255, 254, 251, 0.12) 72%, rgba(255, 254, 251, 0) 100%);
  -webkit-backdrop-filter: blur(1.2px);
  backdrop-filter: blur(1.2px);
}

.service-page .hero-system-layer::before {
  content: "";
  z-index: 3;
  inset: 22% 58% 18% 12%;
  border: 1px solid rgba(39, 36, 33, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 254, 251, 0.94), rgba(255, 254, 251, 0.58)),
    repeating-linear-gradient(180deg, rgba(39, 36, 33, 0.18) 0 1px, transparent 1px 17px);
  box-shadow:
    0 24px 54px rgba(39, 36, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transform: rotate(-2.5deg);
}

.service-page .hero-system-layer::after {
  content: "";
  z-index: 1;
  inset: 17% 6% 13% 35%;
  border: 1px solid rgba(39, 36, 33, 0.12);
  border-radius: 26px;
  background:
    linear-gradient(90deg, rgba(255, 254, 251, 0.4), rgba(255, 254, 251, 0.08));
  box-shadow: inset 0 0 42px rgba(255, 254, 251, 0.28);
}

.service-page .hero-system-surface {
  z-index: 2;
  border-radius: 18px;
  border-color: rgba(39, 36, 33, 0.17);
  background:
    linear-gradient(180deg, rgba(255, 254, 251, 0.92), rgba(255, 254, 251, 0.52));
  box-shadow:
    0 20px 44px rgba(39, 36, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.service-page .hero-system-surface::after {
  opacity: 0.28;
  background:
    repeating-linear-gradient(180deg, rgba(39, 36, 33, 0.18) 0 1px, transparent 1px 18px);
}

.service-page .hero-system-surface-a {
  inset: 28% 61% 24% 8%;
  z-index: 4;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 254, 251, 0.96), rgba(255, 254, 251, 0.62));
  box-shadow:
    0 18px 40px rgba(39, 36, 33, 0.1),
    0 0 0 12px rgba(255, 254, 251, 0.22);
}

.service-page .hero-system-surface-a::after {
  opacity: 0;
}

.service-page .hero-system-surface-b {
  inset: 7% 3% 68% 54%;
}

.service-page .hero-system-surface-c {
  inset: 36% 0 39% 58%;
}

.service-page .hero-system-surface-d {
  inset: 66% 4% 9% 51%;
}

.hero-system-word-d {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(39, 36, 33, 0.2);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.66);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(39, 36, 33, 0.06);
  opacity: 0.94;
}

body:not(.top-page-body) .hero-system-word-d {
  color: rgba(39, 36, 33, 0.78);
  min-height: 36px;
  border-color: rgba(39, 36, 33, 0.26);
  background: rgba(255, 254, 251, 0.92);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  box-shadow:
    0 14px 32px rgba(39, 36, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.service-page .hero-system-word-a {
  top: 39%;
  left: 11%;
}

.service-page .hero-system-word-b {
  top: 10%;
  right: 13%;
}

.service-page .hero-system-word-c {
  top: 40%;
  right: 12%;
  bottom: auto;
  left: auto;
}

.service-page .hero-system-word-d {
  right: 7%;
  bottom: 13%;
}

.service-page .hero-system-line {
  z-index: 3;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(39, 36, 33, 0.06), rgba(39, 36, 33, 0.46), rgba(39, 36, 33, 0));
  transform-origin: left center;
}

.service-page .hero-system-line-a {
  top: 39%;
  left: 34%;
  width: 36%;
  transform: rotate(-22deg);
}

.service-page .hero-system-line-b {
  top: 48%;
  left: 34%;
  width: 39%;
  transform: rotate(0deg);
}

.service-page .hero-system-line-c {
  top: 57%;
  left: 34%;
  width: 38%;
  transform: rotate(22deg);
}

.hero-system-dot-d {
  position: absolute;
  z-index: 4;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(101, 143, 161, 0.9);
  box-shadow:
    0 0 0 5px rgba(255, 254, 251, 0.54),
    0 0 24px rgba(101, 143, 161, 0.38);
  animation: heroDotPulse 5.8s ease-in-out infinite;
}

.service-page .hero-system-dot-a {
  top: 45%;
  left: 34%;
}

.service-page .hero-system-dot-b {
  top: 28%;
  right: 33%;
}

.service-page .hero-system-dot-c {
  top: 47%;
  right: 31%;
  bottom: auto;
  left: auto;
}

.service-page .hero-system-dot-d {
  right: 33%;
  bottom: 28%;
  animation-delay: 1.16s;
}

.service-page .service-fv-diagram {
  top: clamp(146px, 14.4vw, 198px);
  right: max(var(--side), calc((100vw - var(--container)) / 2) - 2px);
  width: min(710px, 49vw);
  height: min(510px, 45vw);
  overflow: visible;
  background:
    radial-gradient(ellipse at 48% 50%, rgba(255, 254, 251, 0.78) 0%, rgba(255, 254, 251, 0.42) 42%, rgba(255, 254, 251, 0.1) 70%, rgba(255, 254, 251, 0) 100%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.service-page .service-fv-diagram::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 16% 5% 13% 12%;
  border: 1px solid rgba(39, 36, 33, 0.08);
  border-radius: 36px;
  background:
    linear-gradient(115deg, rgba(255, 254, 251, 0.34), rgba(255, 254, 251, 0.07)),
    radial-gradient(circle at 22% 48%, rgba(255, 254, 251, 0.58), rgba(255, 254, 251, 0) 48%);
  box-shadow: inset 0 0 58px rgba(255, 254, 251, 0.34);
  opacity: 0.96;
  transform: none;
}

.service-page .service-fv-diagram::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 23% 46% 21% 10%;
  border: 1px solid rgba(39, 36, 33, 0.08);
  border-radius: 24px;
  background: rgba(255, 254, 251, 0.26);
  box-shadow: 0 22px 54px rgba(39, 36, 33, 0.06);
}

.service-fv-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.service-fv-path {
  fill: none;
  stroke: rgba(39, 36, 33, 0.48);
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 610;
  stroke-dashoffset: 610;
  filter: drop-shadow(0 0 10px rgba(255, 254, 251, 0.88));
  animation:
    servicePathIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    servicePathBreath 6.6s ease-in-out 1.2s infinite;
}

.service-fv-source-path,
.service-fv-process-path {
  fill: none;
  stroke: rgba(39, 36, 33, 0.2);
  stroke-width: 1.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 10;
  filter: drop-shadow(0 0 10px rgba(255, 254, 251, 0.75));
}

.service-fv-process-path {
  stroke: rgba(122, 154, 168, 0.28);
  stroke-dasharray: none;
}

.service-fv-path-b {
  animation-delay: 0.16s, 1.35s;
}

.service-fv-path-c {
  animation-delay: 0.3s, 1.5s;
}

.service-axis-paper,
.service-support-card {
  position: absolute;
  z-index: 3;
  display: grid;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(39, 36, 33, 0.14);
  color: rgba(39, 36, 33, 0.82);
  font-family: var(--serif);
  line-height: 1.35;
  letter-spacing: 0;
  background:
    linear-gradient(180deg, rgba(255, 254, 251, 0.94), rgba(250, 248, 243, 0.74)),
    repeating-linear-gradient(180deg, rgba(39, 36, 33, 0.055) 0 1px, transparent 1px 18px);
  box-shadow:
    0 24px 52px rgba(39, 36, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.service-axis-paper::before,
.service-support-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0) 36%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.service-axis-paper::after,
.service-support-card::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(39, 36, 33, 0.045);
  border-radius: inherit;
  pointer-events: none;
}

.service-axis-paper span,
.service-support-card span {
  position: relative;
  z-index: 1;
  font-size: clamp(18px, 1.55vw, 23px);
  font-weight: 600;
}

.service-axis-paper small,
.service-support-card small {
  position: relative;
  z-index: 1;
  margin-top: 7px;
  font-size: clamp(9px, 0.72vw, 11px);
  letter-spacing: 0.14em;
  color: rgba(39, 36, 33, 0.5);
  text-transform: uppercase;
}

.service-axis-paper {
  left: 5%;
  top: 34%;
  width: min(205px, 32%);
  height: min(150px, 31%);
  border-radius: 16px;
  transform: rotate(-3deg);
}

.service-axis-paper span {
  font-size: clamp(22px, 1.9vw, 30px);
}

.service-support-card {
  right: 3%;
  width: min(214px, 34%);
  height: min(108px, 23%);
  border-radius: 15px;
}

.service-support-recruit {
  top: 9%;
  transform: rotate(1.5deg);
  --focus-delay: 2.4s;
}

.service-support-pr {
  top: 38%;
  right: 0;
  transform: rotate(-1deg);
  --focus-delay: 3.2s;
}

.service-support-org {
  bottom: 10%;
  transform: rotate(1deg);
  --focus-delay: 4s;
}

.service-support-card {
  animation: serviceSupportGlow 7.8s ease-in-out var(--focus-delay, 2.4s) infinite;
}

/* Move the SERVICE FV diagram away from pasted UI cards and toward paper fragments. */
.service-page .service-fv-diagram::before {
  inset: 12% 3% 8% 8%;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 47% 50%, rgba(255, 254, 251, 0.5), rgba(255, 254, 251, 0.18) 38%, rgba(255, 254, 251, 0) 70%);
  box-shadow: none;
  opacity: 0.82;
}

.service-page .service-fv-diagram::after {
  inset: 25% 45% 20% 12%;
  border: 1px solid rgba(122, 154, 168, 0.16);
  border-radius: 50%;
  background: transparent;
  box-shadow:
    0 0 0 24px rgba(255, 254, 251, 0.14),
    0 0 48px rgba(255, 254, 251, 0.36);
}

.service-axis-paper,
.service-support-card {
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.service-axis-paper::before,
.service-support-card::before {
  inset: 0;
  border: 1px solid rgba(214, 207, 194, 0.7);
  border-radius: 4px 12px 5px 10px;
  clip-path: polygon(0% 12%, 7% 8%, 17% 10%, 27% 6%, 39% 9%, 50% 6%, 63% 10%, 76% 7%, 88% 10%, 100% 6%, 98% 90%, 89% 95%, 76% 93%, 65% 97%, 54% 94%, 43% 98%, 31% 94%, 20% 97%, 9% 94%, 1% 97%);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.86), transparent 25%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(248, 245, 237, 0.92) 56%, rgba(240, 235, 224, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 -1px 0 rgba(212, 203, 188, 0.42),
    0 18px 34px rgba(39, 36, 33, 0.1);
}

.service-axis-paper::after,
.service-support-card::after {
  inset: 7px 8px;
  border: 0;
  border-radius: 3px 10px 4px 8px;
  clip-path: polygon(0% 12%, 7% 8%, 17% 10%, 27% 6%, 39% 9%, 50% 6%, 63% 10%, 76% 7%, 88% 10%, 100% 6%, 98% 90%, 89% 95%, 76% 93%, 65% 97%, 54% 94%, 43% 98%, 31% 94%, 20% 97%, 9% 94%, 1% 97%);
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(180, 168, 148, 0.16), transparent 8%, transparent 92%, rgba(180, 168, 148, 0.12)),
    repeating-linear-gradient(100deg, rgba(120, 110, 94, 0.035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(8deg, rgba(120, 110, 94, 0.028) 0 1px, transparent 1px 8px);
  mix-blend-mode: multiply;
}

.service-axis-paper {
  left: 6%;
  top: 34%;
  width: min(180px, 28%);
  height: min(150px, 30%);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.service-axis-paper::before,
.service-axis-paper::after {
  border-radius: 50%;
  clip-path: none;
}

.service-axis-paper::before {
  background:
    radial-gradient(circle at 38% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72) 52%, rgba(246, 242, 233, 0.95)),
    linear-gradient(180deg, rgba(255, 254, 251, 0.72), rgba(241, 236, 226, 0.9));
  box-shadow:
    0 20px 36px rgba(66, 57, 46, 0.12),
    0 0 0 22px rgba(255, 253, 248, 0.3),
    0 0 42px rgba(255, 253, 248, 0.58);
}

.service-axis-paper::after {
  inset: -18%;
  border: 1px solid rgba(122, 154, 168, 0.18);
  background: transparent;
  opacity: 1;
  mix-blend-mode: normal;
}

.service-support-card {
  width: min(208px, 33%);
  height: min(95px, 20%);
}

.service-support-recruit {
  top: 8%;
  right: 2%;
  transform: rotate(2.5deg);
}

.service-support-pr {
  top: 38%;
  right: -1%;
  transform: rotate(-2.5deg);
}

.service-support-org {
  right: 5%;
  bottom: 12%;
  transform: rotate(1.5deg);
}

.service-fv-light {
  position: absolute;
  z-index: 4;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(126, 168, 186, 0.86);
  box-shadow:
    0 0 0 6px rgba(255, 254, 251, 0.66),
    0 0 28px rgba(126, 168, 186, 0.52),
    0 0 46px rgba(255, 255, 255, 0.7);
  opacity: 0;
  animation: serviceLightTravel 7.8s ease-in-out infinite;
}

.service-fv-light-a {
  offset-path: path("M345 222 C410 174 472 119 585 116");
  offset-rotate: 0deg;
  animation-delay: 2.2s;
}

.service-fv-light-b {
  offset-path: path("M350 239 C435 238 488 240 588 240");
  offset-rotate: 0deg;
  animation-delay: 3s;
}

.service-fv-light-c {
  offset-path: path("M345 256 C413 306 478 360 584 363");
  offset-rotate: 0deg;
  animation-delay: 3.8s;
}

/* SERVICE FV: describe the service as materials becoming a shared axis, then support. */
.service-page .service-fv-diagram {
  top: clamp(142px, 13.8vw, 190px);
  right: max(var(--side), calc((100vw - var(--container)) / 2) - 4px);
  width: min(740px, 50vw);
  height: min(510px, 42vw);
  border-radius: 0;
  background:
    radial-gradient(ellipse at 48% 50%, rgba(255, 254, 251, 0.86) 0%, rgba(255, 254, 251, 0.5) 38%, rgba(255, 254, 251, 0.18) 66%, rgba(255, 254, 251, 0) 86%);
}

.service-page .service-fv-diagram::before {
  inset: 15% 9% 12% 10%;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 46% 50%, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.16) 42%, transparent 70%);
  box-shadow: none;
  opacity: 0.9;
}

.service-page .service-fv-diagram::after {
  inset: 27% 42% 24% 28%;
  border: 1px solid rgba(122, 154, 168, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 254, 251, 0.34), transparent 70%);
  box-shadow:
    0 0 0 16px rgba(255, 254, 251, 0.18),
    0 0 42px rgba(255, 255, 255, 0.42);
}

.service-fv-source-path,
.service-fv-process-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 9px rgba(255, 254, 251, 0.78));
}

.service-fv-source-path {
  stroke: rgba(39, 36, 33, 0.23);
  stroke-width: 1.15;
  stroke-dasharray: 5 9;
  animation: serviceSourceFlow 6.8s ease-in-out infinite;
}

.service-fv-source-path-b {
  animation-delay: 0.25s;
}

.service-fv-source-path-c {
  animation-delay: 0.5s;
}

.service-fv-process-path {
  stroke: rgba(122, 154, 168, 0.34);
  stroke-width: 1.2;
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation:
    servicePathIn 1.28s cubic-bezier(0.22, 1, 0.36, 1) 0.45s forwards,
    servicePathBreath 6.8s ease-in-out 1.75s infinite;
}

.service-fv-path {
  stroke: rgba(39, 36, 33, 0.5);
  stroke-width: 1.45;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
}

.service-source,
.service-process {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  color: rgba(39, 36, 33, 0.72);
  font-family: var(--serif);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.service-source {
  min-width: clamp(62px, 5.2vw, 76px);
  min-height: clamp(30px, 2.7vw, 38px);
  padding: 0 14px;
  border: 1px solid rgba(39, 36, 33, 0.15);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.74);
  box-shadow:
    0 12px 24px rgba(39, 36, 33, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: clamp(12px, 0.95vw, 15px);
}

.service-source::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(255, 254, 251, 0.58);
  border-radius: inherit;
  pointer-events: none;
}

.service-source-thought {
  left: 0;
  top: 18%;
}

.service-source-strength {
  left: 1.5%;
  top: 44%;
}

.service-source-issue {
  left: 2.4%;
  top: 70%;
}

.service-process {
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(122, 154, 168, 0.17);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.6);
  box-shadow: 0 10px 22px rgba(39, 36, 33, 0.045);
  color: rgba(39, 36, 33, 0.54);
  font-size: clamp(10px, 0.74vw, 12px);
  letter-spacing: 0.12em;
}

.service-process-word {
  left: 29.5%;
  top: 26%;
}

.service-process-system {
  left: 27%;
  top: 47%;
}

.service-process-design {
  left: 30%;
  top: 66%;
}

.service-axis-paper,
.service-support-card {
  color: rgba(39, 36, 33, 0.82);
}

.service-axis-paper {
  left: 35%;
  top: 36%;
  width: min(164px, 23%);
  height: min(132px, 27%);
  transform: rotate(-2.2deg);
}

.service-axis-paper::before {
  background:
    radial-gradient(circle at 38% 24%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72) 54%, rgba(246, 242, 233, 0.96)),
    linear-gradient(180deg, rgba(255, 254, 251, 0.72), rgba(241, 236, 226, 0.9));
  box-shadow:
    0 20px 38px rgba(66, 57, 46, 0.12),
    0 0 0 18px rgba(255, 253, 248, 0.26),
    0 0 42px rgba(255, 253, 248, 0.62);
}

.service-axis-paper::after {
  inset: -16%;
  border-color: rgba(122, 154, 168, 0.2);
}

.service-axis-paper span {
  font-size: clamp(20px, 1.7vw, 27px);
}

.service-support-card {
  width: min(204px, 31%);
  height: min(88px, 18%);
  padding: 10px 16px;
}

.service-support-card::before {
  border-color: rgba(214, 207, 194, 0.72);
  border-radius: 6px 11px 5px 10px;
  clip-path: polygon(0 9%, 12% 6%, 29% 8%, 45% 5%, 63% 8%, 81% 6%, 100% 9%, 98% 91%, 83% 94%, 65% 92%, 48% 95%, 30% 92%, 14% 95%, 1% 92%);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.86), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(248, 245, 237, 0.92) 56%, rgba(240, 235, 224, 0.9));
}

.service-support-card::after {
  clip-path: polygon(0 9%, 12% 6%, 29% 8%, 45% 5%, 63% 8%, 81% 6%, 100% 9%, 98% 91%, 83% 94%, 65% 92%, 48% 95%, 30% 92%, 14% 95%, 1% 92%);
}

.service-support-card span {
  font-size: clamp(16px, 1.24vw, 20px);
}

.service-support-card small {
  margin-top: 5px;
}

.service-support-recruit {
  top: 7%;
  right: 0;
  transform: rotate(1.6deg);
}

.service-support-pr {
  top: 40%;
  right: -0.5%;
  transform: rotate(-1.4deg);
}

.service-support-org {
  right: 3.5%;
  bottom: 9%;
  transform: rotate(1.1deg);
}

.service-fv-light {
  z-index: 5;
  width: 13px;
  height: 13px;
  background: rgba(126, 168, 186, 0.9);
  box-shadow:
    0 0 0 6px rgba(255, 254, 251, 0.7),
    0 0 30px rgba(126, 168, 186, 0.62),
    0 0 50px rgba(255, 255, 255, 0.78);
}

@keyframes serviceSourceFlow {
  0%,
  100% {
    stroke-opacity: 0.32;
    stroke-dashoffset: 0;
  }
  48% {
    stroke-opacity: 0.74;
    stroke-dashoffset: -28;
  }
}

/* SERVICE FV v2: show how the support process discovers the axis. */
.service-fv-thread,
.service-fv-thinking-ring,
.service-fv-main-path,
.service-fv-blueprint-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.service-fv-thread {
  stroke: rgba(39, 36, 33, 0.24);
  stroke-width: 1.05;
  stroke-dasharray: 4 10;
  animation: serviceSourceFlow 7.2s ease-in-out infinite;
}

.service-fv-thread-b {
  animation-delay: 0.2s;
}

.service-fv-thread-c {
  animation-delay: 0.46s;
}

.service-fv-thinking-ring {
  stroke: rgba(122, 154, 168, 0.28);
  stroke-width: 1.15;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  filter: drop-shadow(0 0 18px rgba(255, 254, 251, 0.86));
  animation:
    servicePathIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards,
    servicePathBreath 6.8s ease-in-out 1.8s infinite;
}

.service-fv-main-path {
  stroke: url("#serviceFlowStroke");
  stroke-width: 1.55;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  filter: drop-shadow(0 0 12px rgba(255, 254, 251, 0.78));
  animation:
    servicePathIn 1.35s cubic-bezier(0.22, 1, 0.36, 1) 0.72s forwards,
    servicePathBreath 6.4s ease-in-out 2s infinite;
}

.service-fv-main-path-b {
  animation-delay: 0.94s, 2.2s;
}

.service-fv-blueprint-line {
  stroke: rgba(39, 36, 33, 0.14);
  stroke-width: 1.1;
  stroke-dasharray: 6 8;
  animation: serviceSourceFlow 7.4s ease-in-out 1.2s infinite;
}

.service-flow-source,
.service-flow-step,
.service-flow-lens,
.service-flow-blueprint,
.service-flow-deliverables {
  position: absolute;
  font-family: var(--serif);
  color: rgba(39, 36, 33, 0.78);
  pointer-events: none;
}

.service-flow-source {
  z-index: 4;
  min-width: clamp(58px, 4.8vw, 72px);
  min-height: clamp(34px, 3vw, 42px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 207, 194, 0.72);
  border-radius: 5px 11px 6px 10px;
  clip-path: polygon(0 10%, 18% 6%, 38% 9%, 58% 5%, 78% 8%, 100% 6%, 98% 91%, 78% 95%, 56% 92%, 35% 96%, 14% 93%, 1% 95%);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.88), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(246, 242, 234, 0.92));
  box-shadow:
    0 14px 28px rgba(39, 36, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  font-size: clamp(13px, 1vw, 16px);
  letter-spacing: 0.04em;
}

.service-flow-source::after {
  content: "";
  position: absolute;
  inset: 7px;
  opacity: 0.16;
  background:
    repeating-linear-gradient(100deg, rgba(120, 110, 94, 0.05) 0 1px, transparent 1px 7px);
  mix-blend-mode: multiply;
}

.service-flow-source-voice {
  left: 1.5%;
  top: 21%;
  transform: rotate(-4deg);
}

.service-flow-source-docs {
  left: 0;
  top: 47%;
  transform: rotate(2deg);
}

.service-flow-source-history {
  left: 3%;
  top: 71%;
  transform: rotate(-1.5deg);
}

.service-flow-lens {
  z-index: 3;
  left: 31%;
  top: 35%;
  width: min(210px, 29%);
  height: min(148px, 31%);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid rgba(122, 154, 168, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 46%, rgba(255, 254, 251, 0.78), rgba(255, 254, 251, 0.28) 64%, transparent 100%);
  box-shadow:
    inset 0 0 42px rgba(255, 254, 251, 0.38),
    0 0 0 18px rgba(255, 254, 251, 0.14);
}

.service-flow-lens::before,
.service-flow-lens::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(122, 154, 168, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.service-flow-lens::before {
  inset: -20%;
}

.service-flow-lens::after {
  inset: 18%;
  border-color: rgba(39, 36, 33, 0.1);
}

.service-flow-lens small,
.service-flow-blueprint small {
  position: relative;
  z-index: 1;
  color: rgba(39, 36, 33, 0.42);
  font-size: clamp(8px, 0.58vw, 10px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-flow-lens span {
  position: relative;
  z-index: 1;
  font-size: clamp(16px, 1.25vw, 20px);
  font-weight: 600;
}

.service-flow-step {
  z-index: 5;
  min-width: clamp(56px, 4.7vw, 70px);
  min-height: clamp(30px, 2.55vw, 36px);
  display: inline-grid;
  grid-template-columns: auto auto;
  place-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(39, 36, 33, 0.13);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.76);
  box-shadow:
    0 10px 22px rgba(39, 36, 33, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: serviceStepGlow 6.8s ease-in-out infinite;
}

.service-flow-step small {
  color: rgba(122, 154, 168, 0.74);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.service-flow-step span {
  font-size: clamp(11px, 0.82vw, 13px);
  letter-spacing: 0.06em;
}

.service-flow-step-hear {
  left: 27.5%;
  top: 23%;
}

.service-flow-step-read {
  left: 25.5%;
  top: 50%;
  animation-delay: 0.65s;
}

.service-flow-step-think {
  left: 31%;
  top: 70%;
  animation-delay: 1.3s;
}

.service-flow-blueprint {
  z-index: 4;
  right: 0.5%;
  top: 28%;
  width: min(236px, 33%);
  min-height: min(206px, 42%);
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 28px 22px;
  border: 1px solid rgba(214, 207, 194, 0.74);
  border-radius: 5px 13px 6px 12px;
  clip-path: polygon(0 5%, 16% 3%, 34% 5%, 52% 3%, 70% 5%, 88% 3%, 100% 6%, 98% 93%, 82% 96%, 64% 94%, 48% 97%, 31% 94%, 14% 96%, 1% 93%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(247, 244, 236, 0.94)),
    repeating-linear-gradient(180deg, rgba(39, 36, 33, 0.06) 0 1px, transparent 1px 20px);
  box-shadow:
    0 24px 48px rgba(39, 36, 33, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.service-flow-blueprint::before {
  content: "";
  position: absolute;
  inset: 16px 20px auto;
  height: 1px;
  background: rgba(39, 36, 33, 0.14);
}

.service-flow-blueprint::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(122, 154, 168, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 13px rgba(122, 154, 168, 0.045),
    inset 0 0 18px rgba(255, 254, 251, 0.42);
}

.service-flow-blueprint span {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: clamp(21px, 1.65vw, 28px);
  font-weight: 600;
  line-height: 1.35;
}

.service-flow-blueprint i {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 8px;
  padding: 5px 10px;
  border: 1px solid rgba(122, 154, 168, 0.2);
  border-radius: 999px;
  color: rgba(39, 36, 33, 0.52);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.14em;
}

.service-flow-deliverables {
  z-index: 5;
  right: 3%;
  bottom: 15%;
  width: min(230px, 33%);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.service-flow-deliverables span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(39, 36, 33, 0.12);
  border-radius: 999px;
  background: rgba(255, 254, 251, 0.72);
  box-shadow: 0 8px 18px rgba(39, 36, 33, 0.045);
  color: rgba(39, 36, 33, 0.56);
  font-size: clamp(9px, 0.67vw, 11px);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.service-fv-light-a {
  offset-path: path("M408 248 C470 214 516 204 575 226");
  offset-rotate: 0deg;
  animation-delay: 2.1s;
}

.service-fv-light-b {
  offset-path: path("M410 258 C478 292 525 310 600 290");
  offset-rotate: 0deg;
  animation-delay: 3.2s;
}

@keyframes serviceStepGlow {
  0%,
  100% {
    border-color: rgba(39, 36, 33, 0.12);
    box-shadow:
      0 10px 22px rgba(39, 36, 33, 0.055),
      inset 0 1px 0 rgba(255, 255, 255, 0.76);
  }
  46% {
    border-color: rgba(122, 154, 168, 0.26);
    box-shadow:
      0 10px 24px rgba(39, 36, 33, 0.06),
      0 0 24px rgba(126, 168, 186, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.82);
  }
}

/* SERVICE FV v3: process workbench, not a top-page-like convergence diagram. */
.service-page .service-fv-diagram {
  top: clamp(150px, 14.2vw, 196px);
  right: max(var(--side), calc((100vw - var(--container)) / 2) - 2px);
  width: min(735px, 50vw);
  height: min(500px, 41vw);
  background:
    radial-gradient(ellipse at 52% 63%, rgba(255, 254, 251, 0.84) 0%, rgba(255, 254, 251, 0.46) 42%, rgba(255, 254, 251, 0.13) 72%, rgba(255, 254, 251, 0) 88%);
}

.service-page .service-fv-diagram::before {
  inset: 55% 6% 10% 9%;
  border: 1px solid rgba(39, 36, 33, 0.06);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(255, 254, 251, 0.5), rgba(255, 254, 251, 0.12) 58%, transparent 74%);
  opacity: 1;
}

.service-page .service-fv-diagram::after {
  inset: 28% 27% 26% 18%;
  border: 0;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 254, 251, 0.52), rgba(255, 254, 251, 0.18));
  box-shadow:
    0 22px 54px rgba(39, 36, 33, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
  transform: rotate(-1.5deg);
}

.service-fv-table-line {
  fill: none;
  stroke: rgba(39, 36, 33, 0.16);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: 10 12;
  animation: serviceSourceFlow 8s ease-in-out infinite;
}

.service-work-source,
.service-work-step,
.service-work-board,
.service-work-blueprint {
  position: absolute;
  font-family: var(--serif);
  color: rgba(39, 36, 33, 0.78);
  pointer-events: none;
}

.service-work-source {
  z-index: 4;
  min-width: clamp(62px, 5vw, 78px);
  min-height: clamp(36px, 3.2vw, 46px);
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 207, 194, 0.72);
  border-radius: 5px 13px 6px 10px;
  clip-path: polygon(0 10%, 16% 6%, 38% 9%, 58% 5%, 78% 8%, 100% 6%, 98% 91%, 78% 95%, 56% 92%, 35% 96%, 14% 93%, 1% 95%);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.88), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(246, 242, 234, 0.92));
  box-shadow:
    0 14px 28px rgba(39, 36, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  font-size: clamp(13px, 1vw, 16px);
}

.service-work-source-voice {
  left: 5%;
  top: 39%;
  transform: rotate(-2deg);
}

.service-work-source-docs {
  left: 7%;
  top: 48%;
  transform: rotate(1.5deg);
}

.service-work-source-question {
  left: 5.5%;
  top: 57%;
  transform: rotate(-1deg);
}

.service-work-board {
  z-index: 3;
  left: 24%;
  top: 37%;
  width: min(350px, 49%);
  height: min(172px, 36%);
  padding: 24px 28px;
  border: 1px solid rgba(214, 207, 194, 0.66);
  border-radius: 8px 15px 8px 13px;
  clip-path: polygon(0 6%, 13% 4%, 29% 6%, 47% 3%, 64% 6%, 82% 4%, 100% 7%, 98% 92%, 82% 95%, 63% 93%, 45% 96%, 27% 93%, 12% 96%, 1% 93%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(248, 245, 238, 0.78)),
    repeating-linear-gradient(180deg, rgba(39, 36, 33, 0.045) 0 1px, transparent 1px 22px);
  box-shadow:
    0 22px 48px rgba(39, 36, 33, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: rotate(-1deg);
}

.service-work-board::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 72px;
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 36, 33, 0.06), rgba(39, 36, 33, 0.24), rgba(39, 36, 33, 0.06));
}

.service-work-board small {
  display: block;
  color: rgba(39, 36, 33, 0.38);
  font-size: clamp(8px, 0.58vw, 10px);
  letter-spacing: 0.18em;
}

.service-work-board span {
  display: block;
  margin-top: 10px;
  color: rgba(39, 36, 33, 0.7);
  font-size: clamp(18px, 1.34vw, 22px);
  font-weight: 600;
}

.service-work-step {
  z-index: 5;
  display: grid;
  place-items: center;
  gap: 4px;
  width: clamp(64px, 5.5vw, 82px);
  height: clamp(54px, 4.7vw, 70px);
  border: 1px solid rgba(39, 36, 33, 0.13);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 28%, rgba(255, 255, 255, 0.9), rgba(255, 254, 251, 0.58));
  box-shadow:
    0 14px 28px rgba(39, 36, 33, 0.06),
    0 0 0 8px rgba(255, 254, 251, 0.2);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  animation: serviceStepGlow 7.2s ease-in-out infinite;
}

.service-work-step small {
  color: rgba(122, 154, 168, 0.74);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.service-work-step span {
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.05em;
}

.service-work-step-hear {
  left: 27%;
  top: 30%;
}

.service-work-step-read {
  left: 39%;
  top: 49%;
  animation-delay: 0.45s;
}

.service-work-step-think {
  left: 52%;
  top: 33%;
  animation-delay: 0.9s;
}

.service-work-step-design {
  left: 62%;
  top: 55%;
  animation-delay: 1.35s;
}

.service-work-blueprint {
  z-index: 4;
  right: 1.5%;
  top: 33%;
  width: min(230px, 32%);
  min-height: min(188px, 39%);
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 28px 22px;
  border: 1px solid rgba(214, 207, 194, 0.72);
  border-radius: 5px 13px 6px 12px;
  clip-path: polygon(0 5%, 16% 3%, 34% 5%, 52% 3%, 70% 5%, 88% 3%, 100% 6%, 98% 93%, 82% 96%, 64% 94%, 48% 97%, 31% 94%, 14% 96%, 1% 93%);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(247, 244, 236, 0.92)),
    repeating-linear-gradient(180deg, rgba(39, 36, 33, 0.055) 0 1px, transparent 1px 20px);
  box-shadow:
    0 22px 46px rgba(39, 36, 33, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.84);
  transform: rotate(1.2deg);
}

.service-work-blueprint::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(122, 154, 168, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 0 13px rgba(122, 154, 168, 0.04);
}

.service-work-blueprint small {
  position: relative;
  z-index: 1;
  color: rgba(39, 36, 33, 0.38);
  font-size: clamp(8px, 0.58vw, 10px);
  letter-spacing: 0.16em;
}

.service-work-blueprint span {
  position: relative;
  z-index: 1;
  margin-top: 6px;
  font-size: clamp(21px, 1.55vw, 26px);
  font-weight: 600;
  line-height: 1.35;
}

.service-work-blueprint i {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(122, 154, 168, 0.2);
  border-radius: 999px;
  color: rgba(39, 36, 33, 0.5);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.12em;
}

.service-fv-light-a {
  offset-path: path("M238 274 C318 244 430 246 545 270");
  offset-rotate: 0deg;
  animation-delay: 2s;
}

@supports not (offset-path: path("M0 0 L1 1")) {
  .service-fv-light {
    display: none;
  }
}

@keyframes servicePathIn {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes servicePathBreath {
  0%,
  100% {
    stroke-opacity: 0.54;
  }
  45% {
    stroke-opacity: 0.86;
  }
}

@keyframes serviceLightTravel {
  0% {
    offset-distance: 0%;
    opacity: 0;
    transform: scale(0.72);
  }
  10%,
  72% {
    opacity: 1;
  }
  86% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    offset-distance: 100%;
    opacity: 0;
  }
}

@keyframes serviceSupportGlow {
  0%,
  100% {
    box-shadow:
      0 24px 52px rgba(39, 36, 33, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.86);
  }
  45% {
    box-shadow:
      0 26px 58px rgba(39, 36, 33, 0.11),
      0 0 34px rgba(126, 168, 186, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

@keyframes scrollCueLine {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  78% {
    opacity: 1;
  }
  100% {
    transform: translateY(150px);
    opacity: 0;
  }
}

@keyframes scrollCuePulse {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.82;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@keyframes heroRingBreathe {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.36;
  }
  50% {
    transform: scale(1.03);
    opacity: 0.72;
  }
}

@keyframes heroWordPulse {
  0%,
  100% {
    opacity: 0.46;
    transform: translateY(0);
  }
  42% {
    opacity: 0.9;
    transform: translateY(-2px);
  }
}

@keyframes heroLineFlow {
  0%,
  100% {
    opacity: 0.16;
    filter: blur(0.4px);
  }
  45% {
    opacity: 0.72;
    filter: blur(0);
  }
}

@keyframes heroDotPulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(0.74);
  }
  45% {
    opacity: 1;
    transform: scale(1.26);
  }
}

@keyframes revealLoopFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0) brightness(1);
  }
  50% {
    transform: translate3d(0, -3px, 0) scale(1.002);
    filter: blur(0) brightness(1.015);
  }
}

.reveal.is-visible {
  animation: none;
}

.section-heading.reveal.is-visible,
.service-heading.reveal.is-visible,
.case-heading.reveal.is-visible,
.flow-heading.reveal.is-visible,
.faq-heading.reveal.is-visible,
.contact-copy.reveal.is-visible,
.copy.reveal.is-visible,
.hero-inner.reveal.is-visible,
.lower-hero-inner.reveal.is-visible {
  animation: none;
}

.site-footer {
  padding: 54px var(--side) 38px;
  color: #f7f2e8;
  background: #272421;
}

.footer-inner {
  width: min(var(--container), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 30px 46px;
  align-items: start;
}

.footer-brand img {
  width: 150px;
  height: auto;
  filter: grayscale(1) invert(1) brightness(1.28) contrast(0.88);
}

.footer-brand p,
.copyright {
  margin: 18px 0 0;
  color: rgba(247, 242, 232, 0.68);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 24px;
  max-width: 560px;
  color: rgba(247, 242, 232, 0.78);
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.copyright {
  grid-column: 2;
  justify-self: end;
  align-self: end;
  margin-top: 0;
  text-align: right;
}

@media (max-width: 1100px) {
  .global-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --side: 22px;
    --body-size: 15px;
    --compact-body-size: 14px;
    --lead-size: 15px;
    --body-line: 1.95;
    --lead-line: 2;
  }

  .site-header {
    min-height: 54px;
    gap: 12px;
    padding: 8px 12px;
  }

  .brand {
    width: 96px;
    margin-left: 0;
  }

  .header-cta {
    min-width: 116px;
    min-height: 38px;
    padding-inline: 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .hero-scroll-cue {
    top: auto;
    right: 22px;
    bottom: 12px;
    gap: 10px;
    font-size: 10px;
  }

  .hero-scroll-cue i {
    height: 70px;
  }

  .hero-system-layer {
    top: auto;
    right: 16px;
    bottom: 82px;
    width: min(300px, 70vw);
    height: 230px;
    opacity: 0.45;
  }

  body:not(.top-page-body) .hero-system-layer {
    display: none;
  }

  .hero-system-word {
    min-height: 30px;
    padding: 0 10px;
    font-size: 9px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
    justify-self: start;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue i::before,
  .hero-system-layer::before,
  .hero-system-layer::after,
  .hero-system-line,
  .hero-system-dot,
  .service-fv-path,
  .service-fv-source-path,
  .service-fv-process-path,
  .service-fv-thread,
  .service-fv-thinking-ring,
  .service-fv-main-path,
  .service-fv-blueprint-line,
  .service-flow-step,
  .service-fv-light,
  .service-support-card,
  .reveal.is-visible {
    animation: none !important;
  }

  .service-fv-path,
  .service-fv-process-path,
  .service-fv-thinking-ring,
  .service-fv-main-path {
    stroke-dashoffset: 0;
  }

  .service-fv-light {
    display: none;
  }
}

/* Unified child header layer: keep corporate child page headers aligned with COLUMN. */
body:not(.top-page-body) .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: auto;
  z-index: 40;
  width: 100%;
  height: auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(24px, 3vw, 42px);
  padding: 14px clamp(24px, 5vw, 96px);
  border-bottom: 1px solid rgba(71, 63, 54, 0.07);
  background: rgba(255, 253, 248, 0.24);
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body:not(.top-page-body) .site-header.is-scrolled {
  position: fixed;
  border-bottom-color: rgba(71, 63, 54, 0.12);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 12px 36px rgba(66, 57, 46, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

body:not(.top-page-body) .site-header .brand {
  display: inline-flex;
  align-items: center;
  width: 150px;
  margin-right: 0;
  margin-left: 18px;
  flex: 0 0 auto;
  text-decoration: none;
}

body:not(.top-page-body) .site-header .brand img {
  width: 100%;
  height: auto;
}

body:not(.top-page-body) .site-header .global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 38px);
  margin-left: auto;
  min-height: 46px;
  color: #514d48;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow: 0 1px 14px rgba(255, 254, 251, 0.74);
}

body:not(.top-page-body) .site-header .global-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  height: 46px;
  padding: 0;
  line-height: 1;
}

body:not(.top-page-body) .site-header .global-nav a.global-nav__service-link {
  padding: 0 20px;
  border-radius: 4px;
}

body:not(.top-page-body) .site-header .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 164px;
  min-height: 46px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid #272421;
  border-radius: 4px;
  color: #fff;
  background: #272421;
  box-shadow: 0 12px 24px rgba(66, 57, 46, 0.12);
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

@media (max-width: 1080px) {
  body:not(.top-page-body) .site-header .global-nav {
    display: none;
  }
}
