/* ========================================================
   ai-review-page.css
   ======================================================== */

/* --------------------------------------------------------
   フルワイド表示解除（AIレビュー単体ページ用）
   -------------------------------------------------------- */
/*
   AIレビュー単体ページをフルワイドで表示するために、
   テーマ側の親要素に付与されている max-width / margin / padding を打ち消す
   必要に応じて.page-id-xxxxの部分をAIレビュー用のクラスに合わせて調整。
*/
/*
.single-ai .post,
.single-ai #content,
.single-ai #contentInner,
.single-ai #wrapper,
.single-ai main {
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}


 /*  
.tab-section .tabs {
  display: flex;
  margin-top: 20px;
}
.tab-section .tab {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: #f4f4f4;
  color: #333;
  margin-right: 4px;
  border-radius: 6px 6px 0 0;
  font-size: 16px;
  outline: none;
  transition: background 0.2s, color 0.2s;
}
.tab-section .tab.active {
  background-color: #3498db;
  color: #fff;
  font-weight: bold;
}
.tab-section .tab:last-child {
  margin-right: 0;
}

.tab-section .tab-content {
  display: none;
  padding: 24px;
  border: 1px solid #ddd;
  border-top: none;
  margin-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
}
.tab-section .tab-content.active {
  display: block;
}
*/

/* --------------------------------------------------------
   タブ切替部分のスタイル
-------------------------------------------------------- */
/*
.ai-tab-section .ai-tabs {
  display: flex;
  margin-top: 20px;
}

.ai-tab-section .ai-tab {
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: #f4f4f4;
  color: #333;
  margin-right: 4px;
  border-radius: 6px 6px 0 0;
  font-size: 16px;
  outline: none;
  transition: background 0.2s, color 0.2s;
}

.ai-tab-section .ai-tab.active {
  background-color: #3498db;
  color: #fff;
  font-weight: bold;
}

.ai-tab-section .ai-tab:last-child {
  margin-right: 0;
}

.ai-tab-section .ai-tab-content {
  display: none;
  padding: 24px;
  border: 1px solid #ddd;
  border-top: none;
  margin-top: 0;
  border-radius: 0 0 10px 10px;
  background: #fff;
}

.ai-tab-section .ai-tab-content.active {
  display: block;
}

/* --------------------------------------------------------
   フッターの下部余白調整
-------------------------------------------------------- */
/*
body.single-ai {
  padding-bottom: 80px;
}
footer {
  margin-top: 60px;
}

/* --------------------------------------------------------
   その他 各種スタイル
-------------------------------------------------------- */
/*
.ai-tab-section .average-rating {
  font-size: 24px;
  color: #f39c12;
  margin-bottom: 12px;
}

.ai-tab-section .open-modal-btn {
  display: inline-block;
  margin-top: 10px;
  color: #3498db;
  text-decoration: underline;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

/* --------------------------------------------------------
   モーダル背景スタイル
-------------------------------------------------------- */
/*
#ai-review-modal, #ai-edit-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* モーダルコンテンツのスタイル */
/*
.modal-content {
  background: #fff;
  padding: 20px;
  position: relative;
  width: 90%;
  max-width: 700px;
  border-radius: 8px;
}

/* 閉じるボタンスタイル */
/*
#close-ai-modal, #close-review-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

/* --------------------------------------------------------
   レスポンシブ調整
-------------------------------------------------------- */
/*
@media (max-width: 900px) {
  .ai-thumbnail img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }
}
