/* haisuikansekoujirei.css - 施工事例ページ専用CSS */

body {
  background: #f6fafd;
  font-family: 'Noto Sans JP', 'Yu Gothic', sans-serif;
  color: #222;
  margin: 0;
}

/* メニュー・フッターは style.css のデザインに依存するため、
   ここでは上書きしない。必要に応じて個別要素のみ調整 */

/* 事例カード一覧 */
.case-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin: 2em 0 3em 0;
}
.case-card {
  display: flex;
  flex-direction: column;
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  text-decoration: none;
  color: #222;
  transition: transform 0.15s, box-shadow 0.15s;
  overflow: hidden;
}
.case-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 28px rgba(26,110,140,0.13);
}
.case-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 1px solid #e0e0e0;
}
.case-info {
  padding: 1.1em 1.2em 1.2em 1.2em;
}
.case-title {
  font-size: 1.2em;
  color: #1a6e8c;
  margin-bottom: 0.5em;
  font-weight: 700;
}
.case-summary {
  font-size: 1em;
  margin-bottom: 0.7em;
  color: #444;
}
.case-detail {
  font-size: 0.98em;
  color: #1976d2;
  margin-top: 0.2em;
}

@media (max-width: 800px) {
  .case-list {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .case-card {
    width: 98vw;
    max-width: 370px;
  }
  .case-thumb {
    height: 160px;
  }
}

/* 事例詳細ページ用 */
.case-detail-page {
  max-width: 600px;
  margin: 2.5em auto 3em auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  padding: 2em 1.5em 2.5em 1.5em;
}
.case-detail-page h1 {
  color: #1a6e8c;
  font-size: 1.5em;
  margin-bottom: 1em;
}
.case-detail-page h2 {
  color: #1976d2;
  font-size: 1.1em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}
.case-detail-page p, .case-detail-page blockquote {
  font-size: 1em;
  color: #333;
  margin-bottom: 1em;
}
.case-detail-page blockquote {
  background: #f0f8fa;
  border-left: 4px solid #1a6e8c;
  padding: 0.7em 1em;
  border-radius: 6px;
  font-style: italic;
}
