@charset "utf-8";


/* services */
.services_section {
  width: 128rem;
  margin: 0 auto;
  padding-top: 11rem;
  padding-bottom: 10rem;
}

.services_sub_theme {
  padding-bottom: 3.5rem;
  margin-bottom: 4.0rem;
  font-size: 3rem;
  font-family: var(--NotoSerif);
  color: var(--white);
  font-weight: 400;
  line-height: calc(44 / 30);
  border-bottom: 0.1rem solid #FFFFFF;
}

/* .services_provide_flex {
  display: flex;
  padding-top: 4.0rem;
  padding-bottom: 5.5rem;
  border-bottom: 0.1rem solid #FFFFFF;

  &:first-of-type {
    padding-top: 0;
  }
} */

.services_provide_flex {
  display: grid;
  grid-template-columns: 58.5rem 60.5rem;
  column-gap: 2.0rem;
  padding-top: 4.0rem;
  padding-bottom: 5.5rem;
  padding-left: 7.0rem;
  border-bottom: 0.1rem solid #FFFFFF;

  &:first-of-type {
    padding-top: 0;
  }
}

/* .services_num {
  font-size: 5rem;
  font-family: var(--NotoSerif);
  font-weight: 400;
  line-height: calc(72 / 50);
  color: var(--white);
  width: 5.5rem;
  margin-right: 1.5rem;
} */

.services_third_theme {
  margin-top: 3.2rem;
  font-size: 2rem;
  font-family: var(--NotoSerif);
  font-weight: 400;
  line-height: calc(26 / 20);
  color: var(--white);
  position: relative;

  /* 疑似要素で数字を付けて、タイトルの最終行と数字の底辺が合うようにする */
  &::before {
    position: absolute;
    content: "01";
    font-weight: 400;
    font-size: 5.0rem;
    line-height: calc(50 / 50);
    color: var(--white);
    bottom: 0;
    left: -7.0rem;
  }

  &.second_theme {
    &::before {
      content: "02";
    }
  }

  &.third_theme {
    &::before {
      content: "03";
    }
  }

  &.fourth_theme {
    &::before {
      content: "04";
    }
  }

  &.fifth_theme {
    &::before {
      content: "05";
    }
  }

}

.services_third_text {
  margin-top: 2.5rem;
  width: 58.8rem;
  font-size: 1.6rem;
  font-family: var(--NotoSerif);
  font-weight: 400;
  line-height: calc(26 / 16);
  color: var(--white);
}

.services_list {
  list-style: disc;
  list-style-position: outside;
  padding-left: 2rem;
}

.services_provide_phot {
  width: 60.5rem;
  height: 29.6rem;
  margin-top: 2.1rem;
  /* margin-left: 2.0rem; */
}

/* activities */

.activities_sub_theme {
  padding-top: 9.5rem;
  font-size: 3rem;
  font-family: var(--NotoSerif);
  color: var(--white);
  font-weight: 400;
  line-height: calc(44 / 30);
}

.activities_text {
  padding-top: 3.5rem;
  font-size: 2rem;
  font-family: var(--NotoSerif);
  font-weight: 400;
  line-height: calc(26 / 20);
  color: var(--white);
}

.activities_third_theme {
  margin-top: 7.0rem;
  font-size: 2.5rem;
  font-family: var(--NotoSerif);
  font-weight: 400;
  line-height: calc(26 / 25);
  color: var(--white);

}

.activities_phot {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 4rem;
}

.activities_phot_img {
  cursor: pointer;
  position: relative;
}

.activities_phot_img img {
  width: 40rem;
  height: 29.6rem;
}

.hover_mask {
  align-items: center;
  background: #000000 0% 0% no-repeat padding-box;
  bottom: 0;
  display: flex;
  height: auto;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease;
  width: 40rem;
  height: 29.6rem;
  font-size: 1.6rem;
  font-family: var(--NotoSerif);
  font-weight: 400;
  line-height: calc(26 / 16);
  color: var(--white);
}

.hover_mask:active {
  /* スマホやパソコンで「アクティブ（押されている瞬間）」になったとき */
  opacity: 0.7;
}

.hover_text {
  margin: 0 auto;
  text-align: center;
}

