/* ==========================================================================
   UniGain Corporate Site - Brand Guidelines CSS
   ========================================================================== */

/* 
 * ブランドカラー:
 * - メイン: #0D1824 (深いネイビー)
 * - サブ: #17a0ce (ブルー)
 * - 背景: #FFFFFF
 * - グレー: #E6E8EB (淡グレー)
 */

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

/* CSS Variables */
:root {
  /* ブランドカラー（オリジナル） */
  --color-primary: #0D1824;
  --color-accent: #17a0ce;
  --color-white: #FFFFFF;
  --color-gray: #E6E8EB;
  --color-text: #333333;
  --color-text-light: #666666;
  
  /* エイリアス（互換性のため） */
  --primary-color: #0D1824;
  --accent-color: #17a0ce;
  --white: #FFFFFF;
  --background-gray: #E6E8EB;
  --text-color: #2c3e50;
  --text-light: #64748b;
  --border-color: #e2e8f0;
  --success: #10b981;
  
  /* グラデーション */
  --gradient-primary: linear-gradient(135deg, #0D1824 0%, #1a2a3a 100%);
  --gradient-accent: linear-gradient(135deg, #17a0ce 0%, #1286ad 100%);
  --gradient-light: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --gradient-hero: linear-gradient(135deg, #0D1824 0%, #17a0ce 100%);
  
  /* シャドウ */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 20px rgba(0,0,0,0.1);
  --shadow-xl: 0 10px 30px rgba(0,0,0,0.12);
  --shadow-2xl: 0 20px 50px rgba(0,0,0,0.15);
  
  /* フォント */
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  
  /* スペーシング */
  --max-width: 1200px;
  --spacing-base: 100px;
  --spacing-section: 120px;
  --spacing-medium: 60px;
  --spacing-small: 40px;
  --spacing-xsmall: 20px;
  
  /* ボーダー */
  --border-radius: 8px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* トランジション */
  --transition: all 0.3s ease;
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  line-height: 1.7;
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary-color);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.text-center h2::after,
h2.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

/* Container & Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

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

.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
  color: var(--white);
}

.section-gray {
  background-color: var(--background-gray);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(13, 24, 36, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0;
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-en);
  transition: all var(--transition-base);
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--accent-color);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: 600;
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(23, 160, 206, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Hero Section - 濃紺から黒へのグラデーション */
.hero {
  min-height: 100vh;
  background: radial-gradient(ellipse at center, #0a1628 0%, #000000 100%);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 100px 24px 60px;
  overflow: hidden;
}

/* Network Canvas Animation - 3D地球儀ネットワーク */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 1;
  filter: drop-shadow(0 0 40px rgba(23, 160, 206, 0.3));
}

/* Hero Background - 中心の明るいグロー */
.hero::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center, 
    rgba(100, 220, 255, 0.08) 0%, 
    rgba(23, 160, 206, 0.04) 40%, 
    transparent 70%);
  z-index: 0;
  pointer-events: none;
  animation: centerGlow 8s ease-in-out infinite;
}

@keyframes centerGlow {
  0%, 100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes heroWave {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
}

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

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
  opacity: 0;
  display: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(23, 160, 206, 0.1);
  filter: blur(40px);
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 10%;
  background: rgba(23, 160, 206, 0.08);
  animation: float1 20s infinite;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  top: 50%;
  right: 15%;
  background: rgba(23, 160, 206, 0.06);
  animation: float2 18s infinite;
}

.hero-shape-3 {
  width: 500px;
  height: 500px;
  bottom: 10%;
  left: 20%;
  background: rgba(23, 160, 206, 0.05);
  animation: float3 25s infinite;
}

.hero-shape-4 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 30%;
  background: rgba(23, 160, 206, 0.04);
  animation: float4 22s infinite;
}

.hero-shape-5 {
  width: 350px;
  height: 350px;
  bottom: 20%;
  right: 10%;
  background: rgba(23, 160, 206, 0.06);
  animation: float5 19s infinite;
}

@keyframes float1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -40px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes float2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-40px, 30px) scale(1.15);
  }
}

@keyframes float3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(20px, 30px) scale(0.95);
  }
  66% {
    transform: translate(-30px, -20px) scale(1.05);
  }
}

@keyframes float4 {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(25px, -25px) rotate(180deg);
  }
}

@keyframes float5 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-25px, -30px) scale(1.1);
  }
  66% {
    transform: translate(35px, 25px) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.hero-tagline {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.hero-accent-line {
  width: 100px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 2rem auto;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* Service Cards */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.service-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-card-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-accent);
  color: var(--white);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.service-card:hover .service-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-xl);
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Feature Section */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 2.5rem;
}

.feature-item {
  text-align: center;
}

.feature-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--text-light);
  line-height: 1.8;
}

/* Mission/Vision Section */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.mission-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-left: 5px solid var(--accent-color);
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: all var(--transition-base);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.mission-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: var(--accent-color);
  opacity: 0.05;
  border-radius: 50%;
  transform: translate(30%, -30%);
  transition: all var(--transition-base);
}

