/*
 * みらいAIソリューション — デザインシステム
 * Design System: Corporate Precision × AI Gradient
 *   Background : White (#F8FAFC) / Slate-50 (#F1F5F9) / Dark (#0A0F1E)
 *   Gradient   : Indigo #6366F1 → Violet #8B5CF6 → Cyan #06B6D4
 *   Typography : Noto Serif JP (h1/h2) / Noto Sans JP (body) / IBM Plex Mono (labels)
 *   Radius     : 0.75rem cards, 0.375rem buttons
 *   Shadows    : rgba(99,102,241,0.10–0.18)
 */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #F8FAFC;
  color: #1E293B;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── CSS Variables ── */
:root {
  --indigo: #6366F1;
  --violet: #8B5CF6;
  --cyan: #06B6D4;
  --dark: #0A0F1E;
  --slate-900: #0F172A;
  --slate-800: #1E293B;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --white: #FFFFFF;
  --bg: #F8FAFC;
  --grad: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--cyan) 100%);
  --grad-90: linear-gradient(90deg, var(--indigo), var(--violet), var(--cyan));
  --shadow-card: 0 4px 24px rgba(99,102,241,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-product: 0 16px 48px rgba(99,102,241,0.14);
  --shadow-hero: 0 24px 64px rgba(99,102,241,0.18), 0 4px 16px rgba(0,0,0,0.08);
  --radius-card: 0.75rem;
  --radius-btn: 0.375rem;
  --max-w: 1232px;
  --px: clamp(1.5rem, 4vw, 2rem);


  /* カラー */
  --color-bg:          #ffffff;
  --color-bg-dark:     #0A0F1E;
  --color-bg-muted:    #F1F5F9;
  --color-surface:     #ffffff;
  --color-border:      rgba(226, 232, 240, 1);
  --color-border-grad: rgba(99, 102, 241, 0.15);

  --color-text-primary:   #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted:     #64748B;
  --color-text-light:     #94A3B8;
  --color-text-on-dark:   #F8FAFC;

  --color-indigo:  #6366F1;
  --color-violet:  #8B5CF6;
  --color-cyan:    #06B6D4;

  /* グラデーション */
  --grad-primary: linear-gradient(135deg, var(--color-indigo), var(--color-cyan));
  --grad-text:    linear-gradient(90deg, var(--color-indigo), var(--color-violet), var(--color-cyan));
  --grad-subtle:  linear-gradient(135deg, rgba(99,102,241,0.06), rgba(6,182,212,0.06));

  /* タイポグラフィ */
  --font-serif:  'Noto Serif JP', 'Georgia', serif;
  --font-sans:   'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif;
  --font-mono:   'IBM Plex Mono', 'Courier New', monospace;

  /* スペーシング */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;

  /* 角丸 */
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-full: 9999px;

  /* シャドウ */
  --shadow-card:   0 4px 24px rgba(99, 102, 241, 0.06);
  --shadow-product: 0 16px 48px rgba(99, 102, 241, 0.14);
  --shadow-btn:    0 4px 16px rgba(99, 102, 241, 0.3);

  /* コンテナ幅 */
  --container-max:    1232px;
  --container-narrow: 800px;

  /* トランジション */
  --transition-fast:   150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow:   350ms ease;

  /* ヘッダー高さ */
  --header-h: 64px;
}

/* ── Typography ── */
.heading-title, h2, h3 { font-family: 'Noto Serif JP', serif; font-weight: 700; line-height: 1.3; color: var(--slate-900); }
.heading-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.25; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p { font-family: 'Noto Sans JP', sans-serif; color: var(--slate-600); line-height: 1.85; }

/* ── Gradient Text ── */
.grad-text {
  background: var(--grad-90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Section Label (IBM Plex Mono) ── */
.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--grad-90);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Gradient Line ── */
.grad-line {
  display: inline-block;
  width: 2.5rem;
  height: 2px;
  border-radius: 9999px;
  background: var(--grad-90);
  flex-shrink: 0;
}

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.container--narrow { max-width: 800px; }

/* ── Buttons ── */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn);
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 50%, var(--cyan) 100%);
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.22s ease;
  position: relative;
  overflow: hidden;
}
.btn-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--violet) 0%, var(--cyan) 50%, var(--indigo) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-gradient:hover::before { opacity: 1; }
.btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(99,102,241,0.38), 0 2px 8px rgba(0,0,0,0.08); }
.btn-gradient:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(99,102,241,0.22); }
.btn-gradient span, .btn-gradient svg { position: relative; z-index: 1; }
.btn-gradient svg { transition: transform 0.22s cubic-bezier(0.34,1.56,0.64,1); }
.btn-gradient:hover svg { transform: translateX(3px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: rgba(99,102,241,0.5); color: var(--indigo); }

/* ── Security Badge ── */
.security-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--indigo);
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
}

