/*-------------------------------------------------------
  serviceToplayout
-------------------------------------------------------*/
/* ===== SP ===== */
.mainContents {
  width: 100%;
}

.mainContents__wrapper {
  padding: 0;
  margin-bottom: 0;
}

.mainContents__outer {
  position: relative;
  height: 480px;
}

.mainContents__title-outer {
  background-image: url(/image/works/works_img_mainvisual.avif);
  background-repeat: no-repeat;
  background-position: top 100px left calc(50% + 120px);
  background-size: auto 160px;
  height: 260px;
}

.mainContents__title-wrapper {
  margin-bottom: 30px;
  padding: 0 20px;
}

.mainContents__text-wrapper {
  width: 300px;
  padding: 32px 32px 16px;
  background-color: #fff;
  border: solid 2px #000;
  border-radius: 10px;
  opacity: 0.7;
}

.mainContents__text {
  font-size: 16px;
  margin-bottom: 16px;
  line-height: 1.6;
}

.mainContents__text-outer {
  position: absolute;
  top: 232px;
  left: 20px;
}

.mainContents__strong {
  font-weight: bold;
  color: #fff;
}

.titLv2ServiceTop__wrapper {
  display: block;
  padding: 0 20px 56px;
}

.titLv2ServiceTop__title {
  position: relative;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.1em;
  line-height: 1.8;
  margin-bottom: 42px;
  text-align: center;
}

.titLv2ServiceTop__title::after {
  position: absolute;
  content: "";
  width: 32px;
  height: 2px;
  left: calc(50% - 16px);
  bottom: -24px;
  border-radius: 2px;
  background-color: #fff;
}

.titLv2ServiceTop__title-sub {
  display: block;
  font-size: 14px;
  color: #fff;
}

.titLv2ServiceTop__text {
  font-size: 17px;
  line-height: 2;
  margin-bottom: 20px;
}


.btnMore {
  display: block;
  width: 200px;
  height: 48px;
  line-height: 48px;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #000;
  font-weight: bold;
  margin: 0 auto;
  background-image: url(/image/common/icon_arrow.svg);
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-position: right 20px top 50%;
}

a.btnMore {
  text-decoration: none;
}

.btnMore__text {
  margin-left: 36px;
}

.btnClose {
  display: block;
  width: 200px;
  height: 48px;
  line-height: 48px;
  background-color: #fff;
  border-radius: 24px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #000;
  font-weight: bold;
  margin: 0 auto;
  background-image: url(/image/common/icon_close.svg);
  background-repeat: no-repeat;
  background-size: 48px 48px;
  background-position: right 20px top 50%;
  cursor: pointer;
}

a.btnClose {
  text-decoration: none;
}

.btnClose__text {
  margin-left: 36px;
}

.service {
  background-color: #e9f8f8;
  border-radius: 20px;
  padding: 10px;
}

.serviceImg__text {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 20px 20px;
}

.serviceImg__text-a {
  color: #26b7bc;
  word-wrap: break-word;
}

.serviceText__title {
  margin: 0 auto;
  position: relative;
  display: inline-block;
  padding: 0 40px;
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: bold;
}

.serviceText__title:before,
.serviceText__title:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: #000;
}

.serviceText__title:before {
  left: 0;
}

.serviceText__title:after {
  right: 0;
}

.serviceText__wrapper {
  width: 90%;
  margin: 0 auto 40px;
  background-color: #fff;
  border-radius: 20px;
  padding: 20px;
}

.serviceText__table {
  font-size: 15px;
  width: 100%;
}

.serviceText__table {
  text-align: left;
}

.serviceText__table th {
  width: 45%;
  padding: 4px;
}

.serviceText__table td {
  width: 45%;
  text-align: right;
  padding: 4px;
}

/* ===== tablet ===== */
@media screen and (min-width:768px) {

  .breadCrumb {
    margin-bottom: 0;
  }

  .mainContents__wrapper {
    margin-top: 0;
  }

  .mainContents__outer {
    position: relative;
    height: 480px;
    padding-top: 30px;
  }

  .mainContents__title-outer {
    background-image: url(/image/works/works_img_mainvisual.avif);
    background-repeat: no-repeat;
    background-position: top left calc(50% + 320px);
    background-size: auto 260px;
    height: 260px;
  }

  .mainContents__text-outer {
    width: 768px;
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
  }

  .mainContents__title-wrapper {
    width: 768px;
    margin: 0 auto 56px;
    padding: 64px 0 0 5px;
  }

  .service,
  .mainContents__text-outer {
    width: 768px;
    margin: 0 auto;
  }

  .mainContents__text-wrapper {
    width: 380px;
    padding: 40px;
  }

  .mainContents__text {
    font-size: 14px;
    line-height: 2;
  }

  .titLv2ServiceTop__wrapper {
    padding: 0 0 60px;
    text-align: center;
  }

  .titLv2ServiceTop__title {
    font-size: 24px;
    margin-bottom: 48px;
  }

  .titLv2ServiceTop__text {
    font-size: 14px;
    line-height: 2;
    margin-bottom: 24px;
  }

  .btnMore {
    margin: 16px 0;
  }

  .serviceText__wrapper {
    width: 500px;
  }
}



/* ===== PC ===== */
@media screen and (min-width:1024px) {

  .service,
  .mainContents__title-wrapper {
    width: 1000px;
  }

  .mainContents__outer {
    position: relative;
    height: 480px;
    padding-top: 30px;
  }

  .mainContents__title-outer {
    background-image: url(/image/works/works_img_mainvisual.avif);
    background-repeat: no-repeat;
    background-position: top left calc(50% + 390px);
    background-size: auto 320px;
    height: 320px;
  }

  .mainContents__text-outer {
    width: 1000px;
    position: absolute;
    top: 220px;
    left: 50%;
    transform: translateX(-50%);
  }

  .mainContents__text-wrapper {
    width: 500px;
    padding: 40px;
  }

  .mainContents__text {
    font-size: 17px;
  }

  .titLv2ServiceTop__wrapper {
    width: 1000px;
    margin: 0 auto;
  }

  .titLv2ServiceTop__title {
    font-size: 26px;
  }

  .titLv2ServiceTop__text {
    font-size: 17px;
  }

  .btnMore {
    margin: 0;
  }
}