@charset "UTF-8";

.hidden {
  overflow: hidden;
}

.sp {
  display: none;
}

.tb {
  display: none;
}

.pc {
  display: block;
}

.page-case {
  line-height: 1;
  padding-bottom: 110px;
}

.page-title {
  font-size: 20px;
  font-weight: 700;
  color: #009c84;
  padding-bottom: 16px;
  padding-left: 15%;
}

.common-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
}

.case-bg {
  background-color: #fffee8;
}

.case-bg-two-tone {
  padding-bottom: 100px;
  background: -moz-linear-gradient(left, #fff 89.1%, #fffee8 89.2%, #fffee8);
  background: -webkit-linear-gradient(left, #fff 89.1%, #fffee8 89.2%, #fffee8);
  background: linear-gradient(to right, #fff 89.1%, #fffee8 89.2%, #fffee8);
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  color: #009c84;
  padding-top: 60px;
}

.section-title:nth-child(1) {
  padding-top: 80px;
}

.section-title.pt-lg {
  padding-top: 120px;
}

.content {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

.content.content--flex-reverse {
  flex-direction: row-reverse;
}

.content--pb {
  padding-bottom: 60px;
}

.content__pic {
  width: 360px;
  position: relative;
}

.content__pic img {
  width: 100%;
}

.content__caption {
  position: absolute;
  top: 252px;
  left: 0;
  width: 110%;
  font-size: 11px;
  line-height: 1.6;
  color: #009c84;
}

.content__caption > a {
  color: #009c84;
}

.content__caption > a:hover {
  text-decoration: underline;
}

.content__text {
  width: 580px;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.2;
  color: #009c84;
}

.content__text span {
  display: inline-block;
}

@media screen and (max-width: 1100px) {
  .content__text {
    width: 520px;
  }
}

.text-right {
  margin-top: 5px;
  text-align: right;
}

.content__text::before {
  display: block;
  width: 0;
  height: 0;
  margin-top: calc((1 - 1.5) * 0.9em);
  content: "";
}

.content__text::after {
  display: block;
  width: 0;
  height: 0;
  margin-bottom: calc((1 - 1.5) * 0.9em);
  content: "";
}

/* ------------------------------------------
/* tablet
/* ------------------------------------------ */

@media screen and (max-width: 1079px) {
  .pc {
    display: none;
  }

  .tb {
    display: block;
  }

  .page-case {
    line-height: 1;
    padding-bottom: 0;
  }

  .page-title {
    font-size: 20px;
    font-weight: 700;
    color: #009c84;
    padding-bottom: 16px;
    padding-left: 15%;
  }

  @media screen and (max-width: 1024px) {
    .page-title {
      padding-left: 31px;
    }
  }

  .common-inner {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
  }

  .case-bg {
    background-color: #fffee8;
  }

  .case-bg-two-tone {
    padding-bottom: 60px;
    background: #fff;
  }

  .section-title {
    width: 100%;
    font-size: 24px;
    font-weight: 700;
    line-height: 2;
    color: #009c84;
    padding-top: 90px;
    margin: 0 auto;
  }

  .section-title:nth-child(1) {
    padding-top: 40px;
  }

  .section-title.pt-lg {
    padding-top: 50px;
  }

  .content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin-top: 35px;
  }

  .content.content--flex-reverse {
    flex-direction: column;
  }

  .content--pb {
    padding-bottom: 50px;
  }

  .content__pic {
    width: 100%;
  }

  .content__pic img {
    width: 100%;
  }

  .content__caption {
    position: static;
    width: 100%;
    font-size: 11px;
    line-height: 1.6;
    color: #009c84;
    margin-top: 10px;
  }

  .content__caption > a {
    color: #009c84;
  }

  .content__text {
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    line-height: 2.2;
    color: #009c84;
    margin: 40px auto 0;
  }

  .text-right {
    margin-top: 40px;
    text-align: right;
  }

  .content__text::before {
    content: none;
  }

  .content__text::after {
    content: none;
  }
}

/* ------------------------------------------
/* sp
/* ------------------------------------------ */

@media screen and (max-width: 767px) {
  .tb {
    display: none;
  }

  .sp {
    display: block;
  }

  .common-inner {
    padding: 0 20px;
  }

  .section-title {
    font-size: 20px;
  }

}
