@charset "utf-8";
@import url(common.css);

/*visual*/
.visual {
  height: 760px;
  background: url(../img/visualbg.jpg) no-repeat top center;
  background-size: 1920px 760px;
  background-attachment: fixed;
}
.visual .v-con {
  width: 1200px;
  height: 100%;
  margin: auto;
}
.visual .text-box {
  position: relative;
  top: 250px;
  width: 500px;
  left: 50%;
  margin-left: -250px;
  text-align: center;
}
.visual h2 {
  font-size: 2em;
}
.visual .search-box {
  padding: 0px 60px;
  margin: 20px 0 50px 0;
}
.visual .fa-hashtag {
  float: left;
  width: 15%;
  font-size: 32px;
  line-height: 45px;
}
.visual .search {
  float: right;
  width: 85%;
  height: 45px;
  border: solid 3px #f96a6e;
  border-radius: 5px;
  box-sizing: border-box;
}
.visual .search-box input {
  float: left;
  width: 80%;
  padding-left: 50px;
  line-height: 40px;
  background: transparent;
}
.visual .search-box a {
  display: block;
  float: right;
  width: 20%;
  padding: 0 20px;
  line-height: 44px;
  font-size: 20px;
  color: #777;
  box-sizing: border-box;
}
.visual .icon {
  position: relative;
  left: 50%;
  margin-left: -200px;
  margin-bottom: 50px;
  width: 400px;
  height: 160px;
}
.visual .icon a {
  float: left;
  width: 25%;
  height: 50%;
}
.visual .icon a span {
  width: 25%;
  height: 50%;
  text-align: center;
  line-height: 76px;
  font-size: 20px;
  font-weight: 700;
  opacity: 0;
}
.visual .icon a:nth-child(1) {
  background: url(../img/drawing.svg) no-repeat center center / 80px;
}
.visual .icon a:nth-child(2) {
  background: url(../img/craft.svg) no-repeat center center / 80px;
}
.visual .icon a:nth-child(3) {
  background: url(../img/cooking.svg) no-repeat center center / 70px;
}
.visual .icon a:nth-child(4) {
  background: url(../img/music.svg) no-repeat center center / 70px;
}
.visual .icon a:nth-child(5) {
  background: url(../img/picture.svg) no-repeat center center / 80px;
}
.visual .icon a:nth-child(6) {
  background: url(../img/life.svg) no-repeat center center / 70px;
}
.visual .icon a:nth-child(7) {
  background: url(../img/career.svg) no-repeat center center / 70px;
}
.visual .icon a:nth-child(8) {
  background: url(../img/signiture.svg) no-repeat center center / 70px;
}
.visual .icon a:hover {
  background: transparent;
}
.visual .icon a:hover span {
  opacity: 1;
}
.visual .text-box > a {
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 22px;
  background: #f96a6e;
  color: #fff;
}
.visual .text-box > a:hover {
  background: #fff;
  color: #f96a6e;
  font-weight: 700;
  border: 3px solid #f96a6e
}

/*main*/
main .sec1 {
  background: rgba(249, 106, 110, .2);
}
main .sec-con {
  padding: 100px 0;
  width: 1200px;
  margin: auto;
}
main .mask {
  width: 100%;
  overflow: hidden;
}
main h3 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
}
main .con-box1 {
  width: 200%;
  height: 450px;
  overflow: hidden;
}
main .con-box2,
main .con-box3 {
  width: 200%;
  overflow: hidden;
}
main .con {
  float: left;
  position: relative;
  width: 284px;
  height: 100%;
  margin-right: 20px;
}

main .con .img-box {
  position: relative;
  width: 100%;
  height: 200px;
  
  overflow: hidden;
}
main .con .img-box img {
  width: 100%;
}

/*section 1*/
main .sec1 .con .img-box {
  height: 350px;
}
main .sec1 .con .img-box img {
  width: 103%;
}
/*section 1 end*/

main .con .img-box .img-bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
}
main .con .img-box .img-bg a {
  display: block;
  width: 100%;
  height: 100%;
}
main .con .img-box:hover .img-bg {
  opacity: .5;
}
main .con .img-box p {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  line-height: 1.5;
  color: #eee;
  opacity: 0;
}
main .con .img-box:hover p {
  opacity: 1;
}
main .con-top {
  padding-top: 20px;
  padding-bottom: 15px;
  border-bottom: solid 1px #222;
  font-size: 18px
}
main .con-top h4 {
  float: left;
  font-weight: normal;
}
main .con-top .like-btn {
  display: block;
  float: right;
  font-size: 30px;
  color: #f96a6e;
  background: transparent;
}
main .con-btm {
  padding-top: 10px;
  padding-bottom: 20px;
  font-size: 12px;
  color: #aaa;
}
main .con-btm p {
  float: left;
}
main .con-btm .like {
  float: right;
}

main .sec2 .con .img-box {
  height: 200px;
}
main .con .img-box img {
  height: auto;
  width: 100%;
}

.date {
  font-weight: bold;
  color: #f96a6e;
}

/*signiture*/
main .sec4 .sec-con {
  padding-top: 0;
}
main .con-box4 {
  width: 200%;
  overflow: hidden;
}
main .con-box4 .sec4-con {
  float: left;
  position: relative;
  width: 385px;
  height: 290px;
  margin-right: 20px;
}
main .con-box4 .img-box {
  position: relative;
  width: 100%;
  height: 250px;
  
  overflow: hidden;
}
main .con-box4 .img-box img {
  height: 100%;
}
main .con-box4 h4 {
  padding-top: 10px;
  font-size: 18px
}
main .con-box4 .img-box img {
  width: 100%;
}
main .con-box4 .img-box .img-bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
}
main .con-box4 .img-box .img-bg a {
  display: block;
  width: 100%;
  height: 100%;
}
main .con-box4 .img-box:hover .img-bg {
  opacity: .5;
}
main .con-box4 .img-box p {
  position: absolute;
  bottom: 30px;
  left: 20px;
  right: 20px;
  line-height: 1.5;
  color: #eee;
  opacity: 0;
}
main .con-box4 .img-box:hover p {
  opacity: 1;
}

