@charset "UTF-8";
/*
 * 導入事例（case_study）。
 * 一覧 /case-study/、業種・規模アーカイブ、詳細ページで使う。
 * 見出し・ボタン・機能タグ（.c-case-category-ul）は既存クラスをそのまま使い、
 * ここには一覧カードと詳細ページ固有の差分だけを置く。
 * ブレークポイントは他CSSに合わせて 768px / 600px。
 */

/* ---------------- 一覧 ---------------- */

.cs-archive__lead {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 30px;
}

.cs-filter {
  background: #fff;
  border: 1px solid #e3ebf5;
  padding: 20px 24px;
  margin-bottom: 40px;
}

.cs-filter__row {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.cs-filter__row + .cs-filter__row {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e3ebf5;
}

@media screen and (max-width: 600px) {
  .cs-filter {
    padding: 16px;
  }
  .cs-filter__row {
    display: block;
  }
}

.cs-filter__row dt {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: #232d83;
  white-space: nowrap;
}

@media screen and (max-width: 600px) {
  .cs-filter__row dt {
    margin-bottom: 8px;
  }
}

.cs-filter__row dd {
  flex: 1 1 auto;
}

.cs-filter__row ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-filter__row li a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  line-height: 1;
  padding: 7px 10px;
  border: 1px solid #d6d6d6;
  border-radius: 3px;
  color: #333333;
  text-decoration: none;
}

.cs-filter__row li a:hover {
  border-color: #1266b1;
  color: #1266b1;
}

.cs-filter__row li.is-current a {
  background: #1266b1;
  border-color: #1266b1;
  color: #fff;
}

.cs-filter__count {
  font-size: 11px;
  opacity: 0.7;
}

.cs-filter__reset {
  margin-top: 14px;
  font-size: 13px;
}

.cs-filter__reset a {
  color: #1266b1;
}

.cs-list {
  display: flex;
  flex-wrap: wrap;
  row-gap: 30px;
  column-gap: 2%;
}

.cs-list__empty {
  width: 100%;
  font-size: 15px;
}

.cs-card {
  width: 32%;
}

@media screen and (max-width: 768px) {
  .cs-card {
    width: 49%;
  }
}

@media screen and (max-width: 600px) {
  .cs-card {
    width: 100%;
  }
}

.cs-card > a {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid #e3ebf5;
  text-decoration: none;
  color: #333333;
}

.cs-card > a:hover {
  border-color: #1266b1;
}

.cs-card__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.cs-card__body {
  padding: 14px 16px 18px;
}

.cs-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.cs-card__meta span {
  font-size: 11px;
  line-height: 1;
  padding: 4px 6px;
  background: #f1f6fc;
  color: #232d83;
}

.cs-card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.cs-card__company {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}

.cs-crosslink {
  margin-top: 60px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e3ebf5;
  text-align: center;
}

.cs-crosslink p {
  font-size: 15px;
  margin-bottom: 14px;
}

/* ---------------- 詳細 ---------------- */

.cs-single__company {
  font-size: 15px;
  font-weight: 700;
  color: #1266b1;
  margin-bottom: 8px;
}

.cs-single__hero {
  margin: 30px 0;
}

.cs-single__hero img {
  width: 100%;
  height: auto;
}

.cs-profile {
  border-top: 1px solid #e3ebf5;
}

.cs-profile > div {
  display: flex;
  border-bottom: 1px solid #e3ebf5;
}

.cs-profile dt {
  flex: 0 0 26%;
  padding: 14px 16px;
  background: #f1f6fc;
  font-size: 14px;
  font-weight: 700;
  color: #232d83;
}

.cs-profile dd {
  flex: 1 1 auto;
  padding: 14px 16px;
  font-size: 15px;
}

@media screen and (max-width: 600px) {
  .cs-profile dt {
    flex-basis: 34%;
    font-size: 13px;
    padding: 12px;
  }
  .cs-profile dd {
    font-size: 14px;
    padding: 12px;
  }
}

.cs-profile dd a {
  color: #1266b1;
}

.cs-problems,
.cs-reasons {
  margin-bottom: 24px;
}

.cs-problems li,
.cs-reasons li {
  position: relative;
  padding-left: 26px;
  font-size: 16px;
  line-height: 1.9;
}

.cs-problems li + li,
.cs-reasons li + li {
  margin-top: 8px;
}

.cs-problems li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 12px;
  height: 2px;
  background: #b06a3a;
}

.cs-reasons li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1266b1;
}

.cs-quote {
  margin: 24px 0;
  padding: 20px 24px;
  background: #f1f6fc;
  border-left: 4px solid #1266b1;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 500;
}

.cs-body {
  font-size: 16px;
  line-height: 1.9;
}

.cs-body p {
  margin-bottom: 1.5em;
}

.cs-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin: 2em 0 0.8em;
  color: #232d83;
}

.cs-body img {
  max-width: 100%;
  height: auto;
}

.cs-effects {
  border-top: 2px solid #1266b1;
}

.cs-effects > div {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #e3ebf5;
}

.cs-effects dt {
  flex: 0 0 40%;
  padding: 16px;
  font-size: 15px;
  font-weight: 700;
}

.cs-effects dd {
  flex: 1 1 auto;
  padding: 16px;
  font-size: 17px;
  font-weight: 700;
  color: #1266b1;
}

@media screen and (max-width: 600px) {
  .cs-effects > div {
    display: block;
  }
  .cs-effects dt {
    padding: 12px 12px 0;
    font-size: 14px;
  }
  .cs-effects dd {
    padding: 4px 12px 12px;
    font-size: 16px;
  }
}

.cs-list--related {
  margin-top: 20px;
}
