@charset "UTF-8";

/* =========================================================
  form
========================================================= */

/* surveyForms
----------------------------------------------- */
.surveyForms > *:not(:last-child) {
  margin-bottom: 20px;
}

.surveyForms .name a {
  display: block;
  padding: 15px 30px 15px 20px;
  border: 1px solid var(--ac-color-blue-2);
  border-radius: 8px;
  background: url(/_themes/minamiawa/site/images/arrow-blue.svg) right 15px center no-repeat var(--ac-color-blue-2);
  font-weight: 700;
  font-size: 1.125rem;
}

.surveyForms .name a:hover {
  opacity: 0.6;
}

.surveyForms .summary {
  padding: 10px 10px 10px 15px;
}

/* surveyForm
----------------------------------------------- */
.surveyForm > .body {
  margin-bottom: 60px;
}

.surveyForm .questions {
  margin-top: 20px;
  margin-bottom: 40px;
}

.surveyForm .question {
  margin-bottom: 40px;
}

.surveyForm .question .question_content {
  margin-bottom: 15px;
  font-size: 1.375rem;
}

.surveyForm form[action$="/send_answers"] .question .question_content:not(.free) {
  margin-bottom: 0;
}

.surveyForm .question .question_content label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 15px;
  font-weight: 500;
}

/* .surveyForm .question .question_content.free span { */
.surveyForm .question .question_content.free label {
  display: block;
  padding: 5px 5px 5px 15px;
  border-radius: 8px;
  background: var(--ac-color-blue-2);
  color: var(--ac-color-blue-1);
  font-weight: 700;
  font-size: 2.125rem;
}

.surveyForm .question .question_content .note {
  padding: 2px 6px 3px;
  border: 1px solid var(--ac-color-red-1);
  background: var(--ac-color-red-1);
  color: var(--mono-color-9);
  font-weight: 500;
  font-size: 0.875rem;
}

.surveyForm form[action$="/send_answers"] .question .question_content:not(.free) ~ .body {
  display: none;
}

.surveyForm .question .body > *:last-child {
  margin-bottom: 0 !important;
}

.surveyForm .question .answer_content {
  margin: 15px 0;
}

.surveyForm .question .question_content + .answer_content {
  margin-top: 0;
}

.surveyForm form[action$="/send_answers"] .question .answer_content {
  margin: 0;
}

.surveyForm .question .answer_content input[type="text"],
.surveyForm .question .answer_content input[type="email"],
.surveyForm .question .answer_content input[type="number"],
.surveyForm .question .answer_content select,
.surveyForm .question .answer_content textarea {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--mono-color-6);
  border-radius: 6px;
  background: var(--mono-color-8);
}

.surveyForm .question .answer_content input[type="text"]:focus,
.surveyForm .question .answer_content input[type="email"]:focus,
.surveyForm .question .answer_content select:focus,
.surveyForm .question .answer_content textarea:focus {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  background: var(--mono-color-9);
  outline: none !important;
  transition: border linear 0.2s, box-shadow linear 0.2s;
}

.surveyForm .question .answer_content input::placeholder,
.surveyForm .question .answer_content textarea::placeholder {
  color: #d0d0d0;
}

.surveyForm .question .answer_content textarea {
  width: 100%;
  vertical-align: bottom;
}

.surveyForm .question .answer_content .max_length {
  display: block;
  margin-top: 5px;
  font-size: 0.875rem;
}

.surveyForm .question .answer_content:has(label) {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 35px;
}

.surveyForm .question .answer_content input[type="radio"] {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  white-space: nowrap;
}

/* .surveyForm .question .answer_content input[type="radio"] ~ span { */
.surveyForm .question .answer_content input[type="radio"] + label {
  display: inline-block;
  position: relative;
  padding: 0  0 0 35px;
  margin-bottom: 3px;
  cursor: pointer;
}

/* .surveyForm .question .answer_content input[type="radio"]:focus ~ span { */
.surveyForm .question .answer_content input[type="radio"]:focus + label {
  outline: dotted !important;
}

/* .surveyForm .question .answer_content input[type="radio"] ~ span::before { */
.surveyForm .question .answer_content input[type="radio"] + label::before {
  content: "";
  position: absolute;
  top: calc(50% - 13px);
  left: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--mono-color-5);
  border-radius: 50%;
  background-color: var(--mono-color-8);
}

/* .surveyForm .question .answer_content input[type="radio"]:checked~ span::after { */
.surveyForm .question .answer_content input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ac-color-blue-1);
}

