/* ================================================
   ZETTA TECHNOLOGY - ADAM-WEBOLAP plus Report with JP1
   wjp1.css
   依存: style.css / products.css
   ================================================ */

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

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

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

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

.wj-hero .container {
  position: relative;
  z-index: 1;
}

.wj-hero-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.wj-hero-product-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.wj-hero-product-main {
  font-family: var(--font-serif-ja);
  font-size: 22px;
  font-weight: 700;
  color: #ff6666;
}

.wj-hero-product-sub {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}

.wj-hero-product-with {
  font-size: 14px;
  color: #fff;
}

.wj-hero-product-with strong {
  font-size: 20px;
}

.wj-hero-cert {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: var(--brand-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.05em;
}

.wj-hero-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 20px;
}

.wj-hero-pill {
  display: inline-block;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 700;
  color: #fff;
  background: #4c7ab2;
  border-radius: 100px;
  padding: 10px 32px;
  margin: 0 auto 28px;
}

.wj-hero-questions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 24px;
  flex-wrap: wrap;
  text-align: left;
}

.wj-hero-questions-img img {
  width: 160px;
  margin: 0 auto;
}

.wj-hero-questions-text {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
}

.wj-hero-img02 {
  max-width: 760px;
  margin: 0 auto 24px;
}

.wj-hero-catch {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 700;
  color: #fff;
  line-height: 1.8;
}

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

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

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

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

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

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

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

/* ================================================
   リードバナー
   ================================================ */
.wj-lead-banner {
  background: #4c7ab2;
  color: #fff;
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 700;
  text-align: center;
  line-height: 1.6;
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}

/* ================================================
   課題・解決策カード
   ================================================ */
.wj-issue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.wj-issue-card {
  background: #fbe8d9;
  border-radius: var(--radius-lg);
  padding: 24px 26px;
}

.wj-issue-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #1f4678;
  border-radius: 4px;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.wj-issue-text {
  font-size: 14px;
  color: #1f4678;
  line-height: 1.8;
  margin-bottom: 18px;
}

.wj-solution-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--brand-red);
  border-radius: 4px;
  padding: 3px 12px;
  margin-bottom: 10px;
}

.wj-solution-text {
  font-size: 14px;
  color: var(--brand-red);
  line-height: 1.8;
  font-weight: 700;
}

/* ================================================
   イメージブロック
   ================================================ */
.wj-image-block {
  text-align: center;
  margin-bottom: 24px;
}

.wj-image-block:last-child { margin-bottom: 0; }

.wj-image-block img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* ================================================
   効果テーブル（Point 1 / 2）
   ================================================ */
.wj-effect-table {
  display: grid;
  grid-template-columns: auto auto 1fr auto 1fr;
  border: 1px solid var(--brand-red);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}

.wj-effect-table-head {
  grid-row: 1 / 2;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wj-effect-table-point {
  background: #fbe8d9;
  color: var(--brand-red);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
}

.wj-effect-table-point-label {
  font-size: 11px;
  color: var(--brand-red);
  margin-bottom: 4px;
}

.wj-effect-table-point-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--brand-red);
}

.wj-effect-table-desc {
  background: #fbe8d9;
  color: var(--brand-red);
  font-size: 13px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  padding: 10px 16px;
}

/* ================================================
   製品情報テーブル（entry.css の ae-table-wrap / ae-results-table 流用）
   ================================================ */
.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(--bg-section);
  color: var(--brand-navy);
  font-weight: 700;
  border: 1px solid var(--border);
  vertical-align: top;
  padding: 14px 18px;
  text-align: left;
  width: 18%;
}

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

.wj-product-table td a {
  color: var(--brand-red);
  text-decoration: underline;
  word-break: break-all;
}

/* ================================================
   注記ボックス
   ================================================ */
.wj-note-box {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.8;
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 16px 20px;
}

.wj-note-box a {
  color: var(--brand-red);
  text-decoration: underline;
  word-break: break-all;
}

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

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

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

.wj-inquiry-title {
  font-family: var(--font-serif-ja);
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 12px;
}

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

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

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

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .wj-issue-grid { grid-template-columns: 1fr; }
  .wj-effect-table {
    grid-template-columns: 1fr;
  }
  .wj-effect-table-head { grid-row: auto; }
}

@media (max-width: 768px) {
  .wj-hero,
  .wj-section { padding: 48px 0; }
  .wj-hero-top { justify-content: center; text-align: center; }
  .wj-hero-questions { flex-direction: column; text-align: center; }
  .wj-inquiry-section { padding: 56px 0; }
  .wj-inquiry-actions { flex-direction: column; }
  .ae-results-table th,
  .ae-results-table td { padding: 10px 12px; font-size: 12px; }
}