/* ── Card ── */
.card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(99,102,241,0.14); transform: translateY(-2px); }

.card-grad-border {
  background: var(--white);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

/* ── Grad Icon ── */
.grad-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.12) 50%, rgba(6,182,212,0.12) 100%);
  border: 1px solid rgba(99,102,241,0.18);
}

/* ── Glow Orb ── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.25;
}
.glow-indigo { background: radial-gradient(circle, rgba(99,102,241,0.6) 0%, transparent 70%); }
.glow-cyan { background: radial-gradient(circle, rgba(6,182,212,0.5) 0%, transparent 70%); }

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  /* align-items: flex-start; */
}

/* ── Section Fade (h2) ── */
.section-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}
.section-fade.visible { opacity: 1; transform: translateY(0); }

/* ── Checklist ── */
.checklist { display: flex; flex-direction: column; gap: 0.5rem; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  color: var(--slate-700);
}
.checklist li::before {
  content: '';
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M1.5 4l2 2 3-3' stroke='white' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
  background-size: 8px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Highlight Box ── */
.highlight-box {
  padding: 1rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(6,182,212,0.06));
  border: 1px solid rgba(99,102,241,0.12);
}
.highlight-box .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet);
}
.highlight-box p {
  font-size: 0.9rem;
  color: var(--slate-800);
  margin-top: 0.25rem;
}

/* ── Header ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255,255,255,0.98);
  border-bottom: 1px solid var(--slate-200);
  transition: box-shadow 0.3s, backdrop-filter 0.3s;
  transition: all 0.5s;
}
#site-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  backdrop-filter: blur(8px);
  transform: translateY(-30px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem var(--px);
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 0.5em 1rem;
}
.header-logo img { height: 2.5rem; width: auto; }
.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.header-nav a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-600);
  position: relative;
  transition: color 0.2s;
}
.header-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 9999px;
  background: var(--grad-90);
  transition: width 0.3s ease;
}
.header-nav a:hover { color: var(--slate-900); }
.header-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; position: relative;}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border-radius: 0.375rem;
  transition: background 0.2s;
}
.hamburger:hover { background: var(--slate-100); }
.hamburger span {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--slate-700);
  border-radius: 9999px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Drawer ── */
.drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  z-index: 200;
  flex-direction: column;
  padding: 5rem 1.5rem 2rem;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}
.drawer.open { transform: translateX(0); display: flex; }
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
}
.drawer-overlay.open { display: block; }
.drawer a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-700);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--slate-100);
  transition: color 0.2s;
  display: flex;
  justify-content: center;
}
.drawer a.btn-gradient {
  color: #fff;
}
.drawer a:hover { color: var(--indigo); }
.drawer .drawer-cta { margin-top: 1rem; border-bottom: none; }

/* ── Sections ── */
section { overflow: hidden; }
.section-py { padding: 5rem 0; }
.section-py-lg { padding: 6rem 0; }

/* ── Hero ── */
#hero {
  padding: 4rem 0 3rem;
  position: relative;
  background: var(--bg);
}
.hero-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.hero-content { flex: 1; display: flex; flex-direction: column; gap: 1.75rem;
z-index: 1;}
.hero-eyebrow { display: flex; align-items: center; gap: 0.5rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.5rem; max-width: 510px; }
.hero-cta { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-image {
  width: 500px;
  /* height: 420px; */
  /* aspect-ratio: 58 / 42; */
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-hero);
  position: relative;
  max-width: 45vw;
}
.hero-image._no-shadow {
  overflow: visible;
  box-shadow: unset;
}

.hero-image img { width: 100%; height: auto; }
.hero-image-overlay {
  position: absolute;
  inset: 0;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, transparent 60%);
}

.hero-image._large {
  box-shadow: unset;
  overflow: visible;
}

