/* ==============================================
   セミナー・相談会セクション用CSS
   ファイル名: seminar_section.css
   作成日: 2026/01/22
   ============================================== */

.seminar-section {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

.seminar-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 24px;
  border-bottom: 2px solid #4a9c5d;
  display: inline-block;
  padding-bottom: 8px;
}

.seminar-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.seminar-item {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seminar-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.seminar-item img {
  width: 400px;
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.seminar-label {
  margin-top: 12px;
  font-size: 16px;
  color: #4a9c5d;
  font-weight: bold;
}

/* --------------------------------------------
   タブレット対応 (768px以下)
   -------------------------------------------- */
@media (max-width: 768px) {
  .seminar-section {
    margin: 30px auto;
  }

  .seminar-container {
    gap: 20px;
  }

  .seminar-item img {
    width: 45vw;
    max-width: 320px;
  }

  .seminar-title {
    font-size: 20px;
  }

  .seminar-label {
    font-size: 14px;
  }
}

/* --------------------------------------------
   スマホ対応 (480px以下)
   -------------------------------------------- */
@media (max-width: 480px) {
  .seminar-section {
    margin: 24px auto;
    padding: 0 16px;
  }

  .seminar-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .seminar-item img {
    width: 90vw;
    max-width: 100%;
  }

  .seminar-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .seminar-item:hover {
    transform: none;
    box-shadow: none;
  }
}
