/*
Theme Name: Tsuji Denki
Theme URI: https://tds-tsujiden.com
Description: Modern & Clean Energy - 白を基調とした爽やかなデザイン
Version: 3.0.0
Author: TDS
*/

/* ============================================
   DESIGN CONCEPT: "Modern & Clean Energy"
   - 圧倒的な清潔感と透明感
   - 白ベースにオレンジのアクセント
   - 風通しの良い余白設計
   ============================================ */

/* ============================================
   CSS Variables - Clean Energy Palette
   ============================================ */
:root {
  /* Base Colors - Light & Clean */
  --color-white: #ffffff;
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f8fafc;
  --color-bg-subtle: #f1f5f9;
  --color-bg-accent: #fff7ed;

  /* Orange Accent - Energy */
  --color-orange-50: #fff7ed;
  --color-orange-100: #ffedd5;
  --color-orange-200: #fed7aa;
  --color-orange-300: #fdba74;
  --color-orange-400: #fb923c;
  --color-orange-500: #f7941d;
  --color-orange-600: #ea580c;
  --color-orange-700: #c2410c;

  /* Blue Sub Color - Trust & Intelligence */
  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;

  /* Midnight - Text & Contrast */
  --color-midnight: #0f172a;
  --color-navy: #1e293b;

  /* Text Colors */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-light: #cbd5e1;

  /* Borders */
  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-orange: rgba(247, 148, 29, 0.3);

  /* Shadows - Subtle & Clean */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
  --shadow-orange: 0 4px 14px rgba(247, 148, 29, 0.25);
  --shadow-orange-lg: 0 10px 30px rgba(247, 148, 29, 0.3);

  /* Glass Effect */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-blur: blur(12px);

  /* Transitions - Smooth & Natural */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 350ms;

  /* Spacing */
  --section-padding: 6rem;
  --container-max: 1200px;
}

/* ============================================
   Base & Reset
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--color-bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--duration-normal) var(--ease-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   Header - White Glass Morphism
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: transparent;
  transition: all var(--duration-slow) var(--ease-smooth);
}

/* Default state: Over hero (white text for visibility) */
.site-header .logo-text-main,
.site-header .nav-link {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all var(--duration-slow) var(--ease-smooth);
}

.site-header .logo-text-sub {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: all var(--duration-slow) var(--ease-smooth);
}

.site-header .nav-link:hover {
  color: var(--color-orange-400);
}

/* Mobile menu button - white bars */
.site-header .mobile-menu-toggle span {
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Scrolled state: Glass background (dark text) */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.site-header.scrolled .logo-text-main {
  color: var(--text-primary);
  text-shadow: none;
}

.site-header.scrolled .logo-text-sub {
  color: var(--text-muted);
  text-shadow: none;
}

.site-header.scrolled .nav-link {
  color: var(--text-secondary);
  text-shadow: none;
}

.site-header.scrolled .nav-link:hover {
  color: var(--color-orange-500);
}

.site-header.scrolled .mobile-menu-toggle span {
  background: var(--text-primary);
  box-shadow: none;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-400));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-orange);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.site-logo:hover .logo-icon {
  transform: scale(1.05);
  box-shadow: var(--shadow-orange-lg);
}

.logo-icon svg {
  color: var(--color-white);
}

.logo-text-main {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.logo-text-sub {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange-500);
  transition: width var(--duration-normal) var(--ease-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: var(--color-white);
  font-weight: 600;
  border-radius: 50px;
  box-shadow: var(--shadow-orange);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--duration-normal) var(--ease-smooth);
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .site-header {
    padding: 1rem;
  }
}

/* ============================================
   Hero Section - Bright & Open
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

/* Background Elements */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* Soft Grid Pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
  background-size: 80px 80px;
}

/* Soft Orange Glow */
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--color-orange-200);
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: var(--color-blue-100);
  bottom: -100px;
  left: -100px;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem;
  max-width: 900px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: var(--color-orange-50);
  border: 1px solid var(--color-orange-200);
  border-radius: 50px;
  color: var(--color-orange-600);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  background: var(--color-orange-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.hero-title-accent {
  display: inline;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: var(--color-white);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  box-shadow: var(--shadow-orange);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-orange-lg);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-white);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 1rem;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.cta-secondary:hover {
  border-color: var(--color-orange-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-orange-400), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ============================================
   Section Styles
   ============================================ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: inline-block;
  color: var(--color-orange-500);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.section-title-accent {
  color: var(--color-orange-500);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-orange-400), var(--color-orange-500));
  margin: 1.5rem auto;
  border-radius: 2px;
}

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.9;
}

/* Section Separator Line */
.section-separator {
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    var(--color-orange-200) 20%,
    var(--color-orange-300) 50%,
    var(--color-orange-200) 80%,
    transparent
  );
  margin: 0 auto;
  max-width: 80%;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
  background: var(--color-bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all var(--duration-slow) var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange-400), var(--color-orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-orange-200);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--color-orange-50);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-500);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: var(--color-white);
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ============================================
   News Section
   ============================================ */
.news-section {
  background: var(--color-bg-primary);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all var(--duration-slow) var(--ease-smooth);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-orange-200);
}

.news-card a {
  display: block;
}

.news-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-subtle);
}

.news-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-smooth);
}

.news-card:hover .news-card-thumb img {
  transform: scale(1.05);
}

.news-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-300);
}

.news-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.news-card-body {
  padding: 1.5rem;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.news-card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-card-cat {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 500;
}

.news-card-cat.cat-info {
  background: var(--color-blue-50);
  color: var(--color-blue-600);
}

.news-card-cat.cat-works {
  background: var(--color-orange-50);
  color: var(--color-orange-600);
}

.news-card-cat.cat-other {
  background: var(--color-bg-subtle);
  color: var(--text-secondary);
}

.news-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* News More Link */
.news-more-wrap {
  text-align: center;
  margin-top: 3rem;
}

.news-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 500;
  background: var(--color-white);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.news-more-link:hover {
  border-color: var(--color-orange-400);
  color: var(--color-orange-500);
  box-shadow: var(--shadow-md);
}

/* ============================================
   Stats Section
   ============================================ */
.stats-section {
  background: linear-gradient(135deg, var(--color-orange-500) 0%, var(--color-orange-600) 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.cta-description {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-white);
  color: var(--text-primary);
  font-size: 1.25rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-smooth);
}

.cta-phone:hover {
  border-color: var(--color-orange-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.cta-phone svg {
  color: var(--color-orange-500);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--color-midnight);
  color: var(--color-white);
}

.footer-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand .site-logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo-text-main {
  color: var(--color-white);
}

.footer-brand .logo-text-sub {
  color: var(--text-light);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.9;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-orange-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.95rem;
  transition: color var(--duration-normal);
}

.footer-links a:hover {
  color: var(--color-orange-400);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact-item svg {
  flex-shrink: 0;
  color: var(--color-orange-400);
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 2rem;
  text-align: center;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ============================================
   Archive / News Page Styles
   ============================================ */
.archive-header {
  background: var(--color-bg-secondary);
  padding: 8rem 2rem 3rem;
  text-align: center;
}

.archive-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.archive-description {
  color: var(--text-secondary);
}

/* Category Tabs */
.category-tabs-wrapper {
  background: var(--color-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.category-tabs {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--duration-normal);
}

.category-tab:hover {
  color: var(--text-primary);
}

.category-tab.active {
  color: var(--color-orange-500);
  border-bottom-color: var(--color-orange-500);
}

/* Archive Grid */
.archive-content {
  background: var(--color-bg-primary);
  padding: 3rem 2rem;
}

.archive-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* Pagination */
.pagination-wrapper {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--duration-normal);
}

.page-numbers:hover {
  border-color: var(--color-orange-400);
  color: var(--color-orange-500);
}

.page-numbers.current {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  border-color: transparent;
  color: var(--color-white);
}

/* Single Post */
.single-post-header {
  background: var(--color-bg-secondary);
  padding: 8rem 2rem 3rem;
}

.single-post-header-inner {
  max-width: 800px;
  margin: 0 auto;
}

.single-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.single-post-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.single-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.single-post-content h2,
.single-post-content h3 {
  margin: 2rem 0 1rem;
  color: var(--text-primary);
}

.single-post-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 2;
}

/* ============================================
   Page Templates
   ============================================ */
.page-header {
  background: var(--color-bg-secondary);
  padding: 8rem 2rem 3rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

/* ============================================
   Contact Form
   ============================================ */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-label .required {
  color: var(--color-orange-500);
  margin-left: 0.25rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all var(--duration-normal);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-orange-400);
  box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: var(--shadow-orange);
  transition: all var(--duration-normal);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange-lg);
}

/* ============================================
   Responsive Utilities
   ============================================ */
.sp-only {
  display: none;
}

.pc-only {
  display: inline;
}

@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-phone {
    font-size: 1.1rem;
  }
}

/* ============================================
   Animation Utilities
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s var(--ease-smooth) forwards;
}

/* Stagger animation delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   Main Visual - Power Grid Command Center
   フルワイド・フルスクリーン
   ============================================ */

/* --- Section Container --- */
.cmd-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  overflow: hidden;
}

