/* ================================================
   ZETTA TECHNOLOGY - REZEPT PAGE STYLESHEET
   レセプト審査効率化ソリューション固有スタイル
   依存: style.css（ベーススタイル・共通コンポーネント）
   ================================================ */

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

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

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

/* ================================================
   お問い合わせバナー
   ================================================ */
.rz-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;
}

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

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

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

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

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

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

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

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

/* ================================================
   製品カードグリッド（2カラム）
   ================================================ */
.rz-products {
  padding: 80px 0;
}

.rz-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.rz-product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: block;
  transition: var(--transition);
  position: relative;
}

.rz-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-navy);
}

.rz-product-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--bg-section);
}

.rz-product-card-body {
  padding: 28px 32px 32px;
}

.rz-product-card-tag {
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.rz-product-card-tag::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--brand-red);
}

.rz-product-card-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 8px;
}

.rz-product-card-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.rz-product-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

.rz-product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-red);
  transition: gap var(--transition);
}

.rz-product-card:hover .rz-product-card-link {
  gap: 10px;
}

/* 注目バッジ（審査会運営支援システム） */
.rz-product-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #C60000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.rz-product-voice {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.rz-product-voice-title {
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 4px;
}

/* ================================================
   機能詳細セクション（ネイビー背景）
   ================================================ */
.rz-features {
  background: var(--brand-navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.rz-features::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;
}

.rz-features .section-tag {
  color: var(--accent-cyan);
}

.rz-features .section-tag::before {
  background: var(--accent-cyan);
}

.rz-features .section-title {
  color: #fff;
}

.rz-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  position: relative;
  z-index: 1;
}

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

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

.rz-feature-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.rz-feature-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0,200,232,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

.rz-feature-card-system {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 2px;
}

.rz-feature-card-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.rz-feature-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rz-feature-item {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding-bottom: 16px;
}

.rz-feature-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rz-feature-item-name {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rz-feature-item-name::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  flex-shrink: 0;
}

.rz-feature-item-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  padding-left: 14px;
}

.rz-feature-card-cta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: right;
}

.rz-feature-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-cyan);
  text-decoration: none;
  transition: gap var(--transition);
}

.rz-feature-card-link:hover {
  gap: 10px;
}

/* ================================================
   利用ステージ図
   ================================================ */
.rz-stage {
  padding: 80px 0;
  background: var(--bg-light);
}

.rz-stage-img-wrap {
  margin-top: 40px;
  text-align: center;
  position: relative;
}

.rz-stage-img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: inline-block;
}

.rz-stage-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
  line-height: 1.7;
}

/* ================================================
   スクロールリビール
   ================================================ */
.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; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .rz-product-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .rz-feature-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .rz-products {
    padding: 56px 0;
  }

  .rz-features {
    padding: 56px 0;
  }

  .rz-stage {
    padding: 56px 0;
  }

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

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

  .rz-product-card-body {
    padding: 20px 20px 24px;
  }

  .rz-feature-card {
    padding: 24px 20px;
  }
}


/* ================================================
   サブページ共通（mg / np 共通）
   ================================================ */

/* ページナビ（アンカーメニュー） */
.rz-page-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.rz-page-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  flex-wrap: nowrap;
}

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