/*section 5*/
main .sec5 {
  background: #eee;
}
main .con-box5 {
  width: 200%;
  height: 200px;
  overflow: hidden;
}
main .sec5-con {
  float: left;
  width: 200px;
  height: 200px;
  border-radius: 200px;
  margin-right: 30px;
  overflow: hidden
}
main .sec5-con:nth-child(1) {background: url(../img/ing-1.jpg) no-repeat center center / cover;}
main .sec5-con:nth-child(2) {background: url(../img/ing-2.jpg) no-repeat center center / cover;}
main .sec5-con:nth-child(3) {background: url(../img/ing-3.jpg) no-repeat center center / cover;}
main .sec5-con:nth-child(4) {background: url(../img/ing-4.jpg) no-repeat center center / cover;}
main .sec5-con:nth-child(5) {background: url(../img/ing-5.jpg) no-repeat center center / cover;}
main .sec5-con:nth-child(6) {background: url(../img/ing-6.jpg) no-repeat center center / cover;}
main .sec5-con a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 200px;
  text-align: center;
  font-size: 30px;
  color: #eee;
  background: rgba(0,0,0,.5);
  opacity: 0;
}
main .sec5-con a:hover {
  opacity: 1;
}

/*banner*/
.banner {
  width: 100%;
  height: 120px;
  background: #eee;
}
.banner .b-con {
  position: relative;
  width: 1200px;
  height: 100%;
  margin: auto
}
.banner li {
  width: 100%;
  height: 120px;
  position: relative;
  background: url(../img/coupon.svg) no-repeat 58% center / 130px;
}
.banner li .txt-box {
  position: absolute;
  right: 50%;
  padding-top: 30px;
  text-align: right;
}
.banner li a {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
}
.banner li h3 {
  margin-bottom: 10px;
  text-align: right;
  font-size: 32px
}
.banner li p {
  color: #777;
}

/*button*/
main .sec-con {
  position: relative;
}

.move-btn {
  display: block;
  position: absolute;
  left: 1170px;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  
  box-shadow: 0px 0px 2px #777;
  cursor: pointer;
  z-index: 1;
}
.move-btn:hover {
  background-color: rgb(238, 238, 238, .5);
}
.next {
  background: url(../img/arrow-right.svg) no-repeat 55% center / 20px;
  background-color: rgba(255,255,255,.8);
}
.pre {
  background: url(../img/arrow-left.svg) no-repeat 45% center / 20px;
  background-color: rgba(255,255,255,.8);
}
main .sec1 .move-btn {
  top: 308px;
}
main .sec2 .move-btn,
main .sec3 .move-btn {
  top: 238px;
}
main .sec4 .move-btn {
  top: 158px;
}
main .sec5 .move-btn {
  top: 238px;
}
.banner .move-btn {
  top: 35px;
}
.banner .pre {
  left: 800px;
}
.banner .next {
  left: 852px;
}

/*tablet*/
@media screen and (min-width: 901px) and (max-width: 1280px) {
  .visual {
    background-position: 30%
  }
  .visual .tabletbg {
    width: 100%;
    height: 100%;
    background: url(../img/visualbg-right.jpg) no-repeat 160% center;
    background-attachment: fixed;
  }
  .visual .v-con {
    width: 90%;
  }
  main .sec-con {
    width: 90%;
  }
  .banner .b-con {
    width: 90%;
  }
  .move-btn {
    left: 97%;
  }
  .banner li {
    background-position: 60% center
  }
  .banner .pre {
    left: 70%
  }
  .banner .next {
    left: 70%;
    margin-left: 52px;
  }
}
/*mobile*/
@media screen and (max-width: 900px) {
  .visual {
    background: #fff;
    height: 670px;
  }
  .visual .v-con {
    width: 90%;
    height: 670px;
    overflow: hidden;
  }
  .visual .text-box {
    width: 100%;
    margin-left: -50%;
    top: 150px;
  }
  .visual h2 {
    font-size: 24px;
    letter-spacing: -2px;
  }
  .visual .search-box {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
  }
  .visual .fa-hashtag {
    line-height: 55px;
    width: 15%;
  }
  .visual .search {
    height: 55px;
  }
  .visual .search-box input {
    padding-left: 20px;
    line-height: 50px;
  }
  .visual .search-box a {
    padding: 0 20px;
    line-height: 55px;
  }
  .visual .icon {
    width: 100%;
    margin-left: -50%;
  }
  .visual .icon a span {
    font-size: 16px
  }
  
  main .sec-con {
    margin-left: 5%;
    width: 95%;
  }
  main .con-box2,
  main .con-box3 {
    height: 300px;
  }
  main .con-box4 {
    height: 290px;
  }
  
  .banner {
    height: 240px;
  }
  .banner .b-con {
    width: 90%;
  }
  .banner li {
    height: 240px;
    background: none;
  }
  .banner li .txt-box {
    position: relative;
    left: 0;
    right: 0;
    padding-top: 50px;
    text-align: center;
  }
  .banner li a {
    top: 0;
  }
  .banner li h3 {
    text-align: center;
    font-size: 24px
  }
  .move-btn {
    left: 78%;
  }
  .banner .move-btn {
    top: 150px;
  }
  .banner .pre {
    left: 50%;
    margin-left: -52px;
  }
  .banner .next {
    left: 50%;
  }
  
}