.surveyForm .question .answer_content input[type="checkbox"] {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  white-space: nowrap;
}

/* .surveyForm .question .answer_content input[type="checkbox"] ~ span { */
.surveyForm .question .answer_content input[type="checkbox"] + label {
  display: inline-block;
  position: relative;
  padding: 0  0 0 35px;
  margin-bottom: 3px;
  cursor: pointer;
}

/* .surveyForm .question .answer_content input[type="checkbox"]:focus ~ span { */
.surveyForm .question .answer_content input[type="checkbox"]:focus + label {
  outline: dotted !important;
}

/* .surveyForm .question .answer_content input[type="checkbox"] ~ span::before { */
.surveyForm .question .answer_content input[type="checkbox"] + label::before {
  content: "";
  position: absolute;
  top: calc(50% - 13px);
  left: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--mono-color-5);
  border-radius: 4px;
  background-color: var(--mono-color-8);
}

/* .surveyForm .question .answer_content input[type="checkbox"]:checked~ span::after { */
.surveyForm .question .answer_content input[type="checkbox"]:checked + label::after {
  content: "";
  position: absolute;
  top: calc(50% - 10px);
  left: 3px;
  width: 20px;
  height: 20px;
  background: url(/_themes/minamiawa/site/images/input-check.svg) center center / 20px auto no-repeat;
}

.surveyForm .question .answer_content [aria-invalid="true"] {
  border: 1px solid var(--ac-color-red-1) !important;
  background: #fad7d7 !important;
}

.surveyForm .question .answer_content.invalid label {
  color: var(--ac-color-red-1);
}

.captchaForm .image {
  margin: 0 0 15px;
}

.captchaForm img {
  padding: 5px;
  border: 1px solid var(--mono-color-6);
}

.captchaForm .reload,
.captchaForm .talk {
  display: inline-block;
  width: 140px;
  margin: 0 0 15px;
}

.captchaForm .reload {
  margin-right: 5px;
}

.captchaForm .reload a,
.captchaForm .talk a {
  display: block;
  padding: 4px 0 6px;
  border: 1px solid var(--mono-color-5);
  border-radius: 6px;
  background: linear-gradient(to bottom, #fff, #f7f7f7);
  color: var(--mono-color-1);
  text-decoration: none;
  text-align: center;
}

.captchaForm .reload a:hover,
.captchaForm .talk a:hover {
  background: linear-gradient(to bottom, #f7f7f7, #fff);
}

.captchaForm .player:not(:empty) {
  margin-bottom: 15px;
}

.captchaForm .label {
  margin-top: 5px;
}

.surveyForm .submit,
.surveyForm .back {
  text-align: center;
}

.surveyForm .submit input[type="submit"] {
  display: inline-block;
  min-width: 276px;
  margin: 0.5em;
  padding: 13px;
  border: 1px solid var(--ac-color-blue-1);
  border-radius: 6px;
  background: var(--ac-color-blue-1);
  color: var(--mono-color-9);
  font-size: 1.125rem;
  text-decoration: none;
  text-align: center;
  outline-offset: -4px;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.surveyForm .submit input[type="submit"]:hover {
  background: var(--mono-color-9);
  color: var(--ac-color-blue-1);
}

@media only screen and (max-width: 534px) {
  .surveyForm .question .question_content:not(.free) {
    font-size: 1.0625rem;
  }

  .surveyForm .question .answer_content:has(label) {
    gap: 20px 25px;
  }

  .surveyForm .submit input[type="submit"],
  .surveyForm .back a {
    min-width: 200px;
  }
}

/* errorExplanation
----------------------------------------------- */
#errorExplanation {
  margin-bottom: 40px;
  padding: 15px;
  border: 1px solid var(--ac-color-red-1);
}

.surveyForm #errorExplanation h2 {
  margin-bottom: 5px;
  color: var(--ac-color-red-1);
  font-size: 1.125rem;
}

.surveyForm #errorExplanation p {
  margin-bottom: 5px;
}

.surveyForm #errorExplanation ul {
  list-style-type: disc;
  margin-left: 30px;
  color: var(--ac-color-red-1);
}

/* message
----------------------------------------------- */
.surveyForm .message {
  margin: 40px 0;
  text-align: center;
}

/* tour-form
----------------------------------------------- */
.surveyForm form[action$="send_answers"] .answer_content .price-body {
  display: none;
}
