/* =========================================================
   サービスページ共通（directsourcing / linkedin / branding など）
   ========================================================= */

/* ---------- パンくず ---------- */
.breadcrumb { font-size: 12px; color: var(--ink-2); letter-spacing: .06em; padding-top: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--brand-blue); }

/* ---------- ファーストビュー ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(72px, 8vw, 120px); }
.page-hero .blob--sky { width: 320px; height: 320px; top: -140px; left: -120px; opacity: .4; }
.page-hero .blob--blue { width: 260px; height: 260px; bottom: -120px; right: -80px; opacity: .3; }
.page-hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__label { font-size: 13px; letter-spacing: .12em; color: var(--brand-blue); }
.page-hero__title { font-size: clamp(32px, 4vw, 54px); font-weight: 200; line-height: 1.45; letter-spacing: .06em; margin-top: 16px; }
.page-hero__lead { font-size: var(--fs-lead); font-weight: 300; line-height: 2; margin-top: 24px; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
@media (max-width: 860px) { .page-hero__inner { grid-template-columns: 1fr; } }

/* ---------- 成果の数字 ---------- */
.stats__note { font-size: 11px; color: var(--ink-2); margin-top: 16px; }

/* ---------- お悩み → 解決 ---------- */
/* 見出しの行数が違っても、区切り線と本文の位置を横でそろえる */

/* ---------- 役割分担表 ---------- */
.chip { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 26px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 12px; letter-spacing: .08em; line-height: 1; }
@media (max-width: 600px) {
  .chip { min-width: 0; padding: 0 10px; height: 24px; font-size: 11px; }
}

/* ---------- 会える理由 ---------- */

/* ---------- 費用の考え方 ---------- */

/* ---------- 進め方 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 12px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.step__no { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--brand-blue); }
.step__title { font-size: 17px; font-weight: 400; }
.step__text { font-size: 14px; color: var(--ink-2); line-height: 1.9; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- よくある質問 ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 4px; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-en); font-weight: 200; font-size: 26px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq__a { padding: 0 4px 28px; color: var(--ink-2); font-size: 15px; line-height: 1.9; max-width: 48em; }

/* ---------- 社内説明用の資料 ---------- */

/* スマホ：ボタンを同じ幅で縦に並べる */
@media (max-width: 600px) {
  .page-hero__actions { flex-direction: column; align-items: stretch; max-width: 320px; }
  .page-hero__actions .btn { width: 100%; }
}

/* ---------- ファーストビュー（文字のみ） ---------- */

/* ---------- 製品一覧（目的から選ぶ） ---------- */

/* ---------- 他サービスとの組み合わせ ---------- */
.combo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 56px; align-items: end; }
.combo__label { font-size: 13px; letter-spacing: .1em; color: var(--brand-blue); }
.combo__title { font-size: var(--fs-h2); font-weight: 300; line-height: 1.6; margin-top: 12px; }
.combo__text { color: var(--ink-2); line-height: 2; margin-top: 16px; max-width: 40em; }
@media (max-width: 760px) { .combo { grid-template-columns: 1fr; } .combo .btn { justify-self: start; } }

/* ---------- 事例（文字のみの一覧） ---------- */

/* 3ステップ版 */

/* ---------- 業界別のご利用企業（共通） ---------- */
.li-users { margin-top: clamp(48px, 6vw, 72px); }
.li-users__label { font-size: 13px; letter-spacing: .1em; margin-bottom: 16px; }
.li-users__table { border-top: 1px solid var(--ink); }
.li-users__row { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.li-users__ind { font-size: 13px; font-weight: 500; }
.li-users__names { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 15px; }
.li-users__names li { white-space: nowrap; }
.li-users--top { margin-top: 0; }
.li-users__body { min-width: 0; }
.li-users__go { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--brand-blue); text-decoration: none; }
.li-users__go::after { content: "→"; margin-left: 6px; transition: margin-left .2s; }
.li-users__go:hover::after { margin-left: 10px; }
.cdr__head { flex-wrap: wrap; }
.cdr__head > a { flex: none; white-space: nowrap; }
.li-users__names li:not(:last-child)::after { content: "／"; color: #c9ccd0; margin: 0 10px; }
@media (max-width: 860px) {
  .li-users__row { grid-template-columns: 1fr; gap: 8px; }
  .li-users__names { font-size: 14px; }
}

/* 主なお取引企業（.ccl）: サービスで切り替える業界別の社名（src/components/site/ClientTabs.astro。/case/ とトップ）。表の見た目は上の .li-users */
.ccl { padding-block: 0 clamp(48px, 6vw, 80px); }
.ccl__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.ccl__head--notitle { justify-content: flex-start; }
/* トップ: 見出しは sec-head。見出しのすぐ下に一文とタブ */
.ccl--in { padding-block: 0; }
.ccl--in .sec-head { margin-bottom: 16px; }
.ccl__lead { margin-bottom: 24px; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
.ccl__h { font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; }
.ccl__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.ccl__tab { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.ccl__tab:hover { border-color: var(--ink); }
.ccl__tab.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.ccl__more { display: none; }
/* スマホ: 一覧が長くなり事例が遠くなるので、最初の3業界だけ出し、残りは「すべての業界を見る」で開く */
@media (max-width: 760px) {
  .ccl__panel:not(.is-open) .li-users__row:nth-child(n+4), .ccl__panel:not(.is-open) .stats__note { display: none; }
  .ccl__panel:not(.is-open) .ccl__more { display: block; width: 100%; margin-top: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; }
}
