/* -----------------------------------------------
underPageセクション
----------------------------------------------- */
.underPage_section {
  padding: 13vw 8.5vw 8vw;
}

.underPage_inner {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.underPage_side {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
}

.underPage_main {
  width: 50%;
}

.underPage_wrap {
  display: flex;
  align-items: start;
  flex-wrap: wrap;
}

.underPage_box {
  width: 31.5%;
  margin-right: 1.5%;
  margin-bottom: 5%;
}

.underPage_box:nth-child(3n) {
  margin-right: 0;
}

.cat {
  background-color: white;
  padding: 0 1em;
  border-radius: 60px;
  width: fit-content;
}

.underPage_outline {
  width: 100%;
  padding-bottom: 56%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

/* -----------------------------------------------
メンバー詳細ページ追加分
----------------------------------------------- */
.underPage_side.column {
  flex-flow: column;
}

.link_tag {
  margin-bottom: 2vw;
}

.detail_outline {
  width: 86%;
  padding-bottom: 86%;
  position: relative;
  border-radius: 10px;
}

.detail_text {
  width: 100%;
}

.detail_address {
  display: flex;
  align-items: center;
  justify-content: start;
}

.detail_row {
  display: flex;
  align-items: center;
}

.detail_row:nth-child(2) {
  margin-left: 5vw;
}

.address_title {
  margin-right: 1em;
}

.address_contents {
}

.detailContact {
  display: flex;
  padding: 5%;
  background-color: black;
  width: 88%;
  border-radius: 10px;
  margin-bottom: 10vw;
}

.detailContact_tag {
  width: 30%;
}

.detailContact_target {
  width: 60%;
  padding-left: 3em;
}

.main_detail_row {
  display: flex;
  align-items: center;
  margin-bottom: 2vw;
}

.main_detail_head {
  width: 27%;
  padding: 0.5em 0;
  text-align: center;
  border-radius: 100px;
  border: 1px solid #000;
  background-color: #fff;
  margin-right: 2em;
}

.cat {
  background-color: white;
  padding: 0 1em;
  border-radius: 60px;
  width: fit-content;
}

.service_outline {
  width: 100%;
  padding-bottom: 56%;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .underPage_section {
    padding: 22vw 0;
  }

  .underPage_inner {
    flex-flow: column;
    flex-direction: column-reverse;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .link_tag {
    margin-right: 2vw;
  }

  .underPage_side {
    width: 100%;
    justify-content: center;
  }

  .underPage_side {
    margin-bottom: 10vw;
  }

  .underPage_main {
    width: 100%;
  }

  .underPage_box {
    width: 100%;
    margin-right: unset;
    margin-bottom: 5%;
  }

  .detail_contents {
    flex-flow: column-reverse;
  }

  .detail_address {
    width: 100%;
    margin-bottom: 10%;
  }

  .address_title {
    width: 35%;
  }

  .detail_outline {
    width: 100%;
    padding-bottom: 100%;
  }

  .detail_text {
    width: 100%;
    margin-bottom: 5%;
  }
  .address_title{
    width: unset; 
  }

  .address_contents{
    width: unset;
  }

  .detailContact {
    width: 89%;
    margin: auto;
    margin-bottom: 20%;
  }

  .main_detail_row {
    margin-bottom: 7vw;
  }

  .detailContact_target {
    text-align: right;
  }

  .service_box {
    width: 95%;
    margin-bottom: 5vw;
  }

  .slider-inner {
    width: 100%;
    overflow: hidden;
  }

  .service_wrap {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    margin-bottom: calc(150/1440 * 100vw);
    width: 80%;
    overflow: visible;
  }

  .has-medium-font-size {
    font-size: 16px !important;
  }
}
