@charset "utf-8";

#mainvis {
  background: url("../img/service/bg.jpg") center 67% / cover no-repeat;
}

.cbox ul{
  width: 60vw;
  margin: 3em auto;
}
.cbox li {
  display:flex;
  justify-content: center;
  align-items: center;
  margin: 0 0 8em;
}
.cbox li figure {
  width: 60%;
  margin-right: 5em;
}
.cbox li figure img {
  width: 100%;
}
.cbox li:nth-of-type(even) figure {
  margin-right: 0;
  margin-left: 5em;
  float: right;
}
.cbox li h3 {
  font-size: 1.4em;
  margin-bottom: 1em;
  border-bottom: 1px solid #778899;
}
.cbox li h3 span {
  color: #778899;
  font-size: 3em;
  font-weight: normal;
  margin-right: .3em;
}
.cbox li p {
  margin-bottom: 1em;
}
.cbox li p a {
  text-decoration: underline;
}

@media screen and (max-width: 1400px) {
  .cbox ul {
  width: 70vw;
  }
}
@media screen and (max-width: 1024px) {
  .cbox ul {
    width: 80vw;
  }
  .cbox li {
    width: auto;
    display: block;
  }
  .cbox li figure {
    margin: 0 auto 3vw !important;
    width: 80%;
  }
  .cbox li:nth-of-type(even) figure {
    float: none;
  }
}
@media screen and (max-width: 540px) {
  .cbox ul {
    width: 90vw;
  }
}