@charset "UTF-8";

/* ============================================================
   beatrigger — Premium Light Theme
   ============================================================ */

/* 1. CSS Variables */
:root {
  --bg:           #ffffff;
  --bg-alt:       #f4f4f6;
  --bg-card:      #f9f9fb;
  --accent:       #123d83;
  --accent-dim:   rgba(18, 61, 131, 0.07);
  --accent-glow:  rgba(18, 61, 131, 0.18);
  --navy:         #123d83;
  --navy-dark:    #0c2a5c;
  --text:         #1a1a1a;
  --text-sec:     #555555;
  --text-muted:   #999999;
  --border:       #e5e5e5;
  --border-light: #eeeeee;
  --h-pad:        clamp(1.5rem, 5vw, 6rem);
  --sec-pad:      clamp(5rem, 8vw, 9rem);
  --radius:       16px;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2 { font-family: 'Poppins', sans-serif; font-weight: 400; line-height: 1; margin: 0; }
h3 { font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 700; margin: 0; }
p { margin: 0; line-height: 1.8; }
a { text-decoration: none; color: inherit; transition: 0.3s var(--ease); }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Selection */
::selection { background: var(--accent-dim); color: var(--accent); }
::-moz-selection { background: var(--accent-dim); color: var(--accent); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(18,61,131,0.18); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* 3. Utilities */
.h-pad { padding-left: var(--h-pad); padding-right: var(--h-pad); }
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  background-color: var(--accent);
  flex-shrink: 0;
}
.divider { width: 100%; height: 1px; background-color: var(--border); }

/* Primary Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 2.25rem;
  border: 1px solid rgba(0,0,0,0.16);
  border-radius: 100px;
  font-size: 0.9375rem;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  margin-top: 3rem;
  text-decoration: none;
  transition: 0.35s var(--ease);
  letter-spacing: 0.03em;
}
.btn-outline .arr {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  transition: 0.35s var(--ease);
  flex-shrink: 0;
}
.btn-outline:hover { border-color: var(--accent); box-shadow: 0 0 24px var(--accent-glow); }
.btn-outline:hover .arr { transform: scale(1.15) translateX(2px); }
.btn-outline.white { border-color: rgba(255,255,255,0.3); color: #fff; }
.btn-outline.white .arr { background: rgba(255,255,255,0.85); color: var(--accent); }
.btn-outline.white:hover { border-color: rgba(255,255,255,0.7); box-shadow: 0 0 28px rgba(255,255,255,0.12); }

/* Responsive helpers */
@media (max-width: 768px) { .pc-only { display: none !important; } }
@media (min-width: 769px) { .sp-only { display: none !important; } }

/* Fade-in reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s var(--ease), transform 0.72s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* Scroll progress bar */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(80,130,220,0.7) 100%);
  z-index: 3000;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ============================================================
   4. Grid Background
   ============================================================ */
