@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Noto+Sans+JP:wght@300;400;500;700;900&family=JetBrains+Mono:wght@400;500&display=swap');
@import 'chatbot.css';

/* ==========================================================================
   CSS Custom Properties (Design Tokens - Light Clean Theme)
   ========================================================================== */
:root {
  /* Color System - Bright & Clean */
  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-glass: rgba(255, 255, 255, 0.88);
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37, 99, 235, 0.25);
  
  --cyan: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.25);
  
  --emerald: #059669;
  --purple: #7c3aed;
  --amber: #d97706;
  
  --gradient-brand: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  --gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(37, 99, 235, 0.1) 50%, rgba(124, 58, 237, 0.1) 100%);
  --gradient-card: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  
  /* Text Colors */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light-muted: #64748b;
  --text-accent: #0284c7;
  
  /* Borders & Shadows */
  --border-subtle: #e2e8f0;
  --border-active: #93c5fd;
  --border-glass: 1px solid rgba(226, 232, 240, 0.8);
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.08), 0 10px 10px -5px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 40px -10px rgba(37, 99, 235, 0.15), 0 0 20px rgba(2, 132, 199, 0.1);
  --shadow-glow: 0 8px 25px -4px rgba(37, 99, 235, 0.35);

  /* Typography */
  --font-en: 'Outfit', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --header-height: 80px;
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-jp);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(2, 132, 199, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 90%, rgba(124, 58, 237, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.02) 0%, transparent 60%);
  background-attachment: fixed;
}

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 900px;
}

/* ==========================================================================
   Typography & Badges
   ========================================================================== */
.font-en {
  font-family: var(--font-en);
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 6px var(--primary);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 48px;
}

.text-center {
  text-align: center;
}
.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-jp);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.45);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.link-arrow svg {
  transition: transform var(--transition-fast);
}

.link-arrow:hover {
  color: var(--primary-dark);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-normal);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(37, 99, 235, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: none;
}

@media (min-width: 992px) {
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.06);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  transform: translateX(4px);
}

.dropdown-item.active {
  color: var(--primary);
  font-weight: 700;
  background: rgba(37, 99, 235, 0.1);
}

.dropdown-icon {
  font-size: 1.1rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 380px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border-subtle);
  padding: 90px 24px 40px;
  z-index: 1050;
  transition: var(--transition-normal);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav.open {
  right: 0;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
}

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

.mobile-nav-group-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  padding: 12px 16px 4px;
  font-weight: 700;
}

.mobile-nav-sublink {
  display: block;
  padding: 8px 16px 8px 32px;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}

.mobile-nav-sublink:hover, .mobile-nav-sublink.active {
  color: var(--primary);
  font-weight: 600;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   Hero Section (Top Page with Original Hero Image)
   ========================================================================== */
.hero {
  position: relative;
  padding-top: var(--header-height);
  overflow: hidden;
  background: #ffffff;
}

.hero-banner-container {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  background-color: #0f172a;
  background-image: url('../img/index/top.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (min-width: 992px) {
  .hero-banner-container {
    min-height: 600px;
  }
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.18) 50%, rgba(15, 23, 42, 0.05) 100%);
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  padding-top: 40px;
  padding-bottom: 60px;
}

.hero-tag-light {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}

.hero-title-light {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7), 0 0 2px rgba(0, 0, 0, 0.8);
}

@media (min-width: 768px) {
  .hero-title-light {
    font-size: 3.75rem;
  }
}

.hero-desc-light {
  font-size: 1.15rem;
  color: #ffffff;
  max-width: 650px;
  margin-bottom: 36px;
  line-height: 1.8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 2px rgba(0, 0, 0, 0.9);
}

.hero-feature-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 0;
  box-shadow: var(--shadow-sm);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.hero-feature-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.hero-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.35rem;
  flex-shrink: 0;
}

.hero-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-feature-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Page Hero Banner (Sub Pages - Bright Theme with Banner Image)
   ========================================================================== */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 50px;
  background-color: #f8fafc;
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid var(--border-subtle);
}

