@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;700;800&display=swap');

:root {
  --bg: #f3f7fc;
  --bg-alt: #e9f0fb;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #ffffff;
  --line: rgba(15, 32, 64, 0.12);
  --line-strong: rgba(15, 32, 64, 0.2);
  --text: #15233d;
  --muted: #52607a;
  --primary: #0f3a78;
  --primary-deep: #0a2347;
  --accent: #118b88;
  --accent-soft: #c9efec;
  --warm: #d98e2f;
  --shadow: 0 20px 45px rgba(11, 33, 67, 0.14);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --max-width: min(1120px, 92vw);
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 0% 0%, #dbe8fb 0, transparent 36%),
    radial-gradient(circle at 100% 8%, #d9f3f3 0, transparent 34%),
    linear-gradient(180deg, var(--bg) 0%, #f7f9fd 48%, #edf3fb 100%);
  min-height: 100vh;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

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

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

p,
h1,
h2,
h3,
h4 {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

main {
  display: block;
}

.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 160;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 20% 0%, rgba(34, 160, 181, 0.16) 0%, transparent 48%),
    linear-gradient(180deg, rgba(8, 24, 47, 0.08) 0%, rgba(8, 24, 47, 0.5) 100%);
  transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 72, 130, 0.08) 0%, rgba(14, 44, 82, 0.3) 58%, rgba(15, 58, 120, 0.38) 100%);
  transform: translateY(12%);
  opacity: 0;
  transition: opacity 0.44s ease, transform 0.44s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-transition-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.page-transition-overlay.is-active::after {
  opacity: 1;
  transform: translateY(0);
}

main.page-enter-prep {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  filter: blur(5px);
}

main.page-enter-prep.is-entered {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition: opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1), transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.58s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-page-leaving {
  overflow: hidden;
}

body.is-page-leaving .site-header,
body.is-page-leaving .site-footer {
  opacity: 0;
  transform: translate3d(0, -10px, 0);
  transition: opacity 0.33s ease, transform 0.33s ease;
}

body.is-page-leaving main {
  opacity: 0;
  transform: translate3d(0, -12px, 0) scale(0.995);
  filter: blur(4px);
  transition: opacity 0.33s ease, transform 0.33s ease, filter 0.33s ease;
}

a.is-link-leaving {
  opacity: 0.62;
}

.home-page {
  position: relative;
  isolation: isolate;
}

.home-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(
      122deg,
      rgba(5, 15, 31, 0.6) 0%,
      rgba(9, 30, 58, 0.36) 46%,
      rgba(4, 12, 26, 0.65) 100%
    ),
    url('../images/hero-top-city-20260415.jpg');
  background-size: cover;
  background-position: center 46%;
  background-repeat: no-repeat;
  background-color: #0a1e3b;
}

.site-page-generic {
  position: relative;
  isolation: isolate;
}

.site-fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.home-fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
}

.home-page > section {
  position: relative;
  z-index: 1;
}

.site-page-generic > section {
  position: relative;
  z-index: 1;
}

.home-page.is-anchor-transitioning section,
.site-page-generic.is-anchor-transitioning section {
  opacity: 0.7;
  transform: translate3d(0, 8px, 0);
}

.home-page section,
.site-page-generic section {
  transition: opacity 0.34s ease, transform 0.34s ease;
}

.home-page a.is-anchor-active,
.site-page-generic a.is-anchor-active {
  opacity: 0.72;
}

.home-page .is-anchor-targeted,
.site-page-generic .is-anchor-targeted {
  animation: worksAnchorFocus 0.7s ease;
}

.site-page-generic.is-page-leaving-local .site-fx-canvas,
body.is-page-leaving .site-fx-canvas {
  opacity: 0.66;
  transition: opacity 0.38s ease;
}

.home-page.is-page-leaving-local .home-fx-canvas,
body.is-page-leaving .home-fx-canvas {
  opacity: 0.78;
  transition: opacity 0.38s ease;
}

.container {
  width: var(--max-width);
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.section-kicker::before {
  content: '';
  width: 1.8rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.section-title {
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  line-height: 1.35;
  font-weight: 800;
  margin-top: 0.65rem;
  max-width: 16em;
}

.section-lead {
  color: var(--muted);
  max-width: 40ch;
}

.home-page #strengths .section-kicker,
.home-page #strengths .section-title,
.home-page #strengths .section-lead {
  color: #f2f7ff;
}

.home-page #strengths .section-title {
  text-shadow: 0 8px 22px rgba(4, 14, 30, 0.45);
}

.home-page #services .section-kicker,
.home-page #services .section-title,
.home-page #services .section-lead {
  color: #f2f7ff;
}

.home-page #services .section-title {
  text-shadow: 0 8px 22px rgba(4, 14, 30, 0.45);
}

.home-page #services .btn-ghost {
  color: #eef6ff;
  border-color: rgba(231, 242, 255, 0.74);
  background: rgba(14, 33, 62, 0.3);
}

.home-page #services .btn-ghost:hover,
.home-page #services .btn-ghost:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
}

.home-page #works .section-kicker,
.home-page #works .section-title,
.home-page #works .section-lead {
  color: #f2f7ff;
}

.home-page #works .section-title {
  text-shadow: 0 8px 22px rgba(4, 14, 30, 0.45);
}

.home-page #works .btn-ghost {
  color: #eef6ff;
  border-color: rgba(231, 242, 255, 0.74);
  background: rgba(14, 33, 62, 0.3);
}

.home-page #works .btn-ghost:hover,
.home-page #works .btn-ghost:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
}

.home-page #works .works-list {
  border-top-color: rgba(226, 241, 255, 0.32);
}

.home-page #works .work-row {
  border-bottom-color: rgba(226, 241, 255, 0.22);
}

.home-page #works .work-row::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.home-page #works .work-row-index {
  color: rgba(234, 245, 255, 0.84);
}

.home-page #works .work-row-cat {
  color: rgba(220, 237, 255, 0.94);
}

.home-page #works .work-row-main h3 {
  color: #f4f9ff;
  text-shadow: 0 6px 16px rgba(5, 16, 34, 0.42);
}

.home-page #works .work-row-desc {
  color: rgba(227, 239, 255, 0.9);
}

.home-page #works .work-row-year {
  color: rgba(225, 239, 255, 0.9);
}

.home-page #works .work-row-arrow {
  color: #edf6ff;
  border-color: rgba(226, 241, 255, 0.5);
  background: rgba(14, 33, 62, 0.24);
}

.home-page #works .work-row:hover .work-row-arrow,
.home-page #works .work-row:focus-within .work-row-arrow {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.82);
}

.home-page .section-head .section-kicker,
.home-page .section-head .section-title,
.home-page .section-head .section-lead {
  color: #f2f7ff;
}

.home-page .section-head .section-title {
  text-shadow: 0 8px 22px rgba(4, 14, 30, 0.45);
}

.home-page .section-head .section-lead {
  color: rgba(227, 239, 255, 0.9);
  max-width: 58ch;
}