/* JS切り替え表示 */

.activities_visual_img {
  cursor: pointer;
  position: relative;
}

.activities_visual_img img {
  width: 40rem;
  height: 29.6rem;
}

.activities_overlay {
  display: none;

  background: #000000 0% 0% no-repeat padding-box;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: opacity .6s ease;
  width: 40rem;
  height: 29.6rem;
}

.activities_overlay_text {
  margin: 0 auto;
  text-align: center;
  font-size: 1.6rem;
  font-family: var(--NotoSerif);
  font-weight: 400;
  line-height: calc(26 / 16);
  color: var(--white);
}

.activities_overlay_on {
  opacity: 0.7;
  display: flex;
  justify-content: center;
  align-items: center;
}



/* activities_nature */
.activities_nature_phot {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 4rem;
  row-gap: 4rem;
}

.activities_nature_phot_img {
  cursor: pointer;
  position: relative;
}

.activities_nature_phot_img img {
  width: 40rem;
  height: 29.6rem;
}

.activities_sp_only {
  display: none;
}

/* .sp_only{
  display: none;
} */



@media screen and (max-width:699.98px) {
  /* .pc_only{
    display: none;
  }
  .sp_only{
    display: block;
  } */

  /* services */
  .services_section {
    width: 31.5rem;
    margin: 0 auto;
    padding-top: 5rem;
    padding-bottom: 8rem;
  }

  .services_sub_theme {
    padding-bottom: 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 2.2rem;
    line-height: calc(31 / 22);
  }

  /* .services_provide_flex {
    display: flex;
    flex-direction: column;
    padding-top: 2.5rem;
    padding-bottom: 4.0rem;
  } */

  .services_provide_flex {
    /* display: flex; */
    grid-template-columns: 1fr;
    padding-top: 2.5rem;
    padding-bottom: 4.0rem;
    padding-left: 0;
  }


  /* .services_num {
    font-size: 3rem;
    font-family: var(--NotoSerif);
    font-weight: 400;
    line-height: calc(44 / 30);
    margin-right: 0;
  } */

  .services_third_theme {
    margin: 0;
    font-size: 1.8rem;
    font-family: var(--NotoSerif);
    font-weight: 400;
    line-height: calc(26 / 18);
    color: var(--white);
    margin-top: 4.4rem;

    /* 疑似要素で数字を付けて、タイトルの最終行と数字の底辺が合うようにする */
    &::before {
      font-size: 3.0rem;
      line-height: calc(44 / 30);
      color: var(--white);
      top: -4.4rem;
      left: 0;
    }
  }

  .services_third_text {
    margin-top: 2rem;
    width: 31.5rem;
  }

  .services_provide_phot {
    margin-top: 1rem;
    width: 31.5rem;
    height: 30rem;
    margin-left: 0;
  }

  /* activities */

  .activities_sub_theme {
    padding-top: 6rem;
    font-size: 2.2rem;
    font-family: var(--NotoSerif);
    color: var(--white);
    font-weight: 400;
    line-height: calc(31 / 22);
  }

  .activities_text {
    padding-top: 2rem;
    font-size: 1.6rem;
    line-height: calc(26 / 16);
    color: var(--white);
    text-shadow: 0 0.3rem 0.6rem #00000029;
  }

  .activities_third_theme {
    margin-top: 4rem;
    font-size: 2rem;
    line-height: calc(26 / 20);
  }

  .activities_phot {
    margin-top: 2.5rem;
    row-gap: 2.5rem;
  }

  .activities_phot_img img {
    width: 31.5rem;
    height: 29.6rem;
  }

  .hover_mask {
    width: 31.5rem;
    height: 29.6rem;

  }

  /* activities_nature */

  .activities_nature_phot {
    margin-top: 2.5rem;
    column-gap: 2.5rem;
    row-gap: 2.5rem;
  }

  .activities_nature_phot_img img {
    width: 31.5rem;
    height: 29.6rem;
  }

  .activities_sp_only {
    display: block;
  }

  .activities_sp {
    display: none;
  }

  .activeShadow .hover_mask{
    opacity: 0.7;
  }

}


@media (any-hover: hover) {
  .hover_mask:hover {
    opacity: 0.7;
  }
}
