/* ========================================
  Modal form  
  =========================================*/
  .modal-form {
    max-height: 80%;
    overflow: auto;
    
  }

  .modal-form::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
  }
  
  .modal-form::-webkit-scrollbar {
    width: 7px;
    background-color: #F5F5F5;
  }
  
  .modal-form::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #212121;
  }

  /* Close button 
  ---------------------------------*/
  .modal-form button {
    font-size: 32px;
    font-weight: 300;
    background-color: transparent;
  }
  .modal-header .close {
    margin-right: 0;
  }

  @media (max-width: 480px) {
    .modal-header .close {
      padding: 0;
      margin: 0;
      border-radius: 0;
      background-color: transparent;
      opacity: 0.2;
      position: relative;
      top: calc(50% - 10px);
    }
  }
  /* Modal header
  ---------------------------------*/
  .modal-form .modal-header {
    margin-bottom: 20px;
    height: 35px;
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);

    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0);
    box-sizing: unset;
  }

  /* Modal body
  ---------------------------------*/
  .modal-form .modal-body {
    clear: right;
    margin: 0 20px 40px;
    padding: 0;
  }

  .modal-form .hbspt-form {
    font-family: 'Noto Sans JP', sans-serif;
  }

  /* hbspt form
  ---------------------------------*/
  /* 1 - Field  */
  .hs-form-field {
    margin-bottom: 20px;
  }

  /* 1.1 - Label */
  .hbspt-form label {
    color: #000;
    font-size: 14px;
    font-weight: 500;
  }

  .hbspt-form .hs-form-required {
    color: red;
  }

  /* 1.2 - Input */
  .hbspt-form input, .hbspt-form textarea {
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-size: 14px;
    height: 35px;
    border-radius: 3px;
    box-sizing: border-box;
  }

  /* 1.3 - Textarea */
  .hbspt-form textarea {
    height: 80px;
    box-sizing: border-box;
  }

  /* 1.4 - Error message field */
  .hbspt-form .hs-error-msgs label {
    font-size: 12px;
    color: red;
    font-weight: 400;
  }

  /* 1.5 - Error message form  */
  .hbspt-form .hs_error_rollup {
    margin-bottom: 10px;
    text-align: center;
  }
  .hbspt-form .hs_error_rollup label {
    text-align: center;
    font-size: 14px;
  }

  /* 1.5 - Submit area */
  .hs_submit {
    margin-top: 30px;
  }
  .hs_submit .actions {
    text-align: center;
  }
  .hs_submit .actions .hs-button {
    width: 180px;
    height: 36px;
    font-weight: bold;
    border: 1px solid  #212121;
    border-radius: 18px;
    background-color: #212121;
    color: #fff;
    transition: all .3s;
  }

  .hs_submit .actions .hs-button:hover {
    background-color: #454545;
    color: #fff;
  }

  

  .hbspt-form .submitted-message {
    text-align: center;
    margin-top: 20px;
  }
  .hbspt-form .submitted-message p {
    font-size: 14px;
   
  }
  .hbspt-form .submitted-message p a {
    text-decoration: underline;
  }