.home-page .section-head .btn-ghost {
  color: #eef6ff;
  border-color: rgba(231, 242, 255, 0.74);
  background: rgba(14, 33, 62, 0.3);
}

.home-page .section-head .btn-ghost:hover,
.home-page .section-head .btn-ghost:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
}

.home-hero-content {
  max-width: min(920px, 100%);
}

.home-page.has-hero-brand-motion .hero-brand-block[data-hero-brand='brand'] {
  --brand-progress: 1;
  opacity: var(--brand-progress);
  transform: translate3d(0, calc((1 - var(--brand-progress)) * -40px), 0) scale(calc(0.94 + var(--brand-progress) * 0.06));
  transform-origin: center center;
  transition: none;
  will-change: transform, opacity;
}

.hero-word-reveal {
  position: relative;
  padding: clamp(1.2rem, 3vw, 2.4rem) 0 clamp(2.6rem, 6.6vw, 5.2rem);
}

.hero-word-inner {
  position: relative;
  min-height: clamp(360px, 52vw, 700px);
  overflow: visible;
}

.hero-word {
  --word-progress: 1;
  position: absolute;
  margin: 0;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-size: clamp(6rem, 20vw, 16rem);
  font-weight: 700;
  line-height: 0.84;
  letter-spacing: 0.02em;
  color: #ffffff;
  opacity: 1;
  text-shadow: 0 10px 26px rgba(3, 12, 26, 0.42);
  z-index: 2;
  will-change: transform, opacity;
}

.hero-word-ai {
  top: clamp(1.6rem, 3.8vw, 3.8rem);
  left: clamp(2.2rem, 5.4vw, 5.6rem);
  font-size: clamp(8.4rem, 24vw, 19rem);
}

.hero-word-link {
  --word-progress: 1;
  --brush-texture: url('../images/brush-stroke-cross.svg');
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-word-link-stroke {
  --stroke-rotation: 36deg;
  --stroke-origin: center center;
  --stroke-scale: var(--word-progress);
  --stroke-opacity: calc(var(--word-progress) * 0.92);
  position: absolute;
  top: 53%;
  left: 50%;
  width: clamp(900px, 112vw, 1700px);
  height: clamp(54px, 6.8vw, 100px);
  border-radius: 999px;
  background: var(--brush-texture) center / 100% 100% no-repeat;
  filter: drop-shadow(0 14px 26px rgba(178, 214, 252, 0.18));
  opacity: var(--stroke-opacity);
  transform-origin: center center;
  transform: translate(-50%, -50%) rotate(var(--stroke-rotation)) scaleX(var(--stroke-scale));
}

.hero-word-link-stroke::before,
.hero-word-link-stroke::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--brush-texture) center / 100% 100% no-repeat;
  pointer-events: none;
}

.hero-word-link-stroke::before {
  opacity: 0.62;
  transform: translateY(-19%) scaleX(0.989);
}

.hero-word-link-stroke::after {
  opacity: 0.54;
  transform: translateY(18%) scaleX(0.978);
}

.hero-word-link-stroke-1 {
  left: 50%;
  right: auto;
  --stroke-rotation: 35deg;
  --stroke-origin: center center;
}

.hero-word-link-stroke-2 {
  left: 50%;
  right: auto;
  --stroke-rotation: -35deg;
  --stroke-origin: center center;
}

.hero-word-web {
  right: clamp(0.2rem, 1.2vw, 1.1rem);
  bottom: clamp(-0.25rem, 0.2vw, 0.3rem);
  font-size: clamp(8.2rem, 23vw, 18.4rem);
  text-align: right;
}

.home-page.has-hero-word-motion .hero-word {
  --word-progress: 0;
  opacity: var(--word-progress);
  transform: translate3d(0, calc((1 - var(--word-progress)) * 20px), 0) scale(calc(0.96 + var(--word-progress) * 0.04));
  filter: none;
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity, filter;
}

.home-page.has-hero-word-motion .hero-word-link {
  --word-progress: 0;
  opacity: var(--word-progress);
  transform: scale(calc(0.9 + var(--word-progress) * 0.1));
  filter: none;
  transition: opacity 0.32s ease, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity, filter;
}

.home-page.has-hero-word-motion .hero-word-link-stroke {
  transition: transform 0.36s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.hero-kpi-reveal {
  position: relative;
  padding: clamp(0.8rem, 2vw, 1.8rem) 0 clamp(3rem, 7.2vw, 5.6rem);
}

.hero-kpi-inner {
  position: relative;
  min-height: clamp(360px, 43vw, 560px);
  display: grid;
  justify-items: center;
  align-content: center;
  gap: clamp(0.5rem, 1.4vw, 1.2rem);
}

.hero-kpi-line {
  --line-progress: 1;
  margin: 0;
  color: #ffffff;
  opacity: 1;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 10px 24px rgba(3, 12, 26, 0.4);
  will-change: transform, opacity;
}

.hero-kpi-line-major {
  font-size: clamp(4.6rem, 12.5vw, 10rem);
}

.hero-kpi-line-minor {
  font-size: clamp(2.2rem, 5.2vw, 3.8rem);
}

.home-page.has-hero-kpi-motion .hero-kpi-line {
  --line-progress: 0;
  opacity: var(--line-progress);
  transform: translate3d(0, calc((1 - var(--line-progress)) * 26px), 0) scale(calc(0.94 + var(--line-progress) * 0.06));
  transition: opacity 0.28s ease, transform 0.38s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-copy-reveal {
  padding-top: clamp(2.2rem, 5.2vw, 3.5rem);
  padding-bottom: clamp(3rem, 6.2vw, 4.8rem);
}

.hero-copy-block {
  margin-inline: auto;
}

.hero-copy-block .hero-main-copy {
  margin-top: 0;
}

.hero-main-copy {
  margin-top: 1.15rem;
  font-size: clamp(1.6rem, 3.4vw, 2.65rem);
  line-height: 1.33;
  letter-spacing: 0.02em;
  color: #f4f9ff;
  text-shadow: 0 8px 24px rgba(4, 15, 31, 0.42);
}

.hero-sub-copy {
  margin: 0.92rem auto 0;
  max-width: 66ch;
  color: rgba(236, 244, 255, 0.92);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.home-hero-content .hero-actions {
  margin-top: 1.25rem;
}

.home-list-card {
  background: rgba(255, 255, 255, 0.86);
}

.home-list-card .bullet-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
}

.home-list-card .bullet-list li {
  font-size: 0.9rem;
}

.home-list-card .section-closing {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 500;
}

.home-rich-copy p + p {
  margin-top: 0.85rem;
}

.reason-card p {
  line-height: 1.68;
}

.home-support-note {
  margin-top: 1rem;
  color: rgba(226, 239, 255, 0.9);
  font-size: 0.9rem;
}

.home-actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.flow-card {
  position: relative;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 58, 120, 0.2);
  background: rgba(15, 58, 120, 0.08);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.flow-card h3 {
  margin-top: 0.62rem;
}

.home-page #company-intro .card p + p {
  margin-top: 0.72rem;
}

.home-cta-panel .btn-ghost {
  color: #eef6ff;
  border-color: rgba(231, 242, 255, 0.74);
  background: rgba(14, 33, 62, 0.3);
}

.home-cta-panel .btn-ghost:hover,
.home-cta-panel .btn-ghost:focus-visible {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.14);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 1rem 0;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243, 247, 252, 0.97) 0%, rgba(243, 247, 252, 0.8) 70%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  padding: 0.68rem 0.75rem 0.68rem 1.1rem;
  box-shadow: 0 10px 32px rgba(18, 31, 56, 0.1);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-logo {
  width: 2.1rem;
  height: 2.1rem;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(15, 58, 120, 0.22));
  flex-shrink: 0;
}

