/* ===========================================================
   LTV-WEB — Top Page Styles
   =========================================================== */

:root {
  /* Colors */
  --c-primary: #1a2a2e;
  --c-blue: #2080a0;
  --c-blue-light: #5bb8c9;
  --c-blue-lighter: #a0d8e4;
  --c-teal: #40c0b8;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f9fa;
  --c-text: #1a2a2e;
  --c-text-sub: #5a6a6e;
  --c-border: #dce8ea;

  /* Spacing */
  --sp-xs: 4px;
  --sp-s: 8px;
  --sp-m: 16px;
  --sp-l: 24px;
  --sp-xl: 32px;
  --sp-2xl: 48px;
  --sp-section: 120px;

  /* Container */
  --container: 1200px;
  --container-pad: 40px;

  /* Fonts — editorial / refined */
  --ff-jp: "Shippori Mincho", "Hiragino Mincho ProN", "YuMincho", "游明朝", serif;
  --ff-jp-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --ff-en: "Cormorant Garamond", "Times New Roman", serif;
  --ff-en-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "YuMincho", "游明朝", serif !important;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.06em;
  font-weight: 400;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt" 1;
}

.fv__catch, .section-heading, .service-card__title, .work-card__title,
.about__name-jp, .about__lead {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "YuMincho", "游明朝", serif !important;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

/* Utility */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.en-label {
  font-family: var(--ff-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-blue);
  line-height: 1;
  display: inline-block;
}

.en-display {
  font-family: var(--ff-en);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
}

.section-heading {
  font-family: var(--ff-jp);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--c-text);
  margin-top: 18px;
}

.section-head {
  margin-bottom: 64px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.18em;
  border-radius: 60px;
  padding: 19px 40px 19px 48px;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, transform .4s ease;
  white-space: nowrap;
}
.btn__arrow {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease;
}
.btn__arrow::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(45deg) translate(-1px, 1px);
}
.btn--primary {
  background: var(--c-primary);
  color: #fff;
}
.btn--primary:hover { background: var(--c-blue); }
.btn--primary:hover .btn__arrow { transform: translateX(3px); }

.btn--outline {
  background: transparent;
  color: var(--c-primary);
  border: 1px solid var(--c-border);
  padding: 17px 40px 17px 48px;
}
.btn--outline:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}
.btn--outline:hover .btn__arrow { transform: translateX(3px); }

/* ===========================================================
   Header
   =========================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  transition: background-color .3s ease, backdrop-filter .3s ease, padding .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom: 1px solid var(--c-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
}
.site-logo__img {
  width: 200px;
  height: 100px;
  object-fit: contain;
  display: block;
  transition: opacity .25s ease;
}
.site-header.is-scrolled .site-logo__img { width: 200px; height: 100px; }
.site-logo:hover .site-logo__img { opacity: 0.82; }
.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.site-nav a {
  font-family: var(--ff-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text);
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--c-blue); }

/* ---- Services megamenu ---- */
.site-nav__has-menu { position: relative; }
.site-nav__has-menu > a::after {
  content: ''; display: inline-block;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
  transition: transform .2s;
}
.site-nav__has-menu:hover > a::after { transform: rotate(225deg) translateY(-1px); }
.site-megamenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 640px;
  background: #fff;
  border: 1px solid #e5ecee;
  box-shadow: 0 14px 40px rgba(26,42,46,0.10);
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s, visibility .18s, transform .18s;
  z-index: 100;
  border-radius: 3px;
}
.site-megamenu::before {
  content: ''; position: absolute;
  top: -14px; left: 0; right: 0; height: 16px;
}
.site-nav__has-menu:hover .site-megamenu,
.site-nav__has-menu:focus-within .site-megamenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.site-megamenu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.site-megamenu__item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  padding: 14px 12px;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
  transition: background .15s;
  align-items: center;
  letter-spacing: 0 !important;
}
.site-megamenu__item:hover { background: #f5f9fa; }
.site-megamenu__num {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: #2080a0;
  line-height: 1;
  text-align: center;
}
.site-megamenu__label {
  font-family: var(--ff-jp);
  font-size: 14px;
  font-weight: 600;
  color: #1a2a2e;
  display: block;
  margin-bottom: 2px;
  letter-spacing: 0.04em !important;
}
.site-megamenu__desc {
  font-size: 11px;
  color: #5a6a6e;
  display: block;
  letter-spacing: 0.04em !important;
  line-height: 1.5;
}
.site-megamenu__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eef2f3;
  text-align: right;
}
.site-megamenu__foot a {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: #2080a0 !important;
  letter-spacing: 0.08em !important;
}

