/*
 * スタッフ紹介（一覧・詳細・店舗詳細のカード。PC・SP共通）。2026-11-26 作り直し。
 * 色・見出し・ボタンはTOP／建物ページの部品（top.css の .top-*）に揃える。
 * 長さは 390px 基準の calc(N * var(--vw-unit))。PC は --vw-unit: 1px。
 */
.stf {
  --stf-navy: #1f303d;
  --stf-band: #374d5e;
  --stf-orange: var(--lim-orange, #e96900);
  --stf-line: #dedede;
  --stf-gray: #f2f2f2;
  --stf-pale: #e5eef6;
  color: #000;
}

/* ---------- 一覧：導入 ---------- */
.stf-intro { padding-bottom: calc(24 * var(--vw-unit)); border-bottom: 1px solid var(--stf-line); }
.stf .stf-lead { padding-left: calc(15 * var(--vw-unit)); border-left: calc(6 * var(--vw-unit)) solid var(--stf-navy); font-size: calc(20 * var(--vw-unit)); font-weight: 700; line-height: 1.6; letter-spacing: .04em; }
.stf .stf-lead-text { margin-top: calc(12 * var(--vw-unit)); color: #222; font-size: calc(14 * var(--vw-unit)); line-height: 1.9; }
.stf-sp-break { display: none; }

/* 事業部で絞り込み（事業部が2つ以上のときだけ表示） */
.stf .stf-filter { display: flex; flex-wrap: wrap; gap: calc(8 * var(--vw-unit)); margin-top: calc(24 * var(--vw-unit)); }
.stf-filter button { min-height: calc(36 * var(--vw-unit)); padding: 0 calc(16 * var(--vw-unit)); border: 1px solid var(--stf-line); border-radius: calc(5 * var(--vw-unit)); background: linear-gradient(#fff 50%, #f4f4f4); color: #000; font-size: calc(13 * var(--vw-unit)); font-weight: 500; }
.stf-filter button.is-active { border-color: var(--stf-band); background: var(--stf-band); color: #fff; font-weight: 700; }

/* ---------- カード（TOPのPEOPLEと同じ並び：写真＋帯 → キャッチ → 氏名） ---------- */
.stf .stf-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(40 * var(--vw-unit)) calc(30 * var(--vw-unit)); margin-top: calc(30 * var(--vw-unit)); }
.stf-card[hidden] { display: none; }
.stf-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.stf-photo { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--stf-gray); }
.stf-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .2s; }
.stf-photo.is-noimage img { padding: 20% 20% 30%; object-fit: contain; }
.lim-site--desktop .stf-card-link:hover .stf-photo img { transform: scale(1.04); filter: brightness(.88); }
.stf-band { position: absolute; inset-inline: 0; bottom: 0; padding: calc(8 * var(--vw-unit)) calc(10 * var(--vw-unit)); background: var(--stf-band); color: #fff; font-size: calc(14 * var(--vw-unit)); font-weight: 700; line-height: 1.2; }
.stf-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: calc(10 * var(--vw-unit)); padding-top: calc(12 * var(--vw-unit)); }
.stf .stf-card-catch { font-size: calc(18 * var(--vw-unit)); font-weight: 700; line-height: 1.6; }
.stf-card-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(4 * var(--vw-unit)) calc(10 * var(--vw-unit)); }
.stf-card-name { display: table; padding: calc(2 * var(--vw-unit)) calc(10 * var(--vw-unit)); background: #000; color: #fff; font-size: calc(14 * var(--vw-unit)); font-weight: 500; line-height: 1.2; letter-spacing: .06em; }
.stf-card-shop { color: #555; font-size: calc(12 * var(--vw-unit)); font-weight: 500; }
.stf-areas { display: flex; flex-wrap: wrap; align-items: center; gap: calc(4 * var(--vw-unit)); }
.stf-areas-label { margin-right: calc(2 * var(--vw-unit)); color: #555; font-size: calc(11 * var(--vw-unit)); font-weight: 700; line-height: 1.6; }
.stf-areas em { padding: calc(1 * var(--vw-unit)) calc(6 * var(--vw-unit)); border-radius: calc(3 * var(--vw-unit)); background: var(--stf-pale); color: var(--stf-navy); font-size: calc(11 * var(--vw-unit)); font-style: normal; line-height: 1.6; }
.stf-more { display: inline-flex; align-items: center; gap: calc(4 * var(--vw-unit)); margin-top: auto; color: var(--stf-orange); font-size: calc(13 * var(--vw-unit)); font-weight: 700; }
.stf-chevron { display: inline-block; flex: none; width: calc(16 * var(--vw-unit)); height: calc(16 * var(--vw-unit)); background: currentColor; -webkit-mask: url("/assets/default/images/components/chevron_right.svg") center / contain no-repeat; mask: url("/assets/default/images/components/chevron_right.svg") center / contain no-repeat; }
.stf.is-compact .stf-list { margin-top: 0; }

.stf .stf-empty { margin-top: calc(24 * var(--vw-unit)); padding: calc(40 * var(--vw-unit)) calc(20 * var(--vw-unit)); background: var(--stf-gray); color: #333; font-size: calc(14 * var(--vw-unit)); line-height: 1.8; text-align: center; }

/* ---------- 詳細：KV ---------- */
.stf-kv-photo { overflow: hidden; background: var(--stf-gray); }
.stf-kv-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.stf .stf-kv-body { position: relative; background: #fff; }
.stf .stf-kv-department { display: table; padding: calc(4 * var(--vw-unit)) calc(12 * var(--vw-unit)); background: var(--stf-band); color: #fff; font-size: calc(14 * var(--vw-unit)); font-weight: 700; line-height: 1.2; }
.stf .stf-kv-catch { margin-top: calc(16 * var(--vw-unit)); font-size: calc(30 * var(--vw-unit)); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.stf .stf-kv-lead { margin-top: calc(16 * var(--vw-unit)); color: #222; font-size: calc(15 * var(--vw-unit)); font-weight: 500; line-height: 1.9; }
.stf .stf-kv-profile { display: grid; gap: calc(6 * var(--vw-unit)); margin-top: calc(24 * var(--vw-unit)); padding-top: calc(18 * var(--vw-unit)); border-top: 1px solid var(--stf-line); }
.stf-kv-profile > div { display: grid; grid-template-columns: calc(84 * var(--vw-unit)) minmax(0, 1fr); align-items: baseline; }
.stf-kv-profile dt { color: var(--stf-orange); font-family: "Special Gothic Expanded One", sans-serif; font-size: calc(11 * var(--vw-unit)); font-weight: 400; letter-spacing: .04em; }
.stf-kv-profile dd { margin: 0; font-size: calc(14 * var(--vw-unit)); font-weight: 500; line-height: 1.6; }
.stf .stf-kv-profile .stf-kv-name { font-size: calc(22 * var(--vw-unit)); font-weight: 700; line-height: 1.4; letter-spacing: .08em; }

/* 目次 */
.stf .stf-toc { margin-top: calc(40 * var(--vw-unit)); padding: calc(20 * var(--vw-unit)) calc(24 * var(--vw-unit)); background: var(--stf-gray); }
.stf .stf-toc-title { font-family: "Special Gothic Expanded One", sans-serif; font-size: calc(16 * var(--vw-unit)); font-weight: 400; line-height: 1.4; }
.stf-toc ol { display: grid; gap: calc(4 * var(--vw-unit)); margin: calc(10 * var(--vw-unit)) 0 0; padding: 0; list-style: none; }
.stf-toc a { display: flex; align-items: baseline; gap: calc(12 * var(--vw-unit)); padding: calc(6 * var(--vw-unit)) 0; color: #000; font-size: calc(14 * var(--vw-unit)); font-weight: 500; line-height: 1.5; }
.lim-site--desktop .stf-toc a:hover { color: var(--stf-orange); }
.stf-toc-number { flex: none; width: calc(24 * var(--vw-unit)); color: var(--stf-orange); font-family: "Special Gothic Expanded One", sans-serif; font-size: calc(13 * var(--vw-unit)); }

/* 本文（リード・章・最後のメッセージ共通） */
.stf-text p { font-size: calc(15 * var(--vw-unit)); font-weight: 500; line-height: 2; }
.stf-text p + p,
.stf-text p + .stf-quote,
.stf-text .stf-quote + p { margin-top: calc(24 * var(--vw-unit)); }
.stf-voice { color: var(--stf-navy); font-weight: 700; }
.stf .stf-quote { margin: 0; padding: calc(16 * var(--vw-unit)) calc(20 * var(--vw-unit)); border-left: calc(4 * var(--vw-unit)) solid var(--stf-orange); background: var(--stf-pale); }
.stf .stf-quote p { font-weight: 700; }
.stf .stf-lead-block { margin-top: calc(50 * var(--vw-unit)); }
.stf [id^="chapter-"] { scroll-margin-top: calc(80 * var(--vw-unit)); }

/* 章 */
.stf .stf-chapter { margin-top: calc(70 * var(--vw-unit)); }
.stf-chapter-head { margin-bottom: calc(24 * var(--vw-unit)); }
.stf .stf-chapter-number { display: flex; flex-wrap: wrap; align-items: baseline; gap: calc(8 * var(--vw-unit)); color: var(--stf-orange); font-family: "Special Gothic Expanded One", sans-serif; font-size: calc(40 * var(--vw-unit)); font-weight: 400; line-height: 1; letter-spacing: calc(-1 * var(--vw-unit)); }
.stf-chapter-number > span { font-size: calc(13 * var(--vw-unit)); letter-spacing: .04em; }
.stf-chapter-number em { margin-left: calc(6 * var(--vw-unit)); padding-left: calc(14 * var(--vw-unit)); border-left: 1px solid var(--stf-line); color: #555; font-family: "Noto Sans JP", sans-serif; font-size: calc(14 * var(--vw-unit)); font-style: normal; font-weight: 700; letter-spacing: .04em; }
.stf .stf-chapter-title { margin-top: calc(14 * var(--vw-unit)); padding-bottom: calc(14 * var(--vw-unit)); border-bottom: 1px solid #000; font-size: calc(22 * var(--vw-unit)); font-weight: 700; line-height: 1.5; }
.stf .stf-chapter-photo { margin: 0 0 calc(24 * var(--vw-unit)); aspect-ratio: 3 / 2; overflow: hidden; background: var(--stf-gray); }
.stf-chapter-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 最後のメッセージ */
.stf .stf-closing { margin-top: calc(70 * var(--vw-unit)); padding: calc(36 * var(--vw-unit)) calc(30 * var(--vw-unit)); background: var(--stf-navy); color: #fff; }
.stf .stf-closing-title { font-size: calc(20 * var(--vw-unit)); font-weight: 700; line-height: 1.5; }
.stf .stf-closing-lead { margin-top: calc(10 * var(--vw-unit)); color: #f6b982; font-size: calc(16 * var(--vw-unit)); font-weight: 700; line-height: 1.6; }
.stf-closing .stf-text { margin-top: calc(20 * var(--vw-unit)); }
.stf-closing .stf-voice { color: #fff; }
.stf .stf-closing-sign { display: flex; flex-direction: column; align-items: flex-end; margin-top: calc(24 * var(--vw-unit)); font-size: calc(18 * var(--vw-unit)); font-weight: 700; line-height: 1.4; letter-spacing: .08em; }
.stf-closing-sign small { font-size: calc(12 * var(--vw-unit)); font-weight: 500; letter-spacing: .04em; }

/* 他のスタッフ・一覧へ戻る */
.stf .stf-others { margin-top: calc(70 * var(--vw-unit)); }
.stf .stf-others-heading { margin-bottom: 0; }
.stf .stf-others-heading h2 { font-size: calc(36 * var(--vw-unit)); }
.stf .stf-others-heading p { font-size: calc(16 * var(--vw-unit)); }
.stf .stf-back { margin-top: calc(50 * var(--vw-unit)); text-align: center; }

/* ---------- 下部の問い合わせ（建物ページの問い合わせ帯と同じ構成） ---------- */
.stf .stf-contact { margin-top: calc(50 * var(--vw-unit)); padding: calc(24 * var(--vw-unit)); border-radius: calc(6 * var(--vw-unit)); background: #fffdde; text-align: center; }
.stf .stf-contact h2 { font-size: calc(18 * var(--vw-unit)); font-weight: 700; line-height: 1.5; }
.stf .stf-contact > p { margin-top: calc(4 * var(--vw-unit)); color: #333; font-size: calc(13 * var(--vw-unit)); }
.stf-contact-phone { display: grid; justify-items: center; margin-top: calc(14 * var(--vw-unit)); }
.stf-contact-phone a { display: inline-flex; align-items: center; gap: calc(6 * var(--vw-unit)); color: #000; font-size: calc(28 * var(--vw-unit)); font-weight: 700; line-height: 1.2; }
.stf-contact-phone small { color: #333; font-size: calc(11 * var(--vw-unit)); }
.stf .stf-contact-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(12 * var(--vw-unit)); margin-top: calc(16 * var(--vw-unit)); }
.stf .stf-contact-buttons.is-single { grid-template-columns: minmax(0, calc(400 * var(--vw-unit))); justify-content: center; }
.stf-contact-buttons .top-contact-button { min-height: calc(54 * var(--vw-unit)); }

/* ---------- PC：会社案内の白い本文枠 ---------- */
.lim-site--desktop .bld-page.cmp-staffs { padding: calc(35 * var(--vw-unit)) calc(40 * var(--vw-unit)) calc(40 * var(--vw-unit)); background: #fff; }
/* 詳細のKV写真は白枠の端まで広げる */
/* 詳細KV：写真があるときは 本文｜写真（4:5）の2列。写真の右下に淡色の面をずらして敷く */
.lim-site--desktop .stf-kv.has-photo { display: grid; grid-template-columns: minmax(0, 1fr) calc(260 * var(--vw-unit)); align-items: start; gap: calc(40 * var(--vw-unit)); }
.lim-site--desktop .stf-kv.has-photo .stf-kv-photo { order: 2; aspect-ratio: 4 / 5; box-shadow: calc(14 * var(--vw-unit)) calc(14 * var(--vw-unit)) 0 var(--stf-pale); }
.lim-site--desktop .stf-kv.has-photo .stf-kv-catch { font-size: calc(26 * var(--vw-unit)); }

/* ---------- SP（外枠の余白は lower-mobile.css の会社案内SPで指定：上25・左右20） ---------- */
.lim-site--mobile .stf-sp-break { display: inline; }
.lim-site--mobile .stf .stf-lead { font-size: calc(18 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-filter { flex-wrap: nowrap; margin-inline: calc(-20 * var(--vw-unit)); padding-inline: calc(20 * var(--vw-unit)); overflow-x: auto; scrollbar-width: none; }
.lim-site--mobile .stf-filter button { flex: none; white-space: nowrap; }
.lim-site--mobile .stf .stf-list { grid-template-columns: minmax(0, 1fr); gap: calc(40 * var(--vw-unit)); }
.lim-site--mobile .stf.is-compact .stf-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: calc(20 * var(--vw-unit)) calc(15 * var(--vw-unit)); }
.lim-site--mobile .stf.is-compact .stf-card-catch { font-size: calc(14 * var(--vw-unit)); }
.lim-site--mobile .stf.is-compact .stf-band { font-size: calc(12 * var(--vw-unit)); }

/* 写真があるときだけ、写真を全幅にして本文の白い面を写真の下端に重ねる */
.lim-site--mobile .stf-kv.has-photo .stf-kv-photo { margin: calc(-25 * var(--vw-unit)) calc(-20 * var(--vw-unit)) 0; aspect-ratio: 4 / 3; }
.lim-site--mobile .stf-kv.has-photo .stf-kv-body { margin: calc(-40 * var(--vw-unit)) calc(20 * var(--vw-unit)) 0 calc(-20 * var(--vw-unit)); padding: calc(24 * var(--vw-unit)) calc(20 * var(--vw-unit)) 0; }
.lim-site--mobile .stf .stf-kv-catch { font-size: calc(24 * var(--vw-unit)); }
.lim-site--mobile .stf-text p { font-size: calc(16 * var(--vw-unit)); line-height: 1.9; }
.lim-site--mobile .stf .stf-toc { margin-inline: calc(-20 * var(--vw-unit)); padding-inline: calc(20 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-chapter { margin-top: calc(60 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-chapter-title { font-size: calc(20 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-chapter-photo { margin-inline: calc(-20 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-closing { margin-inline: calc(-20 * var(--vw-unit)); padding: calc(36 * var(--vw-unit)) calc(20 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-others-heading h2 { font-size: calc(32 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-contact { padding: calc(20 * var(--vw-unit)) calc(15 * var(--vw-unit)); }
.lim-site--mobile .stf .stf-contact-buttons { grid-template-columns: minmax(0, 1fr); }
