/* ===== Product Card ===== */
.c-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: opacity 0.2s ease;
}

.c-product-card:hover {
  opacity: 0.85;
}

.c-product-card__image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-bg-light);
  border-radius: 0;
}

.c-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.c-product-card:hover .c-product-card__image img {
  transform: scale(1.03);
}

.c-product-card__body {
  flex: 1 1 auto;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.c-product-card__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-product-card__tags {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  list-style: none;
  font-size: 14px;
  color: var(--color-text-purple);
  font-weight: var(--font-weight-medium);
  margin: 0;
  padding: 0;
}

.c-product-card__tags li {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.c-product-card__tags li:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 14px;
  background: currentColor;
  margin: 0 8px;
}

.c-product-card__model {
  font-size: 12.8px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-muted);
  margin: 0 0 -8px;
}

.c-product-card__name,
.c-product-card__title {
  font-size: 18.29px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-normal);
  margin: 0;
}

.c-product-card__desc {
  font-size: 14.22px;
  color: var(--color-text);
  line-height: var(--line-height-normal);
  margin: 0;
}

.c-product-card__specs {
  font-size: 14px;
  color: var(--color-text);
  line-height: var(--line-height-normal);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c-product-card__specs li {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.c-product-card__specs li::before {
  content: "●";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
  color: var(--color-primary);
}

.c-product-card--dark .c-product-card__specs li::before {
  color: #ffffff;
}

.c-product-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--font-size-sm-ic);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-top: auto;
}

.c-product-card__link::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-text);
  background: url("../../img/common/arrow_2.svg") center / 12px no-repeat;
}

/* Dark variant (PICK UP section) */
.c-product-card--dark {
  border-radius: var(--radius-base);
  overflow: hidden;
}

.c-product-card--dark .c-product-card__image {
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.05);
}

.c-product-card--dark .c-product-card__body {
  padding: 8px 0px 0px 0px;
}

.c-product-card--dark .c-product-card__model,
.c-product-card--dark .c-product-card__title {
  color: var(--color-text-on-dark);
}

.c-product-card--dark .c-product-card__specs {
  color: var(--color-text-on-dark);
}

.c-product-card--dark .c-product-card__link {
  color: var(--color-text-on-dark);
}

.c-product-card--dark .c-product-card__link::before {
  border-color: var(--color-bg-white);
  background: url("../../img/common/arrow_1.svg") center / 12px no-repeat;
}

/* ===== News Card ===== */
.c-news-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: opacity 0.2s ease;
}

.c-news-card:hover {
  opacity: 0.8;
}

.c-news-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-bg-light);
}

.c-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.c-news-card:hover .c-news-card__image img {
  transform: scale(1.03);
}

.c-news-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.c-news-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--font-size-xs-ic);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  margin: 0;
}

.c-news-card__title {
  font-size: var(--font-size-sm-ic);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* ===== User Voice Card ===== */
.c-voice-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 0.2s ease;
}

.c-voice-card:hover {
  opacity: 0.8;
}

.c-voice-card__image {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--color-bg-light);
  border-radius: 4px;
}

.c-voice-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.c-voice-card:hover .c-voice-card__image img {
  transform: scale(1.03);
}

.c-voice-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c-voice-card__date {
  font-size: 12.8px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
}

.c-voice-card__title {
  font-size: 18.29px;
  font-weight: var(--font-weight-bold);
  color: var(--color-text-dark);
  line-height: var(--line-height-normal);
  margin: 0;
}

.c-voice-card__text {
  font-size: 16px;
  color: var(--color-text-dark);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* ===== Column Item ===== */
.c-column-item__link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  transition: opacity 0.2s ease;
}

.c-column-item__link:hover {
  opacity: 0.7;
}

.c-column-item__image {
  flex: 0 0 auto;
  width: 107px;
  height: 78px;
  overflow: hidden;
  background: var(--color-bg-light);
}

.c-column-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-column-item__title {
  flex: 1 1 auto;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  line-height: var(--line-height-normal);
  margin: 0;
}

/* ===== テキストサイズ (1024px) ===== */
@media (max-width: 1024px) {
  .c-column-item__title {
    font-size: var(--font-size-base);
  }
}

/* ===== SP ===== */
@media (max-width: 767px) {

  /* PCと同じ画像比率 (107:78) を維持 */
  .c-column-item__image {
    width: 64px;
    height: calc(64px * 78 / 107);
  }

  .c-voice-card__title {
    font-size: 14.22px;
  }

  .c-voice-card__text {
    font-size: 11.67px;
  }

  .c-voice-card__body {
    gap: 6px;
  }

  .c-product-card__body {
    gap: 16px;
  }

  .c-product-card__tags {
    font-size: var(--font-size-xs-ic);
    min-height: 3.6em;
  }

  .c-product-card__desc {
    font-size: var(--font-size-xs-ic);
  }

  .c-product-card__specs li {
    align-items: flex-start;
  }

  .c-product-card__specs li::before {
    padding-top: 6px;
  }

  .c-product-card__tags li:not(:first-child)::before {
    margin: 0 8px;
  }
}