.brand-mark {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4f7abb);
  box-shadow: 0 6px 16px rgba(15, 58, 120, 0.33);
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.52rem 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.36rem;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--primary-deep);
  background: rgba(17, 139, 136, 0.09);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 0.25rem;
}

.nav-feature {
  display: none;
}

.nav-feature-title {
  margin: 0;
}

.nav-feature-copy {
  margin: 0;
}

.nav-feature-actions {
  display: flex;
}

.nav-toggle {
  display: none;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 0.7rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.24rem auto;
  background: var(--primary-deep);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.view-mode-switch {
  position: fixed;
  right: max(0.88rem, env(safe-area-inset-right));
  bottom: calc(max(0.88rem, env(safe-area-inset-bottom)) + 0.1rem);
  z-index: 170;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.32rem;
  border-radius: 999px;
  border: 1px solid rgba(12, 34, 67, 0.18);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(9, 32, 64, 0.19);
}

.view-mode-switch__btn {
  appearance: none;
  border: 1px solid rgba(12, 34, 67, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  cursor: pointer;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.view-mode-switch__btn:hover,
.view-mode-switch__btn:focus-visible {
  border-color: rgba(15, 58, 120, 0.4);
  color: var(--primary);
  outline: none;
}

.view-mode-switch__btn.is-active,
.view-mode-switch__btn[aria-pressed='true'] {
  background: linear-gradient(130deg, var(--primary), #2a64b7);
  color: #fff;
  border-color: transparent;
}

@media (max-width: 680px) {
  .view-mode-switch {
    padding: 0.28rem;
    gap: 0.22rem;
  }

  .view-mode-switch__btn {
    font-size: 0.7rem;
    padding: 0.34rem 0.56rem;
  }
}

@media print {
  .view-mode-switch {
    display: none !important;
  }
}

body.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.82rem 1.22rem;
  font-size: 0.9rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, color 0.24s ease,
    border-color 0.24s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, var(--primary), #295ca9);
  box-shadow: 0 10px 24px rgba(29, 65, 126, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 14px 28px rgba(29, 65, 126, 0.42);
}

.btn-secondary {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
  background: #fff;
}

.btn-ghost {
  color: var(--primary);
  background: transparent;
  border: 1px solid var(--line-strong);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--primary);
  background: rgba(14, 41, 79, 0.04);
}

.btn-sm {
  padding: 0.65rem 1.05rem;
  font-size: 0.84rem;
}

.hero {
  position: relative;
  padding: clamp(3.8rem, 8vw, 6.6rem) 0 clamp(3.2rem, 7vw, 5rem);
  overflow: hidden;
}

.hero.hero-photo {
  background: transparent;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 24rem;
  height: 24rem;
  right: -8rem;
  top: -6rem;
  background: radial-gradient(circle, rgba(17, 139, 136, 0.2) 0%, transparent 70%);
}

.hero::after {
  width: 22rem;
  height: 22rem;
  left: -10rem;
  bottom: -10rem;
  background: radial-gradient(circle, rgba(15, 58, 120, 0.2) 0%, transparent 72%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.6rem, 3vw, 2.5rem);
  align-items: end;
  max-width: 64rem;
}

.hero-brand-centered {
  padding: clamp(3.4rem, 7vw, 5.8rem) 0 clamp(5.2rem, 10.5vw, 8.2rem);
}

.hero-grid-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height) - 1.4rem);
  min-height: calc(100svh - var(--header-height) - 1.4rem);
  max-width: 72rem;
}

.hero-brand-block {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  text-align: center;
  color: #f4f8ff;
}

.hero-tag-centered {
  justify-content: center;
  border-color: rgba(219, 231, 255, 0.35);
  background: rgba(8, 24, 47, 0.55);
  color: #e8f1ff;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.9rem, 2.2vw, 1.6rem);
  margin-top: 0.5rem;
}

.hero-brand-row .hero-brand-logo {
  display: block;
  width: clamp(110px, 18vw, 200px) !important;
  max-width: 200px !important;
  min-width: 52px;
  margin: 0;
  height: auto !important;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(3, 10, 20, 0.44));
  flex: 0 0 auto !important;
}

