/* ── 先生プロフィールページ専用CSS ── */

/* ── プロフィールカード ── */
.pf-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 16px;
}
.pf-av img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
  display: block;
}
.pf-name {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.4;
}
.pf-kana {
  font-size: .72rem;
  color: var(--fg);
  margin-bottom: 6px;
}
.pf-rat {
  font-size: .82rem;
  margin-bottom: 6px;
}
.pf-star {
  color: var(--accent);
  font-weight: 700;
}
.pf-cnt {
  color: var(--fg);
  font-size: .75rem;
}
.pf-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.pf-price small {
  font-size: .7rem;
  font-weight: 400;
  color: var(--fg);
}

/* ── タグ ── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.tag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-size: .65rem;
  font-weight: 700;
}

/* ── 占術 ── */
.pf-sp {
  font-size: .8rem;
  color: var(--fg);
  background: var(--hover);
  padding: 10px 14px;
  border-radius: 3px;
  margin-bottom: 16px;
  line-height: 1.7;
}
.pf-sp b {
  display: block;
  font-size: .7rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}

/* ── ボタン ── */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity .13s;
  white-space: nowrap;
  line-height: 1.4;
}
.btn-a {
  background: var(--accent);
  color: var(--bg);
  border: 2px solid var(--accent);
}
.btn-a:hover {
  opacity: .8;
  color: var(--bg);
  text-decoration: none;
}
.btn-d {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-d:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}

/* ── CTAボタン行 ── */
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}

/* ── セクション見出し ── */
.sec-h,
.sec-head {
  font-size: 1.05rem;
  font-weight: 800;
  padding: .5em .8em;
  background: var(--hover);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  margin: 24px 0 14px;
  line-height: 1.4;
}

/* ── 口コミフォーム ── */
.review-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px;
  margin: 20px 0;
}
.form-h {
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 12px;
}
.star-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.star-lbl {
  font-size: .8rem;
  color: var(--fg);
}
.star {
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--border);
  transition: color .1s;
}
.star:hover {
  color: var(--accent);
}
.review-ta {
  width: 100%;
  min-height: 80px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: .82rem;
  resize: vertical;
  background: var(--bg);
  color: var(--fg);
  margin-bottom: 8px;
  display: block;
}
.review-ta:focus {
  outline: none;
  border-color: var(--accent);
}
.submit-note {
  font-size: .7rem;
  color: var(--fg);
  margin-top: 6px;
}

