/*
Theme Name: ZERO Vision Custom
Theme URI: https://zerovision.jp
Description: 合同会社 ZERO Vision コーポレートサイト用カスタムテーマ
Author: ZERO Vision
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: zerovision
*/

/* ===================================
   ZERO Vision Corporate Site - CSS
   Design: Simple & Clean, Blue accent
   =================================== */

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

:root {
  --primary: #1B5E9E;
  --primary-dark: #14476F;
  --primary-light: #E8F0FE;
  --accent: #2A9DF4;
  --text: #2C2C2C;
  --text-light: #666;
  --text-white: #fff;
  --bg: #fff;
  --bg-light: #F7F9FC;
  --bg-dark: #1a1a2e;
  --border: #E0E6ED;
  --shadow: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(27,94,158,0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1100px;
}

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent);
}

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

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

/* ===================================
   Header
   =================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
}

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

.logo-img-footer {
  height: 180px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--text-white) !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  color: var(--text-white) !important;
  transform: translateY(-1px);
}

/* Mobile Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  padding: 180px 0 80px;
  background: linear-gradient(160deg, #fff 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42,157,244,0.08) 0%, transparent 70%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--primary);
  color: var(--text-white);
  font-size: 1rem;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text);
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 40px;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.hero-stat {
  text-align: center;
  padding: 16px;
  background: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.hero-stat .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.hero-stat .label {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===================================
   Sections
   =================================== */
.section {
  padding: 80px 0;
}

.section-light {
  background: var(--bg-light);
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .en {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
}

.section-dark .section-header h2 {
  color: var(--text-white);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255,255,255,0.7);
}

/* ===================================
   Feature Cards
   =================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px 28px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.feature-card p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.9;
}

/* ===================================
   Service Cards
   =================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

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

.service-card:hover {
  box-shadow: var(--shadow-hover);
}

.service-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.9;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-tag {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
}

/* ===================================
   Process / Flow
   =================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  position: relative;
}

.process-step .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
}

.process-step h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* ===================================
   Results / Numbers
   =================================== */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.result-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.result-card .num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  line-height: 1.2;
}

.result-card .unit {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.result-card .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 8px;
}

/* Case Studies */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow-hover);
}

.case-industry {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.case-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.case-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.8;
}

.case-result {
  display: flex;
  gap: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-result-item {
  text-align: center;
}

.case-result-item .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.case-result-item .label {
  font-size: 0.7rem;
  color: var(--text-light);
}

/* ===================================
   Company Info
   =================================== */
.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.company-table th,
.company-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.company-table th {
  width: 180px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-light);
}

.company-table td {
  color: var(--text-light);
}

/* ===================================
   Contact Form
   =================================== */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.form-group label .required {
  background: #e74c3c;
  color: #fff;
  font-size: 0.65rem;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,94,158,0.1);
}

.form-group textarea {
  height: 160px;
  resize: vertical;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--text-white);
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.cta-section p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-nav h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 8px;
}

.footer-nav ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.footer-nav ul li a:hover {
  color: #fff;
}

.footer-info h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 0.85rem;
  line-height: 1.8;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.75rem;
}

/* ===================================
   Page Header (Sub pages)
   =================================== */
.page-header {
  padding: 160px 0 48px;
  background: linear-gradient(160deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  text-align: center;
  color: var(--text-white);
}

.page-header .en {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 800;
}

/* ===================================
   The Model Section
   =================================== */
.model-flow {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  margin: 40px 0;
  flex-wrap: wrap;
}

.model-step {
  text-align: center;
  padding: 24px 20px;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 12px;
  min-width: 160px;
  transition: var(--transition);
}

.model-step.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.model-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.model-step p {
  font-size: 0.75rem;
  color: var(--text-light);
}

.model-arrow {
  font-size: 1.5rem;
  color: var(--primary);
  padding: 0 8px;
}

/* ===================================
   Responsive
   =================================== */
@media (max-width: 768px) {
  .ceo-message {
    flex-direction: column !important;
    align-items: center !important;
  }

  .header-inner {
    height: 60px;
  }

  .logo-img {
    height: 50px;
  }

  .nav {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 32px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-stat .num {
    font-size: 1.3rem;
  }

  .features-grid,
  .service-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: column;
  }

  .model-flow {
    flex-direction: column;
  }

  .model-arrow {
    transform: rotate(90deg);
  }

  .section {
    padding: 56px 0;
  }

  .section-header h2 {
    font-size: 1.4rem;
  }

  .company-table th {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.35rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.85rem;
  }

  .results-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}
