@charset "UTF-8";
/*
 * 品質経営Web「VOC活用のご相談」(相談事例)ページ(template-qdm-consult-cases.php・/quality-driven-management/consultation-cases/)専用スタイル
 * - 正: 確定モック preview/consult-cases-mock-heroY2b.html の <style> の「ページ本体」部分を移植(値・並び順はそのまま。2026-11-26 ユーザー決定)。
 *   モック限定の指定(.mock-* ・body・* ・簡易ヘッダー/フッター .qdm-header / .qdm-footer)は移植しない。すべて .cc-page の内側だけに効く
 *   (:where(.cc-page) を前に付けて詳細度を増やさない。consulting-support.css の .cs-page と同じ方式)。
 * - モックからの変更: 書体の指定(font-family)を削除し、テーマ共通の書体のまま(本文の太さ 500 と補足色 #2c464c はモックのまま)。
 * - 書籍サイト共通の quality-driven-management.css の後に読み込まれる(template-qdm-consult-cases.php の wp_enqueue_style)。
 *   共通CSSから .cc-page に届くのは body.qdm-body の color・line-height(継承)と .qdm{background:#fff} だけで、どれも .cc-page 側の指定が勝つ。
 * - 末尾にサイト組み込み用の追加指定(テーマのリセットCSS/旧テーマCSSの打ち消し)。
 *
 * 改訂履歴
 * - 2026-11-26 新規作成(モック heroY2b を移植)。同日、パンくず(共通部品 .qdm-crumbs)の折り返しと下余白の指定を末尾に追加
 */

