@charset "UTF-8";
:root {
  --base: #333;
  --link: #1176d4;
  --submit-btn: #f5a317;
  --submit-btn-h: #f5a317;
  --title: #f5a317;
  --detail-h1: #ddd;
  --contact-btn: #f5a317;
}

/* =============================================================================
   FAQ CSS - 整理済み（重複除去版）
   ============================================================================= */
/* 1. 基本設定とリセット */
/* -----------------------------------------------------------------------------*/
html {
  font-size: 62.5%;
}

body {
  margin: 0 auto;
  padding: 0;
  font-size: 1.6rem;
  background: #fff;
  position: relative;
  color: var(--base);
  font-weight: 400;
  text-align: left;
  box-sizing: border-box;
  line-height: 1.8;
  max-width: 100%;
  font-family: "Noto Sans JP", "游ゴシック", "Yu Gothic", "游ゴシック体", "YuGothic", sans-serif;
}

/* SWELLテーマとの互換性 */
.swell-block-faq .faq_a,
.swell-block-faq .faq_q {
  padding: 0;
}

.top #content,
#content.l-content {
  padding-top: 0;
}

.l-content.l-container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.l-header__inner {
  width: 96%;
  margin: auto;
  max-width: 1200px;
}

.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6 {
  margin: 2em 0 1em;
}

@media (min-width: 960px) {
  .-series .l-header__logo .c-catchphrase {
    font-size: 1.8rem;
    padding: 4px 0;
    font-weight: bold;
  }
}
/* BASE */
a {
  text-decoration: none;
  transition: 0.3s;
}

.inner_800 {
  max-width: 800px;
  width: 96%;
  margin: auto;
}

.inner_1200 {
  max-width: 1200px;
  width: 96%;
  margin: auto;
}

.f_ps120 {
  font-size: 120%;
}

.center {
  text-align: center !important;
}

.right {
  text-align: right !important;
}

/* 2. ヘッダーセクション */
/* -----------------------------------------------------------------------------*/
.faq-header {
  text-align: center;
  position: relative;
  padding: 50px 0;
  background: url(../img/qa_bg.jpg) center/contain;
}

.faq-header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 700;
}

.faq-header p {
  margin-bottom: 25px;
}

.corporate-link {
  display: inline-block;
  background: #28a745;
  color: #fff;
  padding: 12px 24px 10px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.corporate-link:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* FAQ統計表示 */
.faq-stats {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.faq-stat-item {
  text-align: center;
}

.faq-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #007bff;
}

.faq-stat-label {
  font-size: 0.9rem;
  color: #6c757d;
}

/* 3. TOP 検索・ナビゲーションセクション */
/* -----------------------------------------------------------------------------*/
.faq-search-box {
  width: 100%;
  padding: 15px 24px;
  font-size: 16px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  margin: 0 0 20px 0;
  transition: all 0.3s ease;
  outline: none;
  border-radius: 4px 0 0 4px;
  border-right: none !important;
  margin: 0 !important;
  flex: 1;
}

/* カテゴリーナビゲーション */
.faq-category-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 20px 0 10px;
}

.faq-category-btn {
  padding: 10px 20px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #495057;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none !important;
  display: inline-block;
  transition: all 0.3s ease;
}

.faq-category-btn:hover {
  background: #e9ecef;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-category-btn.active {
  background-color: #0080c3;
  color: #fff;
  font-weight: bold;
  border: 2px solid #0080c3;
}

/* ソート機能 */
.faq-sort-section {
  text-align: center;
  margin-top: 20px;
}

.faq-sort-select {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
}

