@charset "UTF-8";

/* お問い合わせ
***************************************************************/

/* お問い合わせフォーム */
#contact-header {
    background-image: url(../../images/contact-header.png);
    background-size: cover;
    padding: 110px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .contact-header-title {
    width: 100%;
    max-width: 240px;
  }

  #contact-info {
    display: flex;
    flex-direction: column;
    padding: 40px 20px 70px;
    align-items: center;
    justify-content: center;
  }

  .contact-info-text {
    max-width: 760px;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .contact-info-text span{
    display: inline;
  }

  .wpcf7-list-item-label{
    font-weight: 500;
  }

  .contact-info-phone {
    max-width: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    background: #f3f5f8;
    border: 1px solid rgb(21 72 145 / 25%);
    margin-top: 40px;
    padding: 20px;
  }

  .contact-phone-title {
    max-width: 250px;
    width: 100%;
  }
  .contact-phone-number {
    max-width: 360px;
    width: 100%;
  }
  .contact-phone-number a {
    text-decoration: none;
  }

  #contact-form {
    background: #f3f5f8;
    overflow: hidden;
  }

  .form-container {
    max-width: 940px;
    margin: 0 auto;
    padding: 50px 120px;
  }

  .form-row {
    display: flex;
    gap: 20px;
  }

  .form-row .form-group {
    width: 50%;
  }

  .form-group {
    margin-bottom: 20px;
  }
  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .form-group textarea {
    resize: vertical;
    width: 190%;
  }

  .form-group .wpcf7-form-control-wrap .wpcf7-list-item input[type="checkbox"] {
    width: unset;
    margin-right: 10px;
  }

  .form-group input[type="radio"] {
    width: auto;
    margin-right: 10px;
  }
  .form-group p {
    margin: 0;
    font-weight: normal;
  }
  .form-footer {
    text-align: center;
    font-size: 14px;
    color: #222b3c;
    margin: 30px 0;
  }

  .form-footer p{
    margin: 0 calc(50% - 50vw);
    width: 100vw;
  }

  .form-submit {
    text-align: center;
  }

  .form-submit button {
    border: none;
  }

  .form-button {
    width: 100%;
    max-width: 320px;
  }
  label.diagnosis {
    font-weight: normal;
  }

  .text-orange-deep {
    color: #f37429;
  }

.submit-btn{
    max-width: 320px;
    margin: 0 auto;
}

#cta-floating{
    display: none;
}

.form-container br{
    display: none;
}

.form-submit .wpcf7-spinner{
    display: none;
}

@media screen and (min-width: 681px) {}

@media screen and (max-width: 680px) {
    #contact-header {
        background-position: right;
        padding: 160px 0;
    }

    .form-group .wpcf7-form-control-wrap .wpcf7-list-item input[type="checkbox"]{
        margin-right: 5px;
    }

    .wpcf7-list-item-label{
        display: inline;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    /* お問い合わせフォーム */
    .form-container {
      padding: 40px 20px;
    }

    .form-row {
      flex-direction: column;
      gap: 0;
    }
    .form-row .form-group {
      width: 100%;
    }

    .form-group textarea{
        width: 100%;
        height: 120px;
    }

    .form-footer p{
        margin: unset;
        width: unset;
    }
  }