/* Blueprint Grid Background */
.cmd-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 148, 29, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 148, 29, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Animated Scan Lines */
.cmd-scanlines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.cmd-scanline {
  position: absolute;
}

.cmd-scanline--h {
  width: 100%;
  height: 1px;
  left: 0;
  background: linear-gradient(90deg, transparent, rgba(247, 148, 29, 0.4), transparent);
  animation: scanH 6s linear infinite;
}

.cmd-scanline--v {
  width: 1px;
  height: 100%;
  top: 0;
  background: linear-gradient(180deg, transparent, rgba(247, 148, 29, 0.3), transparent);
  animation: scanV 8s linear infinite;
}

@keyframes scanH {
  0% { top: -5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

@keyframes scanV {
  0% { left: -5%; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { left: 105%; opacity: 0; }
}

/* Corner Coordinates */
.cmd-coords {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.cmd-coords--tl { top: 2rem; left: 2rem; }
.cmd-coords--tr { top: 2rem; right: 2rem; }
.cmd-coords--bl { bottom: 2rem; left: 2rem; }
.cmd-coords--br { bottom: 2rem; right: 2rem; }

.cmd-coord-label { color: rgba(255, 255, 255, 0.3); }
.cmd-coord-val { color: rgba(255, 255, 255, 0.5); }
.cmd-coord-unit { color: var(--color-orange-500); }
.cmd-pwr-val { color: var(--color-orange-500); font-weight: 700; }

.cmd-status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  margin-right: 0.3rem;
  animation: statusPulse 2s ease infinite;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Full Screen Content */
.cmd-fullscreen {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  padding: 0 2rem;
  text-align: center;
}

/* Status Label */
.cmd-label {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cmd-label-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-orange-500), transparent);
}

.cmd-label-text {
  font-family: 'Inter', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* Main Title */
.cmd-title {
  margin-bottom: 2rem;
}

.cmd-title-line {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.5rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 0 60px rgba(255, 255, 255, 0.1);
}

.cmd-title-accent {
  color: var(--color-orange-500);
  text-shadow:
    0 0 30px rgba(247, 148, 29, 0.6),
    0 0 60px rgba(247, 148, 29, 0.4),
    0 0 90px rgba(247, 148, 29, 0.2);
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 30px rgba(247, 148, 29, 0.6),
      0 0 60px rgba(247, 148, 29, 0.4),
      0 0 90px rgba(247, 148, 29, 0.2);
  }
  50% {
    text-shadow:
      0 0 40px rgba(247, 148, 29, 0.8),
      0 0 80px rgba(247, 148, 29, 0.5),
      0 0 120px rgba(247, 148, 29, 0.3);
  }
}

/* Power Bar */
.cmd-power-bar {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 3px;
  margin: 0 auto 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cmd-power-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-orange-400), var(--color-orange-500));
  box-shadow: 0 0 20px rgba(247, 148, 29, 0.6);
}

.cmd-power-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: powerGlow 2s ease infinite;
}

@keyframes powerGlow {
  0% { transform: translateX(-60px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(500px); opacity: 0; }
}

/* Japanese Subtitle */
.cmd-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 2.2;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

/* CTA Buttons */
.cmd-cta-group {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cmd-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  box-shadow:
    0 4px 20px rgba(247, 148, 29, 0.4),
    0 0 40px rgba(247, 148, 29, 0.2);
  transition: all 0.4s ease;
}

.cmd-cta-primary:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 30px rgba(247, 148, 29, 0.5),
    0 0 60px rgba(247, 148, 29, 0.3);
}

.cmd-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.cmd-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Service Indicators (Left Side) */
.cmd-services {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cmd-service {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cmd-service-num {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

.cmd-service-dot {
  width: 4px;
  height: 4px;
  background: var(--color-orange-500);
}

.cmd-service-name {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* Years Badge (Right Side) */
.cmd-years {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  text-align: right;
}

.cmd-years-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--color-orange-500);
  text-shadow:
    0 0 30px rgba(247, 148, 29, 0.5),
    0 0 60px rgba(247, 148, 29, 0.3);
}

.cmd-years-label {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
}

/* Scroll Indicator */
.cmd-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.cmd-scroll-text {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.4);
}

.cmd-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-orange-500), transparent);
  animation: scrollLineAnim 2s ease-in-out infinite;
}

@keyframes scrollLineAnim {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
}

.cmd-scroll-dot {
  width: 4px;
  height: 4px;
  background: var(--color-orange-500);
  animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.5; }
}

/* MV Responsive */
@media (max-width: 1200px) {
  .cmd-services { display: none; }
  .cmd-years { display: none; }
}

@media (max-width: 768px) {
  .cmd-coords { display: none; }

  .cmd-title-line {
    font-size: clamp(2.5rem, 15vw, 5rem);
  }

  .cmd-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .cmd-label-line { width: 30px; }
  .cmd-label-text { font-size: 0.65rem; letter-spacing: 0.15em; }

  .cmd-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cmd-cta-primary,
  .cmd-cta-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1rem 2rem;
  }

  .cmd-scroll { bottom: 1.5rem; }
}

/* ============================================
   Power Grid Hero - Subpage Hero Section
   Industrial Command Center Design (No Images)
   ============================================ */
.pg-hero {
  position: relative;
  min-height: 320px;
  height: 40vh;
  max-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0e1a 0%, #0f172a 50%, #0a0e1a 100%);
}

/* Blueprint Grid Background */
.pg-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 148, 29, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 148, 29, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(247, 148, 29, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 148, 29, 0.02) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  pointer-events: none;
}

/* Scan Line Animation */
.pg-hero-scanline {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-orange-500), transparent);
  animation: pgScanMove 4s ease-in-out infinite;
  opacity: 0.6;
  z-index: 5;
}

@keyframes pgScanMove {
  0%, 100% { top: 0; opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}

/* Corner Elements */
.pg-hero-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 10;
}

.pg-hero-corner--tl { top: 20px; left: 20px; }
.pg-hero-corner--tr { top: 20px; right: 20px; }
.pg-hero-corner--bl { bottom: 60px; left: 20px; }
.pg-hero-corner--br { bottom: 60px; right: 20px; }

.pg-corner-line {
  position: absolute;
  background: var(--color-orange-500);
  opacity: 0.5;
}

.pg-corner-line--h {
  height: 1px;
  width: 100%;
  top: 0;
}

.pg-corner-line--v {
  width: 1px;
  height: 100%;
  left: 0;
}

.pg-hero-corner--tr .pg-corner-line--h { right: 0; left: auto; }
.pg-hero-corner--tr .pg-corner-line--v { right: 0; left: auto; }
.pg-hero-corner--bl .pg-corner-line--h { bottom: 0; top: auto; }
.pg-hero-corner--bl .pg-corner-line--v { bottom: 0; top: auto; }
.pg-hero-corner--br .pg-corner-line--h { bottom: 0; top: auto; right: 0; left: auto; }
.pg-hero-corner--br .pg-corner-line--v { bottom: 0; top: auto; right: 0; left: auto; }

/* Status Indicator */
.pg-hero-status {
  position: absolute;
  top: 24px;
  right: 80px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.pg-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pgStatusPulse 2s ease-in-out infinite;
}

@keyframes pgStatusPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #22c55e; }
  50% { opacity: 0.6; box-shadow: 0 0 4px #22c55e; }
}

.pg-status-text {
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #22c55e;
  text-transform: uppercase;
}

/* Hero Content */
.pg-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 2rem;
  padding-top: 40px;
}

