/* ================================================
   ZETTA TECHNOLOGY - ADAM-REPORT PAGE STYLESHEET
   report.css
   依存: style.css / products.css
   ================================================ */

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

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

.rp-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;
}

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

/* index.html用：左テキスト＋右画像 */
.rp-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* detailed.html用：1カラム */
.rp-detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.rp-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;
}

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

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

.rp-hero-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
  line-height: 1.55;
  margin-bottom: 16px;
}

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

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

/* ヒーロー右側：製品イメージ */
.rp-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rp-hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================================================
   概要イメージ（フル幅）
   ================================================ */
.rp-overview-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-section);
  text-align: center;
}

.rp-overview-img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ================================================
   製品概要リード
   ================================================ */
.rp-overview-lead {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 32px;
  border-left: 4px solid var(--brand-red);
}

.rp-overview-lead-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.rp-overview-lead-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ================================================
   活用シーンカード（2カラム）
   ================================================ */
.rp-usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.rp-usecase-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.rp-usecase-card-img {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.rp-usecase-card-img img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rp-usecase-card-body {
  padding: 24px 24px 20px;
}

.rp-usecase-card-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.5;
  margin-bottom: 10px;
}

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

.rp-usecase-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
  text-decoration: none;
  transition: var(--transition);
}

.rp-usecase-link:hover {
  color: var(--brand-red-dark);
  text-decoration: underline;
}

/* ================================================
   Excelオーバーレイ
   ================================================ */
.rp-overlay-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.rp-overlay-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.rp-overlay-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.rp-overlay-step:last-child {
  border-bottom: none;
}

.rp-overlay-step-num {
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-red);
  flex-shrink: 0;
  line-height: 1;
  width: 36px;
}

.rp-overlay-step-body {
  flex: 1;
}

.rp-overlay-step-icon {
  margin-bottom: 8px;
}

.rp-overlay-step-icon img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.rp-overlay-step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 0;
}

.rp-overlay-img {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rp-overlay-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.rp-overlay-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  transition: var(--transition);
  text-align: center;
  justify-content: center;
}

.rp-overlay-detail-link:hover {
  background: var(--brand-navy);
  color: #fff;
  border-color: var(--brand-navy);
}

/* ================================================
   オプション製品カード（2カラム）
   ================================================ */
.rp-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.rp-option-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: var(--transition);
}

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

.rp-option-card-img {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 140px;
}

.rp-option-card-img img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rp-option-card-body {
  padding: 20px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rp-option-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: 6px;
}

.rp-option-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.rp-option-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 12px;
}

.rp-option-card-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
}

/* ================================================
   CTA
   ================================================ */
.rp-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;
}

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

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

.rp-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;
}

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

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

/* ================================================
   商標テキスト
   ================================================ */
.rp-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; }

/* ================================================
   --- detailed.html 専用スタイル ---
   ================================================ */

/* 誕生の背景 */
.rp-birth-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: start;
  margin-top: 8px;
}

.rp-birth-img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.rp-birth-img-note {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
  margin-top: 10px;
}

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

.rp-birth-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 14px;
}

/* コンセプト4カード */
.rp-concept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

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

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

.rp-concept-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.45;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
}

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

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

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

/* 工数圧縮 特徴ブロック */
.rp-feat-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  box-shadow: var(--shadow-sm);
}

.rp-feat-block-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-red);
}

.rp-feat-block-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* 2カラム詳細レイアウト（detailed用） */
.rp-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.rp-detail-img-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--bg-section);
}

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

.rp-detail-img-note {
  font-size: 11px;
  color: var(--text-light);
  padding: 8px 12px;
  background: var(--bg-section);
}

.rp-detail-img-note a {
  color: var(--brand-red);
  text-decoration: underline;
}

.rp-detail-body-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 注記ボックス */
.rp-note-box {
  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;
}

/* 高度な機能カード */
.rp-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.rp-adv-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  transition: var(--transition);
}

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

.rp-adv-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3px solid var(--brand-red);
  line-height: 1.5;
}

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

/* 機能3カード */
.rp-func-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

.rp-func-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.rp-func-card-img {
  background: var(--bg-section);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  min-height: 120px;
}

.rp-func-card-img img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rp-func-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  padding: 16px 18px 6px;
  line-height: 1.4;
}

.rp-func-card-lead {
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-red);
  padding: 0 18px 10px;
}

.rp-func-card-list {
  list-style: none;
  padding: 0 18px 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rp-func-card-list li {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
}

.rp-func-card-list li::before {
  content: '●';
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 6px;
  color: var(--brand-navy);
}

/* 表演算ブロック */
.rp-tableop-block {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
}

.rp-tableop-header {
  margin-bottom: 24px;
}

.rp-tableop-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(17px, 2.2vw, 21px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.5;
  margin: 8px 0 10px;
}

.rp-tableop-lead {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* サブセクション見出し */
.rp-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);
}

/* スクリプト3カード */
.rp-script-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}

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

.rp-script-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
}

.rp-script-card-img {
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-section);
}

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

.rp-script-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-cyan);
  line-height: 1.45;
}

/* 適応業務カード */
.rp-usearea-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
}

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

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

.rp-usearea-card--wide {
  grid-column: 1 / -1;
}

.rp-usearea-card-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.rp-usearea-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-red);
}

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

/* 仕様テーブル */
.rp-spec-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.rp-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.75;
  min-width: 600px;
}

.rp-spec-table th {
  background: var(--brand-navy);
  color: #000;
  font-weight: 700;
  padding: 12px 20px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.12);
  white-space: nowrap;
  vertical-align: top;
  width: 22%;
  font-size: 12px;
}

.rp-spec-table td {
  padding: 12px 20px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.rp-spec-table tbody tr:nth-child(odd) th,
.rp-spec-table tbody tr:nth-child(odd) td {
  background: var(--bg-light);
}

.rp-spec-table tbody tr:nth-child(even) th,
.rp-spec-table tbody tr:nth-child(even) td {
  background: #fff;
}

.rp-spec-table tbody tr:hover td,
.rp-spec-table tbody tr:hover th {
  background: rgba(153,0,0,0.03);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .rp-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .rp-hero-orb { display: none; }
  .rp-usecase-grid { grid-template-columns: 1fr; }
  .rp-overlay-grid { grid-template-columns: 1fr; }
  .rp-option-grid { grid-template-columns: 1fr; }
  .rp-birth-grid { grid-template-columns: 1fr; }
  .rp-concept-grid { grid-template-columns: 1fr; }
  .rp-detail-grid { grid-template-columns: 1fr; gap: 32px; }
  .rp-detail-grid.img-right .rp-detail-img-box { order: 0; }
  .rp-detail-grid.img-right .rp-detail-body-box { order: 0; }
  .rp-adv-grid { grid-template-columns: 1fr; }
  .rp-func-grid { grid-template-columns: 1fr 1fr; }
  .rp-script-grid { grid-template-columns: 1fr; }
  .rp-usearea-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .rp-hero, .prod-section { padding: 48px 0; }
  .rp-inquiry-section { padding: 56px 0; }
  .rp-inquiry-actions { flex-direction: column; }
  .rp-func-grid { grid-template-columns: 1fr; }
  .rp-concept-grid { grid-template-columns: 1fr; }
  .rp-feat-block { padding: 24px 20px; }
  .rp-tableop-block { padding: 24px 20px; }
  .rp-overview-lead { padding: 24px 20px; }
}
