@charset "UTF-8";
/* ============================================================
   株式会社ENISHI - Corporate Website Stylesheet
   "Turning Point In Life"
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & ROOT
   ============================================================ */
:root {
  /* ── Color Palette ── */
  --primary: #66dade;
  --primary-dark: #4cc0c4;
  --primary-deep: #1b6b6b;
  --primary-deeper: #0f4a4a;
  --primary-light: #a8eef0;
  --primary-pale: #d8f5f6;
  --primary-bg: #eef9fa;

  --accent: #e8c840;
  --accent-dark: #c9a820;
  --accent-light: #f5e88a;

  --dark: #0a1a1a;
  --dark-medium: #162828;
  --dark-soft: #1e3636;

  --text-primary: #1a2e2e;
  --text-secondary: #4a6464;
  --text-light: #7a9494;
  --text-white: #f0fafa;
  --text-white-muted: rgba(240, 250, 250, 0.7);

  --border: #c8dede;
  --border-light: #e0eded;

  --bg-white: #ffffff;
  --bg-light: #f5fafa;
  --bg-section: #eaf4f4;
  --bg-dark: #0d1e1e;
  --bg-dark-soft: #142a2a;

  --shadow-sm: 0 2px 8px rgba(26, 107, 107, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 107, 107, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 107, 107, 0.16);
  --shadow-xl: 0 16px 64px rgba(26, 107, 107, 0.2);
  --shadow-accent: 0 4px 20px rgba(232, 200, 64, 0.3);

  /* ── Typography ── */
  --font-ja: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'メイリオ', Meiryo, sans-serif;
  --font-en: 'Outfit', 'Inter', sans-serif;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;

  --fs-hero: clamp(3rem, 8vw, 6rem);
  --fs-hero-sub: clamp(1rem, 2.5vw, 1.5rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.2rem, 2vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.2vw, 1.05rem);
  --fs-small: clamp(0.8rem, 1vw, 0.875rem);
  --fs-caption: 0.75rem;

  --lh-body: 1.85;
  --lh-heading: 1.3;

  --ls-wide: 0.15em;
  --ls-wider: 0.25em;
  --ls-widest: 0.4em;

  /* ── Spacing ── */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;
  --space-3xl: 12rem;

  /* ── Layout ── */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-wide: 1400px;
  --header-height: 80px;
  --header-height-scrolled: 64px;

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 600ms;
  --duration-slower: 800ms;

  /* ── Border Radius ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-ja);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background-color: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body.loading {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  font-size: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--primary);
  color: var(--bg-white);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: var(--lh-heading);
  color: var(--text-primary);
}

.font-en {
  font-family: var(--font-en);
}

.font-display {
  font-family: var(--font-display);
}

.section-label {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-sm);
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  margin-bottom: var(--space-md);
  position: relative;
}

.section-title .en {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 300;
  font-style: italic;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 640px;
  line-height: var(--lh-body);
}

/* ============================================================
   4. LOADING ANIMATION
   ============================================================ */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  animation: loaderFadeIn 0.8s var(--ease-out) 0.3s forwards;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--primary);
  letter-spacing: 0.1em;
  opacity: 0;
  transform: translateY(20px);
  animation: loaderFadeIn 0.8s var(--ease-out) 0.3s forwards;
}

.loader-tagline {
  font-family: var(--font-ja);
  font-size: var(--fs-small);
  color: var(--text-white-muted);
  letter-spacing: var(--ls-wider);
  margin-top: 16px;
  opacity: 0;
  transform: translateY(10px);
  animation: loaderFadeIn 0.6s var(--ease-out) 0.8s forwards;
}

.loader-line {
  width: 80px;
  height: 1px;
  background: var(--primary-deep);
  margin-top: 32px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeIn 0.4s var(--ease-out) 1s forwards;
}

.loader-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: loaderProgress 1.5s var(--ease-in-out) 1.2s forwards;
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderProgress {
  to {
    left: 0;
  }
}

/* ============================================================
   5. (REMOVED - Custom cursor disabled)
   ============================================================ */

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  align-items: center;
}

.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 26, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  height: var(--header-height-scrolled);
}

.header.scrolled::before {
  background: rgba(10, 26, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(102, 218, 222, 0.1);
}

.header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo-img {
  height: 42px;
  width: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(232, 200, 64, 0.2);
  transition: border-color var(--duration-fast);
}

.header-logo:hover .header-logo-img {
  border-color: rgba(232, 200, 64, 0.5);
}

.header-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--bg-white);
  letter-spacing: 0.1em;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-desktop .nav-link {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--text-white-muted);
  padding: 8px 20px;
  position: relative;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-desktop .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-desktop .nav-link:hover {
  color: var(--bg-white);
}

.nav-desktop .nav-link:hover::after {
  width: calc(100% - 40px);
}

.nav-cta {
  font-family: var(--font-ja);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--dark) !important;
  background: var(--accent);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-left: 16px;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--bg-white);
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 26, 26, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-slow) var(--ease-out);
}