/* ── 投稿済み口コミカード（JSで生成） ── */
.review-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: var(--surface);
}
.rev-stars {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.rev-text {
  font-size: .85rem;
  line-height: 1.75;
  margin-bottom: 6px;
}
.rev-date {
  font-size: .68rem;
  color: var(--fg);
}
.rev-del {
  background: none;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 2px 8px;
  font-size: .65rem;
  cursor: pointer;
  color: var(--fg);
}
.rev-del:hover {
  border-color: #c00;
  color: #c00;
}
.no-review {
  color: var(--fg);
  font-size: .82rem;
  padding: 16px 0;
}

/* ── 自己紹介 ── */
.bio {
  margin: 24px 0;
}
.bio h2 {
  font-size: 1.05rem;
  font-weight: 800;
  padding: .5em .8em;
  background: var(--hover);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  margin-bottom: 12px;
  line-height: 1.4;
}
.bio p {
  font-size: .88rem;
  line-height: 1.85;
  margin-bottom: .9em;
}
.bio ul {
  padding-left: 1.4em;
  margin-bottom: .9em;
}
.bio li {
  font-size: .88rem;
  line-height: 1.75;
  margin-bottom: .3em;
}

/* ── コンテンツ展開セクション ── */
.content-section {
  margin: 24px 0;
}
.content-body-wrap {
  position: relative;
  overflow: hidden;
}
.content-body {
  max-height: 320px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.content-body.open {
  max-height: none;
  overflow: visible;
}
.article {
  font-size: .88rem;
  line-height: 1.85;
}
.article p {
  margin-bottom: .9em;
}
.article img {
  max-width: 100%;
  height: auto;
}
.content-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.content-fade.gone,
.more-wrap.gone {
  display: none;
}
.more-wrap {
  text-align: center;
  padding: 14px 0;
}
.more-btn {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 9px 24px;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .13s;
}
.more-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

/* ── アフィリエイト注意書き ── */
.afn {
  font-size: .68rem;
  color: var(--fg);
  margin-top: 24px;
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ── レスポンシブ ── */
@media(max-width:600px) {
  .pf-card { flex-direction: column; align-items: center; text-align: center }
  .tags { justify-content: center }
  .cta-row { flex-direction: column }
  .btn { width: 100%; display: block }
}

/* ══════════════════════════════════════════
   以下 2026-08-15 追加：占い師一覧ページ
   （/{service}/sensei/ の骨格・カードグリッド）
   ══════════════════════════════════════════ */

/* ── 上部バー・パンくず ── */
.topbar { background: var(--surface); border-bottom: 1px solid var(--border); }
.topbar-inner { max-width: 860px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.breadcrumb { font-size: .7rem; color: #777; display: flex; flex-wrap: wrap; gap: 5px; align-items: center; line-height: 1.6; }
.breadcrumb a { color: #777; text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.cta-sm { margin-left: auto; background: var(--accent); color: var(--bg); font-size: .72rem; font-weight: 700; padding: 6px 12px; border-radius: 3px; text-decoration: none; white-space: nowrap; }
.cta-sm:hover { opacity: .85; color: var(--bg); text-decoration: none; }

/* ── ページ見出し ── */
.page-head { padding: 20px 0 10px; }
.eyebrow { display: inline-block; font-size: .64rem; font-weight: 700; letter-spacing: .14em; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.page-head h1 { font-size: 1.2rem; font-weight: 800; line-height: 1.5; margin: 0 0 6px; }
.page-head p { font-size: .8rem; color: #666; line-height: 1.75; margin: 0; }

/* ── 絞り込みチップ ── */
.filter-wrap { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.filter-inner { max-width: 860px; margin: 0 auto; padding: 12px 20px; }
.filter-lbl { font-size: .7rem; font-weight: 700; color: #777; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--fg); font-size: .72rem; padding: 5px 11px; border-radius: 14px; cursor: pointer; transition: all .13s; line-height: 1.4; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.active { background: var(--accent); border-color: var(--accent); color: var(--bg); font-weight: 700; }
.result-count { font-size: .74rem; color: #777; margin: 16px 0 10px; }
.result-count b { color: var(--fg); font-size: .9rem; }

/* ── 占い師カードグリッド ── */
.teacher-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.t-card { background: var(--surface); border: 1px solid var(--border); border-radius: 4px; padding: 14px; display: flex; flex-direction: column; transition: border-color .13s; }
.t-card:hover { border-color: var(--accent); }
.t-head { display: flex; gap: 10px; margin-bottom: 10px; }
.t-avatar { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--hover); color: var(--accent); font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; justify-content: center; }
.t-meta { min-width: 0; }
.t-name { font-size: .86rem; font-weight: 700; line-height: 1.45; }
.t-name a { color: inherit; text-decoration: none; }
.t-name a:hover { color: var(--accent); }
.t-sub { font-size: .66rem; color: #777; line-height: 1.55; margin-top: 2px; }
.t-stars { font-size: .7rem; margin-top: 3px; }
.t-stars .s { color: var(--accent); }
.t-stars .n { color: #777; }
.t-tags { margin-bottom: 8px; }
.t-tag { display: inline-block; font-size: .62rem; font-weight: 700; border: 1px solid currentColor; border-radius: 2px; padding: 1px 5px; margin: 1px 2px 1px 0; color: #777; }
.t-tag.tag-fukuen { color: #b44; }
.t-tag.tag-twinray { color: #48b; }
.t-tag.tag-furin { color: #855; }
.t-tag.tag-musubi { color: #585; }
.t-tag.tag-kekkon { color: #a83; }
.t-tag.tag-shigoto { color: #876; }
.t-tag.tag-katamoi { color: #d88; }
.t-tag.tag-kimochi { color: #68a; }
.t-tag.tag-kazoku { color: #678; }
.t-tag.tag-rikon { color: #868; }
.t-tag.tag-enkiri { color: #777; }
.t-tag.tag-hikiyose { color: #5a8; }
.t-info { font-size: .72rem; color: #666; line-height: 1.7; margin-bottom: 10px; }
.t-info b { color: var(--fg); }
.t-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
.t-price { font-size: 1rem; font-weight: 800; color: var(--accent); }
.t-price small { font-size: .62rem; font-weight: 700; }
.t-cta { background: var(--accent); color: var(--bg); font-size: .72rem; font-weight: 700; padding: 6px 10px; border-radius: 3px; text-decoration: none; white-space: nowrap; }
.t-cta:hover { opacity: .85; color: var(--bg); text-decoration: none; }
.empty { text-align: center; padding: 40px 0; color: #888; font-size: .82rem; }

/* ── 下部CTAバー ── */
.cta-bar { background: var(--hover); border: 1px solid var(--accent); border-radius: 4px; padding: 16px; margin: 24px 0 40px; text-align: center; }
.cta-bar p { font-size: .8rem; line-height: 1.75; margin: 0 0 10px; }
.btn-primary { display: inline-block; background: var(--accent); color: var(--bg); font-size: .84rem; font-weight: 700; padding: 10px 20px; border-radius: 3px; text-decoration: none; }
.btn-primary:hover { opacity: .85; color: var(--bg); text-decoration: none; }

@media (max-width: 520px) {
  .teacher-grid { grid-template-columns: 1fr; }
  .topbar-inner { padding: 8px 16px; }
  .cta-sm { margin-left: 0; }
}
