/* ============================================
   業種紹介ページ（industry-page）専用 CSS
============================================ */

/* 全体レイアウト */
.industry-page #contents2 {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

/* 各業種ブロック */
.industry-page .results {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.industry-page .result-item {
  display: flex;
  gap: 20px;
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 25px;
  border-radius: 6px;
  align-items: center;
}

.industry-page .result-item img {
  width: 260px;
  height: auto;
  border-radius: 4px;
}

.industry-page .result-item .text h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #007BFF;
}

.industry-page .result-item .text p {
  font-size: 15px;
  line-height: 1.8;
}
.related-btn-group {
  display: flex;
  gap: 10px;          /* ボタン同士のすき間 */
  flex-wrap: nowrap;  /* 折り返さず一行に */
}

.related-btn {
  display: inline-block;
  width: 120px;
  text-align: center;
  padding: 8px 0;
  background: transparent;
  border: 1px solid #0072c6;
  color: #0072c6;
  text-decoration: none;
  border-radius: 2px;
  font-size: 13px;
}

.related-btn:hover {
  background: #f0f8ff;
}
.past-note {
  font-size: 0.9em;
  color: #666;
  margin: 10px 0 6px;
}

.past-list {
  margin: 0 0 10px 15px;
  padding: 0;
}

.past-list li {
  margin-bottom: 4px;
  font-size: 0.9em;
  color: #444;
}
/* ============================================
   スマホ対応
============================================ */

@media screen and (max-width: 768px) {

  .industry-page #contents2 {
    padding: 0 25px;
  }

  .industry-page .result-item {
    flex-direction: column;
    padding: 18px;
  }

  .industry-page .result-item img {
    width: 100%;
  }

  .industry-page .result-item .text h2 {
    font-size: 20px;
  }
}
@media screen and (max-width: 600px) {
  .related-btn-group {
    flex-wrap: wrap;
  }
  .related-btn {
    width: 48%;   /* 2列にする */
  }
}