.hero-brand-name {
  margin: 0;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-size: clamp(3rem, 8.8vw, 6.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #f7fbff;
  text-shadow: 0 6px 26px rgba(4, 15, 31, 0.45);
}

.hero-brand-lead {
  margin: 0.8rem auto 0;
  max-width: 34ch;
  font-size: clamp(0.98rem, 1.8vw, 1.18rem);
  color: rgba(241, 248, 255, 0.9);
}

.hero-actions-centered {
  justify-content: center;
  margin-top: 1.25rem;
}

.hero-actions-centered .btn-secondary {
  border-color: rgba(241, 247, 255, 0.62);
  background: rgba(252, 255, 255, 0.2);
  color: #eff6ff;
}

.hero-actions-centered .btn-secondary:hover,
.hero-actions-centered .btn-secondary:focus-visible {
  background: rgba(252, 255, 255, 0.34);
  border-color: rgba(255, 255, 255, 0.86);
}

.hero-stats-centered {
  margin-inline: auto;
  margin-top: 1.45rem;
}

.hero-brand-block .stat-card {
  background: rgba(9, 26, 50, 0.48);
  border-color: rgba(206, 222, 247, 0.34);
}

.hero-brand-block .stat-value {
  color: #edf4ff;
}

.hero-brand-block .stat-label {
  color: rgba(230, 239, 255, 0.86);
}

.hero-trust {
  padding: 0.8rem 0 1.8rem;
}

.hero-trust .hero-panel {
  max-width: min(38rem, 100%);
  margin-left: auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 58, 120, 0.2);
  background: rgba(255, 255, 255, 0.72);
  font-family: 'Outfit', sans-serif;
  color: var(--primary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title {
  margin-top: 1.4rem;
  font-size: clamp(2.2rem, 5.2vw, 4.2rem);
  line-height: 1.15;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  max-width: 14ch;
}

.hero-title .hero-line-gap {
  opacity: 0;
  transform: translate3d(0, 14px, 0);
  filter: blur(4px);
}

[data-reveal].is-visible .hero-title .hero-line-gap {
  animation: heroLineIn 0.74s cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-reveal].is-visible .hero-title .hero-line-gap:nth-of-type(1) {
  animation-delay: 0.02s;
}

[data-reveal].is-visible .hero-title .hero-line-gap:nth-of-type(2) {
  animation-delay: 0.14s;
}

[data-reveal].is-visible .hero-title .hero-line-gap:nth-of-type(3) {
  animation-delay: 0.26s;
}

[data-reveal].is-visible .hero-title .hero-line-gap:nth-of-type(4) {
  animation-delay: 0.38s;
}

.hero-title .accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.hero-title .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.12em;
  background: rgba(17, 139, 136, 0.34);
  transform: scaleX(0);
  transform-origin: left center;
}

[data-reveal].is-visible .hero-title .accent::after {
  animation: heroUnderlineIn 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.56s both;
}

.hero-line-gap {
  display: block;
}

.hero-line-gap-before {
  margin-top: 0.18em;
}

.hero-line-gap-spaced {
  margin-top: 0.18em;
}

@keyframes heroLineIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

@keyframes heroUnderlineIn {
  0% {
    transform: scaleX(0);
    opacity: 0.3;
  }
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
}

.hero-copy {
  margin-top: 1.2rem;
  color: var(--muted);
  max-width: 43ch;
  font-size: 1.02rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-stats {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  max-width: 34rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.93);
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  backdrop-filter: blur(8px);
}

.stat-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.stat-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-panel {
  background: linear-gradient(170deg, rgba(13, 37, 73, 0.93) 0%, rgba(19, 74, 127, 0.9) 100%);
  color: #eff5ff;
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.8vw, 2.05rem);
  border: 1px solid rgba(210, 226, 255, 0.22);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: '';
  position: absolute;
  width: 12rem;
  height: 12rem;
  top: -5.8rem;
  right: -4.7rem;
  background: radial-gradient(circle, rgba(23, 195, 191, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.hero-panel h2 {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hero-point {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(237, 244, 255, 0.2);
}

.hero-point:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.hero-point strong {
  display: block;
  font-size: 0.93rem;
  margin-bottom: 0.2rem;
}

.hero-point span {
  font-size: 0.84rem;
  color: rgba(236, 242, 255, 0.84);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(236, 244, 255, 0.34);
  color: rgba(248, 252, 255, 0.88);
}

.grid {
  display: grid;
  gap: 1rem;
}

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

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

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: 0 10px 24px rgba(15, 33, 63, 0.09);
  backdrop-filter: blur(8px);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(13, 31, 60, 0.13);
  border-color: rgba(17, 139, 136, 0.25);
}

.card-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 58, 120, 0.08);
  color: var(--primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.05rem;
  margin-top: 0.75rem;
  line-height: 1.45;
}

.card p {
  color: var(--muted);
  margin-top: 0.55rem;
  font-size: 0.92rem;
}

.strengths-grid .card {
  padding: 1.25rem 1.2rem 1.15rem;
}

.strength-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.78rem;
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #4f7aba);
  margin-bottom: 0.85rem;
}

.service-card ul,
.feature-list,
.bullet-list {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.4rem;
}

.service-card li,
.feature-list li,
.bullet-list li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.service-card li::before,
.feature-list li::before,
.bullet-list li::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.55rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.work-card {
  padding: 0;
  overflow: hidden;
}

.work-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(17, 139, 136, 0.25) 0%, rgba(15, 58, 120, 0.28) 55%, rgba(217, 142, 47, 0.22) 100%);
  border-bottom: 1px solid rgba(15, 32, 64, 0.09);
  padding: 1rem;
  display: flex;
  align-items: flex-end;
}

.work-thumb span {
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #fff;
  font-size: 0.72rem;
  backdrop-filter: blur(4px);
  letter-spacing: 0.04em;
}

.work-body {
  padding: 1.1rem 1.15rem 1.2rem;
}

.work-title {
  font-size: 1.03rem;
  line-height: 1.45;
  margin-top: 0.2rem;
}

.work-meta {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.meta-chip {
  font-size: 0.73rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
}

.work-note {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.band-panel {
  position: relative;
  background: linear-gradient(132deg, rgba(11, 35, 70, 0.92) 0%, rgba(20, 80, 138, 0.88) 100%);
  color: #f2f6ff;
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.band-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 0%, rgba(17, 139, 136, 0.36) 0%, transparent 45%);
  pointer-events: none;
}

.band-panel h3 {
  position: relative;
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.45;
}

.band-panel p {
  margin-top: 0.95rem;
  color: rgba(240, 246, 255, 0.88);
  max-width: 56ch;
}

.band-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.pricing-lead-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.2rem;
  align-items: center;
}

.price-guides {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.95rem;
}

.price-chip {
  border-radius: 999px;
  border: 1px solid rgba(235, 245, 255, 0.34);
  padding: 0.3rem 0.74rem;
  font-size: 0.76rem;
  color: rgba(242, 248, 255, 0.9);
}

.site-footer {
  padding: 3.6rem 0 2rem;
}

.footer-shell {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.25fr 1fr;
}

.footer-about p {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 44ch;
  font-size: 0.9rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--muted);
  transition: color 0.22s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 0.8rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-hero {
  padding: clamp(3.6rem, 7vw, 5.8rem) 0 clamp(2.2rem, 6vw, 3.6rem);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: center;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 58, 120, 0.09);
  color: var(--primary);
  font-size: 0.76rem;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-title {
  margin-top: 1rem;
  font-size: clamp(1.95rem, 4vw, 3.2rem);
  line-height: 1.25;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
}

.page-lead {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 44ch;
}

.page-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: 0 12px 26px rgba(15, 35, 66, 0.1);
}

.page-panel h2 {
  font-size: 1.05rem;
}

.page-panel p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
}

.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 1rem 1.05rem;
}

.timeline-item strong {
  font-size: 0.95rem;
  color: var(--primary-deep);
}

