/* 先生の特徴の表（条件で探す）とスマホの下のボタンメニュー。tools/teacher_finder.py が入れる（2026-11-26 設計 Fable 5.2・実装 Opus 5.5） */
.tf, .tf-fbar, .tf-toc, .tf-tools {
  --tf-ink: #2a2233;
  --tf-sub: #6b6176;
  --tf-line: #e6deef;
  --tf-bg: #fff;
  --tf-soft: #f7f3fb;
  --tf-deep: #2c0751;
  --tf-main: #5b1f8f;
  --tf-gold: #fbe7ad;
  --tf-gold-ink: #6b4a00;
  --tf-go: #d6335f;
  --tf-go-dark: #b52149;
  --tf-ok: #1f7a4d;
}
.tf-ic { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }

/* ---- 枠と見出し ---- */
.post_content .tf { margin: 2em 0 2.5em; color: var(--tf-ink); font-size: 14px; line-height: 1.6; }
.post_content .tf ul { list-style: none; margin: 0; padding: 0; }
.post_content .tf li { margin: 0; padding: 0; }
.post_content .tf li::before { content: none; }
.post_content .tf p { margin: 0; }
.post_content .tf .tf-label {
  display: flex; align-items: center; gap: .5em; margin: 0 0 .8em; padding: .7em 1em;
  background: linear-gradient(90deg, var(--tf-deep), var(--tf-main)); color: #fff;
  font-size: 18px; font-weight: 700; border-radius: 8px;
}
.post_content .tf .tf-label .tf-ic { color: var(--tf-gold); }
.post_content .tf .tf-label small { font-size: 13px; font-weight: 400; opacity: .85; }

.post_content .tf .tf-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: .8em; }
.post_content .tf .tf-stats li {
  background: var(--tf-soft); border: 1px solid var(--tf-line); border-radius: 8px;
  padding: .55em .4em; text-align: center;
}
.post_content .tf .tf-stats b { display: block; color: var(--tf-deep); font-size: 20px; line-height: 1.25; }
.post_content .tf .tf-stats b small { font-size: 12px; margin-left: 1px; }
.post_content .tf .tf-stats span { display: block; color: var(--tf-sub); font-size: 12px; }
.post_content .tf .tf-lead { color: var(--tf-sub); font-size: 13px; margin-bottom: 1em; }
.post_content .tf .tf-lead b { color: var(--tf-ink); }