.rz-page-nav-link {
  display: block;
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

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

.rz-page-nav-sep {
  color: var(--border);
  padding: 0 4px;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.rz-page-nav-link--accent {
  color: var(--brand-red);
  font-weight: 700;
}

/* サブページ共通コンテンツ幅 */
.rz-sub-content {
  padding: 64px 0;
}

.rz-sub-content-alt {
  padding: 64px 0;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

/* セクション区切り */
.rz-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}

.rz-section:last-of-type {
  border-bottom: none;
}

/* セクション見出し */
.rz-section-heading {
  font-family: var(--font-serif-ja);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 8px;
}

.rz-section-subheading {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.5;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.rz-section-subheading--red {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}

.rz-section-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 820px;
}

/* テーブル共通 */
.rz-table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

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

.rz-table th {
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
}

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

.rz-table td.rz-table-head {
  background: var(--bg-section);
  font-weight: 700;
  color: var(--brand-navy);
}

.rz-table td strong {
  color: var(--brand-navy);
}

/* 画像ブロック */
.rz-img-block {
  margin: 24px 0;
}

.rz-img-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.rz-img-block-caption {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 8px;
  line-height: 1.6;
}

/* ハイライトテキスト */
.rz-highlight {
  color: var(--brand-red);
  text-decoration: underline;
}

/* お客様の声 */
.rz-voice {
  border: 1px solid #009edc;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 16px;
}

.rz-voice-head {
  background: #009edc;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
}

.rz-voice-body {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* 注意書きボックス */
.rz-note-box {
  background: var(--bg-light);
  border-left: 3px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 16px 0;
}

/* 重要ボックス（コロナ対策等） */
.rz-notice-box {
  background: #fffbea;
  border: 1px solid #f0c040;
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-primary);
  margin: 20px 0;
}

.rz-notice-box strong {
  color: var(--brand-red);
}

/* リスト */
.rz-list {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

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

/* 関連ページリンク */
.rz-related-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 24px;
  transition: var(--transition);
  background: #fff;
}

.rz-related-link:hover {
  border-color: var(--brand-navy);
  background: var(--bg-section);
  gap: 12px;
}


/* ================================================
   mg（審査業務支援システム）固有
   ================================================ */

/* ステージ図 */
.mg-stage-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* 2カラム表 */
.mg-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

/* システム活用メリット強調カード */
.mg-merit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.mg-merit-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  border-top: 3px solid var(--brand-navy);
}

.mg-merit-card-process {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.mg-merit-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

.mg-merit-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mg-merit-card ul li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-left: 14px;
  position: relative;
}

.mg-merit-card ul li::before {
  content: '●';
  position: absolute;
  left: 0;
  font-size: 8px;
  color: var(--brand-navy);
  top: 5px;
}


/* ================================================
   np（審査会運営支援システム）固有
   ================================================ */

/* 動画サムネイルグリッド */
.np-video-section {
  padding: 64px 0;
  background: var(--brand-navy);
  position: relative;
  overflow: hidden;
}

.np-video-section::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;
}

.np-video-section .section-tag { color: var(--accent-cyan); }
.np-video-section .section-tag::before { background: var(--accent-cyan); }
.np-video-section .section-title { color: #fff; }
.np-video-section .rz-section-lead { color: rgba(255,255,255,0.7); max-width: 100%; }

.np-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  position: relative;
  z-index: 1;
}

.np-video-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.np-video-thumb {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.1);
}

.np-video-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  border-color: var(--accent-cyan);
}

.np-video-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  border: none;
}

.np-video-thumb-label {
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  line-height: 1.4;
  text-align: center;
}

/* 導入メリット2カラム */
.np-merit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

.np-merit-col {}

.np-merit-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin: 16px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.np-merit-label::before {
  content: '';
  display: block;
  width: 4px;
  height: 16px;
  background: var(--brand-navy);
  border-radius: 2px;
  flex-shrink: 0;
}

/* 導入実績ボックス */
.np-case-box {
  background: #fffff2;
  border: 1px solid #f0c040;
  border-radius: var(--radius);
  padding: 24px 28px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin: 20px 0;
}

.np-case-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
}

/* 機能詳細カード（2カラムレイアウト） */
.np-func-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin: 24px 0;
}

.np-func-2col img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* 動画リンク（テキスト） */
.np-video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--brand-navy);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 6px 12px;
  margin-bottom: 16px;
  transition: var(--transition);
  float: right;
}

.np-video-link:hover {
  background: var(--bg-section);
  border-color: var(--brand-navy);
}

.np-video-link img {
  width: 16px;
  height: auto;
  border: none;
  border-radius: 0;
  display: inline-block;
}

/* モーダル（動画） */
.np-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.np-modal.is-open {
  display: flex;
}

.np-modal-inner {
  position: relative;
  width: 90%;
  max-width: 900px;
}

.np-modal-inner video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

.np-modal-close {
  position: absolute;
  top: -36px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
}

.np-modal-close:hover {
  color: var(--accent-cyan);
}

/* オプション機能 テーブル */
.np-option-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0;
}

.np-option-table td {
  padding: 8px 12px;
  vertical-align: top;
  color: var(--text-secondary);
  line-height: 1.7;
}

.np-option-table td:first-child {
  white-space: nowrap;
  color: var(--brand-navy);
  font-weight: 500;
  padding-right: 4px;
  width: 220px;
}

.np-option-table td:nth-child(2) {
  width: 20px;
  text-align: center;
  color: var(--text-light);
}

/* リレーオプション図 */
.np-relay-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin: 16px 0;
}

.np-relay-layout img {
  flex-shrink: 0;
  width: 320px;
  max-width: 45%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}


/* ================================================
   RESPONSIVE（サブページ追加）
   ================================================ */
