h1 {
  font-size: 20px;
  text-align: center;
}
body {
  padding: 10px;
  padding-bottom: 100px;
  font-size: 18px;
  line-height: 1.2em;
}
.section {
  margin-top: 20px;
  margin-bottom: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
}
h2.section-text {
  font-size: 18px;
  margin-bottom: 10px;
  padding: 10px 10px;
  border-radius: 10px;
  background-color: #c2dd89;
}
.section label {
  font-size: 18px;
  margin-right: 15px;
  padding: 3px 0px;
  display: block;
  line-height: 1.5em;
}
.section textarea {
  width: 100%;
  height: 10em;
  padding: 10px;
  border: solid 1px #777;
  border-radius: 10px;
  /* 16px以上ならフォーカス時の自動拡大が発生しない */
  font-size: 16px;
}
.section input[type='text'] {
  padding: 10px;
  border: solid 1px #777;
  border-radius: 10px;
  /* 16px以上ならフォーカス時の自動拡大が発生しない */
  font-size: 16px;
}
.section textarea.preview {
  color: #aaa;
}
button {
  font-size: 20px;
  padding-left: 20px;
  padding-right: 20px;
  background: #96c03d;
  color: #fff;
  border: solid 0px #80a334;
  border-bottom: solid 4px#80A334;
  border-radius: 3px;
}

button:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(4px); /*下に動く*/
  border-bottom: none; /*線を消す*/
}

button:disabled {
  border-bottom: solid 4px #777;
  background: #aaa;
}

.buttons button {
  display: block;
  width: 300px;
  margin: 10px 0px;
}

#app-chooser {
  top: 20px;
  bottom: 20px;
  right: 20px;
  left: 20px;
  position: fixed;
  background: white;
  z-index: 100;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.8);
  padding: 20px;
}

#app-chooser .app {
  margin-top: 30px;
}

#app-chooser .app button {
  width: 100%;
  height: 60px;
}

#app-chooser .app .app-help {
  font-size: 16px;
  color: #555;
}

::placeholder {
  color: #ccc;
}

/* アンケートデザインVer2 */
.enquete-ver2 {
  padding: 10px 20px;
  background-color: #f2f2f2;
  max-width: 768px;
  margin: 0 auto;
}

.enquete-ver2 .lang-selector {
  display: flex;
  justify-content: flex-end;
}

.enquete-ver2 .lang-selector select {
  color: #777;
  border: 1px solid #c1c1c1;
  padding: 2px 10px;
  border-radius: 5px;
}

.enquete-ver2 .qr-mode-alert {
  padding: 20px;
  border-radius: 10px;
  background-color: #172b4d;
  color: #ffffff;
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
}

.enquete-ver2 .qr-mode-alert img {
  vertical-align: bottom;
  filter: invert(88%) sepia(61%) saturate(0%) hue-rotate(229deg)
    brightness(107%) contrast(101%);
}

.enquete-ver2 .qr-mode-alert__button {
  display: block;
  background-color: #ffffff4d;
  border-radius: 40px;
  padding: 10px 18px;
  margin: 12px auto 0;
  cursor: pointer;
  font-size: 12px;
}

.enquete-ver2 .enquete-title {
  font-size: 25px;
  margin-bottom: 32px;
  line-height: 150%;
  font-weight: bold;
}

.enquete-ver2 .enquete-description {
  font-size: 16px;
  margin-bottom: 38px;
  line-height: 150%;
}

.enquete-ver2 .input-text__title {
  font-size: 14px;
  line-height: 14px;
  font-weight: bold;
  margin: 31px auto 10px;
  padding-left: 18px;
  line-height: 1.5em;
}

.enquete-ver2 .required,
.enquete-ver2 .multiple-select {
  display: inline-block;
  vertical-align: text-top;
  padding: 2px 4px;
  margin-left: 0;
  margin-right: 4px;
  font-size: 10px;
  color: #ffffff;
}
.enquete-ver2 .required {
  background-color: #f53c56;
}

.enquete-ver2 .multiple-select {
  background-color: #707070;
}

.enquete-ver2 .input-text__title > .required {
  margin-left: 8px;
}

