#root {
  /* height: 100%; */
  overflow: hidden;
}

html {
  color: #333;
  /*规定主色调,依据业务场景(非必须)*/
  background: #fff;
  /*规定主背景,依据业务场景(非必须)*/
  overflow-y: auto;
  /*如果有溢出自动形成滚动条*/
  -webkit-text-size-adjust: 100%;
  /*不想让iPhone横坚屏切换的时候调节文字*/
  -ms-text-size-adjust: 100%;
}

html * {
  /*所有元素*/
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /*去除移动端开发点击事件灰色背景如a标签*/
}

body,
html {
  height: 100%;
}

article,
aside,
blockquote,
body,
button,
code,
dd,
details,
div,
dl,
dt,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
hr,
input,
legend,
li,
menu,
nav,
ol,
p,
pre,
section,
td,
textarea,
th,
ul {
  margin: 0;
  padding: 0;
}

input,
select,
textarea {
  font-size: 100%;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

fieldset,
img {
  border: none;
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: 500;
}

ol,
ul {
  list-style: none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: 500;
}

q:after,
q:before {
  /*在<q></q>标签之间的文字两头加上引号*/
  content: '';
}

a {
  text-decoration: none;
}

/*input*/
button {
  border: none;
}

button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
  -webkit-appearance: button;
  /*渲染成button的风格*/
  text-transform: none;
  outline: none;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #999;
  /*输入框提示语的字体样式*/
}

input::-webkit-inner-spin-button {
  /*解决input的type="number"在部分手机端会出现一个小按钮*/
  -webkit-appearance: none;
  /*去除系统默认appearance的样式,常用于IOS下移除原生样式*/
}

input::-webkit-outer-spin-button {
  /*解决input的type="number"在部分手机端会出现一个小按钮*/
  -webkit-appearance: none;
}

textarea {
  vertical-align: top;
}

button,
input {
  line-height: normal;
}

select {
  margin: 0;
  outline: 0;
}

input.fixAKeyboard:focus,
textarea.fixAndroidKeyboard:focus {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-user-modify: read-write-plaintext-only;
}

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

button,
input[type=button],
input[type=checkbox],
input[type=reset],
input[type=submit],
label {
  cursor: pointer;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}