.timeline-item p {
  margin-top: 0.38rem;
  font-size: 0.87rem;
  color: var(--muted);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.plan-card {
  position: relative;
}

.plan-price {
  margin-top: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: 'Outfit', sans-serif;
}

.plan-price strong {
  font-size: 1.7rem;
  line-height: 1;
}

.plan-price span {
  font-size: 0.85rem;
  color: var(--muted);
}

.plan-tag {
  display: inline-flex;
  margin-top: 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  padding: 0.26rem 0.58rem;
  background: rgba(17, 139, 136, 0.12);
  color: var(--accent);
}

.plan-card.is-featured {
  border-color: rgba(17, 139, 136, 0.34);
  box-shadow: 0 16px 34px rgba(11, 42, 81, 0.15);
}

.pricing-v2 .page-lead {
  max-width: 60ch;
}

.pricing-hero-panel {
  background: linear-gradient(145deg, rgba(15, 58, 120, 0.08), rgba(17, 139, 136, 0.1));
}

.pricing-hero-panel p {
  margin-top: 0.7rem;
}

.pillar-summary-grid {
  margin-top: 0.8rem;
}

.pillar-summary-card {
  border-color: rgba(15, 58, 120, 0.18);
}

.pillar-price {
  margin-top: 0.85rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.plan-detail-stack {
  margin-top: 1.15rem;
  display: grid;
  gap: 1rem;
}

.plan-detail-card {
  padding: clamp(1.2rem, 3vw, 1.75rem);
}

.plan-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.8rem 1rem;
}

.plan-detail-head h3 {
  margin-top: 0.62rem;
  font-size: 1.3rem;
}

.plan-detail-price {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.plan-detail-lead {
  margin-top: 0.85rem;
  color: var(--muted);
  max-width: 72ch;
}

.plan-detail-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.plan-block {
  background: rgba(248, 251, 255, 0.76);
  border: 1px solid rgba(15, 58, 120, 0.14);
  border-radius: 14px;
  padding: 0.95rem 1rem;
}

.plan-block h4 {
  margin: 0;
  font-size: 0.93rem;
  color: var(--primary-deep);
}

.plan-block .feature-list {
  margin-top: 0.6rem;
}

.plan-note {
  background: rgba(17, 139, 136, 0.08);
  border-color: rgba(17, 139, 136, 0.24);
}

.support-menu-grid {
  margin-top: 0.75rem;
}

.support-card {
  padding: 1.25rem;
}

.support-price {
  margin-top: 0.78rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.support-card > p {
  margin-top: 0.5rem;
}

.support-card .plan-block {
  margin-top: 0.8rem;
}

.support-card .plan-block + .plan-block {
  margin-top: 0.65rem;
}

.choose-grid {
  margin-top: 0.6rem;
}

.choose-arrow {
  margin-top: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.faq-accordion {
  margin-top: 0.35rem;
  display: grid;
  gap: 0.8rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-question {
  margin: 0;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 1.02rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-deep);
  cursor: pointer;
  transition: background-color 0.24s ease;
}

.faq-trigger:hover,
.faq-trigger:focus-visible {
  background: rgba(15, 58, 120, 0.06);
}

.faq-panel {
  padding: 0 1.15rem 1.1rem;
}

.faq-panel p {
  margin: 0;
  color: var(--muted);
}

.faq-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 1rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-trigger[aria-expanded='true'] .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.option-grid {
  margin-top: 0.65rem;
}

.option-card {
  min-height: 8.5rem;
}

.option-card h3 {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.45;
}

.option-price {
  margin-top: 0.72rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
}

.consult-cta-panel {
  background: linear-gradient(126deg, rgba(8, 30, 62, 0.96) 0%, rgba(9, 74, 132, 0.93) 52%, rgba(17, 139, 136, 0.9) 100%);
  border: 1px solid rgba(185, 228, 255, 0.28);
}

.consult-cta-panel::after {
  content: '';
  position: absolute;
  width: 15rem;
  height: 15rem;
  right: -6rem;
  bottom: -7rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.24) 0%, transparent 72%);
  pointer-events: none;
}

.consult-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(236, 246, 255, 0.3);
  padding: 0.26rem 0.62rem;
  font-size: 0.74rem;
  color: rgba(244, 250, 255, 0.88);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.consult-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
}

.consult-badges span {
  border: 1px solid rgba(236, 245, 255, 0.35);
  color: rgba(243, 248, 255, 0.9);
  border-radius: 999px;
  padding: 0.25rem 0.62rem;
  font-size: 0.76rem;
}

.works-page {
  position: relative;
  isolation: isolate;
  padding-bottom: 2rem;
}

.works-page.is-anchor-transitioning .works-list,
.works-page.is-anchor-transitioning .works-sidebar {
  opacity: 0.62;
  transform: translate3d(0, 8px, 0);
}

.works-page .works-list,
.works-page .works-sidebar {
  transition: opacity 0.36s ease, transform 0.36s ease;
}

.works-page a.is-anchor-active {
  opacity: 0.72;
}

#works-list.is-anchor-targeted {
  animation: worksAnchorFocus 0.7s ease;
}

@keyframes worksAnchorFocus {
  0% {
    transform: translate3d(0, 16px, 0);
    opacity: 0.54;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

.works-fx-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

.works-page.is-page-leaving-local .works-fx-canvas,
body.is-page-leaving .works-fx-canvas {
  opacity: 0.86;
  transition: opacity 0.38s ease;
}

.works-page > section {
  position: relative;
  z-index: 1;
}

.works-scroll-meter {
  position: fixed;
  top: 26vh;
  right: clamp(0.65rem, 2vw, 1.2rem);
  width: 2px;
  height: 45vh;
  border-radius: 999px;
  background: rgba(11, 43, 86, 0.16);
  overflow: hidden;
  pointer-events: none;
  z-index: 65;
}

.works-scroll-meter span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
  transform: scaleY(0);
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
}

.works-cinema-hero {
  position: relative;
  padding: clamp(3.2rem, 7vw, 5.4rem) 0 clamp(2.4rem, 5vw, 3.4rem);
  overflow: hidden;
}

.works-cinema-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 12%, rgba(17, 139, 136, 0.2) 0%, transparent 38%),
    radial-gradient(circle at 12% 5%, rgba(15, 58, 120, 0.1) 0%, transparent 34%);
  pointer-events: none;
}

.works-cinema-hero::after {
  content: '';
  position: absolute;
  inset: -12% -6%;
  background: linear-gradient(110deg, rgba(8, 28, 55, 0.12) 0%, rgba(21, 77, 130, 0.04) 48%, rgba(17, 139, 136, 0.15) 100%),
    url('../images/works-hero-bg-20260415.png') center / cover no-repeat;
  opacity: 0.16;
  filter: saturate(0.82) contrast(1.08);
  transform: translate3d(0, calc(var(--parallax-y, 0px) * -0.2), 0) scale(1.06);
  transition: transform 0.2s linear;
  pointer-events: none;
}

.works-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: end;
  gap: clamp(1.25rem, 3vw, 2.2rem);
}

.works-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--primary);
}

.works-kicker::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.works-title {
  margin-top: 0.9rem;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  letter-spacing: 0.03em;
  line-height: 1.08;
  color: var(--primary-deep);
}

.works-lead {
  margin-top: 1.2rem;
  max-width: 58ch;
  color: var(--muted);
}

.works-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.68rem;
}

.works-hero-note {
  background: linear-gradient(158deg, rgba(9, 29, 58, 0.94) 0%, rgba(19, 78, 136, 0.9) 100%);
  border: 1px solid rgba(183, 221, 255, 0.25);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(9, 27, 53, 0.24);
  color: rgba(241, 248, 255, 0.96);
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
}

.works-hero-note h2 {
  font-size: 1.2rem;
  line-height: 1.45;
}