.hero-bg {
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(18,61,131,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,61,131,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  z-index: -1;
  pointer-events: none;
}

/* Aurora blobs */
.aurora { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  will-change: transform, opacity;
}
.aurora-blob:nth-child(1) {
  width: 55vw; height: 70vh;
  background: radial-gradient(ellipse at 40% 50%, rgba(18,61,131,0.28) 0%, rgba(100,150,230,0.14) 55%, transparent 70%);
  top: -10vh; left: -5vw;
  animation: aurora-flow 14s linear infinite;
  animation-delay: -4s;
}
.aurora-blob:nth-child(2) {
  width: 48vw; height: 65vh;
  background: radial-gradient(ellipse at 40% 50%, rgba(60,110,210,0.22) 0%, transparent 70%);
  top: 30vh; left: -5vw;
  animation: aurora-flow 14s linear infinite;
  animation-delay: -9s;
}
.aurora-blob:nth-child(3) {
  width: 44vw; height: 60vh;
  background: radial-gradient(ellipse at 40% 50%, rgba(18,61,131,0.2) 0%, transparent 70%);
  top: 15vh; left: -5vw;
  animation: aurora-flow 14s linear infinite;
  animation-delay: -1s;
}
@keyframes aurora-flow {
  0%   { transform: translateX(0vw);   opacity: 0; }
  6%   { opacity: 1; }
  87%  { opacity: 1; }
  100% { transform: translateX(130vw); opacity: 0; }
}

/* Light streaks */
.streaks { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.streak {
  position: absolute;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(18,61,131,0.18) 20%,
    rgba(18,61,131,0.45) 50%,
    rgba(18,61,131,0.18) 80%,
    transparent 100%
  );
  transform: translateX(-100%);
  will-change: transform, opacity;
}
.streak:nth-child(1) { width: 280px; top: 18%;  animation: streak-flow 5.2s linear infinite; animation-delay: -1.0s; }
.streak:nth-child(2) { width: 160px; top: 32%;  animation: streak-flow 7.8s linear infinite; animation-delay: -3.4s; opacity: 0.7; }
.streak:nth-child(3) { width: 380px; top: 47%;  animation: streak-flow 6.1s linear infinite; animation-delay: -0.5s; }
.streak:nth-child(4) { width: 200px; top: 61%;  animation: streak-flow 9.0s linear infinite; animation-delay: -5.5s; opacity: 0.5; }
.streak:nth-child(5) { width: 320px; top: 25%;  animation: streak-flow 4.7s linear infinite; animation-delay: -2.2s; opacity: 0.8; height: 1.5px; }
.streak:nth-child(6) { width: 140px; top: 72%;  animation: streak-flow 8.3s linear infinite; animation-delay: -6.0s; opacity: 0.4; }
.streak:nth-child(7) { width: 250px; top: 55%;  animation: streak-flow 6.6s linear infinite; animation-delay: -4.1s; opacity: 0.6; }
@keyframes streak-flow {
  0%   { transform: translateX(-100%); opacity: 0; }
  4%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translateX(110vw); opacity: 0; }
}

/* ============================================================
   5. Header
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 2000;
  background: rgba(255,255,255,1);
  border-bottom: 1px solid rgba(18,61,131,0.08);
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  transition: background 0.55s var(--ease), border-color 0.55s var(--ease), box-shadow 0.55s var(--ease);
}
body.home #site-header {
  background: rgba(255,255,255,0);
  border-bottom-color: transparent;
  box-shadow: none;
}
#site-header.scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid rgba(18,61,131,0.07);
  box-shadow: 0 1px 0 rgba(18,61,131,0.04), 0 6px 28px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3.75rem;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 38px; width: auto; object-fit: contain; }

/* PC Nav */
.header-nav ul { display: flex; align-items: center; gap: 2.75rem; }
.header-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-sec);
  letter-spacing: 0.06em;
  position: relative;
  transition: 0.3s var(--ease);
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background-color: var(--accent);
  transition: 0.3s var(--ease);
}
.header-nav a:hover { color: var(--text); }
.header-nav a:hover::after { width: 100%; }
.header-nav .nav-cta {
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--accent);
  border-radius: 100px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 500;
  letter-spacing: 0.06em;
  transition: 0.3s var(--ease);
}
.header-nav .nav-cta:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}
.header-nav .nav-cta::after { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  background: none;
  border: none;
  z-index: 1100;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background-color: var(--text); transition: 0.4s var(--ease); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 72vw; max-width: 300px;
  background-color: #fff;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  transform: translateX(100%);
  transition: transform 0.52s cubic-bezier(0.76,0,0.24,1);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.1);
  border-left: 1px solid var(--border-light);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu .m-brand {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .m-brand img { height: 28px; }
.mobile-menu .m-nav { display: flex; flex-direction: column; }
.mobile-menu .m-nav a {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-sec);
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-light);
  letter-spacing: 0.04em;
}
.mobile-menu .m-nav a:hover { color: var(--accent); padding-left: 0.4rem; }
.mobile-menu .m-sub {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.mobile-menu .m-sub a { font-size: 11.5px; color: #888; letter-spacing: 0.03em; }

/* Scroll to top */
#scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: 0.4s var(--ease);
  z-index: 500;
  color: var(--text-sec);
  font-size: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
#scroll-top.show, #scroll-top.visible { opacity: 1; visibility: visible; }
#scroll-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

@media (max-width: 768px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 1rem 1.5rem; }
}

/* ============================================================
   6. Hero
   ============================================================ */
.hero-section {
  min-height: 100vh;
  padding: 0 var(--h-pad);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-catch {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  z-index: 1;
}
.hero-word {
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(30px);
}
#word-trigger {
  padding-left: clamp(2rem, 6vw, 8rem);
}
.hero-section .hero-en {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(5rem, 16vw, 24rem);
  font-weight: 500;
  line-height: 0.88;
  color: var(--text);
  letter-spacing: -0.03em;
}
.hero-section .hero-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--text);
  text-stroke: 1.5px var(--text);
}
.word-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: clamp(0.4rem, 1.2vh, 1.2rem);
  margin-bottom: clamp(1.2rem, 3.5vh, 3.5rem);
}
.word-rule {
  flex: 1;
  max-width: 28vw;
  height: 1px;
  background: rgba(255,255,255,0.12);
}
.hero-section .hero-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: clamp(0.7rem, 1.8vh, 1.4rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
.hero-tagline {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--text-muted);
  margin-top: 4.5vh;
  opacity: 0;
  transform: translateY(16px);
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

/* Hero eyebrow */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5vh;
  opacity: 0;
  transform: translateY(10px);
  position: relative;
  z-index: 1;
}
.eyebrow-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.eyebrow-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-scroll {
  position: absolute;
  bottom: 4.5rem;
  left: var(--h-pad);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  cursor: pointer;
  transition: 0.3s var(--ease);
  text-decoration: none;
  z-index: 1;
}
.hero-scroll:hover { color: var(--accent); }
.scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
.scroll-arrow span { display: block; width: 1px; background: currentColor; }
.scroll-arrow span:nth-child(1) { height: 22px; }
.scroll-arrow span:nth-child(2) {
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

/* Hero marquee — sits between hero and philosophy, normal flow */
.hero-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(18,61,131,0.07);
  border-bottom: 1px solid rgba(18,61,131,0.07);
  padding: 0.9rem 0;
  background: var(--bg);
  z-index: 10;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}