input[type=submit] {
  -webkit-user-modify: read-plaintext-only;
  -moz-user-modify: read-plaintext-only;
  -ms-user-modify: read-plaintext-only;
  -o-user-modify: read-plaintext-only;
  user-modify: read-plaintext-only;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

input[type='search'] {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  -webkit-appearance: textfield;
}


/*flex box*/
.flex {
  display: box;
  /* OLD - Android 4.4- */
  display: -webkit-box;
  /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;
  /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;
  /* TWEENER - IE 10 */
  display: -webkit-flex;
  /* NEW - Chrome */
  display: flex;
  -webkit-box-lines: multiple;
  -webkit-flex-wrap: wrap;
  -moz-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  -o-flex-wrap: wrap;
  flex-wrap: wrap;
}

.justify-between {
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.justify-center {
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.vertical {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

*,
*:before,
*:after {
  box-sizing: border-box;
  /*所有元素以border开始计算盒子大小*/
}

.clearfix:after,
.clearfix:before {
  /*清除浮动*/
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.swiper {
  width: 100%;
  /* height: 500px; */
  height: 100%;
}

.swiper-wrapper {
  height: 60vw !important;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: url(../images/kefu_new/back.png)no-repeat;
  background-size: cover;
  /* background: #ccc; */
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.slide {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide3 {
  /* width: 100vw; */
  height: 40vw;
}

.slide4 {
  height: 60vw !important;
  position: relative;
  background: url(../images/kefu_new/bg@2x.png)no-repeat 100% 100%;
  background-size: cover;
}

.slide4_img {
  height: 45vw;
  position: absolute;
  top: 8vw;
  left: 23vw;
  transition: .8S;
}

.swiper-slide-active .swiper-slide-quare {
  position: absolute;
  top: 12%;
  left: 8.5%;
  width: 1vw;

  animation: quare .8s ease-in-out;
  -webkit-animation: quare .8s ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.swiper-slide-active .swiper-slide-cylindrical {
  position: absolute;
  top: 24%;
  right: 16%;
  width: 1vw;

  animation: quare .8s ease-in-out;
  -webkit-animation: quare .8s ease-in-out;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
 
}

@keyframes quare {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(8);
  }
}

.mySwiper .swiper-button-next {
  position: absolute;
  top: 76%;
  right: 0%;
  width: 4vw;
  height: 2.8vw;
  background: url(../images/kefu_new/右切@2x.png)no-repeat 100% 100%;
  background-size: cover;
}

.mySwiper .swiper-button-next::after {
  content: ''
}

.mySwiper .swiper-button-prev {
  position: absolute;
  top: 76%;
  left: 92%;
  width: 4vw;
  height: 2.8vw;
  background: url(../images/kefu_new/左切@2x.png)no-repeat 100% 100%;
  background-size: cover;
}

.mySwiper .swiper-button-prev::after {
  content: ''
}

.root_text {
  position: absolute;
  bottom: 8.5%;
  right: 2.2%;
  width: 60vw;
  height: 6vw;
  z-index: 2;
}

.slide2-housekeeper-wrapper {
  position: relative;
  display: flex;
  align-self: center;
}

.slide2-joy-butlers {
  position: absolute;
  height: 6.2vw;
  top: 0;
  left: 21.8vw;
  z-index: 1;
}

.slide2-housekeeper-list {
  display: flex;
  width: 100vw;
  height: 40vw;
  justify-content: center;
  align-items: flex-end;
}

.slide2-housekeeper-list>img {
  max-height: 100%;
}

.slide2-housekeeper-list>img:first-child {
  max-height: 92%;
}

.slide2-housekeeper-list>img:nth-child(2n) {
  max-height: 96%;
}

.slide2-housekeeper-list>img:last-child {
  max-height: 92%;
}

.swiper-slide-active .slide2-housekeeper {
  height: 100%;
  opacity: 0;
  -webkit-animation: housekeeper 1s;
  animation: housekeeper 1s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.slide2-housekeeper:not(:first-child) {
  margin-left: -7.3vw;
}

.swiper-slide-active .slide2-housekeeper:nth-child(2) {
  -webkit-animation-delay: .5s;
  animation-delay: .5s;
}

.swiper-slide-active .slide2-housekeeper:nth-child(3) {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
}

.swiper-slide-active .slide2-housekeeper:nth-child(4) {
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
}

.swiper-slide-active .slide2-housekeeper:nth-child(5) {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
}

@keyframes housekeeper {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.slide3-housekeeper:not(:first-child) {
  margin-left: -7.3vw;
}

.swiper-slide-active .slide3:nth-child(2) {
  -webkit-animation-delay: .5s;
  animation-delay: .5s;
  height: 96%
}

.swiper-slide-active .slide3:nth-child(3) {
  -webkit-animation-delay: 1s;
  animation-delay: 1s;
  height: 100%
}

.swiper-slide-active .slide3:nth-child(4) {
  -webkit-animation-delay: 1.5s;
  animation-delay: 1.5s;
  max-height: 100% !important;
}

.swiper-slide-active .slide3:nth-child(5) {
  -webkit-animation-delay: 2s;
  animation-delay: 2s;
  height: 96%
}

.swiper-slide-active .slide3:nth-child(6) {
  -webkit-animation-delay: 2.5s;
  animation-delay: 2.5s;
  height: 92%
}

@keyframes housekeeper {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.mySwiper {
  position: relative;
}

#service{
  background: url(../images/kefu_new/back.png)no-repeat;
  background-size: cover;
}
.service_back{
  padding: 2vw 0vw;
  background: url(../images/kefu_new/主体@2x_3.png)no-repeat 100% 100%;
  background-size: 105% 110%;
}
.service_back_img{
  width: 86%;
  padding: 10vw 0 8vw;

  display: flex;
  justify-content: center;
}
.service_logo{
  width: 18.38vw;
  height: 25vw;
  margin-right: 5vw;
}
.service_text{
  width: 20vw;
  height: 15.38vw;
}
/* .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  } */