/* Legal Content Section */
.legal-content-section {
  width: 1040px;
  margin: 0 auto;
}

.legal-wrapper {
  padding-top: 60px;
}

/* Legal Table */
.legal-table {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Legal Table Row */
.legal-table-row {
  display: flex;
  align-items: stretch; /* allow children to take full row height */
  gap: 24px;
  padding: 12px;
  background-color: #FFFFFF;
  border-radius: 8px;
}

/* Legal Table Label */
.legal-table-label {
  width: 280px;
  padding: 8px 0;
  background-color: #E9E9E9;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.legal-label-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
  text-align: center;
}

/* Legal Table Value */
.legal-table-value {
  flex: 1;
  display: flex;
  align-items: center;
}

.legal-value-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5em;
  color: #000000;
}

/* Legal Link */
.legal-link {
  color: #EF2864;
  text-decoration: underline;
}

.legal-link:hover {
  text-decoration: none;
}

@media (max-width: 1200px) {
  .legal-content-section {
    width: 100%;
  }
  .legal-wrapper {
    padding-top: 28px;
  }
  .legal-value-text {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .legal-table-row { 
    align-items: center;
  }
  .legal-table-row {
    flex-direction: column;
    gap: 8px;
  }
  .legal-table-label {
    padding: 6px 0;
    width: 100%;
    font-size: 14px;
  }
  .legal-value-text, .legal-label-text {
    font-size: 14px;
    text-align: center;
  }
}