﻿/* ================================================
   ZETTA TECHNOLOGY - NDB PAGE STYLESHEET
   医療ビッグデータ最適化・集計業務支援サービス 固有スタイル
   依存: style.css（ベーススタイル・共通コンポーネント）
   ================================================ */

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

/* ================================================
   イントロ（概要説明）
   ================================================ */
.ndb-intro {
  padding: 56px 0 48px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.ndb-intro-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  max-width: 860px;
  margin-bottom: 16px;
}

.ndb-intro-lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ================================================
   NDBオープンデータ実績（2カラム画像エリア）
   ================================================ */
.ndb-open-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 32px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.ndb-open-data-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.ndb-open-data-info {}

.ndb-open-data-caption {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

.ndb-open-data-caption2 img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

.ndb-open-data-link {
  font-size: 12px;
  color: var(--brand-navy);
  word-break: break-all;
  text-decoration: underline;
  transition: color var(--transition);
}

.ndb-open-data-link:hover {
  color: var(--brand-red);
}

/* ================================================
   お問い合わせバナー
   ================================================ */
.ndb-contact-banner {
  background: var(--brand-navy);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin: 48px 0 0;
  position: relative;
  overflow: hidden;
}

.ndb-contact-banner::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: 60px 60px;
  pointer-events: none;
}

.ndb-contact-banner-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  position: relative;
}

.ndb-contact-banner-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-cyan);
}

.ndb-contact-banner-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 6px;
  position: relative;
}

.ndb-contact-banner-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  position: relative;
}

.ndb-contact-banner-email {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}

.ndb-contact-banner-email:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.ndb-contact-banner-actions {
  flex-shrink: 0;
  position: relative;
}

/* ================================================
   実績セクション（ネイビー背景）
   ================================================ */
.ndb-track-record {
  background: var(--brand-navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.ndb-track-record::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: 60px 60px;
  pointer-events: none;
}

.ndb-track-record .section-tag {
  color: var(--accent-cyan);
}

.ndb-track-record .section-tag::before {
  background: var(--accent-cyan);
}

.ndb-track-record .section-title {
  color: #fff;
}

/* 実績グリッド（2カラム） */
.ndb-record-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
  margin-top: 40px;
}

.ndb-record-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: var(--transition);
}

.ndb-record-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent-cyan);
}

.ndb-record-card-label {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 12px;
}

.ndb-record-card-title {
  font-family: var(--font-serif-ja);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ndb-record-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ndb-record-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.ndb-record-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
}

/* 実績キャッチ */
.ndb-record-catch {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--brand-red);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px 32px;
  margin-top: 24px;
  position: relative;
  z-index: 1;
}

.ndb-record-catch-icon {
  flex-shrink: 0;
}

.ndb-record-catch-icon img {
  width: 64px;
  height: auto;
}

.ndb-record-catch-text {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
}

.ndb-record-catch-text u {
  color: var(--accent-cyan);
  text-decoration-color: var(--accent-cyan);
}

/* ================================================
   課題解決セクション
   ================================================ */
.ndb-solution {
  padding: 80px 0;
  background: var(--bg-light);
}

.ndb-solution-catch {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-navy);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 24px 32px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
}

.ndb-solution-catch-icon {
  flex-shrink: 0;
}

.ndb-solution-catch-icon img {
  width: 64px;
  height: auto;
}

.ndb-solution-catch-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.ndb-solution-catch-text u {
  color: var(--brand-red);
  text-decoration-color: var(--brand-red);
  font-weight: 700;
}

/* 課題→解決 テーブル */
.ndb-challenge-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.ndb-challenge-row {
  display: grid;
  grid-template-columns: 100px 1fr 40px 1fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ndb-challenge-theme {
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 12px;
  line-height: 1.4;
}

.ndb-challenge-problem {
  padding: 20px 24px;
  background: #f8f8fc;
  border-left: 1px solid var(--border);
}

.ndb-challenge-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 8px;
}

.ndb-challenge-problem .ndb-challenge-label {
  color: var(--text-light);
}

.ndb-challenge-solution .ndb-challenge-label {
  color: var(--brand-red);
}

.ndb-challenge-problem ul,
.ndb-challenge-solution ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ndb-challenge-problem li,
.ndb-challenge-solution li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 16px;
  position: relative;
}

.ndb-challenge-problem li::before {
  content: '●';
  position: absolute;
  left: 0;
  font-size: 9px;
  color: var(--text-light);
  top: 5px;
}

.ndb-challenge-solution li::before {
  content: '●';
  position: absolute;
  left: 0;
  font-size: 12px;
  color: var(--brand-red);
  top: 2px;
  font-weight: 700;
}

