/* ========================================================
   /assets/css/ai-detail.css
   ======================================================== */

/* --- h2リセット（概要タイトル） --- */
.ai-summary-card h2 {
  margin: 0;
  padding: 0;
  background: none;
  font-size: inherit;
  color: inherit;
}

.ai-summary-card p {
  margin: 0;
}

/* --- 全体カード --- */
.ai-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 40px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.08);
}

/* 2カラム横並び（通常） */
.ai-main-flex {
  display: flex;
  gap: 5px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 0;
}

@media (max-width: 900px) {
  .ai-main-flex {
    flex-direction: column;
    align-items: center;
  }
}

/* アイキャッチ画像 */
.ai-thumbnail-col {
  width: 100%;
  max-width: 320px;
  min-width: 220px;
  background: none;
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(60,80,120,0.09);
  overflow: hidden;
  text-align: center;
  margin-bottom: 0;
  margin-right: 16px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #f7f7f7;
  box-shadow: none;
}
@media (max-width: 900px) {
  .ai-thumbnail-col {
    max-width: 320px;
    width: 100%;
  }
  .ai-meta-right {
    width: 100%;
    max-width: 600px;
    
    align-items: center;
  }
}

/* ========== レビューを書くボタン ========== */
.ai-open-modal-btn {
  margin: 5px 0 20px 12px; 
  padding: 6px 16px;
  border-radius: 999px;
  font-size: clamp(14px, 2vw, 18px);
  background: #fff;
  color: #333;
  border: 2px solid #333;
  font-weight: bold;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none ;
}
.ai-open-modal-btn:hover {
  background: #333;
  color: #fff;
  text-decoration: none ;
}

/* ==== 概要カード ==== */
.ai-summary-card {
  background: #fffdfa;
  border-radius: 16px;
  padding: 18px 22px 14px 22px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1.5px solid #f3eada;
  margin: 16px 0 0 0;
  min-width: 600px;
  min-height: 90px;
  box-sizing: border-box;
}
.ai-summary-card h2 {
  font-size: 19px;
  font-weight: bold;
}

@media (max-width: 900px) {
  .ai-summary-card {
    min-width: unset;
    width: calc(100vw - 60px); /* 画面幅-40pxで左右20pxずつ余白 */
    max-width: 800px;
    margin: 0 auto;
  }
}

/* ==== 編集ボタン ==== */
.ai-edit-info-btn {
  padding: 2px 12px;
  margin-left: 5px;
  border: none;
  border-radius: 999px;
  background: #f5f6fa;
  color: #4477cc;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(50,80,180,0.07);
  transition: background 0.16s, color 0.16s, box-shadow 0.2s;
  opacity: 0.87;
  display: flex;
  align-items: center;
  gap: 3px;
}
.ai-edit-info-btn .edit-icon {
  font-size: 13px;
  margin-right: 2px;
  vertical-align: middle;
}
.ai-edit-info-btn:hover {
  background: #e4eafe;
  color: #1b3369;
  opacity: 1;
  box-shadow: 0 2px 10px rgba(50,80,180,0.14);
}

/* ======= 基本情報ボックス ======= */
.ai-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0;
}
.ai-meta-right {
  display: flex;
  flex-direction: column;
}
.ai-info-block {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 7px 18px;
  min-width: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ==== ラベル ==== */
.ai-info-label-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: 2px;
  margin-bottom: 0px;
}
.ai-info-label {
  font-size: 13px;
  color: #555;
  font-weight: 600;
  background: none ;
  border-radius: 0 ;
  padding: 0 ;
  margin-bottom: 0;
  margin-right: 0;
  display: inline-block;
  letter-spacing: 0.02em;
}

/* ==== 値部分 ==== */
.ai-info-value,
.ai-info-tag {
  display: inline-block;
  background: #fff;
  color: #222;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-right: 4px;
  padding: 3px 14px 3px 14px;
  box-shadow: 0 1px 2px rgba(60,80,120,0.07);
  letter-spacing: 0.01em;
}
.ai-info-tag-empty,
.ai-info-value-empty {
  background: #fff;
  color: #aaa;
  font-weight: normal;
}








