/* ============================================================
   バタフライ株式会社 — Corporate Website CSS v2
   Dark theme, startup feel, heavy animations
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  background: #0a0a0a;
  color: #f0f0f0;
  overflow-x: hidden;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

:root {
  --accent: #FF3B4E;
  --accent-dark: #cc2d3e;
  --dark: #0a0a0a;
  --dark2: #111111;
  --dark3: #1a1a1a;
  --dark4: #222222;
  --text: #f0f0f0;
  --text-muted: #777;
  --border: rgba(255,255,255,0.08);
  --glow: rgba(255,59,78,0.3);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-accent { color: var(--accent); }
.center { text-align: center; }
.pc-only { display: block; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}
.header.scrolled {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; color: #fff;
}
.nav-logo-img { width: 36px; height: 36px; object-fit: contain; }
.nav-logo-text { color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-link {
  font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.7);
  padding: 8px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--accent) !important; color: #fff !important;
  padding: 8px 20px !important; border-radius: 8px; font-weight: 600;
}
.nav-cta:hover { background: var(--accent-dark) !important; box-shadow: 0 0 20px var(--glow); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: #050505;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,59,78,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,59,78,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridPulse 8s ease-in-out infinite;
}
@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.hero-orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255,59,78,0.2) 0%, transparent 70%);
  top: -250px; left: -200px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.hero-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,59,78,0.12) 0%, transparent 70%);
  bottom: -150px; right: 100px;
  animation: orbFloat2 15s ease-in-out infinite;
}
.hero-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(200,80,50,0.1) 0%, transparent 70%);
  top: 40%; right: 30%;
  animation: orbFloat3 10s ease-in-out infinite;
}
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(80px,60px) scale(1.1); }
  66% { transform: translate(-40px,80px) scale(0.9); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-60px,-40px); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-60px); }
}
.hero-glitch-lines {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden;
}
.glitch-line {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,59,78,0.6), transparent);
  animation: glitchScan 6s linear infinite; opacity: 0;
}
.glitch-line:nth-child(1) { animation-delay: 0s; }
.glitch-line:nth-child(2) { animation-delay: 2s; }
.glitch-line:nth-child(3) { animation-delay: 4s; }
@keyframes glitchScan {
  0% { top: -2px; opacity: 0; }
  5% { opacity: 1; }
  95% { opacity: 0.3; }
  100% { top: 100%; opacity: 0; }
}

/* Hero 2-column layout */
.hero-layout {
  position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%; max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  min-height: 100vh;
  gap: 40px;
}
.hero-left {
  padding-top: 120px; padding-bottom: 80px;
}
.hero-right {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative;
  padding-top: 80px;
}
/* legacy compat */
.hero-content {
  position: relative; z-index: 10;
  padding-top: 120px; padding-bottom: 80px; max-width: 680px;
}
.hero-badge-wrap { margin-bottom: 28px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,59,78,0.1); border: 1px solid rgba(255,59,78,0.3);
  color: var(--accent); font-size: 0.8rem; font-weight: 600;
  padding: 6px 16px; border-radius: 100px; letter-spacing: 0.05em;
  opacity: 0; animation: badgeFadeIn 0.6s 0.2s ease forwards;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: dotBlink 1.5s ease-in-out infinite;
}
@keyframes badgeFadeIn { to { opacity: 1; } }
@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 24px;
}
.hero-title-line {
  display: inline-block;
  opacity: 0; transform: translateY(40px);
  animation: titleReveal 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-title-line:nth-child(1) { animation-delay: 0.3s; }
.hero-title-line:nth-child(2) { animation-delay: 0.5s; }
.hero-title-line:nth-child(5) { animation-delay: 0.7s; }
@keyframes titleReveal { to { opacity: 1; transform: translateY(0); } }

.hero-subtitle {
  font-size: 1.1rem; font-weight: 400; color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em; margin-bottom: 16px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.7s 0.9s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-desc {
  font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 36px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.7s 1.1s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.7s 1.3s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-stats {
  display: flex; align-items: center; gap: 24px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.7s 1.5s cubic-bezier(0.16,1,0.3,1) forwards;
}
.hero-stat-num {
  display: block; font-size: 1.3rem; font-weight: 800;
  color: var(--accent); letter-spacing: -0.01em;
}
.hero-stat-label {
  display: block; font-size: 0.75rem; color: rgba(255,255,255,0.45); letter-spacing: 0.05em;
}
.hero-stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.12); }

.hero-logo-visual {
  position: relative;
  z-index: 5; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 420px;
}
.hero-logo-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,59,78,0.15);
  animation: ringPulse 4s ease-in-out infinite;
}
.hero-logo-ring-1 { width: 240px; height: 240px; animation-delay: 0s; }
.hero-logo-ring-2 { width: 340px; height: 340px; animation-delay: 1.3s; }
.hero-logo-ring-3 { width: 440px; height: 440px; animation-delay: 2.6s; }
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.04); opacity: 0.7; }
}
.hero-logo-float {
  width: 180px; height: 180px; object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(255,59,78,0.5));
  opacity: 0;
  animation: logoFadeIn 1s 0.5s ease forwards, logoFloat 6s 1.5s ease-in-out infinite;
}