.works-hero-note p {
  margin-top: 0.75rem;
  color: rgba(239, 247, 255, 0.86);
  font-size: 0.9rem;
}

.works-chip-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.works-chip-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid rgba(224, 239, 255, 0.38);
  padding: 0.24rem 0.62rem;
  font-size: 0.74rem;
  color: rgba(241, 248, 255, 0.9);
}

.works-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: clamp(1rem, 2.8vw, 1.8rem);
}

.works-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 1.35rem);
  align-self: start;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(15, 33, 63, 0.1);
  backdrop-filter: blur(10px);
  padding: 1rem;
}

.works-sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--primary);
}

.works-sidebar ul {
  margin-top: 0.78rem;
  display: grid;
  gap: 0.42rem;
}

.works-sidebar li {
  font-size: 0.86rem;
  color: var(--muted);
  padding-left: 0.9rem;
  position: relative;
}

.works-sidebar li::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.56rem;
  background: linear-gradient(135deg, var(--accent), var(--primary));
}

.works-sidebar-note {
  margin-top: 0.85rem;
  padding-top: 0.78rem;
  border-top: 1px solid rgba(15, 58, 120, 0.14);
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

.works-list {
  position: relative;
  isolation: isolate;
  border-top: 1px solid rgba(15, 58, 120, 0.2);
}

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.95rem;
  padding: clamp(1rem, 2.2vw, 1.35rem) 0.35rem;
  border-bottom: 1px solid rgba(15, 58, 120, 0.14);
  transition: background-color 0.28s ease, transform 0.28s ease;
}

.works-page .work-row {
  isolation: isolate;
  cursor: default;
}

.work-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 139, 136, 0.06), rgba(15, 58, 120, 0.03));
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
}

.works-page .work-row::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  transition: width 0.42s ease;
  pointer-events: none;
}

.work-row:hover::before,
.work-row:focus-within::before {
  opacity: 1;
}

.works-page .work-row:hover::after,
.works-page .work-row:focus-within::after,
.works-page .work-row.is-current::after {
  width: 100%;
}

.work-row:hover,
.work-row:focus-within {
  transform: translateX(5px);
}

.work-row-index {
  position: relative;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: rgba(15, 58, 120, 0.68);
}

.work-row-main {
  position: relative;
  z-index: 1;
}

.work-row-cat {
  font-size: 0.77rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
}

.work-row-main h3 {
  margin-top: 0.38rem;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.4;
  transition: letter-spacing 0.28s ease, color 0.28s ease;
}

.work-row-desc {
  margin-top: 0.46rem;
  color: var(--muted);
  font-size: 0.89rem;
  transition: color 0.28s ease;
}

.works-page .work-row:hover .work-row-main h3,
.works-page .work-row:focus-within .work-row-main h3,
.works-page .work-row.is-current .work-row-main h3 {
  color: #0e356f;
  letter-spacing: 0.01em;
}

.works-page .work-row:hover .work-row-desc,
.works-page .work-row:focus-within .work-row-desc,
.works-page .work-row.is-current .work-row-desc {
  color: #47577a;
}

.work-row-side {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.work-row-year {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  color: rgba(15, 58, 120, 0.7);
}

.work-row-arrow {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(15, 58, 120, 0.24);
  color: var(--primary);
  font-size: 1rem;
  transform: translateX(0);
  transition: transform 0.28s ease, background-color 0.28s ease, border-color 0.28s ease;
}

.work-row:hover .work-row-arrow,
.work-row:focus-within .work-row-arrow {
  transform: translateX(4px);
  background: rgba(15, 58, 120, 0.08);
  border-color: rgba(15, 58, 120, 0.38);
}

.works-hover-preview {
  position: fixed;
  left: 0;
  top: 0;
  width: min(34vw, 460px);
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  --preview-x: 75vw;
  --preview-y: 50vh;
  --preview-scale: 0.92;
  --preview-tone: 0.42;
  transform: translate3d(calc(var(--preview-x) - 50%), calc(var(--preview-y) - 50%), 0) scale(var(--preview-scale));
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 25px 46px rgba(6, 18, 38, 0.34);
  border: 1px solid rgba(220, 236, 255, 0.45);
  background: #0c274d;
}

.works-hover-preview.is-active {
  opacity: 1;
  --preview-scale: 1;
}

.works-hover-preview-media {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat;
  transform: scale(1.02);
}

.works-hover-preview-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    150deg,
    rgba(7, 25, 52, calc(var(--preview-tone) + 0.16)) 0%,
    rgba(8, 29, 59, calc(var(--preview-tone) + 0.04)) 46%,
    rgba(17, 139, 136, 0.22) 100%
  );
}

.works-hover-preview-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 86%, rgba(255, 255, 255, 0.24) 0%, transparent 34%);
}

.works-hover-preview-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.95rem;
  color: #f4f8ff;
}

.works-hover-preview-index {
  display: inline-flex;
  align-items: center;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.11em;
  padding: 0.24rem 0.56rem;
  border-radius: 999px;
  background: rgba(10, 34, 67, 0.46);
  border: 1px solid rgba(228, 240, 255, 0.42);
}

.works-hover-preview-title {
  margin-top: 0.55rem;
  font-size: 1.05rem;
  line-height: 1.45;
  text-shadow: 0 6px 14px rgba(9, 18, 34, 0.35);
}

.works-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.8vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.92);
  background: linear-gradient(128deg, rgba(11, 34, 67, 0.95) 0%, rgba(22, 83, 142, 0.9) 56%, rgba(17, 139, 136, 0.82) 100%);
  box-shadow: var(--shadow);
}

.works-cta::after {
  content: '';
  position: absolute;
  width: 16rem;
  height: 16rem;
  right: -6rem;
  top: -8rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 72%);
  pointer-events: none;
}

.works-cta h2 {
  position: relative;
  color: #f5f9ff;
  font-size: clamp(1.24rem, 2.8vw, 1.82rem);
  line-height: 1.48;
}

.works-cta p {
  position: relative;
  margin-top: 0.8rem;
  color: rgba(241, 248, 255, 0.92);
}

.works-cta .btn-ghost {
  color: #ecf4ff;
  border-color: rgba(230, 242, 255, 0.5);
}

.works-cta .btn-ghost:hover,
.works-cta .btn-ghost:focus-visible {
  background: rgba(239, 247, 255, 0.12);
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.94);
}

.profile-table th,
.profile-table td {
  padding: 0.85rem 0.92rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  font-size: 0.88rem;
  vertical-align: top;
}

.profile-table th {
  width: 28%;
  background: rgba(248, 251, 255, 0.8);
  color: var(--primary);
}

.profile-table tr:last-child th,
.profile-table tr:last-child td {
  border-bottom: 0;
}

.quote-block {
  background: linear-gradient(140deg, rgba(15, 58, 120, 0.09), rgba(17, 139, 136, 0.1));
  border: 1px solid rgba(15, 58, 120, 0.12);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.25rem;
}