.nav-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.nav-mobile-list .nav-link {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--text-white-muted);
  padding: 12px 24px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out),
              color var(--duration-fast);
}

.nav-mobile-overlay.active .nav-link {
  opacity: 1;
  transform: translateY(0);
}

.nav-mobile-overlay.active .nav-link:nth-child(1) { transition-delay: 0.1s; }
.nav-mobile-overlay.active .nav-link:nth-child(2) { transition-delay: 0.15s; }
.nav-mobile-overlay.active .nav-link:nth-child(3) { transition-delay: 0.2s; }
.nav-mobile-overlay.active .nav-link:nth-child(4) { transition-delay: 0.25s; }
.nav-mobile-overlay.active .nav-link:nth-child(5) { transition-delay: 0.3s; }
.nav-mobile-overlay.active .nav-link:nth-child(6) { transition-delay: 0.35s; }
.nav-mobile-overlay.active .nav-link:nth-child(7) { transition-delay: 0.4s; }

.nav-mobile-list .nav-link:hover {
  color: var(--primary);
}

.nav-mobile-cta {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-mobile-overlay.active .nav-mobile-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.45s;
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #060e12;
}

/* ── Background image ── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  animation: heroKenBurns 25s var(--ease-in-out) forwards;
}

@keyframes heroKenBurns {
  0%   { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Color overlay — teal tint blends with the sky */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8, 22, 28, 0.40) 0%,
      rgba(12, 40, 48, 0.28) 25%,
      rgba(10, 35, 42, 0.22) 45%,
      rgba(10, 30, 35, 0.35) 65%,
      rgba(10, 22, 26, 0.65) 85%,
      rgba(8, 16, 20, 0.82) 100%
    );
  z-index: 1;
}

/* ── Noise texture ── */
.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ── Vignette ── */
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 48%, transparent 0%, rgba(8, 16, 20, 0.45) 100%);
}

/* ── Flashy animated effects ── */

/* Grid overlay */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  animation: heroFadeUp 1s ease-out 2s forwards;
  background-image:
    linear-gradient(0deg, rgba(102, 218, 222, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 218, 222, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, black 0%, transparent 70%);
}

/* Pulse rings from center */
.hero-pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(102, 218, 222, 0.15);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.hero-pulse-ring-1 {
  width: 200px;
  height: 200px;
  animation: heroPulseExpand 4s ease-out 3s infinite;
}

.hero-pulse-ring-2 {
  width: 200px;
  height: 200px;
  animation: heroPulseExpand 4s ease-out 3.8s infinite;
}

.hero-pulse-ring-3 {
  width: 200px;
  height: 200px;
  animation: heroPulseExpand 4s ease-out 4.6s infinite;
}

@keyframes heroPulseExpand {
  0% {
    width: 100px;
    height: 100px;
    opacity: 0.6;
  }
  100% {
    width: 800px;
    height: 800px;
    opacity: 0;
  }
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  animation: heroParticleFloat var(--d) ease-in-out var(--s) infinite;
}

.hero-particle:nth-child(odd) {
  width: 3px;
  height: 3px;
  background: var(--accent);
}

.hero-particle:nth-child(3n) {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 10px rgba(102, 218, 222, 0.5);
}

@keyframes heroParticleFloat {
  0%, 100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }
  10% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.4;
    transform: translateY(-80px) scale(1);
  }
  90% {
    opacity: 0.7;
  }
}

/* ── Large side animations to fill empty space ── */
.hero-side-anim {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  animation: heroFadeUp 1s ease-out 3s forwards;
}

.hero-side-anim-left {
  left: 0;
  padding-left: 20px;
  align-items: flex-start;
}

.hero-side-anim-right {
  right: 0;
  padding-right: 20px;
  align-items: flex-end;
}

/* Animated vertical bar */
.hero-side-bar {
  width: 2px;
  height: 180px;
  background: linear-gradient(180deg, transparent, var(--primary), transparent);
  position: relative;
  overflow: hidden;
}

.hero-side-bar::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.8), transparent);
  animation: heroBarShine 3s ease-in-out 4s infinite;
}

@keyframes heroBarShine {
  0% { top: -100%; }
  50% { top: 200%; }
  100% { top: 200%; }
}

/* Animated dot grid */
.hero-side-dots-grid {
  display: grid;
  grid-template-columns: repeat(5, 6px);
  grid-template-rows: repeat(4, 6px);
  gap: 8px;
}

.hero-side-dots-grid span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.2;
  animation: heroDotGridPulse 2s ease-in-out infinite;
}

