select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
label,
input[type="checkbox"] {
  cursor: pointer;
}
input[type="checkbox"] {
  margin: 0 0.5rem 0 0;
}
input[type="submit"] {
  display: block;
  margin: 1rem auto 0;
  padding: 0.5rem 1.5rem;
  font-size: 1rem;
}
label span {
  display: inline-block;
}
header {
  margin: 4rem auto 0;
  text-align: center;
}
h1 {
  font-weight: bold;
  font-size: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
h1 span:first-child {
  margin: 0 1rem 0 0;
}
h2 {
  font-weight: bold;
  font-size: 1.5rem;
  margin: 1rem 0 -1rem;
  text-align: center;
}
main {
  max-width: 768px;
  margin: 4rem auto;
  padding: 0 4rem;
}
@media screen and (max-width: 599px) {
  main {
    padding: 0 0.5rem;
  }
}
.description p {
  margin: 0.5rem 0 0;
}
.form-area {
  margin: 2rem 0 auto;
}
fieldset {
  border: none;
  margin: 1rem 0 0;
  padding: 0;
}
legend {
  font-weight: normal;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 12px;
}
.name-set {
  display: flex;
}
.form-set {
  margin: 1rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.name-set {
  margin: 1rem auto 0;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
.name-set .form-set {
  margin: 0;
  width: 50%;
}
.address-set {
  margin: 1rem auto 0;
}

.address-set .form-set {
  margin: 1rem auto 0;
  width: 100%;
}

.form-set-half-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0 auto;
}

.form-set-half-container .form-set {
  width: 50%;
  margin-top: 0;
}

.form-set-half-container .form-set:first-child {
  margin-right: 1rem;
}

@media screen and (max-width: 599px) {
  .form-set-half-container {
    flex-direction: column;
  }
  .form-set-half-container .form-set {
    width: 100%;
  }

  .form-set-half-container .form-set:first-child {
    margin-right: 0;
  }
}
.checkbox-set {
  display: flex;
  flex-direction: column;
  padding: 0.25rem 0 0;
  gap: 0.25rem;
  align-items: flex-start;
}
.text-box,
.textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  box-sizing: border-box;
  border-radius: 2px;
  border: 2px solid #ddd;
}
.select-wrapper {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: 100%;
  border-radius: 2px;
  border: 2px solid #ddd;
  cursor: pointer;
}
.select-wrapper::before {
  position: absolute;
  top: 18px;
  right: 16px;
  width: 0;
  height: 0;
  border-width: 10px 5px 0 5px;
  border-style: solid;
  border-color: #ddd transparent transparent transparent;
  content: "";
  pointer-events: none;
}
.select-wrapper select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: none;
  box-sizing: border-box;
}
.annotation {
  margin: 0 0 0 0.25rem;
  font-size: 0.75rem;
  color: #666;
}
.submit-area {
  text-align: center;
}
.privacy {
  font-size: 0.75rem;
  color: #666;
  margin: 1rem 0 0;
  width: 100%;
  text-align: left;
  padding: 0 1rem;
  border-radius: 2px;
  border: 2px solid #ddd;
  box-sizing: border-box;
}
.privacy .form-set {
  display: block;
  margin: 2rem auto 1rem;
  text-align: center;
  font-size: 1rem;
  color: initial;
}
.error {
  color: red;
}
.error-result {
  display: none;
  margin: 2rem auto 0;
  text-align: center;
}
.error-contact-message {
  margin: 0.5rem auto 0;
}
#preview {
  display: none;
}
#preview .field-set {
  display: flex;
  flex-wrap: wrap;
}
#preview .field-set .field-label {
  min-width: 30%;
  font-weight: bold;
  text-align: left;
  padding: 0 1rem 0 0;
}
#preview .field-set .field-value {
  margin: 0;
}
#preview .multi-line-field-set {
  display: flex;
  flex-direction: column;
  width: 100%;
}
#preview .multi-line-field-set .field-label {
  display: flex;
  justify-content: flex-start;
  width: 100%;
  flex-wrap: wrap;
  font-weight: bold;
}
#preview .multi-line-field-set .field-value {
  margin: 0.5rem 0 0;
}
#preview .multi-line-field-set .field-multi-line-value {
  margin: 0.5rem 0 0;
  text-align: left;
  white-space: pre-wrap;
}
#preview .empty {
  color: #ccc;
}
#preview #cancel-button {
  width: 150px;
  margin: 2rem 0.5rem 0 0;
  padding: 0.25rem 1rem;
  font-size: 1rem;
}
#preview #submit-button {
  width: 150px;
  margin: 2rem 0 0 0.5rem;
  padding: 0.25rem 1rem;
  font-size: 1rem;
  background-color: #383535;
  color: #fff;
}
.thunks-message {
  display: none;
  margin: 2rem auto 0;
  text-align: center;
  font-size: 1.25rem;
  line-height: 2;
}
.thunks-message #back-button {
  display: block;
  width: 150px;
  margin: 2rem auto 0;
  padding: 0.25rem 1rem;
  font-size: 1rem;
}
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}
.cv-spinner {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.spinner {
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}
.is-hide {
  display: none;
}
