/**
 * Equipment Archive Page Styles
 * 設備一覧ページ用CSS
 */

.equipment-archive {
  max-width: 1020px;
  margin: 40px auto 0 auto;
  padding: 40px 20px 0px 20px;
}

@media screen and (max-width: 1014px) {
  .equipment-archive {
    max-width: 690px;
  }
}

.archive-header {
  text-align: center;
  margin-bottom: 25px;
}

.archive-title {
  font-size: 24px;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.equipment-archive-container {
  width: 100%;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.equipment-item {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.equipment-item a {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.equipment-img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.equipment-item a:hover .equipment-img-wrapper {
  opacity: 0.85;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.equipment-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.equipment-text-wrapper {
  text-align: center;
  padding: 6px;
}

.equipment-text-wrapper .line-1 {
  font-size: 14px;
  color: #333;
  margin-bottom: 5px;
}

.equipment-text-wrapper .line-2 {
  font-size: 14px;
  color: #333;
}

.no-equipment {
  text-align: center;
  font-size: 16px;
  color: #999;
  padding: 60px 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .equipment-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .equipment-item {
    max-width: 100%;
  }

  .equipment-img-wrapper {
    height: auto;
    aspect-ratio: 360 / 250;
  }

  .archive-title {
    font-size: 18px;
  }
}