/* English Title */
.pg-hero-title-en {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--color-orange-500);
  text-shadow:
    0 0 30px rgba(247, 148, 29, 0.6),
    0 0 60px rgba(247, 148, 29, 0.3);
  margin: 0;
}

/* Accent Line */
.pg-hero-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 1rem 0;
}

.pg-accent-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-orange-500));
}

.pg-accent-dot {
  width: 6px;
  height: 6px;
  background: var(--color-orange-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-orange-500);
}

.pg-hero-accent .pg-accent-line:last-of-type {
  background: linear-gradient(90deg, var(--color-orange-500), transparent);
}

/* Japanese Title */
.pg-hero-title-ja {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.2em;
  margin: 0;
}

/* Breadcrumb */
.pg-hero-breadcrumb {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 14, 26, 0.8);
  border-top: 1px solid rgba(247, 148, 29, 0.2);
  padding: 0.75rem 2rem;
  z-index: 10;
}

.pg-breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.pg-breadcrumb-item {
  display: flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.pg-breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
  letter-spacing: 0.05em;
}

.pg-breadcrumb-item a:hover {
  color: var(--color-orange-400);
}

.pg-breadcrumb-item:not(:last-child)::after {
  content: '>';
  margin: 0 0.75rem;
  color: rgba(247, 148, 29, 0.5);
  font-size: 0.7rem;
}

.pg-breadcrumb-item--current {
  color: var(--color-orange-400);
  font-weight: 500;
}

.pg-breadcrumb-item--current span {
  max-width: 300px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Power Grid Hero Responsive */
@media (max-width: 768px) {
  .pg-hero {
    min-height: 280px;
    height: 35vh;
  }

  .pg-hero-title-en {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .pg-hero-title-ja {
    font-size: 0.875rem;
    letter-spacing: 0.15em;
  }

  .pg-hero-corner {
    width: 24px;
    height: 24px;
  }

  .pg-hero-corner--tl { top: 12px; left: 12px; }
  .pg-hero-corner--tr { top: 12px; right: 12px; }
  .pg-hero-corner--bl { bottom: 50px; left: 12px; }
  .pg-hero-corner--br { bottom: 50px; right: 12px; }

  .pg-hero-status {
    top: 16px;
    right: 50px;
  }

  .pg-hero-breadcrumb {
    padding: 0.6rem 1rem;
  }

  .pg-breadcrumb-item {
    font-size: 0.7rem;
  }

  .pg-breadcrumb-item:not(:last-child)::after {
    margin: 0 0.5rem;
  }

  .pg-breadcrumb-item--current span {
    max-width: 150px;
  }
}

@media (max-width: 480px) {
  .pg-hero-corner,
  .pg-hero-status {
    display: none;
  }

  .pg-hero-content {
    padding-top: 60px;
  }
}

/* ============================================
   Single Post Styles
   ============================================ */
.single-main {
  background: var(--color-bg-primary);
}

.single-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.single-header {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-light);
}

.single-header-inner {
  max-width: 100%;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.single-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.single-date svg {
  color: var(--color-orange-400);
}

.single-cat {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 500;
}

.single-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
}

.single-thumbnail {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.single-thumbnail img {
  width: 100%;
  height: auto;
}

.single-content {
  padding: 3rem 0;
}

.single-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-orange-400);
}

.single-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.single-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 2;
}

.single-content ul,
.single-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
  color: var(--text-secondary);
}

.single-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.single-content a {
  color: var(--color-orange-500);
  text-decoration: underline;
}

.single-content a:hover {
  color: var(--color-orange-600);
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.single-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--color-bg-secondary);
  border-left: 4px solid var(--color-orange-400);
  border-radius: 0 8px 8px 0;
  color: var(--text-secondary);
  font-style: italic;
}

/* Single Footer */
.single-footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-light);
}

/* Share Buttons */
.single-share {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.share-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg-secondary);
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
}

.share-twitter:hover {
  background: #1da1f2;
  color: #fff;
}

.share-facebook:hover {
  background: #1877f2;
  color: #fff;
}

.share-line:hover {
  background: #00c300;
  color: #fff;
}

/* Post Navigation */
.single-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.nav-prev,
.nav-next {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--color-bg-secondary);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.nav-prev:hover,
.nav-next:hover {
  background: var(--color-orange-50);
  transform: translateY(-2px);
}

.nav-next {
  text-align: right;
  align-items: flex-end;
}

.nav-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}

.nav-placeholder {
  flex: 1;
}

/* Back Link */
.single-back {
  text-align: center;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s ease;
}

.back-link:hover {
  border-color: var(--color-orange-400);
  color: var(--color-orange-500);
}

/* ============================================
   Page Styles
   ============================================ */
.page-main {
  background: var(--color-bg-primary);
}

.page-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-content {
  color: var(--text-secondary);
  line-height: 2;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-orange-400);
}

.page-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.page-content p {
  margin-bottom: 1.5rem;
}

/* Single & Page Responsive */
@media (max-width: 768px) {
  .single-article,
  .page-container {
    padding: 0 1rem;
  }

  .single-header {
    padding: 2rem 0;
  }

  .single-content,
  .page-content {
    padding: 2rem 0;
  }

  .single-nav {
    flex-direction: column;
  }

  .nav-next {
    text-align: left;
    align-items: flex-start;
  }
}

/* ============================================
   Company Page Styles
   ============================================ */
.company-main {
  background: var(--color-bg-primary);
}

/* Message Section */
.company-message-section {
  background: var(--color-bg-primary);
}

.company-message-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.company-message-visual {
  position: relative;
}

.company-message-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.company-message-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-orange-400);
  border-radius: 16px;
  z-index: -1;
  opacity: 0.5;
}

.company-message-image img {
  width: 100%;
  height: auto;
  display: block;
}

.company-message-content {
  position: relative;
}

.company-message-text {
  margin-bottom: 2rem;
}

.company-message-text p {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 2.2;
  margin-bottom: 1.5rem;
}

.company-message-text p:last-child {
  margin-bottom: 0;
}

.company-message-signature {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: right;
}

.signature-name {
  font-family: 'Caveat', cursive;
  font-size: 2rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.signature-position {
  font-size: 0.875rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

/* ============================================
   Philosophy Section - 経営理念
   ============================================ */
.philosophy-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-catchphrase {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  line-height: 1.6;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

/* Divider */
.philosophy-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 2rem 0;
}

.philosophy-divider-line {
  width: 60px;
  height: 1px;
  background: var(--color-orange-500);
  opacity: 0.6;
}

.philosophy-divider-dot {
  width: 8px;
  height: 8px;
  background: var(--color-orange-500);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(247, 148, 29, 0.4);
}

/* Body Text */
.philosophy-body {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* 3 Pillars */
/* 3 Pillars - Industrial Panel Design */
.philosophy-pillars {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 2.5rem 2rem 2rem;
  flex: 1;
  background: #0f172a;
  overflow: hidden;
}

.philosophy-pillar:nth-child(2) {
  border-left: 1px solid rgba(247, 148, 29, 0.15);
  border-right: 1px solid rgba(247, 148, 29, 0.15);
}

/* Top accent line */
.philosophy-pillar-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.philosophy-pillar-line {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--color-orange-500), transparent);
}

/* Background number watermark */
.philosophy-pillar-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Inter', monospace;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(247, 148, 29, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* Japanese label */
.philosophy-pillar-label {
  position: relative;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2em;
  z-index: 2;
}

/* English sub-label */
.philosophy-pillar-en {
  position: relative;
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-orange-500);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
  margin-top: 0.25rem;
}

/* Corner accents */
.philosophy-pillar-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 2;
}

.philosophy-pillar-corner--bl {
  bottom: 8px;
  left: 8px;
  border-left: 1px solid rgba(247, 148, 29, 0.4);
  border-bottom: 1px solid rgba(247, 148, 29, 0.4);
}

.philosophy-pillar-corner--br {
  bottom: 8px;
  right: 8px;
  border-right: 1px solid rgba(247, 148, 29, 0.4);
  border-bottom: 1px solid rgba(247, 148, 29, 0.4);
}

