.case-section {
  padding: 0rem 0.3rem;
  background-color: #f9fbfd;
  text-align: center;
}

/* ▼ タイトル全体 ▼ */
.case-section .section-title {
  position: relative;
  display: inline-block;
  font-weight: bold;
	  margin-top: 4rem;
  margin-bottom: -1rem;
  line-height: 1.2;
}

/* 英語：大きく背景に */
.case-section .section-title .section-title-en {
  font-size: 5rem;
  color: #dde3e8;
  letter-spacing: 0.1em;
}

/* 日本語：前面に重ねる */
.case-section .section-title .section-title-ja {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  color: #222;
  white-space: nowrap;
}

/* ▼ スライダー設定 ▼ */
.case-swiper {
  padding: 0 1rem;
  margin-top: 2rem;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  width: 220px !important;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

/* ▼ ケースカード ▼ */
.case-card {
  width: 100%;
  max-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.case-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.case-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.case-summary {
  font-size: 0.9rem;
  color: #666;
}

/* ▼ 「もっと見る」リンク ▼ */
.case-section .more-link a {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.case-swiper {
  padding: 0 1rem;
  margin-top: 2rem;
}

.swiper-wrapper {
  display: flex;
}

.swiper-slide {
  width: 220px; /* ← 5枚収まる幅 */
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.case-card {
  width: 100%;
  max-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: left;
}

.case-thumb img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin-bottom: 1rem;
  object-fit: cover;
}

.case-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;
}

.case-summary {
  font-size: 0.9rem;
  color: #666;
}

.more-link a {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--color-primary);
  font-size: 0.95rem;
}
.swiper-slide {
  width: 220px !important; /* ← 明示的に指定 */
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.case-card {
  width: 100%;
  max-width: 220px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  text-align: left;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  height: 340px; /* 全体高さを固定（必要に応じて調整） */
}

.case-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 0.5rem;

  min-height: 3.6em; /* 1.2em × 3行分程度 */
  line-height: 1.2;
  overflow: hidden;
}

.case-summary {
  font-size: 0.9rem;
  color: #666;

  flex-grow: 1;
  min-height: 3.6em;
  line-height: 1.2;
  overflow: hidden;
}