@media (max-width: 1024px) {
  .mg-merit-grid {
    grid-template-columns: 1fr;
  }

  .np-merit-grid {
    grid-template-columns: 1fr;
  }

  .np-func-2col {
    grid-template-columns: 1fr;
  }

  .mg-2col-grid {
    grid-template-columns: 1fr;
  }

  .np-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .np-relay-layout {
    flex-direction: column;
  }

  .np-relay-layout img {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .rz-sub-content,
  .rz-sub-content-alt,
  .rz-section {
    padding: 48px 0;
  }

  .np-video-section {
    padding: 48px 0;
  }

  .np-video-featured {
    grid-template-columns: 1fr;
  }

  .np-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rz-page-nav-link {
    padding: 14px 12px;
    font-size: 12px;
  }
}


/* ================================================
   サブページ共通追加スタイル（mg / np サブページ用）
   ================================================ */

/* セクションヘッダーブロック */
.section-header {
  margin-bottom: 40px;
}

.section-header .section-tag {
  margin-bottom: 12px;
}

.section-header .section-title {
  margin: 0;
}

/* rz-section-heading（サブページ見出し）をsection-titleと共存 */
.rz-section-heading {
  font-family: var(--font-serif-ja);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  margin-bottom: 8px;
}

/* ============================================================
   サブページ スクロールリビール（メインと同一）
   ============================================================ */

/* ============================================================
   mg / np 共通: np-video-link のfloatリセット対応
   ============================================================ */
.np-video-link + .rz-section-lead,
.np-video-link + .np-func-2col,
.np-video-link + .rz-img-block,
.np-video-link + .rz-list,
.np-video-link + .rz-voice,
.np-video-link + p {
  clear: both;
}

/* ============================================================
   np 動画サムネイルのクリックカーソル
   ============================================================ */
.np-video-thumb {
  cursor: pointer;
}

/* ============================================================
   レスポンシブ補足（サブページ）
   ============================================================ */
@media (max-width: 768px) {
  .np-func-2col {
    grid-template-columns: 1fr;
  }

  .mg-2col-grid {
    grid-template-columns: 1fr;
  }

  .rz-page-nav {
    top: 56px;
  }

  .np-relay-layout {
    flex-direction: column;
  }

  .np-relay-layout img {
    width: 100%;
    max-width: 100%;
  }
}


/* ================================================
   np サブページ追加スタイル（審査会運営支援システム）
   ================================================ */

/* コロナ対策バッジ */
.np-corona-badge {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff8f0;
  border: 1px solid #f0c040;
  border-left: 4px solid #C60000;
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.np-corona-badge strong {
  color: #C60000;
}

.np-corona-badge svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #C60000;
}

/* コロナハイライトボックス */
.np-corona-highlight {
  background: #fff8f0;
  border: 1px solid #f0c040;
  border-left: 4px solid #C60000;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #C60000;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 機能詳細ブロック */
.rz-feature-detail {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.rz-feature-detail-head {
  font-family: var(--font-serif-ja);
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.4;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--brand-navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rz-feature-detail-head::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

/* 機能ボックス（ボーダー付き補足） */
.rz-feature-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.rz-feature-box-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* 利用者の声 */
.rz-voice {
  background: #f5f8ff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
}

.rz-voice-label {
  display: inline-block;
  background: var(--brand-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 3px;
  margin-bottom: 8px;
  margin-right: 8px;
}

/* 汎用リスト */
.rz-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

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

/* 本文テキスト共通 */
.rz-section-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
}

.rz-section-lead {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* サブセクション */
.rz-sub-content {
  padding: 72px 0;
}

.rz-sub-content-alt {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
}

.rz-section {
  padding: 64px 0;
}

/* 導入メリットセクションタイトル */
.np-merit-section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-navy);
  padding: 12px 20px;
  background: var(--brand-navy);
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-bottom: 0;
}

.np-merit-section-title + .np-merit-grid {
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px;
  background: #fff;
}

/* ページナビ */
.rz-page-nav {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 68px;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.rz-page-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.rz-page-nav-link {
  display: block;
  padding: 16px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}

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

.rz-page-nav-link.np-relay-link {
  color: #C60000;
  font-weight: 700;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .rz-feature-detail {
    padding: 20px 20px;
  }
}

@media (max-width: 768px) {
  .rz-sub-content,
  .rz-sub-content-alt,
  .rz-section {
    padding: 48px 0;
  }

  .rz-page-nav-link {
    padding: 14px 12px;
    font-size: 12px;
  }

  .np-merit-section-title + .np-merit-grid {
    padding: 16px;
  }
}
