.enoradiy-support {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99990;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "メイリオ", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: #303030;
  font-size: 14px;
  line-height: 1.5;
}
.enoradiy-support *,
.enoradiy-support *::before,
.enoradiy-support *::after {
  box-sizing: border-box;
}
.enoradiy-support button,
.enoradiy-support input,
.enoradiy-support textarea {
  font: inherit;
}
.enoradiy-support__launcher {
  width: 54px;
  height: 54px;
  margin-left: auto;
  padding: 0;
  display: grid;
  place-items: center;
  position: relative;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #3d5c54;
  box-shadow: 0 8px 24px rgba(36, 50, 47, .24);
  cursor: pointer;
}
.enoradiy-support__launcher svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}
.enoradiy-support__badge {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #e63a37;
  font-size: 11px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
.enoradiy-support__panel {
  width: min(380px, calc(100vw - 32px));
  height: min(570px, calc(100vh - 100px));
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid #e1e4e3;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(26, 37, 34, .2);
}
.enoradiy-support__head {
  min-height: 72px;
  padding: 15px 16px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  background: #3d5c54;
}
.enoradiy-support__head strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}
.enoradiy-support__head span {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}
.enoradiy-support__close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.enoradiy-support__body {
  height: calc(100% - 72px);
  position: relative;
}
.enoradiy-support__loading,
.enoradiy-support__error {
  padding: 30px 22px;
  color: #818181;
  text-align: center;
}
.enoradiy-support__error {
  color: #a22622;
}
.enoradiy-support__start {
  padding: 26px 22px;
}
.enoradiy-support__start p {
  margin: 0 0 18px;
}
.enoradiy-support__start label {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
}
.enoradiy-support__start input {
  width: 100%;
  height: 42px;
  margin-top: 6px;
  padding: 8px 10px;
  border: 1px solid #cfd4d2;
  border-radius: 6px;
  color: #303030;
  background: #fff;
}
.enoradiy-support__start button,
.enoradiy-support__composer button {
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #3d5c54;
  font-weight: 700;
  cursor: pointer;
}
.enoradiy-support__start button {
  width: 100%;
  min-height: 44px;
  margin-top: 4px;
}
.enoradiy-support__chat {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.enoradiy-support__messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  background: #f6f7f7;
}
.enoradiy-support__message {
  max-width: 82%;
  margin: 0 0 12px;
}
.enoradiy-support__message.is-customer {
  margin-left: auto;
}
.enoradiy-support__bubble {
  padding: 10px 12px;
  border-radius: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
.enoradiy-support__message.is-customer .enoradiy-support__bubble {
  color: #fff;
  background: #3d5c54;
}
.enoradiy-support__time {
  margin-top: 3px;
  color: #969696;
  font-size: 11px;
}
.enoradiy-support__message.is-customer .enoradiy-support__time {
  text-align: right;
}
.enoradiy-support__empty {
  padding: 24px 8px;
  color: #888;
  text-align: center;
}
.enoradiy-support__composer {
  padding: 12px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  border-top: 1px solid #e1e4e3;
  background: #fff;
}
.enoradiy-support__composer textarea {
  min-width: 0;
  flex: 1;
  resize: none;
  padding: 9px 10px;
  border: 1px solid #cfd4d2;
  border-radius: 7px;
  color: #303030;
  background: #fff;
}
.enoradiy-support__composer button {
  min-width: 58px;
  min-height: 40px;
  padding: 8px 12px;
}
.enoradiy-support button:disabled {
  opacity: .55;
  cursor: default;
}
.enoradiy-support input:focus,
.enoradiy-support textarea:focus,
.enoradiy-support button:focus-visible {
  outline: 2px solid rgba(61, 92, 84, .35);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .enoradiy-support {
    right: 12px;
    bottom: 12px;
  }
  .enoradiy-support__panel {
    width: calc(100vw - 24px);
    height: min(620px, calc(100vh - 82px));
    margin-bottom: 8px;
  }
  .enoradiy-support__launcher {
    width: 50px;
    height: 50px;
  }
}