.mission-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
}

.mission-card:hover::after {
  transform: translate(20%, -20%) scale(1.2);
}

.mission-card h3 {
  font-family: var(--font-en);
  color: var(--accent-color);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.mission-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.8;
}

.mission-card strong {
  color: var(--white);
}

/* FAQ Section */
.faq-list {
  max-width: 900px;
  margin: 2.5rem auto 0;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category-title {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--accent-color);
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-base);
  background-color: var(--white);
}

.faq-question:hover {
  background-color: var(--background-gray);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: var(--transition-base);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

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

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* Contact Form */
.contact-form {
  max-width: 700px;
  margin: 2.5rem auto 0;
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.form-label.required::after {
  content: ' *';
  color: var(--accent-color);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-hero);
  color: var(--white);
  text-align: center;
  padding: 80px 24px;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section h2::after {
  display: none;
}

.cta-description {
  font-size: 1.1rem;
  margin: 1rem auto 2rem;
  max-width: 700px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-company h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-company p {
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-links h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.9rem;
  transition: var(--transition-base);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
}

.social-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--spacing-small) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Company Info Table */
.company-table {
  width: 100%;
  max-width: 900px;
  margin: 2.5rem auto 0;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.company-table tr {
  border-bottom: 1px solid var(--border-color);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th {
  background-color: var(--background-gray);
  padding: 1.5rem;
  text-align: left;
  font-weight: 600;
  color: var(--primary-color);
  width: 200px;
}

.company-table td {
  padding: 1.5rem;
  color: var(--text-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

/* Responsive Design */
@media (max-width: 968px) {
  .section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-tagline {
    font-size: 1.2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  
  .mission-grid {
    gap: 1.5rem;
  }
  
  .company-table th {
    width: 120px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .cta-section {
    padding: 50px 16px;
  }
  
  .footer {
    padding: 50px 0 25px;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
  }
  
  .nav .nav-link {
    color: var(--primary-color);
  }
  
  .nav .nav-link:hover {
    color: var(--accent-color);
  }
  
  .nav.active {
    left: 0;
  }
  
  .hero {
    min-height: 80vh;
    padding: 100px 16px 40px;
  }
  
  /* モバイルでは背景アニメーションのサイズを縮小 */
  .hero-shape-1 {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape-2 {
    width: 200px;
    height: 200px;
  }
  
  .hero-shape-3 {
    width: 300px;
    height: 300px;
  }
  
  .hero-shape-4 {
    width: 150px;
    height: 150px;
  }
  
  .hero-shape-5 {
    width: 200px;
    height: 200px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .stat-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 2rem;
  }
  
  .mission-card {
    padding: 2rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .company-table {
    font-size: 0.9rem;
  }
  
  .company-table th,
  .company-table td {
    padding: 1rem;
    display: block;
    width: 100%;
  }
  
  .company-table th {
    background-color: var(--primary-color);
    color: var(--white);
  }
}

/* Statistics Cards */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: all var(--transition-base);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover::before {
  opacity: 0.03;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-color);
}

.stat-number {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

/* English Text Styling */
.en-text {
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Badge Styles */
.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.badge-primary {
  background: var(--gradient-accent);
  color: var(--white);
}

.badge-secondary {
  background: var(--background-gray);
  color: var(--text-color);
}

.badge-success {
  background: var(--success);
  color: var(--white);
}

/* Button Icon Styles */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.btn-icon::after {
  content: '→';
  font-size: 1.25rem;
  transition: transform var(--transition-base);
}

.btn-icon:hover::after {
  transform: translateX(4px);
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-center > * {
  margin-left: auto;
  margin-right: auto;
}

.text-accent {
  color: var(--accent-color);
}

.mb-small {
  margin-bottom: 2rem;
}

.mb-medium {
  margin-bottom: 3rem;
}

.mt-small {
  margin-top: 2rem;
}

.mt-medium {
  margin-top: 3rem;
}

/* ================================================
   アクセシビリティ: アニメーション削減設定
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .hero::before,
  .hero::after,
  .hero-shape {
    animation: none !important;
  }
  
  .hero-canvas {
    display: none !important;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ================================================
   FAQ アコーディオン
   ================================================ */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 3rem;
}

.faq-category-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent-color);
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: #666;
  line-height: 1.8;
}

/* ================================================
   お問い合わせフォーム
   ================================================ */
.contact-form {
  width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #E6E8EB;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(23, 160, 206, 0.1);
}

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

.form-input::placeholder,
.form-textarea::placeholder {
  color: #999;
}

/* ================================================
   アニメーション
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ヘッダースクロール時のスタイル */
.header.scrolled {
  background: rgba(13, 24, 36, 0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ================================================
   ページトップボタン（JavaScriptで動的生成）
   ================================================ */
.scroll-to-top:hover {
  background: #0D1824 !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3) !important;
}
