/* assets/css/style.css 
 * 株式会社Felixis 共通スタイルシート
 * Version: 1.5.0 (Recruit Extension)
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;300;400;500;700&family=Noto+Sans+JP:wght@100;300;400;500;700&display=swap');

:root {
  --accent-blue: #60a5fa;
  --accent-purple: #a855f7;
  --deep-space: #010208;
  --text-main: #e2e8f0;
  --text-dim: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --recruit-accent: #34d399; /* 成長をイメージさせるエメラルド */
}

/* --- 1. Base Styles --- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--deep-space);
  color: var(--text-main);
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* --- 2. Typography & Gradients --- */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.tagline {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 2rem;
  position: relative;
  padding-left: 3.5rem;
  opacity: 0.9;
}

.tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2.5rem;
  height: 1px;
  background: var(--accent-blue);
}

/* --- 3. Atmosphere & Backgrounds --- */
.bg-grid-pattern {
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 40px 40px;
}

.glass-nav {
  background: rgba(1, 2, 8, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- 4. Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 5. Interactive Components --- */
.interactive-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 2rem;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.interactive-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(59, 130, 246, 0.25);
}

/* --- 6. Page Specifics (Privacy) --- */
.privacy-content .privacy-contact {
  line-height: 1.25;
  margin-bottom: 0.6rem;
}

/* --- 6. Page Specifics (Company) --- */
.company-dl dt {
    color: var(--accent-blue);
    opacity: 0.7;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.company-dl dd {
    color: var(--text-main);
    font-weight: 300;
}

.map-container {
    filter: grayscale(1) invert(0.9) contrast(1.2);
    transition: all 0.8s ease;
}

.map-container:hover {
    filter: grayscale(0.2) invert(0) contrast(1);
}

/* --- 7. Page Specifics (Recruit) --- */
.recruit-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.recruit-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: var(--recruit-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.stat-card {
  padding: 2rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 1.5rem;
  transition: all 0.4s ease;
}

.stat-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--accent-blue);
}

.requirement-row {
  display: grid;
  grid-template-cols: 1fr;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

@media (min-width: 768px) {
  .requirement-row {
    grid-template-cols: 240px 1fr;
  }
}

.requirement-label {
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* --- 8. Utility & Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--deep-space);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

/* --- 9. Responsive Mobile Adjustments --- */
@media (max-width: 768px) {
  .tagline {
    font-size: 9px;
    letter-spacing: 0.3em;
  }
  .interactive-card {
    border-radius: 1.5rem;
  }
}

/* ===== Navigation polish for Felixis ===== */

#navbar {
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

#navbar.glass-nav {
  background: rgba(1, 2, 8, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

#navbar .md\:flex a {
  position: relative;
  transition:
    color 0.22s ease,
    opacity 0.22s ease,
    transform 0.22s ease;
  will-change: color, transform;
}

#navbar .md\:flex a:hover {
  transform: translateY(-1px);
}

#navbar .md\:flex a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(59,130,246,0.95), rgba(168,85,247,0.95));
  transition: width 0.25s ease;
  opacity: 0.9;
}

#navbar .md\:flex a.text-white.border-b::after {
  display: none;
}

#navbar .md\:flex a:hover::after {
  width: 100%;
}

#navbar .md\:flex a.text-white.border-b {
  border-bottom-color: rgba(59, 130, 246, 0.95);
  text-shadow: 0 0 12px rgba(59, 130, 246, 0.18);
}

#mobile-menu {
  background:
    radial-gradient(circle at top, rgba(59,130,246,0.10), transparent 35%),
    radial-gradient(circle at bottom right, rgba(168,85,247,0.10), transparent 30%),
    rgba(0, 0, 0, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#mobile-menu a {
  transition:
    color 0.22s ease,
    transform 0.22s ease,
    opacity 0.22s ease;
}

#mobile-menu a:hover {
  color: #ffffff;
  transform: translateY(-1px) scale(1.01);
}

#mobile-menu a.text-blue-500 {
  text-shadow: 0 0 16px rgba(59, 130, 246, 0.35);
}

#navbar button,
#mobile-menu button {
  transition: opacity 0.22s ease, transform 0.22s ease;
}

#navbar button:hover,
#mobile-menu button:hover {
  opacity: 0.85;
  transform: scale(1.04);
}