/* ============================================================
   Gametector Systems — Corporate Site CSS
   Design: Navy + Teal accent, clean, BtoB trustworthy
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
  --navy: #1D3461;
  --navy-dark: #152645;
  --navy-light: #2a4a82;
  --teal: #5F9EA0;
  --teal-light: #7ab5b7;
  --teal-pale: #eef5f5;
  --charcoal: #2d2d2d;
  --gray-700: #4a4a4a;
  --gray-500: #6e6e6e;
  --gray-300: #b0b0b0;
  --gray-100: #f4f4f2;
  --gray-50: #fafaf8;
  --white: #ffffff;
  --border: #e2e2de;

  --font-sans: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-en: 'Inter', system-ui, sans-serif;

  --max-width: 1120px;
  --section-py: 96px;
  --section-py-sm: 64px;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  --transition: 200ms ease;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

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

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.85;
  max-width: 600px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

.divider {
  width: 40px;
  height: 3px;
  background: var(--teal);
  margin: 20px 0 32px;
}

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

.header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  height: 36px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-nav a {
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}
.header-nav a:hover {
  color: var(--navy);
  background: var(--gray-100);
}

.header-cta {
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 10px 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 160px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

/* Subtle geometric background */
.hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 560px;
  height: 560px;
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0.5;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 40px;
  right: 40px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(95,158,160,0.15);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal-pale);
  color: var(--teal);
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: normal;
  color: var(--teal);
}

.hero-sub {
  font-size: 17px;
  color: var(--gray-700);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-note {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 16px;
}

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

/* Abstract visual — structural grid element */
.hero-graphic {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  position: relative;
}

.hero-graphic-inner {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
}

.hero-graphic-cell {
  border-radius: var(--radius);
  background: var(--gray-100);
  transition: var(--transition);
}

.hero-graphic-cell.navy { background: var(--navy); opacity: 0.9; }
.hero-graphic-cell.navy-light { background: var(--navy-light); opacity: 0.6; }
.hero-graphic-cell.teal { background: var(--teal); opacity: 0.7; }
.hero-graphic-cell.teal-pale { background: var(--teal-pale); }
.hero-graphic-cell.empty { background: transparent; border: 1px solid var(--border); }

/* Stats strip */
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.hero-stat-number {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================================
   PROBLEM (課題提起)
   ============================================================ */
.problem {
  padding: var(--section-py) 0;
  background: var(--navy);
  color: var(--white);
}

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

.problem-header .section-label {
  color: var(--teal-light);
}

.problem-header .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.problem-header .section-desc {
  color: rgba(255,255,255,0.7);
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 56px;
}

.problem-item {
  background: rgba(255,255,255,0.04);
  padding: 36px 32px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}
.problem-item:hover {
  background: rgba(255,255,255,0.08);
}

.problem-item:first-child { border-radius: var(--radius) 0 0 0; }
.problem-item:nth-child(3) { border-radius: 0 var(--radius) 0 0; }
.problem-item:nth-child(4) { border-radius: 0 0 0 var(--radius); }
.problem-item:last-child { border-radius: 0 0 var(--radius) 0; }

.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(95,158,160,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 18px;
}

.problem-item h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.5;
}

.problem-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

.problem-cta {
  text-align: center;
}

.problem-cta p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 24px;
}

/* ============================================================
   SERVICES (提供サービス)
   ============================================================ */
.services {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.services-header {
  margin-bottom: 56px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.service-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-pale);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card .service-tagline {
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.85;
}

.service-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 13px;
  color: var(--gray-500);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ============================================================
   STRENGTHS (強み)
   ============================================================ */
.strengths {
  padding: var(--section-py) 0;
  background: var(--white);
}

.strengths-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.strengths-content {
  position: sticky;
  top: 100px;
}

.strengths-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.strength-item {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.strength-item:first-child {
  border-top: 1px solid var(--border);
}

.strength-number {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.05em;
  flex-shrink: 0;
  padding-top: 4px;
}

.strength-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.45;
}

.strength-text p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}

/* ============================================================
   PROCESS (進め方)
   ============================================================ */
.process {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 12px;
  position: relative;
  z-index: 1;
}

.process-step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--gray-500);
  flex-shrink: 0;
  transition: var(--transition);
}

.process-step.active .process-step-number {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.process-step.teal .process-step-number {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.process-step h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  white-space: nowrap;
}

.process-step p {
  font-size: 12px;
  color: var(--gray-500);
  line-height: 1.7;
  white-space: nowrap;
}

.process-note {
  text-align: center;
  margin-top: 56px;
  padding: 28px 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.process-note p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
}

.process-note strong {
  color: var(--navy);
}

/* ============================================================
   COMPANY (会社情報)
   ============================================================ */
.company {
  padding: var(--section-py) 0;
  background: var(--white);
}

.company-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

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

.company-table tr:first-child {
  border-top: 1px solid var(--border);
}

.company-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-align: left;
  padding: 18px 0;
  width: 140px;
  vertical-align: top;
}

.company-table td {
  font-size: 15px;
  color: var(--charcoal);
  padding: 18px 0 18px 16px;
  vertical-align: top;
  line-height: 1.7;
}

.company-brand-name {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-en);
  letter-spacing: 0.01em;
  line-height: 1.3;
}

.company-legal-name {
  display: block;
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 4px;
}