/* フローティングカード */
.hero-float-cards {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%; max-width: 280px;
  margin-top: 16px;
}
.hero-float-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px; padding: 12px 18px;
  opacity: 0; transform: translateX(30px);
  transition: background 0.3s;
}
.hero-float-card:hover { background: rgba(255,59,78,0.1); border-color: rgba(255,59,78,0.3); }
.hero-float-card-1 { animation: slideInRight 0.6s 1.6s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-float-card-2 { animation: slideInRight 0.6s 1.9s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-float-card-3 { animation: slideInRight 0.6s 2.2s cubic-bezier(0.16,1,0.3,1) forwards; }
@keyframes slideInRight { to { opacity: 1; transform: translateX(0); } }
.hfc-icon { font-size: 1.4rem; flex-shrink: 0; }
.hfc-text { font-size: 0.85rem; color: rgba(255,255,255,0.8); font-weight: 500; letter-spacing: 0.02em; }
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-18px) rotate(3deg); }
  75% { transform: translateY(12px) rotate(-2deg); }
}
@keyframes logoFadeIn { to { opacity: 1; } }

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 10; opacity: 0; animation: fadeUp 0.7s 2s ease forwards;
}
.hero-scroll span {
  font-size: 0.7rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.35); text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, rgba(255,59,78,0.8), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; letter-spacing: 0.02em;
  cursor: pointer; border: none; transition: all 0.3s;
  position: relative; overflow: hidden;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.12);
  transform: translateX(-100%); transition: transform 0.4s;
}
.btn:hover::after { transform: translateX(0); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover {
  background: var(--accent-dark); transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,59,78,0.4);
}
.btn-glow { animation: btnGlow 3s ease-in-out infinite; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(255,59,78,0.3); }
  50% { box-shadow: 0 0 40px rgba(255,59,78,0.6), 0 0 60px rgba(255,59,78,0.2); }
}
.btn-outline {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section { padding: 120px 0; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; line-height: 1.2;
  letter-spacing: -0.02em; color: #fff; margin-bottom: 24px;
}
.section-title.center { text-align: center; }
.section-subtitle {
  font-size: 1rem; color: var(--text-muted); margin-bottom: 60px; line-height: 1.7;
}
.section-subtitle.center { text-align: center; }

.fade-in {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-lead { font-size: 1.2rem; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 20px; line-height: 1.7; }
.about-body { font-size: 0.95rem; color: rgba(255,255,255,0.6); margin-bottom: 16px; line-height: 1.8; }
.about-visual { display: flex; flex-direction: column; gap: 24px; }
.about-card {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px;
  display: flex; align-items: center; gap: 24px;
  transition: border-color 0.3s, transform 0.3s;
}
.about-card:hover { border-color: rgba(255,59,78,0.3); transform: translateY(-4px); }
.about-card-icon img { width: 56px; height: 56px; object-fit: contain; }
.stat-number { display: block; font-size: 2rem; font-weight: 900; color: var(--accent); letter-spacing: -0.02em; }
.stat-label { display: block; font-size: 0.85rem; color: var(--text-muted); }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  background: rgba(255,59,78,0.08); border: 1px solid rgba(255,59,78,0.2);
  color: rgba(255,255,255,0.7); font-size: 0.8rem;
  padding: 6px 14px; border-radius: 100px; transition: background 0.2s, color 0.2s;
}
.tag:hover { background: rgba(255,59,78,0.2); color: #fff; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--dark2); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 12px; cursor: pointer;
  aspect-ratio: 16/10; border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.4s;
}
.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,59,78,0.3);
  z-index: 2;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { font-size: 0.85rem; font-weight: 600; color: #fff; letter-spacing: 0.05em; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 85vh; object-fit: contain;
  border-radius: 8px; box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; cursor: pointer; border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: background 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,59,78,0.4); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   BUSINESS
   ============================================================ */
