.titleArea {
  background-image: url(../images/mainimg.jpg);
}

#contents {
  margin: 0 5vw;
}

.mainArea {
  max-width: 1200px;
  margin: 100px auto 0;
}
@media screen and (max-width: 960px) {
  .mainArea {
    margin-top: 50px;
  }
}
.mainArea > section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.mainArea > section:not(:last-child) {
  margin-bottom: 100px;
}
@media screen and (max-width: 960px) {
  .mainArea > section:not(:last-child) {
    margin-bottom: 50px;
  }
}
.mainArea > section > div {
  width: 50%;
  padding-top: 20px;
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .mainArea > section > div {
    width: 100%;
  }
}
.mainArea > section > div h3 {
  font-size: clamp(18px, 100vw * 30 / 1200, 30px);
  margin-bottom: 30px;
}
@media screen and (max-width: 960px) {
  .mainArea > section > div h3 {
    margin-bottom: 20px;
  }
}
.mainArea > section > div .access {
  margin-bottom: 20px;
}
@media screen and (max-width: 960px) {
  .mainArea > section > div .access {
    margin-bottom: 10px;
  }
}
.mainArea > section > div .text {
  margin-bottom: 30px;
  line-height: 200%;
}
@media screen and (max-width: 960px) {
  .mainArea > section > div .text {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 668px) {
  .mainArea > section > div .text {
    line-height: 170%;
  }
}
.mainArea > section .photo {
  width: calc(50% - 50px);
}
@media screen and (max-width: 960px) {
  .mainArea > section .photo {
    width: calc(50% - 30px);
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .mainArea > section .photo {
    width: 100%;
  }
}
.mainArea > section:nth-child(2n) {
  flex-direction: row;
  padding-top: 50px;
  padding-bottom: 50px;
  padding-right: 30px;
  position: relative;
}
@media screen and (max-width: 960px) {
  .mainArea > section:nth-child(2n) {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .mainArea > section:nth-child(2n) {
    padding-top: 25px;
    padding-bottom: 35px;
    padding-right: 0;
  }
}
.mainArea > section:nth-child(2n)::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  width: 80%;
  height: 100%;
  background: url(../../common/images/bg_pattern.jpg);
  z-index: -1;
}
@media screen and (max-width: 960px) {
  .mainArea > section:nth-child(2n)::before {
    background-size: 300px auto;
  }
}
@media screen and (max-width: 668px) and (orientation: portrait) {
  .mainArea > section:nth-child(2n)::before {
    width: 90%;
    right: 0;
    left: -5vw;
  }
}/*# sourceMappingURL=index.css.map */