.enquete-ver2 .input-text input[type='text'] {
  width: 100%;
  padding: 19px 30px 16px;
  border: solid 2px #777;
  border-radius: 10px;
  /* 16px以上ならフォーカス時の自動拡大が発生しない */
  font-size: 16px;
  box-shadow: 0 2px 4px #1717172e;
}

.enquete-ver2 .section-answer input[type='text'] {
  width: 100%;
  padding: 14px 30px 11px;
  border: 2px solid #c1c1c1 !important;
  border-radius: 10px;
  /* 16px以上ならフォーカス時の自動拡大が発生しない */
  font-size: 16px;
}

.enquete-ver2 textarea {
  width: 100%;
  height: 10em;
  padding: 10px;
  border: solid 2px #777;
  border-radius: 10px;
  /* 16px以上ならフォーカス時の自動拡大が発生しない */
  font-size: 16px;
  box-shadow: 0 2px 4px #1717172e;
}

.enquete-ver2 .enquete-next-button {
  display: block;
  width: 60%;
  margin: 40px auto;
  border-radius: 32px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  border: none;
  padding: 10px 0;
}

.enquete-ver2 .enquete-next-button:disabled {
  opacity: 0.5;
}

.enquete-ver2 .section {
  padding: 0;
  box-shadow: 0 3px 6px #2c28281c;
  border-radius: 10px;
  background-color: #ffffff;
}

.enquete-ver2 h2.section-text {
  padding: 20px 20px 16px;
  border-bottom: 0.5px solid #8898aa7a;
  border-radius: 0;
  background-color: transparent;
  font-weight: bold;
}

.enquete-ver2 .section-answer {
  padding: 10px 20px 32px;
}

.enquete-ver2 .section textarea {
  border: solid 2px #777;
}

.enquete-ver2 .section input[type='text'] {
  border: solid 2px #777;
}

.enquete-ver2 button {
  border-radius: 4px;
  border: none;
}

.enquete-ver2 .choiceLabel {
  padding: 6px 0 6px 20px;
  border-radius: 24px;
  text-align: center;
  border: 2px solid #c1c1c1;
  margin: 8px auto;
  color: #707070;
  cursor: pointer;
  text-align: left;
}

.enquete-ver2 .choiceLabel.checked {
  border: 2px solid #c1c1c1;
  color: #ffffff;
  background-color: #172b4d;
  border-color: #172b4d;
}

.enquete-ver2 .choiceLabel input {
  display: none;
}

.enquete-ver2 .section-title {
  border-bottom: 0;
}

.enquete-ver2 .section-title h2 {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
}

.enquete-ver2 .step-support {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.enquete-ver2 .step-support--icon {
  position: relative;
  width: 30%;
  z-index: 2;
}

.enquete-ver2 .step-support--icon img {
  width: 100%;
}

.enquete-ver2 .step-support--text {
  position: relative;
  width: 70%;
  padding-left: 16px;
  text-align: left;
  font-size: 16px;
  z-index: 2;
}

.after-enquete {
  position: relative;
  width: 100%;
  padding: 40px 15px 20px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 3px 6px #00000029;
  margin: 5px auto 30px;
  text-align: center;
  border: 4px solid #ffffff;
}

.enquete-ver2 .step1:before,
.enquete-ver2 .step2:before {
  content: '1';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #2dce98;
  color: #2dce98;
  text-align: center;
}

.enquete-ver2 .step1,
.enquete-ver2 .step2 {
  position: relative;
  z-index: 1;
}

.enquete-ver2 .step1:before {
  content: '1';
  z-index: 2;
}

.enquete-ver2 .step2:before {
  content: '2';
  z-index: 2;
}

.enquete-ver2 .copy-button,
.enquete-ver2 .google-link-button {
  width: 70%;
  margin: 20px auto;
  padding: 16px 0;
  border-radius: 32px;
  min-width: 242px;
}

.enquete-ver2 .copy-button:hover,
.enquete-ver2 .google-link-button:hover {
  cursor: pointer;
}

.enquete-ver2 .google-link-button:hover:disabled {
  cursor: not-allowed;
}

.after-enquete .attention-msg {
  color: #fb6340;
  font-size: 12px;
}

.after-enquete--arrow-bg {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translate(-50%, 0) rotate(90deg);
}

.enquete-ver2 .after-enquete--arrow-bg::before,
.enquete-ver2 .after-enquete--arrow-bg::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: '';
  vertical-align: middle;
}

