* {
  margin: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
a {
  text-decoration: none;
}
.section .row {
  height: 100%;
}
.section:nth-of-type(2n) {
  background-color: #faf8f5;
}
.section:nth-of-type(2n+1) {
  background-color: #fff;
}
.p-m, .p-p {
  display: none;
}
.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and (max-width: 766px) {
  .p-m {
    display: block;
  }
  .section {
    height: 426px;
    padding-top: 56px;
    padding-bottom: 20px;
    text-align: center;
  }
  .section .sub-title {
    position: relative;
    margin-bottom: 16px;
    font-size: 33px;
    font-weight: normal;
    color: #333;
  }
  .section .sub-title:before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 136px;
    height: 52px;
    margin-left: -68px;
  }
  .section .p-info {
    color: #999;
    font-size: 18px;
  }

  .row1 {
    background: url('../images/m-bg1.png') no-repeat center bottom / 390px 280px;
  }
  .row1 .sub-title::before {
    background: url('../images/light-free.png') no-repeat center / 100% 100%;
  }

  .row2 {
    background: url('../images/m-bg2.png') no-repeat center bottom / 390px 280px;
  }
  .row2 .sub-title::before {
    background: url('../images/light-store.png') no-repeat center / 100% 100%;
  }

  .row3 {
    background: url('../images/m-bg3.png') no-repeat center bottom / 390px 280px;
  }
  .row3 .sub-title::before {
    background: url('../images/light-prize.png') no-repeat center / 100% 100%;
  }

  .row4 {
    background: url('../images/mh/1/0.jpg') no-repeat center bottom / 180px;
  }
  .row5 {
    background: url('../images/mh/2/0.jpg') no-repeat center bottom / 180px;
  }
  .row6 {
    background: url('../images/mh/3/0.jpg') no-repeat center bottom / 180px;
  }
  .row7 {
    background: url('../images/mh/4/0.jpg') no-repeat center bottom / 180px;
  }
  .row8 {
    background: url('../images/mh/5/0.jpg') no-repeat center bottom / 180px;
  }

  .mh-bar {
    text-align: center;
    border-bottom: 2px dashed #999;
  }
  .mh-bar-content {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px #000;
    background-color: #999;
    -webkit-transform: skewX(-20deg);
        -ms-transform: skewX(-20deg);
            transform: skewX(-20deg);
  }
}

@media screen and (min-width: 767px) {
  .p-p {
    display: block;
  }
  .section {
    height: 540px;
    padding: 0 50px;
  }
  .section .row {
    padding-top: 180px;
  }
  .section.mh {
    height: auto;
    padding: 50px;
    /* cursor: pointer; */
  }
  .section.mh .row {
    padding-top: 0;
  }

  .sub-title {
    position: relative;
    font-size: 50px;
    font-weight: normal;
    color: #444;
  }
  .section .sub-title:before {
    content: '';
    position: absolute;
    top: -50px;
    left: 20px;
    width: 260px;
    height: 98px;
  }
  .p-p {
    line-height: 30px;
    font-size: 16px;
    color: #888;
  }

  .section:nth-of-type(2n) .desc {
    float: right;
  }

  .row1 {
    background: url('../images/p-bg1.png') no-repeat center right;
  }
  .row2 {
    background: url('../images/p-bg2.png') no-repeat center left;
  }
  .row3 {
    background: url('../images/p-bg3.png') no-repeat center right;
  }

  .row1 .sub-title::before {
    background: url('../images/light-free.png') no-repeat center / 100% 100%;
  }
  .row2 .sub-title::before {
    background: url('../images/light-store.png') no-repeat center / 100% 100%;
  }
  .row3 .sub-title::before {
    background: url('../images/light-prize.png') no-repeat center / 100% 100%;
  }

  .section.mh .row.row4 {
    height: 312px;
    background: url('../images/mh/1/0.jpg') no-repeat 80% / 200px 312px;
  }
  .section.mh .row.row5 {
    height: 312px;
    background: url('../images/mh/2/0.jpg') no-repeat 10% / 200px 312px;
  }
  .section.mh .row.row6 {
    height: 312px;
    background: url('../images/mh/3/0.jpg') no-repeat 80% / 200px 312px;
  }
  .section.mh .row.row7 {
    height: 312px;
    background: url('../images/mh/4/0.jpg') no-repeat 10% / 200px 312px;
  }
  .section.mh .row.row8 {
    height: 312px;
    background: url('../images/mh/5/0.jpg') no-repeat 80% / 200px 312px;
  }

  .mh-bar {
    border-bottom: 2px dashed #999;
    -webkit-transform: skewX(-20deg);
        -ms-transform: skewX(-20deg);
            transform: skewX(-20deg);
  }
  .mh-bar-content {
    display: inline-block;
    padding: 15px 30px;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    text-shadow: 2px 2px #333;
    background-color: #999;
  }
}

@media screen and (min-width: 1200px) {
  .row {
    width: 1200px;
    margin: 0 auto;
  }
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 10px 50px;
  color: #fff;
  background-color: #000;
}
.header .logo images {
  width: 32px;
  height: 32px;
  vertical-align: middle;
}
.header .login {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.header .login .btn {
  cursor: pointer;
}
.header .login .btn-login::after {
  content: '';
  width: 1px;
  height: 100%;
  margin: 0 10px;
  border-right: 1px solid #fff;
}

.form-wrapper {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80%;
  min-width: 200px;
  max-width: 500px;
  /* transform: translate(-50%, -50%) scale(.5); */
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  border-radius: 5px;
  background-color: rgba(0, 0, 0, .8);
  /* opacity: 0;
  transition: all 400ms; */
}
.form-wrapper .close {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, .8);
  border-radius: 50%;
  top: -35px;
  right: 0;
  cursor: pointer;
}
.form-wrapper .close::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 5px;
  width: 20px;
  height: 1px;
  background-color: #fff;
  -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
          transform: rotate(45deg);
}
.form-wrapper .close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 5px;
  width: 20px;
  height: 1px;
  background-color: #fff;
  -webkit-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.form-wrapper .form-group {
  display: none;
  padding: 50px 40px 20px;
}
.form-wrapper .form-group .form-item {
  display: block;
  width: 100%;
  height: 44px;
  padding: 0 10px;
  margin-bottom: 30px;
  border-radius: 4px;
}
.form-wrapper .form-group .form-btn {
  font-size: 18px;
  border-radius: 50px;
  outline: none;
  border: none;
  cursor: pointer;
  background-color: #fff;
}
.form-wrapper .form-group .form-hint {
  text-align: center;
  font-size: 14px;
  color: #fff;
}
.form-wrapper .form-group .form-hint .btn {
  color: rgb(246, 174, 73);
  cursor: pointer;
}