.hero-image._large img {
  transform: scale(1.478);
}
@media (max-width: 1024px) {
  .hero-image._large img {
    max-width: 500px;
    margin: 0 auto;
    transform: translateX(5%);
  }
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--indigo);
  transition: gap 0.2s;
}
.link-arrow svg {
  position: relative;
  transition: all 0.2s;
}
.link-arrow:hover svg {
  transform: translateY(5px);
}

/* ── Vision ── */
#vision { background: var(--slate-100); }
.vision-inner { display: flex; flex-direction: column; gap: 1.5rem; }
.vision-divider { width: 100%; height: 1px; background: linear-gradient(90deg, rgba(99,102,241,0.3), transparent); }
.vision-paras { display: flex; gap: 1.25rem; }
.vision-paras__image {
  width: 40%;
}
.vision-paras__text {
  width: 60%;
}
@media (max-width: 768px) {
  .vision-paras {
    flex-direction: column;
  }
  .vision-paras__image {
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .vision-paras__text {
    width: 100%;
  }
}

/* ── About ── */
#about { background: var(--bg); }
.about-card {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  padding: 2.5rem;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: 0 4px 24px rgba(99,102,241,0.06);
}
.about-text { flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }
.about-logo-wrap {
  flex-shrink: 0;
  width: 18rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-logo-inner {
  width: 100%;
  max-width: calc(93px + 4rem);
  padding: 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), rgba(6,182,212,0.06));
  border: 1px solid rgba(99,102,241,0.12);
  transition: all 0.2s;
}

.about-logo-inner:hover {
  opacity: 0.5;
}
.about-logo-inner img {
  width: 93px;
  height: 65px;
}

/* ── Solutions ── */
#solutions { background: var(--bg); }
.section-header { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.section-header-row { display: flex; align-items: center; gap: 0.5rem; justify-content: center; }
.product-row {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.product-row.reverse { flex-direction: row-reverse; }
.product-image {
  width: 580px;
  /* height: 360px; */
  border-radius: 1rem;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-product);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-content { flex: 1; display: flex; flex-direction: column; gap: 1.25rem; }
.product-tag { display: flex; flex-direction: column; gap: 0.25rem; }
.solution-divider { border: none; border-top: 1px solid var(--slate-200); margin: 1rem 0; }

.product-image-wrap {
  position: relative;
  /* height: 360px; */
}
@media (max-width: 1024px) {
  .product-image-wrap {
    width: 100%;
    /* height: 360px; */
  }
}
.product-image-bg {
  position: absolute;
  top: 0;
  display: block;
  width: 580px;
  aspect-ratio: 58 / 36;
  z-index: -1;
}
/* CSSだけでフェードイン・アウトの画像切り替え */
.product-image._fade-change {
  position: relative;
  width: 580px;
  /* height: 360px; */
  aspect-ratio: 58 / 36;
}

._no-shadow {
  box-shadow: unset;
  overflow: visible;
  border-radius: unset;
  margin-bottom: -20px;
}

@media (max-width: 1024px) {
  .product-image._no-shadow {
    width: 100%;
    /* height: 360px; */
  }
}

.product-image._fade-change img.fade-change-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: fade-switch 6s infinite;
}

.product-image._fade-change img:first-child {
  animation-delay: 3s;
}

@keyframes fade-switch {
  0%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { opacity: 0; }
  95%  { opacity: 0; }
  100% { opacity: 1; }
}

/* ════════════════════════════════════
   FEATURES セクション
════════════════════════════════════ */
.features-section {
  position: relative;
  padding-block: 6rem;
  background: var(--color-bg-dark);
  overflow: hidden;
}

.orb-feat-1 { width: 20rem; height: 20rem; top: -5rem; left: -5rem; opacity: 0.4; }
.orb-feat-2 { width: 16rem; height: 16rem; bottom: 0; right: 0; opacity: 0.3; }

.features-section .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.features-section .section-header {
  gap: 1.25rem;
}

.features-sub-heading {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--color-text-on-dark);
  margin-top: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #111827;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-lg);
}

.feature-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.feature-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
}

.feature-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: #F1F5F9;
}

.feature-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-violet);
  margin-top: 0.125rem;
}

.feature-body {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--color-text-light);
}


