html {
  font-size: calc(10/1280 * 100vw);
}
body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Sans",
    "Hiragino Kaku Gothic ProN",
    "Meiryo",
    "Yu Gothic",
    "Yu Gothic UI",
    "Helvetica Neue",
    Arial,
    sans-serif;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* header↓ */
.fv_gray_area {
  background-image:url(../img/mainvisual.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.fv_gray_area::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2); /* 黒20% */
}


.header_wrapper_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.4rem 2.4rem 0;
  width: 100%;
  position: fixed;
  z-index: 100;
}

.header_left {
  height: 3.5rem;
}

.header_write_area {
  display: flex;
  gap: 3.5rem;
  width: 36.5rem;
  height: 3.5rem;
  align-items: center;
  /* background-color: #fff; */
  justify-content: center;
  z-index: 1000;
}

.logo_img {
  /* width: 6.4rem; */
  /* height: 2.4rem; */
  width: 10rem;
  height: 6.4rem;

}

.front_title {
  font-size: 1.6rem;
  font-weight: bold;
}

.header_left_under {
  display: flex;
  gap: 5rem;
}

.left_under_font {
  font-size: 1.3rem;
  margin-top: 0.5rem;
}

.header_right_nav_flex {
  display: flex;
  gap: 1.5rem;
}

.nav_flex {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.right_nav_font{
  /* font-size: 1.2rem; */
}

.line_btn_flex {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background-color: #06C755;
  width: 18.4rem;
  height: 4rem;
  border-radius: 3rem;
  padding: 0 1.2rem;
}

.line_btn_icon_wrap {
  width: 4rem;
  height: 4rem;
}

.line_btn_font {
  color: #fff;
}

/* header↑ */
.fv_font_wrap {
  width: 62.8rem;
  margin: 0 auto;
  height: calc(100vh - 3.74rem);
  min-height: 50rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fv_title {
  font-size: 4.8rem;
  color: white;
  line-height: calc(58 / 48);
  z-index: 10;
}

.fv_title_subfont {
  font-size: 1.6rem;
  color: white;
  font-weight: 700;
  line-height: calc(24 / 16);
  margin-top: 8rem;
  z-index: 10;
}

/* 大切にしていること↓ */
.grey_blue_area {
  background-color: white;
  padding: 7.1rem 0 9.65rem;
}

.grey_blue_font_area {
  width: 65.2rem;
  padding-left: 2.4rem;
  margin: 0 auto;
  border-left: 0.5rem solid #B0E2F8;
  padding-bottom: 6.75rem;
  padding-top: 1.45rem;
}

.grey_blue_font {
  font-size: 1.6rem;
  font-weight: 700;
}

.grey_blue_title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  margin-top: 1.6rem;
}

.blue_margin_top {
  margin-top: 5rem;
}

.grey_blue_threecolumn {
  display: flex;
  width: 100%;
}

.grey_blue_incolumn {
  background-color: #fff;
  border-right: 0.1rem solid #707070;
  margin-top: 7.2rem;
  width: calc(100%/3);
  height: 20rem;
}

/* 大切にしていること↑ */

/* プロフィール↓ */
.profile_title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3.2rem;
}

.grey_white_area {
  background: #E7F8FF;
  opacity: 1;
  width: 80rem;
  margin: 0 auto;
  padding-bottom: 6.1rem;
}

.profile_img {
  width: 35rem;
  height: 35rem;
  margin: 0 auto;
  padding-top: 2.5rem;
  margin-bottom: 2.4rem;
}

.profile_name_flex {
  display: flex;
  gap: 1.7rem;
  justify-content: center;
}

.profile_image_wrap {
  width: 4rem;
  height: 4rem;
}

.profile_trainer_title {
  font-size: 2rem;
  font-weight: 700;
}

.profile_trainer {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  text-align: center;
}

.greetings_center {
  width: 60rem;
  margin: 0 auto 3.5rem;
}