.hero-side-dots-grid span:nth-child(1) { animation-delay: 0s; }
.hero-side-dots-grid span:nth-child(2) { animation-delay: 0.1s; }
.hero-side-dots-grid span:nth-child(3) { animation-delay: 0.2s; }
.hero-side-dots-grid span:nth-child(4) { animation-delay: 0.3s; }
.hero-side-dots-grid span:nth-child(5) { animation-delay: 0.4s; }
.hero-side-dots-grid span:nth-child(6) { animation-delay: 0.15s; }
.hero-side-dots-grid span:nth-child(7) { animation-delay: 0.25s; }
.hero-side-dots-grid span:nth-child(8) { animation-delay: 0.35s; }
.hero-side-dots-grid span:nth-child(9) { animation-delay: 0.45s; }
.hero-side-dots-grid span:nth-child(10) { animation-delay: 0.55s; }
.hero-side-dots-grid span:nth-child(11) { animation-delay: 0.3s; }
.hero-side-dots-grid span:nth-child(12) { animation-delay: 0.4s; }
.hero-side-dots-grid span:nth-child(13) { animation-delay: 0.5s; }
.hero-side-dots-grid span:nth-child(14) { animation-delay: 0.6s; }
.hero-side-dots-grid span:nth-child(15) { animation-delay: 0.7s; }
.hero-side-dots-grid span:nth-child(16) { animation-delay: 0.45s; }
.hero-side-dots-grid span:nth-child(17) { animation-delay: 0.55s; }
.hero-side-dots-grid span:nth-child(18) { animation-delay: 0.65s; }
.hero-side-dots-grid span:nth-child(19) { animation-delay: 0.75s; }
.hero-side-dots-grid span:nth-child(20) { animation-delay: 0.85s; }

@keyframes heroDotGridPulse {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.8);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
    box-shadow: 0 0 6px rgba(102, 218, 222, 0.5);
  }
}

/* Animated horizontal line */
.hero-side-line-anim {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  position: relative;
  overflow: hidden;
}

.hero-side-anim-right .hero-side-line-anim {
  background: linear-gradient(90deg, transparent, var(--primary));
}

.hero-side-line-anim::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: rgba(255,255,255,0.6);
  animation: heroLineShine 2.5s ease-in-out 4.5s infinite;
}

.hero-side-anim-right .hero-side-line-anim::after {
  left: auto;
  right: -100%;
  animation-name: heroLineShineRight;
}

@keyframes heroLineShine {
  0% { left: -100%; }
  50% { left: 200%; }
  100% { left: 200%; }
}

@keyframes heroLineShineRight {
  0% { right: -100%; }
  50% { right: 200%; }
  100% { right: 200%; }
}

@media (max-width: 768px) {
  .hero-side-anim { display: none; }
}

/* ── Side decorations ── */
.hero-side {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  animation: heroFadeUp 0.8s var(--ease-out) 3.8s forwards;
}

.hero-side-left  { left: 32px; }
.hero-side-right { right: 32px; }

.hero-side-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, rgba(102, 218, 222, 0.4), transparent);
}

.hero-side-label {
  font-family: var(--font-en);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(240, 250, 250, 0.35);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

/* Dot particles along hero sides */
.hero-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  animation: heroDotPulse 3s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.35s + 4s);
}

.hero-dot:nth-child(odd) {
  width: 3px;
  height: 3px;
  background: var(--accent);
}

.hero-dot:nth-child(3n) {
  width: 5px;
  height: 5px;
  box-shadow: 0 0 8px rgba(102, 218, 222, 0.5);
}

