/* =========================================================
   Content / Form
========================================================= */

/* surveyForms
----------------------------------------------- */
.surveyForms .cms-title {
  margin-bottom: 40px;
}
.surveyForms .cms-title h2.name {
  margin-bottom: 10px;
  border: 1px solid #000;
}
.surveyForms .cms-title h2.name a {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 15px 15px 15px 40px;
  border-left: 10px solid var(--clr-deep-blue);
  background: url(/_themes/acanthus/img/ic-arrow-black.svg) 20px center / 10px auto no-repeat;
  color: var(--font-color);
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.surveyForms .cms-title h2.name a:hover {
  opacity: 0.5;
  text-decoration: none;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
@media only screen and (max-width: 768px) {
  .surveyForms .cms-title {
    margin-bottom: 30px;
    font-size: 0.875rem;
  }
  .surveyForms .cms-title h2.name a {
    padding: 10px 5px 10px 20px;
    border-left: 10px solid var(--clr-deep-blue);
    background-position: 10px center;
    background-size: 5px auto;
  }
}

/* surveyForm
----------------------------------------------- */
.surveyForm > .body {
  margin-bottom: 40px;
}
.surveyForm .questions {
  padding: 50px min(5.5vw, 100px) 70px;
  border-right: 1px solid var(--clr-deep-blue);
  border-left: 1px solid var(--clr-deep-blue);
}
.surveyForm .questions .question {
  margin-bottom: 30px;
}
.surveyForm .questions .question .question_content:not(.free) {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}
.surveyForm .questions .question .question_content:not(.free) label {
  display: inline;
}
.surveyForm .questions .question .question_content:not(.free) label .note {
  display: inline-block;
  margin-left: 10px;
  padding: 2px 7px;
  border-radius: 5px;
  background: #F20013;
  color: #fff;
  font-size: 0.75rem;
  vertical-align: middle;
}
.surveyForm .questions .question .question_content.free {
  position: relative;
  max-width: 880px;
  margin-bottom: 30px;
  padding: 24px 25px;
  border-left: 30px solid var(--clr-deep-blue);
  background: var(--clr-deep-gray);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
}
.surveyForm .questions .question .answer_content input[type=text],
.surveyForm .questions .question .answer_content input[type=email],
.surveyForm .questions .question .answer_content textarea {
  max-width: 100%;
  padding: 25px 15px;
  border: 1px solid var(--clr-gray);
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1.125rem;
  font-family: inherit;
}
.surveyForm .questions .question .answer_content input[type=text]:focus,
.surveyForm .questions .question .answer_content input[type=email]:focus,
.surveyForm .questions .question .answer_content textarea:focus {
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  outline: none;
  transition-duration: 0.3s;
}
.surveyForm .questions .question .answer_content textarea {
  width: 100%;
  height: 10em;
}
.surveyForm .questions .question .answer_content select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  max-width: 100%;
  padding: 15px 60px 15px 15px;
  border: 1px solid var(--clr-gray);
  border-radius: 5px;
  background: url(/_themes/acanthus/img/ic-pulldown.svg) right 28px center no-repeat;
  box-sizing: border-box;
  font-size: 1.125rem;
  font-family: inherit;
}
.surveyForm .questions .question .answer_content label {
  font-size: 1.125rem;
  font-weight: 700;
  vertical-align: middle;
}
.surveyForm .questions .question .answer_content input[type=checkbox],
.surveyForm .questions .question .answer_content input[type=radio] {
  margin-right: 10px;
}
@media only screen and (max-width: 768px) {
  .surveyForm > .body {
    margin-bottom: 30px;
  }
  .surveyForm .questions {
    padding: 15px;
  }
  .surveyForm .questions .question {
    margin-bottom: 20px;
  }
  .surveyForm .questions .question .question_content:not(.free) {
    font-size: 0.875rem;
  }
  .surveyForm .questions .question .question_content.free {
    margin-bottom: 15px;
    padding: 8px 10px 8px 15px;
    border-left-width: 14px;
    font-size: 1.25rem;
  }
  .surveyForm .questions .question .answer_content input[type=text],
  .surveyForm .questions .question .answer_content input[type=email],
  .surveyForm .questions .question .answer_content textarea {
    padding: 15px;
    font-size: 1rem;
  }
  .surveyForm .questions .question .answer_content select {
    padding-right: 40px;
    background-position: right 15px center;
    background-size: 12px auto;
  }
  .surveyForm .questions .question .answer_content label {
    font-size: 0.875rem;
  }
}

/* yubinbango */
.surveyForm .questions .question .answer_content.adr-set {
  display: flex;
}
.surveyForm .questions .question .answer_content.adr-set .p-postal-code {
  flex-grow: 1;
  width: auto !important;
}
.surveyForm .questions .question .answer_content.adr-set #YubinBangoSetWrap {
  flex-grow: 0;
  flex-basis: 400px;
  margin-left: 40px;
}
.surveyForm .questions .question .answer_content.adr-set #YubinBangoSetWrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 12px 15px;
  border-radius: 5px;
  background: var(--clr-deep-blue);
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.surveyForm .questions .question .answer_content.adr-set #YubinBangoSetWrap a:hover {
  opacity: 0.5;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
