.card-wrapper {
  position: relative;
  transition: transform 0.3s;
}
.card-wrapper:hover {
  transform: scale(1.05);
  transition: transform 0.3s;
  cursor: pointer;
}
.card {
    width: 343px;
    height: 545px;
    background: white;
    border-radius: 12px;
    border: 1px solid #C6CACB;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.new-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 120px;
}

.card-thumbnail {
    width: 100%;
    height: 238px;
    border-bottom: 1px solid #C6CACB;
}

.card-thumbnail img {
    width: 100%;
    height: 100%;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    height: 100%;
}

.card-content {
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-title {
  height: 64px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;    /* 表示したい行数を指定 */
  overflow: hidden;
}

.service-description {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;    /* 表示したい行数を指定 */
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 0 24px;
    padding-bottom: 24px;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    width: 135px;
    height: 20px;
    background-color: #222C41;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    line-height: 1;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.download-button:hover {
    background-color: #333;
}

.download-icon {
    margin-left: 0.5rem;
    width: 16px;
    height: 16px;
}