.ndb-challenge-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-left: 1px solid var(--border);
  color: var(--brand-red);
}

.ndb-challenge-solution {
  padding: 20px 24px;
  background: #fff;
  border-left: 1px solid var(--border);
}

/* ================================================
   サポートセクション（スタッフ紹介）
   ================================================ */
.ndb-support {
  padding: 80px 0;
}

.ndb-support-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

/* スタッフカード */
.ndb-staff-card {
  background: var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ndb-staff-card::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: 60px 60px;
  pointer-events: none;
}

.ndb-staff-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.ndb-staff-icon img {
  width: 48px;
  height: auto;
}

.ndb-staff-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

/* サービスフロー */
.ndb-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
}

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

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

.ndb-flow-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  padding-top:3px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ndb-flow-content {}

.ndb-flow-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: underline;
  margin-bottom: 6px;
}

.ndb-flow-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.ndb-flow-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.6;
}

/* ビデオ会議 */
.ndb-video-box {
  margin-top: 24px;
  padding: 20px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.ndb-video-box-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.ndb-video-box img {
  width: 80%;
  height: auto;
  display: block;
}

/* 費用注記 */
.ndb-fee-note {
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

/* ================================================
   業務実績テーブルセクション
   ================================================ */
.ndb-achievement {
  padding: 80px 0;
  background: var(--bg-section);
}

.ndb-achievement-table-wrap {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.ndb-achievement-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
  line-height: 1.6;
}

.ndb-achievement-table th {
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  white-space: nowrap;
}

.ndb-achievement-table td {
  padding: 14px 16px;
  border: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-secondary);
}

.ndb-achievement-table td.ndb-ach-project {
  background: var(--bg-section);
  font-weight: 700;
  color: var(--brand-navy);
  white-space: nowrap;
  width: 200px;
}

.ndb-achievement-table .ndb-ach-tool {
  white-space: nowrap;
  color: var(--brand-navy);
  font-weight: 500;
  vertical-align: top;
}

.ndb-achievement-table tr:nth-child(odd) td {
  background-color: #fafafa;
}

.ndb-achievement-table tr:nth-child(even) td {
  background-color: #fff;
}

.ndb-achievement-table tr:nth-child(odd) td.ndb-ach-project {
  background-color: #f0f2f8;
}

.ndb-achievement-table tr:nth-child(even) td.ndb-ach-project {
  background-color: #f8f8fc;
}

.ndb-achievement-table tr:hover td {
  background-color: rgba(153,0,0,0.03);
}

/* ================================================
   お問い合わせセクション（ページ下部）
   ================================================ */
.ndb-inquiry {
  padding: 80px 0;
  background: #fff;
}

.ndb-inquiry-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  max-width: 800px;
  margin: 32px auto 0;
}

.ndb-inquiry-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 24px;
}

.ndb-inquiry-contact {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 2;
}

.ndb-inquiry-contact strong {
  color: var(--brand-navy);
  font-weight: 700;
}

.ndb-inquiry-email {
  color: var(--brand-red);
  text-decoration: none;
}

.ndb-inquiry-email:hover {
  text-decoration: underline;
}


.ndb-inquiry-email-gray {
  color: var(--text-secondary);
  text-decoration: none;
}

.ndb-inquiry-email-gray:hover {
  text-decoration: underline;
}

/* ================================================
   スクロールリビール
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .ndb-record-grid {
    grid-template-columns: 1fr;
  }

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

  .ndb-open-data {
    grid-template-columns: 1fr;
  }

  .ndb-challenge-row {
    grid-template-columns: 80px 1fr 32px 1fr;
  }
}

@media (max-width: 768px) {
  .ndb-intro {
    padding: 40px 0 32px;
  }

  .ndb-track-record,
  .ndb-solution,
  .ndb-support,
  .ndb-achievement,
  .ndb-inquiry {
    padding: 56px 0;
  }

  .ndb-contact-banner {
    flex-direction: column;
    text-align: center;
    padding: 28px 24px;
  }

  .ndb-contact-banner-label {
    justify-content: center;
  }

  .ndb-challenge-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .ndb-challenge-theme {
    padding: 12px 16px;
  }

  .ndb-challenge-arrow {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 8px;
    font-size: 20px;
    transform: rotate(90deg);
  }

  .ndb-challenge-problem,
  .ndb-challenge-solution {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .ndb-record-catch {
    flex-direction: column;
    text-align: center;
  }

  .ndb-solution-catch {
    flex-direction: column;
    text-align: center;
  }

  .ndb-inquiry-card {
    padding: 28px 24px;
  }
}