@media only screen and (min-width: 769px), print {
  .surveyForm .questions .question .answer_content.adr-set #YubinBangoSetWrap a {
    min-width: 280px;
  }
}
@media only screen and (max-width: 768px) {
  .surveyForm .questions .question .answer_content.adr-set #YubinBangoSetWrap a {
    display: block;
    padding: 10px;
    font-size: 0.875rem;
  }
  .surveyForm .questions .question .answer_content.adr-set {
    display: block;
  }
  .surveyForm .questions .question .answer_content.adr-set .p-postal-code {
    width: 100%;
  }
  .surveyForm .questions .question .answer_content.adr-set #YubinBangoSetWrap {
    margin: 10px 0 0;
  }
}

/* input wrap (Check Box & Radio Button) */
.surveyForm .questions .question .question_content.check_box ~ .answer_content .wrap,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content .wrap {
  margin-bottom: 10px;
}
.surveyForm .questions .question .question_content.check_box ~ .answer_content .wrap label,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content .wrap label {
  display: inline;
}
.surveyForm .questions .question .question_content.check_box ~ .answer_content.flex,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.surveyForm .questions .question .question_content.check_box ~ .answer_content.flex .wrap,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex .wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 0 15px 0 0;
}
.surveyForm .questions .question .question_content.check_box ~ .answer_content.flex .wrap input,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex .wrap input {
  margin-top: 0.5em;
}
.surveyForm .questions .question .question_content.check_box ~ .answer_content.flex.col2 .wrap,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex.col2 .wrap {
  flex-basis: 50%;
}
.surveyForm .questions .question .question_content.check_box ~ .answer_content.flex.col3 .wrap,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex.col3 .wrap {
  flex-basis: 33%;
}
.surveyForm .questions .question .question_content.check_box ~ .answer_content.flex.col4 .wrap,
.surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex.col4 .wrap {
  flex-basis: 25%;
}
@media only screen and (max-width: 768px) {
  .surveyForm .questions .question .question_content.check_box ~ .answer_content.flex .wrap,
  .surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex .wrap {
    flex-basis: 50% !important;
    padding: 0 10px 0 0;
  }
  .surveyForm .questions .question .question_content.check_box ~ .answer_content.flex .wrap:last-child,
  .surveyForm .questions .question .question_content.radio_button ~ .answer_content.flex .wrap:last-child {
    flex-grow: 1;
  }
}

/* body */
.surveyForm .questions .question .body {
  margin: 0 0 15px;
}
.surveyForm .questions .question .body:not(.no-bg) {
  display: inline-block;
  min-width: 300px;
  padding: 5px 10px;
  border: 1px solid var(--clr-deep-gray);
  border-radius: 5px;
  background: var(--clr-ex-light-gray);
}
.surveyForm .questions .question .body > *:last-child {
  margin-bottom: 0 !important;
}
.surveyForm .questions .question .answer_content + .body {
  margin-top: 15px;
  margin-bottom: 0;
}
.surveyForm form[action$=send_answers] .questions .question .body {
  display: none;
}