.enquete-ver2 .after-enquete--arrow-bg:before {
  content: '';
  left: 24px;
  box-sizing: border-box;
  width: 0;
  height: 0;
  border: 80px solid transparent;
  border-left: 30px solid #7a0;
}

.enquete-ver2 .after-enquete--arrow-bg:after {
  content: '';
  left: 0;
  width: 24px;
  height: 86px;
  background-color: #7a0;
}

.enquete-ver2 .google-step-info {
  width: 100%;
  margin: 16px auto;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 3px 6px #00000029;
}

.enquete-ver2 .google-step-info__title {
  font-size: 14px;
  font-weight: bold;
  text-align: left;
  padding: 9px 18px;
  border-radius: 10px 10px 0 0;
  background-color: #2dce98;
  color: #ffffff;
}

.enquete-ver2 .google-step-info__img {
  padding: 10px 0 20px;
  width: 61.5%;
  margin: 0 auto;
}

.enquete-ver2 .google-step-info__img img {
  width: 100%;
}

.enquete-step2 {
  max-width: 500px;
  margin: 0 auto;
  padding-top: 32px;
}

.kv-bg {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-top: -10px;
  height: calc(100vw * 0.48);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  .kv-bg {
    height: 369px;
  }
}

.kv-icon {
  position: absolute;
  bottom: -58px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 116px;
  height: 116px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.2);
  background-color: #fff;
}

.kv-icon img {
  display: block;
  width: 100%;
}

.kv-icon.only {
  display: block;
  position: static;
  bottom: auto;
  left: auto;
  transform: none;
  margin: 0 auto 32px;
}

.enquete-ver2 .piggIcon {
  width: 35%;
  max-width: 320px;
  margin: 24px auto;
}

.enquete-ver2 .piggIcon img {
  width: 100%;
}

.enquete-ver2 .privacy-policy {
  text-align: center;
  margin: 31px auto 0;
}

.enquete-ver2 .privacy-policy .privacy-policy-text {
  color: #80a334;
  margin-bottom: 10px;
}

.privacyPolicyCheckbox {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  padding: 10px;
  border-radius: 6px;
  border: 2px solid #c1c1c1;
  cursor: pointer;
  margin-right: 12px;
}

.privacyPolicyCheckbox.checked {
  background-color: #80a334;
  color: #ffffff;
}

.privacyPolicyCheckbox.checked::before {
  content: '';
  position: absolute;
  top: calc(50% + 3px);
  left: calc(50% - 4px);
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px;
  height: 2px;
  background-color: #ffffff;
}

.privacyPolicyCheckbox.checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% + 3px);
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 14px;
  height: 2px;
  background-color: #ffffff;
}

.privacyPolicyCheckbox input {
  display: none;
}

/* エラーテキスト */
.error-text {
  padding: 10px 20px;
  color: #f53c56;
  font-size: 14px;
  font-weight: bold;
}

.sns-button {
  position: relative;
  display: block;
  text-align: center;
  width: 100px;
  height: 100px;
  margin: 24px auto;
  overflow: hidden;
  text-decoration: none;
  color: #ffffff;
}

.sns-button img {
  display: block;
  width: 100%;
}

.tiktok-button {
  padding: 0 10px;
}

.tiktok-button img {
  width: 80px;
}

.twitter-button {
  background-color: black;
  border-radius: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.twitter-button img {
  width: 65%;
}

.select-box {
  width: 100%;
  height: 43px;
  border: 2px solid #c1c1c1;
  color: #707070;
  background: white;
  border-radius: 1000px;
  padding-left: 20px;
  font-size: 18px;
  margin: 8px 0 8px 0;
  -webkit-appearance: none;
  appearance: none;
}

.select-box-container {
  position: relative;
}

.select-box-placeholder {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #a0a0a0;
}

.select-box-container::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 8px 0 8px;
  border-color: #707070 transparent transparent transparent;
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
  pointer-events: none;
}