.site-nav__cta {
  background: var(--c-primary);
  color: #fff !important;
  padding: 13px 26px;
  border-radius: 60px;
  font-size: 10px !important;
  letter-spacing: 0.25em !important;
}
.site-nav__cta:hover { background: var(--c-blue); color: #fff !important; }

/* ===========================================================
   01. FV
   =========================================================== */
.fv {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 100px;
  background: linear-gradient(180deg, #f8fbfc 0%, #ffffff 60%);
}
.fv::before {
  content: "";
  position: absolute;
  inset: -5%;
  background:
    radial-gradient(ellipse 40% 50% at 80% 40%, rgba(91,184,201,0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(64,192,184,0.10), transparent 65%);
  animation: fv-pan 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes fv-pan {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.08) translate(-2%, -1%); }
}
.fv__grid {
  background-image:
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 80px 80px;
  position: absolute;
  inset: 0;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, #000 0%, transparent 70%);
  pointer-events: none;
}
.fv__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  align-items: center;
  gap: 60px;
  width: 100%;
  max-width: 1280px;
  z-index: 2;
}
.fv__content { padding-right: 20px; max-width: 820px; min-width: 0; position: relative; z-index: 3; }

/* ---- Right-side focal animation ---- */
.fv__focal {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 480px;
  justify-self: end;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: focal-in 1.4s cubic-bezier(.22,1,.36,1) 1.2s forwards;
}
@keyframes focal-in {
  from { opacity: 0; transform: scale(.85) rotate(-6deg); }
  to   { opacity: 1; transform: scale(1)   rotate(0); }
}
.fv__focal svg { width: 100%; height: 100%; display: block; overflow: visible; }

/* Rotating square rings */
.focal-ring {
  transform-origin: 250px 250px;
}
.focal-ring--outer { animation: focal-rot-slow 30s linear infinite; }
.focal-ring--mid   { animation: focal-rot-mid 22s linear infinite reverse; }
.focal-ring--inner { animation: focal-rot-fast 18s linear infinite; }
@keyframes focal-rot-slow { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes focal-rot-mid  { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes focal-rot-fast { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* Dashed orbit circles spinning */
.focal-orbit { transform-origin: 250px 250px; }
.focal-orbit--1 { animation: focal-rot-slow 40s linear infinite; }
.focal-orbit--2 { animation: focal-rot-slow 55s linear infinite reverse; }

/* Orbiting dots on their own circular paths */
.focal-orbiter { transform-origin: 250px 250px; }
.focal-orbiter--1 { animation: focal-rot-slow 14s linear infinite; }
.focal-orbiter--2 { animation: focal-rot-slow 9s  linear infinite reverse; }
.focal-orbiter--3 { animation: focal-rot-slow 20s linear infinite; }

/* Center crosshair subtle pulse */
.focal-center-pulse {
  transform-origin: 250px 250px;
  transform-box: fill-box;
  animation: focal-center-pulse 2.6s ease-out infinite;
}
@keyframes focal-center-pulse {
  0%   { transform: scale(1);   opacity: .9; }
  100% { transform: scale(6);   opacity: 0;  }
}

/* Soft glow breathing */
.focal-glow {
  transform-origin: 250px 250px;
  transform-box: fill-box;
  animation: focal-glow 6s ease-in-out infinite;
}
@keyframes focal-glow {
  0%, 100% { transform: scale(.9); opacity: .7; }
  50%      { transform: scale(1.1); opacity: 1; }
}

/* Vertical scan bar */
.focal-scan {
  animation: focal-scan 4s cubic-bezier(.55,.1,.45,.9) infinite;
}
@keyframes focal-scan {
  0%   { transform: translateY(0);    opacity: .9; }
  50%  { transform: translateY(358px); opacity: .9; }
  50.01%, 100% { transform: translateY(0); opacity: 0; }
}

/* Corner brackets subtle pulse */
.focal-corners { animation: focal-corners 3s ease-in-out infinite; }
@keyframes focal-corners {
  0%, 100% { opacity: 1; }
  50%      { opacity: .4; }
}

/* Labels fade in staggered via blink */
.focal-labels text {
  animation: focal-label-blink 5s ease-in-out infinite;
}
.focal-labels text:nth-child(1) { animation-delay: 0s; }
.focal-labels text:nth-child(2) { animation-delay: .8s; }
.focal-labels text:nth-child(3) { animation-delay: 1.6s; }
.focal-labels text:nth-child(4) { animation-delay: 2.4s; }
@keyframes focal-label-blink {
  0%, 90%, 100% { opacity: 1; }
  93%          { opacity: .2; }
  96%          { opacity: 1; }
}
.fv__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 16px;
}
.fv__tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-teal);
  animation: pulse 2s ease-in-out infinite;
}
.fv__tag-text {
  font-family: var(--ff-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.fv__catch {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "YuMincho", serif !important;
  font-size: clamp(34px, 4.8vw, 62px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--c-primary);
  margin-top: 8px;
  text-wrap: pretty;
}
.fv__catch-line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;
}
.fv__catch .char {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  will-change: transform, opacity;
}
.fv__catch.is-in .char {
  transform: translateY(0);
  opacity: 1;
  transition: transform 1s cubic-bezier(.2,.85,.25,1), opacity .8s ease;
  transition-delay: calc(var(--i) * 0.045s);
}
.fv__catch .accent { color: var(--c-blue); font-weight: 600; position: relative; }
.fv__catch .accent::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-blue-light));
  transform: scaleX(0);
  transform-origin: left;
}
.fv__catch.is-in .accent::after {
  animation: underline-in 1.4s cubic-bezier(.2,.9,.2,1) 1.8s both;
}
@keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes underline-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.fv__sub {
  margin-top: 36px;
  font-size: 15px;
  line-height: 2;
  color: var(--c-primary);
  font-weight: 500;
  max-width: 560px;
  text-wrap: pretty;
  letter-spacing: 0.06em;
}
.fv__ctas {
  margin-top: 44px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 20;
}
.fv__meta {
  margin-top: 56px;
  display: flex;
  gap: 44px;
  align-items: center;
}
.fv__meta-item { display: flex; flex-direction: column; gap: 6px; }
.fv__meta-label {
  font-family: var(--ff-en-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-sub);
  font-weight: 500;
}
.fv__meta-value {
  font-family: var(--ff-en);
  font-size: 26px;
  font-weight: 500;
  color: var(--c-primary);
  letter-spacing: 0.02em;
  font-style: italic;
}
.fv__meta-divider { width: 1px; height: 40px; background: var(--c-border); }

