/**入力ページ**/
#adjust_count {
  padding-bottom: 160px;
  padding-inline: 20px;
}
.adjust_count_inner {
  width: min(100%, 600px);
  margin-inline: auto;
}
.adjust_count_inner_catch {
  text-align: center;
  margin-bottom: 48px;
}
.adjust_count_inner_error {
  background: #f7f7f7;
  margin-bottom: 48px;
  padding-block: 14px;
  text-align: center !important;
  color: #ff3c1e;
  font-size: 14px;
  display: none;
  width: 100%;
  white-space: pre-line;
}
form .form_item.countnum input[type="number"] {
  width: 85px;
}
form .form_item.countnum .row {
  gap: 12px;
}
.form .submit button:before {
  display: none;
}
form .floating-banner {
  padding: 32px 0 16px;
}
form #spinner-container {
  position: relative;
  height: 32px;
  margin-bottom: 12px;
}
form .floating-banner div.spinner {
  position: absolute !important;
  transform: translate(-50%, -50%);
}
form .floating-banner p {
  padding: 0;
}

@media screen and (max-width: 767px) {
  .adjust_count_inner_catch {
    text-align: left;
  }
  .adjust_count_inner_error {
    text-align: center;
  }
}

/**結果ページ**/
#adjust_count_result {
  padding-bottom: 160px;
  padding-inline: 20px;
}
.adjust_count_result_inner {
  width: min(100%, 600px);
  margin-inline: auto;
}
.adjust_count_result_inner_catch {
  text-align: center;
  margin-bottom: 40px;
}
.adjust_count_result_inner_content {
  background: #f7f7f7;
  margin-bottom: 40px;
  padding: 24px;
  line-height: 1.8;
}
.adjust_count_result_inner_savebtn {
  margin-bottom: 48px;
}
.adjust_count_result_inner_savebtn button {
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: min(100% - 100px, 290px);
  margin-inline: auto;
  padding: 16px 0;
  background: var(--main-color);
  border: 1px solid var(--main-color);
  border-radius: 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
.adjust_count_result_inner_rebtn button {
  display: flex;
  flex-flow: row wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  width: min(100% - 100px, 290px);
  margin-inline: auto;
  padding: 16px 0;
  background: #fff;
  border: 1px solid var(--main-color);
  border-radius: 5px;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}
@media screen and (min-width: 768px) {
  .adjust_count_result_inner_savebtn button:hover {
    background: #fff;
    color: var(--main-color);
  }
  .adjust_count_result_inner_rebtn button:hover {
    background: var(--main-color);
    color: #fff;
  }
}
@media screen and (max-width: 767px) {
  .adjust_count_result_inner_catch {
    text-align: left;
  }
  .adjust_count_result_inner_savebtn {
    margin-bottom: 20px;
  }
}
