.intro_chat_wrap {
  position: relative;
}

@media (max-width: 600px) {
  .intro_chat_wrap {
    height: 100vh !important;
    overflow: hidden;
  }
}
.intro_chat_wrap .view_box_wrap,
.intro_chat_wrap .btn_intro_skip {
  opacity: 1;
}

.view_box_wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  width: -moz-calc(100% - 20px);
  width: calc(100% - 20px);
  height: -moz-calc(100% - 60px);
  height: calc(100% - 60px);
  overflow: hidden;
  z-index: 90;
  opacity: 0;
}

@media (min-width: 601px) {
  .view_box_wrap {
    top: 33px;
  }
}
@media (max-width: 600px) {
  .view_box_wrap {
    z-index: 87;
  }
}
.view_box_tab {
  position: relative;
  height: 40px;
  background: #fff;
  text-align: center;
  z-index: 1;
}

@media (max-width: 600px) {
  .view_box_tab:after {
    content: "";
    display: block;
    position: absolute;
    top: 40px;
    width: 100%;
    height: 20px;
    background-image: -moz-linear-gradient(top, #fff, rgba(255, 255, 255, 0));
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(rgba(255, 255, 255, 0)));
    background-image: linear-gradient(to bottom, #fff, rgba(255, 255, 255, 0));
  }
}
.view_box_tab button {
  font-size: 15px;
  color: #b6b6b6;
  padding: 2px 0 5px;
  font-weight: bold;
}

.view_box_tab button.active {
  font-size: 16px;
  color: #1c1c1c;
  padding-top: 0;
  border-bottom: 1px solid #1c1c1c;
}

.view_box_tab button + button {
  margin-left: 15px;
}

.view_box {
  position: absolute;
  width: 100%;
  height: -moz-calc(100% - 40px);
  height: calc(100% - 40px);
  left: 0;
  overflow: hidden;
  -webkit-transition: top 500ms ease-in-out;
  -moz-transition: top 500ms ease-in-out;
  transition: top 500ms ease-in-out;
}

@media (min-width: 601px) {
  .view_box._01 {
    top: 56px;
    left: 60px;
    width: 341px;
    height: 588px;
    padding: 57px 27px 0 30px;
    background: url("/images/bg_phone.png") no-repeat center top/341px auto;
  }
}
@media (max-width: 600px) {
  .view_box._01 {
    top: 40px;
  }
}
.view_box._01.off {
  top: -100% !important;
}

.view_box._01 .time {
  display: none;
}

@media (min-width: 601px) {
  .view_box._01 .time {
    display: inline;
    position: absolute;
    top: 32px;
    left: 50px;
    font-size: 12px;
  }
}
.view_box._01 .inner_wrap {
  height: 100%;
  overflow: hidden;
}

@media (min-width: 601px) {
  .view_box._01 .inner_wrap {
    position: absolute;
    top: 57px;
    left: 30px;
    width: 284px;
    height: 531px;
  }
}
@media (max-width: 600px) {
  .view_box._01 .inner_wrap {
    padding-top: 20px;
  }
}
.view_box._01 .inner {
  position: absolute;
  width: 100%;
  -webkit-transition: top 400ms ease-out;
  -moz-transition: top 400ms ease-out;
  transition: top 400ms ease-out;
}

.view_box._02 {
  top: 100%;
  max-height: 230px;
  text-align: center;
}

.view_box._02.on {
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding-top: 20px;
}

.view_box._02.off {
  opacity: 0;
}

.view_box._02 .p_main {
  font-size: 31px;
  color: #233057;
  display: none;
  position: relative;
  font-weight: 700;
  z-index: 1;
  -webkit-transform-origin: 50% 180px;
  -moz-transform-origin: 50% 180px;
  -ms-transform-origin: 50% 180px;
  transform-origin: 50% 180px;
  -webkit-animation: bounce 400ms;
  -moz-animation: bounce 400ms;
  animation: bounce 400ms;
}

.view_box._02 .p_main:after {
  content: "";
  display: inline-block;
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 26px;
  margin-left: -77px;
  background: #dcebff;
  -moz-border-radius: 20px;
  border-radius: 20px;
  z-index: -1;
  -webkit-transition: width 500ms ease-out;
  -moz-transition: width 500ms ease-out;
  transition: width 500ms ease-out;
}

.view_box._02 .p_main.on:after {
  width: 150px;
}

.view_box._02 .p_main em {
  display: inline-block;
  margin-left: 3px;
  font-size: 35px;
  -webkit-transform: rotate(10deg);
  -moz-transform: rotate(10deg);
  -ms-transform: rotate(10deg);
  transform: rotate(10deg);
}

.view_box._02 .p_sub {
  display: none;
  margin-top: 50px;
  font-size: 18px;
  line-height: 2;
  -webkit-animation: leftIn 600ms ease-out;
  -moz-animation: leftIn 600ms ease-out;
  animation: leftIn 600ms ease-out;
}

.view_box._02 .p_strong {
  font-size: 18px;
  font-weight: bold;
  -webkit-transform: scale(0, 0);
  -moz-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
  -webkit-transition: -webkit-transform 600ms ease-out;
  transition: -webkit-transform 600ms ease-out;
  -moz-transition: transform 600ms ease-out, -moz-transform 600ms ease-out;
  transition: transform 600ms ease-out;
  transition: transform 600ms ease-out, -webkit-transform 600ms ease-out, -moz-transform 600ms ease-out;
}

.view_box._02 .p_strong.on {
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}

.view_box._03,
.last_view {
  opacity: 0;
  -webkit-transition: opacity 500ms ease-in-out;
  -moz-transition: opacity 500ms ease-in-out;
  transition: opacity 500ms ease-in-out;
}

.view_box._03.on,
.last_view.on {
  opacity: 1;
}

.btn_intro_skip {
  font-size: 14px;
  color: #333;
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 14px 26px 14px 16px;
  border: none;
  background-color: transparent;
  overflow: visible;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  opacity: 0;
}

.btn_intro_skip::after {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1px solid #333;
  border-bottom: 1px solid #333;
  -webkit-transform: rotate(315deg);
  -moz-transform: rotate(315deg);
  -ms-transform: rotate(315deg);
  transform: rotate(315deg);
  content: "";
  position: absolute;
  top: 22px;
  right: 17px;
}

.btn_intro_skip:focus {
  outline: 0;
}

.btn_intro_skip:not(:disabled) {
  cursor: pointer;
}

.chat_group {
  display: none;
  padding: 10px;
}

.chat_group.l.w, .chat_group.l.m2, .chat_group.l.m, .chat_group.l.w2 {
  position: relative;
  padding-left: 55px;
}

.chat_group.l.w:before, .chat_group.l.m2:before, .chat_group.l.m:before, .chat_group.l.w2:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 10px;
  left: 0;
  width: 50px;
  height: 50px;
  background: url("/images/img_speaker_w.png") no-repeat 0 0/50px auto;
  -webkit-transform: scale(0, 0);
  -moz-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  transform: scale(0, 0);
  -webkit-transition: -webkit-transform 300ms ease-out;
  transition: -webkit-transform 300ms ease-out;
  -moz-transition: transform 300ms ease-out, -moz-transform 300ms ease-out;
  transition: transform 300ms ease-out;
  transition: transform 300ms ease-out, -webkit-transform 300ms ease-out, -moz-transform 300ms ease-out;
}