/* Full-bleed architectural background */
.fv__geo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
}
.fv__geo svg { width: 100%; height: 100%; overflow: visible; display: block; }

/* Architectural beams: traveling horizontal & vertical light lines */
.beam-h {
  animation: beam-sweep-h 8s cubic-bezier(.45,.05,.55,.95) infinite;
}
.beam-h--1 { animation-duration: 9s;  animation-delay: 0s; }
.beam-h--2 { animation-duration: 11s; animation-delay: 1.5s; }
.beam-h--3 { animation-duration: 7s;  animation-delay: 3s; }
.beam-h--4 { animation-duration: 10s; animation-delay: 2s; }
.beam-h--5 { animation-duration: 12s; animation-delay: 4s; }

.beam-h-r {
  animation: beam-sweep-h-r 10s cubic-bezier(.45,.05,.55,.95) infinite;
}
.beam-h-r--1 { animation-duration: 11s; animation-delay: 1s; }
.beam-h-r--2 { animation-duration: 9s;  animation-delay: 3.5s; }
.beam-h-r--3 { animation-duration: 13s; animation-delay: 5s; }

.beam-v {
  animation: beam-sweep-v 9s cubic-bezier(.45,.05,.55,.95) infinite;
}
.beam-v--1 { animation-duration: 10s; animation-delay: .5s; }
.beam-v--2 { animation-duration: 13s; animation-delay: 2s; }
.beam-v--3 { animation-duration: 8s;  animation-delay: 3.5s; }
.beam-v--4 { animation-duration: 11s; animation-delay: 1s; }
.beam-v--5 { animation-duration: 14s; animation-delay: 4.5s; }

