@charset "UTF-8";

/* ==== root ========================== */
:root {
  --color-black: #555555;
  --color-white: #ffffff;
  --color-primary: #FF7F00;
  --color-bg: #F2F2F2;

  --noto-sans: "Noto Sans JP", serif;
  --shippori-m: "Shippori Mincho B1", serif;
  --montserrat: "Montserrat", sans-serif;

}


/*================================================
 * #subVisual
 ================================================*/
#subVisual::before {
  background-image: url(../../images/business/sub_vis.jpg);
}

@media screen and (max-width:767px) {}



/*================================================
 *  intro
 ================================================*/
#intro {
  padding-bottom: 17rem;
}

#intro::before {
  position: absolute;
  content: "";
  background-size: cover;
  background-repeat: no-repeat;
  vertical-align: middle;
  background-position: center;
  display: inline-block;
  background-image: url(../../images/business/intro_img.jpg);
  width: 102rem;
  height: 32.1rem;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

#intro .wrap {
  width: 125rem;
  padding: 9rem 11rem 21rem;
  position: relative;
}

#intro .wrap::before {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  background: var(--color-white);
  top: 0;
  left: 0;
  transition: all .5s ease .8s;
}

#intro .wrap.started::before {
  width: 100%;
}

#intro h2 {
  font-family: var(--shippori-m);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 2.25;
}

.intro_txt {
  width: 55rem;
}

.intro_txt p {
  margin-bottom: 2em;
  line-height: 2;
}

@media screen and (max-width:767px) {
  #intro {
    padding-bottom: 6rem;
  }

  #intro::before {
    width: 31.5rem;
    height: 16rem;
  }

  #intro .wrap {
    width: 34.5rem;
    padding: 5rem 1.5rem 10rem;
  }

  #intro h2 {
    font-size: 2.2rem;
    margin-bottom: 3rem;

  }
}



/*================================================
 * service
 ================================================*/
#service {
  padding-top: 16.5rem;
}

#service h2 {
  margin-bottom: 10rem;
}

.service_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 15rem;
}

.service_wrap::before {
  position: absolute;
  content: "";
  width: 0vw;
  height: 47.4rem;
  background: var(--color-white);
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  transition: all .5s ease .8s;
}

.service_wrap.started::before {
  width: 80vw;
}

.service_wrap-r {
  margin-left: calc((100% - 115rem) / 2);
}

.service_wrap-l {
  margin-right: calc((100% - 115rem) / 2);
  flex-direction: row-reverse;
}

.service_wrap-r::before {
  left: calc((100% - 115rem) * -1);
}

.service_wrap-l::before {
  right: calc((100% - 115rem) * -1);
}

.service_txt {
  width: 60rem;
}

.service_txt h3 {
  font-size: 2rem;
  font-weight: 500;
}

.service_txt h3 span {
  font-size: 1.5rem;
  font-weight: 400;
}

.service_txt h4 {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.4rem;
  margin: 1rem 0 0;
}

.service_txt p:first-of-type {
  padding-top: 1.5rem;
  border-top: 0.1rem solid #CCCCCC;
}

.service_txt p {
  line-height: 2;
  margin-top: 2em;
}


.service_img {
  overflow: hidden;
  object-fit: cover;
  width: 42.3vw;
  height: 38.3rem;
}


@media screen and (max-width:767px) {
  #service {
    padding-top: 12rem;
  }

  #service h2 {
    margin-bottom: 8rem;
  }

  .service_wrap {
    flex-wrap: wrap;
    justify-content: center;
  }

  .service_wrap-l,
  .service_wrap-r {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10rem;
  }

  .service_wrap::before {
    top: -5rem;
    transform: unset;
  }

  .service_wrap-r::before {
    left: 0;
  }

  .service_wrap-l::before {
    right: 0;
  }

  .service_txt {
    width: 30rem;
  }

  .service_txt h3 span {
    display: block;
  }

  .service_img {
    width: 30rem;
    height: auto;
    margin-top: 2rem;
  }

  .service_wrap-l .service_img {
    margin-right: auto;
  }

  .service_wrap-r .service_img {
    margin-left: auto;
  }
}