/* ================================================
   ZETTA TECHNOLOGY - ADAM-ENTRY/WRITER PAGE STYLESHEET
   entry.css
   依存: style.css / products.css
   ================================================ */

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

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

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

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

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

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

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

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

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

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

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

/* 右側：特徴バナー（赤系） */
.ae-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;
}

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

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

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

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

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

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

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

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

.ae-page-nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 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;
}

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

/* ================================================
   セクション共通
   ================================================ */
.ae-section {
  padding: 72px 0;
  scroll-margin-top: 120px;
}

.ae-section-alt {
  background: var(--bg-light);
}

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

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

.ae-section-dark .section-tag {
  color: var(--accent-cyan);
}
.ae-section-dark .section-tag::before {
  background: var(--accent-cyan);
}
.ae-section-dark .section-title {
  color: #fff;
}

/* ================================================
   製品概要リード
   ================================================ */
.ae-overview-lead {
  max-width: 820px;
  margin: 0 auto 48px;
}

.ae-overview-lead-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--brand-navy);
  line-height: 1.55;
  margin-bottom: 16px;
}

.ae-overview-lead-title em {
  font-style: normal;
  color: var(--brand-red);
  text-decoration: underline;
  text-decoration-color: rgba(153,0,0,0.3);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.ae-detail-img a img {
  transition: opacity 0.2s;
}
.ae-detail-img a:hover img {
  opacity: 0.88;
}

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

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

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

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

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

/* ================================================
   ハイライトボックス
   ================================================ */
.ae-highlight-box {
  background: var(--bg-section);
  border: 2px solid var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 32px;
}

.ae-highlight-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ae-highlight-box-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 18px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.ae-highlight-box-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* 注記ボックス */
.ae-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;
}

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

/* ================================================
   ステップフロー（D&D帳票作成）
   ================================================ */
.ae-steps-wrap {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.ae-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.ae-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -6px;
  width: 12px;
  height: 2px;
  background: var(--border);
}

.ae-step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-navy);
  border: 3px solid var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.ae-step-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  margin-bottom: 10px;
}

.ae-step-img img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* ================================================
   実績テーブル
   ================================================ */
.ae-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}

.ae-results-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.7;
  min-width: 540px;
}

.ae-results-table th {
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  text-align: left;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
}

.ae-results-table tbody th {
  background: var(--bg-section);
  color: var(--brand-navy);
  font-weight: 700;
  border: 1px solid var(--border);
  vertical-align: top;
  width: 35%;
}

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

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

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

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

/* ================================================
   ラインナップテーブル
   ================================================ */
.ae-lineup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 500px;
}

.ae-lineup-table thead th {
  background: var(--brand-navy);
  color: #fff;
  font-weight: 700;
  padding: 12px 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
}

.ae-lineup-table tbody th {
  background: var(--bg-section);
  color: var(--brand-navy);
  font-weight: 700;
  text-align: center;
  padding: 12px 16px;
  border: 1px solid var(--border);
  font-size: 13px;
  vertical-align: middle;
}

.ae-lineup-table tbody td {
  padding: 12px 18px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: middle;
}

.ae-lineup-table tbody tr:hover td {
  background: rgba(153,0,0,0.03);
}

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

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

.ae-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);
}

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

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

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

/* ================================================
   オプションカード（ダーク背景用）
   ================================================ */
.ae-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.ae-option-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}

.ae-option-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(0,200,232,0.4);
}

.ae-option-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.ae-option-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.45;
  margin-bottom: 12px;
}

.ae-option-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.ae-option-img {
  margin-top: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.ae-option-img img {
  width: 100%;
  height: auto;
  display: block;
}

.ae-option-note {
  margin-top: 12px;
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
}

/* ================================================
   CTA（お問い合わせ）
   ================================================ */
.ae-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;
}

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

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

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

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

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

/* ================================================
   商標テキスト
   ================================================ */
.ae-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) {
  .ae-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ae-hero-orb { display: none; }
  .ae-detail-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ae-detail-grid.img-right .ae-detail-img { order: 0; }
  .ae-detail-grid.img-right .ae-detail-body { order: 0; }
  .ae-feature-grid { grid-template-columns: 1fr; }
  .ae-spec-grid { grid-template-columns: 1fr; }
  .ae-option-grid { grid-template-columns: 1fr; }
  .ae-steps-wrap { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .ae-hero,
  .ae-section { padding: 48px 0; }
  .ae-steps-wrap { grid-template-columns: 1fr 1fr; }
  .ae-inquiry-section { padding: 56px 0; }
  .ae-inquiry-actions { flex-direction: column; }
  .ae-results-table th,
  .ae-results-table td { padding: 10px 12px; font-size: 12px; }
  .ae-lineup-table th,
  .ae-lineup-table td { padding: 10px 12px; font-size: 12px; }
}