.m-block {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.m-block span {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 0 2.5rem;
}
.m-block em {
  font-style: normal;
  color: var(--accent);
  opacity: 0.35;
  font-size: 6px;
  flex-shrink: 0;
}
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   7. Common section styles
   ============================================================ */
.page-section { position: relative; }
.section-inner { padding: var(--sec-pad) var(--h-pad); }

/* ============================================================
   8. Corporate Philosophy
   ============================================================ */
.philosophy-section {
  background-color: var(--bg-alt);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: -20px;
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .philosophy-grid { grid-template-columns: 1fr; gap: 2.5rem; } }
.philosophy-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.img-ph {
  background: linear-gradient(145deg, #eef1f7 0%, #dde4ef 100%);
  border: 1px solid rgba(18,61,131,0.08);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}
.philosophy-content { display: flex; flex-direction: column; justify-content: center; }
.vision-tag {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.vision-heading {
  font-size: clamp(1.2rem, 2.5vw, 1.875rem);
  font-weight: 700;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 2rem;
}
.vision-body { font-size: 0.9375rem; line-height: 2.1; color: var(--text-sec); }
.brand-concept {
  margin-top: var(--sec-pad);
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.bc-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.bc-text { font-size: clamp(1.75rem, 5vw, 4rem); font-weight: 700; color: var(--text); line-height: 1.3; }

/* ============================================================
   9. Our Business
   ============================================================ */
.business-section { background-color: var(--bg-card); }
.business-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .business-layout { grid-template-columns: 1fr; gap: 2.5rem; } }
.business-list { display: flex; flex-direction: column; }
.biz-item {
  display: block;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  transition: 0.32s var(--ease);
}
.biz-item:last-child { border-bottom: 1px solid var(--border); }
.biz-num {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  transition: 0.32s var(--ease);
}
.biz-name {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--text-sec);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.32s var(--ease);
}
.biz-name .biz-arr {
  opacity: 0;
  color: var(--accent);
  transform: translateX(-8px);
  transition: 0.32s var(--ease);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.biz-item:hover .biz-name,
.biz-item.active .biz-name { color: var(--text); }
.biz-item:hover .biz-num,
.biz-item.active .biz-num { color: var(--accent); }
.biz-item:hover .biz-arr,
.biz-item.active .biz-arr { opacity: 1; transform: translateX(0); }
.biz-item.active {
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
  margin-left: -2px;
}
.business-photo { position: relative; }
.business-photo .biz-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: 0.5s var(--ease);
}
.business-photo .biz-img.img-ph {
  height: 480px;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(18,61,131,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 72% 72%, rgba(18,61,131,0.07) 0%, transparent 50%),
    linear-gradient(145deg, #f0f3f8 0%, #e8edf5 100%);
  border-color: rgba(18,61,131,0.1);
}
@media (max-width: 768px) {
  .business-photo .biz-img,
  .business-photo .biz-img.img-ph { height: 240px; }
}

/* ============================================================
   10. Company Information
   ============================================================ */
.company-info-section { background-color: var(--bg-alt); }
.company-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 4rem;
}
@media (max-width: 900px) { .company-cards { grid-template-columns: 1fr; } }
.company-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.35s var(--ease);
  text-decoration: none;
  color: inherit;
  background-color: #fff;
}
.company-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(18,61,131,0.1);
}
.company-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.company-card-img.img-ph {
  aspect-ratio: 16/9;
  background: linear-gradient(145deg, #eef1f7 0%, #dde4ef 100%);
}
.cc-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cc-title { font-size: 1.05rem; font-weight: 700; color: var(--text); letter-spacing: 0.02em; }
.cc-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem; height: 1.75rem;
  border-radius: 50%;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  transition: 0.3s var(--ease);
  flex-shrink: 0;
}
.company-card:hover .cc-arrow { transform: scale(1.15) rotate(-45deg); }
.sdgs-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
  align-items: center;
}
@media (max-width: 768px) {
  .sdgs-row { grid-template-columns: 1fr; gap: 2rem; }
  .sdgs-icon { width: 80px !important; }
}
.sdgs-icon {
  width: 160px;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 1rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sdgs-text { font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.9; color: var(--text-sec); }

/* ============================================================
   11. Recruit
   ============================================================ */
.recruit-section { background-color: #f0f4f0; position: relative; overflow: hidden; }
.recruit-overlay {
  position: absolute;
  inset: 0;
  background: url('../img/recruit-hero.png') center / cover no-repeat;
  opacity: 0.07;
  z-index: 0;
}
.recruit-content {
  position: relative;
  z-index: 1;
  padding: var(--sec-pad) var(--h-pad);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}
@media (max-width: 768px) { .recruit-content { flex-direction: column; align-items: flex-start; } }
.recruit-text { flex: 1; }
.recruit-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  color: var(--text);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}
.recruit-jp { font-size: 13px; color: var(--text-sec); margin-bottom: 2rem; letter-spacing: 0.05em; }
.recruit-body { font-size: 0.9375rem; color: var(--text-sec); line-height: 2.1; max-width: 440px; }

.recruit-section .btn-outline.white {
  border-color: rgba(18,61,131,0.3);
  color: var(--accent);
  background: transparent;
}
.recruit-section .btn-outline.white .arr {
  background: var(--accent);
  color: #fff;
}
.recruit-section .btn-outline.white:hover {
  border-color: var(--accent);
  box-shadow: 0 0 24px var(--accent-glow);
  background: rgba(18,61,131,0.04);
}

/* ============================================================
   12. News
   ============================================================ */
.news-section { background-color: var(--bg-alt); }
.news-list { margin-top: 3rem; }
.news-item { padding: 1.5rem 0; }
.news-link {
  display: flex;
  align-items: baseline;
  gap: 3rem;
  color: var(--text-sec);
  transition: 0.3s var(--ease);
  font-size: 0.9375rem;
}
.news-link:hover { color: var(--text); }
.news-date {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.06em;
}
.news-title { flex: 1; transition: padding-left 0.3s var(--ease); }
.news-link:hover .news-title { padding-left: 0.25rem; color: var(--text); }
@media (max-width: 768px) { .news-link { flex-direction: column; gap: 0.4rem; } }

/* ============================================================
   13. Contact CTA — dark navy
   ============================================================ */
#contact-cta { background: var(--navy-dark); }
.contact-wrap { padding: 0 var(--h-pad); padding-bottom: calc(var(--sec-pad) / 2); }
.contact-section {
  border-radius: var(--radius);
  padding: clamp(2rem, 3.5vw, 3rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}
@media (max-width: 768px) { .contact-section { flex-direction: column; align-items: flex-start; } }
#contact-cta .section-label { color: rgba(255,255,255,0.45); }
#contact-cta .section-label::before { background: rgba(255,255,255,0.45); }
.contact-h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  color: #ffffff;
  line-height: 0.95;
  margin-bottom: 0.75rem;
}
.contact-jp { font-size: 13px; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.contact-body { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 2; }
#contact-cta .btn-outline { border-color: rgba(255,255,255,0.35); color: #fff; }
#contact-cta .btn-outline .arr { background: rgba(255,255,255,0.85); color: var(--accent); }
#contact-cta .btn-outline:hover { border-color: rgba(255,255,255,0.7); box-shadow: 0 0 28px rgba(255,255,255,0.1); }

/* ============================================================
   14. Banner
   ============================================================ */
.banner-section {
  background-color: #1a1a1a;
  padding: 2rem var(--h-pad);
  display: flex;
  gap: 1.5rem;
}
@media (max-width: 768px) { .banner-section { flex-direction: column; } }
.banner-link {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s var(--ease);
}
.banner-link:hover { border-color: rgba(255,255,255,0.3); box-shadow: 0 4px 16px rgba(255,255,255,0.06); }
.banner-link img { width: 100%; height: auto; transition: 0.3s var(--ease); }
.banner-link:hover img { opacity: 0.9; }

/* ============================================================
   15. Footer
   ============================================================ */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
  padding: clamp(3rem, 6vw, 5rem) var(--h-pad) 2rem;
}
body.home .site-footer { background-color: #1a1a1a; border-top: none; }
.footer-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}
@media (max-width: 820px) { .footer-nav { flex-direction: column; } }
.footer-logo img { height: 56px; width: auto; }
.footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }
@media (max-width: 768px) { .footer-links { flex-direction: column; gap: 1.5rem; } }
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links ul li:first-child {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  color: #909090;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.footer-links ul li a { font-size: 13px; color: #53595D; transition: 0.3s var(--ease); }
.footer-links ul li a:hover { color: #123d83; }
body.home .footer-links ul li:first-child { color: rgba(255,255,255,0.3); }
body.home .footer-links ul li a { color: rgba(255,255,255,0.5); }
body.home .footer-links ul li a:hover { color: rgba(255,255,255,0.9); }

/* Footer brand BEAT / TRIGGER */
.footer-brand {
  display: flex;
  gap: 2rem;
  margin-top: 4rem;
  align-items: flex-end;
}
@media (max-width: 768px) { .footer-brand { display: none; } }
.fb-word { display: flex; flex-direction: column; }
.fb-en {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(4rem, 13vw, 11rem);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -0.03em;
  user-select: none;
  color: rgba(0,0,0,0.05);
}
body.home .fb-en {
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.05) 0%,
    rgba(255,255,255,0.05) 30%,
    rgba(18,61,131,0.35)   45%,
    rgba(160,200,255,0.55) 50%,
    rgba(18,61,131,0.35)   55%,
    rgba(255,255,255,0.05) 70%,
    rgba(255,255,255,0.05) 100%
  );
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: text-sweep 6s linear infinite;
}
@keyframes text-sweep {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.fb-jp { font-size: 11px; color: #ccc; margin-top: 0.5rem; letter-spacing: 0.08em; }
body.home .fb-jp { color: rgba(255,255,255,0.2); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
body.home .footer-bottom { border-top-color: rgba(255,255,255,0.07); }
.footer-sub-links { display: flex; gap: 2rem; }
.footer-sub-links a { font-size: 12px; color: #aaa; transition: 0.3s var(--ease); }
.footer-sub-links a:hover { color: #123d83; }
body.home .footer-sub-links a { color: rgba(255,255,255,0.25); }
body.home .footer-sub-links a:hover { color: rgba(255,255,255,0.55); }
.footer-copy { font-size: 12px; color: #aaa; }
body.home .footer-copy { color: rgba(255,255,255,0.25); }

/* ============================================================
   Dark Hero
   ============================================================ */
.hero-section {
  background-color: #0c1a2e;
}
.hero-section .hero-en   { color: #ffffff; }
.hero-section .hero-outline {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.72);
  text-stroke: 1.5px rgba(255,255,255,0.72);
}
.hero-section .hero-jp        { color: rgba(110,165,255,0.88); letter-spacing: 0.14em; }
.hero-section .hero-tagline   { color: rgba(255,255,255,0.42); }
.hero-section .hero-scroll    { color: rgba(255,255,255,0.42); }
.hero-section .eyebrow-line   { background: rgba(110,165,255,0.65); }
.hero-section .eyebrow-label  { color: rgba(255,255,255,0.42); }

/* Header — transparent state adapts to dark hero (front page only) */
body.home #site-header:not(.scrolled) .header-nav a              { color: rgba(255,255,255,0.62); }
body.home #site-header:not(.scrolled) .header-nav a::after       { background-color: rgba(255,255,255,0.62); }
body.home #site-header:not(.scrolled) .header-nav a:hover        { color: #ffffff; }
body.home #site-header:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.90);
}
body.home #site-header:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.55);
  box-shadow: 0 0 20px rgba(255,255,255,0.08);
}
body.home #site-header:not(.scrolled) .site-logo img   { filter: brightness(0) invert(1); }
body.home #site-header:not(.scrolled) .hamburger span  { background-color: rgba(255,255,255,0.82); }

/* Aurora — electric on dark */
.aurora-blob:nth-child(1) {
  background: radial-gradient(ellipse at 40% 50%, rgba(40,115,255,0.62) 0%, rgba(80,150,255,0.20) 55%, transparent 70%);
}
.aurora-blob:nth-child(2) {
  background: radial-gradient(ellipse at 40% 50%, rgba(0,195,240,0.42) 0%, transparent 70%);
}
.aurora-blob:nth-child(3) {
  background: radial-gradient(ellipse at 40% 50%, rgba(20,80,240,0.32) 0%, transparent 70%);
}

/* Streaks — glowing on dark */
.streak {
  background: linear-gradient(to right,
    transparent 0%,
    rgba(80,150,255,0.36) 20%,
    rgba(160,215,255,0.85) 50%,
    rgba(80,150,255,0.36) 80%,
    transparent 100%
  );
}

/* Marquee — dark to match hero */
.hero-marquee                { background: #0c1a2e; border-color: rgba(255,255,255,0.07); }
.hero-marquee .m-block span  { color: rgba(255,255,255,0.18); }
.hero-marquee .m-block em    { color: rgba(80,135,255,0.42); }

/* ─── Custom spotlight cursor ───────────────── */
.has-custom-cursor,
.has-custom-cursor * { cursor: none !important; }

#cursor-dot {
  position: fixed;
  width: 10px; height: 10px;
  background: #2a5cc8;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.85), 0 2px 6px rgba(18,61,131,0.35);
  transition: width 0.18s, height 0.18s, box-shadow 0.18s, opacity 0.3s;
  opacity: 0;
}
#cursor-glow {
  position: fixed;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(60,130,255,0.18) 0%,
    rgba(80,155,255,0.07) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s;
}
.has-custom-cursor #cursor-dot  { opacity: 1; }
.has-custom-cursor #cursor-glow { opacity: 1; }

/* Hover state — dot expands */
.has-custom-cursor.cursor-hover #cursor-dot {
  width: 20px; height: 20px;
  background: #1a4da8;
  box-shadow: 0 0 0 2.5px rgba(255,255,255,0.95), 0 3px 14px rgba(18,61,131,0.45);
}

/* WordPress admin bar — prevents 32px gap above hero */
.admin-bar #site-header { top: 32px !important; }
.admin-bar .page-hero   { margin-top: 112px !important; }
@media screen and (max-width: 782px) {
  .admin-bar #site-header { top: 46px !important; }
  .admin-bar .page-hero   { margin-top: 126px !important; }
}

/* Page transition */
body { animation: page-in 0.4s ease; }
body.leaving { animation: page-out 0.22s ease forwards; }
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes page-out { to { opacity: 0; transform: translateY(-6px); } }
