﻿/* ================================================
   ZETTA TECHNOLOGY - Z-Adam PRODUCT PAGE
   z-adam.css ? 固有スタイル
   依存: style.css（ベーススタイル・共通コンポーネント）
   ================================================ */


/* ================================================
   CSS 変数 上書き（このページ専用アクセントカラー）
   ================================================ */
:root {
  --zadam-red:    #990000;
  --zadam-cyan:   #00c8e8;
  --zadam-teal:   #00b8a0;
  --zadam-gold:   #c8960a;
  --zadam-navy:   #0d1b3e;
}

#container {
  display: block;
  width: 100%;
}

/* ================================================
   HERO
   ================================================ */
.za-hero {
  background: var(--zadam-navy);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.za-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,232,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,232,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.za-hero-orb {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153,0,0,0.22) 0%, transparent 68%);
  top: -120px; right: -80px;
  pointer-events: none;
}

.za-hero-orb2 {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,200,232,0.10) 0%, transparent 70%);
  bottom: -60px; left: 2%;
  pointer-events: none;
}

.za-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}

/* 左カラム */
.za-hero-left {}

.za-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zadam-cyan);
  margin-bottom: 20px;
}

.za-hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--zadam-cyan);
}

.za-hero-h1 {
  font-family: var(--font-serif-ja);
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 24px;
}

.za-hero-h1 em {
  font-style: normal;
  color: var(--zadam-cyan);
}

.za-hero-lead {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 560px;
}

/* CTAボタン群 */
.za-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

/* クイックナビ */
.za-quicknav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.za-quicknav-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-right: 4px;
}

.za-quicknav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}

.za-quicknav-link:hover {
  border-color: var(--zadam-cyan);
  color: var(--zadam-cyan);
}

/* 右カラム：スペックボード */
.za-hero-board {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.za-hero-board-header {
  background: rgba(153,0,0,0.30);
  border-bottom: 1px solid rgba(153,0,0,0.45);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.za-hero-board-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
}

.za-hero-board-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff9999;
}

.za-hero-board-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.za-spec-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.za-spec-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.za-spec-body {}

.za-spec-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 3px;
}

.za-spec-value {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.za-spec-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.50);
  margin-top: 2px;
}

.za-hero-board-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
}

/* 数値ハイライト行 */
.za-hero-board-stats {
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.za-stat {
  text-align: center;
  padding: 8px 4px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.za-stat:last-child { border-right: none; }

.za-stat-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--zadam-cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.za-stat-num span { font-size: 13px; }

.za-stat-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}


/* ================================================
   PAGE NAV
   ================================================ */
.za-page-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.za-page-nav-list {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.za-page-nav-list::-webkit-scrollbar { display: none; }

.za-page-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.za-page-nav-link:hover,
.za-page-nav-link.active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}


/* ================================================
   SECTION 共通
   ================================================ */
.za-section {
  padding: 88px 0;
  scroll-margin-top: 120px;
}

.za-section-alt   { background: var(--bg-light); }
.za-section-white { background: #fff; }

.za-section-dark {
  background: var(--zadam-navy);
  position: relative;
  overflow: hidden;
}

.za-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,232,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.za-section-header {
  margin-bottom: 52px;
}

.za-section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.za-section-header-center .section-tag {
  justify-content: center;
}

.za-section-header-center .section-tag::before {
  display: none;
}


/* ================================================
   PARADIGM SHIFT（パラダイムシフト比較表）
   ================================================ */
.za-paradigm-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.za-paradigm-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.za-paradigm-table thead tr {
  background: var(--zadam-navy);
}

.za-paradigm-table th {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  border: none;
}

.za-paradigm-table th:first-child {
  color: rgba(255,255,255,0.45);
  width: 140px;
}

.za-paradigm-table th.col-old {
  color: rgba(255,200,200,0.85);
  background: rgba(153,0,0,0.25);
}

.za-paradigm-table th.col-new {
  color: var(--zadam-cyan);
  background: rgba(0,200,232,0.15);
}

.za-paradigm-table tbody tr {
  border-bottom: 1px solid var(--border-light);
}

.za-paradigm-table tbody tr:last-child { border-bottom: none; }

.za-paradigm-table tbody tr:nth-child(even) { background: rgba(0,0,0,0.015); }

.za-paradigm-table td {
  padding: 14px 20px;
  font-size: 13px;
  line-height: 1.7;
  vertical-align: top;
}

.za-paradigm-table td:first-child {
  font-weight: 700;
  color: var(--brand-navy);
  white-space: nowrap;
  background: var(--bg-section);
  border-right: 1px solid var(--border-light);
}

.za-paradigm-table td.col-old {
  color: var(--text-secondary);
}

.za-paradigm-table td.col-new {
  color: var(--text-primary);
  font-weight: 500;
}

.za-paradigm-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(0,200,232,0.10);
  border: 1px solid rgba(0,200,232,0.25);
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  color: #0088aa;
  margin-bottom: 4px;
}


/* ================================================
   AI-ADAM CYCLE（5ステップ円環＋詳細）
   ================================================ */
.za-cycle-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
}

/* SVGダイアグラム */
.za-cycle-svg-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.za-cycle-svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}

/* 右：ステップ詳細リスト */
.za-cycle-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.za-cycle-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: var(--transition);
}

.za-cycle-step:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0,200,232,0.30);
}

.za-cycle-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,200,232,0.15);
  border: 1px solid var(--zadam-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--zadam-cyan);
  flex-shrink: 0;
}

.za-cycle-step-body { flex: 1; min-width: 0; }

.za-cycle-step-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.35;
}

.za-cycle-step-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.za-cycle-role {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  padding: 8px 10px;
}

.za-cycle-role-badge {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 700;
  margin-bottom: 5px;
}

.za-cycle-role-badge.ai {
  background: rgba(0,200,232,0.18);
  color: var(--zadam-cyan);
}

.za-cycle-role-badge.human {
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.65);
}

.za-cycle-role-text {
  font-size: 11px;
  color: rgba(255,255,255,0.60);
  line-height: 1.65;
}

/* サイクル下のリンク */
.za-cycle-links {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}


/* ================================================
   REASONS（3つの理由）
   ================================================ */
.za-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.za-reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.za-reason-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.za-reason-card-header {
  background: var(--zadam-navy);
  padding: 24px 28px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.za-reason-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--zadam-red);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.7;
  padding-top: 2px;
}

.za-reason-header-text {}

.za-reason-en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--zadam-cyan);
  margin-bottom: 4px;
}

.za-reason-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
}

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

.za-reason-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
  flex: 1;
}

.za-reason-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-red);
  transition: var(--transition);
  margin-top: auto;
}

.za-reason-link:hover { gap: 10px; }

.za-reason-link svg { flex-shrink: 0; }


/* ================================================
   TRUST（信頼の証）
   ================================================ */
.za-trust-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.za-trust-text .section-tag { color: var(--zadam-gold); }
.za-trust-text .section-tag::before { background: var(--zadam-gold); }

.za-trust-headline {
  font-family: var(--font-serif-ja);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.55;
  margin-bottom: 16px;
}

.za-trust-lead {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}

.za-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.za-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-navy);
  box-shadow: var(--shadow-sm);
}

.za-trust-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.za-trust-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.za-trust-link-item:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(153,0,0,0.03);
}

.za-trust-link-badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* 右側：実績ボード */
.za-trust-board {
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.za-trust-board-header {
  background: rgba(200,150,10,0.20);
  border-bottom: 1px solid rgba(200,150,10,0.35);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.za-trust-board-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e8b44a;
}

.za-trust-board-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.za-trust-fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.za-trust-fact-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(200,150,10,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.za-trust-fact-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.za-trust-fact-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}


/* ================================================
   SCENARIOS（ターゲット別活用ドラマ）
   ================================================ */
.za-scenarios-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 40px;
}

.za-scenario-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-ja);
}

.za-scenario-tab.active { color: var(--brand-red); border-bottom-color: var(--brand-red); }

.za-scenario-panel { display: none; }
.za-scenario-panel.active { display: block; }

.za-scenario-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.za-scenario-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 14px;
}

.za-scenario-copy {
  font-family: var(--font-serif-ja);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.5;
  margin-bottom: 14px;
}

.za-scenario-lead {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
}

/* 3ステップフロー */
.za-step-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 24px;
}

.za-step-flow-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.za-step-flow-item:last-child { border-bottom: none; }

.za-step-flow-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.za-step-flow-phase {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}

.za-step-flow-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.za-step-flow-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.za-scenario-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.za-scenario-link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--text-secondary);
  transition: var(--transition);
}

.za-scenario-link-item:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: rgba(153,0,0,0.03);
}