@keyframes heroDotPulse {
  0%, 100% {
    opacity: 0.15;
    transform: scale(0.6);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

/* ── Floating geometric accents ── */
.hero-geo {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  animation: heroGeoIn 1.2s var(--ease-out) forwards;
}

.hero-geo-1 {
  width: 200px;
  height: 200px;
  top: 15%;
  left: 8%;
  border: 1px solid rgba(102, 218, 222, 0.12);
  animation-delay: 3.4s;
  animation-name: heroGeoIn, heroFloat;
  animation-duration: 1.2s, 8s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-delay: 3.4s, 4.6s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.hero-geo-2 {
  width: 120px;
  height: 120px;
  bottom: 20%;
  right: 6%;
  border: 1px solid rgba(232, 200, 64, 0.10);
  animation-delay: 3.6s;
  animation-name: heroGeoIn, heroFloat;
  animation-duration: 1.2s, 10s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-delay: 3.6s, 4.8s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.hero-geo-3 {
  width: 8px;
  height: 8px;
  top: 28%;
  right: 15%;
  background: rgba(102, 218, 222, 0.3);
  animation-delay: 3.8s;
  animation-name: heroGeoIn, heroFloat;
  animation-duration: 1s, 6s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-delay: 3.8s, 4.8s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.hero-geo-4 {
  width: 6px;
  height: 6px;
  bottom: 35%;
  left: 18%;
  background: rgba(232, 200, 64, 0.25);
  animation-delay: 4s;
  animation-name: heroGeoIn, heroFloat;
  animation-duration: 1s, 7s;
  animation-timing-function: var(--ease-out), ease-in-out;
  animation-delay: 4s, 5s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

.hero-geo-5 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(102, 218, 222, 0.06);
  animation-delay: 3.2s;
  animation-name: heroGeoIn, heroRotate;
  animation-duration: 1.5s, 40s;
  animation-timing-function: var(--ease-out), linear;
  animation-delay: 3.2s, 4.7s;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: forwards, none;
}

/* ── Corner frames ── */
.hero-corner {
  position: absolute;
  z-index: 3;
  width: 60px;
  height: 60px;
  pointer-events: none;
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out) 4s forwards;
}

.hero-corner-tl {
  top: 48px;
  left: 48px;
  border-top: 1px solid rgba(102, 218, 222, 0.25);
  border-left: 1px solid rgba(102, 218, 222, 0.25);
}

.hero-corner-br {
  bottom: 48px;
  right: 48px;
  border-bottom: 1px solid rgba(102, 218, 222, 0.25);
  border-right: 1px solid rgba(102, 218, 222, 0.25);
}

/* ── Hero content ── */
.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  padding: 0 var(--space-lg);
}

/* Word-by-word staggered animation */
.hero-catchphrase {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 300;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.06em;
  line-height: 1.15;
  margin-bottom: 0;
  text-shadow:
    0 2px 30px rgba(8, 16, 20, 0.6),
    0 0 80px rgba(8, 16, 20, 0.35);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 0.28em;
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(15deg);
  animation: heroWordReveal 0.9s var(--ease-out) forwards;
  animation-delay: calc(2.8s + var(--i) * 0.15s);
}

@keyframes heroWordReveal {
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

/* Divider line between catchphrase & tagline */
.hero-divider {
  width: 0;
  height: 1px;
  margin: 24px auto;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  animation: heroDividerExpand 0.8s var(--ease-out) 3.5s forwards;
}

@keyframes heroDividerExpand {
  to {
    width: 120px;
    opacity: 1;
  }
}

.hero-tagline {
  font-family: var(--font-ja);
  font-size: var(--fs-hero-sub);
  font-weight: 500;
  color: var(--text-white);
  letter-spacing: var(--ls-wider);
  text-shadow:
    0 1px 16px rgba(8, 16, 20, 0.7),
    0 0 50px rgba(8, 16, 20, 0.35);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.8s var(--ease-out) 3.7s forwards;
}

.hero-tagline .highlight {
  color: var(--primary);
  font-weight: 600;
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-out) 4.2s forwards;
}

.hero-scroll-text {
  font-family: var(--font-en);
  font-size: 0.6rem;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: rgba(240, 250, 250, 0.45);
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(240, 250, 250, 0.12);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  animation: scrollLine 2.2s var(--ease-in-out) infinite;
  animation-delay: 4.4s;
}

/* ── Hero keyframes ── */
@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes scrollLine {
  0%     { top: -100%; }
  50%    { top: 100%; }
  50.01% { top: -100%; }
  100%   { top: 100%; }
}

@keyframes heroGeoIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

@keyframes heroRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Hero placeholder (fallback) ── */
.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #1a4a5a 0%, #2a6a7a 25%, #4a9aaa 50%, #6abaca 75%, #8adaea 100%);
  opacity: 0.8;
}

/* Page Hero (inner pages) */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  max-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}

.page-hero .hero-bg {
  opacity: 0.4;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md) var(--space-xl);
}

.page-hero-label {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 300;
  font-style: italic;
  color: var(--bg-white);
  letter-spacing: 0.05em;
}

.page-hero-title-ja {
  font-family: var(--font-ja);
  font-size: var(--fs-h3);
  font-weight: 400;
  color: var(--text-white-muted);
  margin-top: 8px;
}

/* ============================================================
   8. LAYOUT COMPONENTS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.container-wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-2xl) 0;
  position: relative;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-white);
}

.section-dark .section-label {
  color: var(--primary);
}

.section-dark .section-title {
  color: var(--text-white);
}

.section-dark .section-subtitle {
  color: var(--text-white-muted);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ============================================================
   9. BUTTONS & LINKS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ja);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn-outline {
  background: transparent;
  color: var(--primary-deep);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--bg-white);
  border: 1.5px solid rgba(240, 250, 250, 0.4);
}

.btn-outline-white:hover {
  background: rgba(240, 250, 250, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-dark {
  background: var(--dark);
  color: var(--text-white);
}

.btn-dark:hover {
  background: var(--dark-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn .arrow {
  display: inline-block;
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.link-arrow {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  color: var(--primary-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--duration-fast) var(--ease-out);
}

.link-arrow::after {
  content: '→';
  transition: transform var(--duration-fast) var(--ease-out);
}

.link-arrow:hover {
  color: var(--primary);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   10. CARDS
   ============================================================ */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--border-light);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-pale);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-section);
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-section) 0%, var(--primary-pale) 100%);
  color: var(--text-light);
  font-size: var(--fs-small);
}

.card-body {
  padding: var(--space-md);
}

.card-tag {
  font-family: var(--font-en);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--primary-deep);
  background: var(--primary-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
}

.card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.card-desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

.card-meta {
  font-size: var(--fs-caption);
  color: var(--text-light);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Glass Card */
.card-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: all var(--duration-normal) var(--ease-out);
}

.card-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(102, 218, 222, 0.3);
  transform: translateY(-4px);
}

/* Service Card */
.service-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.service-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1;
}

.service-card-body {
  padding: var(--space-md) var(--space-md) calc(var(--space-md) + 8px);
}