/* Sub-page Specific Backgrounds */
.page-hero-about {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.6) 42%, rgba(255, 255, 255, 0.18) 80%, rgba(255, 255, 255, 0.05) 100%), url('../img/about/main.png');
  background-position: center 38%;
  padding-top: calc(var(--header-height) + 46px);
  padding-bottom: 60px;
}
.page-hero-gem {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.7) 45%, rgba(255, 255, 255, 0.25) 80%, rgba(255, 255, 255, 0.1) 100%), url('../img/gem/gem.jpg');
  background-position: center 40%;
  padding-top: calc(var(--header-height) + 46px);
  padding-bottom: 60px;
}
.page-hero-products {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 40%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0.05) 100%), url('../img/products/main.png');
}
.page-hero-contact {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 40%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0.05) 100%), url('../img/contact/main.png');
}
.page-hero-news {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 40%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0.05) 100%), url('../img/news/main.png');
}
.page-hero-recruit {
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.65) 40%, rgba(255, 255, 255, 0.2) 80%, rgba(255, 255, 255, 0.05) 100%), url('../img/recruit/main.png');
}

@media (max-width: 767px) {
  .page-hero-about {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%), url('../img/about/main.png');
  }
  .page-hero-gem {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%), url('../img/gem/gem.jpg');
  }
  .page-hero-products {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%), url('../img/products/main.png');
  }
  .page-hero-contact {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%), url('../img/contact/main.png');
  }
  .page-hero-news {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%), url('../img/news/main.png');
  }
  .page-hero-recruit {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.72) 100%), url('../img/recruit/main.png');
  }
}

.page-hero-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
  .page-hero-title {
    font-size: 3rem;
  }
}

.page-hero-desc {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 500;
  max-width: 700px;
  line-height: 1.8;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: var(--primary);
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #94a3b8;
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-section {
  padding: 40px 0;
}

.news-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.news-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .news-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.news-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-badge {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.news-list-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  margin: 0 20px;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.news-link {
  color: var(--text-main);
  transition: var(--transition-fast);
}

.news-link:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* ==========================================================================
   Services Grid & Cards (Bright Theme)
   ========================================================================== */
.services-section {
  padding: 80px 0;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-hover);
}

.service-card-img-wrap {
  display: block;
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f1f5f9;
  cursor: pointer;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.service-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.4;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.75;
  flex: 1;
}

.service-card-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Detail Showcase Sections (Sub pages - Bright Theme)
   ========================================================================== */
.detail-section {
  padding: 60px 0;
}

.detail-block {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.detail-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 24px;
  position: relative;
  padding-left: 18px;
  color: var(--text-main);
}

.detail-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--gradient-brand);
  border-radius: 4px;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .split-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.mockup-frame {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.mockup-header {
  height: 34px;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
}

.mockup-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.mockup-dot:nth-child(1) { background: #ef4444; }
.mockup-dot:nth-child(2) { background: #f59e0b; }
.mockup-dot:nth-child(3) { background: #10b981; }

.mockup-img {
  width: 100%;
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.gallery-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-3px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-caption {
  padding: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  background: #fafafa;
  border-top: 1px solid var(--border-subtle);
}

/* Feature Spec List / Table */
.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  gap: 6px;
}

@media (min-width: 600px) {
  .spec-item {
    flex-direction: row;
    align-items: baseline;
    gap: 24px;
  }
  .spec-item dt {
    width: 160px;
    flex-shrink: 0;
  }
}

.spec-item dt {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.spec-item dd {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.7;
}

.badge-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-family: var(--font-mono);
  color: var(--primary);
  margin-right: 6px;
  margin-bottom: 6px;
  font-weight: 600;
}

/* Highlight Box */
.highlight-box {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

.highlight-box h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.highlight-box p {
  color: var(--text-main);
  line-height: 1.8;
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-required {
  color: #ef4444;
  font-size: 0.8rem;
  margin-left: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-jp);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

select.form-control {
  cursor: pointer;
}

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

.form-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

/* ==========================================================================
   CTA Box (Bright Theme)
   ========================================================================== */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  margin: 60px 0;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.cta-desc {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ==========================================================================
   Footer (Bright & Clean Theme)
   ========================================================================== */
.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
  }
}

.footer-company-desc {
  margin-top: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 380px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.footer-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.copyright {
  font-family: var(--font-en);
}

/* ==========================================================================
   Back To Top Button
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 96px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

/* ==========================================================================
   Animations & Transitions
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