.za-scenario-link-badge {
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* サイド：ストーリーカード */
.za-story-card {
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.za-story-card-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.za-story-card-kicker {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zadam-cyan);
  margin-bottom: 6px;
}

.za-story-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.za-story-card-body {
  padding: 20px 24px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.za-story-results {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.za-story-result-item {
  flex: 1;
  text-align: center;
  padding: 16px 8px;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.za-story-result-item:last-child { border-right: none; }

.za-story-result-num {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--zadam-cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.za-story-result-label {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

/* 公共セクター用：EBPMポイントリスト */
.za-ebpm-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.za-ebpm-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-section);
  border-radius: var(--radius);
  border-left: 3px solid var(--zadam-teal);
}

.za-ebpm-point-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.za-ebpm-point-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

.za-ebpm-point-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ================================================
   VAULT（セキュリティ）
   ================================================ */
.za-vault-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.za-vault-text .section-tag { color: var(--zadam-cyan); }
.za-vault-text .section-tag::before { background: var(--zadam-cyan); }

.za-vault-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 16px;
}

.za-vault-lead {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin-bottom: 24px;
}

.za-vault-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.za-vault-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.za-vault-point-icon {
  width: 36px; height: 36px;
  border-radius: 7px;
  background: rgba(0,200,232,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.za-vault-point-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.za-vault-point-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

/* セキュリティ構成図 */
.za-vault-diagram {
  background: #0a1428;
  border: 1px solid rgba(0,200,232,0.18);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.za-vault-diagram-title {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--zadam-cyan);
  margin-bottom: 24px;
}

.za-vault-layers {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.za-vault-layer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid;
}

.za-vault-layer.onprem {
  background: rgba(153,0,0,0.15);
  border-color: rgba(153,0,0,0.35);
}

.za-vault-layer.bridge {
  background: rgba(0,200,232,0.08);
  border-color: rgba(0,200,232,0.22);
}

.za-vault-layer.cloud {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}

.za-vault-layer-icon {
  font-size: 20px;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.za-vault-layer-name {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex: 1;
}

.za-vault-layer-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  text-align: right;
}

.za-vault-arrow {
  text-align: center;
  color: var(--zadam-cyan);
  font-size: 14px;
  padding: 2px 0;
  opacity: 0.7;
}


/* ================================================
   CONVERSION CTA
   ================================================ */
.za-cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--zadam-red) 0%, #cc0000 100%);
  position: relative;
  overflow: hidden;
}

.za-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 50%, rgba(255,255,255,0.08), transparent 60%);
}

.za-cta-inner {
  position: relative;
  z-index: 1;
}

.za-cta-policy {
  text-align: center;
  font-family: var(--font-serif-ja);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  border-left: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 28px;
  margin-bottom: 32px;
  line-height: 1.6;
}

.za-cta-policy cite {
  font-style: normal;
  display: block;
  font-size: 11px;
  font-family: var(--font-en);
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}

.za-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.za-cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.za-cta-sub-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 100px;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}

.za-cta-sub-link:hover {
  border-color: rgba(255,255,255,0.80);
  color: #fff;
}


/* ================================================
   BREADCRUMB
   ================================================ */
.za-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
}

.za-breadcrumb a {
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}

.za-breadcrumb a:hover { color: rgba(255,255,255,0.85); }

.za-breadcrumb span { color: rgba(255,255,255,0.25); }


/* ================================================
   ANIMATION
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }


/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .za-hero-inner        { grid-template-columns: 1fr; gap: 36px; }
  .za-hero-orb          { display: none; }
  .za-cycle-inner       { grid-template-columns: 1fr; }
  .za-cycle-svg-wrap    { max-width: 400px; margin: 0 auto; }
  .za-reasons-grid      { grid-template-columns: 1fr 1fr; }
  .za-trust-inner       { grid-template-columns: 1fr; }
  .za-vault-inner       { grid-template-columns: 1fr; }
  .za-scenario-layout   { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .za-hero              { padding: 100px 0 60px; }
  .za-hero-board-stats  { grid-template-columns: 1fr 1fr; }
  .za-reasons-grid      { grid-template-columns: 1fr; }
  .za-cycle-step-roles  { grid-template-columns: 1fr; }
  .za-cta-actions       { flex-direction: column; align-items: center; }
  .za-paradigm-table    { min-width: 560px; }
  .za-scenario-tab      { padding: 12px 16px; font-size: 13px; }
}


/* ================================================
   FUNCTIONS PAGE  (functions.html)
   zafn- プレフィックスで他ページと衝突しない
   ================================================ */

/* ---- ヒーロー ---- */
.zafn-hero {
  background: var(--zadam-navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}
.zafn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,232,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.zafn-hero-orb {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(153,0,0,0.18) 0%, transparent 70%);
  top: -120px; right: -80px;
  pointer-events: none;
}
.zafn-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.zafn-hero-h1 {
  font-family: var(--font-serif-ja);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
}
.zafn-hero-h1 em { font-style: normal; color: var(--zadam-cyan); }
.zafn-hero-lead {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
  line-height: 1.9;
  margin-bottom: 28px;
}
.zafn-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ヒーロー右：カテゴリカード */
.zafn-cat-board {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.zafn-cat-board-header {
  background: rgba(153,0,0,0.28);
  border-bottom: 1px solid rgba(153,0,0,0.40);
  padding: 12px 20px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff9999;
}
.zafn-cat-board-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.zafn-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: var(--transition);
}
.zafn-cat-item:hover { background: rgba(255,255,255,0.07); color: #fff; border-color: rgba(255,255,255,0.18); }
.zafn-cat-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--cat-c, #aaa);
  flex-shrink: 0;
}

