/* chatbot-app
 * -------------------- */
.chatbot-app_wrapper {
  background-color: #f5639b;
  padding: 2rem 15px 1rem;
  margin: 1.5rem -15px;
}
.chatbot-app_wrapper h2 {
  position: relative;
  margin: 0;
  line-height: 1.4;
  text-align: center;
  color: #000 !important;
  border-top: none !important;
  border-bottom: none !important;
  border-radius: 8px 8px 0 0 / 8px 8px 0 0;
}

.chatbot-app_wrapper h2 span {
  font-size: 1.25rem;
  display: inline-block;
}
.chatbot-app_wrapper h2 span:first-child {
  position: absolute;
  top: 0;
  left: 50%;
  padding: 9px 1rem 6px;
  margin: 0;
  line-height: 1.25rem;
  border-radius: 17.5px;
  background-color: #feeaac;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}
.chatbot-app_wrapper h2 span:nth-child(2) {
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.chatbot-app_wrapper h2 span:nth-child(2)::after {
  content: '';
  display: block;
  width: 25%;
  height: 6px;
  background-color: #f5639b;
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}
.chatbot-app_wrapper #chatbot-app {
  background-color: #fff;
  border-radius: 0 0 8px 8px / 0 0 8px 8px;
  padding: 4px;
}

#chatbot-app {
  width: 100%;
  height: auto;
  /* border: 1px solid #43accf; */
  box-sizing: border-box;
  font-family: sans-serif;
}
#chatbot-app > p {
  display: none;
}

#chatbot-app .panel-body {
  /* margin: 0.5rem; */
}

#chatbot-app .panel-body .text_wrap .text {
  position: relative;
  margin: 1rem 0.5rem 1rem 4.25rem;
  padding: 0.5rem 0.65rem;
  background-color: #f4f4f4;
  border-radius: 0.5rem;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}
#chatbot-app .panel-body .text_wrap .text::after {
  content: '';
  position: absolute;
  top: 16%;
  left: -10px;
  border: 7px solid transparent;
  border-right: 10px solid #f4f4f4;
  border-top: 10px solid #f4f4f4;
}
#chatbot-app .panel-body .text_wrap .text:first-of-type::after {
  border-top: 7px solid transparent;
  left: -17px;
}

#chatbot-app .panel-body .text_wrap .text:first-of-type::before {
  content: '[管理人]ヨウコ(37歳)';
  position: absolute;
  top: 0;
  left: -4rem;
  width: 60px;
  height: auto;
  padding: 64px 0 0;
  font-size: 11px;

  background-image: url(https://nurse-labo.com/wp-content/uploads/2017/11/b-1.jpg);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

#chatbot-app .panel-body .text p:last-of-type {
  margin: 0;
}

#chatbot-app .panel-body .question p {
  margin: 2.5%;
  padding: 0;
  width: 44%;
  color: #fff;
}
#chatbot-app .panel-body .question p label {
  position: relative;
}
#chatbot-app .panel-body .question p label:before {
  content: '';
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  background-image: url(../images/checked.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  position: absolute;
  top: -0.4rem;
  left: -0.5rem;

  transition: all 0.5s cubic-bezier(0.59, 2.2, 0.67, 0.44);
  transform: scale(0);
}
#chatbot-app .panel-body .question p .checked:before {
  transform: scale(1);
}

#chatbot-app .panel-body .question p:nth-child(1) .label {
  background: #7bc7cc;
}
#chatbot-app .panel-body .question p:nth-child(2) .label {
  background: #ee8185;
}
#chatbot-app .panel-body .question p:nth-child(3) .label {
  background: #7ec392;
}
#chatbot-app .panel-body .question p:nth-child(4) .label {
  background: #cad17c;
}
#chatbot-app .panel-body .question p:nth-child(5) .label {
  background: #efae96;
}
#chatbot-app .panel-body .question p:nth-child(6) .label {
  background: #b0d6db;
}
#chatbot-app .panel-body .question p:nth-child(7) .label {
  background: #e6ca89;
}

#chatbot-app .panel-body .question0 p:nth-child(3) {
  width: 60%;
}
#chatbot-app .panel-body .question0 p:nth-child(4) {
  width: 28%;
}
#chatbot-app .panel-body .question2 p:nth-child(1) {
  width: 28%;
}
#chatbot-app .panel-body .question2 p:nth-child(2) {
  width: 60%;
}

/* common */
#chatbot-app input[type='radio'] {
  display: none;
}
#chatbot-app .label {
  display: inline-block;
  width: 100%;
  padding: 8px 0;
  background: #ccc;
  border-radius: 4px;
  text-align: center;
  font-size: 1.25rem;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
}

#chatbot-app .panel-body .question {
  display: flex;

  -webkit-wrap: wrap;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

/* transition */
.v-enter-active,
.v-leave-active {
  transition: all 1s;
}
.v-enter {
  opacity: 0;
}
