@charset "UTF-8";
/* お客様事例の一覧（/case/）と、業種別ページに差し込む「この業種のお客様事例」。
 * どちらも docker/cases/build_cases.py がビルド時に作る。見出し・ボタンは pc_case.css / sp_case.css / case_story.css のものを使う。 */

.case-list__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 8px 0 56px; }
.case-list__cards li a { display: block; color: #2b3540; text-decoration: none; border: 1px solid #dfe5eb; border-radius: 6px; overflow: hidden; height: 100%; background: #fff; }
.case-list__cards li a:hover { border-color: #42bad4; }
.case-list__thumb { aspect-ratio: 4 / 3; background: #f4f7fa; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.case-list__thumb img { width: 100%; height: 100%; object-fit: cover; }
.case-list__noimg { color: #8a96a3; font-weight: 700; }
/* .txt_box p（pc_case.css / sp_case.css）の大きな余白・文字を打ち消す */
.txt_box .case-list__customer { font-size: 13px; line-height: 1.5; color: #1a7fd4; font-weight: 700; margin: 12px 14px 4px; }
.txt_box .case-list__title { font-size: 15px; font-weight: 700; line-height: 1.6; color: #2b3540; margin: 0 14px 14px; }
.case-list__industry { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; margin-bottom: 40px; }
.case-list__industry a, .case-related__list a { color: #1a7fd4; line-height: 1.7; }

.case-related { margin: 0 auto 40px; }
.case-related__list { list-style: disc; padding-left: 1.5em; }
.case-related__list li { margin-bottom: 8px; font-size: 16px; }
.case-related__list span { display: inline-block; margin-right: 8px; font-weight: 700; color: #2b3540; }

@media screen and (max-width: 1050px) {
  .case-list__cards { grid-template-columns: 1fr; gap: 16px; margin-bottom: 32px; }
  .case-list__industry { grid-template-columns: 1fr; }
  .case-related { padding: 0 16px; }
}

/* 事例ページのラベル・リードは pc_case.css / sp_case.css の .txt_box p（20px・灰色・下に 3em）に負けて、
 * case_story.css の意図（白文字のラベル・青いリード）で出ていなかった。ここで意図どおりに上書きする（Relay CRM の確認用プレビューもこの見た目） */
.txt_box p.case-story__label { color: #fff; font-size: 16px; line-height: 1.8; margin: 0 0 12px; }
.txt_box p.case-story__lead { font-size: 18px; line-height: 1.7; font-weight: 700; color: #1a7fd4; margin: 0 0 24px; }
@media screen and (max-width: 1050px) {
  .txt_box p.case-story__lead { font-size: 16px; }
}