/* ---- 条件で探す ---- */
.tf-tools { background: var(--tf-soft); border: 1px solid var(--tf-line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.tf-tools[hidden], .tf-bar-top[hidden] { display: none !important; }
.tf-tools .tf-sheet-head, .tf-tools .tf-sheet-foot { display: none; }
.tf-group { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; }
.tf-group + .tf-group { border-top: 1px dashed var(--tf-line); }
.post_content .tf .tf-gl, .tf-gl {
  flex: 0 0 7.2em; display: flex; align-items: center; gap: .35em; margin: 0; padding-top: 7px;
  font-size: 13px; font-weight: 700; color: var(--tf-deep); line-height: 1.3;
}
.tf-gl { flex-wrap: wrap; }
.tf-gl small { flex-basis: 100%; padding-left: 1.45em; font-weight: 400; font-size: 11px; color: var(--tf-sub); }
.tf-gl .tf-ic { color: var(--tf-main); }
.tf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-chip, .tf-sort {
  appearance: none; display: inline-flex; align-items: center; gap: .35em; min-height: 36px; padding: 0 .85em;
  border: 1px solid #cdbfe0; border-radius: 999px; background: #fff; color: var(--tf-ink);
  font: inherit; font-size: 13px; line-height: 1; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.tf-chip:hover, .tf-sort:hover { border-color: var(--tf-main); }
.tf-chip[aria-pressed="true"], .tf-sort[aria-pressed="true"] { background: var(--tf-main); border-color: var(--tf-main); color: #fff; }
.tf-n { font-size: 11px; color: var(--tf-sub); background: var(--tf-soft); border-radius: 999px; padding: 2px 6px; }
.tf-chip[aria-pressed="true"] .tf-n { background: rgba(255,255,255,.2); color: #fff; }
.tf-chip[aria-disabled="true"] { opacity: .45; }
.tf-clear, .tf-apply, .tf-open, .tf-morebtn, .tf-x {
  appearance: none; font: inherit; cursor: pointer; border-radius: 8px;
}

.tf-bar-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.tf-bar-top .tf-open { display: none; }
.post_content .tf .tf-result { font-size: 13px; color: var(--tf-sub); }
.tf-result b { color: var(--tf-deep); font-size: 16px; }
.tf-active { display: flex; flex-wrap: wrap; gap: 6px; }
.tf-active button {
  appearance: none; font: inherit; font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: .3em;
  min-height: 32px; padding: 0 .7em; border-radius: 999px; border: 1px solid var(--tf-main); background: #fff; color: var(--tf-main);
}
.tf-active button::after { content: "×"; font-size: 14px; }
.tf-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--tf-go); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.tf-badge[hidden] { display: none; }

/* ---- 表 ---- */
.tf-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.post_content .tf .tf-table {
  width: 100%; min-width: 0; margin: 0; border-collapse: separate; border-spacing: 0; table-layout: auto;
  border: 1px solid var(--tf-line); border-radius: 10px; overflow: hidden; background: var(--tf-bg); font-size: 13px;
}
.post_content .tf .tf-table th, .post_content .tf .tf-table td {
  padding: 10px 8px; border: 0; border-bottom: 1px solid var(--tf-line); background: transparent;
  text-align: left; vertical-align: middle; color: var(--tf-ink); font-weight: 400; line-height: 1.5; word-break: normal;
}
.post_content .tf .tf-table thead th {
  background: var(--tf-deep); color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; padding: 8px;
}
.post_content .tf .tf-table tbody tr:nth-child(even) > * { background: #fcfaff; }
.post_content .tf .tf-table tbody tr:last-child > * { border-bottom: 0; }
.tf-row[hidden] { display: none !important; }

.post_content .tf .tf-who { min-width: 12em; }
.post_content .tf .tf-c-ev { min-width: 15.5em; }
.post_content .tf .tf-c-tags { min-width: 8em; }
.tf-who { display: table-cell; }
.tf-who > * { vertical-align: middle; }
.tf-no {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 50%;
  background: var(--tf-gold); color: var(--tf-gold-ink); font-weight: 700; font-size: 14px; line-height: 1;
}
.tf-no small { font-size: 9px; }
.tf-row[data-rank="1"] .tf-no, .tf-row[data-rank="2"] .tf-no, .tf-row[data-rank="3"] .tf-no { background: var(--tf-main); color: var(--tf-gold); }
.tf-photo { display: inline-block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 8px; border: 2px solid var(--tf-gold); }
.tf-namebox { display: inline-flex; flex-direction: column; max-width: 8.5em; }
.post_content .tf a.tf-name { color: var(--tf-deep); font-weight: 700; font-size: 15px; text-decoration: none; line-height: 1.35; }
.post_content .tf a.tf-name:hover { text-decoration: underline; }
.tf-name small { font-size: 11px; font-weight: 400; margin-left: 1px; }
.tf-yomi { font-size: 11px; font-weight: 400; color: var(--tf-sub); }
.tf-catch { font-size: 11px; color: var(--tf-sub); line-height: 1.4; margin-top: 2px; }

.tf-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tf-tag { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 12px; line-height: 1.5; white-space: nowrap; }
.tf-tag--g { background: #fde6ee; color: #9b1b45; }
.tf-tag--m { background: #fff; color: var(--tf-main); box-shadow: inset 0 0 0 1px #cdbfe0; }
.tf-style { display: block; font-weight: 700; color: var(--tf-deep); white-space: nowrap; }
.tf-resv { display: inline-block; margin-top: 3px; font-size: 11px; color: var(--tf-sub); white-space: nowrap; }
.tf-resv--easy { color: var(--tf-ok); }
.tf-resv--easy::before { content: "● "; }
.tf-resv--hot::before, .tf-resv--popular::before { content: "▲ "; color: #c77700; }
.tf-price { white-space: nowrap; }
.tf-price b { font-size: 18px; color: var(--tf-deep); }

.tf-evs { display: grid; gap: 3px; }
.tf-ev { display: flex; gap: .35em; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--tf-ink); }
.tf-ev .tf-ic { color: var(--tf-sub); margin-top: 2px; }
.tf-ev b { color: var(--tf-deep); }
.tf-ev--report { color: var(--tf-ok); }
.tf-ev--report .tf-ic { color: var(--tf-ok); }
.tf-ev--report b { color: var(--tf-ok); }
.post_content .tf .tf-ev a { color: var(--tf-main); text-decoration: underline; white-space: nowrap; }

.tf-c-go { text-align: center; }
.post_content .tf .tf-go, .post_content .tf a.tf-go {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  background: var(--tf-go); color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: 0 2px 0 var(--tf-go-dark);
}
.post_content .tf .tf-go:hover { background: var(--tf-go-dark); }
.post_content .tf a.tf-detail { display: block; margin-top: 6px; font-size: 12px; color: var(--tf-main); }

.post_content .tf .tf-empty { padding: 1.5em 1em; text-align: center; background: var(--tf-soft); border-radius: 10px; margin-top: 8px; }
.tf-empty[hidden], .tf-morewrap[hidden] { display: none !important; }
.tf-empty .tf-clear { margin-left: .5em; }
.tf-clear { border: 1px solid var(--tf-main); background: #fff; color: var(--tf-main); min-height: 40px; padding: 0 1em; font-size: 13px; }
.post_content .tf .tf-morewrap { text-align: center; margin-top: 10px; }
.tf-morebtn { min-height: 44px; padding: 0 2em; border: 1px solid var(--tf-main); background: #fff; color: var(--tf-main); font-size: 14px; font-weight: 700; border-radius: 999px; }
.tf-morebtn::after { content: " ▾"; }

.post_content .tf .tf-src { margin-top: 12px; font-size: 12px; color: var(--tf-sub); border: 1px solid var(--tf-line); border-radius: 8px; padding: 0 12px; }
.tf-src summary { cursor: pointer; padding: 10px 0; font-weight: 700; color: var(--tf-deep); }
.post_content .tf .tf-src ul { padding: 0 0 10px; list-style: disc; padding-left: 1.2em; }
.post_content .tf .tf-src li { margin: .3em 0; }
.post_content .tf .tf-src a { color: var(--tf-main); }

.tf :focus-visible, .tf-fbar :focus-visible, .tf-tools :focus-visible, .tf-toc :focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }

/* ---- スマホ：1人1枚のカード・条件は下からのシート ---- */
@media (max-width: 767px) {
  .post_content .tf .tf-stats { grid-template-columns: repeat(2, 1fr); }
  .tf-scroll { overflow: visible; }
  .post_content .tf .tf-table, .post_content .tf .tf-table tbody { display: block; border: 0; background: transparent; overflow: visible; }
  .post_content .tf .tf-table thead { display: none; }
  .post_content .tf .tf-table tr.tf-row {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who price" "tags tags" "type type" "ev ev" "go go";
    margin-bottom: 10px; border: 1px solid var(--tf-line); border-radius: 12px; background: #fff; padding: 12px;
    box-shadow: 0 1px 3px rgba(44,7,81,.06);
  }
  .post_content .tf .tf-table tbody tr:nth-child(even) > * { background: transparent; }
  .post_content .tf .tf-table tr.tf-row > * { display: block; border: 0; padding: 0; background: transparent; }
  .post_content .tf .tf-table tr.tf-row > .tf-who { grid-area: who; display: flex; align-items: center; min-width: 0; }
  .tf-namebox { max-width: none; }
  .post_content .tf .tf-c-price { grid-area: price; text-align: right; align-self: center; }
  .post_content .tf .tf-table tr.tf-row > .tf-c-tags { min-width: 0; grid-area: tags; margin-top: 10px; }
  .post_content .tf .tf-table tr.tf-row > .tf-c-type { grid-area: type; margin-top: 8px; display: flex; align-items: baseline; gap: .8em; }
  .post_content .tf .tf-table tr.tf-row > .tf-c-ev { min-width: 0; grid-area: ev; margin-top: 8px; padding: 8px 10px; background: var(--tf-soft); border-radius: 8px; }
  .post_content .tf .tf-table tr.tf-row > .tf-c-go { grid-area: go; margin-top: 10px; display: flex; gap: 8px; align-items: center; }
  .post_content .tf .tf-c-go .tf-go { flex: 1; min-height: 44px; }
  .post_content .tf a.tf-detail { margin: 0; padding: 0 .8em; min-height: 44px; display: inline-flex; align-items: center; border: 1px solid var(--tf-line); border-radius: 999px; }
  .post_content .tf .tf-c-type::before, .post_content .tf .tf-c-ev::before { content: none; }
  .tf-price b { font-size: 20px; }
  .tf-price::before { content: "1分 "; font-size: 11px; color: var(--tf-sub); }

  .tf-bar-top { position: sticky; top: 0; z-index: 5; background: #fff; padding: 6px 0; margin-bottom: 6px; }
  .tf-bar-top .tf-open {
    display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 1em;
    border: 0; background: var(--tf-main); color: #fff; font-size: 14px; font-weight: 700; border-radius: 999px;
  }
  .tf-tools { display: none; }
  html.tf-sheet-tools .tf-tools {
    display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; margin: 0;
    max-height: 82vh; padding: 0; border: 0; border-radius: 16px 16px 0 0; background: #fff;
    box-shadow: 0 -6px 24px rgba(0,0,0,.18);
  }
  html.tf-sheet-tools .tf-tools .tf-sheet-head, html.tf-sheet-tools .tf-tools .tf-sheet-foot { display: flex; }
  .tf-tools-body { overflow: auto; padding: 0 14px; -webkit-overflow-scrolling: touch; }
  .tf-group { flex-direction: column; gap: 6px; padding: 10px 0; }
  .post_content .tf .tf-gl, .tf-gl { flex: none; padding-top: 0; }
  .tf-chip, .tf-sort { min-height: 40px; }
}

/* ---- 下からのシート（条件・目次）の頭と足 ---- */
.tf-sheet-head { align-items: center; justify-content: space-between; padding: 12px 14px 8px; border-bottom: 1px solid var(--tf-line); }
.tf-sheet-ttl { margin: 0; display: flex; align-items: center; gap: .4em; font-weight: 700; color: var(--tf-deep); font-size: 16px; }
.tf-x { border: 0; background: var(--tf-soft); color: var(--tf-ink); width: 40px; height: 40px; border-radius: 50%; font-size: 22px; line-height: 1; }
.tf-sheet-foot { gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--tf-line); }
.tf-sheet-foot .tf-clear { flex: 0 0 auto; min-height: 48px; }
.tf-apply { flex: 1; min-height: 48px; border: 0; background: var(--tf-main); color: #fff; font-size: 15px; font-weight: 700; }

.tf-toc { display: none; }
html.tf-sheet-toc .tf-toc {
  display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  max-height: 82vh; background: #fff; border-radius: 16px 16px 0 0; box-shadow: 0 -6px 24px rgba(0,0,0,.18); color: var(--tf-ink);
}
.tf-toc .tf-sheet-head { display: flex; }
.tf-toc-body { overflow: auto; padding: 6px 14px calc(14px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }
.tf-toc-body ol { list-style: none; margin: 0; padding: 0; counter-reset: tftoc; }
.tf-toc-body > ol > li { counter-increment: tftoc; border-bottom: 1px solid var(--tf-line); }
.tf-toc-body .tf-toc-row { display: flex; align-items: center; }
.tf-toc-body a { flex: 1; display: block; padding: 12px 4px; color: var(--tf-ink); text-decoration: none; font-size: 14px; line-height: 1.45; }
.tf-toc-body > ol > li > .tf-toc-row > a::before { content: counter(tftoc) ". "; color: var(--tf-main); font-weight: 700; }
.tf-toc-body ol ol { padding: 0 0 8px 1.2em; }
.tf-toc-body ol ol a { padding: 8px 4px; font-size: 13px; color: var(--tf-sub); }
.tf-toc-body ol ol[hidden] { display: none; }
.tf-toc-tg { appearance: none; border: 0; background: var(--tf-soft); color: var(--tf-main); width: 40px; height: 40px; border-radius: 8px; font-size: 14px; cursor: pointer; flex: none; }
.tf-toc-tg[aria-expanded="true"] { transform: rotate(180deg); }

.tf-scrim { position: fixed; inset: 0; z-index: 95; background: rgba(20,8,35,.45); }
.tf-scrim[hidden] { display: none; }
html.tf-sheet-open { overflow: hidden; }

/* ---- 下のボタンメニュー（959px 以下） ---- */
.tf-fbar { display: none; }
@media (max-width: 959px) {
  .tf-fbar:not([hidden]) {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 0 0 env(safe-area-inset-bottom); background: rgba(255,255,255,.97); border-top: 1px solid var(--tf-line);
    box-shadow: 0 -2px 12px rgba(44,7,81,.10); transform: translateY(110%); transition: transform .25s ease;
  }
  html.tf-has-bar .tf-fbar { transform: none; }
  html[data-spmenu="opened"] .tf-fbar, html.tf-sheet-open .tf-fbar { transform: translateY(110%); }
  html.tf-has-bar .p-fixBtnWrap { bottom: calc(68px + env(safe-area-inset-bottom)); }
  html.tf-has-bar .l-footer { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}
.tf-fb {
  appearance: none; position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 56px; padding: 4px 2px; border: 0; background: transparent; color: var(--tf-deep);
  font: inherit; font-size: 11px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer;
}
.tf-fb .tf-ic { width: 22px; height: 22px; color: var(--tf-main); }
.tf-fb .tf-badge { position: absolute; top: 5px; left: calc(50% + 6px); }
a.tf-fb--go, .tf-fb--go { margin: 6px; min-height: 44px; border-radius: 10px; background: var(--tf-go); color: #fff; box-shadow: 0 2px 0 var(--tf-go-dark); }
.tf-fb--go .tf-ic { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .tf-fbar, .tf-chip, .tf-sort { transition: none !important; }
}
@media print {
  .tf-fbar, .tf-toc, .tf-scrim, .tf-tools, .tf-bar-top { display: none !important; }
}

/* ---- 口コミの声（全件）の列・並べ替えの選択（2026-11-26） ---- */
.post_content .tf .tf-c-voice { min-width: 11em; }
.post_content .tf .tf-vchips { display: flex; flex-wrap: wrap; gap: 4px; }
.post_content .tf .tf-vchips li { display: inline-flex; align-items: baseline; gap: 3px; padding: 2px 8px; border-radius: 999px; background: var(--tf-soft); font-size: 12px; white-space: nowrap; }
.tf-vchips b { color: var(--tf-deep); font-size: 13px; }
.post_content .tf .tf-vchips li.is-more { background: var(--tf-main); color: #fff; }
.tf-vchips li.is-more b { color: var(--tf-gold); }
.tf-vchips li span { font-size: 10px; padding: 0 4px; border-radius: 3px; background: var(--tf-gold); color: var(--tf-deep); font-weight: 700; }
.tf-vsub, .tf-vnone { display: block; margin-top: 4px; font-size: 11px; color: var(--tf-sub); }
.tf-sortsel select {
  min-height: 36px; padding: 0 2em 0 .9em; border: 1px solid #cdbfe0; border-radius: 999px; background: #fff; color: var(--tf-ink);
  font: inherit; font-size: 13px; cursor: pointer;
}
.tf-sortsel select.is-on { background: var(--tf-main); border-color: var(--tf-main); color: #fff; }
.tf-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.post_content .tf .tf-c-go { text-align: center; }
.post_content .tf a.tf-detail {
  display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 14px; margin: 0; border-radius: 999px;
  background: #fff; border: 2px solid var(--tf-main); color: var(--tf-main); font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.post_content .tf a.tf-detail:hover { background: var(--tf-main); color: #fff; }
@media (max-width: 767px) {
  .post_content .tf .tf-table tr.tf-row { grid-template-areas: "who price" "tags tags" "type type" "voice voice" "ev ev" "go go"; }
  .post_content .tf .tf-table tr.tf-row > .tf-c-voice { grid-area: voice; margin-top: 8px; min-width: 0; }
  .post_content .tf .tf-table tr.tf-row > .tf-c-go .tf-detail { flex: 1; min-height: 44px; }
  .tf-sortsel { flex-basis: 100%; }
  .tf-sortsel select { width: 100%; min-height: 40px; }
}

/* ---- 列を5つに（タイプと料金を1列・PC は「くわしく」を名前の下へ。2026-11-26） ---- */
.post_content .tf .tf-c-type .tf-price { display: block; margin-bottom: 2px; }
.post_content .tf a.tf-detail--pc { display: none; }
@media (min-width: 768px) {
  .post_content .tf .tf-table thead th:last-child, .post_content .tf .tf-table td.tf-c-go { display: none; }
  .post_content .tf a.tf-detail--pc { display: inline-flex; min-height: 30px; padding: 0 12px; margin-top: 6px; font-size: 12px; border-width: 1.5px; align-self: flex-start; }
  .post_content .tf .tf-who { min-width: 0; width: 13.5em; }
  .post_content .tf .tf-c-tags { min-width: 0; width: 8.5em; }
  .post_content .tf .tf-c-type { width: 8em; }
  .post_content .tf .tf-c-voice { min-width: 0; width: 11em; }
  .post_content .tf .tf-c-ev { min-width: 0; }
  .tf-namebox { max-width: 7.5em; }
}
@media (max-width: 767px) {
  .post_content .tf .tf-table tr.tf-row { grid-template-columns: 1fr; grid-template-areas: "who" "tags" "type" "voice" "ev" "go"; }
  .post_content .tf .tf-table tr.tf-row > .tf-c-type .tf-price { display: inline-block; margin: 0 .6em 0 0; }
}

/* ==== 比較表（1人1行・項目ごとの列。横にスクロール・先生の列は固定。2026-11-26） ==== */
.post_content .tf .tf-scrollhint { margin: 0 0 4px; font-size: 11px; color: var(--tf-sub); text-align: right; }
.post_content .tf .tf-scroll, .post_content .tf div.tf-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--tf-line); border-radius: 10px; background: #fff; }
.post_content .tf .tf-scroll:focus-visible { outline: 3px solid #f0b400; outline-offset: 2px; }
.post_content .tf .tf-ctable { width: max-content; min-width: 100%; margin: 0; border-collapse: separate; border-spacing: 0; font-size: 12px; line-height: 1.45; background: #fff; }
.post_content .tf .tf-ctable th, .post_content .tf .tf-ctable td {
  padding: 8px 10px; border: 0; border-right: 1px solid var(--tf-line); border-bottom: 1px solid var(--tf-line);
  background: #fff; color: var(--tf-ink); text-align: left; vertical-align: middle; font-weight: 400;
}
.post_content .tf .tf-ctable thead th {
  position: sticky; top: 0; z-index: 2; background: var(--tf-deep); color: #fff; font-size: 11px; font-weight: 700; white-space: nowrap; text-align: center;
  border-right-color: rgba(255,255,255,.15);
}
.post_content .tf .tf-ctable tbody tr:nth-child(even) > * { background: #fbf9fd; }
.post_content .tf .tf-ctable tr > *:last-child { border-right: 0; }
.post_content .tf .tf-ctable tbody tr:last-child > * { border-bottom: 0; }
/* 先生の列は左に固定 */
.post_content .tf .tf-ctable .tf-who, .post_content .tf .tf-ctable thead th:first-child {
  position: sticky; left: 0; z-index: 1; min-width: 0; width: auto; white-space: nowrap; box-shadow: 2px 0 4px rgba(44,7,81,.08);
}
.post_content .tf .tf-ctable thead th:first-child { z-index: 3; }
.post_content .tf .tf-ctable .tf-who { display: table-cell; }
.post_content .tf .tf-ctable .tf-who > * { vertical-align: middle; }
.tf-ctable .tf-no { width: 24px; height: 24px; margin-right: 4px; font-size: 12px; }
.tf-ctable .tf-photo { width: 40px; height: 40px; margin-right: 6px; border-width: 2px; }
.post_content .tf .tf-ctable a.tf-name { font-size: 14px; font-weight: 700; color: var(--tf-deep); text-decoration: none; }
.tf-ctable .tf-name small { font-size: 10px; font-weight: 400; }
.post_content .tf .tf-ctable .tf-c-price, .post_content .tf .tf-ctable .tf-c-rev, .post_content .tf .tf-ctable .tf-c-exp { text-align: right; white-space: nowrap; }
.tf-ctable .tf-c-price b { font-size: 16px; color: var(--tf-deep); }
.tf-ctable .tf-c-rev b, .tf-ctable .tf-c-exp b { font-size: 14px; color: var(--tf-deep); }
.post_content .tf .tf-ctable .tf-c-type { white-space: nowrap; }
.tf-ctable .tf-style { display: block; font-weight: 700; color: var(--tf-deep); }
.tf-ctable .tf-resv { display: block; margin: 2px 0 0; }
.post_content .tf .tf-ctable .tf-c-g, .post_content .tf .tf-ctable .tf-c-m { min-width: 7.5em; max-width: 10em; }
.tf-ctable .tf-tags { gap: 3px; }
.tf-ctable .tf-tag { font-size: 11px; padding: 1px 6px; }
.post_content .tf .tf-ctable .tf-c-voice { min-width: 10.5em; }
.post_content .tf .tf-vlist { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.post_content .tf .tf-vlist li { display: grid; grid-template-columns: 1fr auto auto; gap: 4px; align-items: baseline; margin: 0; padding: 0; white-space: nowrap; }
.post_content .tf .tf-vlist li::before { content: none; }
.tf-vlist b { color: var(--tf-deep); font-size: 13px; }
.tf-vlist li.is-more span, .tf-vlist li.is-more b { color: var(--tf-main); font-weight: 700; }
.tf-vlist i { font-style: normal; font-size: 10px; padding: 0 4px; border-radius: 3px; background: var(--tf-main); color: #fff; font-weight: 700; }
.post_content .tf .tf-ctable .tf-c-rep { white-space: nowrap; }
.tf-ctable .tf-ok { display: block; color: var(--tf-ok); font-weight: 700; }
.tf-ctable .tf-c-rep b { color: var(--tf-deep); font-size: 13px; }
.post_content .tf a.tf-replink { display: block; margin-top: 2px; color: var(--tf-main); font-size: 11px; }
.tf-ctable .tf-sub { display: block; font-size: 10px; color: var(--tf-sub); white-space: nowrap; }
.tf-ctable .tf-na { color: #b9b0c4; }
.post_content .tf .tf-ctable td.tf-c-go { display: table-cell !important; text-align: center; }
.post_content .tf .tf-ctable a.tf-detail { display: inline-flex; min-height: 32px; padding: 0 12px; font-size: 12px; border-width: 1.5px; margin: 0; }
.post_content .tf .tf-ctable thead th:last-child { display: table-cell !important; }
@media (max-width: 767px) {
  .post_content .tf .tf-scroll, .post_content .tf div.tf-scroll { overflow-x: auto; }
  .post_content .tf .tf-ctable { font-size: 11.5px; }
  .tf-ctable .tf-photo { width: 32px; height: 32px; }
  .post_content .tf .tf-ctable a.tf-name { font-size: 13px; }
}

/* ==== 条件と表を1つの枠に・PC の情報量を整理（2026-11-26 平良さん） ==== */
/* 上の数字は1行の帯に */
.post_content .tf .tf-stats { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 6px; border: 1px solid var(--tf-line); border-radius: 10px; overflow: hidden; }
.post_content .tf .tf-stats li { flex: 1 1 0; display: flex; align-items: baseline; justify-content: center; gap: 6px; padding: 8px 6px; border: 0; border-radius: 0; background: #fff; }
.post_content .tf .tf-stats li + li { border-left: 1px solid var(--tf-line); }
.post_content .tf .tf-stats li span { font-size: 11px; color: var(--tf-sub); white-space: nowrap; }
.post_content .tf .tf-stats li b { display: inline; font-size: 15px; white-space: nowrap; }
.post_content .tf .tf-stats li b small { font-size: 11px; }
.post_content .tf .tf-lead { margin: 0 0 12px; font-size: 12px; }

/* 枠 */
.post_content .tf .tf-panel { border: 1px solid var(--tf-line); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(44,7,81,.06); }
.post_content .tf .tf-panel .tf-tools { margin: 0; border: 0; border-bottom: 1px solid var(--tf-line); border-radius: 0; padding: 10px 14px 8px; background: var(--tf-soft); }
.post_content .tf .tf-panel .tf-bar-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0; padding: 8px 14px; border-bottom: 1px solid var(--tf-line); background: #fff; }
.post_content .tf .tf-panel .tf-result { margin: 0; }
.post_content .tf .tf-panel .tf-active { flex: 1; }
.post_content .tf .tf-panel .tf-scrollhint { display: none; }
.post_content .tf .tf-panel .tf-scroll, .post_content .tf .tf-panel div.tf-scroll { border: 0; border-radius: 0; }
.post_content .tf .tf-panel .tf-empty { margin: 0; border-radius: 0; }
.post_content .tf .tf-panel .tf-morewrap { margin: 0; padding: 10px; border-top: 1px solid var(--tf-line); }

/* 条件：小さく・1行ずつ */
.post_content .tf .tf-panel .tf-group { padding: 4px 0; gap: 8px; align-items: center; }
.post_content .tf .tf-panel .tf-group + .tf-group { border-top: 0; }
.post_content .tf .tf-panel .tf-gl { flex: 0 0 7.5em; padding: 0; font-size: 12px; }
.post_content .tf .tf-panel .tf-chips { gap: 4px; }
.post_content .tf .tf-panel .tf-chip { min-height: 28px; padding: 0 .7em; font-size: 12px; }
.post_content .tf .tf-panel .tf-n { font-size: 10px; padding: 1px 5px; }
.tf-extra { display: none; }
.tf-extra.is-open { display: block; }
.tf-extra-btn {
  appearance: none; margin: 4px 0 2px calc(7.5em + 8px); padding: 0; border: 0; background: none; color: var(--tf-main);
  font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.tf-extra-btn::after { content: " ▾"; }
.tf-extra-btn[aria-expanded="true"]::after { content: " ▴"; }

/* 並べ替え（結果の行の右） */
.tf-sortsel { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.tf-sortsel-l { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--tf-deep); white-space: nowrap; }
.post_content .tf .tf-sortsel select { min-height: 32px; font-size: 12px; max-width: 16em; }

/* 表：6列 */
.post_content .tf .tf-ctable { width: 100%; min-width: 760px; }
.post_content .tf .tf-ctable .tf-who { white-space: nowrap; }
.tf-whotext { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 3px; vertical-align: middle; }
.post_content .tf .tf-ctable a.tf-detail { min-height: 24px; padding: 0 10px; font-size: 11px; }
.post_content .tf .tf-ctable .tf-c-type { white-space: nowrap; }
.tf-ctable .tf-c-type .tf-price { display: block; margin: 0 0 1px; }
.tf-ctable .tf-c-type .tf-price b { font-size: 16px; color: var(--tf-deep); }
.post_content .tf .tf-ctable .tf-c-g { min-width: 0; max-width: 9.5em; }
.post_content .tf .tf-ctable .tf-c-rev { text-align: left; }
.tf-ctable .tf-c-rev b { font-size: 14px; }
.tf-ctable .tf-c-rev .tf-sub b { font-size: 12px; }

@media (max-width: 767px) {
  .post_content .tf .tf-stats li { flex: 1 1 50%; flex-direction: column; align-items: center; gap: 0; }
  .post_content .tf .tf-stats li:nth-child(3) { border-left: 0; }
  .post_content .tf .tf-stats li:nth-child(n+3) { border-top: 1px solid var(--tf-line); }
  .post_content .tf .tf-panel .tf-bar-top { position: sticky; top: 0; z-index: 5; }
  .tf-sortsel { flex-basis: 100%; margin-left: 0; }
  .post_content .tf .tf-sortsel select { flex: 1; max-width: none; min-height: 40px; }
  .post_content .tf .tf-panel .tf-scrollhint { display: block; margin: 0; padding: 4px 14px 0; }
  .tf-extra { display: block; }
  .tf-extra-btn { display: none; }
  .post_content .tf .tf-ctable { min-width: 720px; }
}
.tf-ctable .tf-price::before { content: none; }
@media (max-width: 767px) {
  .post_content .tf .tf-ctable { width: max-content; min-width: 100%; }
}