/* ---- 機能一覧 ---- */
.zafn-overview-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.zafn-overview-img img { width: 100%; display: block; }
.zafn-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.zafn-cat-col {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.zafn-cat-col-head {
  background: var(--col-bg, #333);
  padding: 10px 10px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.zafn-cat-col-head a { color: #fff; }
.zafn-cat-col-body {
  background: #fff;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.zafn-cat-col-link {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 3px 6px;
  border-radius: 3px;
  transition: var(--transition);
}
.zafn-cat-col-link:hover { color: var(--brand-red); background: rgba(153,0,0,0.05); }
.zafn-cat-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 4px;
}

/* ---- セクションタグ カラーバリアント ---- */
.zafn-tag-blue  { color: #2e619e; }
.zafn-tag-blue::before  { background: #2e619e; }
.zafn-tag-red   { color: #C60000; }
.zafn-tag-red::before   { background: #C60000; }
.zafn-tag-green { color: #4f6228; }
.zafn-tag-green::before { background: #4f6228; }
.zafn-tag-purple{ color: #604a7b; }
.zafn-tag-purple::before{ background: #604a7b; }
.zafn-tag-gray  { color: #808080; }
.zafn-tag-gray::before  { background: #808080; }

/* ---- 機能カード ---- */
.zafn-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
  scroll-margin-top: 120px;
}
.zafn-card-badge {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--badge-bg, #333);
  border: 3px solid rgba(255,255,255,0.25);
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  text-align: center;
}
.zafn-badge-cat {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.zafn-badge-num {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}
.zafn-badge-total { font-size: 12px; opacity: 0.70; }
.zafn-card-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.45;
  margin-bottom: 12px;
}
.zafn-title-red { color: var(--brand-red); }

/* ---- パネル ---- */
.zafn-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.zafn-panel-head {
  background: #4c4c4c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 10px 16px;
  line-height: 1.5;
}
.zafn-panel-body {
  padding: 20px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---- 2カラム ---- */
.zafn-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.zafn-two-col img { width: 100%; height: auto; display: block; }

/* ---- テキスト装飾 ---- */
.zafn-red       { color: #C60000; }
.zafn-accent-u  { color: #C60000; text-decoration: underline; }

/* ---- ボックス ---- */
.zafn-redbox {
  border: 1px solid #C60000;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 12px;
}
.zafn-note {
  background: var(--bg-light);
  border-left: 3px solid #C60000;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 10px;
}

/* ---- リスト ---- */
.zafn-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.zafn-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 14px;
  position: relative;
}
.zafn-list li::before {
  content: '●';
  position: absolute; left: 0; top: 4px;
  font-size: 7px; color: #C60000;
}

/* ---- バージョンボックス ---- */
.zafn-version-box {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-top: 16px;
}
.zafn-version-title {
  font-size: 13px; font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 10px;
}
.zafn-version-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.zafn-version-list li { padding-left: 14px; position: relative; }
.zafn-version-list li::before {
  content: '●'; position: absolute; left: 0; top: 4px;
  font-size: 7px; color: #C60000;
}
.zafn-version-list a {
  font-size: 13px;
  color: var(--brand-red);
  text-decoration: underline;
}
.zafn-version-list a:hover { color: var(--brand-red-dark); }

/* ---- 関連コンテンツ ---- */
.zafn-ver-banner {
  display: block;
  background: var(--brand-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
}
.zafn-ver-banner:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.zafn-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}
.zafn-related-card {
  display: block;
  background: #4c4c4c;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  text-align: center;
  padding: 14px 10px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.zafn-related-card:hover { background: #333; transform: translateY(-2px); }
.zafn-news-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.zafn-news-date { color: var(--text-light); white-space: nowrap; }
.zafn-news-row a { color: var(--brand-red); text-decoration: underline; }

/* ---- モーダル共通（modal.css 不要の自己完結版） ---- */
.modal-content {
  position: fixed !important;
  display: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.85);
  padding: 20px;
  border-radius: var(--radius-lg);
  align-items: center;
  justify-content: center;
  margin: 0;
  text-align: center;
}
.modal-content.is-open {
  display: flex !important;
}
.modal-overlay {
  display: none;
  position: fixed !important;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
}
.modal-open {
  cursor: pointer;
}
.modal-close {
  position: fixed !important;
  top: 10px;
  right: 10px;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}
.modal-close:hover {
  color: var(--accent-cyan);
}


/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .zafn-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .zafn-hero-orb   { display: none; }
  .zafn-cat-grid   { grid-template-columns: repeat(3, 1fr); }
  .zafn-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .zafn-hero { padding: 48px 0; }
  .zafn-card { grid-template-columns: 1fr; }
  .zafn-card-badge { margin: 0 auto; }
  .zafn-two-col { grid-template-columns: 1fr; }
  .zafn-cat-grid { grid-template-columns: 1fr 1fr; }
  .zafn-related-grid { grid-template-columns: 1fr; }
}


/* ================================================
   SUBPAGES  (comparison / ideal / cross / dwh / excel / trial)
   ================================================ */

/* ---- 3カラムカード ---- */
.zafn-three-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.zafn-three-card {
  border: 1px solid var(--border);
  border-top: 4px solid var(--card-accent, var(--brand-red));
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.zafn-three-card-head {
  background: var(--card-accent, var(--brand-red));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
  line-height: 1.45;
}
.zafn-three-card-body {
  padding: 14px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---- 比較テーブル ---- */
.zacomp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.zacomp-table tr { border-bottom: 1px solid var(--border); }
.zacomp-table tr:last-child { border-bottom: none; }
.zacomp-item {
  padding: 14px 16px;
  font-weight: 700;
  color: var(--brand-navy);
  width: 38%;
  vertical-align: middle;
}
.zacomp-result {
  padding: 14px 16px;
  color: var(--text-secondary);
  vertical-align: middle;
}

.zacomp-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 600px;
}
.zacomp-data-table th {
  background: var(--bg-section);
  color: var(--brand-navy);
  padding: 8px 10px;
  text-align: center;
  border: 1px solid var(--border);
  font-weight: 700;
}
.zacomp-data-table td {
  padding: 8px 10px;
  text-align: right;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.zacomp-data-table td:first-child { text-align: center; font-weight: 700; color: var(--brand-navy); }

.zacomp-env-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.zacomp-env-table tr { border-bottom: 1px solid var(--border); }
.zacomp-env-table tr:last-child { border-bottom: none; }
.zacomp-env-table th {
  background: var(--bg-section);
  padding: 12px 16px;
  font-weight: 700;
  color: var(--brand-navy);
  width: 160px;
  text-align: left;
  border-right: 1px solid var(--border);
}
.zacomp-env-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
}

/* ---- Q&Aボックス ---- */
.zafn-qa-box {
  border: 2px solid #999;
  border-radius: var(--radius);
  padding: 12px;
}
.zafn-qa-q {
  padding: 6px 6px 6px 42px;
  border-bottom: 1px solid #999;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  margin-bottom: 8px;
}
.zafn-qa-q::before {
  content: 'Q';
  position: absolute;
  left: 6px; top: 4px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #434343;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.zafn-qa-a {
  padding: 6px 6px 6px 42px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  position: relative;
}
.zafn-qa-a::before {
  content: 'A';
  position: absolute;
  left: 6px; top: 4px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #C60000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---- AI サイクル ---- */
.zafn-ai-cycle {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 24px;
  overflow-x: auto;
}
.zafn-ai-step {
  flex: 1;
  min-width: 140px;
  border: 1px solid var(--step-color, #90af51);
  border-top: 10px solid var(--step-color, #90af51);
  border-radius: var(--radius);
  padding: 8px;
  text-align: center;
  position: relative;
}
.zafn-ai-step-num {
  position: absolute; top: -8px; left: 6px;
  background: var(--step-color, #90af51);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 0 6px;
}
.zafn-ai-step-label {
  font-size: 13px; font-weight: 700;
  color: var(--step-color, #90af51);
  margin: 6px 0 4px;
  line-height: 1.3;
}
.zafn-ai-step-label small { font-size: 11px; font-weight: 400; }
.zafn-ai-step-desc { font-size: 12px; color: var(--text-secondary); line-height: 1.5; text-align: left; }
.zafn-ai-arrow {
  display: flex; align-items: center;
  color: var(--step-color, #90af51);
  font-size: 18px;
  padding: 0 4px;
  margin-top: 40px;
  flex-shrink: 0;
}

/* ---- フォーム ---- */
.zafn-form-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.zafn-form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.zafn-form-req {
  font-size: 11px;
  background: var(--brand-red);
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
}
.zafn-form-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--font-ja);
  transition: var(--transition);
  box-sizing: border-box;
}
.zafn-form-input:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(153,0,0,0.08);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .zafn-three-cards { grid-template-columns: 1fr; }
  .zafn-ai-cycle { flex-direction: column; }
  .zafn-ai-arrow { transform: rotate(90deg); margin: 4px auto; }
  .zafn-form-row { grid-template-columns: 1fr; }
}

/* ================================================
   LEGACY UTILITY CLASSES
   旧 /_css/import.css および /_css/products/adam.css から
   移行が必要なユーティリティスタイル
   ================================================ */

/* --- レイアウト --- */
.sub1 { padding: 20px; }
.sub2 { padding: 10px; }
.p20  { padding: 20px; }
.p10  { padding: 10px; }
.space30 { height: 30px; }
.space20 { height: 20px; }
.space10 { height: 10px; }

/* --- テキスト色 --- */
.colorFFF    { color: #fff; }
.colorC60000 { color: #C60000; }
.color323232 { color: #323232; }
.color000    { color: #000; }

/* --- 背景色 --- */
.bgC60000    { background-color: #C60000; }
.bg4c4c4c    { background-color: #4c4c4c; }
.bg254061    { background-color: #254061; }

/* --- フォントサイズ --- */
.f11 { font-size: 11px; }
.f12 { font-size: 12px; }
.f14 { font-size: 14px; }
.f16 { font-size: 16px; }
.f18 { font-size: 18px; }
.f20 { font-size: 20px; }
.f24 { font-size: 24px; }
.f28 { font-size: 28px; }
.f32 { font-size: 32px; }
.f34 { font-size: 34px; }

/* --- フォントウェイト --- */
.fbold { font-weight: bold; }

/* --- 行高 --- */
.lh120 { line-height: 1.2em; }
.lh140 { line-height: 1.4em; }
.lh180 { line-height: 1.8em; }

/* --- テキスト整列 --- */
.text_center { text-align: center; }
.text_left   { text-align: left; }
.text_right  { text-align: right; }

/* --- ボーダー --- */
.border {
  border: 1px solid #ccc;
}
.border_bottm {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

/* --- 丸アイコン（セクション番号） --- */
.maru {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  background-color: #7f7f7f;
  border-radius: 50%;
  height: 95px;
  width: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 2px 2px 4px gray;
  text-align:center;
}

/* --- フェードインアニメーション --- */
.fadein {
  opacity: 0;
  transform: translate(0, 10px);
  transition: all 1200ms;
}
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- スライダーコンテナ幅 --- */
.width_760 {
  width: 820px !important;
  margin: auto;
}

/* --- テーブルレイアウト --- */
.cv1 {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.cv1_l {
  display: table-cell;
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  width: 45%;
}
.cv1_r {
  display: table-cell;
  padding: 20px;
  text-align: center;
  vertical-align: middle;
  width: 45%;
}
.cv2 {
  display: table;
  table-layout: fixed;
  width: 100%;
  border-collapse: separate;
  border-spacing: 5px 3px;
}
.cv2_b,
.cv2_i {
  display: table-cell;
  padding: 10px;
  vertical-align: top;
}

/* --- その他ユーティリティ --- */
.colc_under {
  color: #C60000;
  text-decoration: underline;
}

/* スマホ用左揃え */
.sm_left { text-align: left; }

/* --- sub2_nospace, sub2_table --- */
.sub2_nospace {
  padding: 0;
  margin: 0;
}
.sub2_table {
  display: table;
  width: 100%;
}

/* --- flexslider 互換スタイル (kdb) --- */
.flexslider {
  position: relative;
  overflow: hidden;
}
.flexslider .slides {
  margin: 0;
  padding: 0;
  list-style: none;
}
.kdb {
  /* flexslider knowledge-database スタイル */
}

/* --- モーダル (既存z-adam.cssに定義がない場合の補完) --- */
/*
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.72);
  z-index: 16;
  cursor: pointer;
}*/
.modal-open { cursor: pointer; }


.modal-open::after {
  content: "クリックすると拡大画像を表示します。";
  display: none;
  margin-left: 8px;
  color: #333;
  font-size: 0.9em;
}
.modal-open:hover::after {
  display: block;
}

/* --- リンクカラー補完 --- */
.sub1 a, .sub2 a { color: #0000ee; }



/* ================================================
   LEARNING PAGES  (learning.html / beginner / intermediate / advanced)
   ラーニングページ固有スタイル
   ================================================ */

/* パーティクルヒーロー */
#top_z_adam { position: relative; padding-bottom: 3px; }
#top_z_adam::before {
  border-bottom: solid 2px #C60000;
  width: 24%;
  position: absolute; z-index: 1; bottom: -2px; left: 0;
  content: "";
}
#top_z_adam::after {
  border-bottom: solid 2px #656565;
  width: 100%;
  position: absolute; bottom: -2px; left: 0;
  content: "";
}
#particles-js {
  width: 100%; height: 300px;
  position: relative;
  background-color: #000;
  padding-bottom: 10px;
}
#particles-js canvas { width: 100%; height: 100%; z-index: 1; }

/* ラーニングカードグリッド */
.learning-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.learning-card {
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.learning-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.learning-card a { color: inherit; display: block; }
.learning-card-head {
  background-color: #4c4c4c;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  padding: 10px 8px;
  line-height: 1.3em;
  text-shadow: 1px 2px 3px #808080;
}
.learning-card-body {
  padding: 14px;
  font-size: 14px;
  line-height: 1.7;
}
.learning-card-contents {
  border: 1px solid #ccc;
  padding: 8px;
  margin-top: 10px;
  font-size: 13px;
}

/* 動画サムネイルグリッド */
.movie-grid-lg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 820px;
  margin: 0 auto 12px;
}
.movie-grid-sm {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-width: 820px;
  margin: 0 auto;
}
.movie-thumb {
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
  cursor: pointer;
}
.movie-thumb img { width: 100%; display: block; }
.movie-thumb h3 {
  font-size: 13px;
  line-height: 1.4em;
  background-color: #4c4c4c;
  color: #fff;
  text-shadow: 1px 2px 3px #808080;
  padding: 4px;
  margin: 0;
}

/* DWH ページ固有スタイル */
table.dwhh1 { margin: 20px auto; }
table.dwhh1 tr td.l_dwh { font-size: 20px; border: 2px solid #C00000; color: #c00000; font-weight: bold; }
table.dwhh1 tr td.r_dwh { font-size: 20px; border: 2px solid #9bbb59; color: #9bbb59; font-weight: bold; }
table.dwhh1 tr td { height: 3em; padding: 2px 20px; }
.c_dwh { display: inline-block; position: absolute; top: 0; right: 0; left: 0; bottom: 0; margin: auto; }
.c_dwh span { background-color: #FFF; padding: 3px 20px; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); white-space: nowrap; }
span.cf21 { font-size: 21px; font-weight: bold; color: #C00000; border-bottom: 5px solid #C00000; }
span.cf32 { font-size: 32px; font-weight: bold; color: #C00000; border-bottom: 5px solid #C00000; }
.t_s_title {
  font-size: 20px; font-weight: bold; color: #FFF;
  background: linear-gradient(#cd3c38,#9e2e2b);
  margin-bottom: 10px;
  box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.5);
}
.bzs_title {
  width: 12em; font-size: 20px; font-weight: bold; color: #FFF;
  background: linear-gradient(#cd3c38,#9e2e2b);
  box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.5);
  vertical-align: middle;
}
.sub2_table_nofixed { display: flex; flex-wrap: wrap; align-items: stretch; }
.sub2_nofixed { display: inline-block; padding: 10px; }
.sub2_table_noborder { display: flex; flex-wrap: wrap; align-items: stretch; }
.sub2_table_noborder .sub2 { min-height: 5em; width: 17em; }
.sub2_table_noborder .sub2 p { margin: 0; }

/* サブメニュー（ラーニング内ページナビ）レスポンシブ */
@media (max-width: 768px) {
  .learning-card-grid { grid-template-columns: 1fr; }
  .movie-grid-lg { grid-template-columns: 1fr; }
  .movie-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .width_760 { width: 100% !important; }
}

/* ================================================
   LEARNING PAGES 追加スタイル
   (z-adam.css に存在しなかったクラスを補完)
   ================================================ */

/* --- ラーニングページ サブページナビ (lrn-subnav) --- */
.lrn-subnav {
  background: var(--bg-section, #f2f4fa);
  border-bottom: 1px solid var(--border, #e0e4f0);
}
.lrn-subnav-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.lrn-subnav-inner::-webkit-scrollbar { display: none; }
.lrn-subnav-link {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary, #4a4a6a);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.lrn-subnav-link:hover {
  color: var(--brand-red, #990000);
  border-bottom-color: var(--brand-red, #990000);
}
.lrn-subnav-link.active {
  color: #C60000;
  border-bottom-color: #C60000;
  font-weight: 700;
}

/* --- ラーニングヒーロー (lrn-hero) --- */
.lrn-hero {
  background: var(--brand-navy, #0d1b3e);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.lrn-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,232,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,232,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.lrn-hero-orb {
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198,0,0,0.18) 0%, transparent 70%);
  top: -100px; right: -60px;
  pointer-events: none;
}
.lrn-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.lrn-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan, #00c8e8);
  margin-bottom: 16px;
}
.lrn-hero-eyebrow::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--accent-cyan, #00c8e8);
}
.lrn-hero-h1 {
  font-family: var(--font-serif-ja, 'Noto Serif JP', serif);
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 16px;
}
.lrn-hero-h1 em {
  font-style: normal;
  color: var(--accent-cyan, #00c8e8);
}
.lrn-hero-lead {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 28px;
}
.lrn-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- セクション共通 (lrn-section) --- */
.lrn-section {
  padding: 72px 0;
}
.lrn-section-alt  { background: var(--bg-light, #f8f8fc); }
.lrn-section-white { background: #fff; }
.lrn-section-dark {
  background: var(--brand-navy, #0d1b3e);
  position: relative;
}
.lrn-section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,232,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.lrn-section-header {
  margin-bottom: 40px;
}
.lrn-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red, #990000);
  margin-bottom: 10px;
}
.lrn-section-tag::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--brand-red, #990000);
}
.lrn-section-tag.cyan-tag { color: var(--accent-cyan, #00c8e8); }
.lrn-section-tag.cyan-tag::before { background: var(--accent-cyan, #00c8e8); }
.lrn-section-title {
  font-family: var(--font-serif-ja, 'Noto Serif JP', serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  line-height: 1.45;
  color: var(--brand-navy, #0d1b3e);
  margin-bottom: 12px;
}
.lrn-section-title.light { color: #fff; }
.lrn-section-lead {
  font-size: 14px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.85;
}

/* --- コースカード (lrn-course-cards) --- */
.lrn-course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.lrn-course-card {
  background: #fff;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.lrn-course-card:hover {
  box-shadow: var(--shadow-md, 0 8px 32px rgba(0,0,0,0.10));
  transform: translateY(-4px);
}
.lrn-course-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.lrn-course-card-head {
  background: var(--brand-navy, #0d1b3e);
  padding: 20px 20px 16px;
  position: relative;
}
.lrn-course-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(198,0,0,0.85);
  color: #fff;
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  border: 2px solid rgba(255,255,255,0.25);
}
.lrn-course-level {
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan, #00c8e8);
  margin-bottom: 6px;
}
.lrn-course-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.lrn-course-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.50);
  margin-top: 4px;
}
.lrn-course-card-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lrn-course-desc {
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.75;
  margin-bottom: 14px;
  flex: 1;
}
.lrn-course-contents {
  background: var(--bg-section, #f2f4fa);
  border-radius: var(--radius, 8px);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.8;
}
.lrn-course-contents-title {
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  margin-bottom: 6px;
  font-size: 12px;
}

/* --- 動画セクション (lrn-movie) --- */
.lrn-movie-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.lrn-movie-grid-sm {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.lrn-movie-card {
  background: #fff;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.lrn-movie-card:hover {
  box-shadow: var(--shadow-md, 0 8px 32px rgba(0,0,0,0.10));
  transform: translateY(-2px);
}
.lrn-movie-card img { width: 100%; display: block; }
.lrn-movie-card-label {
  background: var(--brand-navy, #0d1b3e);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 8px 6px;
  line-height: 1.4;
}
.lrn-movie-card-sm .lrn-movie-card-label {
  font-size: 11px;
  padding: 6px 4px;
}

/* --- コンテンツスライドブロック (lrn-slide-section) --- */
.lrn-slide-section {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: #fff;
  margin-bottom: 32px;
  scroll-margin-top: 120px;
}
.lrn-slide-header {
  background: var(--brand-navy, #0d1b3e);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
}
.lrn-slide-step-badge {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(198,0,0,0.85);
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lrn-slide-step-num {
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.lrn-slide-step-label {
  font-size: 10px;
  color: rgba(255,255,255,0.70);
  line-height: 1;
}
.lrn-slide-header-text {}
.lrn-slide-chapter {
  font-size: 11px;
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--accent-cyan, #00c8e8);
  margin-bottom: 4px;
}
.lrn-slide-title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}
.lrn-slide-body {
  padding: 28px;
}

/* --- スライドカルーセル (flexslider再利用) --- */
.lrn-slider-wrap {
  width: 820px;
  max-width: 100%;
  margin: 0 auto;
}

/* --- 操作ステップカード --- */
.lrn-step-card {
  background: var(--bg-section, #f2f4fa);
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  padding: 20px 24px;
  margin-bottom: 8px;
}
.lrn-step-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.lrn-step-card-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-navy, #0d1b3e);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lrn-step-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
}
.lrn-step-card-body {
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.75;
}
.lrn-step-card-img {
  margin-top: 12px;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.lrn-step-card-img img { width: 100%; display: block; }

/* --- 画像モーダル用オーバーレイ --- */
.lrn-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.lrn-modal-overlay.open {
  display: flex;
}
.lrn-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}
.lrn-modal-content img,
.lrn-modal-content video {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
  border-radius: var(--radius, 8px);
}
.lrn-modal-close {
  position: absolute;
  top: -12px; right: -12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.7);
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* --- スライドページ内テキストブロック --- */
.lrn-ol {
  padding-left: 20px;
}
.lrn-ol li {
  list-style: decimal;
  font-size: 14px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.75;
  margin-bottom: 8px;
}
.lrn-ul {
  padding-left: 0;
}
.lrn-ul li {
  list-style: none;
  font-size: 14px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.75;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
}
.lrn-ul li::before {
  content: '?';
  position: absolute;
  left: 0;
  color: #C60000;
  font-size: 9px;
  top: 5px;
}

/* --- 注釈 --- */
.lrn-note {
  background: var(--bg-section, #f2f4fa);
  border-left: 3px solid var(--brand-red, #990000);
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.7;
  margin-top: 10px;
}

/* --- CTA セクション --- */
.lrn-cta {
  background: linear-gradient(135deg, #990000 0%, #cc0000 100%);
  padding: 60px 0;
  text-align: center;
}
.lrn-cta-title {
  font-family: var(--font-serif-ja, 'Noto Serif JP', serif);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  color: rgba(255,255,255,0.90);
  margin-bottom: 24px;
  line-height: 1.55;
}
.lrn-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* --- リンクアンカー用オフセット --- */
.lrn-anchor {
  display: block;
  height: 0;
  margin-top: -80px;
  padding-top: 80px;
  visibility: hidden;
}

/* --- ページリンクバナー --- */
.lrn-banner {
  display: block;
  background: var(--brand-navy, #0d1b3e);
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: var(--radius, 8px);
  border: 1px solid rgba(255,255,255,0.12);
  transition: background 0.25s, transform 0.25s;
  text-align: center;
  margin-top: 16px;
}
.lrn-banner:hover {
  background: rgba(13,27,62,0.85);
  transform: translateY(-2px);
}
.lrn-banner-red {
  background: var(--brand-red, #990000);
  border-color: rgba(255,255,255,0.15);
}
.lrn-banner-red:hover {
  background: #7a0000;
}

/* --- レスポンシブ --- */
@media (max-width: 1024px) {
  .lrn-course-cards { grid-template-columns: 1fr 1fr; }
  .lrn-movie-grid { grid-template-columns: 1fr 1fr; }
  .lrn-movie-grid-sm { grid-template-columns: repeat(3, 1fr); }
  .lrn-slider-wrap { width: 100%; }
}
@media (max-width: 768px) {
  .lrn-hero { padding: 40px 0 32px; }
  .lrn-section { padding: 48px 0; }
  .lrn-course-cards { grid-template-columns: 1fr; }
  .lrn-movie-grid { grid-template-columns: 1fr; }
  .lrn-movie-grid-sm { grid-template-columns: repeat(2, 1fr); }
  .lrn-slide-body { padding: 16px; }
  .lrn-slide-header { padding: 16px 18px; gap: 12px; }
  .lrn-slide-title { font-size: 15px; }
}


/* ================================================
   ラーニングページ移植用スタイル
   （旧 /_css/import.css / adam.css / modal.css 相当）
   products.css、style.css、z-adam.css にないスタイルをここに追記
   ================================================ */

/* --- 旧レイアウト補完 --- */
.sub1     { padding: 0 0 0 120px; position: relative; }
.p20      { padding: 20px; }
.lh120    { line-height: 1.2; }
.lh180    { line-height: 1.8; }
.border_bottm { border-bottom: 1px solid #CCC; }
.border   { border: 1px solid #CCC; }
.text_left  { text-align: left; }
.text_center{ text-align: center; }
.colorFFF { color: #FFF; }
.fbold    { font-weight: bold; }
.f18      { font-size: 18px; }
.space30  { height: 30px; }

/* width_760 はレスポンシブ対応で最大幅のみ指定 */
.width_760 {
  width: 820px !important;
  max-width: 100%;
  margin: auto;
}

/* --- fadein スクロールアニメーション --- */
.fadein {
  opacity: 0;
  transform: translate(0, 10px);
  transition: all 1200ms;
}
.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- 丸アイコン (maru) --- */
.maru {
  position: absolute;
  top:30px; left: 0; right: 0; bottom: 0;
  color: #FFF;
  font-weight: bold;
  font-size: 24px;
  background-color: #7f7f7f;
  border-radius: 50%;
  height: 95px; width: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #FFF;
  box-shadow: 2px 2px 4px gray;
  text-align:center;
}
.maru + h2{min-height:100px; display: flex;  align-items: center; justify-content: center;}

/* --- flexslider 基本リセット (kdb テーマ) --- */
.kdb .slides > li { text-align: center; }

/* --- モーダル (旧 modal.css 互換) --- */
/*
.modal-content {
  position: fixed;
  display: none;
  width: 100%;
  margin: 0;
  text-align: center;
  z-index: 1050;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.modal-content img  { max-height: 80vh; max-width: 90vw; }
.modal-content video {
  background-position: center center;
  background-size: cover;
  left: 0;
  min-height: 65%; min-width: 65%;
  max-height: 75%; max-width: 75%;
  z-index: 1051;
}
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.72);
  z-index: 1040;
  cursor: pointer;
}
a.modal-close {
  position: absolute;
  top: 0; bottom: 0; right: 10px;
  margin: auto;
  cursor: pointer;
  z-index: 1052;
}
a.modal-close img {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 1053;
}*/

/* --- アンカーオフセット用 --- */
span.link-t-a {
  position: relative;
  top: -120px;
  display: block;
}

/* --- ラーニング用サブナビ（#submenu → lrn-subnav 移行済み）追補 --- */
.lrn-subnav-sep {
  color: var(--border, #e0e4f0);
  padding: 10px 4px;
  font-size: 14px;
}

/* --- 動画アイコンカード --- */
.lrn-movie-card-thumb {
  background: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  overflow: hidden;
}
.lrn-movie-card-thumb img {
  width: 100%;
  display: block;
}



/* ================================================
   movie.html / outline.html / output.html 追加スタイル
   products.css・style.css・z-adam.css にないクラスを追記
   ================================================ */

/* --- 動画ページ：メインカード --- */
.mv-main-card {
  background: #fff;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.06));
  transition: box-shadow 0.25s, transform 0.25s;
}
.mv-main-card:hover {
  box-shadow: var(--shadow-md, 0 8px 32px rgba(0,0,0,0.10));
  transform: translateY(-3px);
}
.mv-main-card-link {
  display: flex;
  align-items: stretch;
  text-decoration: none;
  color: inherit;
}
.mv-main-card-thumb {
  position: relative;
  flex: 0 0 50%;
  overflow: hidden;
  background: #000;
  min-height: 200px;
}
.mv-main-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.25s;
}
.mv-main-card:hover .mv-main-card-thumb img { opacity: 0.85; }
.mv-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.18);
  transition: background 0.2s;
}
.mv-main-card:hover .mv-play-btn { background: rgba(0,0,0,0.32); }
.mv-main-card-body {
  flex: 1;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.mv-main-card-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  background: #4c4c4c;
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius, 8px);
  display: inline-block;
}
.mv-main-card-desc {
  font-size: 14px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.8;
}

/* --- 動画レベルバッジ --- */
.mv-badge-beginner    { background: #2e619e !important; color: #fff !important; }
.mv-badge-intermediate { background: #C60000 !important; color: #fff !important; }
.mv-badge-advanced    { background: #4f6228 !important; color: #fff !important; }

/* --- 関連リンクグリッド（movie/outline/output共通） --- */
.mv-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.mv-related-link {
  display: block;
  background: #4c4c4c;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius, 8px);
  transition: background 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.mv-related-link:hover {
  background: var(--brand-red, #990000);
  color: #fff;
}

/* --- ニュース行 --- */
.mv-news-row {
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--border, #e0e4f0);
}
.mv-news-date {
  color: var(--text-light, #8888aa);
  white-space: nowrap;
}
.mv-news-row a {
  color: var(--brand-red, #990000);
  text-decoration: underline;
  transition: color 0.2s;
}
.mv-news-row a:hover { color: var(--brand-red-dark, #660000); }

/* --- 概要ページ：開発思想カード --- */
.ol-dev-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.ol-dev-card {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.ol-dev-card-head {
  background: #C60000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 10px 8px;
  line-height: 1.5;
}
.ol-dev-card-kw {
  display: block;
  font-size: 17px;
}
.ol-dev-card-body {
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary, #1a1a2e);
  background: #fff;
}

/* --- 概要ページ：主な実績ボックス --- */
.ol-achievement-box {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  margin-top: 8px;
}
.ol-achievement-label {
  background: #C60000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  white-space: nowrap;
  line-height: 1.4;
}
.ol-achievement-body {
  font-size: 13px;
  line-height: 1.7;
  padding: 14px 18px;
  color: var(--text-secondary, #4a4a6a);
  flex: 1;
}

/* --- 概要ページ：BI比較テーブル --- */
.ol-compare-wrap {
  overflow-x: auto;
  margin-bottom: 4px;
}
.ol-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 580px;
}
.ol-compare-table th,
.ol-compare-table td {
  padding: 10px 12px;
  border: 1px solid var(--border, #e0e4f0);
  vertical-align: middle;
  line-height: 1.5;
}
.ol-compare-table th {
  background: var(--bg-section, #f2f4fa);
  font-weight: 700;
  text-align: center;
}
.ol-compare-bi {
  background: #808080;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}
.ol-compare-zadam {
  background: #C60000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

/* --- 概要ページ：活用シーングリッド --- */
.ol-usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  max-width: 800px;
  margin: 0 auto;
}
.ol-usecase-cell {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  line-height: 1.4;
  padding: 16px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* --- 出力帳票ページ：帳票カードヘッド --- */
.op-report-card-head {
  background: #4c4c4c;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  padding: 12px 16px;
  line-height: 1.4;
  margin-bottom: 0;
}

/* --- レスポンシブ --- */
@media (max-width: 900px) {
  .mv-main-card-link { flex-direction: column; }
  .mv-main-card-thumb { flex: none; min-height: 180px; }
  .mv-related-grid { grid-template-columns: repeat(2, 1fr); }
  .ol-dev-cards { grid-template-columns: 1fr; }
  .ol-usecase-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .mv-related-grid { grid-template-columns: 1fr; }
  .ol-achievement-box { flex-direction: column; }
  .ol-achievement-label { padding: 10px 14px; }
}


/* ================================================
   solution.html / service_opendata.html /
   service_price.html / standalone.html 追加スタイル
   products.css・style.css・z-adam.css にないクラスを追記
   ================================================ */

/* ---- 共通：ハイライトボックス ---- */
.sl-highlight-box {
  background: #4c4c4c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: var(--radius, 8px);
  margin-bottom: 16px;
  line-height: 1.5;
}
.sl-highlight-label { color: #fff; }

/* ---- 数式行 ---- */
.sl-formula-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.sl-formula-item {
  padding: 8px 16px;
  border: 2px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}
.sl-formula-item-gray { background: var(--bg-section, #f2f4fa); color: var(--brand-navy, #0d1b3e); }
.sl-formula-item-red  { background: #C60000; color: #fff; border-color: #C60000; }
.sl-formula-op { font-size: 20px; font-weight: 700; color: var(--text-secondary, #4a4a6a); }

/* ---- 課題グリッド（solution） ---- */
.sl-issue-grid {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 16px;
  margin-top: 16px;
}
.sl-issue-card {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.sl-issue-card-accent { border-color: #C60000; }
.sl-issue-card-head {
  background: #4c4c4c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  line-height: 1.4;
}
.sl-issue-card-accent .sl-issue-card-head { background: #C60000; }
.sl-issue-card-body {
  padding: 16px;
  background: #fff;
}

/* ---- リード文 ---- */
.sl-lead-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary, #1a1a2e);
  margin-bottom: 16px;
}

/* ---- 検証ボックス（solution） ---- */
.sl-verify-intro { margin-bottom: 20px; }
.sl-verify-box {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  margin-bottom: 20px;
}
.sl-verify-box-head {
  background: #4c4c4c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
}
.sl-verify-flow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  flex-wrap: wrap;
}
.sl-verify-flow-item {
  border: 2px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  background: var(--bg-section, #f2f4fa);
}
.sl-verify-flow-note {
  flex: 1;
  font-size: 13px;
  color: #C60000;
  line-height: 1.7;
  min-width: 160px;
}
.sl-verify-desc {
  font-size: 13px;
  line-height: 1.7;
  padding: 12px 16px;
  border-top: 1px solid var(--border, #e0e4f0);
  color: var(--text-secondary, #4a4a6a);
}
.sl-authority-note {
  background: var(--bg-section, #f2f4fa);
  border-left: 4px solid var(--brand-navy, #0d1b3e);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  margin-bottom: 20px;
}

/* ---- データテーブル（共通） ---- */
.sl-table-wrap { overflow-x: auto; margin-bottom: 8px; }
.sl-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px;
}
.sl-data-table th {
  background: var(--bg-section, #f2f4fa);
  font-weight: 700;
  padding: 10px 12px;
  border: 1px solid #999;
  text-align: center;
}
.sl-data-table td {
  padding: 10px 12px;
  border: 1px solid #999;
  vertical-align: middle;
  line-height: 1.6;
}

/* ---- Z-Adamの特長カード群（solution） ---- */
.sl-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.sl-feature-card {
  background: #fff;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sl-feature-card-head {
  background: #C60000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
  line-height: 1.4;
}
.sl-feature-card-body {
  padding: 16px 20px;
}
.sl-feature-item { margin-bottom: 16px; }
.sl-feature-item:last-child { margin-bottom: 0; }
.sl-feature-item-title { font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.sl-feature-list {
  padding-left: 0;
  margin: 0;
}
.sl-feature-list li {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.sl-feature-list li::before {
  content: '◎';
  position: absolute;
  left: 0;
  color: var(--brand-red, #990000);
  font-size: 11px;
  top: 3px;
}

/* ---- Q&Aグリッド（solution） ---- */
.sl-qa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sl-qa-item {
  border: 2px solid #999;
  border-radius: var(--radius, 8px);
  padding: 16px;
}
.sl-qa-item dl { margin: 0; }
.sl-qa-item dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  padding: 0 0 8px 36px;
  border-bottom: 1px solid #ccc;
  margin-bottom: 8px;
  position: relative;
  line-height: 1.5;
}
.sl-qa-item dt::before {
  content: 'Q';
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #434343;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.sl-qa-item dd {
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.7;
  padding-left: 36px;
  position: relative;
  margin: 0;
}
.sl-qa-item dd::before {
  content: 'A';
  position: absolute;
  left: 0; top: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #C60000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.sl-qa-accent { color: #C60000; text-decoration: underline; }

/* ---- Z-Adam詳細リンク ---- */
.sl-detail-link { text-align: center; }
.sl-detail-btn {
  display: inline-block;
  background: #C60000;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 18px 40px;
  border-radius: var(--radius, 8px);
  text-shadow: 1px 1px 2px #000;
  transition: background 0.2s;
}
.sl-detail-btn:hover { background: #990000; color: #fff; }

/* ---- オープンデータ：画像行 ---- */
.od-img-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}
.od-img-row a { flex: 1; min-width: 200px; max-width: 46%; cursor: pointer; }
.od-img-row a img { /*width: 100%;*/ display: block; border: 1px solid var(--border, #e0e4f0); border-radius: var(--radius, 8px); }

/* ---- オープンデータ：テンプレートレイアウト ---- */
.od-template-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.od-template-img { cursor: pointer; }
.od-template-img img { width: 100%; border: 1px solid var(--border, #e0e4f0); border-radius: var(--radius, 8px); }

/* ---- 導入支援：サポートグリッド ---- */
.sp-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sp-support-card {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.sp-support-card-head {
  background: #254061;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px 12px;
  line-height: 1.4;
}
.sp-support-card-body {
  padding: 14px;
  background: #fff;
}

/* ---- 統計改革：カードグリッド ---- */
.sp-reform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.sp-reform-card {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.sp-reform-card-head {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
}
.sp-reform-card-body { padding: 16px; background: #fff; }
.sp-reform-detail {
  background: var(--bg-section, #f2f4fa);
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.6;
  margin-top: 12px;
}

/* ---- タイプカードグリッド ---- */
.sp-type-grid {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.sp-type-card {
  flex: 1;
  min-width: 100px;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  text-align: center;
}
.sp-type-head {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 4px;
  line-height: 1.3;
}
.sp-type-std   .sp-type-head { background: #4c4c4c; }
.sp-type-cloud .sp-type-head { background: #376092; }
.sp-type-onprem .sp-type-head { background: #604a7b; }
.sp-type-body {
  padding: 10px 8px;
  font-size: 13px;
  line-height: 1.5;
  background: #fff;
}
.sp-type-badge {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #AC0000;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 3px solid #dfdfdf;
  box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  flex-shrink: 0;
  line-height: 1.3;
}

/* ---- 価格カード ---- */
.sp-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.sp-price-card {
  background: var(--bg-section, #f2f4fa);
  border: 2px solid #254061;
  border-radius: var(--radius-lg, 16px);
  padding: 24px;
  text-align: center;
}
.sp-price-card-label {
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #254061;
  margin-bottom: 8px;
}
.sp-price-card-amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
}
.sp-price-num {
  font-size: 36px;
  font-family: var(--font-en, 'Rajdhani', sans-serif);
  color: #C60000;
}
.sp-price-notes {
  background: var(--bg-section, #f2f4fa);
  border-radius: var(--radius, 8px);
  padding: 16px 20px;
  font-size: 12px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.8;
}
.sp-price-notes p { margin-bottom: 4px; }

/* ---- スタンドアロン：お客様の声グリッド ---- */
.sa-voice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sa-voice-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  padding: 14px;
  background: #fff;
}
.sa-voice-icon { flex-shrink: 0; }
.sa-voice-icon img { width: 60px; display: block; }
.sa-voice-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary, #1a1a2e);
}

/* ---- スタンドアロン：Excel比較 ---- */
.sa-compare-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: var(--radius, 8px);
  margin-bottom: 12px;
}
.sa-compare-block-gray { border-top: 2px solid #666; border-bottom: 2px solid #666; }
.sa-compare-block-red  { border-top: 2px solid #C60000; border-bottom: 2px solid #C60000; }
.sa-compare-block-label { font-size: 18px; font-weight: 700; flex: 1; }
.sa-compare-block-badge {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sa-badge-slow { color: #444; }
.sa-badge-fast { color: #C60000; }
.sa-compare-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 8px;
  align-items: start;
}
.sa-compare-detail-text { padding: 8px 0; }
.sa-compare-detail-img img { width: 100%; display: block; border: 1px solid var(--border); border-radius: var(--radius, 8px); }

/* ---- スタンドアロン：制限事項ボックス ---- */
.sa-spec-box {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.sa-spec-box-head {
  background: #4c4c4c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
}

/* ---- スタンドアロン：導入支援行 ---- */
.sa-support-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  padding: 16px;
  background: var(--bg-section, #f2f4fa);
}
.sa-support-label {
  flex-shrink: 0;
  min-width: 160px;
  font-size: 14px;
  font-weight: 700;
  border: 1px solid #000;
  border-radius: var(--radius, 8px);
  padding: 10px;
  text-align: center;
  background: #fff;
  line-height: 1.6;
}
.sa-support-text { font-size: 14px; line-height: 1.7; color: var(--text-secondary, #4a4a6a); flex: 1; }

/* ---- スタンドアロン：サービスレイアウト ---- */
.sa-service-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
  align-items: start;
}
.sa-service-img img { width: 100%; display: block; border-radius: var(--radius, 8px); }

/* ---- 関連リンク (共通・各ページから使用) ---- */
.mv-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.mv-related-link {
  display: block;
  background: #4c4c4c;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius, 8px);
  transition: background 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.mv-related-link:hover { background: var(--brand-red, #990000); color: #fff; }
.mv-news-row {
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--border, #e0e4f0);
}
.mv-news-date { color: var(--text-light, #8888aa); white-space: nowrap; }
.mv-news-row a { color: var(--brand-red, #990000); text-decoration: underline; }
.mv-news-row a:hover { color: var(--brand-red-dark, #660000); }

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  .sl-issue-grid       { grid-template-columns: 1fr; }
  .sl-qa-grid          { grid-template-columns: 1fr; }
  .sl-feature-cards    { grid-template-columns: 1fr; }
  .sp-support-grid     { grid-template-columns: 1fr; }
  .sp-reform-grid      { grid-template-columns: 1fr; }
  .sp-price-grid       { grid-template-columns: 1fr; }
  .sa-voice-grid       { grid-template-columns: 1fr; }
  .sa-compare-detail   { grid-template-columns: 1fr; }
  .sa-service-layout   { grid-template-columns: 1fr; }
  .od-template-layout  { grid-template-columns: 1fr; }
  .mv-related-grid     { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sl-formula-row      { flex-direction: column; align-items: flex-start; }
  .sl-verify-flow      { flex-direction: column; align-items: flex-start; }
  .sp-type-grid        { flex-direction: column; }
  .mv-related-grid     { grid-template-columns: 1fr; }
  .sa-support-row      { flex-direction: column; }
}


/* ================================================
   バージョン機能紹介ページ共通スタイル
   V2/V21/V22/V23/V24_new_function.html 用
   ================================================ */

/* ---- 機能索引テーブル ---- */
.vf-index-table {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  margin-bottom: 32px;
}
.vf-index-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border, #e0e4f0);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
}
.vf-index-row:last-child { border-bottom: none; }
.vf-index-row:hover { background: rgba(198,0,0,0.04); }
.vf-index-key {
  flex-shrink: 0;
  min-width: 160px;
  font-size: 16px;
  font-weight: 700;
  color: #C60000;
  text-shadow: 1px 1px 2px rgba(128,128,128,0.3);
}
.vf-index-desc {
  font-size: 15px;
  color: var(--text-primary, #1a1a2e);
  line-height: 1.5;
}

/* ---- コンテンツ＋画像レイアウト ---- */
.vf-content-with-img {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.vf-content-img { cursor: pointer; }
.vf-content-img img { width: 100%; display: block; border: 1px solid var(--border, #e0e4f0); border-radius: var(--radius, 8px); }
.vf-content-img:hover img { opacity: 0.9; }

/* ---- PowerUp バッジ ---- */
.vf-powerup-badge {
  background: var(--bg-section, #f2f4fa);
  border-left: 4px solid #C60000;
  border-radius: 0 var(--radius, 8px) var(--radius, 8px) 0;
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.7;
  margin-top: 12px;
}

/* ---- 注釈ボックス ---- */
.vf-note {
  background: var(--bg-section, #f2f4fa);
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.7;
  margin-top: 12px;
}

/* ---- 過去バージョンリンク ---- */
.vf-ver-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--bg-section, #f2f4fa);
  border-radius: var(--radius, 8px);
  border: 1px solid var(--border, #e0e4f0);
}
.vf-ver-links a {
  font-size: 13px;
  color: var(--brand-red, #990000);
  text-decoration: underline;
  line-height: 1.6;
  transition: color 0.2s;
}
.vf-ver-links a:hover { color: var(--brand-red-dark, #660000); }

/* ---- Ver.2.3 カードグリッド ---- */
.vf-v23-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.vf-v23-card {
  background: #fff;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.vf-v23-card-head {
  background: #C60000;
  padding: 14px 16px;
}
.vf-v23-card-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.vf-v23-card-body {
  padding: 14px 16px;
  flex: 1;
}
.vf-v23-badge-new, .vf-v23-badge-powerup {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.vf-v23-badge-new     { background: #2e619e; color: #fff; }
.vf-v23-badge-powerup { background: #C60000; color: #fff; }
.vf-v23-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #C60000;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* ---- Ver.2.4 機能カード行 ---- */
.vf-feature-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.vf-feature-card {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
  background: var(--bg-section, #f2f4fa);
}
.vf-feature-card-head {
  background: #C60000;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 8px 12px;
}
.vf-feature-card > a { display: block; }
.vf-feature-card > a img { width: 100%; display: block; }
.vf-feature-card > p { padding: 10px 14px; }

/* ---- その他機能テーブル ---- */
.vf-other-table {
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.vf-other-table-head {
  background: var(--bg-section, #f2f4fa);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  border-bottom: 1px solid var(--border, #e0e4f0);
}
.vf-other-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border, #e0e4f0);
}
.vf-other-row:last-child { border-bottom: none; }
.vf-other-key {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  line-height: 1.5;
  background: var(--bg-section, #f2f4fa);
  border-right: 1px solid var(--border, #e0e4f0);
}
.vf-other-val {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.6;
}

/* ---- 性能比較テーブル ---- */
.vf-perf-table {
  border: 1px solid #999;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  margin-bottom: 16px;
}
.vf-perf-head {
  background: var(--bg-section, #f2f4fa);
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  border-bottom: 1px solid #999;
}
.vf-perf-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-bottom: 1px solid #999;
}
.vf-perf-row:last-child { border-bottom: none; }
.vf-perf-item {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary, #1a1a2e);
  line-height: 1.5;
  border-right: 1px solid #999;
}
.vf-perf-result {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.5;
}
.vf-perf-link {
  display: block;
  background: #C60000;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius, 8px);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  transition: background 0.2s;
}
.vf-perf-link:hover { background: #990000; color: #fff; }

/* ---- 共通ユーティリティ（これらのページで使用） ---- */
.sl-detail-link { text-align: center; }
.sl-detail-btn {
  display: inline-block;
  background: #C60000;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 16px 40px;
  border-radius: var(--radius, 8px);
  text-shadow: 1px 1px 2px #000;
  transition: background 0.2s;
}
.sl-detail-btn:hover { background: #990000; color: #fff; }
.mv-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.mv-related-link {
  display: block;
  background: #4c4c4c;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 12px 8px;
  border-radius: var(--radius, 8px);
  transition: background 0.2s;
  line-height: 1.4;
}
.mv-related-link:hover { background: var(--brand-red, #990000); color: #fff; }
.mv-news-row {
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 10px 0;
  border-top: 1px solid var(--border, #e0e4f0);
}
.mv-news-date { color: var(--text-light, #8888aa); white-space: nowrap; }
.mv-news-row a { color: var(--brand-red, #990000); text-decoration: underline; }

/* ---- レスポンシブ ---- */
@media (max-width: 900px) {
  .vf-index-row    { flex-direction: column; align-items: flex-start; gap: 4px; }
  .vf-index-key    { min-width: auto; }
  .vf-content-with-img { grid-template-columns: 1fr; }
  .vf-v23-grid     { grid-template-columns: 1fr 1fr; }
  .vf-feature-card-row { grid-template-columns: 1fr; }
  .vf-perf-row     { grid-template-columns: 1fr; }
  .vf-perf-item    { border-right: none; border-bottom: 1px solid #999; }
  .mv-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vf-v23-grid     { grid-template-columns: 1fr; }
  .vf-other-row    { grid-template-columns: 1fr; }
  .vf-other-key    { border-right: none; border-bottom: 1px solid var(--border, #e0e4f0); }
  .mv-related-grid { grid-template-columns: 1fr; }
}


/* ================================================
   wp.shtml.html（ホワイトペーパーフォームページ）追加スタイル
   products.css・style.css・z-adam.css にないクラスを追記
   ================================================ */

/* ---- フォームラッパー ---- */
.wp-form-wrap {
  max-width: 780px;
  margin: 0 auto;
}

/* ---- フォームヘッダー ---- */
.wp-form-header {
  text-align: center;
  margin-bottom: 36px;
}
.wp-form-title {
  font-family: var(--font-serif-ja, 'Noto Serif JP', serif);
  font-size: clamp(18px, 2.8vw, 26px);
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  line-height: 1.5;
  margin-bottom: 14px;
}
.wp-form-lead {
  font-size: 14px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.8;
}

/* ---- フォーム本体 ---- */
.wp-form {
  background: #fff;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius-lg, 16px);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

/* ---- フォーム行 ---- */
.wp-form-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light, #f0f2f8);
}
.wp-form-row:last-of-type {
  border-bottom: none;
}

/* ---- ラベル ---- */
.wp-form-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  padding-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.wp-form-req {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  background: var(--brand-red, #990000);
  color: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

/* ---- フィールド ---- */
.wp-form-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.wp-form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border, #e0e4f0);
  border-radius: var(--radius, 8px);
  font-size: 14px;
  font-family: var(--font-ja, 'Noto Sans JP', sans-serif);
  color: var(--text-primary, #1a1a2e);
  transition: border-color 0.25s, box-shadow 0.25s;
  box-sizing: border-box;
}
.wp-form-input:focus {
  outline: none;
  border-color: var(--brand-red, #990000);
  box-shadow: 0 0 0 3px rgba(153,0,0,0.08);
}
.wp-form-hint {
  font-size: 12px;
  color: var(--text-light, #8888aa);
}

/* ---- プライバシーポリシーブロック ---- */
.wp-policy-block {
  background: var(--bg-section, #f2f4fa);
  border-radius: var(--radius, 8px);
  padding: 20px 24px;
  margin: 20px 0;
  border: 1px solid var(--border, #e0e4f0);
}
.wp-policy-note {
  font-size: 13px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.7;
  margin-bottom: 12px;
}
.wp-policy-mail {
  margin: 12px 0;
}
.wp-policy-agree {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border, #e0e4f0);
}
.wp-policy-agree-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy, #0d1b3e);
  cursor: pointer;
}
.wp-policy-agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand-red, #990000);
}

/* ---- 送信ボタン ---- */
.wp-form-submit {
  text-align: center;
  margin-top: 8px;
}
.wp-submit-btn {
  display: inline-block;
  padding: 16px 48px;
  background: var(--brand-red, #990000);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-ja, 'Noto Sans JP', sans-serif);
  border: none;
  border-radius: var(--radius, 8px);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  letter-spacing: 0.05em;
}
.wp-submit-btn:hover {
  background: #660000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(153,0,0,0.3);
}

/* ---- 注釈 ---- */
.wp-form-notes {
  background: var(--bg-section, #f2f4fa);
  border-radius: var(--radius, 8px);
  padding: 16px 20px;
  font-size: 12px;
  color: var(--text-secondary, #4a4a6a);
  line-height: 1.8;
}
.wp-form-notes p {
  margin-bottom: 4px;
}
.wp-form-notes p:last-child {
  margin-bottom: 0;
}

/* ---- レスポンシブ ---- */
@media (max-width: 640px) {
  .wp-form {
    padding: 20px 16px;
  }
  .wp-form-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .wp-form-label {
    padding-top: 0;
  }
}

/* ==========================================================================
   モーダル(動画・画像)：ヘッダー/ページ内ナビより手前・かつ重ならない範囲に表示
   ========================================================================== */
:root {
  --fixed-offset: 128px; /* ヘッダー(68px)+ページ内ナビ(約60px)の合計。実際とズレる場合は数値を調整 */
}

.modal-overlay {
  z-index: 1100 !important;
}

.modal-content.is-open {
  z-index: 1101 !important;
  top: calc(50% + (var(--fixed-offset) / 2)) !important; /* ヘッダー分だけ中心を下にずらす */
  min-height: 0 !important;
  min-width: 0 !important;
  max-height: calc(100vh - var(--fixed-offset) - 24px) !important;
  max-width: 90vw !important;
  width: auto !important;
  height: auto !important;
}

.modal-content.is-open video,
.modal-content.is-open img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 90vw !important;
  max-height: calc(100vh - var(--fixed-offset) - 24px) !important;
  margin: 0 auto !important;
}

.modal-close {
  position: fixed !important;
  z-index: 1102 !important;
  top: calc(var(--fixed-offset) - 36px) !important; /* ヘッダー+ナビのすぐ下に配置 */
  right: 10px !important;
}


/* ==========================================================================
   共通モーダル（動画）: modal.css に依存しない自己完結型
   審査会運営支援システムの .np-modal と同じ設計
   ========================================================================== */
.za-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.za-modal.is-open {
  display: flex;
}
.za-modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
}
.za-modal-inner video,
.za-modal-inner img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  display: block;
  border-radius: var(--radius);
  margin: 0 auto;
  object-fit: contain;
}
.za-modal-close {
  position: absolute;
  top: -36px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}
.za-modal-close:hover {
  color: var(--accent-cyan);
}