.chat_group.l.w2:before {
  background-image: url("/images/img_speaker_w2.png");
}

.chat_group.l.m:before {
  background-image: url("/images/img_speaker_m.png");
}

.chat_group.l.m2:before {
  background-image: url("/images/img_speaker_m2.png");
}

.chat_group.l.on:before {
  -webkit-transform: scale(1, 1);
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  transform: scale(1, 1);
}

.chat_group.l p:first-child span {
  background: #eff0f2;
  -moz-border-radius-bottomleft: 0;
  border-bottom-left-radius: 0;
}

.chat_group.l span {
  background: #eff0f2;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
  transform-origin: 0 0;
  -webkit-animation: bounce 400ms;
  -moz-animation: bounce 400ms;
  animation: bounce 400ms;
}

.chat_group.r {
  text-align: right;
}

.chat_group.r span {
  background: #233057;
  -moz-border-radius-bottomright: 0;
  border-bottom-right-radius: 0;
  color: #fff;
}

.chat_group p {
  margin-bottom: 9px;
}

.chat_group p:last-child {
  margin-bottom: 0;
}

.chat_group p span {
  display: none;
  padding: 14px 17px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  font-size: 15px;
  line-height: 22px;
}

.chat_group p span.on {
  display: inline-block;
}

@-webkit-keyframes leftIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(-10%);
    transform: translateX(-10%);
  }
}
@-moz-keyframes leftIn {
  from {
    opacity: 0;
    -moz-transform: translateX(-10%);
    transform: translateX(-10%);
  }
}
@keyframes leftIn {
  from {
    opacity: 0;
    -webkit-transform: translateX(-10%);
    -moz-transform: translateX(-10%);
    transform: translateX(-10%);
  }
}
@-webkit-keyframes bounce {
  0% {
    -webkit-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  70% {
    -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
}
@-moz-keyframes bounce {
  0% {
    -moz-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  70% {
    -moz-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
}
@keyframes bounce {
  0% {
    -webkit-transform: scale(0, 0);
    -moz-transform: scale(0, 0);
    transform: scale(0, 0);
  }
  70% {
    -webkit-transform: scale(1.1, 1.1);
    -moz-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1);
  }
}