@charset "UTF-8";


html,
body,
p {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
  vertical-align: bottom;
}

/*----------------------------------
service.html
----------------------------------*/
.service {
  position: relative;
  margin: 100px auto 150px;
}

.service .img {
  width: 100%;
}

.service .img img {
  width: 70%;
  display: block;
}

/* 親を設定して写真の上で自由に配置 */
.service .text {
  width: 45%;
  background: #ffffffcf;
  padding: 40px;
  position: absolute;
  right: -60px;
  bottom: -50px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
}

.service .section-title {
  font-size: 3rem;
  text-align: center;
  padding: 0;
  margin-bottom: 20px;
}

.service .description {
  font-size: 1.8rem;
  line-height: 1.8;
}

/* スマホ--------------------- */
@media screen and (max-width: 767px) {

  .wrapper {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

  html,
  body,
  main {
    overflow-x: hidden;
  }

  .service {
    margin: 30px auto;
    padding: 0 15px;
    box-sizing: border-box;
  }

  .service .img {
    width: 100%;
  }

  .service .img img {
    width: 100%;
    display: block;
  }

  .service .text {
    position: static;
    width: 100%;
    margin: 0;
    padding: 20px;
    left: 0;
    box-sizing: border-box;
    background-color: rgb(228, 225, 225);
  }

  .service .section-title {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: center;
    padding: 0;
    margin: 10px 0 20px;
    box-sizing: border-box;
    font-weight: 600;
  }

  .service .description {
    font-size: 1.8rem;
    line-height: 1.8;

  }

  .inner-wrapper {
    margin-top: -30px;
  }

}