.beam-v-r {
  animation: beam-sweep-v-r 11s cubic-bezier(.45,.05,.55,.95) infinite;
}
.beam-v-r--1 { animation-duration: 10s; animation-delay: 2.5s; }
.beam-v-r--2 { animation-duration: 13s; animation-delay: 4s; }
.beam-v-r--3 { animation-duration: 9s;  animation-delay: 6s; }

.beam-diag {
  animation: beam-sweep-diag 9s cubic-bezier(.45,.05,.55,.95) infinite;
}
.beam-diag--1 { animation-duration: 12s; animation-delay: 1s; }
.beam-diag--2 { animation-duration: 15s; animation-delay: 4s; }

@keyframes beam-sweep-h {
  0%   { transform: translateX(0);     opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(2200px); opacity: 0; }
}
@keyframes beam-sweep-h-r {
  0%   { transform: translateX(0);     opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(-2300px); opacity: 0; }
}
@keyframes beam-sweep-v {
  0%   { transform: translateY(0);     opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(1300px); opacity: 0; }
}
@keyframes beam-sweep-v-r {
  0%   { transform: translateY(0);     opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateY(-1400px); opacity: 0; }
}
@keyframes beam-sweep-diag {
  0%   { transform: translate(0,0);         opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate(1700px,1700px); opacity: 0; }
}

/* Full-width slow scanline */
.scanline {
  animation: scanline-move 7s linear infinite;
}
@keyframes scanline-move {
  0%   { transform: translateY(0);    opacity: 0; }
  10%  { opacity: .5; }
  90%  { opacity: .5; }
  100% { transform: translateY(900px); opacity: 0; }
}

/* Intersection dots breathing */
.grid-dot {
  transform-origin: center;
  transform-box: fill-box;
  animation: grid-pulse 3.5s ease-in-out infinite;
  opacity: .3;
}
.grid-dot--d1 { animation-delay: .3s; }
.grid-dot--d2 { animation-delay: .6s; }
.grid-dot--d3 { animation-delay: .9s; }
.grid-dot--d4 { animation-delay: 1.2s; }
.grid-dot--d5 { animation-delay: 1.5s; }
@keyframes grid-pulse {
  0%, 100% { opacity: .2; transform: scale(.6); }
  50%      { opacity: 1;  transform: scale(1.4); }
}

/* Floating cross markers */
.cross {
  transform-box: fill-box;
  transform-origin: center;
}
.cross--1 { transform: translate(340px, 220px); animation: cross-float-1 9s ease-in-out infinite; }
.cross--2 { transform: translate(1180px, 380px); animation: cross-float-2 11s ease-in-out infinite; }
.cross--3 { transform: translate(260px, 580px); animation: cross-float-3 10s ease-in-out infinite; }
.cross--4 { transform: translate(1300px, 740px); animation: cross-float-4 12s ease-in-out infinite; }
@keyframes cross-float-1 {
  0%,100% { transform: translate(340px, 220px) rotate(0) scale(1); opacity: .9; }
  50%     { transform: translate(380px, 260px) rotate(45deg) scale(1.3); opacity: .4; }
}
@keyframes cross-float-2 {
  0%,100% { transform: translate(1180px, 380px) rotate(0) scale(1); opacity: .9; }
  50%     { transform: translate(1140px, 340px) rotate(-45deg) scale(1.2); opacity: .4; }
}
@keyframes cross-float-3 {
  0%,100% { transform: translate(260px, 580px) rotate(0) scale(1); opacity: .8; }
  50%     { transform: translate(300px, 620px) rotate(45deg) scale(1.4); opacity: .3; }
}
@keyframes cross-float-4 {
  0%,100% { transform: translate(1300px, 740px) rotate(0) scale(1); opacity: .8; }
  50%     { transform: translate(1260px, 700px) rotate(-45deg) scale(1.3); opacity: .3; }
}

/* Rotating square outlines (slow) */
.spin-sq {
  transform-box: fill-box;
  transform-origin: center;
}
.spin-sq--1 { transform: translate(420px, 440px); animation: spin-sq-1 16s linear infinite; opacity: .7; }
.spin-sq--2 { transform: translate(1220px, 560px); animation: spin-sq-2 20s linear infinite reverse; opacity: .6; }
.spin-sq--3 { transform: translate(940px, 240px); animation: spin-sq-3 14s linear infinite; opacity: .7; }
@keyframes spin-sq-1 {
  from { transform: translate(420px, 440px) rotate(0); }
  to   { transform: translate(420px, 440px) rotate(360deg); }
}
@keyframes spin-sq-2 {
  from { transform: translate(1220px, 560px) rotate(0); }
  to   { transform: translate(1220px, 560px) rotate(360deg); }
}
@keyframes spin-sq-3 {
  from { transform: translate(940px, 240px) rotate(0); }
  to   { transform: translate(940px, 240px) rotate(360deg); }
}