/* Closing Statement */
.philosophy-closing {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Philosophy Responsive */
@media (max-width: 768px) {
  .philosophy-catchphrase {
    font-size: 1.375rem;
  }

  .philosophy-pillar {
    padding: 2rem 1rem 1.5rem;
  }

  .philosophy-pillar-bg {
    font-size: 3.5rem;
  }

  .philosophy-pillar-label {
    font-size: 1.35rem;
  }

  .philosophy-pillar-en {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .philosophy-pillar {
    padding: 1.75rem 0.5rem 1.25rem;
  }

  .philosophy-pillar-bg {
    font-size: 2.5rem;
  }

  .philosophy-pillar-label {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
  }

  .philosophy-pillar-en {
    font-size: 0.55rem;
    letter-spacing: 0.1em;
  }

  .philosophy-pillar-corner {
    width: 8px;
    height: 8px;
  }
}

/* Company Info Section */
.company-info-section {
  background: var(--color-bg-secondary);
}

.company-info-table {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.info-list {
  margin: 0;
}

.info-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-subtle);
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.info-row dd {
  padding: 1.25rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  display: flex;
  align-items: center;
}

.info-row dd a {
  color: var(--color-orange-500);
}

.info-row dd a:hover {
  color: var(--color-orange-600);
  text-decoration: underline;
}

/* History Section - Timeline */
.company-history-section {
  background: var(--color-bg-primary);
}

.company-timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 3rem;
}

.company-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    var(--color-orange-400),
    var(--color-orange-200)
  );
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -3rem;
  top: 0.25rem;
  width: 14px;
  height: 14px;
  background: var(--color-white);
  border: 3px solid var(--color-orange-400);
  border-radius: 50%;
  transform: translateX(-6px);
}

.timeline-item-now::before {
  width: 18px;
  height: 18px;
  background: var(--color-orange-500);
  border-color: var(--color-orange-500);
  transform: translateX(-8px);
  box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.2);
}

.timeline-year {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-orange-500);
  margin-bottom: 0.5rem;
}

.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Access Section */
.company-access-section {
  background: var(--color-bg-secondary);
}

.company-access-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.company-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.company-map iframe {
  display: block;
}

.company-access-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.access-info-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.access-info-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange-50);
  border-radius: 12px;
  color: var(--color-orange-500);
}

.access-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.access-info-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.access-info-value a {
  color: var(--color-orange-500);
  font-weight: 600;
}

.access-info-value a:hover {
  color: var(--color-orange-600);
}

.access-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 0.5rem;
}

/* Company Page Responsive */
@media (max-width: 900px) {
  .company-message-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-message-visual {
    max-width: 400px;
    margin: 0 auto;
  }

  .company-message-image::before {
    top: -10px;
    left: -10px;
  }

  .company-access-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-map iframe {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .info-row {
    grid-template-columns: 1fr;
  }

  .info-row dt {
    padding: 1rem 1.25rem 0.5rem;
    background: transparent;
    border-bottom: none;
  }

  .info-row dd {
    padding: 0.5rem 1.25rem 1rem;
  }

  .company-timeline {
    padding-left: 2rem;
  }

  .timeline-item::before {
    left: -2rem;
  }

  .timeline-year {
    font-size: 1.125rem;
  }
}

/* ============================================
   Contact Page Styles - CVR Optimized
   通電エフェクト・ステップインジケーター
   ============================================ */
.contact-main {
  background: var(--color-bg-primary);
}

/* Step Indicator */
.contact-steps {
  background: var(--color-bg-secondary);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-light);
}

.contact-steps-inner {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-subtle);
  border: 2px solid var(--border-light);
  border-radius: 50%;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.step-item.active .step-number {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  border-color: var(--color-orange-500);
  color: #fff;
  box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4);
}

.step-item.completed .step-number {
  background: var(--color-orange-500);
  border-color: var(--color-orange-500);
  color: #fff;
}

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.step-item.active .step-label {
  color: var(--color-orange-500);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border-light);
  margin: 0 1rem;
  margin-bottom: 1.5rem;
  max-width: 80px;
  position: relative;
  overflow: hidden;
}

.step-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-orange-400), var(--color-orange-500));
  transition: width 0.5s ease;
}

.step-item.completed + .step-line::after {
  width: 100%;
}

/* Contact Info Section */
.contact-info-section {
  padding: 3rem 0;
  background: var(--color-bg-primary);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.contact-info-card:hover {
  border-color: var(--color-orange-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-info-phone {
  background: linear-gradient(135deg, var(--color-orange-50), #fff);
  border-color: var(--color-orange-200);
}

.contact-info-phone:hover {
  border-color: var(--color-orange-400);
  box-shadow: 0 8px 25px rgba(247, 148, 29, 0.2);
}

.contact-info-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-orange-50);
  border-radius: 14px;
  color: var(--color-orange-500);
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #fff;
  transform: scale(1.05);
}

.contact-info-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-info-value.phone-number {
  font-family: 'Inter', sans-serif;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-orange-600);
}

.contact-info-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.contact-info-arrow {
  color: var(--color-orange-400);
  transition: transform 0.3s ease;
}

.contact-info-phone:hover .contact-info-arrow {
  transform: translateX(4px);
}

/* Contact Form Section */
.contact-form-section {
  padding: 4rem 0;
  background: var(--color-bg-secondary);
}

.contact-form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.contact-form-header {
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(180deg, var(--color-orange-50) 0%, transparent 100%);
}

.form-header-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 8px 25px rgba(247, 148, 29, 0.35);
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-form-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.required-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.required-mark {
  color: var(--color-orange-500);
  font-weight: 700;
}

.contact-form-body {
  padding: 2.5rem;
}

/* Form Elements */
.cf-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cf-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cf-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cf-label-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cf-required {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #fff;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.cf-optional {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: var(--color-bg-subtle);
  color: var(--text-muted);
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* Input Wrapper with Glow Effect */
.cf-input-wrapper,
.cf-select-wrapper {
  position: relative;
}

.cf-input,
.cf-textarea,
.cf-select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--color-bg-subtle);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
  color: var(--text-muted);
}

.cf-input:focus,
.cf-textarea:focus,
.cf-select:focus {
  background: var(--color-white);
  border-color: var(--color-orange-400);
  box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.1);
}

/* Electrifying Glow Effect */
.cf-input-glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-orange-500), transparent);
  transform: translateX(-50%);
  transition: width 0.4s ease;
  pointer-events: none;
}

.cf-input:focus ~ .cf-input-glow,
.cf-textarea:focus ~ .cf-input-glow,
.cf-select:focus ~ .cf-input-glow {
  width: 100%;
  animation: electricPulse 1.5s ease-in-out infinite;
}

@keyframes electricPulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 10px var(--color-orange-400), 0 0 20px rgba(247, 148, 29, 0.3);
  }
  50% {
    opacity: 0.7;
    box-shadow: 0 0 15px var(--color-orange-500), 0 0 30px rgba(247, 148, 29, 0.4);
  }
}

.cf-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.7;
}

/* Select Element */
.cf-select-wrapper {
  position: relative;
}

.cf-select {
  appearance: none;
  cursor: pointer;
  padding-right: 3rem;
}

.cf-select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s ease;
}

.cf-select:focus + .cf-select-arrow {
  color: var(--color-orange-500);
  transform: translateY(-50%) rotate(180deg);
}

/* Hint Text */
.cf-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 0.25rem;
}

/* Checkbox */
.cf-privacy {
  padding-top: 0.5rem;
}

.cf-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.cf-checkbox {
  display: none;
}

.cf-checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
  flex-shrink: 0;
}

.cf-checkbox-custom::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.2s ease;
}

.cf-checkbox:checked + .cf-checkbox-custom {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  border-color: var(--color-orange-500);
}

.cf-checkbox:checked + .cf-checkbox-custom::after {
  transform: rotate(45deg) scale(1);
}

.cf-checkbox-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.cf-checkbox-text a {
  color: var(--color-orange-500);
  text-decoration: underline;
}

.cf-checkbox-text a:hover {
  color: var(--color-orange-600);
}

/* Submit Button with Energy Effect */
.cf-submit-area {
  padding-top: 1rem;
}

.cf-submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(247, 148, 29, 0.35);
}

.cf-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(247, 148, 29, 0.45);
}

.cf-submit-btn:active {
  transform: translateY(-1px);
}

.cf-submit-text {
  position: relative;
  z-index: 2;
}

