/* 認定講師の一覧・個人ページ */
.lc-page {
  --lc-accent: #e8850c;
  --lc-accent-text: #9a5a0b;
  --lc-tint: #fff4e5;
  --lc-line: #f0e4d4;
  --lc-text: #333;
  --lc-muted: #6b6b6b;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: 72px;
  color: var(--lc-text);
  font-size: 16px;
  line-height: 1.9;
}
.lc-page, .lc-page *, .lc-page *::before, .lc-page *::after { box-sizing: border-box; }
.lc-page :is(h1, h2) { margin: 0; padding: 0; border: none; background: none; }
.lc-page :is(h1, h2)::before, .lc-page :is(h1, h2)::after { content: none; }
.lc-page :is(ul, p) { margin: 0; padding: 0; }
.lc-page ul { list-style: none; }
.lc-page :is(h1, h2) { text-wrap: balance; }
.lc-page p { text-wrap: pretty; }
.lc-page budoux-ja { word-break: keep-all; overflow-wrap: anywhere; }
.lc-nw { white-space: nowrap; }

/* 一覧の見出し */
.lc-hero { padding: 56px 0 44px; text-align: center; }
.lc-accent { display: block; width: 44px; height: 4px; margin: 0 auto 20px; border-radius: 2px; background: var(--lc-accent); }
.lc-hero__title { font-size: 30px; font-weight: 700; line-height: 1.5; }
.lc-hero__lead { margin-top: 14px !important; color: var(--lc-muted); font-size: 15px; }

