
/* chat
------------------------------------------------------ */
.chat {
  display: grid;
  position: fixed;
  height: 60px;
  right: 1%;
  bottom: 80px;
  grid-template-columns: 80px 135px 18px;
  border: none;
  padding: 0;
  z-index: 10;
  background: none;
}
@media (min-width: 768px) {
  .chat {
	height: 100px;
	bottom: 120px;
    grid-template-columns: 120px 210px 27px;
  }
}

.chat::before {
  content: "";
  position: absolute;
  z-index: -5;
  width: 100%;
  height: 65px;
  box-shadow: 3px 3px 3px 0 rgba(0, 0, 0, 0.16);
  border-radius: 10px;
}
@media (min-width: 768px) {
  .chat::before {
    height: 100px;
  }
}

.chat__video {
  width: 100%;
  height: 65px;
  object-fit: cover;
  z-index: 1;
  clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0 100%, 0 0);
  border-radius: 10px 0 0 10px;
}
@media (min-width: 768px) {
  .chat__video {
    height: 100px;
  }
}
.chat__body {
  margin-left: -12px;
  height: 65px;
}
@media (min-width: 768px) {
  .chat__body {
    margin-left: -18px;
    height: 100px;
  }
}

.chat__text {
  padding: 6px 0 3px 10px;
  background-color: #F08F83;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .chat__text {
    padding: 4px 0 3px;
    font-size: 25px;
  }
}

.chat__textLg {
  font-size: 17px;
}
@media (min-width: 768px) {
 .chat__textLg {
  font-size: 31px;
 }
}

.chat__textMd {
  letter-spacing: -0.1em;
}

.chat__textSm {
  font-size: 14px;
}
@media (min-width: 768px) {
 .chat__textSm {
  font-size: 21px;
 }
}

.chat__textBottom {
  padding: 6px 0 3px 10px;
  background-color: #E56151;
  color: #ffffff;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  margin: 0;
  line-height: 1.4;
}
@media (min-width: 768px) {
  .chat__textBottom {
    padding: 4px 0 3px;
    font-size: 25px;
  }
}

.chat__arrow {
  position: relative;
  height: 65px;
  background-color: #FFFFFF;
  border-radius: 0 10px 10px 0;
}
@media (min-width: 768px) {
  .chat__arrow {
    height: 100px;
  }
}


.chat__arrow::before {
  position: absolute;
  width: 6px;
  height: 15px;
  content: "";
  translate: -50% -50%;
  top: 50%;
  left: 50%;
  background-image: url(../img/arrow.png);
  background-size: contain;
}
@media (min-width: 768px) {
  .chat__arrow::before {
    width: 8px;
    height: 17px;
  }
}


.chatNote {
position: absolute;
color: #30849F;
background-color: #FFFFFF;
border-radius: 16px;
  translate: -50% -50%;
  top: -35%;
  left: 50%;
  width: 200px;
  padding: 5px 10px;
  font-weight: 700;
font-size: 14px;
text-align: center;
}
@media (min-width: 768px) {
  .chatNote {
    width: 265px;
    font-size: 18px;
  }
}

.chatNote::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    width: 0.7rem;
    height: 0.7rem;
    clip-path: polygon(0 0, 50% 100%, 100% 0);
}


