.logo-text{
  font-family: "Average", serif;
  font-size: 32px;
  margin-top: 5px;
}

/* リンクのデフォルト設定 */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: none;
  color: inherit;
}

.list-code h1 {
  font-size: 32px;
  margin: 60px 30px;
}

@media not screen and (min-width: 768px) {
  .list-code h1{
    font-size: 20px;
    margin: 15px 5px;
  }
}

/* ページネーションのスタイル */
.pagination {
  margin: 1.5rem 0;
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
}

.page-inactive,
.page-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.page-inactive {
  background-color: #f3f4f6;
  color: #4b5563;
}

.page-inactive:hover {
  background-color: #e5e7eb;
}

.page-active {
  background-color: #3b82f6;
  color: white;
  font-weight: 500;
}

.article-detail-section-full {
  width: 100%;
  margin: 0 auto;
}

/* 検索ページのスタイル */
.search-form {
  margin: 2rem 0;
}

.search-input-wrapper {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  background: white;
}

.search-input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  outline: none;
  font-size: 14px;
  background: transparent;
}

.search-input::placeholder {
  color: #9ca3af;
}

.search-button {
  padding: 10px 14px;
  background: #f3f4f6;
  border: none;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 1px solid #d1d5db;
}

.search-button:hover {
  background: #e5e7eb;
  color: #374151;
}

.search-button .icon {
  width: 16px;
  height: 16px;
  filter: none;
  opacity: 0.7;
}

.filter-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
}

.filter-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-section label {
  font-weight: 500;
  color: #475569;
  font-size: 14px;
}

.filter-section select {
  padding: 6px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: white;
  font-size: 13px;
  color: #334155;
  transition: border-color 0.2s ease;
}

.filter-section select:focus {
  outline: none;
  border-color: #3b82f6;
}

.clear-filters-btn {
  padding: 6px 12px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s ease;
}

.clear-filters-btn:hover {
  background: #e2e8f0;
  color: #475569;
  border-color: #94a3b8;
}

@media not screen and (min-width: 768px) {
  .filter-wrapper {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .filter-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .search-input-wrapper {
    margin: 0 1rem;
  }
}