/* 絞り込み */
.lc-filter { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; margin-bottom: 8px; padding: 24px 28px; border-radius: 14px; background: #fdf3e3; }
.lc-filter[hidden] { display: none; }
.lc-filter__map { text-align: center; }
.jp-map { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }
.jp-region { cursor: pointer; }
.jp-region path { fill: #ecca98; stroke: #fffdf9; stroke-width: 1.1; transition: fill .18s ease, filter .18s ease; }
.jp-region:hover path { filter: brightness(.93) saturate(1.15); }
.jp-region:focus-visible { outline: none; }
.jp-region:focus-visible path { filter: brightness(.93) saturate(1.15); stroke: #b26a00; stroke-width: 1.8; }
.jp-region.is-active path { fill: #c25d00; filter: drop-shadow(0 1px 3px rgba(120, 60, 0, .35)); stroke: #fff; stroke-width: 1.8; }
.jp-inset-box { fill: none; stroke: #e0cfb4; stroke-width: 1; stroke-dasharray: 4 3; }
.lc-filter__caption { min-height: 1.5em; margin-top: 8px !important; color: #7a6c58; font-size: 14px; line-height: 1.5; }
.lc-filter__caption strong { color: var(--lc-accent-text); }
.lc-filter__label { margin-bottom: 8px !important; color: #555; font-size: 14px; font-weight: 700; line-height: 1.5; }
.lc-chips + .lc-filter__label { margin-top: 20px !important; }
.lc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-chip { padding: 9px 14px; border: 1px solid #ddd; border-radius: 999px; background: #fff; color: #555; font: inherit; font-size: 14px; line-height: 1.2; white-space: nowrap; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.lc-chip:hover { border-color: var(--lc-accent); color: var(--lc-accent-text); }
.lc-chip:focus-visible { outline: 2px solid #b26a00; outline-offset: 2px; }
.lc-chip.is-active { border-color: #a04e00; background: #b35900; color: #fff; font-weight: 700; } /* 白い文字と 4.83（旧 #b85f00 は 4.49 で基準未満） */
.lc-filter__help { margin-top: 8px !important; color: #6b6b6b; font-size: 13px; }
.lc-result { min-height: 1.9em; margin: 16px 0 12px !important; color: var(--lc-muted); font-size: 14px; }
.lc-result strong { color: var(--lc-accent-text); font-size: 17px; }

/* 一覧のカード */
.lc-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.lc-card { display: flex; flex: 0 1 320px; flex-direction: column; overflow: hidden; border: 1px solid var(--lc-line); border-radius: 14px; background: #fff; }
.lc-card[hidden] { display: none; }
.lc-card__link { display: block; flex: 1; color: inherit; text-decoration: none; }
.lc-card__link:hover .lc-card__name { color: var(--lc-accent-text); }
.lc-card__link:focus-visible { outline: 3px solid var(--lc-accent); outline-offset: -3px; }
.lc-card__photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; }
.lc-card__body { display: block; padding: 18px 20px 6px; }
.lc-card__name { display: block; font-size: 19px; font-weight: 700; line-height: 1.5; }
.lc-card__rank { display: block; color: var(--lc-accent-text); font-size: 13px; font-weight: 700; }
.lc-card__title { display: block; font-size: 13px; line-height: 1.6; }
.lc-card__area { display: block; color: var(--lc-muted); font-size: 13px; }
.lc-card__lead { display: block; margin-top: 10px; font-size: 14px; line-height: 1.8; }
.lc-card .lc-tags { padding: 8px 20px 20px; }
.lc-empty { padding: 32px 0; color: var(--lc-muted); text-align: center; }

/* 得意分野のタグ */
.lc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-tags li { padding: 2px 12px; border-radius: 999px; background: var(--lc-tint); color: var(--lc-accent-text); font-size: 13px; font-weight: 600; line-height: 1.7; }

/* 個人ページの上部 */
.lc-profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; padding-top: 40px; }
.lc-profile--no-photo { grid-template-columns: minmax(0, 1fr); }
.lc-profile__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 14px; object-fit: cover; object-position: 50% 45%; }
.lc-profile__label { color: var(--lc-accent-text); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.lc-profile__name { margin-top: 2px !important; font-size: 34px; font-weight: 700; line-height: 1.4; }
.lc-profile__title { margin-top: 4px !important; font-size: 15px; font-weight: 600; line-height: 1.6; }
.lc-profile__area { margin-top: 4px !important; color: var(--lc-muted); font-size: 15px; }
.lc-profile .lc-tags { margin-top: 14px; }
.lc-profile__lead { margin-top: 20px !important; font-size: 17px; line-height: 1.9; }

/* SNS・ホームページへのリンク */
.lc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px !important; }
.lc-links a { display: inline-block; padding: 8px 18px; border: 1px solid var(--lc-accent); border-radius: 999px; color: var(--lc-accent-text); font-size: 14px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: background-color .15s ease; }
.lc-links a:hover { background: var(--lc-tint); }

/* 自己紹介 */
.lc-bio { max-width: 720px; margin: 56px auto 0; }
.lc-bio__title { margin-bottom: 18px !important; padding-bottom: 10px !important; border-bottom: 2px solid var(--lc-line) !important; font-size: 21px; font-weight: 700; }
.lc-bio p + p { margin-top: 1.2em; }

.lc-back { margin-top: 48px !important; text-align: center; }
.lc-back a { color: var(--lc-accent-text); font-weight: 600; }

@media (max-width: 760px) {
  .lc-filter { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 20px 16px; }
  .lc-profile { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 20px; }
  .lc-profile__photo img { aspect-ratio: 1 / 1; object-position: 55% 42%; }
  .lc-profile__name { font-size: 28px; }
  .lc-profile__lead { font-size: 16px; }
  .lc-hero { padding: 36px 0 32px; }
  .lc-hero__title { font-size: 26px; }
  .lc-bio { margin-top: 44px; }
  /* 1文ずつ改行し、話のまとまりは大きめの余白で分ける */
  .lc-sentence { display: block; }
  .lc-sentence + .lc-sentence { margin-top: .7em; }
  .lc-bio p { text-wrap: wrap; }
  .lc-card__lead { text-wrap: pretty; }
  .lc-bio p + p { margin-top: 1.9em; }
}

/* スマホでは地図を出さず、チップだけで選ぶ */
@media (max-width: 600px) {
  .lc-filter__map { display: none; }
}
