/* ==========================================
   Pechakucha FAQ — フロントエンドスタイル
   ========================================== */

.pcfaq-wrap {
  max-width: 780px;
  margin: 0 auto;
  font-family: 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
}

/* カテゴリ見出し */
.pcfaq-cat {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #888;
  text-transform: uppercase;
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid #e8e8e8;
}

/* アコーディオン */
.pcfaq-item {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow .15s;
}
.pcfaq-item[open] {
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

/* 質問（サマリー） */
.pcfaq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  background: #fff;
}
.pcfaq-q::-webkit-details-marker { display: none; }
.pcfaq-q::after {
  content: '＋';
  font-size: .85rem;
  color: #aaa;
  flex-shrink: 0;
  transition: transform .2s;
}
.pcfaq-item[open] .pcfaq-q::after {
  content: '－';
}

/* 回答 */
.pcfaq-a {
  padding: .25rem 1.2rem 1.2rem;
  font-size: .9rem;
  line-height: 1.8;
  color: #444;
  border-top: 1px solid #f5f5f5;
  background: #fafafa;
}
.pcfaq-a p { margin: .6rem 0; }
.pcfaq-a img { max-width: 100%; border-radius: 6px; margin-top: .75rem; }
.pcfaq-a video { max-width: 100%; margin-top: .75rem; border-radius: 6px; }
.pcfaq-a ul, .pcfaq-a ol { padding-left: 1.5rem; }
.pcfaq-a a { color: #2563eb; }

/* スマホ対応 */
@media (max-width: 600px) {
  .pcfaq-q { font-size: .88rem; padding: .85rem 1rem; }
  .pcfaq-a { font-size: .85rem; padding: .2rem 1rem 1rem; }
}

/* 検索ボックス */
.pcfaq-search-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}
.pcfaq-search {
  width: 100%;
  padding: .75rem 1rem .75rem 2.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: .95rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color .15s;
}
.pcfaq-search:focus { border-color: #888; }
.pcfaq-search-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .9rem;
  pointer-events: none;
}

/* 問い合わせ誘導ブロック */
.pcfaq-contact-block {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 10px;
  text-align: center;
}
.pcfaq-contact-msg {
  margin: 0 0 .75rem;
  font-size: .9rem;
  color: #666;
}
.pcfaq-contact-btn {
  display: inline-block;
  padding: .75rem 2rem;
  background: #1a1a1a;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  transition: background .15s;
}
.pcfaq-contact-btn:hover { background: #333; }