.cf-submit-icon {
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.cf-submit-btn:hover .cf-submit-icon {
  transform: translateX(4px);
}

/* Energy Charging Effect */
.cf-submit-energy {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  z-index: 1;
}

.cf-submit-btn:hover .cf-submit-energy {
  animation: energyCharge 0.8s ease forwards;
}

@keyframes energyCharge {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Form Notes */
.contact-form-notes {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.contact-form-notes p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-form-notes svg {
  flex-shrink: 0;
  color: var(--color-orange-400);
}

/* Phone CTA at bottom */
.contact-form-phone-cta {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.phone-cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.phone-cta-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.phone-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-orange-500);
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 148, 29, 0.4);
}

.phone-cta-button:hover {
  background: var(--color-orange-400);
  transform: scale(1.05);
}

.phone-number-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
}

.phone-cta-hours {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Map Section */
.contact-map-section {
  background: var(--color-bg-primary);
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  display: block;
}

.contact-map-info {
  padding: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
}

.map-info-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-orange-400);
}

.map-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.map-info-item svg {
  flex-shrink: 0;
  color: var(--color-orange-500);
  margin-top: 2px;
}

.map-info-item a {
  color: var(--color-orange-500);
  font-weight: 600;
}

.map-info-item a:hover {
  color: var(--color-orange-600);
}

.map-info-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.map-info-note svg {
  flex-shrink: 0;
  color: var(--color-orange-400);
}

/* Contact Page Responsive */
@media (max-width: 900px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }

  .contact-map-grid {
    grid-template-columns: 1fr;
  }

  .contact-map iframe {
    height: 350px;
  }
}

@media (max-width: 640px) {
  .contact-steps-inner {
    gap: 0;
  }

  .step-line {
    max-width: 50px;
    margin: 0 0.5rem;
  }

  .contact-form-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .contact-form-body {
    padding: 1.5rem;
  }

  .cf-input,
  .cf-textarea,
  .cf-select {
    padding: 0.875rem 1rem;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  .cf-submit-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .phone-cta-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .contact-form-phone-cta {
    padding: 1.25rem 1.5rem;
  }
}

/* ============================================
   Contact Form 7 Integration Styles
   ============================================ */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
  position: relative;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--color-bg-subtle);
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  background: var(--color-white);
  border-color: var(--color-orange-400);
  box-shadow: 0 0 0 4px rgba(247, 148, 29, 0.1);
}

.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

.wpcf7 input[type="submit"] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(247, 148, 29, 0.35);
}

.wpcf7 input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(247, 148, 29, 0.45);
}

.wpcf7-not-valid-tip {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
}

.wpcf7-mail-sent-ok {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

.wpcf7-validation-errors {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #dc2626;
}

/* ============================================
   Archive / News Page - Full Styles
   ============================================ */
.archive-main {
  background: var(--color-bg-primary);
}

/* Category Tabs Section */
.category-tabs-section {
  background: var(--color-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.category-tabs-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.category-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.category-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-orange-500);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-tab:hover {
  color: var(--text-primary);
}

.category-tab.active {
  color: var(--color-orange-500);
  font-weight: 600;
}

.category-tab.active::after {
  transform: scaleX(1);
}

.tab-indicator {
  display: none;
}

.tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.7;
}

.tab-dot-info {
  background: var(--color-blue-500);
}

.tab-dot-works {
  background: var(--color-orange-500);
}

.tab-dot-other {
  background: var(--text-muted);
}

/* Archive Content */
.archive-content {
  padding: 3rem 0;
}

.archive-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Results Info */
.archive-results-info {
  margin-bottom: 2rem;
}

.results-count {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Archive Grid */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

/* Archive Card */
.archive-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s ease;
}

.archive-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-orange-200);
}

.archive-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Card Thumbnail */
.archive-card-thumb {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--color-bg-subtle);
}

.archive-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.archive-card:hover .archive-card-thumb img {
  transform: scale(1.08);
}

.archive-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-300);
  background: linear-gradient(135deg, var(--color-orange-50), var(--color-bg-subtle));
}

/* Category Badge */
.archive-card-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 6px;
  z-index: 2;
}

.archive-card-cat.cat-info {
  background: var(--color-blue-500);
  color: #fff;
}

.archive-card-cat.cat-works {
  background: var(--color-orange-500);
  color: #fff;
}

.archive-card-cat.cat-other {
  background: var(--color-midnight);
  color: #fff;
}

/* NEW Badge */
.archive-card-new {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.6rem;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 4px;
  z-index: 2;
  animation: newBadgePulse 2s ease-in-out infinite;
}

@keyframes newBadgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* Card Overlay */
.archive-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(247, 148, 29, 0.9);
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.archive-card:hover .archive-card-overlay {
  opacity: 1;
}

.archive-card-overlay-text {
  font-size: 0.95rem;
}

/* Card Body */
.archive-card-body {
  padding: 1.5rem;
}

/* Card Meta */
.archive-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.archive-card-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.archive-card-date svg {
  color: var(--color-orange-400);
}

/* Card Title */
.archive-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Excerpt */
.archive-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read More Link */
.archive-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange-500);
  transition: gap 0.3s ease;
}

.archive-card:hover .archive-card-more {
  gap: 0.6rem;
}

/* Pagination */
.archive-pagination {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-item {
  display: flex;
}

.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-width: 44px;
  height: 44px;
  padding: 0 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.3s ease;
}

.pagination-link:hover {
  border-color: var(--color-orange-400);
  color: var(--color-orange-500);
  transform: translateY(-2px);
}

.pagination-link-current {
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 15px rgba(247, 148, 29, 0.35);
}

.pagination-link-current:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Empty State */
.archive-empty {
  text-align: center;
  padding: 5rem 2rem;
}

.archive-empty-icon {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.archive-empty-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.archive-empty-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Archive CTA Section */
.archive-cta {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 4rem 0;
}

.archive-cta-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.archive-cta-content {
  text-align: center;
}

.archive-cta-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.archive-cta-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.archive-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--color-orange-500), var(--color-orange-600));
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(247, 148, 29, 0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(247, 148, 29, 0.5);
}

.btn-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-tel:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-tel svg {
  color: var(--color-orange-400);
}

/* Archive Page Responsive */
@media (max-width: 768px) {
  .category-tabs-section {
    top: 70px;
  }

  .category-tabs-container {
    padding: 0 1rem;
  }

  .category-tab {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }

  .archive-container {
    padding: 0 1rem;
  }

  .archive-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .archive-card-body {
    padding: 1.25rem;
  }

  .archive-card-title {
    font-size: 1rem;
  }

  .archive-pagination {
    margin-top: 3rem;
  }

  .pagination-link {
    min-width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .archive-cta {
    padding: 3rem 0;
  }

  .archive-cta-title {
    font-size: 1.5rem;
  }

  .archive-cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-tel {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ============================================
   SERVICES SECTION - 脱AIデザイン
   "Blueprint + Typography + Circuit" Concept
   ============================================ */

/* --- Section Container --- */
.srv-section {
  position: relative;
  padding: 8rem 0 6rem;
  background: #0a0f1a;
  overflow: hidden;
}

/* --- Blueprint Grid Background --- */
.srv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.srv-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.015) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
}

.srv-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* --- Circuit SVG Decoration --- */
.srv-circuit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- Inner Container --- */
.srv-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section Header - Asymmetric --- */
.srv-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 5rem;
}

.srv-header-num {
  position: relative;
  flex-shrink: 0;
}

.srv-header-num-text {
  font-family: 'Inter', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 148, 29, 0.3);
  letter-spacing: -0.05em;
}

.srv-header-num-line {
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange-500), transparent);
}

.srv-header-content {
  padding-top: 1rem;
}

.srv-label {
  font-family: 'Inter', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-orange-400);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.srv-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.srv-title-main {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.srv-title-slash {
  font-family: 'Inter', monospace;
  font-size: 2rem;
  font-weight: 300;
  color: var(--color-orange-500);
  transform: skewX(-12deg);
  display: inline-block;
}

/* --- Asymmetric Grid --- */
.srv-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* --- Card Base --- */
.srv-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  transition: all 0.4s var(--ease-smooth);
}

.srv-card:hover {
  border-color: rgba(247, 148, 29, 0.2);
  transform: translateY(-4px);
}

.srv-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange-500), var(--color-orange-300));
  transition: width 0.5s var(--ease-smooth);
}

.srv-card:hover .srv-card-accent {
  width: 100%;
}

/* --- Card Index Number --- */
.srv-card-index {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
}

.srv-card-num {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-orange-500);
  padding: 0.5rem 0.75rem;
  background: rgba(247, 148, 29, 0.1);
  border-right: 1px solid rgba(247, 148, 29, 0.2);
  border-bottom: 1px solid rgba(247, 148, 29, 0.2);
}