.quote-block p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.quote-author {
  display: inline-block;
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.company-greeting {
  display: grid;
  gap: clamp(0.95rem, 2.3vw, 1.35rem);
}

.company-greeting-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 238, 255, 0.36);
  padding: clamp(1.2rem, 3vw, 2.3rem);
  background-color: #2a3950;
  box-shadow: 0 18px 40px rgba(7, 23, 47, 0.24);
}

.company-greeting-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
  z-index: 0;
  pointer-events: none;
}

.company-greeting-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 12%, rgba(196, 219, 255, 0.1) 0%, rgba(196, 219, 255, 0) 48%);
  pointer-events: none;
  z-index: 1;
}

.company-greeting-hero::after {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 15%;
  border-bottom: 1px solid rgba(236, 244, 255, 0.44);
  opacity: 0.82;
  transform: rotate(-4deg);
  pointer-events: none;
  z-index: 1;
}

.company-greeting-layout {
  position: relative;
  z-index: 2;
  min-height: clamp(560px, 72vw, 820px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1rem, 2.4vw, 2rem);
  align-items: start;
}

.company-greeting-lead {
  max-width: 22ch;
  padding-top: clamp(0.2rem, 1vw, 0.7rem);
}

.company-greeting-label {
  display: inline-flex;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(242, 248, 255, 0.9);
}

.company-greeting-lead h2 {
  margin-top: 0.65rem;
  color: #f6fbff;
  font-family: 'Outfit', 'Noto Sans JP', sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
  white-space: nowrap;
  text-shadow: 0 12px 28px rgba(5, 16, 33, 0.52);
}

.company-greeting-catch {
  margin-top: 0.7rem;
  color: rgba(244, 250, 255, 0.95);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.44;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.company-greeting-body {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2.3vw, 1.35rem);
  box-shadow: 0 12px 28px rgba(14, 34, 65, 0.1);
}

.company-greeting-copy {
  margin-top: 0;
  display: grid;
  gap: 0.9rem;
}

.company-greeting-copy p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.88;
}

.company-greeting-signature {
  margin-top: 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 1.8rem);
  box-shadow: 0 13px 28px rgba(14, 34, 65, 0.09);
}

.form-row {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 0.95rem;
}

.form-row.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 0.36rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 0.72rem;
  padding: 0.72rem 0.78rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.88);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(17, 139, 136, 0.16);
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

.required {
  color: #c33f2d;
  margin-left: 0.22rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
}

.note {
  font-size: 0.76rem;
  color: var(--muted);
}

.contact-side {
  display: grid;
  gap: 0.85rem;
}

.info-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.info-card h3 {
  font-size: 0.98rem;
}

.info-card p,
.info-card li {
  margin-top: 0.42rem;
  color: var(--muted);
  font-size: 0.87rem;
}

