/*
 * 業種別サービスページ（service-transport / service-construction）だけで読む。
 * 既存の部品（strength-grid・service-specs・service-choice・accordion・pricing-cta）はそのまま使い、
 * ここには「対象になる売掛金」「解説」「参考資料」「事例」の4つだけを置く。
 * 指定はすべて .ind- で始まる。ほかのページには当たらない。
 */

/* 方式カードを2枚で並べる（既定は3列） */
@media (min-width: 981px) {
  .service-choice.ind-choice-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 980px; }
}
.service-choice.ind-choice-2 .service-choice-body > p { min-height: 0; }

/* 対象になる売掛金・対象外 */
.ind-scope { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ind-scope__panel { padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--ink); border-radius: 10px; background: #fff; }
.ind-scope__panel--ok { border-top-color: var(--orange); }
.ind-scope__panel h3 { margin: 0 0 14px; font-size: 1.25rem; line-height: 1.6; }
.ind-scope__panel ul { margin: 0; padding: 0; list-style: none; }
.ind-scope__panel li { position: relative; padding: 11px 0 11px 30px; border-top: 1px solid var(--line); line-height: 1.8; }
.ind-scope__panel li::before { position: absolute; left: 2px; top: 11px; font-weight: 800; }
.ind-scope__panel--ok li::before { content: "✓"; color: var(--orange-deep); }
.ind-scope__panel--ng li::before { content: "―"; color: var(--gray); }
.ind-scope__note { max-width: 900px; margin: 22px 0 0; color: var(--gray); }

/* 解説（記事にあたる部分） */
.ind-explain { max-width: 860px; }
.ind-explain > h3 { margin: 44px 0 14px; padding-left: 16px; border-left: 5px solid var(--orange); font-size: 1.3rem; line-height: 1.6; }
.ind-explain > h3:first-child { margin-top: 0; }
.ind-explain > p { margin: 0 0 16px; line-height: 2; }
.ind-explain sup { margin-left: 2px; font-size: .75rem; line-height: 1; }
.ind-explain sup a { padding: 0 2px; color: var(--orange-deep); font-weight: 700; text-decoration: none; }
.ind-explain sup a:hover { text-decoration: underline; }

/* 参考資料 */
.ind-sources { margin-top: 44px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 10px; background: var(--warm); font-size: .9375rem; }
.ind-sources h3 { margin: 0 0 12px; font-size: 1.0625rem; }
.ind-sources ol { margin: 0; padding-left: 1.6em; }
.ind-sources li { padding: 4px 0; line-height: 1.8; overflow-wrap: anywhere; }
.ind-sources li:target { background: #fff5ef; }
.ind-sources p { margin: 14px 0 0; color: var(--gray); }

/* 本文中のリンク */
.ind-sources a,
.ind-scope__note a,
.ind-case__note a,
.ind-more a { color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.ind-sources a:hover,
.ind-scope__note a:hover,
.ind-case__note a:hover,
.ind-more a:hover { color: var(--orange-hover); }
.ind-more { margin: 26px 0 0; font-weight: 700; }

/* 事例 */
.ind-case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; }
.ind-case__visual { margin: 0; }
.ind-case__visual img { display: block; width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.ind-case__body { padding: 32px 34px; }
.ind-case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ind-case__tags span { padding: 3px 12px; border: 1px solid var(--ink); border-radius: 3px; font-size: .8125rem; font-weight: 700; line-height: 1.7; }
.ind-case__tags span:first-child { background: var(--ink); color: #fff; }
.ind-case__body h3 { margin: 0 0 12px; font-size: 1.4rem; line-height: 1.6; }
.ind-case__body > p { margin: 0; color: var(--gray); }
.ind-case__figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 22px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ind-case__figures > div { padding: 14px 16px 14px 0; }
.ind-case__figures > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.ind-case__figures dt { color: var(--gray); font-size: .8125rem; font-weight: 700; }
.ind-case__figures dd { margin: 2px 0 0; color: var(--orange-deep); font-size: 1.5rem; font-weight: 800; line-height: 1.4; white-space: nowrap; }
.ind-case__body > .ind-case__note { margin-top: 16px; font-size: .875rem; line-height: 1.8; }

/* サービス一覧ページの「業種別」 */
.ind-industry-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ind-industry-links a { display: block; padding: 26px 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; }
.ind-industry-links a:hover { border-color: var(--ink); }
.ind-industry-links strong { display: block; margin-bottom: 8px; font-size: 1.25rem; line-height: 1.6; }
.ind-industry-links span { display: block; color: var(--gray); }

@media (max-width: 900px) {
  .ind-scope { grid-template-columns: 1fr; gap: 16px; }
  .ind-case { grid-template-columns: 1fr; }
  .ind-case__visual img { min-height: 0; aspect-ratio: 3 / 2; }
  .ind-industry-links { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
  .ind-scope__panel { padding: 22px 20px; }
  .ind-explain > h3 { margin-top: 36px; font-size: 1.1875rem; }
  .ind-sources { padding: 20px 18px; }
  .ind-case__body { padding: 24px 20px; }
  .ind-case__body h3 { font-size: 1.1875rem; }
  .ind-case__figures dd { font-size: 1.1875rem; }
  .ind-case__figures > div { padding-right: 8px; }
  .ind-case__figures > div + div { padding-left: 10px; }
}

/* 途中で折り返したくない語（「3社間1%〜」など） */
.ind-nowrap { white-space: nowrap; }

/* こんな業態からご相談いただけます（対象になる売掛金の節の中） */
.ind-types { margin-top: 40px; padding-top: 34px; border-top: 1px solid var(--line); }
.ind-types > h3 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.6; }
.ind-types__lead { max-width: 900px; margin: 0; color: var(--ink); line-height: 2; }
.ind-types__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; }
.ind-types__list > div { padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.ind-types__list dt { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 800; line-height: 1.6; }
.ind-types__list dd { margin: 0; color: var(--gray); font-size: .9375rem; line-height: 1.8; }
.ind-types__note { max-width: 900px; margin: 12px 0 0; color: var(--gray); font-size: .9375rem; }
@media (max-width: 1100px) { .ind-types__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .ind-types { margin-top: 32px; padding-top: 28px; }
  .ind-types > h3 { font-size: 1.1875rem; }
  .ind-types__list { grid-template-columns: 1fr; gap: 10px; }
  .ind-types__list > div { padding: 14px 16px 16px; }
}

/* 脚注が続くとき（1 の次に 2）は、間に「,」を入れて「12」に見えないようにする */
.ind-explain sup.ind-sup-next::before { content: ","; margin-right: 1px; color: var(--gray); }
/* サービス仕様の値に添える補足（「3社間は案件ごとに確認」） */
.ind-spec-sub { display: block; margin-top: 2px; color: var(--gray); font-size: .9375rem; font-weight: 400; }

/* 医療ページ: 対応施設の4枚（既存の notice-grid）を「対象になる報酬」の節の中に置く */
.ind-facilities { margin-top: 18px; }
