.photorecept-nutrition {
  margin: 34px 0 28px;
  padding: 24px;
  border: 1px solid #e6e1d9;
  border-radius: 12px;
  background: #fffdf9;
  color: #302d2a;
}

.photorecept-nutrition__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.photorecept-nutrition__header h2 {
  margin: 0;
}

.photorecept-nutrition__basis,
.photorecept-nutrition__footnotes {
  color: #777069;
  font-size: 13px;
}

.photorecept-nutrition__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.photorecept-nutrition__card {
  min-width: 0;
  padding: 14px 10px;
  border-radius: 9px;
  background: #f4eee5;
  text-align: center;
}

.photorecept-nutrition__value {
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.photorecept-nutrition__unit {
  margin-left: 3px;
  font-size: 12px;
}

.photorecept-nutrition__label {
  display: block;
  margin-top: 7px;
  color: #625c56;
  font-size: 12px;
}

.photorecept-nutrition__details summary {
  cursor: pointer;
  font-weight: 600;
}

.photorecept-nutrition__table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.photorecept-nutrition__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

.photorecept-nutrition__table th,
.photorecept-nutrition__table td {
  padding: 9px 4px;
  border-bottom: 1px solid #ece7df;
}

.photorecept-nutrition__table thead th {
	color: #625c56;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

.photorecept-nutrition__table thead th:not(:first-child) {
	text-align: right;
}

.photorecept-nutrition__table tbody th {
  font-weight: 400;
  text-align: left;
}

.photorecept-nutrition__table tbody td {
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.photorecept-nutrition__footnotes {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #ece7df;
  line-height: 1.45;
}

.photorecept-nutrition__footnotes p {
  position: relative;
  margin: 7px 0 0;
  padding-left: 30px;
}

.photorecept-nutrition__footnotes p:first-child {
  margin-top: 0;
}

.photorecept-nutrition__footnote-marker {
  position: absolute;
  left: 0;
  font-weight: 600;
}

@media (max-width: 600px) {
  .photorecept-nutrition {
    padding: 18px 14px;
  }

  .photorecept-nutrition__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photorecept-nutrition__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
