/* ================================================
   ZETTA TECHNOLOGY - ファイルめがね PAGE STYLESHEET
   依存: style.css（ベーススタイル・共通コンポーネント）
   ================================================ */

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

/* ================================================
   PAGE HERO（ファイルめがね ヒーロー）
   ================================================ */
.fm-hero {
  background: var(--brand-navy);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

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

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

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

.fm-hero-logos {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.fm-hero-logos img {
  height: 40px;
  width: auto;
}

.fm-hero-catch {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
}

.fm-hero-title-img {
  display: block;
  max-width: 340px;
  height: auto;
  margin: 12px 0;
}

.fm-hero-sub {
  font-size: 14px;
  color: var(--accent-cyan);
  font-weight: 700;
  margin-top: 8px;
}

/* 右側：特徴バナー */
.fm-hero-banner {
  background: rgba(0,200,232,0.08);
  border: 1px solid rgba(0,200,232,0.3);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.fm-hero-banner-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: 12px;
}

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

.fm-hero-banner-copy em {
  font-style: normal;
  color: var(--accent-cyan);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ================================================
   課題セクション
   ================================================ */
.fm-challenge-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  margin-top: 40px;
}

.fm-challenge-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
  box-shadow: var(--shadow-sm);
}

.fm-challenge-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.fm-challenge-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.fm-challenge-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 9px;
  color: var(--brand-red);
}

.fm-challenge-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fm-challenge-arrow-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.fm-challenge-arrow-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  color: var(--brand-red);
  letter-spacing: 0.1em;
  text-align: center;
}

.fm-solution-card {
  background: rgba(153,0,0,0.04);
  border: 2px solid var(--brand-red);
  border-radius: var(--radius-lg);
  padding: 28px 28px;
}

.fm-solution-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(153,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fm-index-banner {
  margin-top: 32px;
  padding: 20px 28px;
  background: var(--brand-navy);
  border-radius: var(--radius);
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  font-weight: 500;
  text-align: center;
}

/* ================================================
   製品概要セクション（4特長カード）
   ================================================ */
.fm-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

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

.fm-feature-card:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

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

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

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

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

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

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

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

.fm-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--accent-cyan);
  margin-top: 12px;
  text-decoration: none;
  transition: var(--transition);
}

.fm-feature-link:hover {
  gap: 8px;
  color: var(--brand-navy);
}

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

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

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

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

.fm-overview-lead-text em {
  font-style: normal;
  color: var(--brand-navy);
  font-weight: 700;
  text-decoration: underline;
}

/* ================================================
   操作性セクション
   ================================================ */
.fm-ui-section-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 40px;
}

.fm-ui-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.fm-ui-block-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.fm-ui-block-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fm-ui-block-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.7;
}

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

.fm-ui-highlight {
  font-weight: 700;
  color: var(--brand-red);
  text-decoration: underline;
}

.fm-integration-box {
  background: var(--bg-section);
  border: 2px solid var(--brand-navy);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 32px;
}

.fm-integration-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--brand-navy);
  margin-bottom: 10px;
}

.fm-integration-box-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ================================================
   検索対象テーブル
   ================================================ */
.fm-target-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.fm-target-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.6;
}

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

.fm-target-table td {
  padding: 11px 20px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}

.fm-target-table tr:nth-child(odd) td {
  background: var(--bg-light);
}

.fm-target-table tr:nth-child(even) td {
  background: #fff;
}


.fm-target-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.7;
}

/* ================================================
   トレンド分析（オプション）セクション
   ================================================ */
.fm-option-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(153,0,0,0.08);
  border: 1px solid rgba(153,0,0,0.25);
  border-radius: 100px;
  padding: 6px 20px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
}

.fm-trend-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fm-trend-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.fm-trend-list li::before {
  content: '●';
  color: var(--brand-red);
  font-size: 8px;
  flex-shrink: 0;
  margin-top: 6px;
}

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

/* ================================================
   お客様の声テーブル
   ================================================ */
.fm-voice-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.fm-voice-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.7;
  min-width: 700px;
}

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

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

.fm-voice-table tr:nth-child(odd) td {
  background: var(--bg-light);
}

.fm-voice-table tr:nth-child(even) td {
  background: #fff;
}

.fm-voice-table .col-role {
  background: var(--bg-section) !important;
  font-weight: 700;
  color: var(--brand-navy);
  text-align: center;
  white-space: nowrap;
  width: 80px;
}

/* ================================================
   導入事例セクション
   ================================================ */
.fm-case-section {
  padding: 72px 0;
  scroll-margin-top: 120px;
}

.fm-case-section + .fm-case-section {
  padding-top: 0;
}

.fm-case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 32px;
}

.fm-case-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 0;
  align-items: stretch;
  border-bottom: 1px solid var(--border);
}

.fm-case-row:last-child {
  border-bottom: none;
}

.fm-case-row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.4;
}

.fm-case-row-label.challenge {
  background: var(--bg-section);
  color: var(--brand-navy);
}

.fm-case-row-label.reason {
  background: rgba(0,200,232,0.08);
  color: #0088aa;
}

.fm-case-row-label.effect {
  background: rgba(153,0,0,0.06);
  color: var(--brand-red);
}

.fm-case-row-content {
  padding: 20px 24px;
  border-left: 1px solid var(--border);
}

.fm-case-row-img {
  padding: 12px 16px;
  border-left: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fm-case-row-img img {
  max-width: 160px;
  height: auto;
}

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

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

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

.fm-effect-highlight {
  color: var(--brand-red);
  font-weight: 700;
}

/* 事例ヘッダー */
.fm-case-intro {
  margin-bottom: 32px;
}

.fm-case-sub-title {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 6px;
}

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

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

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

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

.fm-inquiry-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 24px;
}

.fm-inquiry-contact {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  line-height: 2;
  margin-bottom: 28px;
}

.fm-inquiry-contact strong {
  font-weight: 700;
  color: #fff;
}

.fm-inquiry-tel {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  display: block;
  margin: 6px 0;
}

.fm-inquiry-email a {
  color: rgba(255,255,255,0.85);
  text-decoration: underline;
  transition: opacity 0.2s;
}

.fm-inquiry-email a:hover {
  opacity: 0.75;
}

.fm-inquiry-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

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

/* ================================================
   スクロールリビール
   ================================================ */
.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; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .fm-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fm-hero-orb { display: none; }

  .fm-challenge-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .fm-challenge-arrow {
    flex-direction: row;
    padding: 8px 0;
  }

  .fm-challenge-arrow-icon {
    transform: rotate(90deg);
  }

  .fm-ui-section-inner {
    grid-template-columns: 1fr;
  }

  .fm-case-row {
    grid-template-columns: 100px 1fr;
  }

  .fm-case-row-img {
    display: none;
  }
}

@media (max-width: 768px) {
  .fm-hero,
  .fm-section {
    padding: 48px 0;
  }

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

  .fm-case-row {
    grid-template-columns: 80px 1fr;
  }

  .fm-inquiry-section {
    padding: 56px 0;
  }

  .fm-inquiry-actions {
    flex-direction: column;
  }
}
