/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
  --font-base: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-en: 'Plus Jakarta Sans', sans-serif;

  /* Color Palette - University Tech / Deep Navy & Electric Cyan */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-dark-bg: #0b132b;
  --color-dark-surface: #1c2541;

  --color-primary: #0f172a;       /* Deep Slate Navy */
  --color-accent: #0284c7;        /* Tech Blue */
  --color-cyan: #06b6d4;          /* AI Cyan */
  --color-purple: #6366f1;        /* Deep Science Purple */

  --color-text: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;

  --color-border: #e2e8f0;

  --grad-primary: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  --grad-dark: linear-gradient(135deg, #0b132b 0%, #1c2541 100%);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);

  --max-width: 1140px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.text-center {
  text-center: center;
  text-align: center;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-name {
  font-size: 24px;
  font-family: var(--font-en);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.nav a:hover {
  color: var(--color-text-muted);
}

.nav .nav-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.nav .nav-btn:hover {
  background: var(--color-text-muted);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: var(--grad-dark);
  color: var(--color-text-light);
  padding: 20px 0 20px;
  overflow: hidden;
}

/* 網目状のテクノロジー感のある背景メッシュ */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(6, 182, 212, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
  color: var(--color-cyan);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyan);
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.grad-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  font-size: 24px;
  font-weight: bold;
  color: #94a3b8;
  line-height: 1.7;
}

.hero-points {
  margin-top: 28px;
  margin-bottom: 28px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  color: #cbd5e1;
}

.hero-points li span {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.6rem;
  color: var(--color-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.hero-quote {
  border-left: 3px solid var(--color-cyan);
  padding-left: 16px;
  font-size: 0.92rem;
  color: #94a3b8;
  font-style: italic;
}

.media-card {
  background: var(--color-dark-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  transform: perspective(1000px) rotateY(-4deg);
  transition: transform 0.4s ease;
}

.media-card:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.media-card img {
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 90px 0;
}

.section-alt {
  background-color: #f1f5f9;
}

.section-subtitle {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   Services
   ========================================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 36px;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.3);
}

.highlight-card {
  border-top: 4px solid var(--color-cyan);
}

.card-tag {
  font-family: var(--font-en);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.card-title {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.98rem;
  color: var(--color-text);
  margin-bottom: 24px;
  font-weight: 500;
}

.card-features {
  margin-bottom: 32px;
  flex-grow: 1;
}

.card-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.card-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-accent);
}

.btn-link span {
  transition: transform 0.2s;
}

.btn-link:hover span {
  transform: translateX(4px);
}

/* ==========================================================================
   Videos
   ========================================================================== */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.video-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.video-wrapper {
  background: #000;
}

.video-wrapper video {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video-info {
  padding: 20px 24px;
}

.video-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.video-info p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   About
   ========================================================================== */
.about-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 48px;
  max-width: 1200px;
  margin: 40px auto 0;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}

.about-logo-wrapper {
  text-align: center;
  padding-right: 20px;
  border-right: 1px solid var(--color-border);
}

.about-logo-wrapper img {
  max-width: 140px;
  margin: 0 auto;
}

.company-dl {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dl-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  font-size: 0.95rem;
}

.dl-row dt {
  font-weight: 700;
  color: var(--color-primary);
}

.dl-row dd {
  color: var(--color-text);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.form-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.form-card iframe {
  width: 100%;
  height: 800px;
  border: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-primary);
  color: #94a3b8;
  padding: 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
  color: #fff;
}

.footer-copy-text {
  margin-top: 12px;
  font-size: 0.85rem;
  max-width: 320px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive (Mobile & Tablet)
   ========================================================================== */
@media (max-width: 868px) {
  .hero-grid,
  .cards-grid,
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .about-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }

  .about-logo-wrapper {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-right: 0;
    padding-bottom: 20px;
  }

  .dl-row {
    grid-template-columns: 80px 1fr;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
}