.company-trust {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.trust-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.trust-card p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.8;
}

.trust-icon {
  font-size: 24px;
  margin-bottom: 12px;
}

/* ============================================================
   MESSAGE (代表メッセージ)
   ============================================================ */
.message {
  padding: var(--section-py) 0;
  background: var(--gray-50);
}

.message-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.message-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.message-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.message-body blockquote {
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.75;
  margin-bottom: 28px;
  padding-left: 20px;
  border-left: 3px solid var(--teal);
}

.message-body p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.95;
  margin-bottom: 20px;
}

.message-signature {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.message-signature .name-en {
  font-family: var(--font-en);
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.message-signature .name-ja {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.message-signature .title {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================================
   CONTACT (お問い合わせ)
   ============================================================ */
.contact {
  padding: var(--section-py) 0;
  background: var(--navy);
  color: var(--white);
}

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

.contact-header .section-label {
  color: var(--teal-light);
}

.contact-header .section-title {
  color: var(--white);
  margin-bottom: 16px;
}

.contact-header .section-desc {
  color: rgba(255,255,255,0.7);
  margin: 0 auto;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--teal-light);
  margin-left: 4px;
  font-size: 11px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--font-sans);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-light);
  background: rgba(255,255,255,0.09);
}

.form-group select option {
  background: var(--navy-dark);
  color: var(--white);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-privacy {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.7;
}

/* バリデーションエラー状態 */
.form-group input[data-error="true"],
.form-group textarea[data-error="true"] {
  border-color: #e57373;
}

/* Honeypot — 視覚的に完全に隠す（display:none はbotに検出される） */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* フィードバックメッセージ */
.form-feedback {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.form-feedback--success {
  background: rgba(95, 158, 160, 0.15);
  border: 1px solid rgba(95, 158, 160, 0.45);
  color: var(--white);
}

.form-feedback--error {
  background: rgba(229, 115, 115, 0.15);
  border: 1px solid rgba(229, 115, 115, 0.45);
  color: #ffb3b3;
}

.form-submit {
  margin-top: 24px;
  text-align: center;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 56px 0 32px;
}

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

.footer-brand .footer-logo {
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 32px;
  width: auto;
  /* White version — apply CSS filter */
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 240px;
}

.footer-nav h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav ul a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-nav ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-company {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-copy {
  font-family: var(--font-en);
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* ============================================================
   CASES (事例)
   ============================================================ */
.cases {
  padding: var(--section-py) 0;
  background: var(--white);
}

.cases-header {
  margin-bottom: 56px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.case-card {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.case-card-header {
  padding: 28px 28px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.case-tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
  background: var(--teal-pale);
  color: var(--teal);
}

.case-tag--ai {
  background: rgba(29, 52, 97, 0.08);
  color: var(--navy);
}

.case-tag--auto {
  background: rgba(95, 158, 160, 0.12);
  color: var(--teal);
}

.case-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
}

.case-body {
  padding: 0 28px 28px;
}

.case-row {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: baseline;
}
.case-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.case-row dt {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  padding-top: 2px;
}

.case-row dd {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.85;
}

.case-row--result dt {
  color: var(--navy);
}

.case-row--result dd {
  font-weight: 500;
  color: var(--charcoal);
}

/* Responsive */
@media (max-width: 960px) {
  .cases-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
  }
}

@media (max-width: 640px) {
  .cases-grid {
    max-width: 100%;
  }

  .case-card-header {
    padding: 20px 20px 18px;
  }

  .case-body {
    padding: 0 20px 20px;
  }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--teal-pale);
  border-top: 1px solid rgba(95,158,160,0.2);
  border-bottom: 1px solid rgba(95,158,160,0.2);
  padding: 56px 0;
  text-align: center;
}

.cta-band p {
  font-size: 17px;
  color: var(--gray-700);
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-band h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 960px) {
  :root {
    --section-py: 72px;
  }

  .container {
    padding: 0 28px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    display: none;
  }

  .hero-stats {
    gap: 32px;
  }

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

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }

  .strengths-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .strengths-content {
    position: static;
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    row-gap: 40px;
  }

  .process-steps::before {
    display: none;
  }

  .company-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .message-inner {
    grid-template-columns: 200px 1fr;
    gap: 48px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 640px) {
  :root {
    --section-py: 56px;
  }

  .container {
    padding: 0 20px;
  }

  .header-nav {
    display: none;
  }

  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px 20px;
    gap: 4px;
    z-index: 99;
    border-top: 1px solid var(--border);
  }

  .header-nav.open a {
    padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 120px 0 72px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-item {
    border-radius: 0 !important;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card.featured {
    grid-column: span 1;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-step {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }

  .process-step:first-child {
    border-top: 1px solid var(--border);
  }

  .process-step-number {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 20px;
    font-size: 12px;
  }

  .process-step h3 {
    white-space: normal;
    margin-top: 12px;
  }

  .process-step p {
    white-space: normal;
  }

  .message-inner {
    grid-template-columns: 1fr;
  }

  .message-photo {
    max-width: 200px;
    margin: 0 auto;
    aspect-ratio: 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .process-note {
    padding: 24px 20px;
  }
}

/* ============================================================
   ANIMATIONS (minimal, purposeful)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  [data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  [data-animate].visible {
    opacity: 1;
    transform: none;
  }
}