/* flow */
.surveyForm .surveyFormFlow {
  display: flex;
  margin: 0;
  padding: 0;
  border: 1px solid var(--clr-deep-blue);
  background: var(--clr-light-blue);
  overflow: hidden;
}
.surveyForm .surveyFormFlow li {
  flex: 1 1 0;
  position: relative;
  padding: 25px 15px;
  color: var(--clr-deep-blue);
  font-size: 1.5rem;
  text-align: center;
}
.surveyForm .surveyFormFlow li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  transform: translateY(-50%);
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 28px solid var(--clr-deep-blue);
}
.surveyForm .surveyFormFlow li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(100% + 1px);
  transform: translateY(-50%);
  border-top: 50px solid transparent;
  border-bottom: 50px solid transparent;
  border-left: 28px solid var(--clr-light-blue);
}
.surveyForm .surveyFormFlow li.current {
  background: var(--clr-deep-blue);
  color: #fff;
}
.surveyForm .surveyFormFlow li.current::before {
  display: none;
}
.surveyForm .surveyFormFlow li.current:not(:first-child)::after {
  right: calc(100% - 28px);
}
.surveyForm .surveyFormFlow li.current + li::before {
  z-index: 1;
}
.surveyForm .surveyFormFlow li.current + li::after {
  top: 0;
  right: 100%;
  bottom: 0;
  transform: none;
  width: 28px;
  border: none;
  background: var(--clr-light-blue);
}
.surveyForm .surveyFormFlow li span {
  font-size: 1rem;
  font-family: var(--font-family-montserrat);
  letter-spacing: 0.1em;
}
.surveyForm .surveyFormFlow li b {
  margin-right: 5px;
  font-size: 1.5rem;
  font-family: var(--font-family-montserrat);
  letter-spacing: 0.1em;
}
@media only screen and (max-width: 768px) {
  .surveyForm .surveyFormFlow li {
    padding: 15px 10px;
    font-size: 0.875rem;
  }
  .surveyForm .surveyFormFlow li::before {
    border-left-width: 14px;
  }
  .surveyForm .surveyFormFlow li::after {
    border-left-width: 14px;
  }
  .surveyForm .surveyFormFlow li.current:not(:first-child)::after {
    right: calc(100% - 14px);
  }
  .surveyForm .surveyFormFlow li.current + li::after {
    width: 14px;
  }
  .surveyForm .surveyFormFlow li span {
    font-size: 0.75rem;
  }
  .surveyForm .surveyFormFlow li b {
    font-size: 1rem;
  }
}

/* submit */
.surveyForm .submit {
  padding: 0 100px 80px;
  border: 1px solid var(--clr-deep-blue);
  border-top: none;
  text-align: center;
}
.surveyForm .submit input {
  max-width: 800px;
  position: relative;
  width: 100%;
  margin: 0 auto 20px;
  padding: 18px 65px;
  border: 1px solid var(--clr-deep-blue);
  background: var(--clr-deep-blue);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 400;
  text-align: center;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  background: url(/_themes/acanthus/img/form-ic-next-wht.svg) right 20px center no-repeat var(--clr-deep-blue);
}
.surveyForm .submit input.shadow, .surveyForm .submit input:hover {
  box-shadow: 10px 10px #000;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.surveyForm .submit input[name=edit_answers] {
  background: url(/_themes/acanthus/img/form-ic-prev-blk.svg) left 20px center no-repeat var(--clr-light-gray);
  border-color: var(--clr-light-gray);
  color: var(--font-color);
}
@media only screen and (min-width: 769px), print {
  .surveyForm form[action$=send_answers] .submit {
    display: flex;
  }
  .surveyForm form[action$=send_answers] .submit input {
    flex: 1 1 0;
  }
  .surveyForm form[action$=send_answers] .submit input:last-child {
    margin-left: 40px;
  }
}
@media only screen and (max-width: 768px) {
  .surveyForm .submit {
    padding: 0 15px 15px;
  }
  .surveyForm .submit input {
    margin-bottom: 15px;
    padding: 10px 30px;
    background-position: right 8px center;
    font-size: 1rem;
  }
  .surveyForm .submit input[name=edit_answers] {
    background-position: left 8px center;
  }
}