.srv-card-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(247, 148, 29, 0.4), transparent);
}

/* --- Card Body --- */
.srv-card-body {
  padding: 2.5rem 2rem 2rem;
}

/* --- Card Title --- */
.srv-card-title {
  margin-bottom: 1rem;
}

.srv-card-title-en {
  display: block;
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-orange-400);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.srv-card-title-ja {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

/* --- Card Description --- */
.srv-card-desc {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.25rem;
}

/* --- Card Tags --- */
.srv-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.srv-card-tags li {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-orange-300);
  padding: 0.35rem 0.75rem;
  background: rgba(247, 148, 29, 0.08);
  border: 1px solid rgba(247, 148, 29, 0.15);
}

.srv-card-tags li::before {
  content: "#";
  opacity: 0.5;
  margin-right: 0.15rem;
}

/* --- Primary Card (Large) --- */
.srv-card--primary {
  grid-column: 1;
  grid-row: 1 / 3;
}

.srv-card--primary .srv-card-body {
  padding: 3rem 2.5rem 2.5rem;
}

.srv-card--primary .srv-card-title-ja {
  font-size: 2rem;
}

.srv-card--primary .srv-card-desc {
  font-size: 0.95rem;
}

/* --- Secondary Cards --- */
.srv-card--secondary {
  grid-column: 2;
}

.srv-card--secondary .srv-card-body {
  padding: 2rem 1.75rem 1.75rem;
}

.srv-card--secondary .srv-card-title-ja {
  font-size: 1.25rem;
}

.srv-card--secondary .srv-card-desc {
  font-size: 0.85rem;
}

/* --- Offset for asymmetry --- */
.srv-card--offset {
  margin-top: -1rem;
}

/* --- Tertiary Cards (Small) --- */
.srv-card--tertiary {
  grid-column: span 1;
  background: rgba(15, 23, 42, 0.4);
}

.srv-card--tertiary .srv-card-body {
  padding: 1.5rem 1.5rem 1.25rem;
}

.srv-card--tertiary .srv-card-title-ja {
  font-size: 1.1rem;
}

.srv-card--tertiary .srv-card-desc {
  font-size: 0.8rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.5);
}

.srv-card--tertiary .srv-card-index {
  position: relative;
  display: inline-flex;
  margin-bottom: 0.75rem;
}

.srv-card--tertiary .srv-card-num {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.65rem;
}

/* Tertiary cards in a row */
.srv-grid > .srv-card--tertiary:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

.srv-grid > .srv-card--tertiary:nth-child(5) {
  grid-column: 2;
  grid-row: 3;
  margin-top: -1rem;
}

.srv-grid > .srv-card--tertiary:nth-child(6) {
  grid-column: 1 / -1;
  grid-row: 4;
  max-width: 50%;
  margin-left: auto;
}

/* --- Bottom Signature --- */
.srv-signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.srv-signature-line {
  width: 60px;
  height: 2px;
  background: var(--color-orange-500);
}

.srv-signature-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

.srv-signature-text strong {
  font-weight: 700;
  color: var(--color-orange-400);
  font-size: 1.1rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .srv-section {
    padding: 5rem 0 4rem;
  }

  .srv-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .srv-header-num-text {
    font-size: 4rem;
  }

  .srv-title-main {
    font-size: 1.75rem;
  }

  .srv-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .srv-card--primary {
    grid-column: 1;
    grid-row: auto;
  }

  .srv-card--secondary {
    grid-column: 1;
  }

  .srv-card--offset {
    margin-top: 0;
  }

  .srv-grid > .srv-card--tertiary:nth-child(4),
  .srv-grid > .srv-card--tertiary:nth-child(5),
  .srv-grid > .srv-card--tertiary:nth-child(6) {
    grid-column: 1;
    grid-row: auto;
    max-width: 100%;
    margin: 0;
  }

  .srv-circuit-svg {
    display: none;
  }
}

@media (max-width: 640px) {
  .srv-inner {
    padding: 0 1rem;
  }

  .srv-header-num-text {
    font-size: 3rem;
  }

  .srv-title-main {
    font-size: 1.5rem;
  }

  .srv-card--primary .srv-card-body {
    padding: 2rem 1.5rem 1.5rem;
  }

  .srv-card--primary .srv-card-title-ja {
    font-size: 1.5rem;
  }

  .srv-signature {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .srv-card-tags {
    gap: 0.35rem;
  }

  .srv-card-tags li {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
}


/* ============================================
   UNIFIED SECTION SYSTEM
   統一ナンバリングヘッダー
   ============================================ */

/* --- Section Base --- */
.sec {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.sec--light {
  background: var(--color-white);
}

.sec--gray {
  background: var(--color-bg-secondary);
}

.sec--dark {
  background: #0a0f1a;
}

.sec-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Dark Section Background --- */
.sec-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sec-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.015) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}

.sec-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.5;
}

/* --- Unified Section Header --- */
.sec-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 4rem;
}

.sec-header-num {
  position: relative;
  flex-shrink: 0;
}

.sec-num {
  font-family: 'Inter', 'SF Pro Display', -apple-system, sans-serif;
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(247, 148, 29, 0.25);
  letter-spacing: -0.05em;
}

.sec-num-line {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange-500), transparent);
}

.sec-header-content {
  padding-top: 0.5rem;
}

.sec-label {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-orange-500);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.sec-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.sec-title-main {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.sec-title-slash {
  font-family: 'Inter', monospace;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-orange-500);
  transform: skewX(-12deg);
  display: inline-block;
}

/* Dark section header */
.sec-header--light .sec-num {
  -webkit-text-stroke: 1px rgba(247, 148, 29, 0.3);
}

.sec-header--light .sec-title-main {
  color: var(--color-white);
}

.sec-header--light .sec-label {
  color: var(--color-orange-500);
}

.sec-header--light .sec-title-slash {
  color: rgba(247, 148, 29, 0.5);
}


/* ============================================
   05 WORKS SECTION - 施工事例
   ============================================ */
.sec--dark {
  background: #0f172a;
  position: relative;
  overflow: hidden;
}

.sec--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 148, 29, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 148, 29, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Works Intro */
.works-intro {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3rem;
  max-width: 600px;
}

/* Works Grid */
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Works Item */
.works-item {
  position: relative;
}

.works-item-link {
  display: block;
  background: rgba(255, 255, 255, 0.02);
  border: 0.5px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.4s ease;
}

.works-item-link:hover {
  border-color: var(--color-orange-500);
  background: rgba(247, 148, 29, 0.03);
}

/* Works Visual */
.works-item-visual {
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.works-item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%);
  transition: all 0.5s ease;
}

.works-item-link:hover .works-item-visual img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.works-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 50%);
  pointer-events: none;
}

.works-item-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  padding: 0.35rem 0.75rem;
  background: var(--color-orange-500);
}

/* Works Body */
.works-item-body {
  padding: 1.25rem;
}

.works-item-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.works-item-num {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
}

.works-item-year {
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--color-orange-500);
  letter-spacing: 0.05em;
}

.works-item-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.works-item-link:hover .works-item-title {
  color: var(--color-orange-400);
}

.works-item-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Works Footer */
.works-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
}

.works-footer-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.works-footer-icon {
  display: flex;
  color: var(--color-orange-500);
}

/* Works Responsive */
@media (max-width: 900px) {
  .works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .works-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .works-item-body {
    padding: 1rem;
  }

  .works-item-title {
    font-size: 0.9rem;
  }
}


/* ============================================
   01 MESSAGE SECTION
   ============================================ */
.message-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.message-visual {
  position: relative;
}

.message-image {
  position: relative;
  overflow: hidden;
}

.message-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%);
  transition: filter 0.4s ease;
}

.message-image:hover img {
  filter: grayscale(0%);
}

.message-image-accent {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 60%;
  height: 60%;
  border: 2px solid var(--color-orange-500);
  z-index: -1;
}

.message-content {
  padding: 1rem 0;
}

.message-text {
  margin-bottom: 2.5rem;
}

