#agree_form {
  max-width: 1100px;
  margin: 32px auto;
  padding: 24px;
  line-height: 1.7;
}

#agree_form .textarea {
  max-height: 420px;
  overflow: auto;
  border: 1px solid #ddd;
  padding: 20px;
  margin: 16px 0;
}

#agree_form table { width: 100%; border-collapse: collapse; }
#agree_form td, #agree_form th { padding: 8px; border: 1px solid #ddd; }

#agree_form .submit_div {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--background_border, #dbdbdb);
}

#agree_form .submit {
  appearance: none;
  box-sizing: border-box;
  width: 240px;
  max-width: 100%;
  min-height: 56px;
  padding: 14px 32px;
  border: 1px solid var(--button, #3d7cff);
  border-radius: 8px;
  background: var(--button, #3d7cff);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(61, 124, 255, 0.2);
  transition: background-color 150ms ease, box-shadow 150ms ease;
}

#agree_form .submit:hover { background: #2864dc; border-color: #2864dc; }
#agree_form .submit:focus-visible { outline: 3px solid #1c2331; outline-offset: 3px; }

@media (max-width: 640px) {
  #agree_form { margin: 20px auto; padding: 16px; }
  #agree_form .submit { width: 100%; max-width: 360px; }
}