.business { background: var(--dark); }
.biz-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center; margin-bottom: 100px;
}
.biz-showcase:last-child { margin-bottom: 0; }
.biz-showcase-reverse { direction: rtl; }
.biz-showcase-reverse > * { direction: ltr; }
.biz-showcase-images { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.biz-showcase-text { direction: ltr; }
.biz-img-main, .biz-img-sub {
  position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--border);
}
.biz-img-main { grid-column: 1 / -1; aspect-ratio: 16/9; }
/* 3-image layout: main spans full, two subs below */
.biz-img-sub { aspect-ratio: 16/9; }
.biz-img-main img, .biz-img-sub img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.biz-img-main:hover img, .biz-img-sub:hover img { transform: scale(1.04); }
.img-caption {
  position: absolute; bottom: 8px; right: 10px;
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.55); padding: 2px 8px; border-radius: 4px; letter-spacing: 0.05em;
}
.biz-num {
  font-size: 4rem; font-weight: 900; color: rgba(255,59,78,0.12);
  line-height: 1; margin-bottom: 8px; letter-spacing: -0.04em;
}
.biz-title { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: -0.01em; }
.biz-desc { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 28px; }
.biz-features { display: flex; flex-direction: column; gap: 12px; }
.biz-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.biz-feat-icon { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.biz-infra-visual { grid-template-columns: 1fr 1fr 1fr !important; }
.biz-infra-card {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 12px; padding: 24px; text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.biz-infra-card:hover {
  border-color: rgba(255,59,78,0.4); transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.biz-infra-icon { margin-bottom: 16px; display: flex; justify-content: center; }
.biz-infra-card h4 { font-size: 0.9rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.biz-infra-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   STRENGTH
   ============================================================ */
.strength { background: var(--dark2); }
.strength-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.strength-item {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 16px; padding: 36px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.strength-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.strength-item:hover::before { transform: scaleX(1); }
.strength-item:hover {
  border-color: rgba(255,59,78,0.3); transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.strength-icon {
  width: 56px; height: 56px;
  background: rgba(255,59,78,0.08); border: 1px solid rgba(255,59,78,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: background 0.3s;
}
.strength-item:hover .strength-icon { background: rgba(255,59,78,0.15); }
.strength-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.strength-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============================================================
   PHILOSOPHY
   ============================================================ */
.philosophy { background: var(--dark); }
.philosophy-hero {
  text-align: center; padding: 80px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 80px; position: relative;
}
.philosophy-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,59,78,0.05) 0%, transparent 70%);
}
.philosophy-vision-text {
  font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff;
  line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 20px; position: relative; z-index: 1;
}
.philosophy-vision-sub { font-size: 1rem; color: var(--text-muted); position: relative; z-index: 1; }
.philosophy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 80px; }
.philosophy-card {
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px; transition: border-color 0.3s, transform 0.3s;
}
.philosophy-card:hover { border-color: rgba(255,59,78,0.3); transform: translateY(-4px); }
.philosophy-card-label {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 16px;
}
.philosophy-card-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.philosophy-card-text { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 12px; }
.values-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 32px; letter-spacing: 0.05em; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-item {
  padding: 32px; border: 1px solid var(--border); border-radius: 16px;
  background: var(--dark3); transition: border-color 0.3s, transform 0.3s;
}
.value-item:hover { border-color: rgba(255,59,78,0.3); transform: translateY(-4px); }
.value-num {
  font-size: 2.5rem; font-weight: 900; color: rgba(255,59,78,0.2);
  line-height: 1; margin-bottom: 12px;
}
.value-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.4; }
.value-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; }

/* ============================================================
   COMPANY
   ============================================================ */
.company { background: var(--dark2); }
.company-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 48px; }
.company-info-title {
  font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px;
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table th {
  text-align: left; padding: 16px 0;
  font-size: 0.85rem; color: var(--text-muted); font-weight: 500; width: 140px;
}
.company-table td { padding: 16px 0; font-size: 0.95rem; color: #fff; }
.member-card {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: 12px;
  background: var(--dark3); border: 1px solid var(--border);
  margin-bottom: 16px; transition: border-color 0.3s, transform 0.3s;
}
.member-card:hover { border-color: rgba(255,59,78,0.3); transform: translateY(-2px); }
.member-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff7b8a);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; color: #fff; flex-shrink: 0;
}
.member-role { font-size: 0.75rem; color: var(--accent); font-weight: 600; letter-spacing: 0.05em; margin-bottom: 4px; }
.member-name { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.member-message { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.6; }

/* ============================================================
   CAREERS
   ============================================================ */
.careers { background: var(--dark); position: relative; overflow: hidden; }
.careers::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,59,78,0.06) 0%, transparent 70%);
}
.careers-content { max-width: 720px; position: relative; z-index: 1; }
.careers-desc { font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 16px; }
.careers-highlight {
  font-size: 1.1rem; font-weight: 600; color: rgba(255,255,255,0.9);
  line-height: 1.7; margin-bottom: 36px;
  padding: 24px; border-left: 3px solid var(--accent);
  background: rgba(255,59,78,0.05); border-radius: 0 8px 8px 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--dark2); }