.message-text p {
  font-size: 1rem;
  line-height: 2;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.message-text p:last-child {
  margin-bottom: 0;
}

.message-signature {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.signature-line {
  width: 40px;
  height: 2px;
  background: var(--color-orange-500);
}

.signature-info {
  text-align: left;
}

.signature-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.1em;
}

.signature-position {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}


/* ============================================
   02 COMPANY INFO SECTION
   ============================================ */
.info-table {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  padding: 0;
}

.info-list {
  display: flex;
  flex-direction: column;
}

.info-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--border-light);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 1.25rem 1.5rem;
  background: var(--color-bg-subtle);
  border-right: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
}

.info-row dd {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 1.25rem 1.5rem;
  line-height: 1.7;
}

.info-row dd a {
  color: var(--color-orange-600);
  text-decoration: none;
  transition: color 0.2s ease;
}

.info-row dd a:hover {
  color: var(--color-orange-500);
  text-decoration: underline;
}


/* ============================================
   03 HISTORY SECTION
   ============================================ */
.history-timeline {
  position: relative;
  padding-left: 0;
}

.history-item {
  display: grid;
  grid-template-columns: 100px 40px 1fr;
  gap: 0;
  margin-bottom: 0;
}

.history-year {
  display: flex;
  justify-content: flex-end;
  padding-right: 1.5rem;
  padding-top: 0.25rem;
  padding-bottom: 2rem;
}

.history-year-num {
  font-family: 'Inter', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-orange-400);
  letter-spacing: 0.05em;
}

.history-year-num--now {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--color-orange-500);
  background: rgba(247, 148, 29, 0.1);
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(247, 148, 29, 0.3);
}

.history-line {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.history-line::before {
  content: '';
  position: absolute;
  top: 0.5rem;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.history-item:last-child .history-line::before {
  display: none;
}

.history-dot {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  background: #0a0f1a;
  border: 2px solid var(--color-orange-500);
  border-radius: 50%;
  margin-top: 0.35rem;
}

.history-dot--now {
  width: 14px;
  height: 14px;
  background: var(--color-orange-500);
  box-shadow: 0 0 12px rgba(247, 148, 29, 0.5);
}

.history-content {
  padding-left: 1.5rem;
  padding-bottom: 2.5rem;
}

.history-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.history-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.history-item--now .history-title {
  color: var(--color-orange-400);
}


/* ============================================
   05 ACCESS SECTION
   ============================================ */
.access-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.access-map {
  position: relative;
  background: var(--color-bg-subtle);
  overflow: hidden;
}

.access-map::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--border-light);
  pointer-events: none;
  z-index: 1;
}

.access-map iframe {
  display: block;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.access-map:hover iframe {
  filter: grayscale(0%);
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.access-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-bg-subtle);
  border-left: 3px solid var(--color-orange-500);
  transition: background 0.2s ease;
}

.access-item:hover {
  background: var(--color-orange-50);
}

.access-item-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange-500);
}

.access-item-content {
  flex: 1;
}

.access-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.access-item-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.6;
}

.access-item-value a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.access-item-value a:hover {
  color: var(--color-orange-500);
}

.access-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding-left: 1rem;
  border-left: 2px solid var(--border-light);
  margin-top: 0.5rem;
}


/* ============================================
   RESPONSIVE - UNIFIED SECTIONS
   ============================================ */
@media (max-width: 900px) {
  .sec {
    padding: 4rem 0;
  }

  .sec-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .sec-num {
    font-size: 3.5rem;
  }

  .sec-title-main {
    font-size: 1.5rem;
  }

  /* Message */
  .message-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .message-image-accent {
    display: none;
  }

  /* Info */
  .info-row {
    grid-template-columns: 1fr;
  }

  .info-row dt {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem;
  }

  .info-row dd {
    padding: 1rem;
  }

  /* History */
  .history-item {
    grid-template-columns: 70px 30px 1fr;
  }

  .history-year-num {
    font-size: 0.95rem;
  }

  /* Access */
  .access-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .sec-inner {
    padding: 0 1rem;
  }

  .sec-num {
    font-size: 2.5rem;
  }

  .sec-title-main {
    font-size: 1.25rem;
  }

  .sec-title-slash {
    font-size: 1rem;
  }

  /* History */
  .history-item {
    grid-template-columns: 60px 24px 1fr;
  }

  .history-year {
    padding-right: 0.75rem;
  }

  .history-year-num {
    font-size: 0.85rem;
  }

  .history-content {
    padding-left: 1rem;
  }

  .history-title {
    font-size: 1rem;
  }

  .history-desc {
    font-size: 0.85rem;
  }
}


/* ============================================
   INDUSTRIAL NERVE CENTER
   "制御盤" コンセプト - 脱AIデザイン
   ============================================ */

/* --- Section Container --- */
.nerve-section {
  position: relative;
  padding: 8rem 0;
  background: #050810;
  overflow: hidden;
}

/* --- Background Effects --- */
.nerve-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.nerve-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 148, 29, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 148, 29, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.nerve-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.nerve-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* --- Inner Container --- */
.nerve-inner {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Section Header --- */
.nerve-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4rem;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(247, 148, 29, 0.15);
}

.nerve-header-left {
  flex: 1;
}

.nerve-tag {
  display: inline-block;
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-orange-500);
  padding: 0.35rem 0.75rem;
  background: rgba(247, 148, 29, 0.1);
  border: 1px solid rgba(247, 148, 29, 0.25);
  margin-bottom: 1rem;
}

.nerve-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nerve-title-sub {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
}

.nerve-title-main {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nerve-header-right {
  max-width: 400px;
}

.nerve-desc {
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.5);
  text-align: right;
}

/* --- Asymmetric Grid --- */
.nerve-grid-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
}

/* --- Card Base --- */
.nerve-card {
  position: relative;
  background: rgba(10, 15, 26, 0.8);
  overflow: hidden;
}

.nerve-card-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* --- Electric Border Animation --- */
.nerve-card-border {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.nerve-card-border::before,
.nerve-card-border::after {
  content: '';
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--color-orange-500), transparent);
}

/* Top border */
.nerve-card-border::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* Left border */
.nerve-card-border::after {
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.08);
}

/* Electric flow on hover */
.nerve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-orange-500), var(--color-orange-300), transparent);
  transition: none;
}

.nerve-card::after {
  content: '';
  position: absolute;
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--color-orange-500), var(--color-orange-300), transparent);
  transition: none;
}

.nerve-card:hover::before {
  animation: electricFlowH 0.6s ease forwards;
}

.nerve-card:hover::after {
  animation: electricFlowV 0.6s ease 0.15s forwards;
}

@keyframes electricFlowH {
  0% { left: -100%; }
  100% { left: 100%; }
}

@keyframes electricFlowV {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Card Head --- */
.nerve-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nerve-card-idx {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-orange-500);
  padding: 0.25rem 0.5rem;
  background: rgba(247, 148, 29, 0.1);
  letter-spacing: 0.05em;
}

.nerve-card-tag {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Card Body --- */
.nerve-card-body {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.nerve-card-title {
  margin-bottom: 1rem;
}

.nerve-card-title-en {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--color-orange-400);
  margin-bottom: 0.25rem;
}

.nerve-card-title-ja {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.05em;
}

.nerve-card-text {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1.5rem;
}

/* --- Tech Specs --- */
.nerve-specs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: auto;
}

.nerve-spec {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.nerve-spec-label {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.3);
  min-width: 70px;
}

.nerve-spec-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-orange-400);
}

/* --- Voltage Display --- */
.nerve-card-deco {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 0;
}

.nerve-voltage {
  font-family: 'Inter', monospace;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(247, 148, 29, 0.08);
  letter-spacing: -0.05em;
  line-height: 1;
}

/* --- Card Variants --- */
.nerve-card--xl {
  grid-row: span 2;
}

.nerve-card--xl .nerve-card-title-ja {
  font-size: 2.25rem;
}

.nerve-card--xl .nerve-card-text {
  font-size: 0.9rem;
}

.nerve-card--md {
  /* Default */
}

.nerve-card--offset {
  margin-top: 2rem;
}

/* --- Year Display --- */
.nerve-year-display {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: auto;
  padding-top: 1rem;
}

.nerve-year-since {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
}

.nerve-year-num {
  font-family: 'Inter', monospace;
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-orange-500);
  letter-spacing: -0.02em;
  line-height: 1;
  text-shadow: 0 0 30px rgba(247, 148, 29, 0.4);
}

/* --- Response Display --- */
.nerve-response {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
  padding: 0.75rem 1rem;
  background: rgba(247, 148, 29, 0.08);
  border-left: 2px solid var(--color-orange-500);
}

