.top-img li {
  background-position: 50% 85%;
}

.meaning {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}
.meaning-inner {
  padding: 0 8%;
}
.meaning-content1 {
  max-width: 1100px;
  padding-bottom: 50px;
  display: -ms-flexbox;
  display: flex;
}
.meaning-title {
  white-space: nowrap;
}
.meaning-text1 {
  margin-left: 10%;
  overflow: hidden;
}
.meaning-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
}
.meaning-img {
  background-image: url(../images/chatting/meaning.jpg);
  background-position: 50% 100%;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 30vw;
  z-index: -2;
}
.meaning-panel {
  position: relative;
  width: 40%;
  display: -ms-flexbox;
  display: flex;
  margin: -70px 5% 0 auto;
}
.meaning-bg {
  background: #15223c;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}
.meaning-content2 {
  padding: 50px;
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: all 0.6s linear 0.4s;
  -o-transition: all 0.6s linear 0.4s;
  -webkit-transition: all 0.6s linear;
  -webkit-transition-delay: 0.4s;
  transition: all 0.6s linear 0.4s;
}
.meaning-content2.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.meaning-line {
  width: 0%;
  height: 1px;
  background: #95b3c1;
  margin-top: -50px;
  z-index: -2;
  -moz-transition: width 0.6s linear 0.4s;
  -o-transition: width 0.6s linear 0.4s;
  -webkit-transition: width 0.6s linear;
  -webkit-transition-delay: 0.4s;
  transition: width 0.6s linear 0.4s;
}
.meaning-line.show {
  width: 100%;
}

.friend-inner {
  padding: 0 8%;
  max-width: 1200px;
  margin: auto;
}
.friend-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row-reverse;
  flex-flow: row-reverse;
  -webkit-align-items: center;
  align-items: center;
}
.friend-img {
  width: 35%;
}
.friend-img img {
  width: 100%;
}
.friend-content {
  width: 55%;
  margin-right: 10%;
}
.friend-item:nth-child(1) {
  padding-bottom: 50px;
}
.friend-title {
  color: #95b3c1;
  margin-bottom: 20px;
  position: relative;
  opacity: 0;
  -moz-transition: opacity 0.6s linear;
  -o-transition: opacity 0.6s linear;
  -webkit-transition: opacity 0.6s linear;
  transition: opacity 0.6s linear;
}
.friend-title.show {
  opacity: 1;
}
.friend-title.show:after {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.friend-title:after {
  content: "";
  width: calc(100% - 95px);
  height: 1px;
  background: #95b3c1;
  position: absolute;
  right: 0;
  bottom: 4px;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.6s linear 0.4s;
  -o-transition: clip-path 0.6s linear 0.4s;
  -webkit-transition: clip-path 0.6s linear;
  -webkit-transition-delay: 0.4s;
  transition: clip-path 0.6s linear 0.4s;
}
.friend-text {
  font-size: 0.875em;
}

.therapy {
  position: relative;
}
.therapy-img {
  background-image: url(../images/chatting/therapy.jpg);
  background-position: 50%;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 32vw;
  -webkit-filter: brightness(0.7);
  filter: brightness(0.7);
}
.therapy-inner {
  padding: 0 8%;
  width: 92%;
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.therapy-content {
  max-width: 685px;
  margin: auto;
}
.therapy-text span {
  display: block;
}
.therapy-text .right {
  text-align: right;
}
.therapy-text .en {
  font-style: italic;
}

.chat-inner {
  padding: 0 8%;
}
.chat-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.chat-img1 {
  width: 30%;
  order: 1;
  margin-bottom: 100px;
}
.chat-img1 img {
  width: 100%;
}
.chat-img2 {
  width: 30%;
  order: 3;
  margin-top: 100px;
  -webkit-filter: saturate(0.8);
  filter: saturate(0.8);
}
.chat-img2 img {
  width: 100%;
}
.chat-content {
  width: 30%;
  margin: 0 5%;
  order: 2;
  overflow: hidden;
}
.chat-text {
  opacity: 0;
  -moz-transition: opacity 0.6s linear;
  -o-transition: opacity 0.6s linear;
  -webkit-transition: opacity 0.6s linear;
  transition: opacity 0.6s linear;
}
.chat-text.show {
  opacity: 1;
}

.profile-wrap1 {
  display: -ms-flexbox;
  display: flex;
}
.profile-img1 {
  width: 50%;
  -webkit-filter: brightness(0.8);
  filter: brightness(0.8);
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.6s linear;
  -o-transition: clip-path 0.6s linear;
  -webkit-transition: clip-path 0.6s linear;
  transition: clip-path 0.6s linear;
}
.profile-img1.show {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.profile-img1 img {
  width: 100%;
}
.profile-content1 {
  padding: 0 8%;
  width: 34%;
  margin-top: 30px;
}
.profile-inner {
  padding: 0 8%;
  margin-top: -5%;
}
.profile-wrap2 {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row-reverse;
  flex-flow: row-reverse;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.profile-img2 {
  width: 40%;
}
.profile-img2 img {
  width: 100%;
}
.profile-text2 {
  padding: 50px;
}
.profile-content2 {
  width: 50%;
  margin-right: 10%;
  background: #15223c;
}

.patient-inner {
  padding: 0 8%;
}
.patient-wrap {
  display: -ms-flexbox;
  display: flex;
}
.patient-img {
  width: 55%;
  height: 510px;
  background-image: url(../images/chatting/patient.jpg);
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.patient-panel {
  width: 45%;
  background: #15223c;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: column;
  flex-flow: column;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}
.patient-content {
  padding: 50px;
  width: calc(100% - 100px);
}
.patient-list {
  padding-top: 10px;
}
.patient-item {
  font-size: 0.875em;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(149, 179, 193, 0.3);
}
.patient-item span {
  color: #95b3c1;
  padding: 0 10px 0 2px;
}

.cure-wrap1 {
  display: -ms-flexbox;
  display: flex;
}
.cure-content1 {
  padding: 0 8%;
  width: 40%;
}
.cure-img1 {
  width: 60%;
}
.cure-img1 img {
  width: 100%;
}
.cure-inner {
  padding: 0 8%;
  margin-top: -10%;
}
.cure-wrap2 {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.cure-img2 {
  width: 40%;
}
.cure-img2 img {
  width: 100%;
}
.cure-panel {
  width: 50%;
  margin-left: 10%;
  position: relative;
}
.cure-panel.show:after {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.cure-panel:after {
  content: "";
  width: 140%;
  height: 1px;
  background: #95b3c1;
  position: absolute;
  bottom: 70px;
  right: -20%;
  z-index: -1;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.6s linear 0.8s;
  -o-transition: clip-path 0.6s linear 0.8s;
  -webkit-transition: clip-path 0.6s linear;
  -webkit-transition-delay: 0.8s;
  transition: clip-path 0.6s linear 0.8s;
}
.cure-content2 {
  padding: 50px;
  background: #15223c;
  width: fit-content;
}
.cure-text2 {
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: all 0.6s linear 0.4s;
  -o-transition: all 0.6s linear 0.4s;
  -webkit-transition: all 0.6s linear;
  -webkit-transition-delay: 0.4s;
  transition: all 0.6s linear 0.4s;
}
.show .cure-text2 {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.cure-text2 span {
  display: block;
}

@media screen and (max-width: 1300px) {
  .meaning-panel {
    width: 52%;
  }
}
@media screen and (max-width: 1250px) {
  .profile-content1 {
    margin-top: 50px;
  }
  .profile-inner {
    margin-top: 0;
  }

  .cure-img2 {
    width: 50%;
    margin-left: -10%;
  }
}
@media screen and (max-width: 1100px) {
  .meaning-inner {
    padding: 0 5%;
  }
  .meaning-text1 {
    margin-left: 6%;
  }
  .meaning-panel {
    width: 100%;
    margin: 0;
  }
  .meaning-content2 {
    padding: 40px;
  }
  .meaning-line {
    display: none;
  }

  .friend-inner {
    padding: 0 5%;
  }
  .friend-wrap {
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
  .friend-content {
    width: 60%;
    margin-right: 5%;
  }

  .therapy-img {
    background-attachment: scroll;
    height: 440px;
  }
  .therapy-inner {
    padding: 0 5%;
    width: 90%;
  }

  .chat-inner {
    padding: 0 5%;
  }
  .chat-img1 {
    width: 47.5%;
    height: 400px;
    order: 2;
    background-image: url(../images/chatting/chat1.jpg);
    background-position: 50% 60%;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: unset;
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    -moz-transition: clip-path 0.6s linear;
    -o-transition: clip-path 0.6s linear;
    -webkit-transition: clip-path 0.6s linear;
    transition: clip-path 0.6s linear;
  }
  .chat-img1.show {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .chat-img1 img {
    display: none;
  }
  .chat-img2 {
    display: none;
  }
  .chat-content {
    width: 47.5%;
    margin: 0 5% 0 0;
    order: 1;
  }
  .chat-text {
    opacity: 0;
    -moz-transform: translateX(-30px);
    -ms-transform: translateX(-30px);
    -webkit-transform: translateX(-30px);
    transform: translateX(-30px);
    -moz-transition: all 0.6s linear;
    -o-transition: all 0.6s linear;
    -webkit-transition: all 0.6s linear;
    transition: all 0.6s linear;
  }
  .chat-text.show {
    opacity: 1;
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  .profile-wrap1 {
    display: block;
  }
  .profile-img1 {
    width: 95%;
  }
  .profile-content1 {
    padding: 0 5%;
    width: 90%;
  }
  .profile-inner {
    padding: 0 5%;
    margin-top: 20px;
  }
  .profile-img2 {
    display: none;
  }
  .profile-content2 {
    width: 100%;
    margin-right: unset;
    background: none;
  }
  .profile-text2 {
    padding: unset;
  }

  .patient-inner {
    padding: 0 5%;
  }
  .patient-wrap {
    display: block;
  }
  .patient-img {
    width: 60%;
    height: 430px;
    margin-left: auto;
    background-position: 25% 50%;
  }
  .patient-panel {
    width: 100%;
    background: none;
    margin-top: 50px;
  }
  .patient-content {
    padding: 0;
    width: 100%;
  }

  .cure-wrap1 {
    display: block;
  }
  .cure-content1 {
    padding: 0 5%;
    width: 75%;
    margin-bottom: 50px;
  }
  .cure-img1 {
    width: 100%;
  }
  .cure-inner {
    padding: 0 5%;
    margin-top: -30px;
  }
  .cure-wrap2 {
    display: block;
  }
  .cure-img2 {
    display: none;
  }
  .cure-panel {
    width: 100%;
    margin-left: unset;
  }
  .cure-panel:after {
    bottom: 40px;
  }
  .cure-content2 {
    padding: 40px;
    margin-left: auto;
  }
}
@media screen and (max-width: 900px) {
  .meaning-content1 {
    display: block;
  }
  .meaning-text1 {
    margin-left: unset;
  }

  .friend-content {
    margin-top: 20vw;
  }
  .friend-item:last-child {
    width: calc(100vw - 19%);
  }

  .chat {
    background: #15223c;
  }
  .chat-img1 {
    display: none;
  }
  .chat-content {
    width: 100%;
    margin: 0;
  }

  .patient-img {
    width: 100%;
    background-position: 25% 100%;
  }

  .cure-content2 {
    width: 50%;
  }
  .cure-text2 span {
    display: initial;
  }
}
@media screen and (max-width: 800px) {
  .friend-wrap {
    display: block;
  }
  .friend-img {
    width: 50%;
    margin-left: auto;
  }
  .friend-content {
    margin-top: 50px;
    width: 100%;
  }
  .friend-item:last-child {
    width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .meaning-inner {
    padding: 0 25px;
  }
  .meaning-content1 {
    padding-bottom: 30px;
  }
  .meaning-img {
    height: 200px;
  }
  .meaning-content2 {
    padding: 30px;
  }

  .friend-inner {
    padding: 0 25px;
  }
  .friend-img {
    width: 100%;
  }
  .friend-content {
    margin-top: 30px;
  }
  .friend-item:nth-child(1) {
    padding-bottom: 30px;
  }

  .therapy-inner {
    padding: 0 25px;
    width: calc(100% - 50px);
  }

  .chat {
    background: unset;
  }
  .chat-inner {
    padding: 50px 25px;
    background: #15223c;
  }

  .profile-img1 {
    width: calc(100% - 25px);
  }
  .profile-content1 {
    padding: 0 25px;
    width: calc(100% - 50px);
    margin-top: 30px;
  }
  .profile-inner {
    padding: 0 25px;
  }

  .patient-inner {
    padding: 0 25px;
  }
  .patient-img {
    height: 300px;
  }
  .patient-panel {
    margin-top: 30px;
  }

  .cure-content1 {
    padding: 0 25px;
    width: calc(100% - 50px);
    margin-bottom: 30px;
  }
  .cure-inner {
    padding: 0;
    margin-top: 0;
  }
  .cure-panel:after {
    display: none;
  }
  .cure-content2 {
    padding: 30px;
    width: calc(100% - 60px);
  }
}
@media screen and (max-width: 360px) {
  .patient-item span {
    display: block;
    width: fit-content;
    padding: 0 2px 0 0;
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }
}