/* Scroll indicator */
.fv__scroll {
  position: absolute;
  bottom: 140px;
  left: var(--container-pad);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-en-sans);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-text-sub);
  z-index: 2;
  font-weight: 500;
}
.fv__scroll::after {
  content: "";
  width: 60px;
  height: 1px;
  background: var(--c-border);
  position: relative;
  overflow: hidden;
}
.fv__scroll-line {
  width: 60px; height: 1px;
  background: var(--c-border);
  position: relative;
}
.fv__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  height: 1px;
  width: 20px;
  background: var(--c-blue);
  animation: scroll-line 2.4s cubic-bezier(.5,0,.5,1) infinite;
}
.fv__scroll-vertical {
  position: absolute;
  bottom: 0;
  right: var(--container-pad);
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-en-sans);
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--c-text-sub);
  z-index: 3;
  writing-mode: vertical-rl;
}
.fv__scroll-vertical::after {
  content: "";
  width: 1px;
  height: 80px;
  background: linear-gradient(180deg, var(--c-blue) 0%, var(--c-border) 100%);
  overflow: hidden;
  position: relative;
}
.fv__scroll-bar {
  width: 1px;
  height: 80px;
  background: var(--c-border);
  position: relative;
  overflow: hidden;
}
.fv__scroll-bar::after {
  content: "";
  position: absolute;
  left: 0; top: -60%;
  width: 1px; height: 60%;
  background: var(--c-blue);
  animation: scroll-vert 2.6s cubic-bezier(.5,0,.5,1) infinite;
}
@keyframes scroll-vert {
  0% { top: -60%; }
  100% { top: 100%; }
}
@keyframes scroll-line {
  0% { left: -20px; }
  100% { left: 60px; }
}

/* FV bottom marquee (subtle background) */
.fv__bg-marquee {
  position: absolute;
  left: 0; right: 0;
  bottom: 20px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  z-index: -1;
}
.fv__bg-marquee-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--ff-en);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-blue-lighter);
  line-height: 1;
  opacity: 0.5;
}
.fv__bg-marquee-inner span { flex-shrink: 0; }

/* ===========================================================
   02. Marquee (services)
   =========================================================== */
.marquee {
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  padding: 26px 0;
  background: var(--c-bg);
}
.marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--ff-en-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-text-sub);
}
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__item {
  padding: 0 36px;
}
.marquee__plus {
  color: var(--c-teal);
  font-weight: 600;
  font-size: 15px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================================================
   03. Services
   =========================================================== */
.services {
  background: var(--c-bg-alt);
  padding: var(--sp-section) 0;
  position: relative;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .3s ease, transform .4s ease, box-shadow .4s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--c-blue);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -20px rgba(32,128,160,.25);
}
.service-card__media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.service-card__media-inner {
  width: 100%; height: 100%;
  transition: transform .4s ease;
}
.service-card:hover .service-card__media-inner { transform: scale(1.03); }
.service-card__num {
  position: absolute;
  top: 18px; left: 18px;
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--c-primary);
  background: rgba(255,255,255,0.92);
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}
.service-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card__label {
  font-family: var(--ff-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-blue);
}
.service-card__title {
  font-family: var(--ff-jp);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.6;
  margin-top: 14px;
  letter-spacing: 0.03em;
}
.service-card__desc {
  font-family: var(--ff-jp-sans);
  font-size: 13px;
  line-height: 1.95;
  color: var(--c-text-sub);
  margin-top: 16px;
  flex-grow: 1;
  letter-spacing: 0.05em;
  font-weight: 400;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 22px;
}
.service-card__tag {
  background: var(--c-bg-alt);
  color: var(--c-text-sub);
  font-family: var(--ff-en-sans);
  font-size: 10.5px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #eef2f3;
  width: 100%;
  font-family: var(--ff-jp);
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
  transition: color .2s, gap .2s;
  letter-spacing: 0.06em;
}
.service-card__more-arrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--c-blue);
  margin-left: auto;
  transition: transform .25s;
}
.service-card:hover .service-card__more {
  color: var(--c-blue);
}
.service-card:hover .service-card__more-arrow {
  transform: translateX(6px);
}
.service-card--wide {
  grid-column: span 2;
  flex-direction: row;
}
.service-card--wide .service-card__media {
  flex: 0 0 42%;
  height: auto;
}
.service-card--wide .service-card__body {
  padding: 36px 36px 36px;
  justify-content: center;
}