.service-card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card-brand {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

/* ============================================================
   11. TOP PAGE - ABOUT PREVIEW (Full-width Split)
   ============================================================ */
.about-preview-full {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #0a0a0a 0%, #141414 30%, #1e1e1e 50%, #2a2a2a 70%, #383838 100%);
}

.about-preview-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-preview-left {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) var(--space-2xl);
  overflow: hidden;
}

.about-preview-logo {
  width: clamp(240px, 24vw, 400px);
  height: clamp(240px, 24vw, 400px);
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
}

.about-preview-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--space-lg) var(--space-xl);
  position: relative;
}

.about-preview-card {
  max-width: 560px;
  position: relative;
  padding: var(--space-lg) 0;
}

.about-preview-card .section-label {
  color: var(--primary);
}

.about-preview-card .section-title {
  color: #fff;
}

.about-preview-card .section-title .en {
  color: rgba(255, 255, 255, 0.3);
}

.about-preview-card .philosophy {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  margin-top: var(--space-md);
  position: relative;
  padding-left: 24px;
  border-left: 3px solid var(--primary);
}

.about-preview-btn {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.about-preview-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}


/* ============================================================
   12. TOP PAGE - SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
  overflow-x: clip;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(102, 218, 222, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(232, 200, 64, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(102, 218, 222, 0.02) 0%, transparent 40%);
  pointer-events: none;
}

.services-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(0deg, rgba(102, 218, 222, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 218, 222, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
  pointer-events: none;
}

.services-section > .container {
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

/* ── Expand Cards (Service) ── */
.expand-cards {
  display: flex;
  flex-wrap: nowrap;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  height: 420px;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
  margin-top: var(--space-lg);
}

.expand-card {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  cursor: pointer;
  transition: flex 0.5s var(--ease-out);
  overflow: hidden;
  position: relative;
  will-change: flex;
}

.expand-card:hover {
  flex: 3;
}

.expand-card a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Placeholder gradient (until real images are added) */
.expand-card-placeholder {
  position: absolute;
  inset: 0;
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
  filter: grayscale(80%) brightness(0.7);
  will-change: transform, filter;
}

.expand-card:hover .expand-card-placeholder {
  transform: scale(1.15);
  filter: grayscale(0%) brightness(1);
}

/* Real image support (replace placeholder with img when ready) */
.expand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
  filter: grayscale(80%) brightness(0.7);
  will-change: transform, filter;
}

.expand-card:hover img {
  transform: scale(1.15);
  filter: grayscale(0%) brightness(1);
}

/* Dark overlay on hover for text readability */
.expand-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 26, 26, 0.7), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out);
  z-index: 1;
  pointer-events: none;
}

.expand-card:hover::after {
  opacity: 1;
}

/* Card number watermark */
.expand-card-number {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  z-index: 2;
  transition: color 0.4s var(--ease-out);
}

.expand-card:hover .expand-card-number {
  color: rgba(102, 218, 222, 0.3);
}

/* Card title badge */
.expand-card-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 26, 26, 0.75);
  color: var(--text-white);
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: var(--ls-wide);
  white-space: nowrap;
  transition: background 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
  z-index: 2;
  border: 1px solid rgba(102, 218, 222, 0.15);
}

.expand-card:hover .expand-card-title {
  background: rgba(255, 255, 255, 0.9);
  color: var(--dark);
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.08);
}

/* Card description - slide up on hover */
.expand-card-desc {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
  padding: 16px 20px;
  color: var(--text-white);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
  background: linear-gradient(to top, rgba(10, 26, 26, 0.9), transparent);
  white-space: normal;
}

.expand-card:hover .expand-card-desc {
  transform: translateY(0);
}

/* Keyboard accessibility */
.expand-card a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.expand-card a:focus-visible .expand-card-placeholder,
.expand-card a:focus-visible img {
  filter: grayscale(0%) brightness(1);
}

/* Responsive: Tablet */
@media (max-width: 768px) {
  .expand-cards {
    height: 360px;
  }

  .expand-card-number {
    font-size: 2.5rem;
  }

  .expand-card-title {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
}

/* Responsive: Mobile - stack vertically */
@media (max-width: 480px) {
  .expand-cards {
    flex-direction: column;
    height: auto;
  }

  .expand-card {
    flex: none;
    width: 100%;
    height: 200px;
  }

  .expand-card:hover {
    flex: none;
  }

  .expand-card::after {
    opacity: 1;
  }

  .expand-card-desc {
    transform: translateY(0);
  }

  .expand-card-placeholder,
  .expand-card img {
    filter: grayscale(0%) brightness(1);
  }
}

/* Touch device support */
@media (max-width: 480px) and (hover: none) {
  .expand-card:active {
    flex: 2;
  }

  .expand-card:active .expand-card-placeholder,
  .expand-card:active img {
    transform: scale(1.08);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .expand-card,
  .expand-card img,
  .expand-card-placeholder,
  .expand-card-title,
  .expand-card-desc,
  .expand-card::after {
    transition: none;
  }
}

/* ============================================================
   13. TOP PAGE - NEWS SECTION
   ============================================================ */
.news-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.news-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(102, 218, 222, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(232, 200, 64, 0.10) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(102, 218, 222, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.news-section::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    radial-gradient(circle, rgba(102, 218, 222, 0.15) 2px, transparent 2px);
  background-size: 30px 30px;
  pointer-events: none;
}

.news-section > .container {
  position: relative;
  z-index: 1;
}

.news-list {
  margin-top: var(--space-lg);
}

.news-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-fast);
}

.news-item:first-child {
  padding-top: 0;
}

.news-item:hover {
  padding-left: 12px;
}

.news-date {
  font-family: var(--font-en);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 100px;
}

.news-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary-deep);
  background: var(--primary-bg);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.news-title {
  font-size: var(--fs-body);
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--duration-fast);
}

