/* SEO最適化用スタイル */

/* パンくずリスト */
.breadcrumb-nav {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 0.75rem 0;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 1rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: '›';
  margin: 0 0.5rem;
  color: #6c757d;
  font-weight: bold;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.breadcrumb-item[aria-current="page"] {
  color: #495057;
  font-weight: 500;
}

/* 関連リンクセクション */
.related-links-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 3rem 0;
  margin: 3rem 0;
  border-top: 2px solid var(--primary);
}

.related-links-section h3 {
  text-align: center;
  margin-bottom: 2rem;
  color: #2c3e50;
  font-size: 1.5rem;
}

.related-links-section h3 i {
  color: var(--primary);
  margin-right: 0.5rem;
}

.related-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.related-link-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.related-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
}

.related-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.related-link-card:hover::before {
  left: 0;
}

.related-link-card h4 {
  margin: 0 0 0.5rem 0;
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.related-link-card p {
  margin: 0 0 1rem 0;
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.link-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.related-link-card:hover .link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* SEO最適化テキスト */
.seo-content {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 4px solid var(--primary);
}

.seo-content h3 {
  margin-top: 0;
  color: var(--primary);
}

.seo-keywords {
  font-weight: 500;
  color: var(--primary);
}

/* 構造化データ表示（開発時のみ表示） */
.structured-data-info {
  display: none;
  background: #e3f2fd;
  padding: 1rem;
  border-radius: 4px;
  margin: 1rem 0;
  font-size: 0.8rem;
  color: #1565c0;
}

.structured-data-info.show {
  display: block;
}

/* テーブル最適化（料金比較など） */
.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.seo-table th {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.seo-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #dee2e6;
}

.seo-table tr:hover {
  background-color: #f8f9fa;
}

/* キーワード強調 */
.keyword-highlight {
  font-weight: 600;
  color: var(--primary);
  background: linear-gradient(120deg, transparent 0%, rgba(30, 64, 175, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%, transparent 100%);
  padding: 0.1rem 0.2rem;
  border-radius: 3px;
}

/* FAQ セクション最適化 */
.faq-section {
  margin: 3rem 0;
}

.faq-item {
  background: white;
  margin-bottom: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--gradient-secondary);
  color: white;
  padding: 1rem;
  font-weight: 600;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  opacity: 0.9;
}

.faq-answer {
  padding: 1rem;
  color: #495057;
  line-height: 1.6;
  border-top: 1px solid #dee2e6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: 0.5rem 0;
  }
  
  .breadcrumb-list {
    font-size: 0.8rem;
  }
  
  .related-links-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .related-link-card {
    padding: 1rem;
  }
  
  .seo-content {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .seo-table {
    font-size: 0.9rem;
  }
  
  .seo-table th,
  .seo-table td {
    padding: 0.5rem;
  }
}

/* プリント用スタイル */
@media print {
  .breadcrumb-nav,
  .related-links-section,
  .link-arrow {
    display: none !important;
  }
  
  .seo-content {
    background: none !important;
    border: 1px solid #ccc !important;
  }
}