[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.5s ease, transform 0.55s ease;
  transition-delay: var(--delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1080px) {
  .global-nav {
    gap: 0.12rem;
  }

  .nav-link {
    padding: 0.5rem 0.72rem;
  }

  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .contact-layout,
  .pricing-lead-grid {
    grid-template-columns: 1fr;
  }

  .company-greeting-hero {
    background-color: #2a3950;
  }

  .company-greeting-layout {
    min-height: clamp(420px, 72vw, 560px);
    grid-template-columns: 1fr;
  }

  .company-greeting-bg-image {
    object-position: center 20%;
  }

  .company-greeting-lead {
    max-width: 30ch;
  }

  .hero-panel,
  .page-panel,
  .contact-side {
    max-width: 44rem;
  }

  .hero-trust .hero-panel {
    margin-left: 0;
  }

  .plan-detail-grid {
    grid-template-columns: 1fr;
  }

  .works-scroll-meter,
  .site-fx-canvas,
  .home-fx-canvas,
  .works-fx-canvas,
  .works-hover-preview {
    display: none;
  }

  .works-layout {
    grid-template-columns: 1fr;
  }

  .works-sidebar {
    position: static;
  }
}

@media (max-width: 960px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .view-mode-switch {
    opacity: 0;
    pointer-events: none;
  }

  :root {
    --header-height: 70px;
  }

  .header-shell {
    position: relative;
    z-index: 82;
    border-radius: 18px;
    padding: 0.62rem 0.65rem 0.62rem 0.92rem;
  }

  .nav-toggle {
    display: inline-block;
    position: relative;
    z-index: 84;
  }

  .global-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    margin-inline: 0;
    border-radius: 0;
    padding: calc(var(--header-height) + 1rem) max(1rem, env(safe-area-inset-right))
      calc(max(1rem, env(safe-area-inset-bottom)) + 1.2rem) max(1rem, env(safe-area-inset-left));
    border: 0;
    background: linear-gradient(155deg, rgba(8, 25, 50, 0.95) 0%, rgba(13, 42, 79, 0.93) 55%, rgba(10, 33, 63, 0.97) 100%);
    box-shadow: none;
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.32rem;
    overflow-y: auto;
    z-index: 120;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.28s ease, transform 0.28s ease;
  }

  body.menu-open .global-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.menu-open .header-shell {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.menu-open .brand {
    opacity: 0.2;
    pointer-events: none;
  }

  body.menu-open .nav-toggle {
    position: fixed;
    top: calc(max(0.7rem, env(safe-area-inset-top)));
    right: max(0.8rem, env(safe-area-inset-right));
    z-index: 130;
  }

  .nav-link {
    font-size: 0.93rem;
    padding: 0.72rem 0.94rem;
    color: rgba(236, 245, 255, 0.9);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link:focus-visible,
  .nav-link.is-active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
  }

  .nav-cta {
    margin: 0.34rem 0 0;
  }

  .nav-feature {
    display: block;
    margin-top: 0.75rem;
    padding: 0.98rem;
    border-radius: 16px;
    border: 1px solid rgba(223, 236, 255, 0.26);
    background: linear-gradient(150deg, rgba(17, 54, 99, 0.48) 0%, rgba(14, 89, 142, 0.24) 100%);
  }

  .nav-feature-title {
    color: #f4f9ff;
    font-size: clamp(1.18rem, 4.4vw, 1.62rem);
    line-height: 1.45;
    text-shadow: 0 6px 20px rgba(4, 13, 28, 0.38);
  }

  .nav-feature-copy {
    margin-top: 0.66rem;
    color: rgba(230, 241, 255, 0.92);
    font-size: 0.9rem;
    line-height: 1.72;
  }

  .nav-feature-actions {
    margin-top: 0.9rem;
    gap: 0.62rem;
    flex-wrap: wrap;
  }

  .nav-feature-actions .btn {
    flex: 1 1 220px;
  }

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

  .grid-3,
  .grid-2,
  .plan-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-page::before {
    background-image: linear-gradient(
        166deg,
        rgba(5, 16, 31, 0.66) 0%,
        rgba(9, 30, 58, 0.44) 54%,
        rgba(4, 12, 24, 0.7) 100%
      ),
      url('../images/hero-top-mobile-20260416.png');
    background-size: cover;
    background-position: center 70%;
  }

  .hero-brand-row .hero-brand-logo {
    width: clamp(96px, 24vw, 156px) !important;
    max-width: 156px !important;
  }

  .hero-brand-row {
    gap: clamp(0.62rem, 2vw, 1.1rem);
  }

  .hero-brand-name {
    font-size: clamp(2.4rem, 11.2vw, 4.2rem);
  }

  .hero-brand-lead {
    font-size: 0.94rem;
  }

  .hero-main-copy {
    font-size: clamp(1.42rem, 5.1vw, 2.02rem);
  }

  .hero-word-inner {
    min-height: clamp(320px, 64vw, 560px);
  }

  .hero-kpi-inner {
    min-height: clamp(300px, 56vw, 460px);
  }

  .hero-kpi-line-major {
    font-size: clamp(3.6rem, 13.2vw, 7.8rem);
  }

  .hero-kpi-line-minor {
    font-size: clamp(1.9rem, 5.4vw, 3rem);
  }

  .hero-sub-copy {
    max-width: 60ch;
  }

  .hero-copy-reveal {
    padding-top: clamp(1.7rem, 4.6vw, 2.4rem);
  }

  .home-list-card .bullet-list {
    grid-template-columns: 1fr;
  }

  .option-card {
    min-height: 0;
  }

  .faq-trigger {
    font-size: 0.94rem;
    padding: 0.95rem 0.95rem;
  }

  .faq-panel {
    padding: 0 0.95rem 0.95rem;
  }

  .works-hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .works-cinema-hero::after {
    opacity: 0.11;
  }

  .work-row {
    grid-template-columns: 2.65rem minmax(0, 1fr);
  }

  .work-row-side {
    grid-column: 2 / 3;
    justify-content: flex-start;
    margin-top: 0.35rem;
  }
}

@media (max-width: 680px) {
  body {
    line-height: 1.6;
  }

  .section {
    padding: clamp(3.2rem, 14vw, 4.4rem) 0;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-grid-centered {
    min-height: calc(100vh - var(--header-height) - 1rem);
    min-height: calc(100svh - var(--header-height) - 1rem);
  }

  .hero-brand-row {
    gap: 0.34rem;
  }

  .hero-brand-row .hero-brand-logo {
    width: clamp(52px, 16vw, 80px) !important;
    max-width: 80px !important;
  }

  .home-page::before {
    background-size: cover;
    background-position: center 74%;
  }

  .hero-brand-name {
    font-size: clamp(1.7rem, 11vw, 2.5rem);
    letter-spacing: 0.05em;
  }

  .hero-main-copy {
    font-size: clamp(1.3rem, 7.6vw, 1.75rem);
    margin-top: 0.92rem;
  }

  .company-greeting-hero {
    padding: 0.95rem;
    border-radius: 18px;
  }

  .company-greeting-hero::after {
    bottom: 12%;
    opacity: 0.62;
  }

  .company-greeting-lead h2 {
    font-size: clamp(1.7rem, 10vw, 2.25rem);
  }

  .company-greeting-catch {
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .company-greeting-bg-image {
    object-position: center 14%;
  }

  .company-greeting-body {
    padding: 0.92rem;
  }

  .company-greeting-copy {
    gap: 0.76rem;
  }

  .company-greeting-copy p {
    font-size: 0.86rem;
    line-height: 1.76;
  }

  .hero-word-reveal {
    padding-top: 0.8rem;
    padding-bottom: 2.2rem;
  }

  .hero-word-inner {
    min-height: clamp(250px, 78vw, 420px);
  }

  .hero-word {
    font-size: clamp(3.2rem, 26vw, 6.8rem);
    letter-spacing: 0.01em;
  }

  .hero-word-ai {
    top: clamp(5.8rem, 18.2vw, 8rem);
    left: clamp(2.6rem, 10.8vw, 4.2rem);
    font-size: clamp(4.8rem, 35vw, 10.6rem);
  }

  .hero-word-link {
    inset: 0;
    width: auto;
    height: auto;
  }

  .hero-word-link-stroke {
    top: 50%;
    left: 50%;
    width: clamp(360px, 118vw, 720px);
    height: clamp(26px, 8vw, 44px);
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(var(--stroke-rotation)) scaleX(var(--stroke-scale));
  }

  .hero-word-link-stroke-1 {
    left: 50%;
    right: auto;
    --stroke-origin: center center;
  }

  .hero-word-link-stroke-2 {
    left: 50%;
    right: auto;
    --stroke-origin: center center;
  }

  .hero-word-web {
    right: 0;
    bottom: 0;
  }

  .hero-kpi-reveal {
    padding-top: 0.65rem;
    padding-bottom: 2.4rem;
  }

  .hero-kpi-inner {
    min-height: clamp(230px, 72vw, 360px);
    gap: clamp(0.35rem, 1.5vw, 0.8rem);
  }

  .hero-kpi-line-major {
    font-size: clamp(3rem, 17vw, 5.3rem);
  }

  .hero-kpi-line-minor {
    font-size: clamp(1.6rem, 6.4vw, 2.4rem);
  }

  .hero-sub-copy {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.62;
  }

  .hero-copy-reveal {
    padding-top: 1.45rem;
  }

  .hero-title {
    max-width: 11.5ch;
  }

  .hero-actions,
  .band-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4,
  .form-row.cols-2,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .home-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    border-bottom: 0;
  }

  .profile-table tr {
    display: block;
    padding: 0.8rem;
    border-bottom: 1px solid var(--line);
  }

  .profile-table tr:last-child {
    border-bottom: 0;
  }

  .profile-table th {
    padding: 0;
    background: transparent;
  }

  .profile-table td {
    padding: 0.35rem 0 0;
  }

  .plan-detail-head h3 {
    font-size: 1.18rem;
  }

  .plan-detail-price {
    font-size: 1.32rem;
  }

  .consult-badges span {
    width: 100%;
    text-align: center;
  }

  .works-hero-actions,
  .works-cta .band-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .works-title {
    letter-spacing: 0.02em;
  }

  .work-row {
    padding-inline: 0;
    gap: 0.7rem;
  }

  .work-row-main h3 {
    font-size: 1rem;
  }

  .work-row-desc {
    font-size: 0.84rem;
  }
}

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

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

  .home-page.has-hero-brand-motion .hero-brand-block[data-hero-brand='brand'] {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-title .hero-line-gap {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .hero-title .accent::after {
    transform: scaleX(1) !important;
    animation: none !important;
  }

  .works-cinema-hero::after {
    transform: none !important;
  }

  .works-hover-preview,
  .site-fx-canvas,
  .home-fx-canvas,
  .works-scroll-meter,
  .works-fx-canvas {
    display: none !important;
  }

  .page-transition-overlay {
    display: none !important;
  }

  body.is-page-leaving main,
  body.is-page-leaving .site-header,
  body.is-page-leaving .site-footer {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
