@charset "UTF-8";

.tb{
  display: none;
}
.sp{
  display: none;
}
#mainvisual {
  background-image: linear-gradient(-90deg,#1EA9C3,#155493);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  margin: 0 auto;
  height: 470px;
  position: relative;
}

.hero_ttl {
  text-align: center;
  position: absolute;
  color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero_ttl>figcaption {
  font-size: 2.2rem;
}

.hero_ttl>strong {
  font-size: 4.2rem;
}

.scroll_caption p {

  color: #fff;
  position: absolute;
  display: inline-block;
  font-size: 2rem;
  height: 70px;
  line-height: 70px;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -14%);
}

.scroll_caption p::after {
  content: '';
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  bottom: 0;
  width: 2px;
  height: 30px;
  margin: auto;
  background-color: #fff;
}

/* ---------------- main_ttl-pc start ------------- */
#main_ttl {
  width: 100%;
  max-width: 1000px;
  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 ------------- */

/* ---------------- リンク集 start ------------- */

.link_area h1 {
  margin-top: 90px;
}

.grid_item_card {
  display: flex;
  width: 92%;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 0 auto;
}

.grid_item_card dd a img{
  font-weight: 400;
  width: 292px;
  text-align: center;
  box-shadow: #e6e6e6  0px 0px 15px;
}


.link_cont{
  margin-top: 80px;
margin-bottom: 80px;
}
/* ---------------- リンク集 end ------------- */

/* ---------------- service_case-2 start ------------- */
/* -------- Yokonarabi_compornet --------- */
.grid {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
}

.grid_item {
  list-style: none;
}

.grid_col_2>.grid_item {
  width: 50%;
}


.grid_item {
  margin: 0 auto;
}
.grid_item_card dd {
padding-bottom: 4rem;
}


.banner_works {
  background-image: url(../img/works_background_pc.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  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;
  margin-top: 2.3rem;
  margin-bottom: 5rem;
}

.more_detail_link p {
  font-weight: 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;
}

.sub_ttl h2 {
  margin-top: 10px;
}

.foot_banner_inner h2 {
  margin-top: 10px;
  font-size: 2.6rem;
}


/* ---------------------------------------------
---------------------------------------------
---------------------------------------------
---------------------------------------------
---------------------------------------------
--------------------------------------------- */

@media (max-width: 1000px) and (min-width: 770px) {
  .pc{
    display: none;
  }
  .tb{
    display: block;
  }
  .sp{
    display: none;
  }

  .grid_item {
    margin: 0 auto;
    width: 80vw;
}

.grid_item_card dd a img {
  padding-left: 10px;
  padding-right: 10px;
  width: 35vw;
}

}


/* ---------------------------------------------
---------------------------------------------
---------------------------------------------
---------------------------------------------
---------------------------------------------
--------------------------------------------- */

@media screen and (max-width:769px) {
  .pc{
    display: none;
  }
  .tb{
    display: none;
  }
  .sp{
    display: block;
  }
  #header_inner {
    background-image: linear-gradient(-90deg,#1EA9C3,#155493);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    margin: 0 auto;
    height: 750px;
  }

  #main_ttl {
    text-align: left;
    width: 90%;
  }

  .grid_item_card {
    display: block;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 auto;
}

.grid_item_card dd a img {
  width: 292px;

}

  .foot_banner_inner {
    display: block;
    padding-left: 0;
  }

  .foot_banner_inner h2 {
    margin-bottom: 40px;
}

  .foot_banner_inner ul {
    margin-bottom: 20px;
  }

  .foot_banner_inner figure {
    margin: 0 auto;
    width: 96%;
  }

  .foot_banner_inner figure img {
    width: 100%;
  }

}