@charset "utf-8";

#kiso-form-app {
  position: relative;
}

.kiso-form-bg {
  border-radius: 0;
}

#kiso-form-app .kiso-form-shell {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(25, 71, 112, 0.12);
  padding: 40px;
}

#kiso-form-app .kiso-form-title {
  font-size: 2.6rem;
  line-height: 1.3;
  text-align: center;
  color: #086db0;
  margin: 0 0 24px;
}

#kiso-form-app .kiso-form-lead,
#kiso-form-app .kiso-form-note {
  text-align: center;
  margin: 0 0 14px;
}

#kiso-form-app .need {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #d1060a;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

#kiso-form-app .kiso-stepbar {
  display: flex;
  gap: 12px;
  justify-content: center;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

#kiso-form-app .kiso-stepbar .step {
  min-width: 110px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #e5eef6;
  color: #5f7284;
  font-weight: 700;
  text-align: center;
}

#kiso-form-app .kiso-stepbar .step.current {
  background: #086db0;
  color: #fff;
}

#kiso-form-app .kiso-stepbar .step.done {
  background: #cfe4f3;
  color: #086db0;
}

#kiso-form-app .kiso-error-summary {
  margin: 0 0 20px;
  padding: 16px 20px;
  border-radius: 14px;
  background: #fff2f2;
  border: 1px solid #f0b8b8;
}

#kiso-form-app .kiso-error-summary ul {
  margin: 0;
  padding-left: 20px;
}

#kiso-form-app .kiso-com-table {
  width: 100%;
  margin: 32px 0 24px;
  border-collapse: collapse;
}

#kiso-form-app .kiso-com-table tr {
  border-bottom: 1px solid #d5e2ec;
}

#kiso-form-app .kiso-com-table th,
#kiso-form-app .kiso-com-table td {
  padding: 18px 0;
  vertical-align: top;
}

#kiso-form-app .kiso-com-table th {
  width: 28%;
  text-align: left;
  font-size: 1.6rem;
  color: #143a59;
  font-weight: 700;
  padding-right: 24px;
}

#kiso-form-app .kiso-com-table td {
  text-align: left;
}

#kiso-form-app input[type="text"],
#kiso-form-app textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #9bbdd4;
  border-radius: 12px;
  box-sizing: border-box;
  background: #fff;
  color: #1a1a1a;
}

#kiso-form-app textarea {
  resize: vertical;
  min-height: 120px;
}

#kiso-form-app input[type="checkbox"],
#kiso-form-app input[type="radio"] {
  accent-color: #086db0;
}

#kiso-form-app .kiso-inline-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

#kiso-form-app .kiso-number-inline {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
}

#kiso-form-app .kiso-number-inline input {
  width: 360px;
  min-width: 360px;
  flex: 0 1 360px;
}

#kiso-form-app .kiso-birthday-group input,
#kiso-form-app .kiso-postal-group input {
  width: 110px;
}

#kiso-form-app .kiso-postal-group input:last-of-type {
  width: 130px;
}

#kiso-form-app .kiso-fixed-label,
#kiso-form-app .kiso-prefix {
  font-weight: 700;
  color: #143a59;
}

#kiso-form-app .kiso-option-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

#kiso-form-app .kiso-option-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#kiso-form-app .kiso-handbook-group {
  align-items: center;
}

#kiso-form-app .kiso-handbook-number {
  margin-top: 18px;
  width: 100%;
}

#kiso-form-app .kiso-handbook-number input {
  width: min(100%, 560px);
}

#kiso-form-app .kiso-option-detail {
  margin-top: 12px;
}

#kiso-form-app .kiso-help {
  margin: 8px 0 0;
  color: #546678;
  font-size: 1.3rem;
}

#kiso-form-app .error-info {
  margin: 8px 0 0;
  color: #d1060a;
  font-size: 1.3rem;
  font-weight: 700;
}

#kiso-form-app .kiso-btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

#kiso-form-app button[type="submit"],
#kiso-form-app button[type="reset"] {
  min-width: 200px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid #086db0;
  background: #086db0;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#kiso-form-app .btn_back {
  background: #fff;
  color: #086db0;
}

#kiso-form-app button:hover {
  opacity: 0.85;
}

#kiso-form-app button:disabled {
  opacity: 0.6;
  cursor: wait;
}

#kiso-form-app .kiso-form-loading {
  margin: 0;
  text-align: center;
}

@media screen and (max-width: 767px) {
  #kiso-form-app .kiso-form-shell {
    padding: 24px 18px;
    border-radius: 16px;
  }

  #kiso-form-app .kiso-form-title {
    font-size: 2.1rem;
  }

  #kiso-form-app .kiso-stepbar {
    gap: 8px;
  }

  #kiso-form-app .kiso-stepbar .step {
    min-width: 0;
    flex: 1 1 0;
    padding: 10px 8px;
    font-size: 1.3rem;
  }

  #kiso-form-app .kiso-com-table th,
  #kiso-form-app .kiso-com-table td {
    display: block;
    width: 100%;
    padding: 10px 0;
  }

  #kiso-form-app .kiso-com-table th {
    padding-right: 0;
  }

  #kiso-form-app .kiso-inline-group {
    gap: 8px;
  }

  #kiso-form-app .kiso-number-inline {
    gap: 6px;
  }

  #kiso-form-app .kiso-number-inline input {
    width: 240px;
    min-width: 240px;
    flex: 0 1 240px;
  }

  #kiso-form-app .kiso-handbook-number input {
    width: 100%;
    flex: 1 1 400px;
  }

  #kiso-form-app .kiso-handbook-number {
    margin-top: 14px;
    width: 100%;
  }

  #kiso-form-app .kiso-birthday-group input,
  #kiso-form-app .kiso-postal-group input {
    width: calc(50% - 16px);
    min-width: 96px;
  }

  #kiso-form-app .kiso-postal-group input:last-of-type {
    width: calc(50% - 16px);
  }

  #kiso-form-app .kiso-btns {
    flex-direction: column;
  }

  #kiso-form-app button[type="submit"],
  #kiso-form-app button[type="reset"] {
    width: 100%;
    min-width: 0;
  }
}