.news-item:hover .news-title {
  color: var(--primary-deep);
}

/* ============================================================
   14. TOP PAGE - RECRUIT BANNER
   ============================================================ */
.recruit-banner {
  position: relative;
  padding: var(--space-3xl) 0;
  overflow: hidden;
}

.recruit-banner-bg {
  position: absolute;
  inset: 0;
  background: url('../images/saiyou.png') center top / cover no-repeat;
}

.recruit-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 26, 0.72);
}

.recruit-banner-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(102, 218, 222, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(232, 200, 64, 0.1) 0%, transparent 60%);
}

.recruit-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.recruit-banner-content .section-title {
  color: var(--text-white);
}

.recruit-banner-content p {
  color: var(--text-white-muted);
  max-width: 600px;
  margin: 0 auto var(--space-md);
  line-height: var(--lh-body);
}

/* ============================================================
   15. TOP PAGE - CONTACT SECTION
   ============================================================ */
.contact-section-preview {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.contact-section-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(102, 218, 222, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(232, 200, 64, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(102, 218, 222, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.contact-section-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(45deg, rgba(102, 218, 222, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(102, 218, 222, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(102, 218, 222, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(102, 218, 222, 0.08) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 20px 0, 20px -20px, 0 20px;
  pointer-events: none;
}

.contact-section-preview > .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-card-title {
  font-size: var(--fs-body);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-card-info {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   16. ABOUT PAGE
   ============================================================ */
.company-info {
  margin-top: var(--space-lg);
}

.company-info table {
  width: 100%;
  border-collapse: collapse;
}

.company-info th,
.company-info td {
  padding: 20px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-body);
  vertical-align: top;
}

.company-info th {
  font-weight: 700;
  color: var(--text-primary);
  width: 180px;
  white-space: nowrap;
  background: var(--bg-light);
  border-right: 3px solid var(--primary);
}

.company-info td {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Representative Message */
.message-section {
  background: var(--bg-light);
}

.message-content {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-top: var(--space-lg);
}

.message-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-photo .image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-small);
}

.message-text {
  line-height: 2.2;
  color: var(--text-secondary);
}

.message-text p {
  margin-bottom: var(--space-md);
}

.message-name {
  margin-top: var(--space-lg);
  text-align: right;
}

.message-name .position {
  font-size: var(--fs-small);
  color: var(--text-light);
  margin-bottom: 4px;
}

.message-name .name {
  font-size: var(--fs-h3);
  font-weight: 700;
  color: var(--text-primary);
}

/* Access Section */
.access-section {
  margin-top: var(--space-lg);
}

.access-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.access-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.access-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.access-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-deep);
  font-size: 1rem;
}

.access-detail-text .label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.access-detail-text .value {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   17. SERVICE PAGE
   ============================================================ */

/* Service Navigation Grid */
.service-overview-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.service-overview-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(102, 218, 222, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(232, 200, 64, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.service-nav-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.service-nav-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-nav-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(102, 218, 222, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.service-nav-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.service-nav-card:hover::before {
  opacity: 1;
}

.service-nav-number {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}


.service-nav-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.service-nav-desc {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin: 0;
}

/* Service Page Wide Container */
.service-overview-section > .container,
.service-detail > .container {
  max-width: 1600px;
  padding: 0 var(--space-sm);
}

/* Service Detail Sections */
.service-detail {
  padding: var(--space-xl) 0;
  position: relative;
}

.service-detail-alt {
  background: var(--bg-light);
}

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.service-detail-reverse {
  direction: rtl;
}

.service-detail-reverse > * {
  direction: ltr;
}

.service-detail-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.service-detail:hover .service-detail-image img {
  transform: scale(1.05);
}

.service-detail-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(102, 218, 222, 0.15);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.service-detail-text h3 {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
}

.service-detail-text .brand-name {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--primary-deep);
  margin-bottom: var(--space-xs);
}

.service-lead {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-feature-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(102, 218, 222, 0.15);
  color: var(--primary-deep);
}

.nerissmo-logo-img {
  height: 38px;
  object-fit: contain;
  border-radius: 4px;
  margin-bottom: 16px;
  display: block;
}

.service-detail-text .nerissmo-logo-img {
  height: 44px;
  margin-bottom: 20px;
}

.service-card-body .nerissmo-logo-img {
  height: 30px;
  margin-bottom: 12px;
}

.service-detail-text p {
  color: var(--text-secondary);
  line-height: var(--lh-body);
  margin-bottom: var(--space-md);
}

/* Service CTA Section */
.service-cta-section {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.service-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(102, 218, 222, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Strengths Section */
.strengths-section {
  background: var(--bg-dark);
  color: var(--text-white);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.strength-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.strength-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
}

.strength-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}

.strength-desc {
  font-size: var(--fs-body);
  color: var(--text-white-muted);
  line-height: var(--lh-body);
}

/* ============================================================
   18. CASES PAGE
   ============================================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.case-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-card-header {
  padding: var(--space-md);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
}

.case-card-client {
  font-size: var(--fs-small);
  color: var(--text-light);
  margin-bottom: 4px;
}

.case-card-title {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.case-card-body {
  padding: var(--space-md);
}

.case-card-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--primary-bg);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.case-card-result .result-label {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--primary-deep);
}

.case-card-result .result-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
}

/* Testimonials */
.testimonial {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  position: relative;
  margin-top: var(--space-md);
}

.testimonial::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--primary-pale);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}

.testimonial-text {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 2;
  padding-left: 24px;
  border-left: 3px solid var(--primary);
  margin-bottom: var(--space-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
  font-weight: 700;
}

.testimonial-author-name {
  font-weight: 700;
  font-size: var(--fs-body);
}

.testimonial-author-company {
  font-size: var(--fs-small);
  color: var(--text-light);
}

/* ============================================================
   19. NEWS / COLUMN PAGE
   ============================================================ */
.news-page-list {
  margin-top: var(--space-lg);
}

.news-page-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--duration-fast);
}

.news-page-item:hover {
  background: var(--bg-light);
  padding-left: 16px;
  padding-right: 16px;
  border-radius: var(--radius-md);
}

.news-page-image {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-section);
}

.news-page-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-page-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.news-page-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.5;
}

.news-page-excerpt {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================================
   20. RECRUIT PAGE
   ============================================================ */
.recruit-hero-message {
  text-align: center;
  padding: var(--space-2xl) 0;
}

.recruit-hero-message .catchphrase {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 300;
  font-style: italic;
  color: var(--primary);
  margin-bottom: var(--space-sm);
}

.recruit-hero-message .message {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 2;
}

/* Work Environment */
.work-env-section {
  background: var(--bg-light);
}

.work-env-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.work-env-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.work-env-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.work-env-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--primary-bg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.work-env-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 8px;
}

.work-env-desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

/* Job Listings */
.job-listing {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  margin-bottom: var(--space-md);
}

.job-listing-header {
  padding: var(--space-md);
  background: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.job-listing-header:hover {
  background: var(--primary-bg);
}

.job-listing-title {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.job-listing-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: all var(--duration-fast);
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.job-listing.active .job-listing-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

.job-listing-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.job-listing.active .job-listing-body {
  max-height: 800px;
}

.job-listing-table {
  padding: var(--space-md);
}

.job-listing-table table {
  width: 100%;
  border-collapse: collapse;
}

.job-listing-table th,
.job-listing-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--fs-body);
  vertical-align: top;
}

.job-listing-table th {
  font-weight: 700;
  color: var(--text-primary);
  width: 140px;
  background: var(--bg-light);
}

.job-listing-table td {
  color: var(--text-secondary);
}

/* ============================================================
   21. CONTACT PAGE
   ============================================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-info-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.contact-info-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.contact-info-title {
  font-size: var(--fs-h3);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-info-detail {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-info-detail a {
  color: var(--primary-deep);
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: all var(--duration-fast);
}

.contact-info-detail a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Contact Form */
.contact-form-section {
  background: var(--bg-light);
}

.contact-form {
  max-width: 720px;
  margin: var(--space-lg) auto 0;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-label .required {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bg-white);
  background: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
  vertical-align: middle;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  font-size: var(--fs-body);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  color: var(--text-primary);
  transition: all var(--duration-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(102, 218, 222, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 160px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: var(--space-md);
  margin-bottom: var(--space-md);
}

.form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-md);
}

/* FAQ */
.faq-section {
  margin-top: var(--space-lg);
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--duration-fast);
}

.faq-item:hover {
  border-color: var(--primary-pale);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--text-primary);
  background: var(--bg-white);
  cursor: pointer;
  transition: background var(--duration-fast);
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question .q-mark {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--primary);
  margin-right: 12px;
  font-size: 1.1rem;
}

.faq-question .toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--duration-fast);
  font-size: 0.9rem;
  color: var(--primary-deep);
}