.contact-tabs {
  display: flex; gap: 8px; margin-bottom: 40px;
  border-bottom: 1px solid var(--border); padding-bottom: 0;
}
.contact-tab {
  background: none; border: none; cursor: pointer;
  font-size: 0.95rem; font-weight: 600; color: var(--text-muted);
  padding: 12px 24px; border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: color 0.2s, border-color 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
}
.contact-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.contact-tab:hover { color: rgba(255,255,255,0.8); }
.contact-form-wrap { max-width: 640px; }
.form-group { margin-bottom: 24px; }
.form-label { display: block; font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 8px; }
.required { color: var(--accent); font-size: 0.8rem; }
.optional { color: var(--text-muted); font-size: 0.75rem; font-weight: 400; }
.form-input {
  width: 100%; padding: 12px 16px;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 8px; color: #fff; font-size: 0.95rem;
  font-family: 'Noto Sans JP', sans-serif; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,59,78,0.15); }
.form-input::placeholder { color: rgba(255,255,255,0.2); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 140px; }
.form-file-wrap { display: flex; align-items: center; gap: 12px; }
.form-file { display: none; }
.form-file-label {
  display: inline-flex; align-items: center;
  padding: 10px 20px; background: var(--dark3);
  border: 1px solid var(--border); border-radius: 8px;
  cursor: pointer; font-size: 0.875rem; color: rgba(255,255,255,0.7);
  transition: border-color 0.2s, color 0.2s;
}
.form-file-label:hover { border-color: var(--accent); color: #fff; }
.form-file-name { font-size: 0.85rem; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050505; border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 40px;
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { width: 48px; height: 48px; object-fit: contain; }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.footer-nav a { font-size: 0.85rem; color: var(--text-muted); transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }
.footer-copy { text-align: right; }
.footer-copy p { font-size: 0.8rem; color: rgba(255,255,255,0.25); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-layout { grid-template-columns: 1fr; padding: 0 40px; }
  .hero-right { display: none; }
  .hero-left { padding-top: 120px; padding-bottom: 60px; }
  .biz-showcase { grid-template-columns: 1fr; gap: 40px; }
  .biz-showcase-reverse { direction: ltr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 768px) {
  .hero-layout { padding: 0 24px; }
  .nav-links {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.97); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 4px;
    transform: translateY(-120%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .nav-link { padding: 12px 16px; width: 100%; border-radius: 8px; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-stat-divider { display: none; }
  .section { padding: 80px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: 1fr; }
  .biz-infra-visual { grid-template-columns: 1fr !important; }
  .biz-showcase-images { grid-template-columns: 1fr; }
  .biz-img-main { grid-column: auto; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-copy { text-align: center; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .pc-only { display: none; }
}