/* ── Features (dark) ── */
/* #features { background: var(--dark); position: relative; }
#features h2, #features h3 { color: #F8FAFC; }
#features p { color: #94A3B8; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.feature-item { display: flex; flex-direction: column; gap: 1.25rem; }
.feature-image {
  width: 100%;
  height: 220px;
  border-radius: 0.75rem;
  overflow: hidden;
}
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { display: flex; align-items: flex-start; gap: 1rem; }
.feature-text { display: flex; flex-direction: column; gap: 0.5rem; }
.feature-text h3 { font-size: 1.1rem; } */


/* ════════════════════════════════════
   SECURITY セクション
════════════════════════════════════ */
.security-section {
  padding-block: 6rem;
  background: var(--color-bg);
}

.security-section .container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.security-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-border-grad);
  border-radius: var(--radius-xl);
}

.security-card-img-wrap {
  width: 100%;
  height: 13rem;
  overflow: hidden;
}

.security-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.security-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
}

.security-card-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-text-primary);
}

.security-card-desc {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

/* ── Security ── */
/* #security { background: var(--bg); }
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.security-card { display: flex; flex-direction: column; }
.security-card-image { width: 100%; height: 13rem; overflow: hidden; }
.security-card-image img { width: 100%; height: 100%; object-fit: cover; }
.security-card-body { flex: 1; display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; } */

/* ── FAQ ── */
#faq { background: var(--slate-100); }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open { border-color: rgba(99,102,241,0.3); box-shadow: 0 4px 20px rgba(99,102,241,0.10); }
.faq-btn {
  width: 100%;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}
.faq-q { display: flex; align-items: center; gap: 0.75rem; flex: 1; }
.faq-badge {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}
.faq-badge.q-badge { background: linear-gradient(135deg, var(--indigo), var(--violet)); color: #fff; }
.faq-badge.a-badge { background: linear-gradient(135deg, var(--violet), var(--cyan)); }
.faq-q span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate-800);
}
.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.faq-item.open .faq-icon { background: rgba(99,102,241,0.1); }
.faq-icon svg { transition: transform 0.25s ease; }
.faq-item.open .faq-icon svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--slate-100);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 1rem;
}
.faq-answer-inner p {
  font-size: 0.9rem;
  padding-top: 0.25rem;
}

/* ── CTA ── */
#cta { background: var(--dark); position: relative; }
#cta h2 { color: #F8FAFC; }
#cta p { color: var(--slate-400); }
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 2rem; text-align: center; }
.trust-signals { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.trust-item { display: flex; align-items: center; gap: 0.375rem; }
.trust-item span { font-family: 'Noto Sans JP', sans-serif; font-size: 0.8rem; color: var(--slate-500); }

/* ── Footer ── */
#site-footer {
  background: #0F172A;
  border-top: 1px solid rgba(99,102,241,0.15);
  padding: 1.5rem var(--px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-logo img { height: 2.25rem; width: auto; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.75rem;
  color: var(--slate-500);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--slate-400); text-decoration: underline; }
.footer-copy { font-family: 'IBM Plex Mono', monospace; font-size: 0.72rem; color: var(--slate-600); }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.breadcrumb a, .breadcrumb span {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  color: var(--slate-500);
}
.breadcrumb a:hover { color: var(--indigo); }
.breadcrumb .sep { color: var(--slate-400); }
.breadcrumb .current { color: var(--slate-700); }

/* ── Tab Nav (service pages) ── */
.tab-nav {
  display: flex;
  gap: 0.5rem;
  padding: 0.375rem;
  background: var(--slate-100);
  border-radius: 0.625rem;
  width: fit-content;
}
.tab-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--slate-600);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab-btn.active {
  background: var(--white);
  color: var(--indigo);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.tab-btn.is-disabled {
  color: #ccc;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-image { width: 100%; max-width: unset;}
  .hero-inner { flex-direction: column; }
  .product-row, .product-row.reverse { flex-direction: column; }
  .product-image { width: 100%; }
  .about-card { flex-direction: column; gap: 2rem; }
  .about-logo-wrap { width: 100%; }
  /* .features-grid { grid-template-columns: 1fr; } */
  .security-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --px: 1.25rem; }
  .header-nav { display: none; }
  .header-actions .btn-outline { display: none; }
  .hamburger { display: flex; }
  .section-py { padding: 3.5rem 0; }
  .section-py-lg { padding: 4rem 0; }
  .heading-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  h2 { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .header-actions .btn-gradient {
    padding: 5px 10px;
    white-space: nowrap;
  }
}

/* ── Utility ── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-20 { gap: 5rem; }
.text-center { text-align: center; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-8 { padding-top: 2rem; }

/* ── Product Tabs (service pages) ── */
.product-tabs {
  background: var(--bg);
  border-bottom: 1px solid var(--slate-200);
  padding: 0.75rem 0;
}
.tab-group {
  display: flex;
  gap: 0.5rem;
  padding: 0.375rem;
  background: var(--slate-100);
  border-radius: 0.625rem;
  width: fit-content;
}

/* ── Breadcrumb (list variant) ── */
.breadcrumb { padding: 0.75rem 0; border-bottom: 1px solid var(--slate-200); }
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
}
.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.8rem;
  color: var(--slate-500);
}
.breadcrumb-list li + li::before {
  content: '/';
  color: var(--slate-400);
}
.breadcrumb-list a { color: var(--slate-500); transition: color 0.2s; }
.breadcrumb-list a:hover { color: var(--indigo); }

