@charset "utf-8";
/* CSS Document */


body {
  margin: 0;
}
.itembox {
  padding: 20px 0;
}

.itemboxInner {
  width: 1000px;
  margin: 0 auto;
  display:flex;
  justify-content: space-between;
  align-items: center;
}

/*.itembox h3 {
  margin: 0px;
  position: relative;
  padding: 0.25em 0;
  color:#fff;
  font-weight:bold;
}
.itembox h3:after {
  content: "";
  display: block;
  height: 4px;
  background: -webkit-linear-gradient(to right, rgb(230, 90, 90), transparent);
  background: linear-gradient(to right, rgb(230, 90, 90), transparent);
}*/
.itemtext {
  width: 60%;
  padding: 20px;
}
.itemtext p { color:#fff;
margin-top:10px;
}
.pict {
  width: 40%;
  padding: 20px;
}
.pict img {
  width:100%;
  height: auto;
}

.itembox:nth-child(even) {
  /*background-color: #e6e6e6;*/
}
.itembox:nth-child(even) .itemboxInner {
  flex-direction: row-reverse;
}

.itembox:nth-child(even) .itembox h3,
.itembox:nth-child(even) .itemtext {
  text-align: right;
}

@media screen and (max-width: 767px) {
  body {
    width: 100%;
  }
  .itembox {
   padding: 20px;
  }

  .itemboxInner {
    width: 100%;
    flex-direction: column-reverse;
  }
  .itemtext {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .pict {
    min-height: 0%;/* ie11用 */
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  .pict img {
    width: 100%;
    height: auto;
  }

  .itembox:nth-child(even) {
  background-color:#FFFFFF;  
  }
  .itembox:nth-child(even) .itemboxInner {
    flex-direction: column-reverse;
  }

  .itembox:nth-child(even) .itembox h3,
  .itembox:nth-child(even) .itemtext {
    text-align: center;
  }
 }