.greetings_title {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.greetings_font {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: calc(24 / 16);
  margin-bottom: 3.4rem;
}

.career_trainer {
  font-size: 1.2rem;
  text-align: center;
  margin-bottom: 3.5rem;
  margin-top: 2rem;
}

.light_gray_area {
  background-color: #F8F8F8;
  width: 60rem;
  margin: 0 auto;
  padding: 2.1rem 3rem;
}

.light_gray_flex {
  display: flex;
  gap: 1.6rem;
}

.light_gray_left {
  font-size: 1.6rem;
}

.light_gray_list_font {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.grey_white_font {
  width: 60rem;
  margin: 3.2rem auto 0;
  font-size: 1.6rem;
  font-weight: 700;
  padding-bottom: 6.75rem;
  border-bottom: 0.6rem solid #000;
}

/* プロフィール↑ */

/* 料金↓ */
.black_area {
  background-color: #aaaaaaba;
}

.black_area_center {
  width: 80rem;
  margin: 0 auto;
  padding: 9.2rem 0;
  font-size: 1.6rem;

}

.black_area_titlearea {
  color: #fff;
  display: flex;
  gap: 3rem;
  margin-bottom: 3.9rem;
  align-items: flex-end;
}

.black_area_title {
  font-size: 2.8rem;
  font-weight: 700;
}

.black_white_flex {
  background-color: #FFFFFF;
  display: flex;
  padding: 2rem;
  font-weight: 700;
  justify-content: space-between;
  margin-bottom: 0.46rem;
}

.black_white_middletitle {
  color: #fff;
  margin: 3.26rem 0 0.7rem;
}

.black_whitefont {
  color: #fff;
  margin-bottom: 0.7rem;
}

/* 料金↑ */

/* ご利用までの流れ↓ */
.steps_to_use {
  background-color: white;
  position: relative;
  z-index: 0;
}

.steps_to_use::after {
  content: "";
  width: calc(100% / 2);
  height: 118rem;
  display: block;
  top: 3rem;
  left: 0;
  position: absolute;
  /* background-color: #B0E2F8; */
  background-image: url(../img/logo_site_icon_Optimaize_blue.png);
  /* background-repeat: no-repeat; */
  background-size: 10rem;
  /* background-position: center; */
  opacity: 0.1;
  z-index: -1;
  pointer-events: none; /* クリック阻害防止 */
}

.steps_to_use_center {
  width: 80rem;
  margin: 0 auto;
  padding: 13.6rem 0 9.6rem;
}

.steps_to_use_title {
  font-size: 2.8rem;
  color: black;
  font-weight: 700;
  margin-bottom: 3.2rem;
  z-index: 1;
  position: relative;
}

.steps_list_white_flex {
  background-color: #fff;
  border-radius: 0.4rem;
  width: 100%;
  height: 16.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
  padding: 1.2rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.15)
}

.steps_use_list_number {
  font-size: 1.6rem;
  border-bottom: 0.1rem solid #000;
  padding-bottom: 0.2rem;
  display: inline-block;
  font-weight: 700;
}

.steps_use_list_title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.steps_use_list_font {
  font-size: 1.4rem;
}

.steps_use_img_wrap {
  width: 23rem;
  height: 12rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* ご利用までの流れ↑ */

/* よくあるご質問↓ */
.grey_blue_area_center {
  width: 80rem;
  margin: 0 auto;
}

.question_q_area {
  padding: 2.6rem 2.4rem 2.6rem 6rem;
  background-color: #C3C3C3;
  position: relative;
}

.question_a_area {
  padding: 2.6rem 2.4rem 2.6rem 6rem;
  background-color: #fff;
  position: relative;
}

.question_q_font {
  font-size: 1.6rem;
  font-weight: 700;
}

.question_a_font {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: calc(24 / 16);
}

.question_q_mark {
  background-color: #000;
  color: #fff;
  margin-right: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  text-decoration-thickness: 0.15rem;
  position: absolute;
  left: 2.4rem;
  font-size: 1.6rem;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.question_a_mark {
  background-color: #fff;
  color: #000;
  padding: 0.2rem 0.7rem 0.8rem;
  margin-right: 0.8rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  text-decoration-thickness: 0.15rem;
  border: 0.1rem solid #707070;
  position: absolute;
  left: 2.4rem;
  font-size: 1.6rem;
  top: 0;
  bottom: 0;
  margin: auto 0;
  width: 2.8rem;
  height: 2.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* よくあるご質問↑ */

/* 活動施設/アクセス↓ */

.access_area_center {
  width: 80rem;
  margin: 9.6rem auto 9.1rem;
}

.access_area_title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-align: center;
}

.access_area_subtitle {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
}

.access_area_border {
  border: 0.1rem solid #707070;
  border-radius: 0.3rem;
  margin-top: 2.7rem;
  padding: 4rem 3.2rem 3.6rem;
}

.access_area_flex {
  display: flex;
  gap: 2.1rem;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.access_area_middletitle {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.access_area_font {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.4rem;
}

.access_address_flex {
  display: flex;
  gap: 1.7rem;
}

.access_area_right_img {
  width: 35.1rem;
  height: 19rem;
}

.access_area_leftwidth {
  width: 6.7rem;
}

.gym_map {
  text-align: center;
}

iframe {
  width: 100%;
}

/* 活動施設/アクセス↑ */

/* line_area↓ */
.line_area {
  background-color: #E7E7E7;
  padding: 10rem 0;
  text-align: center;
}

.line_area_title {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.font_green {
  color: #06C755;
}

.line_area_subtitle {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 4rem;
  letter-spacing: -0.1em;
}

.line_button_flex {
  margin: 0 auto;
  display: flex;
  background-color: #06C755;
  height: 5.6rem;
  align-items: center;
  width: 36.1rem;
  border-radius: 3rem;
  justify-content: center;
  gap: 3.3rem;
}

.line_icon_wrap {
  width: 4rem;
  height: 4rem;
}

.line_button_font {
  font-size: 1.4rem;
  color: #fff;
}

/* line_area↑ */

/* footer↓ */
.footer_black_area {
  background-color: #B0E2F8;
  color: black;
  font-size: 1.4rem;
  font-weight: 700;
  padding: 10rem 0 1.5rem;
}

.footer_black_flex {
  display: flex;
  justify-content: center;
  margin-bottom: 5.3rem;
  gap: 10.8rem;
}

.footer_list_font {
  width: 14rem;
  margin-bottom: 1.6rem;
}

.footer_list_font:last-child {
  margin-bottom: 0;
}

.footer_icon_right {
  display: flex;
  gap: 0.6rem;
}

.footer_icon_wrap {
  width: 4rem;
  height: 4rem;
}

.copy_light {
  font-size: 1.2rem;
  text-align: center;
}

/* footer↑ */

.sp_only {
  display: none;
}

@media screen and (max-width:699.98px) {
  html {
    /* font-size: 62.5%; */
    font-size: calc(10/375 * 100vw);
  }

  /* header↓ */
  .fv_gray_area {
    height: auto;
    background-position: left;
    /* object-position: left; */
  }

  .fv_font_wrap {
    width: 34.2rem;
    height: calc(100vh - 5.1rem);
    /* height: calc(100vh + 11rem); */
    min-height: 47rem;
  }

  .fv_title {
    /* font-size: 2.8rem; */
    font-size: 3.6rem;

    font-weight: bold;
    padding-top: 20rem;
  }

  .fv_title_subfont {
    margin-top: 2.4rem;
    /* padding-bottom: 2.4rem; */
    font-size: 1.4rem;
  }

  .blue_margin_top {
    margin-top: 2.4rem;
  }

  .header_wrapper_flex {
    position: relative;
    padding: 1.6rem 1.6rem 0;
  }
  
  .header_write_area {
    width: 28.5rem;
    position: fixed;
    z-index: 1000;
  }

  .header_left_under {
    display: none;
  }

  .line_btn_flex {
    position: absolute;
    right: 0;
    top: 6.3rem;
    position: fixed;
    z-index: 1000;
  }

  /* header↑ */

  /* 大切にしていること↓ */
  .grey_blue_area {
    padding: 7.1rem 0 3.3rem;
  }

  .grey_blue_font_area {
    width: 34.3rem;
    padding-bottom: 3.75rem;
  }

  .grey_blue_font {
    font-size: 1.4rem;
    font-weight: 400;
    line-height: calc(36 / 24);
  }

  .grey_blue_title {
    margin-bottom: 1.6rem;
    line-height: calc(36 / 24);
  }

  .grey_blue_incolumn {
    width: calc(100% / 2);
  }

  /* 大切にしていること↑ */

  /* プロフィール↓ */
  .profile_title {
    font-size: 2.4rem;
    text-align: left;
    margin-left: 3.2rem;
  }

  .grey_white_area {
    width: 32.6rem;
    padding-bottom: 3rem;
  }

  .profile_img {
    width: 29.4rem;
    height: 26.0rem;
  }

  .greetings_center {
    width: 29.4rem;
  }

  .greetings_font {
    font-size: 1.4rem;
  }

  .career_trainer {
    margin-top: 1rem;
  }

  .light_gray_area {
    width: 29.4rem;
    padding: 1.8rem 1rem;
  }

  .light_gray_flex {
    flex-direction: column;
    gap: 1rem;
  }

  .light_gray_left {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
  }

  .light_gray_list_font {
    font-size: 1.4rem;
  }

  /* プロフィール↑ */

  /* 料金↓ */
  .black_area_center {
    width: 32.8rem;
    padding: 7.2rem 0;
    font-size: 1.3rem;

  }

  .black_area_subtitle {
    font-size: 1.4rem;
    font-weight: 700;
  }

  .black_white_flex {
    padding: 1.5rem;
  }

  .black_white_middletitle {
    font-size: 1.6rem;
  }

  /* 料金↑ */

  /* ご利用までの流れ↓ */
  .steps_to_use_center {
    width: 34.2rem;
    padding: 8.7rem 0 6rem;
  }

  .steps_list_white_flex {
    height: 15.6rem;
    margin-bottom: 0.8rem;
  }

  .steps_use_list_white {
    width: 14.4rem;
  }

  .steps_use_list_title {
    margin: 0.8rem 0;
  }

  .steps_use_list_font {
    font-size: 1.2rem;
  }

  .steps_use_img_wrap {
    width: 14rem;
    height: 10rem;
  }

  .steps_to_use::after {
    content: "";
    width: calc(100% / 2);
    height: 100rem;
  }

  /* ご利用までの流れ↑ */

  /* よくあるご質問↓ */
  .grey_blue_area_center {
    width: 34.2rem;
  }

  .question_title {
    font-size: 2.8rem;
    text-align: center;
    margin: 0 0 2.4rem;

  }

  .question_q_area {
    padding: 2rem 0 2rem 5.2rem;
  }

  .question_q_font {
    font-size: 1.4rem;
  }

  .question_q_mark {
    left: 1.6rem;
  }

  .question_a_mark {
    left: 1.6rem;
    top: 1.6rem;
    margin: 0;
  }

  .question_a_area {
    padding: 2rem 0 2rem 5.2rem;
  }

  .question_a_font {
    font-size: 1.4rem;
    line-height: calc(21 / 14);
  }

  /* よくあるご質問↑ */

  /* 活動施設/アクセス↓ */
  .section_access {
    padding-top: 7.2rem;
    /* background-color: #000; */
  }

  .access_area_center {
    width: 34.2rem;
    margin: 0 auto 7rem;
  }

  .access_area_border {
    margin-top: 2.6rem;
    padding: 2.1rem 2.4rem 7.3rem;
  }

  .access_area_flex {
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.1rem;
  }

  .access_area_font {
    margin-bottom: 2.4rem;
    line-height: calc(21 / 14);
  }

  .access_area_right_img {
    width: 100%;
    height: 19rem;
  }

  /* 活動施設/アクセス↑ */

  /* line_area↓ */
  .line_area {
    padding: 3.7rem 2rem 4.4rem;
  }

  .line_button_flex {
    width: 30rem;
  }

  /* line_area↑ */

  /* footer↓ */
  .footer_black_area {
    padding: 7.7rem 2.4rem 4.6rem;
  }

  .footer_black_flex {
    justify-content: space-between;
  }

  /* footer↑ */

  .sp_only {
    display: block;
  }

  .pc_only {
    display: none;
  }

  /* ハンバーガーメニュー */
  .right_flex {
    opacity: 0;
    transition: .5s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    pointer-events: none;
    position: absolute;
    background: #c2e2f8;
  }

  .humberger_icon {
    width: 4rem;
    height: 4rem;
  }

  .humberger_icon_flex {
    display: flex;
    gap: 0.9rem;
    margin-top: 6.3rem;
  }

  .hamburger {
    position: fixed;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
    width: 2.2rem;
    height: 2.4rem;
    z-index: 200;
  }

  .hamburger span {
    /*3本の線を作る*/
    transition: all .3s;
    position: absolute;
    height: 0.3rem;
    background-color: #000;
    width: 100%;
    z-index: 10;
  }

  .hamburger span:nth-of-type(1) {
    top: 0;
  }

  .hamburger span:nth-of-type(2) {
    top: 0;
    bottom: 0;
    margin: auto 0;
  }

  .hamburger span:nth-of-type(3) {
    /*下の線の位置*/
    bottom: 0;
  }

  .hamburger.open span:nth-of-type(1) {
    /*openのとき、上の線を右斜めにする*/
    top: 10px;
    transform: translateY(6px) rotate(-33deg);
  }

  .hamburger.open span:nth-of-type(2) {
    /*真ん中の線を消す*/
    opacity: 0;
  }

  .hamburger.open span:nth-of-type(3) {
    /*下の線を左斜めにする*/
    top: 22px;
    transform: translateY(-6px) rotate(33deg);
  }

  .right_flex.open {
    position: fixed;
    opacity: 1;
    transition: .5s;
    display: flex;
    flex-direction: column;
    color: black;
    font-size: 2rem;
    align-items: baseline;
    justify-content: center;
    gap: 2.4rem;
    padding-left: 2.4rem;
    background-color: #c2e2f8;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    pointer-events: auto;
  }
}