/* ── Features grid 3-col ── */
/* .features-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .features-grid--3 { grid-template-columns: 1fr; }
} */

/* ── Challenges grid ── */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.challenge-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-card);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s;
}
.challenge-card:hover { box-shadow: 0 8px 32px rgba(99,102,241,0.12); transform: translateY(-2px); }
.challenge-card h3 { font-size: 1.05rem; }
.challenge-card p { font-size: 0.88rem; }
@media (max-width: 1024px) {
  .challenges-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .challenges-grid { grid-template-columns: 1fr; }
}

/* ヘルパークラス */
@media screen and (min-width:769px) {
  .u-pc-none {
    display: none !important;
  }
}
@media screen and (max-width:768px) {
  .u-sp-none {
    display: none !important;
  }
}


.section-heading.center { text-align: center; }
.section-heading.light  { color: var(--color-text-on-dark); }


.section-lead {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-text-muted);
  max-width: 740px;
}

.section-lead.light {
  color: var(--color-text-light);
}

.section-lead strong {
  color: #E2E8F0;
}


/* ═══ チェックリスト ═══ */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: #334155;
}

.check-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}




/* ═══ セクションラベル ═══ */
.section-label-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label-wrap.center {
  justify-content: center;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.drawer-close {
  position: absolute;
  top: 18.5px;
  right: 20px;
  width: 2rem;
  height: 2rem;
  text-indent: -9999px;
  padding: 0;
  border: none !important;
  padding: 0.25rem;
}
.drawer-close:before,
.drawer-close:after {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--slate-700);
}
.drawer-close:before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.drawer-close:after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.c-blank {
  display: flex;
  gap: 5px;
  align-items: center;
}
.c-blank:hover {
  color: var(--indigo);
}

.c-blank:after {
  content: '';
  display: inline-block;
  transition: all .2s;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="11" fill="none"><path fill="%23000" fill-rule="evenodd" d="M12 8.109V0H3.933v1.247h6.826V8.11H12ZM0 2.495h9.517v7.901H0v-7.9Zm8.276 6.653V3.743H1.24v5.405h7.035Z" clip-rule="evenodd"/></svg>');
  background-size: 12px 11px;
  background-repeat: no-repeat;
  background-position: center;
  width: 12px;
  height: 11px;
  padding: 0 3px;
}
.c-blank:hover:after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="11" fill="none"><path fill="%236366F1" fill-rule="evenodd" d="M12 8.109V0H3.933v1.247h6.826V8.11H12ZM0 2.495h9.517v7.901H0v-7.9Zm8.276 6.653V3.743H1.24v5.405h7.035Z" clip-rule="evenodd"/></svg>');
}

.header-inner {
  flex-wrap: wrap;
}
.header-logo {
  order: 2;
}

.header-actions {
  order: 3;
}

.header-links {
  font-size: 12px;
  order: 1;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  position: relative;
  padding: 0 3px;
}


@media screen and (max-width:1024px) {
  .header-inner {
    flex-wrap: nowrap;
  }
  .header-logo {
    order: 1;
  }

  .header-actions {
    order: 2;
  }

  .header-links {
    display: none;
  }
}