/* MT.netフォーム用css */
/* /employment/contact/ */
body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;

}
.container {
  border: none;
  max-width: 100%;
  padding: 0 0 10px 0;

  .form-column {
    &:not(:first-of-type) {
      margin-top: 30px;
    }

    a {
      color: #333D7F;
      text-decoration: underline;
    }
    a[href^="tel:"] {
      pointer-events: none;
      text-decoration: none;
      color: #666;
    }
    label {
      color: #595959;
      font-size: 14px;
      font-weight: normal;
    }
    select, textarea, input[type="text"], input[type="url"], input[type="email"], input[type="tel"] {
      background-color: rgba(100, 100, 100, 0.1);
      border-color: rgba(0, 0, 0, 0.3);
      border-radius: 2px;
      border-width: .8px;
      box-shadow: inset 1px 1px 2px 0 rgba(0,0,0,.1);
      color: #333;
      font-size: 14px;
      padding: 17px;
      max-width: 100%;
      width: 100%;
    }
    select {
      width: 440px;
    }
    textarea, input[type="text"], input[type="url"], input[type="email"], input[type="tel"] {
      max-width: 100%;
      width: 100%;
    }
    .badge {
      border-radius: 2px;
      font-size: 14px;
      padding: 0 2px;
    }
    .badge-required {
      background: #f2859d;
      color: #000;
    }
    .badge-optional {
      display: inline;
      visibility: visible;
      background: #7fbee7;
      color: #000;
    }
  }
  
  .form-column[data-column-id="f25df180-aab2-42d9-b283-824e9e073ee5"],
  .form-column[data-column-id="915c8797-f664-45d3-824b-c72a7b062fb3"],
  .form-column[data-column-id="f3dae3f4-c1b6-4908-8682-364e6cd071ef"] {
    text-align: center;
  }

  .button-group {
    text-align: center;

    .button {
      border: none;
      border-radius: 2px;
      font-size: 16px;
      padding: 12px;
    }
    .button-confirm, .button-submit {
      background-color: #50C8A7;
      color: #184E41;
    }
    .button-submit .icon::before {
      color:#fff;
    }
    .button-back {
      background-color: #d9d9d9;
      color: #635712;
    }
  }

  .form-column-note {
    p {
      color: #666666;
    }
  }
  .form-column[data-column-id="1b773ef8-15e3-4ef1-aff5-3aa3aba284c9"] {
    p {
      color: #000;
    }
  }


  .form-column[data-column-id="f3dae3f4-c1b6-4908-8682-364e6cd071ef"] {
    &::after {
      content: '';
      background: #bcbcbc;
      display: block;
      margin: 14px auto 28px;
      height: 1px;
      width: 80%;
    }

    fieldset {
      border: none;
      position: relative;

      legend {
        visibility: hidden;
        position: absolute;
      }
      .input-group {
        label {
          color: #666666;
          margin-top: 0;
        }

        input[type="checkbox"] {
          vertical-align: middle;
        }
      }
    }
  }

  .form-column[data-column-id="f3dae3f4-c1b6-4908-8682-364e6cd071ef"] {
    .option-text {
      &::after {
        content: '必須';
        background: #f2859d;
        display: inline-block;
        border-radius: 2px;
        padding: 0 2px;
        font-size: 14px;
        color: #000;
        margin-left: 8px;
      }
    }
  }

  .form-column[data-column-id="f3dae3f4-c1b6-4908-8682-364e6cd071ef"] {
    margin-top: 0;
  }

  .form-column[data-column-id="915c8797-f664-45d3-824b-c72a7b062fb3"] {
    p {
      line-height: 2em;

      &:last-child {
        margin-top: 2rem;
      }
    }
  }

  .content-error {
    line-height: 2em;
  }

  /* 確認画面 */
  &:has(.content-form.hidden) {
    min-height: initial !important;
  }
  .content-confirmation {
    .preview-block {
      color: #000;
      padding: 17px 0;
      word-break: break-all;
    }
    .form-column-checkbox {
      display: none;
    }
    .form-column-note {
      display: none;
    }
  }
}

@media (max-width: 480px) {
  .container {
    .form-column {
      select {
        max-width: 100%;
        width: 100%;
      }
    }
  }
}


@media (max-width: 480px) {
  .container {
    .form-column {
      a[href^="tel:"] {
        pointer-events: auto;
        color: #333D7F;
      }
    }
  }
}