/* ================================================
   ZETTA TECHNOLOGY - ADAM-OLAP / ADAM-REX PAGE STYLESHEET
   olap.css
   依存: style.css / products.css
   ================================================ */

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

/* ================================================
   PAGE HERO
   ================================================ */
.olap-hero {
  background: var(--brand-navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

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

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

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

.olap-hero-product-tag {
  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(--accent-cyan);
  margin-bottom: 10px;
}

.olap-hero-product-tag::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--accent-cyan);
}

.olap-hero-catch {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}

.olap-hero-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
}

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

.olap-hero-lead {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  margin-bottom: 28px;
}

/* 右側：特徴バナー */
.olap-hero-banner {
  background: rgba(153,0,0,0.18);
  border: 1px solid rgba(153,0,0,0.45);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.olap-hero-banner-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff9999;
  margin-bottom: 12px;
}

.olap-hero-banner-copy {
  font-family: var(--font-serif-ja);
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
}

.olap-hero-banner-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.olap-hero-banner-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
}

.olap-hero-banner-point::before {
  content: '✓';
  color: var(--accent-teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ================================================
   2カラム詳細レイアウト
   ================================================ */
.olap-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.olap-detail-grid.img-right .olap-detail-img { order: 2; }
.olap-detail-grid.img-right .olap-detail-body { order: 1; }

.olap-detail-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
}

.olap-detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

.olap-detail-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.5;
  margin-bottom: 12px;
}

.olap-detail-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ================================================
   スクリーンショット 2枚横並びグリッド
   ================================================ */
.olap-desc-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* ================================================
   特徴カード（2×2グリッド）
   ================================================ */
.olap-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.olap-feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.olap-feature-card:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.olap-feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.olap-feature-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(153,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.olap-feature-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.35;
}

.olap-feature-card-sub {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}

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

.olap-feature-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.olap-feature-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 7px;
  color: var(--brand-red);
}

/* ================================================
   ●リスト（共通）
   ================================================ */
.olap-kuromaru-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.olap-kuromaru-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.olap-kuromaru-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 7px;
  color: var(--brand-navy);
}

/* ================================================
   注記ボックス
   ================================================ */
.olap-note-box {
  margin-top: 16px;
  padding: 12px 18px;
  background: rgba(0,0,0,0.03);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.75;
}

.olap-note-box a {
  color: var(--brand-red);
  text-decoration: underline;
}

/* ================================================
   速度・特徴カードグリッド（2〜4枚）
   ================================================ */
.olap-speed-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.olap-speed-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.olap-speed-card:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.olap-speed-card-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.olap-speed-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.olap-speed-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

/* ================================================
   小見出し（セクション内h3）
   ================================================ */
.olap-sub-section-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.5;
  padding-left: 16px;
  border-left: 4px solid var(--brand-red);
}

/* ================================================
   多次元機能ブロックグリッド（2×2）
   ================================================ */
.olap-func-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.olap-func-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.olap-func-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-cyan);
}

.olap-func-block-header {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-cyan);
}

.olap-func-block-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.olap-func-block-img {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.olap-func-block-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   Excel連携ブロック
   ================================================ */
.olap-excel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.olap-excel-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.olap-excel-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-red);
}

/* ================================================
   OLAP操作カード（2×2グリッド）
   ================================================ */
.olap-olap-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.olap-olap-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: var(--transition);
}

.olap-olap-card:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.olap-olap-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
  display: flex;
  align-items: center;
  gap: 8px;
}

.olap-olap-card-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 16px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.olap-olap-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.olap-olap-card-img {
  margin-top: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.olap-olap-card-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   レポーティングブロックグリッド（2×2）
   ================================================ */
.olap-report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.olap-report-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: var(--transition);
}

.olap-report-block:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red);
  transform: translateY(-2px);
}

.olap-report-block-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.olap-report-block-num {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-red);
  flex-shrink: 0;
  line-height: 1;
}

.olap-report-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
}

.olap-report-block-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.olap-report-block-img {
  margin-top: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.olap-report-block-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   単一レポーティングブロック（Adam-Rex用）
   ================================================ */
.olap-report-single {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  margin-top: 8px;
}

.olap-report-single-num {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  background: rgba(153,0,0,0.07);
  border: 1px solid rgba(153,0,0,0.2);
  border-radius: var(--radius);
  padding: 6px 14px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}

.olap-report-single-body {
  flex: 1;
}

.olap-report-single-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.45;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--brand-red);
}

.olap-report-single-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 0;
}

/* ================================================
   データ出力カード（3枚横並び）
   ================================================ */
.olap-output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.olap-output-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.olap-output-card:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.olap-output-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--brand-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  color: #fff;
  stroke: #fff;
}

.olap-output-card-icon svg {
  stroke: #fff;
}

.olap-output-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
}

.olap-output-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ================================================
   仕様グリッド
   ================================================ */
.olap-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.olap-spec-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.olap-spec-block-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
}

.olap-spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.olap-spec-list li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}

.olap-spec-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 7px;
  color: var(--brand-red);
}

/* ================================================
   CTA（お問い合わせ）
   ================================================ */
.olap-inquiry-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--brand-red-dark) 0%, var(--brand-red) 100%);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 120px;
}

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

.olap-inquiry-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.olap-inquiry-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}

.olap-inquiry-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
  margin-bottom: 28px;
}

.olap-inquiry-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================================================
   商標テキスト
   ================================================ */
.olap-trademark {
  padding: 32px 0 24px;
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

/* ================================================
   スクロールリビール
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .olap-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .olap-hero-orb { display: none; }
  .olap-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .olap-detail-grid.img-right .olap-detail-img { order: 0; }
  .olap-detail-grid.img-right .olap-detail-body { order: 0; }
  .olap-feature-grid { grid-template-columns: 1fr; }
  .olap-speed-grid { grid-template-columns: 1fr; }
  .olap-desc-img-grid { grid-template-columns: 1fr; }
  .olap-func-grid { grid-template-columns: 1fr; }
  .olap-excel-grid { grid-template-columns: 1fr; }
  .olap-olap-cards { grid-template-columns: 1fr; }
  .olap-report-grid { grid-template-columns: 1fr; }
  .olap-output-grid { grid-template-columns: 1fr; }
  .olap-spec-grid { grid-template-columns: 1fr; }
  .olap-report-single { flex-direction: column; gap: 16px; padding: 28px 24px; }
}

@media (max-width: 768px) {
  .olap-hero,
  .prod-section { padding: 48px 0; }
  .olap-inquiry-section { padding: 56px 0; }
  .olap-inquiry-actions { flex-direction: column; }
  .olap-feature-grid { grid-template-columns: 1fr; }
  .olap-output-grid { grid-template-columns: 1fr; }
}
