@charset "utf-8";

.formcontainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 15px 30px;
  margin: 30px 0;
  background-color: white;
  align-items: center;
}
.left {
  display: flex;
  width: 100%;
  justify-content: left;
}
dl.formbody {
  display: flex;
  flex-direction: column;
  width: 90%;
}
dl.formcol dt.inner {
  width: 100%;
  margin: 15px 0;
  text-align: left;
  font-size: 15px;
  font-weight: normal;
}
dl.formcol dd {
  width: 100%;
  margin: 5px 0;
  text-align: left;
  font-size: 15px;
  font-weight: normal;
}
.formcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 10px 0;
  & dt {
    margin: 15px auto;
    display: inline-block;
    width: 80%;
    font-size: 18.5px;
    font-weight: bold;
  }
  & dd {
    width: 80%;
    text-align: left;
    margin: 0 auto;
  }
  & dd.innerform {
    display: flex;
    flex-direction: column;
  }
  & input[type="text"],
  input[type="email"] {
    width: 100%;
    height: 30px;
    margin: 8px 0;
    border: 1px solid #2c2c2c;
    border-radius: 5px;
    padding: 5px;
  }
}
dd.innerform .formrow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  & dd {
    width: 70%;
  }
}
dt.inner {
  width: 15%;
  margin: 10px 20px;
  margin-right: 35px;
  text-align: right;
  font-size: 15px;
  font-weight: normal;
}
.formcolcol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 10px 0;
  & dt {
    margin: 15px auto;
    display: inline-block;
    width: 80%;
    font-size: 18.5px;
    font-weight: bold;
  }
  & dd {
    width: 80%;
    text-align: left;
    margin: 0 auto;
  }
  & textarea {
    display: inline-block;
    margin: 0 auto;
    width: 100%;
    border: 1px solid #2c2c2c;
    border-radius: 5px;
    resize: none;
    padding: 5px;
  }
}
/* .innerform {
  & dt {
    width: 20%;
    text-align: right;
  }
  & dd {
    width: 80%;
  }
} */
.buttoncontainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  & input[type="submit"] {
    width: 175px;
    height: 65px;
    margin: 20px 0;
    background-color: #80cbc4;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 10px;
    text-align: center;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: 0.5s ease-out;
    &:hover {
      letter-spacing: 0.5em;
      opacity: 0.5;
    }
  }
  & button.totopback {
    width: 175px;
    height: 65px;
    margin: 20px 0;
    background-color: #80cbc4;
    color: white;
    font-weight: bold;
    font-size: 20px;
    padding: 10px;
    text-align: center;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: 0.5s ease-out;
    &:hover {
      letter-spacing: 0.5em;
      opacity: 0.5;
    }
  }
}
#btn_back {
  margin-right: 20px;
}
.confirmation {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 15px 30px;
  margin: 30px 0;
  background-color: white;
  align-items: center;
}
@media only screen and (max-width: 768px) {
  .formcontainer {
    padding: 12px 24px;
    margin: 18px 0;
  }
  dl.formbody {
    width: 100%;
  }
  .formcol {
    margin: 10px 0;
    & dt {
      margin: 12px;
      margin-left: 0;
      width: 100%;
      font-size: 15px;
    }
    & dd {
      width: 100%;
    }
    & input[type="text"],
    input[type="email"] {
      width: 100%;
      height: 24px;
      font-size: 12.5px;
    }
  }
  dd.innerform .formrow {
    flex-direction: column;
    margin: 10px 0;
    & dd {
      width: 100%;
    }
  }
  dt.inner {
    width: 100%;
    margin: 8px 10px;
    margin-left: 0;
    text-align: left;
    font-size: 13.5px;
  }
  .formcolcol {
    & dt {
      margin: 12px auto;
      width: 100%;
      font-size: 15px;
    }
    & dd {
      width: 100%;
    }
    & textarea {
      width: 100%;
      height: 200px;
    }
  }
  .buttoncontainer {
    & input[type="submit"] {
      width: 100px;
      height: 45px;
      margin: 14.5px 0;
      font-size: 16.5px;
      padding: 8px;
      border-radius: 20px;
    }
    & button.totopback {
      width: 100px;
      height: 45px;
      margin: 14.5px 0;
      font-size: 16.5px;
      padding: 8px;
      border-radius: 20px;
    }
  }
}