.faq-item.active .faq-question .toggle-icon {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out);
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding: 0 24px 24px 56px;
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: var(--lh-body);
}

.faq-answer-inner .a-mark {
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--accent);
  margin-right: 8px;
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  color: var(--text-white);
  padding: var(--space-2xl) 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
}

.footer-brand {
  padding-right: var(--space-md);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(232, 200, 64, 0.15);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--primary);
  letter-spacing: 0.08em;
}

.footer-brand-desc {
  font-size: var(--fs-small);
  color: var(--text-white-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white-muted);
  font-size: 1rem;
  transition: all var(--duration-fast);
}

.footer-social a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(102, 218, 222, 0.1);
}

.footer-nav-title {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: var(--ls-widest);
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-list a {
  font-size: var(--fs-small);
  color: var(--text-white-muted);
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-list a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--duration-fast);
}

.footer-nav-list a:hover {
  color: var(--text-white);
}

.footer-nav-list a:hover::before {
  width: 12px;
}

.footer-bottom {
  margin-top: var(--space-xl);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copyright {
  font-family: var(--font-en);
  font-size: 0.75rem;
  color: var(--text-white-muted);
  letter-spacing: 0.05em;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.75rem;
  color: var(--text-white-muted);
  transition: color var(--duration-fast);
}

.footer-legal a:hover {
  color: var(--primary);
}

/* Page Top Button */
.page-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.page-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   23. SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ============================================================
   24. BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 16px 0;
  font-size: var(--fs-caption);
  color: var(--text-light);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-list li::after {
  content: '/';
  color: var(--border);
}

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

.breadcrumb-list a {
  color: var(--text-light);
  transition: color var(--duration-fast);
}

.breadcrumb-list a:hover {
  color: var(--primary-deep);
}

/* ============================================================
   25. UTILITIES
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }

/* ============================================================
   26. RESPONSIVE DESIGN
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-side { display: none; }
  .hero-corner { display: none; }

  .hero-geo-1 { width: 140px; height: 140px; }
  .hero-geo-2 { width: 80px; height: 80px; }
  .hero-geo-5 { width: 200px; height: 200px; }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-md);
  }

  .about-preview-split {
    grid-template-columns: 1fr;
  }

  .about-preview-left {
    min-height: 280px;
  }

  .about-preview-right {
    padding: var(--space-lg);
    justify-content: center;
  }

  .about-preview-card {
    max-width: 100%;
    padding: var(--space-lg);
  }

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

  .service-detail-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .service-detail:nth-child(even) .service-detail-inner {
    direction: ltr;
  }

  .message-content {
    grid-template-columns: 200px 1fr;
    gap: var(--space-md);
  }

  .access-info {
    grid-template-columns: 1fr;
  }

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

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

/* Mobile */
@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-2xl: 5rem;
    --space-3xl: 6rem;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .hero-geo { display: none; }
  .hero-noise { display: none; }

  .hero-content { padding: 0 var(--space-sm); }

  .hero-catchphrase {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
    gap: 0 0.2em;
  }

  .hero-divider { margin: 16px auto; }

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

  /* News item - stack vertically on mobile */
  .news-item {
    flex-wrap: wrap;
    gap: var(--space-xs) var(--space-sm);
  }

  .news-title {
    flex-basis: 100%;
  }

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

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

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

  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .work-env-grid {
    grid-template-columns: 1fr;
  }

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

  .service-nav-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xs);
  }

  .service-nav-card {
    padding: var(--space-sm);
  }

  .service-detail-inner,
  .service-detail-reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-detail-number {
    font-size: 2rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .message-content {
    grid-template-columns: 1fr;
  }

  .message-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .about-preview-left {
    min-height: 240px;
  }

  .about-preview-logo {
    width: clamp(160px, 50vw, 240px);
    height: clamp(160px, 50vw, 240px);
  }

  .company-info th {
    width: 120px;
    padding: 14px 12px;
    font-size: var(--fs-small);
  }

  .company-info td {
    padding: 14px 12px;
  }

  .news-page-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .hero-catchphrase {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }

  .page-hero {
    min-height: 280px;
  }

  .page-hero-content {
    padding-bottom: var(--space-lg);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .about-preview-right {
    padding: var(--space-md);
  }

  .about-preview-card {
    padding: var(--space-md);
  }

  .about-preview-card .philosophy {
    font-size: 0.95rem;
    padding-left: 16px;
  }

  .btn {
    width: 100%;
    padding: 16px 24px;
  }

  .contact-form {
    padding: var(--space-md);
  }

  .hero-scroll {
    bottom: 24px;
  }

  /* Service nav: single column on small mobile */
  .service-nav-grid {
    grid-template-columns: 1fr;
  }

  /* Company info table: stack on small mobile */
  .company-info th,
  .company-info td {
    display: block;
    width: 100%;
  }

  .company-info th {
    border-right: none;
    border-bottom: none;
    padding-bottom: 4px;
  }

  .company-info td {
    padding-top: 4px;
  }
}

/* Reduced motion */
@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;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
  }

  .hero-catchphrase,
  .hero-tagline,
  .hero-scroll {
    opacity: 1;
    transform: none;
  }
}

/* Print */
@media print {
  .header,
  .footer,
  .loader,
  .cursor-dot,
  .cursor-ring,
  .page-top,
  .hero-scroll {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section-dark {
    background: #f5f5f5;
    color: #000;
  }
}
