/**
 * CSS File: data.css
 * 2026-05-12 | Final checked
 */

.l-data-section {
  background-color: #fbf9f4;
}

.p-data-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 1152px;
  margin: 0 auto;
}

.p-data-card {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.p-data-card::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 50%;
  height: 300%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(45deg);
  transition: none;
  z-index: 2;
}

.p-data-card__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.p-data-card__icon-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.p-data-card__icon {
  width: 128px;
  height: 128px;
  object-fit: contain;
  flex-shrink: 0;
}

.p-data-card__label {
  font-size: 1.25rem;
  color: #555555;
  margin-bottom: 4px;
}

.p-data-card__value {
  font-size: 2.25rem;
  font-weight: bold;
  color: #50bae7;
  line-height: 1.2;
}

.p-data-card__unit {
  font-size: 0.6em;
  margin-left: 2px;
}

.p-data-card__note {
  font-size: 0.875rem;
  color: #1f2937;
  margin-top: 8px;
}

.u-show-sp {
  display: block;
}

@media screen and (min-width: 768px) {
  .p-data-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .p-data-card:hover::before {
    left: 150%;
    transition: left 0.6s ease;
  }

  .p-data-card__value {
    font-size: 3rem;
  }

  .u-show-sp {
    display: none;
  }
}
