:root {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: rgba(0, 0, 0, 0.9);
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: #fff; font-size: 17px; line-height: 1.41176471; }
button, input, textarea { font: inherit; }
[hidden] { display: none !important; }

.screen { width: 100%; min-height: 100dvh; background: #fff; }
.cells-title {
  margin: 16px 0 3px;
  padding: 0 16px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 14px;
  line-height: 1.4;
}
.cells { position: relative; overflow: hidden; background: #fff; }
.cells::before, .cells::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  z-index: 2;
  height: 1px;
  transform: scaleY(0.5);
  background: rgba(0, 0, 0, 0.1);
}
.cells::before { top: 0; transform-origin: 0 0; }
.cells::after { bottom: 0; transform-origin: 0 100%; }
.cell {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 16px;
  background: #fff;
}
.cell + .cell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 16px;
  height: 1px;
  transform: scaleY(0.5);
  transform-origin: 0 0;
  background: rgba(0, 0, 0, 0.1);
}
.reason-row {
  width: 100%;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.reason-row:active { background: #ececec; }
.reason-row span:first-child { flex: 1; }
.chevron { position: relative; width: 22px; height: 24px; color: #b2b2b2; }
.chevron::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 3px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
}
.notice-link {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  color: #5b6b8c;
  font-size: 15px;
  text-decoration: none;
}

.control-area { margin: 24px 0; }
.form-group { position: relative; }
.form-group + .form-group { margin-top: 8px; }
.form-group .cell { padding: 16px 32px; }
.form-group .cell::before, .form-group .cell::after {
  content: "";
  position: absolute;
  right: 32px;
  left: 32px;
  height: 1px;
  transform: scaleY(0.5);
  background: rgba(0, 0, 0, 0.1);
}
.form-group .cell::before { top: 0; transform-origin: 0 0; }
.form-group .cell::after { bottom: 0; transform-origin: 0 100%; }
.contact-row { min-height: 57px; }
.label { display: block; width: 113px; padding-right: 16px; }
.input, .textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
}
.input { height: 1.41176471em; line-height: 1.41176471; }
.input::placeholder, .textarea::placeholder { color: #bbb; opacity: 1; }
.uploader-cell { align-items: flex-start; padding-top: 16px !important; padding-bottom: 16px !important; }
.uploader { width: 100%; }
.uploader-head { display: flex; align-items: center; padding-bottom: 16px; }
.uploader-head p { flex: 1; margin: 0; }
.uploader-count { color: rgba(0, 0, 0, 0.3); }
.uploader-body { display: flow-root; margin-right: -8px; margin-bottom: -8px; }
.preview-list { margin: 0; padding: 0; list-style: none; }
.preview-item, .upload-box {
  position: relative;
  float: left;
  width: 96px;
  height: 96px;
  margin: 0 8px 8px 0;
  overflow: hidden;
  background: #ededed;
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.remove-image {
  position: absolute;
  top: 2px;
  right: 2px;
  z-index: 1;
  display: grid;
  width: 20px;
  height: 20px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #ff3b30;
  line-height: 20px;
  cursor: pointer;
}
.upload-box { cursor: pointer; }
.upload-box::before, .upload-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #a3a3a3;
  transform: translate(-50%, -50%);
}
.upload-box::before { width: 2px; height: 32px; }
.upload-box::after { width: 32px; height: 2px; }
.upload-box input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.content-group { margin-top: 0 !important; }
.form-title { display: block; margin: 24px 0 8px; padding: 0 32px; }
.form-cells::before, .form-cells::after { right: 32px; left: 32px; }
.textarea-cell { min-height: 98px; align-items: flex-start; }
.textarea-cell::before, .textarea-cell::after { display: none; }
.textarea { display: block; resize: none; line-height: 1.41176471; }
.operation-area { margin-bottom: 96px; }
.consent-row { display: flex; gap: 8px; align-items: flex-start; margin: 24px 32px 0; color: rgba(0, 0, 0, 0.65); font-size: 14px; line-height: 1.5; }
.consent-row input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #07c160; }
.form-error { margin: 12px 32px 0; color: #fa5151; font-size: 14px; }
.button {
  position: relative;
  display: block;
  width: 184px;
  margin: 0 auto;
  padding: 8px 24px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.41176471;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.button-primary { background: #07c160; }
.button:active:not(:disabled) { transform: translateY(1px); background: #06ad56; }
.button:disabled { color: #fff; background: #ccc; cursor: not-allowed; }
.button.is-loading { color: transparent; pointer-events: none; }
.button.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 17px; height: 17px; margin: -9px 0 0 -9px; border: 2px solid rgba(255,255,255,.45); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .button.is-loading::after { animation: none; } }

.message-screen { padding-top: calc(48px + env(safe-area-inset-top)); text-align: center; }
.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 32px;
  border-radius: 50%;
  background: #07c160;
  position: relative;
}
.success-icon::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 17px;
  width: 27px;
  height: 14px;
  transform: rotate(-45deg);
  border-bottom: 4px solid #fff;
  border-left: 4px solid #fff;
}
.message-text { min-height: calc(100dvh - 288px); margin-bottom: 32px; padding: 0 32px; }
.message-text h1 { margin: 0 0 16px; color: #191919; font-size: 22px; font-weight: 400; line-height: 1.6; }
.message-text p { margin: 0 0 16px; font-size: 17px; line-height: 1.6; }

@media (min-width: 700px) {
  body { background: #f2f2f2; }
  #app { width: 430px; min-height: 100dvh; margin: 0 auto; background: #fff; box-shadow: 0 0 30px rgba(0, 0, 0, 0.06); }
}
