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

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

:root {
  --primary: #0062cc;
  --primary-dark: #004a99;
  --primary-light: #3a8eef;
  --bg-dark: #0a1628;
  --bg-light: #f5f7fa;
  --text-dark: #1a1a2e;
  --text-light: #ffffff;
  --accent: #00a8ff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg-dark);
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--bg-dark);
}

/* ========== PAGE TRANSITION OVERLAY ========== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Fade-in on page load */
body {
  animation: pageEnter 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* ========== SPLASH / LOADING SCREEN ========== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.splash-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.splash-logo {
  width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  animation: splashPulse 2s ease-in-out infinite;
}

@keyframes splashPulse {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.splash-loader {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  overflow: hidden;
}

.splash-loader-bar {
  width: 0%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.splash-enter {
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 4px;
  padding: 12px 48px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease,
              background 0.3s ease, border-color 0.3s ease;
  pointer-events: none;
}

.splash-enter.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.splash-enter:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ========== LANGUAGE TOGGLE (STANDALONE) ========== */
.lang-toggle-fixed {
  position: absolute;
  left: 80px;
  top: 40px;
  z-index: 1001;
  transition: all 0.3s ease;
}

.lang-toggle-fixed .lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.lang-toggle-fixed .lang-circle {
  width: 63px;
  height: 63px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-toggle-fixed .lang-circle img {
  width: 30px;
  height: 30px;
  filter: brightness(0);
  transition: filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.lang-toggle-fixed .lang-label {
  color: #fff;
  font-family: 'Figtree', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* JA state (default): white circle, dark icon */
/* Hover on JA: preview EN style — blue circle, white icon */
.lang-toggle-fixed:not(.just-clicked) .lang-btn:hover .lang-circle {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 98, 204, 0.4), 0 0 40px rgba(0, 98, 204, 0.15);
}

.lang-toggle-fixed:not(.just-clicked) .lang-btn:hover .lang-circle img {
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

.lang-toggle-fixed:not(.just-clicked) .lang-btn:hover .lang-label {
  transform: translateX(4px);
}

/* EN state: blue circle, white icon */
.lang-toggle-fixed[data-current-lang="en"] .lang-circle {
  background: var(--primary);
  border-color: var(--primary);
}

.lang-toggle-fixed[data-current-lang="en"] .lang-circle img {
  filter: brightness(0) invert(1);
}

/* Hover on EN: preview JA style — white circle, dark icon */
.lang-toggle-fixed[data-current-lang="en"]:not(.just-clicked) .lang-btn:hover .lang-circle {
  background: #fff;
  border-color: #fff;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4), 0 0 40px rgba(255, 255, 255, 0.15);
}

.lang-toggle-fixed[data-current-lang="en"]:not(.just-clicked) .lang-btn:hover .lang-circle img {
  filter: brightness(0);
  transform: rotate(-180deg);
}

.lang-toggle-fixed[data-current-lang="en"]:not(.just-clicked) .lang-btn:hover .lang-label {
  transform: translateX(4px);
}



/* ========== SIDEBAR NAV ========== */
.sidebar-nav {
  position: absolute;
  left: 80px;
  top: 60px;
  height: 100vh;
  width: 160px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 20px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 50px;
  /* mix-blend-mode: difference; */
  transition: all 0.3s ease;
}

.sidebar-nav .lang-toggle {
  display: none;
}

/* ========== TOP NAVIGATION (Scroll to show) ========== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transform: translateY(-100%) !important;
  transition: transform 0.3s ease;
}

.top-nav.visible {
  transform: translateY(0) !important;
}

.top-nav-logo {
  display: flex;
  align-items: center;
}

.top-nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.top-nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.top-nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  transition: opacity 0.3s;
}

.top-nav-links a:hover {
  opacity: 0.7;
}

.top-nav-lang {
  display: flex;
  align-items: center;
  gap: 5px;
}

.top-nav-lang-item {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.4;
  transition: opacity 0.3s, border-color 0.3s;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.top-nav-lang-item:hover {
  opacity: 0.7;
}

.top-nav-lang-item.active {
  opacity: 1;
  border-bottom: 2px solid #fff;
}

.top-nav-lang-divider {
  color: #fff;
  opacity: 0.5;
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  padding: 0;
  transition: all 0.3s ease;
}

/* 滚动后顶部导航时横向排列 */
.sidebar-nav.scrolled .nav-links {
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  width: auto;
}

.sidebar-nav.scrolled .nav-links a {
  font-size: 1rem;
  padding: 8px 12px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'Figtree', 'Noto Sans JP', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 8px 0;
  display: block;
  white-space: nowrap;
  transition: opacity 0.3s;
  /* mix-blend-mode: difference; */
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-links .nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin: 8px 0;
  mix-blend-mode: normal;
}

.nav-links li.sub-item a {
  font-family: 'Figtree', 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.7);
  /* mix-blend-mode: difference; */
}

.nav-links li.sub-item a:hover {
  color: #fff;
  opacity: 1;
}

/* ========== TOP GRADIENT OVERLAY ========== */
.top-gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: linear-gradient(180deg, rgba(0, 58, 111, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

/* ========== HEADER LOGO (TOP RIGHT) ========== */
.header-logo {
  position: absolute;
  top: 50px;
  right: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  /* mix-blend-mode: difference; */
  transition: all 0.3s ease;
}

.header-logo img {
  width: 210px;
  object-fit: contain;
}

/* ========== HERO SECTION ========== */
.hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0 0 80px 100px;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  z-index: 1;
  max-width: 700px;
  /* mix-blend-mode: difference; */
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.hero-content p {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.1em;
  font-weight: 300;
}

.hero-cta {
  position: absolute;
  bottom: 60px;
  right: 60px;
  z-index: 1;
  /* mix-blend-mode: difference; */
}

.hero-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
  background: rgba(255, 255, 255, 0.1);
}

.hero-cta a:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #fff;
}

.hero-cta a svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* ========== SYSTEM FEATURES SECTION ========== */
.system-section {
  position: relative;
  z-index: 2;
  padding: 200px 0;
  background: linear-gradient(to bottom, rgba(245, 245, 245, 0) 0%, rgba(58, 135, 198, 0.7) 12%, #1172c3 26.31%, #005ca8 40.89%, #005ca8 67%, rgba(45, 132, 204, 0.54) 84.73%, rgba(255, 255, 255, 0) 100%);
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.system-diagram {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
}

.system-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 10;
}

.system-center h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
}

/* Rotating rings */
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 2px dashed rgba(255, 255, 255, .5);
  border-radius: 50%;
  will-change: transform;
  pointer-events: none;
}

.orbit-ring-1 {
  width: 20vw;
  height: 20vw;
  margin-left: -10vw;
  margin-top: -10vw;
}
.orbit-ring-2 {
  width: 40vw;
  height: 40vw;
  margin-left: -20vw;
  margin-top: -20vw;
}
.orbit-ring-3 {
  width: 60vw;
  height: 60vw;
  margin-left: -30vw;
  margin-top: -30vw;
}
.orbit-ring-4 {
  width: 80vw;
  height: 80vw;
  margin-left: -40vw;
  margin-top: -40vw;
}
.orbit-ring-5 {
  width: 100vw;
  height: 100vw;
  margin-left: -50vw;
  margin-top: -50vw;
}

/* Labels on each ring */
.orbit-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 400;
  color: #fff;
  will-change: transform;
  background: rgba(20, 92, 168, 1);
  border-radius: 12px;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: default;
  pointer-events: auto;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

/* Clickable orbit labels (ring 1 & 2) */
.orbit-label.orbit-link {
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}

.orbit-label .dot {
  width: 8px;
  height: 8px;
  background: #17ECFF;
  border-radius: 20%;
  flex-shrink: 0;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
}

/* Hover highlight effect - only for clickable links */
.orbit-label.orbit-link:hover {
  background: #FFFFFFB2 !important;
  border: 1px solid #FFFFFF99;
  color: #0F5095;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 50, 120, 0.4);
}

.orbit-label.orbit-link:hover .dot {
  width: 12px;
  height: 12px;
  background-color: #FF9317;
}

/* Per-ring fading: outer rings get lighter backgrounds */
.orbit-ring-1 .orbit-label { background: rgba(20, 92, 168, 1); }
.orbit-ring-2 .orbit-label { background: rgba(20, 92, 168, 0.78); }
.orbit-ring-3 .orbit-label { background: rgba(20, 92, 168, 0.56); }
.orbit-ring-4 .orbit-label { background: rgba(20, 92, 168, 0.36); }
.orbit-ring-5 .orbit-label { background: rgba(20, 92, 168, 0.18); }

.orbit-ring-1 { border-color: rgba(255, 255, 255, 0.5); }
.orbit-ring-2 { border-color: rgba(255, 255, 255, 0.4); }
.orbit-ring-3 { border-color: rgba(255, 255, 255, 0.3); }
.orbit-ring-4 { border-color: rgba(255, 255, 255, 0.2); }
.orbit-ring-5 { border-color: rgba(255, 255, 255, 0.12); }

/* ========== MARQUEE ========== */
.marquee-section {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 30px 0;
  background: #fff;
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 4.5rem;
  font-weight: 900;
  color: #8FB0D4;
  /* color: transparent; */
  /* -webkit-text-stroke: 1.5px var(--primary); */
  letter-spacing: 0.05em;
  padding: 0 60px;
  white-space: nowrap;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== MERITS SECTION ========== */
.merits-section {
  position: relative;
  z-index: 2;
  padding: 100px 80px;
  background: #fff;
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 50px;
}

.merits-section .section-title {
  font-size: 5.5rem;
  font-weight: 900;
  margin-bottom: 60px;
  color: var(--text-dark);
  padding-left: 200px;
}

.merits-grid {
  display: grid;
  grid-template-columns: 240px 1fr 380px;
  gap: 40px;
  align-items: stretch;
}

.merits-image {
  width: 100%;
  overflow: hidden;
  align-self: end;
}

.merits-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.merits-center {
  display: flex;
  flex-direction: column;
  gap: 0;
  height: 100%;
}

.merit-item {
  position: relative;
  padding: 10px 0;
  border-bottom: 1px solid #fff;
  transition: padding-left 0.3s ease;
  cursor: default;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.merit-item::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #145CA8 0%, #FFFFFF 100%);
  transition: width 0.5s ease;
  z-index: 2;
  background-size: 200% 100%;
  animation: none;
}

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

.merit-item:hover::after {
  width: 100%;
  animation: lightFlow 1.5s linear infinite;
}

@keyframes lightFlow {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.merit-item:last-child {
  border-bottom: none;
}

.merit-number {
  display: block;
  font-size: 12px;
  color: #145CA8;
  margin-bottom: 8px;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
}

.merit-item h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  /* margin-bottom: 8px; */
  line-height: 1.4;
  padding-left: 40px;
}

.merit-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 400;
  letter-spacing: 0.02em;
  padding-left: 40px;
}

.merit-sub {
  display: block;
  font-size: 0.7rem;
  color: var(--primary);
  opacity: 0.7;
  padding-left: 40px;
  margin-top: 2px;
}

.merits-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.merits-right-img-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.merits-right-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.merits-illustration {
  width: 100%;
  max-width: 450px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.merits-illustration svg {
  width: 100%;
  height: auto;
}

.merits-photo-right {
  width: 100%;
  max-width: 350px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef5;
}

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

/* ========== COMPANY SECTION ========== */
.company-section {
  padding: 100px 80px;
  background: var(--bg-light);
  max-width: 1300px;
  margin: 0 auto;
}

.company-section .section-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 50px;
  color: var(--text-dark);
}

.company-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
}

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

.company-table tr {
  border-bottom: 1px solid #dde3eb;
}

.company-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 14px 16px 14px 0;
  width: 120px;
  vertical-align: top;
  color: var(--text-dark);
}

.company-table td {
  font-size: 0.85rem;
  padding: 14px 0;
  color: #145CA8;
  line-height: 1.6;
}

.company-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.company-right .description {
  font-size: 0.85rem;
  line-height: 3.9;
  color: #444;
}

.company-photo-switcher {
  position: relative;
  width: 100%;
  height: 360px;
  cursor: pointer;
}

.photo-card {
  position: absolute;
  width: 88%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: left 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
              top 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
              transform 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
              box-shadow 0.55s cubic-bezier(0.34, 1.4, 0.64, 1),
              z-index 0s 0.05s;
  margin-top: 30px;
}

.photo-card .photo-inner {
  flex: 1;
  margin: 12px 12px 0 12px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.photo-card .photo-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-card .photo-label {
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  padding-top: 50px;
}

.photo-card-japan {
  background: #5387CD;
}

.photo-card-china {
  background: #83CAFC;
  display: none;
}

/* Stacked layout: back card peeks out left/top */
.photo-card.card-back {
  left: 0;
  top: 0;
  z-index: 1;
  transform: scale(0.97);
  cursor: pointer;
}

.photo-card.card-front {
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.15);
  cursor: default;
}

/* ========== CONTACT FOOTER ========== */
.contact-section {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 80px 60px;
  color: #fff;
}

.contact-section .section-title {
  font-size: 4.4rem;
  font-weight: 900;
  margin-bottom: 40px;
}

.contact-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.contact-info {
  font-size: 0.9rem;
  line-height: 2;
}

.contact-info p {
  opacity: 0.9;
}

.contact-logo {
  display: flex;
  align-items: center;
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========== MOBILE HAMBURGER NAV ========== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}

.hamburger-btn {
  position: fixed;
  top: 18px;
  left: 18px;
  z-index: 1002;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(0, 168, 255, 0.15), inset 0 0 12px rgba(255, 255, 255, 0.04);
}

.hamburger-btn:hover,
.hamburger-btn:active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 20px rgba(0, 168, 255, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.06);
}

.hamburger-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s;
}

.hamburger-btn.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: linear-gradient(160deg, rgba(8, 18, 38, 0.97) 0%, rgba(4, 32, 72, 0.97) 100%);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  z-index: 1001;
  padding: 90px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-right: 1px solid rgba(0, 168, 255, 0.12);
  box-shadow: 4px 0 40px rgba(0, 40, 100, 0.3);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 10, 30, 0.5);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Figtree', 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s, padding-left 0.3s;
  position: relative;
}

.mobile-drawer a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 2px;
  height: 16px;
  background: var(--accent);
  border-radius: 2px;
  transition: transform 0.3s;
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

.mobile-drawer a:hover,
.mobile-drawer a:active {
  color: #fff;
  padding-left: 12px;
}

.mobile-drawer a:hover::before,
.mobile-drawer a:active::before {
  transform: translateY(-50%) scaleY(1);
}

/* Full width background for company section */
.company-wrapper {
  position: relative;
  z-index: 2;
  background: var(--bg-light);
}