.nerve-response-icon {
  color: var(--color-orange-500);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nerve-response-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-orange-400);
  letter-spacing: 0.05em;
}

/* --- Side Label --- */
.nerve-side-label {
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: rotate(90deg) translateX(-50%);
  transform-origin: center center;
  white-space: nowrap;
}

.nerve-side-label span {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.15);
}

/* --- Status Bar --- */
.nerve-status {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(10, 15, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.nerve-status-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nerve-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.nerve-status-dot--active {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
  animation: statusBlink 2s ease infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.nerve-status-label {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #22c55e;
}

.nerve-status-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.nerve-status-code {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nerve-grid-container {
    grid-template-columns: 1fr 1fr;
  }

  .nerve-card--xl {
    grid-column: span 2;
    grid-row: auto;
  }

  .nerve-card--offset {
    margin-top: 0;
  }

  .nerve-side-label {
    display: none;
  }
}

@media (max-width: 768px) {
  .nerve-section {
    padding: 5rem 0;
  }

  .nerve-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .nerve-header-right {
    max-width: 100%;
  }

  .nerve-desc {
    text-align: left;
  }

  .nerve-title-main {
    font-size: 2.5rem;
  }

  .nerve-grid-container {
    grid-template-columns: 1fr;
  }

  .nerve-card--xl {
    grid-column: auto;
  }

  .nerve-card--xl .nerve-card-title-ja {
    font-size: 1.75rem;
  }

  .nerve-voltage {
    font-size: 3rem;
  }

  .nerve-year-num {
    font-size: 2.5rem;
  }

  .nerve-status {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .nerve-status-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .nerve-inner {
    padding: 0 1rem;
  }

  .nerve-title-main {
    font-size: 2rem;
  }

  .nerve-card-body {
    padding: 1.25rem;
  }

  .nerve-card-title-ja {
    font-size: 1.5rem;
  }

  .nerve-status {
    padding: 1rem;
  }
}


/* ============================================
   TECHNICAL JOURNAL - NEWS SECTION
   非対称グリッド・報告書スタイル
   ============================================ */

/* --- Section Container --- */
.tj-section {
  position: relative;
  padding: 6rem 0;
  background: #ffffff;
  overflow: hidden;
}

/* Blueprint Grid Background */
.tj-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(226, 232, 240, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(226, 232, 240, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.tj-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 1;
}

/* --- Section Header --- */
.tj-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid #e2e8f0;
}

.tj-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.tj-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #22c55e;
  padding: 0.25rem 0.6rem;
  background: rgba(34, 197, 94, 0.08);
  border: 0.5px solid rgba(34, 197, 94, 0.3);
}

.tj-status-dot {
  width: 5px;
  height: 5px;
  background: #22c55e;
  animation: tjPulse 1.5s ease infinite;
}

@keyframes tjPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.tj-divider {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.tj-header-label {
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #94a3b8;
}

.tj-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.tj-title-num {
  font-family: 'Inter', monospace;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px #e2e8f0;
  letter-spacing: -0.05em;
}

.tj-title-text {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.05em;
}

/* --- Asymmetric Grid Layout --- */
.tj-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  border: 0.5px solid #e2e8f0;
  background: #fff;
}

/* --- Card Base --- */
.tj-card {
  position: relative;
}

.tj-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

/* Scanline Hover Effect */
.tj-scanline {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.tj-scanline::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(247, 148, 29, 0.06), transparent);
  transition: none;
}

.tj-card:hover .tj-scanline::before {
  animation: tjScanDown 0.6s ease;
}

@keyframes tjScanDown {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* --- Main Card (Featured) --- */
.tj-card--main {
  grid-row: 1 / 3;
  grid-column: 1;
  border-right: 0.5px solid #e2e8f0;
}

.tj-card--main .tj-card-link {
  padding: 2.5rem;
  min-height: 320px;
}

.tj-card--main:hover .tj-card-link {
  background: linear-gradient(135deg, rgba(247, 148, 29, 0.02), transparent);
}

/* --- Sub Cards (Secondary) --- */
.tj-card--sub {
  border-bottom: 0.5px solid #e2e8f0;
}

.tj-card--sub:last-child {
  border-bottom: none;
}

.tj-card--sub .tj-card-link {
  padding: 1.75rem 2rem;
}

.tj-card--sub:hover .tj-card-link {
  background: rgba(247, 148, 29, 0.02);
}

/* --- Card Header --- */
.tj-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tj-card-idx {
  font-family: 'Inter', monospace;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: #f1f5f9;
  letter-spacing: -0.05em;
  transition: color 0.3s ease;
}

.tj-card--main .tj-card-idx {
  font-size: 3.5rem;
}

.tj-card:hover .tj-card-idx {
  color: rgba(247, 148, 29, 0.15);
}

.tj-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

/* Date - Monospace Technical Style */
.tj-card-date {
  font-family: 'Inter', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.02em;
}

.tj-date-y {
  color: #94a3b8;
}

.tj-date-sep {
  color: #cbd5e1;
  margin: 0 0.1em;
}

.tj-date-md {
  color: #0f172a;
}

/* Category - Status Indicator Style */
.tj-card-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #64748b;
}

.tj-cat-indicator {
  width: 6px;
  height: 6px;
  background: var(--color-orange-500);
}

/* NEW Badge */
.tj-badge-new {
  margin-left: auto;
  font-family: 'Inter', monospace;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  padding: 0.2rem 0.5rem;
  background: var(--color-orange-500);
}

/* --- Card Body --- */
.tj-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tj-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.tj-card--main .tj-card-title {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.tj-card:hover .tj-card-title {
  color: var(--color-orange-600);
}

.tj-card-excerpt {
  font-size: 0.85rem;
  line-height: 1.9;
  color: #64748b;
  margin-top: auto;
}

/* --- Card Footer --- */
.tj-card-foot {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 0.5px solid #f1f5f9;
}

.tj-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tj-more-text {
  font-family: 'Inter', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #94a3b8;
  transition: color 0.3s ease;
}

.tj-card:hover .tj-more-text {
  color: var(--color-orange-500);
}

.tj-more-arrow {
  display: flex;
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.tj-card:hover .tj-more-arrow {
  color: var(--color-orange-500);
  transform: translateX(4px);
}

/* --- Empty State --- */
.tj-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: #94a3b8;
  font-size: 0.95rem;
}

/* --- Footer --- */
.tj-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.tj-footer-line {
  flex: 1;
  height: 0.5px;
  background: #e2e8f0;
}

.tj-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 0.5px solid #e2e8f0;
  transition: all 0.3s ease;
}

.tj-footer-link:hover {
  border-color: var(--color-orange-500);
}

.tj-footer-text {
  font-family: 'Inter', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #64748b;
  transition: color 0.3s ease;
}

.tj-footer-link:hover .tj-footer-text {
  color: var(--color-orange-500);
}

.tj-footer-link svg {
  color: #cbd5e1;
  transition: all 0.3s ease;
}

.tj-footer-link:hover svg {
  color: var(--color-orange-500);
  transform: translateX(3px);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .tj-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .tj-card--main {
    grid-row: auto;
    grid-column: auto;
    border-right: none;
    border-bottom: 0.5px solid #e2e8f0;
  }

  .tj-card--main .tj-card-link {
    min-height: auto;
    padding: 2rem;
  }

  .tj-card--main .tj-card-idx {
    font-size: 2.5rem;
  }
}

@media (max-width: 640px) {
  .tj-section {
    padding: 4rem 0;
  }

  .tj-inner {
    padding: 0 1rem;
  }

  .tj-grid-bg {
    background-size: 40px 40px;
  }

  .tj-title-num {
    font-size: 2.5rem;
  }

  .tj-title-text {
    font-size: 1.5rem;
  }

  .tj-card-link {
    padding: 1.5rem !important;
  }

  .tj-card-head {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .tj-card-idx {
    font-size: 2rem !important;
  }

  .tj-card-meta {
    flex-direction: row;
    gap: 1rem;
    padding-top: 0;
  }

  .tj-card--main .tj-card-title {
    font-size: 1.1rem;
  }

  .tj-card-title {
    font-size: 0.95rem;
  }

  .tj-badge-new {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    margin-left: 0;
  }

  .tj-footer {
    flex-direction: column;
    gap: 1rem;
  }

  .tj-footer-line {
    width: 100%;
  }
}