/* ===== ページ本体(すべて .cc-page の内側だけに効かせる) ===== */
.cc-page {
  color-scheme: light;
  --ink: #173439;
  --muted: #2c464c; /* 2026-11-26 「文字が薄い」対応: 元 #476268 → 濃く(本文 --ink との差は残す) */
  --teal: #075b57;
  --teal-dark: #034642;
  --line: #cfdfda;
  --canvas: #f8faf7;
  --wash: #eaf2ed;
  --white: #fff;
}
.cc-page, .cc-page *, .cc-page *::before, .cc-page *::after { box-sizing: border-box; }
.cc-page {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  /* 書体はテーマ共通(書籍サイトの他ページと同じ)のまま。font-family は指定しない(モックの "Yu Gothic Medium" 先頭方式は不採用・2026-11-26 ユーザー決定)。
     本文を濃く見せるため太さだけ 500(Windows の游ゴシックは Medium の字面・Mac のヒラギノは W3 のまま)。太字指定の箇所は 700 のまま */
  font-weight: 500;
  line-height: 1.75;
  overflow-wrap: anywhere;
}
:where(.cc-page) h1, :where(.cc-page) h2, :where(.cc-page) p, :where(.cc-page) dl, :where(.cc-page) dd, :where(.cc-page) ol { margin: 0; }
:where(.cc-page) h1, :where(.cc-page) h2 { line-height: 1.42; }
:where(.cc-page) h2 { font-size: clamp(1.45rem, 2.5vw, 1.95rem); }
:where(.cc-page) a:focus-visible { outline: 3px solid #996010; outline-offset: 5px; }
:where(.cc-page) .cc-wrap { width: min(1060px, calc(100% - 64px)); margin-inline: auto; }
:where(.cc-page) .cc-hero { padding-block: clamp(44px, 6vw, 76px); }
:where(.cc-page) .cc-eyebrow { color: var(--teal); font-size: .875rem; font-weight: 700; }
:where(.cc-page) h1 { margin-top: 10px; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -.035em; }
:where(.cc-page) .cc-lede { margin-top: 19px; color: var(--muted); font-size: clamp(1rem, 1.65vw, 1.15rem); max-width: 53em; }
:where(.cc-page) .cc-lede p + p { margin-top: 1em; }
:where(.cc-page) h1 span, :where(.cc-page) .cc-hero-worry { display: block; }
:where(.cc-page) h1 span { text-wrap: balance; }
:where(.cc-page) h1 .cc-hero-reassurance {
  margin-bottom: .3em;
  color: var(--muted);
  font-size: .72em;
  font-weight: 700; /* 2026-11-26 元 400 → 700(このページではヒーロー 案Y のラベル指定が上書きするため見た目は同じ。細字を残さないため) */
  letter-spacing: normal;
}
:where(.cc-page) .cc-lede p + .cc-lede-gap { margin-top: 1.75em; }
:where(.cc-page) .cc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 24px; }
:where(.cc-page) .cc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 21px;
  border-radius: 6px;
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
:where(.cc-page) .cc-button:hover { background: var(--teal-dark); }
:where(.cc-page) .cc-jump { display: inline-flex; align-items: center; min-height: 44px; color: var(--teal); font-weight: 700; text-underline-offset: 4px; }
:where(.cc-page) .cc-guide { padding-block: 32px 46px; border-top: 1px solid var(--line); }
:where(.cc-page) .cc-guide-intro, :where(.cc-page) .cc-approach p { margin-top: 8px; color: var(--muted); }
:where(.cc-page) .cc-scenarios { display: grid; gap: 10px; margin-top: 22px; }
:where(.cc-page) .cc-scenario { border: 1px solid var(--line); border-radius: 8px; }
:where(.cc-page) .cc-scenario summary {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) 1.75rem;
  align-items: center;
  gap: .75rem;
  min-height: 62px;
  padding: 11px 14px;
  border-radius: 7px;
  background: var(--wash);
  cursor: pointer;
  list-style: none;
}
:where(.cc-page) .cc-scenario summary::-webkit-details-marker { display: none; }
:where(.cc-page) .cc-scenario[open] > summary { background: #dbece5; border-radius: 7px 7px 0 0; }
:where(.cc-page) .cc-scenario summary:hover, :where(.cc-page) .cc-scenario summary:focus-visible { background: #d2e7df; }
:where(.cc-page) .cc-scenario summary:focus-visible { outline: 2px solid var(--teal); outline-offset: -2px; }
:where(.cc-page) .cc-scenario-number {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2rem;
  border-radius: 5px;
  background: var(--teal);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
:where(.cc-page) .cc-scenario-toggle {
  position: relative;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal);
}
:where(.cc-page) .cc-scenario-toggle::before, :where(.cc-page) .cc-scenario-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: .7rem;
  height: 2px;
  background: currentColor;
}
:where(.cc-page) .cc-scenario-toggle::after { transform: rotate(90deg); }
:where(.cc-page) .cc-scenario[open] > summary .cc-scenario-toggle::after { display: none; }
:where(.cc-page) .cc-question { font-size: clamp(1rem, 1.8vw, 1.22rem); font-weight: 700; line-height: 1.5; }
:where(.cc-page) .cc-example { padding: 14px 14px 18px; }
:where(.cc-page) .cc-dialogue {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(12px, 2.4vw, 22px);
  background: #f1f6f3;
  border: 1px solid var(--line);
  border-radius: 12px;
}
:where(.cc-page) .cc-turn { display: flex; flex-direction: column; align-items: flex-start; max-width: 83%; }
:where(.cc-page) .cc-turn--customer { align-self: flex-end; align-items: flex-end; }
:where(.cc-page) .cc-turn--vext { align-self: flex-start; }
:where(.cc-page) .cc-turn dt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 2px 6px;
  font-size: .875rem;
  font-weight: 700;
  color: var(--teal-dark);
}
:where(.cc-page) .cc-turn--customer dt { flex-direction: row-reverse; }
:where(.cc-page) .cc-avatar {
  --avatar-bg: #d5ebe4;
  --hair: #233d45;
  --skin: #edb792;
  --outfit: #187067;
  position: relative;
  display: block;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--avatar-bg);
}
:where(.cc-page) .cc-avatar span { position: absolute; display: block; }
:where(.cc-page) .cc-avatar--customer-1 { --avatar-bg: #e1e9f6; --hair: #3c455b; --outfit: #607aa8; }
:where(.cc-page) .cc-avatar--customer-2 { --avatar-bg: #f4e1e6; --hair: #553c39; --outfit: #a85571; --skin: #f4c2a3; }
:where(.cc-page) .cc-avatar--customer-3 { --avatar-bg: #e4e8f0; --hair: #263445; --outfit: #465976; --skin: #ca916f; }
:where(.cc-page) .cc-avatar--customer-4 { --avatar-bg: #f6ead5; --hair: #593e34; --outfit: #a46a30; --skin: #e5aa7e; }
:where(.cc-page) .cc-avatar--customer-5 { --avatar-bg: #f0e3d8; --hair: #392d30; --outfit: #9c5149; --skin: #b77e61; }
:where(.cc-page) .cc-avatar--customer-6 { --avatar-bg: #ebe4f5; --hair: #3f314a; --outfit: #685486; --skin: #efb594; }
:where(.cc-page) .cc-avatar--customer-7 { --avatar-bg: #deecec; --hair: #5e524d; --outfit: #3b5763; --skin: #e0a784; }
:where(.cc-page) .cc-portrait-hair {
  top: 5px;
  left: 10px;
  width: 18px;
  height: 20px;
  border-radius: 52% 52% 37% 38%;
  background: var(--hair);
}
:where(.cc-page) .cc-hair--bob .cc-portrait-hair { left: 8px; width: 22px; height: 25px; border-radius: 55% 55% 35% 35%; }
:where(.cc-page) .cc-hair--long .cc-portrait-hair { left: 8px; width: 22px; height: 31px; border-radius: 45% 57% 27% 33%; }
:where(.cc-page) .cc-hair--bun .cc-portrait-hair::before {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--hair);
}
:where(.cc-page) .cc-hair--crop .cc-portrait-hair { top: 7px; left: 11px; width: 16px; height: 16px; }
:where(.cc-page) .cc-hair--wave .cc-portrait-hair { left: 9px; width: 21px; border-radius: 62% 38% 35% 40%; transform: rotate(-9deg); }
:where(.cc-page) .cc-portrait-face {
  top: 10px;
  left: 12px;
  width: 14px;
  height: 16px;
  border-radius: 45% 45% 51% 51%;
  background: var(--skin);
}
:where(.cc-page) .cc-portrait-face::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 4px;
  width: 1.5px;
  height: 1.5px;
  border-radius: 50%;
  background: var(--hair);
  box-shadow: 5px 0 var(--hair);
}
:where(.cc-page) .cc-hair--parted .cc-portrait-face::before, :where(.cc-page) .cc-hair--long .cc-portrait-face::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -1px;
  width: 10px;
  height: 5px;
  border-radius: 70% 24% 70% 26%;
  background: var(--hair);
  transform: rotate(-19deg);
}
:where(.cc-page) .cc-portrait-body {
  top: 24px;
  left: 6px;
  width: 26px;
  height: 16px;
  border-radius: 56% 56% 0 0;
  background: var(--outfit);
}
:where(.cc-page) .cc-outfit--suit .cc-portrait-body::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 8px;
  border-inline: 5px solid transparent;
  border-top: 10px solid #fff;
}
:where(.cc-page) .cc-outfit--casual .cc-portrait-body::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 9px;
  width: 8px;
  height: 4px;
  border-bottom: 1px solid #ffffffb3;
  border-radius: 50%;
}
:where(.cc-page) .cc-portrait-glasses {
  top: 14px;
  left: 12px;
  width: 14px;
  height: 5px;
  background: linear-gradient(var(--hair), var(--hair)) center / 3px 1px no-repeat;
}
:where(.cc-page) .cc-portrait-glasses::before, :where(.cc-page) .cc-portrait-glasses::after {
  content: "";
  position: absolute;
  top: 0;
  width: 6px;
  height: 5px;
  border: 1px solid var(--hair);
  border-radius: 40%;
}
:where(.cc-page) .cc-portrait-glasses::before { left: 0; }
:where(.cc-page) .cc-portrait-glasses::after { right: 0; }
:where(.cc-page) .cc-turn dd { padding: 10px 14px; border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; background: var(--white); }
:where(.cc-page) .cc-turn--customer dd { border-radius: 14px 4px 14px 14px; background: #dceee5; }
:where(.cc-page) .cc-first-step { margin-top: 10px; color: var(--teal-dark); }
:where(.cc-page) .cc-first-step strong { margin-right: .6em; }
:where(.cc-page) .cc-approach { padding-block: 35px; background: var(--wash); }
:where(.cc-page) .cc-approach p { max-width: 52em; }
:where(.cc-page) .cc-approach .cc-jump { margin-top: 7px; }
:where(.cc-page) .cc-closing { padding-block: 36px 44px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 19px 32px; }
:where(.cc-page) .cc-closing p { margin-top: 6px; color: var(--muted); }
@media (max-width: 710px) {
  :where(.cc-page) .cc-wrap { width: calc(100% - 36px); }
  :where(.cc-page) .cc-scenario summary { gap: .5rem; padding-inline: 10px; }
  :where(.cc-page) .cc-example { padding: 10px 10px 15px; }
  :where(.cc-page) .cc-turn { max-width: 92%; }
  :where(.cc-page) .cc-lede br { display: none; }
}

:where(.cc-page) .cc-reactions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
:where(.cc-page) .cc-reaction-label { font-size: .82rem; color: var(--muted); margin-right: 5px; }
:where(.cc-page) .cc-reaction { font: inherit; font-size: .85rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
:where(.cc-page) .cc-reaction:hover { border-color: var(--teal); }
:where(.cc-page) .cc-reaction[aria-pressed="true"] { background: #dceee5; border-color: var(--teal); color: var(--teal-dark); }
:where(.cc-page) .cc-reaction:focus-visible { outline: 3px solid #996010; outline-offset: 3px; }

/* 絵文字の代わりの線のアイコン(モックの変更点1): 絵文字の代わりの線のアイコン。大きさは元の絵文字と同じ1em、色はボタンの文字色(SVG の stroke=currentColor) */
:where(.cc-page) .cc-reaction-icon { flex: none; display: block; width: 1em; height: 1em; }
/* ===== ヒーロー 案Y(2026-11-26): 淡い緑(--wash)の背景帯+2つの悩みをボックスなしの一段大きい濃い緑の文字で2行。
   すべて .cc-hero--y の内側だけに効く(相談例・closing のボタン等は元のまま) ===== */
:where(.cc-page) .cc-hero--y { background: var(--wash); border-bottom: 1px solid var(--line); }
:where(.cc-page) .cc-hero--y h1 { margin-top: 12px; font-size: clamp(1.75rem, 3.6vw, 2.45rem); letter-spacing: -.02em; }
/* 「課題がわからなくても大丈夫！」: 角丸の塗りのラベル */
:where(.cc-page) .cc-hero--y h1 .cc-hero-reassurance { display: table; margin-bottom: .6em; padding: .3em .95em .35em; border-radius: 999px; background: var(--teal); color: var(--white); font-size: max(.95rem, .42em); font-weight: 700; letter-spacing: .05em; line-height: 1.4; }
/* 2つの悩み: 枠・背景・線なし。本文より一段大きい・やや太い・濃い緑の文字で、行頭をそろえて2行 */
:where(.cc-page) .cc-hero--y .cc-hy-notes { margin: 24px 0 0; }
:where(.cc-page) .cc-hero--y .cc-hy-note { margin: 0; color: var(--teal-dark); font-size: clamp(1.15rem, 2vw, 1.25rem); font-weight: 700; line-height: 1.6; }
:where(.cc-page) .cc-hero--y .cc-hy-note + .cc-hy-note { margin-top: 6px; }
:where(.cc-page) .cc-hero--y .cc-hy-after { margin-top: 24px; }
/* 大きいボタン(高さ56px・右向き矢印。案Xと同じ) */
:where(.cc-page) .cc-hero--y .cc-actions { margin-top: 28px; }
:where(.cc-page) .cc-hero--y .cc-button { gap: 12px; min-height: 56px; padding: 12px 34px 12px 38px; font-size: 1.08rem; letter-spacing: .04em; box-shadow: 0 6px 16px rgba(7, 91, 87, .18); }
:where(.cc-page) .cc-hero--y .cc-button-arrow { flex: none; display: block; transition: transform .2s; }
:where(.cc-page) .cc-hero--y .cc-button:hover .cc-button-arrow { transform: translateX(3px); }
@media (max-width: 640px) {
  :where(.cc-page) .cc-hero--y .cc-hy-note { font-size: 1.1rem; }
  :where(.cc-page) .cc-hero--y .cc-actions { display: block; }
  :where(.cc-page) .cc-hero--y .cc-button { display: flex; width: 100%; padding-inline: 20px; }
}

/* ===== サイト組み込み用の追加指定(モックには無い) ===== */
/* テーマ app.css のリセット(strong・見出し等の太さ)で太字が消える場合に備え、モック(ブラウザ既定の太字)に戻す */
.cc-page h1, .cc-page h2, .cc-page strong { font-weight: 700; }
/* テーマ・旧テーマのリンク色の指定に負けないよう、ボタンとテキストリンクの色を固定(値はモックと同じ) */
.cc-page a.cc-button, .cc-page a.cc-button:hover { color: var(--white); text-decoration: none; }
.cc-page a.cc-jump { color: var(--teal); text-decoration: underline; }
/* パンくず(書籍サイト共通の .qdm-crumbs・2026-11-26 追加): 狭い幅で折り返す。見出し上の文字との間は共通の 26px を少し詰める(伴走コンサルの .cs-hero .qdm-crumbs と同じ流儀) */
.cc-page .cc-hero .qdm-crumbs { flex-wrap: wrap; margin-bottom: 18px; }