/* errorExplanation */
.surveyForm form #errorExplanation {
  margin-bottom: 40px;
  padding: 10px;
  border: 1px solid #ee0000;
  background-color: #fff;
}
.surveyForm form #errorExplanation h2 {
  margin: 0 0 5px 15px;
  padding: 0;
  color: #ee0000;
  background: none;
  box-shadow: none;
  text-shadow: none;
  font-size: 120%;
}
.surveyForm form #errorExplanation p {
  margin-left: 15px;
}
.surveyForm form #errorExplanation ul {
  list-style-type: disc;
  margin-left: 30px;
}
.surveyForm form #errorExplanation li {
  list-style-type: disc;
  color: #ee0000;
}
@media only screen and (max-width: 768px) {
  .surveyForm form #errorExplanation {
    margin-bottom: 25px;
  }
}

/* message */
.surveyForm .message {
  margin: 60px 0;
}
.surveyForm .back {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 18px 65px;
  border: 1px solid var(--clr-deep-blue);
  background: url(/_themes/acanthus/img/form-ic-prev-wht.svg) left 20px center no-repeat var(--clr-deep-blue);
  color: #fff;
  font-size: 1.375rem;
  font-weight: 400;
  text-align: center;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.surveyForm .back.shadow, .surveyForm .back:hover {
  box-shadow: 10px 10px #000;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.surveyForm .back a {
  color: inherit;
  text-decoration: none;
}
.surveyForm .back a::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none !important;
}
@media only screen and (max-width: 768px) {
  .surveyForm .back {
    margin-top: 30px;
    margin-bottom: 15px;
    padding: 10px 30px;
    background-position: left 8px center;
    font-size: 0.875rem;
  }
}


/* captchaForm
----------------------------------------------- */
.surveyForm .questions + .question {
  margin-top: -45px;
  padding: 0 min(5.5vw,100px) 70px;
  border-right: 1px solid var(--clr-deep-blue);
  border-left: 1px solid var(--clr-deep-blue);
}
.surveyForm .questions + .question .question_content {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
}
.surveyForm .questions + .question .question_content label {
  display: inline;
}
.surveyForm .questions + .question .captchaForm .image {
  margin: 0 0 15px;
}
.surveyForm .questions + .question .captchaForm .image img {
  padding: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
}
.surveyForm .questions + .question .captchaForm .reload,
.surveyForm .questions + .question .captchaForm .talk {
  display: inline-block;
  min-width: 130px;
  margin: 0 0 25px;
}
.surveyForm .questions + .question .captchaForm .reload a,
.surveyForm .questions + .question .captchaForm .talk a {
  display: block;
  padding: 15px 30px;
  border: 1px solid var(--clr-deep-blue);
  border-radius: 8px;
  background-color: var(--clr-deep-blue);
  line-height: 1.2;
  text-decoration: none;
  transition-duration: 0.2s;
  color: #fff;
  text-align: center;
}
.surveyForm .questions + .question .captchaForm .reload a:hover,
.surveyForm .questions + .question .captchaForm .talk a:hover {
  color: inherit;
  border-color: var(--clr-deep-blue);
  background-color: #fff;
  transition-duration: 0.2s;
}
.surveyForm .questions + .question .captchaForm .reload {
  margin-right: 10px;
}
.surveyForm .questions + .question .captchaForm .player {
  margin-bottom: 15px;
}
.surveyForm .questions + .question .captchaForm .field {
  margin-bottom: 15px;
}
.surveyForm .questions + .question .captchaForm .field input {
  width: 100%;
  max-width: 340px;
  padding: 4px 6px;
  border: 1px solid var(--clr-gray);
  border-radius: 5px;
}
.surveyForm .questions + .question .captchaForm .field input:focus {
  background: #fff;
  border: 1px solid #bbb;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
  outline: none;
  transition-duration: 0.3s;
}
@media only screen and (max-width: 768px) {
  .surveyForm .questions + .question {
    margin-top: -15px;
    padding: 0 15px 25px;
  }
  .surveyForm .questions + .question .question_content {
    font-size: 0.875rem;
  }
  .surveyForm .questions + .question .captchaForm .reload,
  .surveyForm .questions + .question .captchaForm .talk {
    margin-bottom: 15px;
  }
  .surveyForm .questions + .question .captchaForm .reload a,
  .surveyForm .questions + .question .captchaForm .talk a {
    padding: 10px 15px;
    font-size: 1rem;
  }
  .surveyForm .questions + .question .captchaForm .label {
    font-size: 0.875rem;
  }
}