@charset "UTF-8";

#mainvisual {
  background-color: gray;
  background-image: url(./img/service_hero.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  margin: 0 auto;
  height: 470px;
  position: relative;
}

.hero_ttl > figcaption{
  font-size: 2.2rem;
}


/* ---------------- main_ttl-pc start ------------- */
#main_ttl {
  width: 100%;
  max-width: 831px;
  text-align: center;
  margin: 0 auto;
  margin-top: 80px;
  margin-bottom: 55px;
}

#main_ttl h1 {
  /* font-family: "Shippori Mincho B1"; */
  line-height: calc(50 / 30);
  font-size: 3.0rem;
  margin-bottom: 50px;
}

#main_ttl p {
  line-height: calc(38 / 16);
}

/* ---------------- main_ttl-pc end ------------- */
/* ---------------- service_case-2 start ------------- */
/* -------- Yokonarabi_compornet --------- */
.grid{
  display: flex;
  max-width: 1000px;
  margin: 0 auto;
}
.grid_item{
list-style: none;
}

.grid_col_2 > .grid_item{
  width: 50%;
}
.grid_col_3 > .grid_item{
  width: 33.3%;
}
.grid_col_4 > .grid_item{
width: 25%;
}



@media screen and (max-width: 768px){
  .grid{
    flex-wrap: wrap;
    justify-content: center;
  }
  .grid_col_2 > .grid_item,
  .grid_col_3 > .grid_item,
  .grid_col_4 > .grid_item{
    margin: 20px 0;
  }
  
  .service_case_subttl{
 height: 100px;  
  }
  .service_case_subttl, .service_case_description {
    background-color: #0051A4;
    padding: 10px;
  }
}

.grid_item{
  margin: 0 auto;
border: #fff 2px solid;
}

.service_case-2 {
  font-family: 'noto sans jp';
  line-height: 1.6;
  /* margin-bottom: 100px; */
  padding-bottom: 200px;
}

.service_case_img img{
  border-bottom: #fff 4px solid;
  width: 247px;
  height: 247px;
}

.service_case {
  display: block;
  background-color: #0051A4;
  color: #999999;
  max-width: 247px;
  text-align: center;
  padding-bottom: 0px;
  width: 100%;
  height: 150px;
}
.service_case_subttl {
  padding: 20px;
  font-size: 2rem;
  font-weight: 700;
  padding-bottom: 20px;
}

.service_case_description p {
  line-height: 2.5rem;
  text-align: justify;
  /* padding-bottom: 50px; */
  max-height: 171px;
  color: #fff;
  background-color: #0051A4;
  height: 160px;
  /* display: inline; */
  /* vertical-align: top; */
}
.service_case_description h1 {
  line-height: 1.8;
  background-color: #0051A4;
  color: #fff;
  text-align: center;
}
.service_case_description p{
padding: 0 20px 50px;
}


/* ---------------- service_case-2 end ------------- */

.about_morene {
  background-image: url(img/service_morene_bckground_pc.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 526px;
  margin: 0 auto;
  position: relative;
  margin-bottom: 150px;
}

.about_morene_area {
  max-width: 1000px;
  margin: 0 auto;
}

.about_morene_card {
  position: absolute;
  height: 438px;
  margin-bottom: 0;
  background-color: #fff;
  max-width: 500px;
  padding: 20px;
  top: 200px;
  /* left:140px; */

}

.about_morene_ttl {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.about_morene_ttl h1 {
  /* font-family: "Shippori Mincho B1"; */
  font-size: 3rem;
  margin-top: 0;
  margin-bottom: 20px;
}

.about_morene_ttl img {
  width: 110px;
}

.about_morene_discription h2 {
  /* font-family: "Shippori Mincho B1"; */
  font-size: 2.2rem;
  line-height: 3.8rem;
  margin-top: 0;
  margin-bottom: 20px;

}

.about_morene_discription p {
  line-height: 2;
  margin-bottom: 38px;
}


.banner_works {
  background-image: url(../img/works_background_pc.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 100vw;
  position: relative;
  height: 419px;
  margin-bottom:140px ;
}

.banner_works_box {
  position: absolute;
  background-color: #fff;
  width: 239px;
  height: 244px;
  top: 18%;
  left: 50%;
  transform: translate(-50%,0);
  text-align: center;
}
.banner_works_box > p{
  margin-top: 5.5rem;
}
.banner_works_box h1 {
  font-size: 2.8rem;
  /* font-family: "Shippori Mincho B1"; */
  margin-top: 2.3rem;
  margin-bottom: 5rem;
}

.more_detail_link p{
  font-size: 400;
}


.arrow::after {
  content: url("img/more_detail_arrow.svg");
  width: 50px;
  padding-right:10px;
  padding-left: 5px;
  transform: translateY(-4px);
  display: inline-block;
}


.foot_banner{
margin-bottom: 90px;
}

.foot_banner_inner{
  max-width: 1000px;
  display: flex;
  margin: 0 auto;
  justify-content: space-between;
  list-style: none;
}

.foot_banner_inner figure img{
  list-style: none;
  margin-bottom: 2rem;
  width: 100%;
}


.foot_banner_inner figcaption{
text-align: center;
width:auto;
}



@media screen and (max-width:769px) {
  


  #main_ttl {
    text-align: left; 
    width: 90%;
  }
  #main_ttl h1{
    /* font-family: "Shippori Mincho B1"; */
  }

  #header_inner {
    background-color: gray;
    background-image: url(./img/service_hero_sp.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    margin: 0 auto;
    height: 100vh;
    /* position: relative; */
  }

#mainvisual{
background-image: url(img/service_hero_sp.png);

}

  .service_case {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    margin-bottom: 75px;
}
  .service_case_card {
    display: flex;
    flex-wrap: wrap;
}
  .card_inner img {
width: 48%;
}
  .card_inner figcaption {
width: 48%;
}




.about_morene_ttl img {
  width: 86px;
}


.about_morene_card{
  width: 90%;
  margin: 0 auto;
  left: 0;
  right: 0;
}

.about_morene {
  background-image: url(img/service_morene_bckground_sp.png);
  background-repeat: no-repeat;
  background-size: cover;
  height: 526px;
  margin: 0 auto;
  position: relative;
  margin-bottom: 247px;
}

.service_case_description {
  margin-bottom: 50px;
  width: 247px;
}



  .banner_works {
    background-image: url(img/works_background_sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    position: relative;
    margin-bottom: 140px;
}

  .banner_works_box{
    margin: 0 auto;
    left: 50%;
    transform: rotateX(-50%);
  }

  .foot_banner_inner{
    display: block;
    padding-left: 0;
  }
  .foot_banner_inner ul{
margin-bottom: 20px;
  }

  .foot_banner_inner figure{
margin: 0 auto;   
width: 96%; 
}
  .foot_banner_inner figure img{
    width: 100%;
    }

}
