@charset "utf-8";

/*------------------------
	form.css
------------------------*/

.form {
  .inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 100px 0;
  }
  .form_ttl {
    max-width: 380px;
    width: 100%;
    margin: auto;
  }
  dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    div {
      display: flex;
      flex-direction: column;
      gap: 10px;
      dt {
        padding: 8px 16px;
        background: #e7b53e;
        font-size: 20px;
        font-weight: bold;
      }
      dd {
        padding: 10px 10px 0;
        ul {
          display: flex;
          flex-direction: column;
          gap: 35px;
          li {
            display: flex;
            flex-direction: column;
            gap: 15px;
            .form_title {
              font-size: 16px;
              font-weight: bold;
              span {
                font-size: 14px;
                padding: 6px 20px;
                background: #c50018;
                color: #fff;
                margin-right: 10px;
                &.off {
                  background: #878788;
                }
              }
            }
            input {
              height: 30px;
              padding: 0 10px;
            }
            select {
              width: 100%;
            }
            .form_sup {
              position: relative;
              top: -10px;
              margin-bottom: -10px;
            }
          }
        }
      }
    }
  }
  .submit {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    input {
      background: #c83b2d;
      border-radius: 15px;
      max-width: 550px;
      width: 100%;
      font-size: 28px;
      font-weight: bold;
      padding: 20px 0;
    }
  }
}

.form_end {
  .inner {
    gap: 50px;
  }
  .form_ttl {
    max-width: 500px;
  }
  .form_text {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .tac {
    margin: auto;
  }
}

@media screen and (max-width:736px) {
  .form {
    .inner {
      padding: 50px 0;
      gap: 40px;
    }
    dl {
      grid-template-columns: 1fr;
      div {
        dd {
          ul {
            li {
              input {
                width: calc(90vw - 24px);
              }
              select {
                width: 90vw;
              }
            }
          }
        }
      }
    }
    .submit {
      width: 90%;
      margin: auto;
      input {
        font-size: 20px;
        padding: 15px 0;
      }
    }
  }
}