/* src/style.css */
.ma-chatbot .ma-chatbot__newsletter {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.7;
  text-align: left;
  cursor: pointer;
}
.ma-chatbot .ma-chatbot__newsletter input[type=checkbox] {
  appearance: auto;
  position: static;
  display: inline-block;
  opacity: 1;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  padding: 0;
}
.ma-chatbot {
  line-height: 1.5;
  letter-spacing: .02em;
  font-size: 1.5rem;
  color: #333;
  font-family:
    メイリオ,
    Meiryo,
    Hiragino Kaku Gothic Pro,
    MS PGothic,
    Osaka,
    sans-serif;
  position: fixed;
  display: flex;
  flex-direction: column;
  right: 5px;
  bottom: 0;
  width: 100vw;
  overflow: hidden;
  box-shadow: -1px -1px 4px 2px rgba(1, 37, 67, .2);
  background-color: #fff;
  cursor: default;
  z-index: 10000;
  height: 0;
}
.ma-chatbot input::-webkit-input-placeholder {
  padding-top: .2em;
}
.ma-chatbot * {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  box-sizing: border-box;
  background-clip: padding-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.ma-chatbot__header--masouken {
  position: relative;
  padding: 12px 10px;
  color: #fff;
  background-color: #012543;
  text-align: center;
  font-size: 12px;
}
.ma-chatbot__header--mastory {
  position: relative;
  padding: 12px 10px;
  color: #fff;
  background-color: #57242c;
  text-align: center;
  font-size: 12px;
}
.ma-chatbot__strong {
  font-size: 16px;
  font-weight: 700;
}
.ma-chatbot__close {
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}
.ma-chatbot__main {
  flex: 1 1;
  overflow-y: scroll;
  padding: 20px 14px;
}
.ma-chatbot__botWrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  opacity: 0;
  left: -20px;
  -webkit-animation: ma-chatbot-fadeinBot .4s cubic-bezier(.25, .46, .45, .94) .8s forwards;
  animation: ma-chatbot-fadeinBot .4s cubic-bezier(.25, .46, .45, .94) .8s forwards;
}
.ma-chatbot__botWrap:first-of-type {
  -webkit-animation: ma-chatbot-fadeinBot .4s cubic-bezier(.25, .46, .45, .94) .5s forwards;
  animation: ma-chatbot-fadeinBot .4s cubic-bezier(.25, .46, .45, .94) .5s forwards;
}
.ma-chatbot__botWrap:nth-of-type(2) {
  -webkit-animation: ma-chatbot-fadeinBot .4s cubic-bezier(.25, .46, .45, .94) 1s forwards;
  animation: ma-chatbot-fadeinBot .4s cubic-bezier(.25, .46, .45, .94) 1s forwards;
}
.ma-chatbot__botIcon {
  margin-right: 6px;
  width: 40px;
  height: 40px;
}
.ma-chatbot__bot--masouken {
  margin-bottom: 4px;
  padding: 10px 12px;
  max-width: 80%;
  border-radius: 10px 10px 10px 2px;
  background-color: #e2e8f6;
  font-size: 16px;
  color: #000;
}
.ma-chatbot__bot--mastory {
  margin-bottom: 4px;
  padding: 10px 12px;
  max-width: 80%;
  border-radius: 10px 10px 10px 2px;
  background-color: #ebc1c2;
  font-size: 16px;
  color: #000;
}
.ma-chatbot__customer {
  position: relative;
  text-align: left;
  margin: 10px 0 10px auto;
  padding: 12px;
  max-width: 80%;
  border-radius: 10px 10px 2px 10px;
  background-color: #f4f5f6;
  font-size: 15px;
  color: #000;
  opacity: 0;
  right: -20px;
  -webkit-animation: ma-chatbot-fadeinCustomer .4s cubic-bezier(.25, .46, .45, .94) 1.2s forwards;
  animation: ma-chatbot-fadeinCustomer .4s cubic-bezier(.25, .46, .45, .94) 1.2s forwards;
}
.ma-chatbot__customerItem:not(:last-child) {
  margin-bottom: 4px;
}
.ma-chatbot__error {
  margin-top: 2px;
  font-size: 10px;
  color: #ea3033;
}
.ma-chatbot__button--masouken {
  margin: 6px auto 0;
  width: 80px;
  padding: 6px 0;
  border-radius: 4px;
  background-color: #b4752c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.ma-chatbot__button--masouken:disabled,
.ma-chatbot__button--masouken[disabled] {
  background-color: #efefef;
  cursor: default;
  pointer-events: none;
}
.ma-chatbot__button--mastory {
  margin: 6px auto 0;
  width: 80px;
  padding: 6px 0;
  border-radius: 4px;
  background-color: #c44435;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.ma-chatbot__button--mastory:disabled,
.ma-chatbot__button--mastory[disabled] {
  background-color: #efefef;
  cursor: default;
  pointer-events: none;
}
.ma-chatbot__confirm:not(:last-child) {
  margin-bottom: 4px;
}
.ma-chatbot__submit--masouken {
  margin: 6px auto 0;
  width: 80px;
  padding: 6px 0;
  border-radius: 4px;
  background-color: #b4752c;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.ma-chatbot__submit--masouken:disabled,
.ma-chatbot__submit--masouken[disabled] {
  background-color: #efefef;
  cursor: default;
  pointer-events: none;
}
.ma-chatbot__submit--mastory {
  margin: 6px auto 0;
  width: 80px;
  padding: 6px 0;
  border-radius: 4px;
  background-color: #c44435;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.ma-chatbot__submit--mastory:disabled,
.ma-chatbot__submit--mastory[disabled] {
  background-color: #efefef;
  cursor: default;
  pointer-events: none;
}
.ma-chatbot__gauge {
  position: relative;
  background-color: #efefef;
  height: 14px;
}
.ma-chatbot__gaugeBar--masouken {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  height: 100%;
  padding: 0 8px;
  background-color: #04a9a4;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  color: #fff;
}
.ma-chatbot__gaugeBar--mastory {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  height: 100%;
  padding: 0 8px;
  background-color: #57242c;
  font-size: 10px;
  line-height: 14px;
  font-weight: 700;
  color: #fff;
}
.ma-chatbot-fadein {
  -webkit-animation: ma-chatbot-fadein .3s cubic-bezier(.25, .46, .45, .94) 0s forwards;
  animation: ma-chatbot-fadein .3s cubic-bezier(.25, .46, .45, .94) 0s forwards;
}
.ma-chatbot-fadeinSp {
  -webkit-animation: ma-chatbot-fadein-sp .3s cubic-bezier(.25, .46, .45, .94) 0s forwards;
  animation: ma-chatbot-fadein-sp .3s cubic-bezier(.25, .46, .45, .94) 0s forwards;
}
@-webkit-keyframes ma-chatbot-fadein {
  0% {
    height: 0;
  }
  to {
    max-height: calc(100vh - 10px);
    height: 600px;
  }
}
@keyframes ma-chatbot-fadein {
  0% {
    height: 0;
  }
  to {
    max-height: calc(100vh - 10px);
    height: 600px;
  }
}
@-webkit-keyframes ma-chatbot-fadein-sp {
  0% {
    height: 0;
  }
  to {
    height: 100%;
  }
}
@keyframes ma-chatbot-fadein-sp {
  0% {
    height: 0;
  }
  to {
    height: 100%;
  }
}
@-webkit-keyframes ma-chatbot-fadeinBot {
  0% {
    left: -20px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}
@keyframes ma-chatbot-fadeinBot {
  0% {
    left: -20px;
    opacity: 0;
  }
  to {
    left: 0;
    opacity: 1;
  }
}
@-webkit-keyframes ma-chatbot-fadeinCustomer {
  0% {
    right: -20px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}
@keyframes ma-chatbot-fadeinCustomer {
  0% {
    right: -20px;
    opacity: 0;
  }
  to {
    right: 0;
    opacity: 1;
  }
}
.ma-chatbot-form__checkboxIcon,
.ma-chatbot-form__radioIcon--masouken,
.ma-chatbot-form__radioIcon--mastory,
.ma-chatbot-form__text,
.ma-chatbot-form__textarea {
  display: inline-block;
  padding: 10px;
  border: 1px solid #aab4b9;
  border-radius: 2px;
  font-size: 16px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.ma-chatbot-form__checkboxIcon:focus,
.ma-chatbot-form__radioIcon--masouken:focus,
.ma-chatbot-form__radioIcon--mastory:focus,
.ma-chatbot-form__text:focus,
.ma-chatbot-form__textarea:focus {
  outline: none;
  border: 1px solid #021f46;
}
.ma-chatbot-form__label {
  margin: 5px 0;
  font-weight: 700;
}
.ma-chatbot-form__field[data-isvalid=false] {
  background: #ffffde;
}
.ma-chatbot-form__error {
  margin: 5px 0;
  color: #ea3033;
  font-weight: 700;
  font-size: 1rem;
}
.ma-chatbot-form__text,
.ma-chatbot-form__textarea {
  width: 100%;
  line-height: 14px;
  min-height: 30px;
  vertical-align: bottom;
  font-size: 16px !important;
}
.ma-chatbot-form__text:disabled,
.ma-chatbot-form__text[disabled],
.ma-chatbot-form__textarea:disabled,
.ma-chatbot-form__textarea[disabled] {
  background-color: #efefef;
}
.ma-chatbot-form__text:-moz-read-only,
.ma-chatbot-form__textarea:-moz-read-only {
  background-color: transparent;
}
.ma-chatbot-form__text:read-only,
.ma-chatbot-form__textarea:read-only {
  background-color: transparent;
}
.ma-chatbot-form__text::-webkit-input-placeholder,
.ma-chatbot-form__textarea::-webkit-input-placeholder {
  color: #999;
}
.ma-chatbot-form__text::-moz-placeholder,
.ma-chatbot-form__textarea::-moz-placeholder {
  color: #999;
}
.ma-chatbot-form__text:-ms-input-placeholder,
.ma-chatbot-form__textarea:-ms-input-placeholder {
  color: #999;
}
.ma-chatbot-form__text::-ms-input-placeholder,
.ma-chatbot-form__textarea::-ms-input-placeholder {
  color: #999;
}
.ma-chatbot-form__text::placeholder,
.ma-chatbot-form__textarea::placeholder {
  color: #999;
}
.ma-chatbot-form__textarea {
  line-height: 14px;
}
.ma-chatbot-form__radioLabel--masouken {
  cursor: pointer;
}
.ma-chatbot-form__radioLabel--masouken:hover > .ma-chatbot-form__radioIcon--masouken {
  border-color: #021f46;
}
.ma-chatbot-form__radioIcon--masouken {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-size: cover;
  position: relative;
  margin-right: 10px;
  border-width: 2px;
  vertical-align: middle;
}
.ma-chatbot-form__radioIcon--masouken:hover {
  border-color: #021f46;
}
.ma-chatbot-form__radio--masouken {
  display: none;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
}
.ma-chatbot-form__radio--masouken:focus + .ma-chatbot-form__radioIcon--masouken {
  border: 2px solid #021f46;
}
.ma-chatbot-form__radio--masouken:hover + .ma-chatbot-form__radioIcon--masouken {
  border-width: 2px;
  border-color: #021f46;
  cursor: pointer;
}
.ma-chatbot-form__radio--masouken:checked + .ma-chatbot-form__radioIcon--masouken {
  border-width: 2px;
  border-color: #021f46;
  background: #fff;
}
.ma-chatbot-form__radio--masouken:checked + .ma-chatbot-form__radioIcon--masouken:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border-radius: 50%;
  background: #021f46;
}
.ma-chatbot-form__radio--masouken:disabled + .ma-chatbot-form__radioIcon--masouken {
  border-width: 2px;
  border-color: #efefef;
  background: #fff;
  cursor: default;
}
.ma-chatbot-form__radio--masouken:disabled + .ma-chatbot-form__radioIcon--masouken:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border-radius: 50%;
  background: #efefef;
}
.ma-chatbot-form__radioLabel--mastory {
  cursor: pointer;
}
.ma-chatbot-form__radioLabel--mastory:hover > .ma-chatbot-form__radioIcon--mastory {
  border-color: #57242c;
}
.ma-chatbot-form__radioIcon--mastory {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-size: cover;
  position: relative;
  margin-right: 10px;
  border-width: 2px;
  vertical-align: middle;
}
.ma-chatbot-form__radioIcon--mastory:hover {
  border-color: #57242c;
}
.ma-chatbot-form__radio--mastory {
  display: none;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
}
.ma-chatbot-form__radio--mastory:focus + .ma-chatbot-form__radioIcon--mastory {
  border: 2px solid #57242c;
}
.ma-chatbot-form__radio--mastory:hover + .ma-chatbot-form__radioIcon--mastory {
  border-width: 2px;
  border-color: #57242c;
  cursor: pointer;
}
.ma-chatbot-form__radio--mastory:checked + .ma-chatbot-form__radioIcon--mastory {
  border-width: 2px;
  border-color: #57242c;
  background: #fff;
}
.ma-chatbot-form__radio--mastory:checked + .ma-chatbot-form__radioIcon--mastory:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border-radius: 50%;
  background: #57242c;
}
.ma-chatbot-form__radio--mastory:disabled + .ma-chatbot-form__radioIcon--mastory {
  border-width: 2px;
  border-color: #efefef;
  background: #fff;
  cursor: default;
}
.ma-chatbot-form__radio--mastory:disabled + .ma-chatbot-form__radioIcon--mastory:after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  margin-left: -8px;
  border-radius: 50%;
  background: #efefef;
}
.ma-chatbot-form__checkboxLabel {
  cursor: pointer;
  display: block;
  margin-top: 6px;
}
.ma-chatbot-form__checkboxLabel:hover > .ma-chatbot-form__checkboxIcon {
  border-color: #021f46;
  box-shadow: 0 0 0 1px #a5903f;
}
.ma-chatbot-form__checkboxIcon {
  position: relative;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  vertical-align: middle;
}
.ma-chatbot-form__checkboxIcon:hover {
  border-color: #021f46;
  box-shadow: 0 0 0 1px #a5903f;
}
.ma-chatbot-form__checkboxIcon:before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 1px;
  display: block;
  width: 6px;
  height: 16px;
  margin: 0 auto;
  transform: rotate(45deg);
}
.ma-chatbot-form__checkbox {
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
}
.ma-chatbot-form__checkbox:focus + .ma-chatbot-form__checkboxIcon {
  box-shadow: none;
}
.ma-chatbot-form__checkbox:hover + .ma-chatbot-form__checkboxIcon {
  border-color: #021f46;
  box-shadow: none;
  cursor: pointer;
}
.ma-chatbot-form__checkbox:checked + .ma-chatbot-form__checkboxIcon:before {
  border-right: 4px solid #ff8c00;
  border-bottom: 4px solid #ff8c00;
}
.ma-chatbot .ma-chatbot__newsletter > span {
  display: block;
  padding: 0;
  margin: 0;
}
.ma-chatbot .ma-chatbot__newsletter > span::before,
.ma-chatbot .ma-chatbot__newsletter > span::after {
  content: none !important;
  display: none !important;
}
/*# sourceMappingURL=ma-chatbot.css.map */