/* Placeholder media (SVG backgrounds) */
.media-web { background: linear-gradient(135deg, #e8f4f7 0%, #cfe4ea 100%); }
.media-ads { background: linear-gradient(135deg, #eaf3f8 0%, #d5e7ee 100%); }
.media-line { background: linear-gradient(135deg, #e6f4f3 0%, #cfe8e5 100%); }
.media-seo { background: linear-gradient(135deg, #eef3f5 0%, #dae6ec 100%); }
.media-sns { background: linear-gradient(135deg, #e9f2f5 0%, #d0e2e8 100%); }

/* ===========================================================
   04. Works
   =========================================================== */
.works {
  padding: var(--sp-section) 0;
}
.works__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}
.works__head-left { flex: 1; }
.works__filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.works__filter-btn {
  font-family: var(--ff-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--c-text-sub);
  padding: 11px 22px;
  border: 1px solid var(--c-border);
  border-radius: 60px;
  background: transparent;
  transition: all .25s ease;
  text-transform: uppercase;
}
.works__filter-btn:hover {
  border-color: var(--c-blue);
  color: var(--c-blue);
}
.works__filter-btn.is-active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.work-card {
  display: flex;
  flex-direction: column;
  transition: opacity .4s ease, transform .4s ease;
}
.work-card.is-hidden {
  display: none;
}
.work-card__media {
  position: relative;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-bg-alt);
}
.work-card__media-inner {
  width: 100%; height: 100%;
  transition: transform .5s ease;
}
.work-card:hover .work-card__media-inner { transform: scale(1.05); }
.work-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 42, 46, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.work-card:hover .work-card__overlay { opacity: 1; }
.work-card__arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(8px);
  transition: transform .35s ease;
}
.work-card:hover .work-card__arrow { transform: translateY(0); }
.work-card__arrow::after {
  content: "";
  width: 10px; height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg) translate(-2px, 2px);
}
.work-card__tags {
  display: flex;
  gap: 6px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.work-card__tag {
  font-family: var(--ff-en-sans);
  font-size: 10.5px;
  color: var(--c-blue);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.work-card__tag + .work-card__tag::before { content: "/ "; color: var(--c-border); margin-right: 4px; }
.work-card__title {
  font-family: var(--ff-jp);
  font-size: 19px;
  font-weight: 600;
  margin-top: 12px;
  line-height: 1.65;
  letter-spacing: 0.03em;
}
.work-card__client {
  font-family: var(--ff-jp-sans);
  font-size: 12px;
  color: var(--c-text-sub);
  margin-top: 8px;
  letter-spacing: 0.08em;
}
.work-card__result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--c-border);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.work-card__result-num {
  font-family: var(--ff-en);
  font-size: 38px;
  font-weight: 500;
  color: var(--c-blue);
  letter-spacing: 0.01em;
  line-height: 1;
  font-style: italic;
}
.work-card__result-text {
  font-family: var(--ff-jp-sans);
  font-size: 12px;
  color: var(--c-text-sub);
  letter-spacing: 0.06em;
}
.works__footer {
  text-align: center;
  margin-top: 64px;
}

/* Work media illustrations (varied backgrounds) */
.work-media-1 { background: linear-gradient(135deg, #1a2a2e 0%, #2080a0 100%); }
.work-media-2 { background: linear-gradient(135deg, #f5f9fa 0%, #dce8ea 100%); }
.work-media-3 { background: linear-gradient(135deg, #2080a0 0%, #5bb8c9 100%); }
.work-media-4 { background: linear-gradient(135deg, #e8f4f7 0%, #a0d8e4 100%); }
.work-media-5 { background: linear-gradient(135deg, #1a2a2e 0%, #40c0b8 100%); }
.work-media-6 { background: linear-gradient(135deg, #f5f9fa 0%, #5bb8c9 100%); }

/* ===========================================================
   05. About
   =========================================================== */
.about {
  background: var(--c-bg-alt);
  padding: var(--sp-section) 0;
  position: relative;
  overflow: hidden;
}
.about__bg-text {
  position: absolute;
  right: -40px;
  bottom: -40px;
  font-family: var(--ff-en);
  font-size: clamp(160px, 24vw, 360px);
  font-weight: 400;
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1px var(--c-blue-lighter);
  line-height: 0.85;
  pointer-events: none;
  opacity: 0.4;
  letter-spacing: 0.01em;
}
.about__inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.about__photo-wrap {
  position: relative;
}
.about__photo {
  width: 360px;
  height: 460px;
  border-radius: 4px;
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(26, 42, 46, 0.35);
}
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: saturate(0.92) contrast(1.02);
}
.about__photo-accent {
  position: absolute;
  right: -20px; top: -20px;
  width: 360px; height: 460px;
  border: 1px solid var(--c-teal);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.6;
}
.about__photo-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.about__photo-meta-row {
  display: flex;
  gap: 14px;
  font-size: 12px;
}
.about__photo-meta-label {
  font-family: var(--ff-en-sans);
  color: var(--c-blue);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  min-width: 60px;
  font-weight: 500;
  font-size: 10px;
}
.about__photo-meta-val {
  color: var(--c-text);
  font-family: var(--ff-jp);
  font-weight: 500;
}

.about__content { padding-top: 10px; }
.about__name-en {
  font-family: var(--ff-en);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--c-text-sub);
  letter-spacing: 0.03em;
  margin-top: 18px;
}
.about__name-jp {
  font-family: var(--ff-jp);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: flex;
  align-items: baseline;
  gap: 18px;
}
.about__name-jp-title {
  font-size: 10px;
  color: var(--c-text-sub);
  letter-spacing: 0.28em;
  font-weight: 500;
  font-family: var(--ff-en-sans);
  text-transform: uppercase;
}
.about__lead {
  font-family: var(--ff-jp);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.95;
  margin-top: 44px;
  color: var(--c-primary);
  text-wrap: pretty;
  letter-spacing: 0.06em;
}
.about__lead::before {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--c-teal);
  margin-bottom: 24px;
}
.about__body {
  margin-top: 32px;
  font-family: var(--ff-jp-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 2.1;
  color: var(--c-text-sub);
  max-width: 560px;
  letter-spacing: 0.06em;
}
.about__body p + p { margin-top: 20px; }
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  max-width: 560px;
}
.about__stat-label {
  font-family: var(--ff-en-sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-text-sub);
  font-weight: 500;
}
.about__stat-value {
  font-family: var(--ff-en);
  font-size: 32px;
  font-weight: 500;
  font-style: italic;
  color: var(--c-primary);
  margin-top: 10px;
  letter-spacing: 0.01em;
}
.about__stat-value sub {
  font-size: 12px;
  color: var(--c-text-sub);
  font-weight: 400;
  margin-left: 2px;
}
.about__footer {
  margin-top: 40px;
}

/* ===========================================================
   Footer
   =========================================================== */
.site-footer {
  background: var(--c-primary);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand-mark { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.site-footer__brand-img {
  width: 100px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__desc {
  font-size: 13px;
  line-height: 1.9;
  max-width: 360px;
}
.site-footer h4 {
  font-family: var(--ff-en-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px;
}
.site-footer ul li { margin-bottom: 12px; font-size: 13px; }
.site-footer ul li a:hover { color: var(--c-blue-light); }
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-family: var(--ff-en-sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
}

/* ===========================================================
   Reveal animations (JS-triggered)
   =========================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal[data-delay="5"] { transition-delay: .5s; }
.reveal[data-delay="6"] { transition-delay: .6s; }

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
}
.reveal-slide-left.is-in {
  opacity: 1;
  transform: translateX(0);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1023px) {
  :root { --sp-section: 80px; --container-pad: 24px; }
  .fv__inner { width: 100%; max-width: none; grid-template-columns: 1fr; gap: 40px; }
  .fv__focal { display: none; }
  .fv__content { padding-right: 0; max-width: 100%; }
  .fv__tag, .fv__ctas { justify-content: flex-start; }
  .fv__sub { margin-left: auto; margin-right: auto; }
  .fv__meta { justify-content: flex-start; }
  .fv__scroll { display: none; }
  .fv { padding-top: 100px; padding-bottom: 60px; min-height: auto; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--wide { grid-column: span 2; flex-direction: column; }
  .service-card--wide .service-card__media { flex: 0 0 200px; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .works__head { flex-direction: column; align-items: flex-start; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__photo-accent { display: none; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root { --sp-section: 64px; --container-pad: 20px; }
  body { font-size: 15px; }
  .site-nav { display: none; }
  .site-nav__cta { display: inline-block !important; padding: 10px 18px !important; font-size: 10px !important; }

  .fv__catch { font-size: 28px; line-height: 1.45; }
  .fv__sub { font-size: 14px; }
  .fv__ctas { flex-direction: column; align-items: stretch; }
  .fv__ctas .btn { justify-content: center; }
  .fv__meta { gap: 20px; }
  .fv__meta-value { font-size: 16px; }

  .section-heading { font-size: 24px; }
  .services__grid { grid-template-columns: 1fr; }
  .service-card--wide { grid-column: span 1; }
  .works__grid { grid-template-columns: 1fr; }
  .works__filter { gap: 4px; }
  .works__filter-btn { padding: 8px 14px; font-size: 11px; }

  .about__photo { width: 100%; max-width: 320px; margin: 0 auto; }
  .about__lead { font-size: 18px; }
  .about__stats { grid-template-columns: 1fr 1fr; }

  .site-footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .site-footer__bottom { flex-direction: column; gap: 12px; }

  .marquee__item { padding: 0 20px; }
}


/* ===========================================================
   Loader (opening animation)
   =========================================================== */
body.is-loading { overflow: hidden; }
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: auto;
}
.loader__bg {
  position: absolute;
  inset: 0;
  background: #f8fbfc;
  transition: opacity .6s ease;
}
.loader__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity .5s ease;
  z-index: 1;
}
.loader__logo img {
  width: 160px;
  height: auto;
  opacity: 0;
  transform: translateY(12px);
  animation: loader-logo-in 1s cubic-bezier(.2,.85,.25,1) .2s forwards;
}
@keyframes loader-logo-in { to { opacity: 1; transform: translateY(0); } }
.loader__bar {
  width: 220px;
  height: 1px;
  background: #dce8ea;
  overflow: hidden;
  position: relative;
}
.loader__bar-fill {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #2080a0, #40c0b8);
  transition: width .15s linear;
}
.loader__count {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-style: italic;
  color: #1a2a2e;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
}
.loader__count-sym {
  font-size: 14px;
  color: #5a6a6e;
  margin-left: 4px;
}
.loader__curtain {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50vh;
  background: #1a2a2e;
  transform: scaleY(0);
  z-index: 2;
}
.loader__curtain--1 { top: 0; transform-origin: top; }
.loader__curtain--2 { bottom: 0; transform-origin: bottom; }

.loader.is-closing .loader__curtain--1 { animation: curtain-close-top .55s cubic-bezier(.65,0,.35,1) forwards; }
.loader.is-closing .loader__curtain--2 { animation: curtain-close-bot .55s cubic-bezier(.65,0,.35,1) forwards; }
.loader.is-closing .loader__inner { opacity: 0; transition-delay: .1s; }
.loader.is-closing .loader__bg { opacity: 0; transition-delay: .3s; }

.loader.is-opening .loader__curtain--1 { animation: curtain-open-top .9s cubic-bezier(.7,0,.3,1) .55s forwards; }
.loader.is-opening .loader__curtain--2 { animation: curtain-open-bot .9s cubic-bezier(.7,0,.3,1) .55s forwards; }

@keyframes curtain-close-top { from { transform: scaleY(0); transform-origin: top; } to { transform: scaleY(1); transform-origin: top; } }
@keyframes curtain-close-bot { from { transform: scaleY(0); transform-origin: bottom; } to { transform: scaleY(1); transform-origin: bottom; } }
@keyframes curtain-open-top { from { transform: scaleY(1); transform-origin: top; } to { transform: scaleY(0); transform-origin: top; } }
@keyframes curtain-open-bot { from { transform: scaleY(1); transform-origin: bottom; } to { transform: scaleY(0); transform-origin: bottom; } }

.loader.is-done { display: none; }
