.form {
  margin: 30px auto 60px;
}

@media (max-width: 860px) {
  .form {
    margin: 12px auto 24px;
  }
}

.form .form-group-two,
.form .form-group-three {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 2%;
}

.form .form-group {
  margin-bottom: 20px;
  min-height: 20px;
  /* overflow: hidden; */
  flex: 0 0 100%;
  clear: both;
}

.form .form-group .warn {
  font-size: var(--font-size);
  display: none;
}

.form .form-label {
  display: block;
  margin-bottom: 5px;
  padding-left: 3px;
}

.form .form-label:has(> img) {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form .form-subject {
  width: 600px;
  margin: 0 auto;
  padding-top: 20px;
  padding-bottom: 10px;
  text-align: center;
}

.form .form-action {
  float: right;
  padding-right: 3px;
}

.form .form-radio-group {
  display: flex;
  gap: 6px 12px;
  margin-top: 5px;
  /* flex-wrap: wrap; */
}

.form .form-radio-label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  margin-right: 20px;
}

.form .form-hint {
  font-size: var(--font-size-small);
  margin-top: 5px;
}

/*.form-title {
    font-weight: bold;
    margin-bottom: 15px;
}*/

.form-agreement {
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 36px);
  margin-left: 6px;
  margin-top: 1px;
}

.form .form-captcha {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.form-captcha-image {
  width: 120px;
  height: 40px;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: var(--font-size-big);
  color: #666;
  border: 1px solid #ccc;
}

/*.form-refresh-button {
    width: 30px;
    height: 30px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}*/

.form .form-resend {
  float: right;
  margin-right: 2px;
  cursor: pointer;
}

.form .form-resend:hover span {
  color: #bbb;
}

.form .form-line {
  height: 1px;
  background-color: #e0e0e0;
  margin-top: 60px;
  margin-bottom: 60px;
}

.form .content-box {
  line-height: 1.6;
  color: #000;
  margin-bottom: 20px;
}

.form .content-box.concat {
  margin-bottom: 8px;
}

.form .list-box {
  padding-left: 20px;
  margin-bottom: 20px;
}

.form .list-box li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/*.member:hover{
    border: #000 1px solid;
    font-weight: 500;
}*/

.form .options-box {
  border: #aaa 1px solid;
  border-radius: 1px;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 20px;
  cursor: pointer;
}

.form .options-box img {
  width: 20px;
  float: right;
  margin-right: 0px;
  margin-left: 10px;
  margin-top: 5px;
}

.form .options-box .radio {
  margin-right: 6px;
}

.form .options-box .radio span {
  margin-bottom: -6px;
}

.form .options-box .radio {
  margin-right: 6px;
}

.form .options-box .help {
  float: right;
  margin-right: 8px;
  margin-top: 4px;
}

.form .btns-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1%;
  margin: 24px auto 0;
}

.form .btns-box.btns-group {
  margin-top: 20px;
}

.form .btns-box .btn {
  width: 100%;
}

.form .btns-box .btn-two {
  width: 49%;
}

.form .btns-box .btn-three {
  width: 32%;
}

.form .btns-box .btn-four {
  width: 24%;
}

.form .upload-area.dragover {
  border-color: #007bff;
}

.form .upload-label {
  display: block;
  cursor: pointer;
}

.form .upload-icon {
  font-size: 40px;
  color: #007bff;
}

.form .upload-success {
  width: 20px;
  margin-top: 0px;
  margin-bottom: -4px;
  margin-left: 5px;
}

.form .upload-text {
  display: block;
  margin-top: 8px;
  color: #555;
}

.form .upload-tips {
  display: block;
  line-height: 22px;
  color: #555;
  font-size: var(--font-size-small);
}

.form .file-input {
  display: none;
}

.form .file-list {
  text-align: left;
  min-width: 300px;
  max-width: 500px;
  overflow: hidden;
  gap: 12px;
}

.form .file-item {
  margin-top: 5px;
  padding: 5px 0;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.form .file-item:last-child {
  border-bottom: none;
}

#form2,
#form3,
#form4,
#form5,
#form6,
#form7,
#form8 {
  display: none;
}

@media (min-width: 760.2px) {
  .form .form-group-two .form-group {
    flex: 0 0 49%;
  }
}

@media (max-width: 760px) {
  .form .btns-box .btn-two,
  .form .btns-box .btn-three {
    width: 100%;
    margin-bottom: 12px;
  }
}

@media (min-width: 480px) {
  .form .form-group-three .form-group {
    flex: 0 0 32%;
  }
}

#formQuestionaire .checkbox-blue {
  display: flex;
  align-items: center;
  gap: 12px;
}

.readonly-case input[readonly],
.readonly-case select[readonly],
.readonly-case textarea[readonly] {
  pointer-events: none;
  background-color: #eee;
}
