.profile-sheet {
  font-family: "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
}
.profile-sheet h1 {
  font-size: clamp(1.55rem, 3vw, 2.14rem);
  line-height: 1.35;
  text-wrap: balance;
}
.profile-description {
  color: #22323a;
  line-height: 1.75;
  white-space: normal;
}
.profile-sheet .profile-field {
  border: 0;
  padding: 0;
  min-width: 0;
}
.profile-field legend, .profile-field > label:first-child {
  font-weight: 700;
}
.profile-field legend { padding: 0; margin-bottom: 5px; }
.profile-parts { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.profile-name label { flex: 1 1 125px; }
.profile-parts label, .profile-address > label { margin: 0; }
.profile-parts label input { display: block; margin-top: 4px; }
.profile-number label { flex: 0 1 74px; min-width: 54px; }
.profile-number label span {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.profile-number label input { margin-top: 0; }
.profile-address { display: grid; gap: 10px; }
.profile-address input, .profile-address select { margin-top: 3px; }
.profile-address button { white-space: nowrap; }
.profile-address-message:empty { display: none; }
.profile-choices { display: grid; gap: 9px; }
.profile-choices .check { align-items: baseline; }
.profile-choices input[type=radio], .profile-choices input[type=checkbox] {
  width: auto;
  height: auto;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  accent-color: #17493d;
}
.profile-help { color: #374f57; font-size: 0.91rem; margin: 8px 0; }
.profile-reference { display: block; height: auto; width: min(100%, 620px); margin: 10px 0 16px; }
.profile-order { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 0; }
.profile-order input[type=number] { width: 84px; }
.profile-order .state { flex: 0 0 auto; }
.profile-subtotal { font-weight: 700; }
@media (max-width: 520px) {
  .profile-name label { flex-basis: 92px; }
  .profile-number { gap: 6px; }
  .profile-number label { flex-basis: 60px; }
  .profile-postcode button { padding-inline: 9px; }
}