/* 非表示要素 */
.faq_q {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* 4. メインレイアウト */
/* -----------------------------------------------------------------------------*/
.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.faq-main-layout {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  align-items: start;
}

.faq-main-content {
  flex: 2;
}

.tax-faq_category h1 {
  margin-top: 50px;
  font-size: 1.9rem;
  font-weight: bold;
}

/* 5. FAQ項目のスタイル */
/* -----------------------------------------------------------------------------*/
.faq-list h1 {
  color: #2c3e50;
  margin-bottom: 25px;
  font-size: 1.8rem;
  font-weight: 600;
}

.faq-category-heading {
  font-weight: bold;
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.faq-item {
  background: white;
  border: 1px solid #e0e0e0;
  margin: 0 0 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.faq-more-link {
  text-align: right;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 90%;
}

/* カテゴリーバッジ */
.faq-category-badge {
  margin: 15px 15px 0 15px;
}

.faq-category-badge a {
  display: inline-block;
  background: #e9ecef;
  color: #495057;
  padding: 4px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.faq-category-badge a:hover {
  background: #007bff;
  color: white;
  transform: translateY(-1px);
}

/* 優先度インジケーター */
.faq-priority-indicator {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 1rem;
}

/* 質問部分 */
.faq-question {
  background: #f8f9fa;
  padding: 20px;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  line-height: 1.4;
  word-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  color: var(--base);
  display: block;
  width: 100%;
  transition: 0.3s;
}

.top .faq-question:hover,
.category_p .faq-question:hover {
  opacity: 0.7;
}
.top .faq-question,
.category_p .faq-question {
  cursor: pointer;
}
.top .faq-question:hover h4,
.top .faq-question:hover h3,
.category_p .faq-question:hover h4,
.category_p .faq-question:hover h3 {
  color: var(--title);
  filter: brightness(60%);
}

.detail .faq-question h1 {
  font-size: 2.3rem;
}
.detail .faq-question {
  background: none;
  border-bottom: 1px solid var(--detail-h1);
  color: var(--base);
}

.faq-question h4,
.faq-question h3 {
  transition: color 0.3s ease, filter 0.3s ease;
}

.faq-question .flex {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
}

.faq-question-stats {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #6c757d;
  display: flex;
  gap: 15px;
  align-items: center;
  font-weight: normal;
}

.helpful-stat {
  color: #28a745;
  font-weight: 500;
}

.date-stat {
  color: #6c757d;
}

.match-info {
  color: #0066cc;
}

/* 回答部分 */
.faq-answer {
  background: white;
  box-sizing: border-box;
  position: relative;
  word-wrap: break-word;
  -webkit-hyphens: auto;
          hyphens: auto;
  margin: 20px;
}

.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 4px;
  display: block;
  vertical-align: top;
}

.faq-answer ul,
.faq-answer ol {
  margin: 15px 0;
  padding-left: 30px;
}

.faq-answer li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.faq-answer pre,
.faq-answer code {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
}

.faq-answer pre {
  padding: 15px;
  margin: 15px 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.faq-answer code {
  padding: 2px 6px;
  display: inline;
}

.faq-answer table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  border: 1px solid #e9ecef;
}

.faq-answer th,
.faq-answer td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.faq-answer th {
  background: #f8f9fa;
  font-weight: 600;
}

/* 関連質問セクション */
.faq-related-questions {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid #e9ecef;
}

.faq-related-questions h4 {
  margin-bottom: 15px;
  color: #495057;
  font-weight: 600;
}

.faq-related-questions ul {
  list-style: none;
  padding: 0;
}

.faq-related-questions li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.faq-related-questions li:last-child {
  border-bottom: none;
}

.faq-related-questions a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.faq-related-questions a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.faq-question h1 {
  font-size: 2.1rem;
}

.faq-meta {
  margin-top: 15px;
  font-size: 1.4rem;
  color: #6c757d;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.faq-meta span.badge {
  background: #e9ecef;
  padding: 3px 10px;
  border-radius: 12px;
}

.faq-meta span.popular {
  color: #dc3545;
  font-weight: bold;
}

.related-faqs h4 {
  margin-bottom: 15px;
  color: #495057;
}

.related-faqs li {
  margin-bottom: 8px;
}

.related-faqs a {
  color: var(--link);
  text-decoration: underline;
}

.related-faqs a .helpful-count {
  color: #28a745;
  font-size: 0.8rem;
}

.faq-vote-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-vote-stat {
  margin-top: 15px;
  font-size: 1.4rem;
  color: #6c757d;
  text-align: center;
}

.faq-nav {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.faq-nav div {
  flex: 1;
  min-width: 200px;
}

.faq-nav div.center {
  text-align: center;
}

.faq-nav div.right {
  text-align: right;
}

.faq-nav a {
  color: var(--link);
  text-decoration: none;
}

.faq-nav a.button {
  background: var(--link);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
}

.sidebar-section .more-link {
  text-align: right;
  margin-top: 15px;
  font-weight: bold;
}

.sidebar-section .more-link a {
  color: var(--link);
  /* font-size: 0.9rem; */
}

/* 6. 投票システム */
/* -----------------------------------------------------------------------------*/
.faq-vote-section p {
  margin-bottom: 15px;
  font-weight: 500;
  color: #495057;
}

.faq-vote-btn {
  padding: 10px 20px;
  margin: 0 8px;
  border: 2px solid #e9ecef;
  background: white;
  border-radius: 25px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.faq-vote-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.faq-vote-btn[data-vote=helpful]:hover:not(:disabled) {
  background: #28a745;
  color: white;
  border-color: #28a745;
}

.faq-vote-btn[data-vote=not_helpful]:hover:not(:disabled) {
  background: #dc3545;
  color: white;
  border-color: #dc3545;
}

.faq-vote-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.faq-vote-btn.voted-helpful {
  background: #d4edda;
  border-color: #28a745;
  color: #155724;
}

.faq-vote-btn.voted-not-helpful {
  background: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}

/* 7. サイドバー */
/* -----------------------------------------------------------------------------*/
.faq-sidebar {
  flex: 1;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 20px;
  height: -moz-fit-content;
  height: fit-content;
}

.sidebar-section {
  background: white;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 15px 0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-section:first-child {
  margin-top: 0;
}

.sidebar-section h3 {
  margin-bottom: 15px;
  font-weight: 600;
  border-bottom: 2px solid var(--detail-h1);
  padding-bottom: 5px;
}

.popular-questions,
.recent-questions,
.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-questions li,
.recent-questions li,
.category-list li,
.category-questions li {
  border-bottom: 1px solid #eee;
}

.popular-questions li:last-child,
.recent-questions li:last-child,
.category-list li:last-child {
  border-bottom: none;
}

.popular-questions a,
.recent-questions a,
.category-list a,
.category-questions a {
  color: #333;
  padding: 8px 5px;
  width: 100%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.popular-questions a:hover,
.recent-questions a:hover,
.category-list a:hover,
.category-questions a:hover {
  background-color: #f8f9fa;
}

/* サポート情報 */
.contact-info {
  text-align: center;
}

.contact-info h4 {
  margin-bottom: 15px;
  color: #2c3e50;
  font-size: 1.8rem;
}

.contact-form-link {
  display: inline-block;
  background: var(--contact-btn);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-form-link:hover {
  background: #218838;
  transform: translateY(-1px);
}

/* 8. 検索機能関連 */
/* -----------------------------------------------------------------------------*/
.search-loading {
  text-align: center;
  padding: 40px 20px;
  color: #6c757d;
  background: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
}

.search-stats {
  background: #e7f3ff;
  border: 1px solid #b3d7ff;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  text-align: center;
  animation: slideDown 0.3s ease-out;
}

.search-stats button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}

.search-stats button:hover {
  background: #0056b3;
}

.no-search-results {
  text-align: center;
  padding: 40px 20px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  margin: 20px 0;
}

.search-error {
  text-align: center;
  padding: 40px 20px;
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  margin: 20px 0;
  color: #721c24;
}

/* 検索結果専用スタイル */
.search-result-item {
  border-left: 4px solid #007bff;
}

.search-relevance-indicator {
  background: #f8f9fa;
  padding: 5px 15px;
  color: #6c757d;
  border-bottom: 1px solid #eee;
  font-family: monospace;
}

.search-excerpt {
  padding: 15px;
  background: #f9f9f9;
  line-height: 1.6;
  color: #555;
  border-left: 3px solid #f8f9fa;
  position: relative;
}

.search-excerpt::before {
  content: "📄";
  position: absolute;
  top: 15px;
  left: -15px;
  background: white;
  padding: 2px;
}

/* 検索ハイライト */
mark {
  background: #ffeb3b !important;
  padding: 2px 4px;
  border-radius: 2px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

/* 検索履歴 */
.search-history-dropdown {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-history-item:hover {
  background-color: #f5f5f5 !important;
}

.search-history-item:last-child {
  border-bottom: none;
}

article {
  padding: 20px 30px;
}

/* 9. ページネーション */
/* -----------------------------------------------------------------------------*/
.faq-pagination {
  text-align: center;
  margin: 30px 0;
}

.faq-pagination .page-numbers {
  /* display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  color: #495057;
  transition: all 0.3s ease; */
  display: inline-block;
  margin-right: 5px;
  /* padding: 5px 5px; */
  border: 1px solid #28a745;
  background: #fff;
  text-decoration: none;
  color: #28a745;
  border-radius: 0.5em;
  box-shadow: none;
  /* font-size: 2.2rem; */
  font-weight: 600;
}

.faq-pagination .page-numbers:hover,
.faq-pagination .page-numbers.current {
  /* background: #007bff;
  color: white;
  border-color: #007bff; */
  margin-right: 5px;
  /* padding: 5px 5px; */
  background: #28a745;
  text-decoration: none;
  color: #fff;
  border-radius: 0.5em;
}

.faq-pagination .page-numbers.dots {
  border: none;
}

.faq-pagination .page-numbers.dots:hover {
  background: none;
  color: #28a745;
}

/* 10. メッセージとアニメーション */
/* -----------------------------------------------------------------------------*/
.faq-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 20px;
  border-radius: 5px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  max-width: 300px;
  word-wrap: break-word;
}

.faq-message-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.faq-message-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.faq-message-info {
  background: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 12. アクセシビリティとユーザビリティ */
/* -----------------------------------------------------------------------------*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================================
   追加CSS - faq.cssの最後に追記してください
   検索フォーム、ナビゲーション、検索結果用のスタイル
   ============================================================================= */
/* 検索フォーム関連 */
/* -----------------------------------------------------------------------------*/
.faq-search-form {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  display: flex;
}

.faq-search-submit {
  color: white;
  border: none;
  padding: 15px 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-radius: 0 4px 4px 0 !important;
  border-left: none !important;
}

.faq-search-submit,
.sidebar-search-btn {
  background: var(--submit-btn);
}

.faq-search-submit,
.sidebar-search-btn:hover {
  background: var(--submit-btn-h);
}

.faq-category-heading,
.tax-faq_category h1 span {
  color: var(--title);
}

/* ナビゲーションヘルプ */
.faq-navigation-help {
  margin-top: 15px;
  text-align: center;
}

.help-text {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
  padding: 10px 20px;
  background: #f8f9fa;
  border-radius: 20px;
  display: inline-block;
}

/* 検索結果専用スタイル */
/* -----------------------------------------------------------------------------*/
.search-results-header {
  background: #e7f3ff;
  border: 1px solid #b3d7ff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  text-align: center;
}

.search-results-header h2 {
  margin: 0 0 10px 0;
  color: #0066cc;
  font-size: 1.8rem;
}

.search-results-count {
  margin: 0;
  color: #495057;
  font-weight: 500;
}

.search-result-item {
  border-left: 4px solid #007bff !important;
  background: #f8f9ff !important;
}

.search-excerpt {
  padding: 15px 20px;
  background: #f0f7ff;
  border-top: 1px solid #e3f2fd;
  line-height: 1.6;
  color: #495057;
  font-size: 0.95rem;
}

.search-excerpt::before {
  content: "📄 ";
  color: #007bff;
  font-weight: bold;
}

/* 検索履歴ドロップダウン */
.search-history-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 5px 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.search-history-item {
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  transition: background-color 0.2s;
  position: relative;
}

.search-history-item:last-child {
  border-bottom: none;
}

.search-history-item:hover {
  background-color: #f5f5f5 !important;
}

.search-history-item::before {
  content: "🕒 ";
  color: #6c757d;
  margin-right: 5px;
}

/* 注目度インジケーター */
.popularity-indicator {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #28a745;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: bold;
  z-index: 10;
}

/* 検索統計の改善 */
.search-stats {
  background: #e7f3ff;
  border: 1px solid #b3d7ff;
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
  text-align: center;
  animation: slideDown 0.3s ease-out;
}

.search-stats p {
  margin: 0 0 10px 0;
  font-weight: 500;
  color: #0066cc;
}

.search-stats button {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.search-stats button:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

/* 検索結果なしの改善 */
.no-search-results {
  text-align: center;
  padding: 40px 20px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  margin: 20px 0;
}

.no-search-results h3 {
  color: #856404;
  margin-bottom: 15px;
}

.no-search-results p {
  color: #856404;
  margin-bottom: 15px;
}

.no-search-results ul {
  text-align: left;
  display: inline-block;
  color: #856404;
}

.no-search-results li {
  margin-bottom: 8px;
}

.no-search-results a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.no-search-results a:hover {
  text-decoration: underline;
}

/* カテゴリーページ専用 */
.category-search-stats {
  background: #f0f8ff;
  border: 1px solid #cce7ff;
  padding: 12px;
  margin: 15px 0;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
}

/* ショートコード用スタイル */
/* -----------------------------------------------------------------------------*/
.faq-search-shortcode {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.faq-search-shortcode .search-input-wrapper {
  margin-bottom: 15px;
}

.faq-categories-shortcode {
  margin-top: 15px;
}

.faq-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.faq-category-link {
  background: #e9ecef;
  color: #495057;
  padding: 6px 12px;
  border-radius: 15px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.faq-category-link:hover {
  background: #007bff;
  color: white;
  transform: translateY(-1px);
}

.popular-faq-shortcode ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popular-faq-item {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.popular-faq-item:last-child {
  border-bottom: none;
}

.popular-faq-item a {
  color: #495057;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.3s ease;
}

.popular-faq-item a:hover {
  color: #007bff;
}

.faq-category-tag {
  background: #e9ecef;
  color: #6c757d;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-left: 10px;
}

/* アクセシビリティ改善 */
/* -----------------------------------------------------------------------------*/
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 検索フォームの統一スタイル */
.search-input-wrapper {
  display: flex;
  width: 100%;
}

/* =============================================================================
   FAQ詳細ページ検索機能
   ============================================================================= */
/* メイン検索セクション */
.faq-single-search-section,
.related-faqs,
.faq-vote-section {
  margin: 30px 0;
  padding: 25px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}

.faq-single-search-section h4 {
  margin-bottom: 20px;
  color: #495057;
  font-weight: 600;
}

/* 検索オプション */
.search-options {
  margin-bottom: 15px;
}

.search-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #6c757d;
  cursor: pointer;
}

.faq-single-search-form .faq-search-box {
  background: #fff;
}

.search-option input[type=checkbox] {
  margin: 0;
}

/* サイドバー検索 */
.sidebar-search-wrapper,
.faq-single-search-form .search-input-wrapper {
  display: flex;
  margin-bottom: 10px;
}

.sidebar-search-box,
.faq-single-search-form .faq-search-box {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
}

.sidebar-search-btn {
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.sidebar-search-btn:hover {
  background: #218838;
}

.sidebar-search-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-scope {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #6c757d;
  cursor: pointer;
}

.search-scope input[type=radio] {
  margin: 0;
}

/* 検索結果ページのヘッダー */
/* -----------------------------------------------------------------------------*/
.search-query-display {
  margin-top: 50px;
  font-size: 2.1rem;
  margin-bottom: 20px;
}

.search-query-display strong {
  color: #007bff;
  font-weight: 600;
}

/* 検索カテゴリーオプション */
/* -----------------------------------------------------------------------------*/
.search-category-options {
  margin-top: 15px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.search-category-label {
  margin-right: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #495057;
  cursor: pointer;
  transition: font-weight 0.3s ease;
}

.search-category-label:hover {
  font-weight: 600;
}

.search-category-label input[type=radio] {
  margin: 0;
}

/* ナビゲーションブレッドクラム */
/* -----------------------------------------------------------------------------*/
.search-breadcrumb {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: #6c757d;
}

.search-breadcrumb a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.search-breadcrumb a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.search-breadcrumb span {
  color: #495057;
  font-weight: 500;
}

/* 検索結果統計セクション */
/* -----------------------------------------------------------------------------*/
.search-results-stats {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid #e9ecef;
}

.search-results-count {
  margin: 0;
  font-weight: 600;
  color: #495057;
  font-size: 1.1rem;
}

.search-scope-info {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #6c757d;
}

.expand-search-link {
  margin-left: 10px;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.expand-search-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* 検索結果一覧 */
/* -----------------------------------------------------------------------------*/
.search-results-list .faq-item {
  background: #f8f9ff;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* 質問メタ情報（検索結果専用） */
.faq-question-stats {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.helpful-stat {
  color: #28a745;
  font-weight: 500;
}

.date-stat {
  color: #6c757d;
}

.updated-stat {
  color: #17a2b8;
}

/* 検索結果の抜粋 */
/* -----------------------------------------------------------------------------*/
.search-excerpt {
  padding: 15px 20px;
  background: #f0f7ff;
  border-top: 1px solid #e3f2fd;
  line-height: 1.6;
  color: #495057;
  font-size: 0.95rem;
}

.search-excerpt mark {
  background: #ffeb3b;
  padding: 2px 4px;
  border-radius: 2px;
  font-weight: bold;
  box-shadow: 0 1px 3px rgba(255, 193, 7, 0.3);
}

/* 詳細リンク */
.search-item-footer {
  padding: 15px 20px;
  text-align: right;
  background: #fafbfc;
  border-top: 1px solid #e9ecef;
}

.read-more-link {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.read-more-link:hover {
  color: #0056b3;
  transform: translateX(3px);
}

.read-more-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #007bff;
  transition: width 0.3s ease;
}

.read-more-link:hover::after {
  width: 100%;
}

/* 検索結果なしの表示 */
/* -----------------------------------------------------------------------------*/
.no-search-results {
  text-align: center;
  padding: 40px 20px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  margin: 20px 0;
}

.no-results-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.no-search-results h3 {
  color: #856404;
  margin-bottom: 15px;
  font-weight: 600;
}

.no-search-results p {
  color: #856404;
  margin-bottom: 20px;
  line-height: 1.6;
}

.search-suggestions {
  text-align: left;
  display: inline-block;
  color: #856404;
  max-width: 500px;
}

.search-suggestions h4 {
  color: #856404;
  margin-bottom: 15px;
  font-weight: 600;
}

.search-suggestions ul {
  margin: 15px 0;
  padding-left: 20px;
}

.search-suggestions li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.search-suggestions a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.search-suggestions a:hover {
  text-decoration: underline;
}

/* 提案される注目質問 */
.suggested-faqs {
  margin-top: 30px;
}

.suggested-faqs h4 {
  color: #856404;
  margin-bottom: 15px;
  font-weight: 600;
}

.suggested-faq-list {
  list-style: none;
  padding: 0;
  text-align: left;
  display: inline-block;
  max-width: 400px;
}

.suggested-faq-list li {
  margin-bottom: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(133, 100, 4, 0.2);
}

.suggested-faq-list li:last-child {
  border-bottom: none;
}

.suggested-faq-list a {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.suggested-faq-list a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* その他の検索関連表示 */
/* -----------------------------------------------------------------------------*/
.non-faq-search {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin: 20px 0;
}

.non-faq-search h3 {
  color: #495057;
  margin-bottom: 15px;
}

.non-faq-search p {
  color: #6c757d;
  margin-bottom: 15px;
}

.non-faq-search a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.no-search-query {
  text-align: center;
  padding: 40px 20px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin: 20px 0;
}

.no-search-query h3 {
  color: #495057;
  margin-bottom: 15px;
  font-weight: 600;
}

.no-search-query p {
  color: #6c757d;
  margin-bottom: 20px;
  line-height: 1.6;
}

.search-tips {
  margin-top: 20px;
  text-align: left;
  display: inline-block;
  max-width: 300px;
}

.search-tips h4 {
  color: #495057;
  margin-bottom: 15px;
  font-weight: 600;
}

.search-tips ul {
  color: #6c757d;
  line-height: 1.6;
}

.search-tips li {
  margin-bottom: 8px;
}

/* サイドバー専用スタイル（検索ページ） */
/* -----------------------------------------------------------------------------*/
.search-tips-sidebar {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #e9ecef;
}

.search-tips-sidebar p {
  margin-bottom: 10px;
  color: #495057;
  font-weight: 500;
}

.search-tips-sidebar ul {
  font-size: 14px;
  line-height: 1.6;
  color: #6c757d;
  margin: 0;
  padding-left: 20px;
}

.search-tips-sidebar li {
  margin-bottom: 5px;
}

.more-link {
  text-align: center;
  margin-top: 15px;
}

.more-link a {
  color: #1176d4;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.more-link a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* PC調整 */
/* -----------------------------------------------------------------------------*/
@media (min-width: 901px) {
  a[href^="tel:"] {
    pointer-events: none;
  }
}
/* スマホ調整 */
/* -----------------------------------------------------------------------------*/
@media (max-width: 900px) {
  body {
    font-size: clamp(1rem, 3.8vw, 1.6rem);
    -webkit-text-size-adjust: 100%;
  }
  .inner_1200 {
    width: 90%;
  }
  .faq-container {
    padding: 0;
  }
  .faq-header {
    padding: 5% 0;
  }
  .l-header__menuBtn.sp_,
  .l-header__customBtn.sp_,
  .l-header__menuBtn.sp_ {
    display: none;
  }
  .l-header__inner {
    justify-content: center;
  }
  .post_content h2,
  .post_content h3,
  .post_content h4,
  .post_content h5,
  .post_content h6 {
    margin: 1em 0 1em;
  }
  .post_content h2 {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
  }
  .faq-header h1 {
    font-size: clamp(1.6rem, 5.7vw, 3.5rem) !important;
  }
  .faq-category-btn {
    font-size: clamp(1rem, 3.6vw, 1.4rem) !important;
  }
  .faq-search-submit {
    font-size: clamp(1rem, 3.8vw, 1.6rem) !important;
  }
  .faq-category-heading {
    font-size: clamp(1.2rem, 4.3vw, 2.1rem) !important;
  }
  .detail .faq-question h1 {
    font-size: clamp(1.2rem, 4.5vw, 2.3rem) !important;
  }
  .contact-info h4 {
    font-size: clamp(1rem, 4vw, 1.8rem) !important;
  }
  .tax-faq_category h1 {
    font-size: clamp(1rem, 4.1vw, 1.9rem) !important;
  }
  .faq-category-nav {
    gap: 5px;
  }
  .detail .faq-item {
    margin: 0;
  }
  .faq-question,
  .faq-single-search-section,
  .related-faqs,
  .faq-vote-section {
    padding: 4%;
  }
  .faq-answer,
  .related-faqs,
  .faq-vote-section {
    margin: 4%;
  }
  .faq-container.category_p {
    padding: 0%;
  }
  .faq-nav a.button {
    padding: 10px 1px;
    width: 100%;
    display: inline-block;
  }
  .faq-category-btn {
    padding: 5px 15px;
  }
  .faq-header h2 {
    font-size: 2.4rem;
  }
  .faq-search-submit,
  .sidebar-search-btn,
  .faq-search-box {
    padding: 10px 15px;
    white-space: nowrap;
  }
  .faq-single-search-form .faq-search-box,
  .faq-single-search-form .faq-search-submit {
    padding: 7px 12px;
  }
  .sidebar-search-box {
    padding: 7px;
  }
  .faq-main-layout {
    flex-direction: column;
    align-items: center;
  }
  .faq-container {
    padding: 2%;
  }
  .faq-sidebar,
  .sidebar-section {
    padding: 4%;
    width: 100%;
  }
  article {
    padding: 2% 0%;
  }
  .search-option,
  .search-scope {
    align-items: baseline;
    gap: 5px;
  }
  .sidebar-search-wrapper .sidebar-search-box {
    width: 10em;
  }
}/*# sourceMappingURL=faq.css.map */