@charset "utf-8";

.service-intro p,
.trust-intro p {
  margin-bottom: 1.5rem;
}

/* service */
#service {
  padding-top: var(--space-top);
  background-image: url(../images/decoration/light2.png);
  background-repeat: no-repeat;
  background-position: left top 8%;
  background-size: contain;
}

.service-intro {
  position: relative;
}

.service-intro::before {
  content: '';
  display: block;
  width: 10px;
  height: 45%;
  background-image: url(../images/decoration/line-g.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 98%;
  top: 10%;
}

.service-img {
  margin: 2rem 0;
}

.service-img img:first-child {
  padding-right: 20%;
  padding-bottom: 1rem;
}

.service-img img:last-child {
  padding-left: 20%;
}

.service-contents {
  margin-bottom: 5rem;
}

@media screen and (min-width:1200px) {

  #service {
    background-position: left 20% top 15%;
    background-size: auto;
  }

  #service .midashi {
    margin-bottom: 3rem;
  }

  .service-intro::before {
    top: 4%;
    left: -5%;
    width: 15px;
    height: 90%;

  }
}

/* trust */
#trust {
  padding-top: 5rem;
  padding-bottom: 3rem;
}

.trust-contents {
  margin: 2rem 0;
}

.trust-item {
  background-color: #ad9d66;
  padding: 1rem;
}

.trust-item p {
  font-family: fot-tsukuaoldmin-pr6n, sans-serif;
  margin: 0;
  line-height: 1;
}

.trust-item p:first-child {
  font-size: 20px;
}

.trust-item p:last-child {
  font-size: 63px;
  text-align: right;
  letter-spacing: 0.03em;
}

.trust-item p span {
  font-size: 24px;
}

.trust-item p span.small {
  font-size: 16px;
}

.trust-item+.trust-item {
  margin-top: 1rem;
}

.trust-intro {
  position: relative;
}

.trust-intro::before {
  content: '';
  display: block;
  width: 10px;
  height: 45%;
  background-image: url(../images/decoration/line-g.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 98%;
  top: 15%;
}

@media screen and (min-width:1200px) {

  #trust {
    background-image: url(../images/decoration/light-r.png);
    background-repeat: no-repeat;
    background-position: right top 8%;
    background-size: contain;
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  #trust .midashi {
    margin-bottom: 3rem;
  }

  .trust-intro::before {
    content: '';
    display: block;
    width: 15px;
    height: 90%;
    background-image: url(../images/decoration/line-g.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: 98%;
    top: 0;
  }

  .trust-item p:first-child {
    font-size: 29px;
  }

  .trust-item p:last-child {
    font-size: 87px;
    text-align: right;
    letter-spacing: 0.03em;
  }

  .trust-item p span {
    font-size: 36px;
  }

  .trust-item p span.small {
    font-size: 24px;
  }

}