/*
 * Keep form action labels visible when iOS Safari supplies a light system
 * button text color while the theme uses an explicitly white background.
 */
.loading,
.loading-entry {
  display: none !important;
}

.form .-button button {
  color: #000;
  -webkit-text-fill-color: currentColor;
}

@media screen and (min-width: 737px) {
  .form input[name="c-b-year"],
  .form input[name="c-b-month"],
  .form input[name="c-b-day"] {
    width: 30%;
  }
}

@media screen and (max-width: 736px) {
  .form > table tr td.add .-wrap:first-child {
    align-items: center;
    column-gap: 8px;
    display: grid;
    grid-template-columns:
      calc(3ch + 28px)
      1ch
      calc(4ch + 28px);
    justify-content: start;
  }

  .form > table tr td.add .-wrap:first-child .error {
    grid-column: 1 / -1;
  }

  .form > table tr td.add .-wrap:first-child input[name="郵便番号1"] {
    grid-column: 1;
  }

  .form > table tr td.add .-wrap:first-child input[name="郵便番号2"] {
    grid-column: 3;
  }

  .form > table tr td.add .-wrap:first-child input[name="郵便番号1"],
  .form > table tr td.add .-wrap:first-child input[name="郵便番号2"] {
    margin: 0 !important;
    min-width: 0;
    width: 100% !important;
  }
}
